MicroBlaze: Update kernel-features.h for syscalls added in 3.15
[platform/upstream/glibc.git] / ChangeLog
1 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2
3         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5         undefine.
6         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8
9 2014-07-01  Roland McGrath <roland@hack.frob.com>
10
11         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13
14         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16
17         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
19         ... here.
20         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
22
23         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27
28         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33         Moved ...
34         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35         ... here.
36         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
38         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
49         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
50         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
51         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
52         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
53         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
54         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
55         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
56         ... here.
57         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
58         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
59         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
60         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
61         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
62         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
63         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
64         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
65
66 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
67
68         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
69         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
70         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
71         Add sysdep.
72
73 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74
75         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76
77 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
78
79         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
80         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
81
82         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
83
84         * sysdeps/arm/libm-test-ulps: Regenerated.
85
86 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
87             Roland McGrath <roland@hack.frob.com>
88
89         * test-skeleton.c (signal_handler): Kill the whole process group
90         before killing the child individually.
91         (main): Report any failure on `setpgid'.
92
93 2014-06-30  Roland McGrath  <roland@hack.frob.com>
94
95         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
96         from _TLS_H to _ARM_NPTL_TLS_H.
97         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
98         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
99
100 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
101
102         [BZ #16539]
103         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
104         (__expm1l): Return argument unchanged when small but not
105         subnormal.
106
107         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
108         include macro name.
109         (_FP_UNPACK_RAW_1_P): Likewise.
110         (_FP_PACK_RAW_1): Likewise.
111         (_FP_PACK_RAW_1_P): Likewise.
112         (_FP_MUL_MEAT_1_wide): Likewise.
113         (_FP_MUL_MEAT_DW_1_hard): Likewise.
114         (_FP_MUL_MEAT_1_hard): Likewise.
115         (_FP_DIV_MEAT_1_imm): Likewise.
116         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
117         (_FP_DIV_MEAT_1_udiv): Likewise.
118         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
119         (_FP_UNPACK_RAW_2): Likewise.
120         (_FP_UNPACK_RAW_2_P): Likewise.
121         (_FP_PACK_RAW_2): Likewise.
122         (_FP_PACK_RAW_2_P): Likewise.
123         (_FP_MUL_MEAT_DW_2_wide): Likewise.
124         (_FP_MUL_MEAT_2_wide): Likewise.
125         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
126         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
127         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
128         (_FP_MUL_MEAT_2_gmp): Likewise.
129         (_FP_DIV_MEAT_2_udiv): Likewise.
130         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
131         (_FP_FRAC_SRL_4): Likewise.
132         (_FP_FRAC_SRST_4): Likewise.
133         (_FP_FRAC_SRS_4): Likewise.
134         (_FP_UNPACK_RAW_4): Likewise.
135         (_FP_UNPACK_RAW_4_P): Likewise.
136         (_FP_PACK_RAW_4): Likewise.
137         (_FP_PACK_RAW_4_P): Likewise.
138         (_FP_MUL_MEAT_DW_4_wide): Likewise.
139         (_FP_MUL_MEAT_4_wide): Likewise.
140         (_FP_MUL_MEAT_4_gmp): Likewise.
141         (umul_ppppmnnn): Likewise.
142         (_FP_DIV_MEAT_4_udiv): Likewise.
143         (__FP_FRAC_ADD_4): Likewise.
144         (__FP_FRAC_SUB_3): Likewise.
145         (__FP_FRAC_SUB_4): Likewise.
146         (__FP_FRAC_DEC_3): Likewise.
147         (__FP_FRAC_DEC_4): Likewise.
148         (__FP_FRAC_ADDI_4): Likewise.
149         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
150         (_FP_FRAC_SRL_8): Likewise.
151         (_FP_FRAC_SRS_8): Likewise.
152
153         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
154         include macro name.
155         (FP_UNPACK_RAW_EP): Likewise.
156         (FP_PACK_RAW_E): Likewise.
157         (FP_PACK_RAW_EP): Likewise.
158         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
159         (_FP_ISSIGNAN): Likewise.
160         (_FP_ADD_INTERNAL): Likewise.
161         (_FP_FMA): Likewise.
162         (_FP_CMP): Likewise.
163         (_FP_SQRT): Likewise.
164         (_FP_TO_INT): Likewise.
165         (_FP_FROM_INT): Likewise.
166         (FP_EXTEND): Likewise.
167         (_FP_DIV_MEAT_N_loop): Likewise.
168
169 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
170
171         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
172         throughout.
173
174 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
175
176         [BZ #17097]
177         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
178         result with correct sign in case of exponents that produce
179         overflow except for X very close to 1.
180
181 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
182
183         mktime: merge #if/#ifdef usage from glibc
184         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
185         as that works with both Glibc's and Gnulib's style.
186         See thread starting at Siddhesh Poyarekar's bug report at:
187         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
188
189 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
190
191         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
192         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
193         * sysdeps/tile/tilegx/memmove.c: Remove file.
194
195 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
196
197         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
198         abi-name definition.
199         * scripts/soversions.awk: Do not handle or generate ABI lines.
200         * shlib-versions: Remove ABI entries.
201         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
202         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
203
204 2014-06-27  Roland McGrath  <roland@hack.frob.com>
205
206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
207         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
208         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
209         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
211         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
213         Moved ...
214         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
215         ... here.
216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
217         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
219         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
220         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
221         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
223         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
225         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
227         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
229         Moved ...
230         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
232         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
234         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
236         Moved ...
237         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
239         Moved ...
240         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
242         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
243         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
244         Moved ...
245         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
247         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
248         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
249         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
251         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
253         Moved ...
254         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
255         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
256         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
257         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
258         Moved ...
259         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
261         Moved ...
262         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
263         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
264         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
265         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
266         Moved ...
267         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
268         ... here.
269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
270         Identical file removed.
271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
272         Moved ...
273         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
275         Identical file removed.
276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
277         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
279         Moved ...
280         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
281         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
282         Identical file removed.
283         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
284         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
286         Identical file removed.
287         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
288         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
289         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
290         Identical file removed.
291         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
292         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
293         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
294         Identical file removed.
295         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
296         Moved ...
297         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
298         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
299         Identical file removed.
300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
301         Moved ...
302         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
303         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
304         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
305         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
306         Identical file removed.
307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
308         Moved ...
309         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
310         ... here.
311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
312         Identical file removed.
313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
314         Moved ...
315         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
317         Identical file removed.
318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
319         Moved ...
320         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
321         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
322         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
324         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
325         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
326         Moved ...
327         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
328         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
329         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
330
331         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
332         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
333         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
334         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
335         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
336
337 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
338
339         [BZ #17092]
340         * nscd/nscd.c (monitor_child): Return exit status of child
341         instead of return value from wait syscall.
342
343 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
344
345         * configure.ac (libc_commonpagesize): Remove variable.
346         (libc_relro_required): Likewise.
347         (libc_cv_z_relro): Remove configure test.
348         * configure: Regenerated.
349         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
350         variable.
351         (libc_relro_required): Likewise.
352         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
353         (libc_relro_required): Likewise.
354         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
355         (libc_relro_required): Likewise.
356         * sysdeps/arm/preconfigure: Regenerated.
357         * sysdeps/ia64/preconfigure: Remove file.
358         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
359         variable.
360         (libc_relro_required): Likewise.
361
362         [BZ #16561]
363         [BZ #16562]
364         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
365         (__ieee754_yn): Set FE_TONEAREST mode internally and then
366         recompute overflowing results in original rounding mode.
367         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
368         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
369         recompute overflowing results in original rounding mode.
370         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
371         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
372         recompute overflowing results in original rounding mode.
373         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
374         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
375         recompute overflowing results in original rounding mode.
376         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
377         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
378         recompute overflowing results in original rounding mode.
379         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
380         (libc_feholdsetround_ctx): New macro.
381         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
382         * sysdeps/i386/fpu/libm-test-ulps: Update.
383         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
384
385 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
386
387         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
388         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
389         corresponding .cpsetup call.
390
391 2014-06-26  Roland McGrath  <roland@hack.frob.com>
392
393         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
394         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
395         * sysdeps/arm/Makefile [$(subdir) = csu]
396         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
397         (static-only-routines): Add aeabi_read_tp here.
398         (shared-only-routines): Add libc-aeabi_read_tp here.
399         (CFLAGS-libc-start.c): Add -fexceptions here.
400         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
401         (sysdep_routines, static-only-routines, shared-only-routines):
402         Don't add to these here.
403         (CFLAGS-libc-start.c): Likewise.
404
405         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
406         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
407         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
408         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
409         * sysdeps/arm/Makefile [$(subdir) = rt]
410         (librt-sysdep_routines, librt-shared-only-routines):
411         Append rt-aeabi_unwind_cpp_pr1 here.
412         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
413         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
414         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
415         (libpthread-sysdep_routines, libpthread-shared-only-routines):
416         Append nptl-aeabi_unwind_cpp_pr1 here.
417         (tests): Filter out tst-cleanupx4 here.
418         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
419         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
420         Don't do those here.
421
422 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
423
424         * scripts/list-sources.sh: Do not handle ports specially.
425
426 2014-06-26  Roland McGrath  <roland@hack.frob.com>
427
428         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
429         * sysdeps/arm/feupdateenv.c: Likewise.
430
431         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
432
433 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
434
435         * manual/texinfo.tex: Update to version 2014-05-05.10 with
436         trailing whitespace removed.
437         * scripts/config.guess: Update to version 2014-03-23.
438         * scripts/config.sub: Update to version 2014-05-01
439         * scripts/install-sh: Update to version 2013-12-25.23.
440         * scripts/move-if-change: Update from gnulib.
441
442 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
443
444         * debug/memmove_chk.c: Remove pagecopy.h include.
445
446 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
447
448         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
449         identical to gnulib mktime.
450
451 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
452
453         * configure.ac: Do not test for machine being rs6000.  Do not test
454         for powerpc*-*soft.
455         * configure: Regenerated.
456
457         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
458         test.
459         * configure: Regenerated.
460         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
461         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
462         Remove configure test.
463         * sysdeps/arm/configure: Regenerated.
464         * sysdeps/nptl/configure.ac: Do not check
465         libc_cv_asm_cfi_directives.
466         * sysdeps/nptl/configure: Regenerated.
467         * sysdeps/x86_64/nptl/configure.ac: Remove file.
468         * sysdeps/x86_64/nptl/configure: Remove generated file.
469         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
470         unconditional.
471         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
472
473 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
474
475         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
476         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
477         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
478         it is defined.
479
480         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
481         instead of whether it is defined.
482         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
483         * sysdeps/hppa/dl-machine.h: Likewise.
484         * sysdeps/ia64/dl-machine.h: Likewise.
485         * sysdeps/m68k/dl-machine.h: Likewise.
486         * sysdeps/microblaze/dl-machine.h: Likewise.
487         * sysdeps/mips/dl-machine.: Likewise.
488         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
489         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
490         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
491         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
492         * sysdeps/sh/dl-machine.h: Likewise.
493         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
494         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
495         * sysdeps/tile/dl-machine.h: Likewise.
496         * sysdeps/x86_64/dl-machine.h: Likewise.
497
498         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
499         code.
500         (verify_persistent_db): Likewise.
501
502 2014-06-26  Roland McGrath  <roland@hack.frob.com>
503
504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
505         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
507         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
509         Moved ...
510         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
511         ... here.
512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
513         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
515         Identical file removed.
516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
517         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
519         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
521         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
523         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
525         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
527         Moved ...
528         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
530         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
532         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
534         Moved ...
535         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
537         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
539         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
541         Identical file removed.
542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
543         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
545         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
547         Moved ...
548         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
549         ... here.
550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
553         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
555         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
557         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
561         Moved ...
562         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
564         Moved ...
565         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
567         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
569         Moved ...
570         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
572         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
573
574         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
575         folded into ...
576         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
577         * sysdeps/unix/sysv/linux/s390/Versions
578         (libpthread: GLIBC_2.19): New version set.
579         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
580         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
581         (librt: GLIBC_2.3.3): New version set.
582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
583         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
584         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
585         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
586         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
587         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
588         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
589         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
590         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
591         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
592         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
593         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
594         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
595         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
596         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
597         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
598         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
599         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
600         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
601         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
602         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
603         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
604         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
605         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
606         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
607         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
608         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
609         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
610         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
612         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
613         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
618         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
620         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
622         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
624         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
626         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
627
628         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
629         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
630         (__libc_vfork): Define the function under this name.
631         [!NOT_IN_libc] (__vfork): Make this an alias.
632         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
633         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
634         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
635         (__libc_vfork): Define the function under this name.
636         [!NOT_IN_libc] (__vfork): Make this an alias.
637         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
638         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
639         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
640         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
641         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
642         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
643
644         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
645         code that was previously under [RESET_PID].
646         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
647         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
648         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
649
650         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
651         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
652         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
653         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
654         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
655         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
656         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
657         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
658         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
659         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
660         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
663         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
664         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
665         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
666         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
667         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
668         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
669         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
670         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
671         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
672         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
673         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
674         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
675         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
676         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
677         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
678         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
679         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
680         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
681         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
682         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
683         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
684         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
685         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
686         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
687         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
688         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
689         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
690         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
691
692 2014-06-25  Roland McGrath  <roland@hack.frob.com>
693
694         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
695         that was previously under [RESET_PID].
696         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
697
698 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
699
700         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
701         not undefine and redefine.
702         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
703         [O_CLOEXEC]: Make code unconditional.
704         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
705         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
706         <kernel-features.h>.
707         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
708         conditional variable definition.
709         (shm_open) [O_CLOEXEC]: Make code unconditional.
710         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
711         code.
712
713         * configure.ac (USE_REGPARMS): Don't define here.
714         * configure: Regenerated.
715         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
716         * sysdeps/i386/configure: Regenerated.
717
718         * nptl/createthread.c: Don't include kernel-features.h.
719         * nptl/pthread_cancel.c: Likewise.
720         * nptl/pthread_condattr_setclock.c: Likewise.
721         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
722         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
723         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
724         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
725         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
726         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
727         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
730         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
731         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
732         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
733         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
734         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
735         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
736         * nscd/gai.c: Likewise.
737         * nss/nss_db/db-open.c: Likewise.
738         * sysdeps/generic/ldsodefs.h: Likewise.
739         * sysdeps/sh/nptl/tls.h: Likewise.
740         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
741         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
742         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
743         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
744         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
745         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
746         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
747         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
748         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
749         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
750         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
751         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
752         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
753         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
754         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
755         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
756         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
757         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
758         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
759         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
761         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
763         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
764         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
768         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
769         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
770         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
771         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
772         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
773         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
774         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
775         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
776         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
777         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
778         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
779         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
780         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
781         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
782         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
783         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
784         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
785         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
786         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
787         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
788         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
789         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
790         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
791         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
792         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
793         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
794         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
795         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
796         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
797         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
820         * sysdeps/unix/sysv/linux/pread.c: Likewise.
821         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
822         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
823         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
824         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
826         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
827         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
828         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
829         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
830         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
831         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
832         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
833         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
834         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
835         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
836         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
837         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
838         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
839         * sysdeps/unix/sysv/linux/system.c: Likewise.
840         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
841         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
842         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
843         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
844         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
845         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
846         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
847
848         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
849         * configure: Regenerated.
850         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
851
852         * configure.ac (base_machine): Do not set specially for particular
853         machines here.
854         * configure: Regenerated.
855         * sysdeps/powerpc/preconfigure: Move machine and base_machine
856         settings from configure.ac.
857         * sysdeps/i386/preconfigure: New file.
858         * sysdeps/s390/preconfigure: Likewise.
859         * sysdeps/sh/preconfigure: Likewise.
860         * sysdeps/sparc/preconfigure: Likewise.
861
862 2014-06-25  Roland McGrath  <roland@hack.frob.com>
863
864         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
865         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
866         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
867         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
868         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
869         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
870         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
871         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
872         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
873         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
874         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
875         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
876         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
877         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
878         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
879         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
880         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
881         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
882         * sysdeps/sparc/sparc64/Makefile: ... appended here.
883
884         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
885         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
886         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
887         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
888         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
889         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
890         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
891         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
892         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
893         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
894         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
895         * sysdeps/sparc/sparc32/sem_post.c: ... here.
896         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
897         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
898         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
899         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
900         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
901         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
902         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
903         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
904         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
905         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
906         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
907         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
908         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
909         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
911         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
913         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
914         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
915         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
916         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
917         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
918         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
919         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
920         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
921         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
922
923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
924         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
926         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
928         Moved ...
929         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
930         ... here.
931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
932         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
934         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
936         Moved ...
937         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
939         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
941         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
943         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
945         Moved ...
946         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
948         Moved ...
949         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
951         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
953         Moved ...
954         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
958         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
960         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
962         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
964         Moved ...
965         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
966         ... here.
967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
968         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
970         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
972         Moved ...
973         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
975         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
977         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
979         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
981         Moved ...
982         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
984         Moved ...
985         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
987         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
989         Moved ...
990         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
992         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
994         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
995
996 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
997
998         * timezone/checktab.awk: Update from tzcode 2014e.
999         * timezone/private.h: Likewise.
1000         * timezone/tzfile.h: Likewise.
1001         * timezone/zdump.c: Likewise.
1002         * timezone/zic.c: Likewise.
1003
1004         * sysdeps/unix/sysv/linux/kernel-features.h
1005         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1006         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1007         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1008         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1009         Remove conditional code.
1010
1011 2014-06-25  Will Newton  <will.newton@linaro.org>
1012
1013         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1014         (_dl_arm_cap_flags): Add HWCAP2 values.
1015         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1016         (_DL_HWCAP_COUNT): Increase to 37.
1017         (_DL_HWCAP_LAST): New define.
1018         (_DL_HWCAP2_LAST): New define.
1019         (_dl_procinfo): Add support for printing
1020         AT_HWCAP2 entries.
1021         (_dl_string_hwcap): Use _dl_hwcap_string.
1022
1023 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1024
1025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1026
1027 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
1028
1029         * README: Do not mention ports directory.
1030
1031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1032         Remove macro.
1033         * sysdeps/unix/sysv/linux/futimes.c: Do not include
1034         <kernel-features.h>.
1035         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1036         conditional variable definition.
1037         (__futimes): Update comment.
1038         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1039         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1040
1041         [BZ #16560]
1042         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1043         arguments close to 0.
1044         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1045         Likewise.
1046         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1047         Likewise.
1048         * math/auto-libm-test-in: Add more tests of exp10.
1049         * math/auto-libm-test-out: Regenerated.
1050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1051
1052         * sysdeps/unix/sysv/linux/kernel-features.h
1053         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1054         * sysdeps/unix/sysv/linux/readv.c: Do not include
1055         <kernel-features.h>.
1056         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1057         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1058         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1059         unconditional.
1060         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1061         conditional code.
1062         * sysdeps/unix/sysv/linux/writev.c: Do not include
1063         <kernel-features.h>.
1064         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1065         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1066         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1067         unconditional.
1068         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1069         conditional code.
1070
1071 2014-06-25  Will Newton  <will.newton@linaro.org>
1072
1073         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1074         comment changes throughout the file.  Remove checks
1075         for HAVE_*_H definitions that are not required.
1076         (__gen_tempname): Call abort if an unknown kind value is
1077         passed.
1078
1079 2014-06-25  Andreas Schwab  <schwab@suse.de>
1080
1081         [BZ #17086]
1082         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1083         scalbln, scalblnf, scalblnl in libc.
1084
1085 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1086
1087         [BZ #17086]
1088         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1089         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1090         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1091
1092 2014-06-24  Roland McGrath  <roland@hack.frob.com>
1093
1094         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1095         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1096         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1097         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1098         Update #include.
1099         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1100         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1101         Update #include.
1102         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1103         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1104         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1105         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1106         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1107         * sysdeps/x86/bits/pthreadtypes.h: ... here.
1108         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1109         * sysdeps/x86/bits/semaphore.h: ... here.
1110         * sysdeps/x86/nptl/elide.h: Moved ...
1111         * sysdeps/x86/elide.h: ... here.
1112         * sysdeps/x86_64/nptl/Implies: File removed.
1113         * sysdeps/i386/nptl/Implies: File removed.
1114
1115 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
1116
1117         [BZ #16539]
1118         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1119         return the argument for normal arguments with exponent below -64.
1120         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1121         Likewise.
1122         * math/auto-libm-test-in: Add another test of expm1.
1123         * math/auto-libm-test-out: Regenerated.
1124
1125         [BZ #16287]
1126         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1127         calling __erfcl for arguments at least 16.
1128         * math/auto-libm-test-in: Add more tests of erf.
1129         * math/auto-libm-test-out: Regenerated.
1130
1131         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1132         individual architectures.
1133         * sysdeps/unix/sysv/linux/configure: Regenerated.
1134         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1135         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1136         * sysdeps/unix/sysv/linux/powerpc/configure.ac
1137         (ldd_rewrite_script): Define variable.
1138         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1140         file.
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1142         generated file.
1143         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1144         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1145         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1146         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1147         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1148         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1149         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1150         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1151
1152 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1153
1154         [BZ #17084]
1155         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1156         Rename member __data.d to __data.__elision_data.
1157
1158 2014-06-24  Wilco  <wdijkstr@arm.com>
1159
1160         * NEWS: Add 16918 to fixed bug list.
1161
1162 2014-06-24  Wilco  <wdijkstr@arm.com>
1163
1164         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1165
1166 2014-06-24  Wilco  <wdijkstr@arm.com>
1167
1168         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1169         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1170         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1171         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1172         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1173         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1174         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1175         Use _FPU_MASK_RM.
1176
1177 2014-06-24  Wilco  <wdijkstr@arm.com>
1178
1179         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1180
1181 2014-06-24  Wilco  <wdijkstr@arm.com>
1182
1183         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1184         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1185         * sysdeps/arm/fesetround.c (fesetround): Remove space.
1186         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1187
1188 2014-06-24  Wilco  <wdijkstr@arm.com>
1189
1190         [BZ #16918]
1191         * sysdeps/arm/feupdateenv.c (feupdateenv):
1192         Rewrite to reduce FPSCR accesses and fix return value.
1193
1194 2014-06-24  Wilco  <wdijkstr@arm.com>
1195
1196         * sysdeps/arm/fclrexcpt.c (feclearexcept):
1197         Optimize to avoid unnecessary FPSCR writes.
1198         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1199         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1200         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1201         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1202
1203 2014-06-24  Wilco  <wdijkstr@arm.com>
1204
1205         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1206         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1207         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1208         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1209         Call libc_fetestexcept_vfp.
1210         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1211         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1212         __SOFTFP__ ifdef so that they can be built for softfp.
1213
1214 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1215
1216         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1217         argument type signed char.
1218
1219         * Makerules (check-abi): Dump diff of symlist if the test
1220         fails.
1221
1222 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1223
1224         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1225         using abort.
1226
1227         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1228         Remove unused variable ST.
1229
1230 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1231
1232         [BZ #16354]
1233         [BZ #17061]
1234         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1235         small arguments before calling __expm1.
1236         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1237         small arguments before calling __expm1f.
1238         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1239         small arguments before calling __expm1l.
1240         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1241         Likewise.
1242         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1243         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
1244         spurious underflow for some cosh tests.
1245         * math/auto-libm-test-out: Regenerated.
1246         * sysdeps/i386/fpu/libm-test-ulps: Update.
1247
1248         [BZ #17050]
1249         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1250         (__ieee754_y1): Set errno if return value overflows.
1251         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1252         (__ieee754_y1f): Set errno if return value overflows.
1253         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1254         (__ieee754_y1l): Set errno if return value overflows.
1255         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1256         (__ieee754_y1l): Set errno if return value overflows.
1257         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1258         * math/auto-libm-test-out: Regenerated.
1259
1260         * math/gen-auto-libm-tests.c: Document use of
1261         ignore-zero-inf-sign.
1262         (input_flag_type): Add value flag_ignore_zero_inf_sign.
1263         (input_flags): Add ignore-zero-inf-sign.
1264         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1265         * math/gen-libm-test.pl (generate_testfile): Handle
1266         ignore-zero-inf-sign.
1267         * math/auto-libm-test-in: Mark some cpow tests with
1268         ignore-zero-inf-sign and some with xfail-rounding.
1269         * math/auto-libm-test-out: Regenerated.
1270         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1271         * sysdeps/i386/fpu/libm-test-ulps: Update.
1272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1273
1274         [BZ #16315]
1275         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1276         overflowing or underflowing operations take place with sign of
1277         result.
1278         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1279         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1280         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1281         (__ieee754_pow): Recompute overflowing and underflowing results in
1282         original rounding mode.
1283         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1284         (__powl_helper): Allow negative argument X and scale negated value
1285         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
1286         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1287         overflowing or underflowing operations take place with sign of
1288         result.
1289         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1290         Include <math.h>.
1291         * math/auto-libm-test-in: Add more tests of pow.
1292         * math/auto-libm-test-out: Regenerated.
1293         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1294         (pow_tonearest_test_data): Remove.
1295         (pow_test_tonearest): Likewise.
1296         (pow_towardzero_test_data): Likewise.
1297         (pow_test_towardzero): Likewise.
1298         (pow_downward_test_data): Likewise.
1299         (pow_test_downward): Likewise.
1300         (pow_upward_test_data): Likewise.
1301         (pow_test_upward): Likewise.
1302         (main): Don't call removed functions.
1303         * sysdeps/i386/fpu/libm-test-ulps: Update.
1304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1305
1306 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1307
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1309         Moved ...
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1312         Moved ...
1313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1315         Moved ...
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1318         Moved ...
1319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1321         File removed.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1323         File removed.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1325         File removed.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1327         File removed.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1329         File removed.
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1331         File removed.
1332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1333         File removed.
1334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1335         File removed.
1336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1337         File removed.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1339         File removed.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1341         File removed.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1343         File removed.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1345         Moved ...
1346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1348         Moved ...
1349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1350         ... here.
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1352         Moved ...
1353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1355         Moved ...
1356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1358         Moved ...
1359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1361         Moved ...
1362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1364         Moved ...
1365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1367         Moved ...
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1370         Moved ...
1371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1374         ... here.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1376         Moved ...
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1379         Moved ...
1380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1381         ... here.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1383         Moved ...
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1385         ... here.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1387         Moved ...
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1389         ... here.
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1391         Moved ...
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1394         Moved ...
1395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1399         Moved ...
1400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1401         ... here.
1402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1403         Moved ...
1404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1405         ... here.
1406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1407         Moved ...
1408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1410         Moved ...
1411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1413         Moved ...
1414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1416         Moved ...
1417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1419         Moved ...
1420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1421         ... here.
1422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1423         Moved ...
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1426         Moved ...
1427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1429         Moved ...
1430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1432         Moved ...
1433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1437         Moved ...
1438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1440         Moved ...
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1443         Moved ...
1444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1445         ... here.
1446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1447         Moved ...
1448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1449         ... here.
1450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1451         Moved ...
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1453         ... here.
1454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1455         Moved ...
1456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1458         Moved ...
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1461         Moved ...
1462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1464         Moved ...
1465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1466         ... here.
1467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1468         Moved ...
1469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1470         ... here.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1472         Moved ...
1473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1474         ... here.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1476         Moved ...
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1479         Moved ...
1480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1481
1482 2014-06-23  Will Newton  <will.newton@linaro.org>
1483             Wilco  <wdijkstr@arm.com>
1484
1485         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1486         implementation.  Include get-rounding-mode.h.
1487         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1488         [!libc_feholdsetround_noex_ctx]: Define
1489         libc_feholdsetround_noex_ctx.
1490         [!libc_feholdsetround_noexf_ctx]: Define
1491         libc_feholdsetround_noexf_ctx.
1492         [!libc_feholdsetround_noexl_ctx]: Define
1493         libc_feholdsetround_noexl_ctx.
1494         (libc_feholdsetround_ctx): New function.
1495         (libc_feresetround_ctx): New function.
1496         (libc_feholdsetround_noex_ctx): New function.
1497         (libc_feresetround_noex_ctx): New function.
1498
1499 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1500
1501         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1502         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1503         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1504         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1505         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1506         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1507
1508         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1509         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1510         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1511         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1512         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1513         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1514         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1515         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1517         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1519         Moved ...
1520         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1521         ... here.
1522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1523         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1525         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1526         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1527         Moved ...
1528         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1530         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1531         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1532         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1534         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1536         Moved ...
1537         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1538         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1539         Moved ...
1540         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1542         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1543         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1544         Moved ...
1545         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1547         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1548         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1549         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1550         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1551         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1553         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1554         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1555         Moved ...
1556         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1557         ... here.
1558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1559         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1561         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1563         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1564         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1565         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1567         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1569         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1571         Moved ...
1572         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1574         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1576         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1578         Moved ...
1579         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1580         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1581         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1582         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1583         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1584
1585         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1586         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1587         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1588         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1589         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1590         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1591         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1592         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1593         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1594         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1595         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1596         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1597         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1598         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1599         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1600         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1601         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1602         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1603         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1604         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1605         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1606         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1607         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1608         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1610         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1611         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1613
1614 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1615
1616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1617         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1618         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1619         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1620         (IPV6_PMTUDISC_INTERFACE): Likewise.
1621         (IPV6_PMTUDISC_OMIT): Likewise.
1622
1623 2014-06-23  Andreas Schwab  <schwab@suse.de>
1624
1625         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1626         Remove unused errout label.
1627
1628 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1629
1630         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1631         macro: hardware supports Vector Crypto instructions.
1632
1633 2014-06-23  Will Newton  <will.newton@linaro.org>
1634
1635         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1636         rather than __builtin_expect.
1637
1638         * elf/dl-lookup.c (undefined_msg): Remove variable.
1639         (_dl_lookup_symbol_x): Replace undefined_msg with string
1640         literal.
1641
1642         * elf/dl-lookup.c (do_lookup_unique): New function.
1643         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1644         to a separate function.
1645
1646 2014-06-23  Andreas Schwab  <schwab@suse.de>
1647
1648         [BZ #17079]
1649         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1650         before reading the next line.
1651
1652 2014-06-23  Will Newton  <will.newton@linaro.org>
1653
1654         * test-skeleton.c (signal_handler): Use printf and %m
1655         rather than perror.  Use printf rather than fprintf to
1656         stderr.  Use puts rather than fputs to stderr.
1657         (main): Likewise.
1658
1659 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1660
1661         * nscd/nscd.c (thread_info_t): Remove typedef.
1662         (thread_info): Remove variable.
1663
1664 2014-06-21  Allan McRae  <allan@archlinux.org>
1665
1666         * NEWS: Mention CVE-2014-4043.
1667
1668 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1669
1670         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1671         * nptl/smp.h: ... here.
1672
1673         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1674
1675         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1676         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1677         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1678         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1679
1680         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1681         * nptl/stack-aliasing.h: New file.
1682         * sysdeps/i386/i686/stack-aliasing.h: New file.
1683         * sysdeps/i386/i686/nptl/Makefile: File removed.
1684         * sysdeps/x86_64/stack-aliasing.h: New file.
1685         * sysdeps/x86_64/nptl/Makefile
1686         (CFLAGS-pthread_create.c): Variable removed.
1687
1688         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1689         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1690         old file.
1691         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1692         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1693         old file.
1694
1695 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1696
1697         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1698         (__ASSUME_SIGFRAME_V2): Remove macro.
1699         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1700         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1701         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1702         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1703         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1704         Declare as function.  Remove conditional macro definitions.
1705         (__default_rt_sa_restorer): Likewise.
1706         (__default_sa_restorer_v1): Remove declaration.
1707         (__default_sa_restorer_v2): Likewise.
1708         (__default_rt_sa_restorer_v1): Likewise.
1709         (__default_rt_sa_restorer_v2): Likewise.
1710         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1711         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1712         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1713
1714 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1715
1716         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1717         (libpthread-routines): Add sysdep.
1718         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1719         * sysdeps/unix/sysv/linux/sparc/Versions
1720         (libpthread: GLIBC_2.3.3): New version set.
1721         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1722         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1723         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1724         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1725         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1726         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1727         Moved ...
1728         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1729         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1730         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1731         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1732         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1733         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1734         * sysdeps/sparc/nptl/sem_init.c: ... here.
1735         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1736         * sysdeps/sparc/nptl/sem_post.c: ... here.
1737         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1738         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1739         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1740         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1741         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1742         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1743         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1744         (libpthread-routines): Add cpu_relax.
1745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1746         File removed.
1747         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1748         (librt: GLIBC_2.3.3): New version set.
1749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1750         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1751         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1752         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1753         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1755         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1757         Moved ...
1758         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1760         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1762         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1764         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1766         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1768         Moved ...
1769         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1770         Update #include.
1771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1772         Moved ...
1773         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1774         Update #include.
1775         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1776         Moved ...
1777         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1778         Update #include.
1779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1780         Moved ...
1781         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1782         Update #include.
1783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1784         Moved ...
1785         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1786         Update #include.
1787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1788         Moved ...
1789         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1790         Update #include.
1791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1792         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1794         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1796         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1798         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1800         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1802         Moved ...
1803         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1805         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1807         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1808
1809 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1810
1811         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1812         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1813         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1814         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1815         * nscd/nscd.c: Likewise.
1816         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1817         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1818         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1819         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1820
1821         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1822         <kernel-features.h>.
1823         (init_mq_netlink): Remove conditional have_sock_cloexec
1824         definitions.  Remove code conditional on have_sock_cloexec < 0.
1825         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1826         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1827         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1828         <kernel-features.h>.
1829         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1830         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1831
1832 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1833
1834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1835         Add tests for memset_chk and memset.
1836
1837         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1838         with AVX2_Usable.
1839
1840 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1841
1842         [BZ #16046]
1843         * elf/tst-dl-iter-static.c: New file.
1844         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1845
1846         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1847         error.
1848
1849 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1850
1851         * sysdeps/unix/sysv/linux/kernel-features.h
1852         (__ASSUME_F_GETOWN_EX): Remove macro.
1853         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1854         <kernel-features.h>.
1855         (miss_F_GETOWN_EX): Remove variable or macro.
1856         (do_fcntl): Do not check miss_F_GETOWN_EX.
1857         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1858
1859         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1860         Remove macro.
1861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1862         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1863         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1864
1865         * sysdeps/unix/sysv/linux/kernel-features.h
1866         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1867         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1868         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1869         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1870
1871 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1872
1873         [BZ #17075]
1874         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1875         Fix calculation of the symbol's value.
1876         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1877         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1878         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1879         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1880         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1881         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1882         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1883         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1884         (modules-names): Add `tst-armtlsdescmod',
1885         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1886         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1887         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1888         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1889         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1890         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1891         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1892         ($(objpfx)tst-armtlsdescloc): New dependency.
1893         ($(objpfx)tst-armtlsdescextnow): Likewise.
1894         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1895         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1896         TLS scheme support.
1897         * sysdeps/arm/configure: Regenerate.
1898
1899 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1900
1901         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1902         (__atfct_seterrno_2): Likewise.
1903         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1904         <kernel-features.h>.
1905         (__ASSUME_ATFCTS): Do not undefine and redefine.
1906         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1907         (__have_atfcts): Remove conditional definition.
1908         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1909         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1910         unreachable if [__ASSUME_ATFCTS].
1911         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1912         not undefine and redefine.
1913         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1914         <kernel-features.h>.
1915         (faccessat) [__NR_faccessat]: Make code unconditional.
1916         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1917         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1918         <kernel-features.h>.
1919         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1920         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1921         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1922         <kernel-features.h>.
1923         (fchownat) [__NR_fchownat]: Make code unconditional.
1924         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1925         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1926         <kernel-features.h>.
1927         (futimesat) [__NR_futimesat]: Make code unconditional.
1928         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1929         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1930         <kernel-features.h>.
1931         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1932         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1933         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1934         <kernel-features.h>.
1935         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1936         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1937         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1938         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1939         <kernel-features.h>.
1940         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1941         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1942         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1943         <kernel-features.h>.
1944         (linkat) [__NR_linkat]: Make code unconditional.
1945         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1946         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1947         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1948         <kernel-features.h>.
1949         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1950         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1951         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1952         <kernel-features.h>.
1953         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1954         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1955         * sysdeps/unix/sysv/linux/openat.c: Do not include
1956         <kernel-features.h>.
1957         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1958         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1959         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1960         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1961         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1962         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1963         <kernel-features.h>.
1964         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1965         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1966         result of INLINE_SYSCALL directly, not via int variable.
1967         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1968         <kernel-features.h>.
1969         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1970         (renameat) [__NR_renameat]: Make code unconditional.
1971         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1972         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1973         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1974         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1975         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1976         (__ASSUME_ATFCTS): Do not undefine and redefine.
1977         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1978         <kernel-features.h>.
1979         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1980         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1981         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1982         <kernel-features.h>.
1983         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1984         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1985         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1986         (__ASSUME_ATFCTS): Do not undefine and redefine.
1987         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1988         <kernel-features.h>.
1989         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1990         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1991         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1992         <kernel-features.h>.
1993         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1994         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1995
1996 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1997
1998         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1999
2000 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
2001
2002         [BZ #17069]
2003         * posix/regcomp.c (parse_reg_exp): Deallocate partially
2004         constructed tree before returning error.
2005         * posix/bug-regexp36.c: Expand test case.
2006
2007 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2008
2009         [BZ #6803]
2010         * math/libm-test.inc (scalbln_test_date):
2011         Add errno expectations.
2012         * math/w_scalblnf.c: New File.
2013         Add wrapper which checks for setting errno to ERANGE.
2014         Add weak_alias for corresponding scalbln function.
2015         * math/w_scalbln.c: Likewise.
2016         * math/w_scalblnl.c: Likewise.
2017         * math/Makefile (libm-calls): Add w_scalbln.
2018         * sysdeps/ieee754/flt-32/s_scalblnf.c:
2019         Remove weak_alias for corresponding scalbln function.
2020         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2021         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2022         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2023         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2024         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2025         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2026         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2027         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2028         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2029         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2030         Remove long_double_symbol for scalblnl function in libm, libc.
2031         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2032         Add wrapper which checks for setting errno to ERANGE.
2033         Add long_double_symbol for scalblnl function in libm, libc.
2034         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2035         Remove long_double_symbol for scalblnl in libm.
2036         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2037         Add wrapper which checks for setting errno to ERANGE.
2038         Add long_double_symbol for scalblnl function in libm.
2039         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2040         Do not use wrapper because of own implementation.
2041
2042 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
2043
2044         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2045         3 bytes for __pad1 for x32.
2046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2047
2048 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
2049             H.J. Lu  <hongjiu.lu@intel.com>
2050
2051         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2052         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2053         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2054         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2055         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2056
2057 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
2058
2059         [BZ #17069]
2060         * posix/regcomp.c (parse_expression): Deallocate partially
2061         constructed tree before returning error.
2062         * posix/Makefile.c (tests): Add bug-regex36.
2063         (generated): Add bug-regex36.mtrace.
2064         (tests-special): Add $(objpfx)bug-regex36-mem.out
2065         (bug-regex36-ENV): New variable.
2066         ($(objpfx)bug-regex36-mem.out): New rule.
2067         * posix/bug-regex36.c: New file.
2068
2069 2014-06-19  Will Newton  <will.newton@linaro.org>
2070
2071         * malloc/malloc.c (systrim): If extra is zero then return
2072         early.
2073
2074 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2075
2076         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2077
2078 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
2079
2080         * sysdeps/aarch64/strchr.S: New file.
2081
2082 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2083
2084         [BZ #17022]
2085         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2086         from arguments -2 or below.
2087         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2088         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2089
2090 2014-06-18  Andreas Schwab  <schwab@suse.de>
2091
2092         [BZ #17062]
2093         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2094         of a bracket expr not to run off the end of the string.
2095         * posix/Makefile (tests): Add tst-fnmatch3.
2096         * posix/tst-fnmatch3.c: New file.
2097
2098 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
2099
2100         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2101         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2102         [$(cross-compiling) = no]: Likewise.
2103         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2104         [$(cross-compiling) = no]: Likewise.
2105
2106 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2107
2108         [BZ #17031]
2109         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2110         double, adjusted for any remainder from the high double.
2111         * math/libm-test.inc (nearbyint): Add tests.
2112         (rint): Likewise.
2113
2114 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2115
2116         * nptl/sysdeps/powerpc/Makefile: Moved ...
2117         * sysdeps/powerpc/nptl/Makefile: ... here.
2118         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2119         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2120         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2121         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2122         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2123         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2124         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2125         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2126         * nptl/sysdeps/powerpc/tls.h: Moved ...
2127         * sysdeps/powerpc/nptl/tls.h: ... here.
2128
2129 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
2130
2131         [BZ #16681]
2132         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2133         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2134         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2135         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2136         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2137         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2138         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2139         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2140         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2141
2142 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
2143
2144         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2145
2146 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
2147
2148         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2149         defined operator.
2150
2151         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2152         $TIMEOUTFACTOR.
2153
2154 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2155
2156         [BZ #17058]
2157         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2158         non-executed part of the test.
2159
2160 2014-06-16  Andreas Schwab  <schwab@suse.de>
2161
2162         * string/bits/string2.h (strdup, strndup): Update feature guard.
2163
2164 2014-06-14  David S. Miller  <davem@davemloft.net>
2165
2166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2167
2168 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
2169
2170         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2171         that was previously under [RESET_PID].
2172         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2173
2174         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2175         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2176         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2177         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2178         (__libc_vfork): New strong alias.
2179         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2180
2181 2014-06-14 Andi Kleen  <ak@linux.intel.com>
2182
2183         * sysdeps/generic/elide.h: New file.
2184
2185 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2186
2187         * Makefile (installed-headers): Adjust path of pthread.h header.
2188
2189 2014-06-13  Roland McGrath  <roland@hack.frob.com>
2190
2191         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2192         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2193         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2194         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2195
2196         * nptl/sysdeps/s390/Makefile: Moved ...
2197         * sysdeps/s390/nptl/Makefile: ... here.
2198         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2199         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2200         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2201         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2202         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2203         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2204         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2205         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2206         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2207         * sysdeps/s390/nptl/pthreaddef.h: ... here.
2208         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2209         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2210         * nptl/sysdeps/s390/tls.h: Moved ...
2211         * sysdeps/s390/nptl/tls.h: ... here.
2212
2213         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2214         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2215
2216 2014-06-13  David S. Miller  <davem@davemloft.net>
2217
2218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2221         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2223         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2225         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2226         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2227         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2228         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2229         Remove RESET_PID cpp guards.
2230         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2231         Remove RESET_PID cpp guards.
2232         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2233
2234 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
2235
2236         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2237         __sp to uintptr_t.
2238
2239 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2240
2241         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2242         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2243         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2244         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2247         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2248         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2249         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2250         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2251         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2254         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2255         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2256         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2257         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2259         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2260         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2261
2262         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2263         (pthread_rwlock_rdlock): Add elision.
2264         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2265         (pthread_rwlock_wrlock): Add elision.
2266         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2267         (pthread_rwlock_trywrlock): Add elision.
2268         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2269         (pthread_rwlock_tryrdlock): Add elision.
2270         * nptl/pthread_rwlock_unlock.c: Include elide.h.
2271         (pthread_rwlock_tryrdlock): Add elision unlock.
2272         * nptl/sysdeps/pthread/pthread.h:
2273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2274         (PTHREAD_RWLOCK_INITIALIZER,
2275         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2276         Handle new elision field.
2277         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2278         * sysdeps/arm/nptl/bits/pthreadtypes.h
2279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2280         * sysdeps/sh/nptl/bits/pthreadtypes.h
2281         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2282         * sysdeps/tile/nptl/bits/pthreadtypes.h
2283         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2284         * sysdeps/a/nptl/bits/pthreadtypes.h
2285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2286         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2288         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2290         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2292         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2294         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2296         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2298         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2300         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2301         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2302         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2303         (elision_init): Set try_xbegin to zero when no RTM.
2304         * sysdeps/x86/nptl/bits/pthreadtypes.h
2305         (pthread_rwlock_t): Change __pad1 to __rwelision.
2306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2307
2308 2014-06-13  Andi Kleen  <ak@linux.intel.com>
2309
2310         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2311         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2312         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2313         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2314
2315 2014-06-13  Meador Inge  <meadori@codesourcery.com>
2316
2317         [BZ #16996]
2318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2319         that the cached result has been set before returning it.
2320
2321 2014-06-12  Roland McGrath  <roland@hack.frob.com>
2322
2323         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2324         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2325         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2326         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2327         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2328         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2329
2330         * nptl/sysdeps/sparc/Makefile: Moved ...
2331         * sysdeps/sparc/nptl/Makefile: ... here.
2332         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2333         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2334         * nptl/sysdeps/sparc/tls.h: Moved ...
2335         * sysdeps/sparc/nptl/tls.h: ... here.
2336         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2337         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2338         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2339         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2340         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2341         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2342         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2343         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2344         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2345         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2346         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2347         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2348         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2349         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2350         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2351         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2352         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2354         Update #include.
2355         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2356         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2357         Update #include.
2358         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2359         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2360         Update #include.
2361         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2362         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2363         Update #include.
2364
2365         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2366
2367         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2368         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2369
2370         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2371         (struct list_links): Type removed.
2372         (struct thread_node, struct timer_node): Replace struct list_links
2373         with struct list_head.
2374         (list_unlink_ip): Likewise.
2375         * sysdeps/pthread/timer_routines.c
2376         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2377         (list_append, list_insbefore): Likewise.
2378         (list_init): Function removed.
2379         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2380         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2381         * sysdeps/pthread/Makefile: ... here, new file.
2382
2383         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2384         * sysdeps/nptl/Implies: ... here.
2385         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2386         * nptl/sysdeps/pthread/list.h: Moved ...
2387         * include/list.h: ... here.
2388         * nptl/sysdeps/pthread/createthread.c: Moved ...
2389         * nptl/createthread.c: ... here.
2390         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2391         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2392         * nptl/pt-longjmp.c: ... here.
2393         * nptl/sysdeps/pthread/Makefile: Moved ...
2394         * sysdeps/nptl/Makefile: ... here.
2395         * nptl/sysdeps/pthread/Subdirs: Moved ...
2396         * sysdeps/nptl/Subdirs: ... here.
2397         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2398         * sysdeps/nptl/aio_misc.h: ... here.
2399         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2400         * sysdeps/nptl/bits/libc-lock.h: ... here.
2401         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2402         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2403         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2404         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2405         * nptl/sysdeps/pthread/configure: Moved ...
2406         * sysdeps/nptl/configure: ... here.
2407         * nptl/sysdeps/pthread/configure.ac: Moved ...
2408         * sysdeps/nptl/configure.ac: ... here.
2409         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2410         * sysdeps/nptl/gai_misc.h: ... here.
2411         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2412         * sysdeps/nptl/librt-cancellation.c: ... here.
2413         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2414         * sysdeps/nptl/malloc-machine.h: ... here.
2415         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2416         * sysdeps/nptl/pthread-functions.h: ... here.
2417         * nptl/sysdeps/pthread/pthread.h: Moved ...
2418         * sysdeps/nptl/pthread.h: ... here.
2419         * nptl/sysdeps/pthread/setxid.h: Moved ...
2420         * sysdeps/nptl/setxid.h: ... here.
2421         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2422         * sysdeps/nptl/sigfillset.c: ... here.
2423         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2424         * sysdeps/nptl/tcb-offsets.h: ... here.
2425         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2426         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2427         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2428         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2429         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2430         * sysdeps/pthread/allocalim.h: ... here.
2431         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2432         * sysdeps/pthread/bits/sigthread.h: ... here.
2433         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2434         * sysdeps/pthread/flockfile.c: ... here.
2435         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2436         * sysdeps/pthread/ftrylockfile.c: ... here.
2437         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2438         * sysdeps/pthread/funlockfile.c: ... here.
2439         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2440         * sysdeps/pthread/posix-timer.h: ... here.
2441         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2442         * sysdeps/pthread/timer_create.c: ... here.
2443         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2444         * sysdeps/pthread/timer_delete.c: ... here.
2445         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2446         * sysdeps/pthread/timer_getoverr.c: ... here.
2447         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2448         * sysdeps/pthread/timer_gettime.c: ... here.
2449         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2450         * sysdeps/pthread/timer_routines.c: ... here.
2451         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2452         * sysdeps/pthread/timer_settime.c: ... here.
2453         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2454         * sysdeps/pthread/tst-timer.c: ... here.
2455         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2456         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2457
2458         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2459         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2460
2461         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2462         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2463         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2464         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2465         Update #include target.
2466         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2467         * sysdeps/i386/i686/nptl/Makefile: ... here.
2468         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2469         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2470         Update #include target.
2471         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2472         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2473         * nptl/sysdeps/i386/Makefile: Moved ...
2474         * sysdeps/i386/nptl/Makefile: ... here.
2475         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2476         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2477         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2478         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2479         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2480         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2481         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2482         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2483         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2484         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2485         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2486         * nptl/sysdeps/i386/tls.h: Moved ...
2487         * sysdeps/i386/nptl/tls.h: ... here.
2488
2489         * sysdeps/sh/Makefile [$(subdir) = csu]
2490         (gen-as-const-headers): Add tcb-offsets.sym.
2491         * nptl/sysdeps/sh/Makefile: File removed.
2492         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2493         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2494         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2495         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2496         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2497         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2498         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2499         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2500         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2501         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2502         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2503         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2504         * nptl/sysdeps/sh/tls.h: Moved ...
2505         * sysdeps/sh/nptl/tls.h: ... here.
2506         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2507         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2509         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2510         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2511         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2512         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2513         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2514         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2515         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2516         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2517         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2518         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2519         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2521         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2523         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2525         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2527         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2529         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2531         Moved ...
2532         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2534         Moved ...
2535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2536         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2537         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2538         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2539         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2540         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2541         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2542         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2543         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2544         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2545         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2546         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2547         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2548         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2549         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2550         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2551         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2552         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2553         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2554
2555 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2556
2557         * posix/spawn_faction_addopen.c: Include string.h.
2558
2559 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2560
2561         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2562         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2563         * nptl/sysdeps/x86_64/Makefile: Moved ...
2564         * sysdeps/x86_64/nptl/Makefile: ... here.
2565         * nptl/sysdeps/x86_64/configure: Moved ...
2566         * sysdeps/x86_64/nptl/configure: ... here.
2567         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2568         * sysdeps/x86_64/nptl/configure.ac: ... here.
2569         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2570         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2571         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2572         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2573         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2574         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2575         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2576         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2577         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2578         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2579         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2580         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2581         * nptl/sysdeps/x86_64/tls.h: Moved ...
2582         * sysdeps/x86_64/nptl/tls.h: ... here.
2583         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2584         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2585         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2586         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2587
2588         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2589
2590 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2591
2592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2593
2594 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2595
2596         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2597         type.
2598         [POSIX] (off_t): Likewise.
2599         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2600         [POSIX] (S_ISBLK): Require macro.
2601         [POSIX] (S_ISCHR): Likewise.
2602         [POSIX] (S_ISDIR): Likewise.
2603         [POSIX] (S_ISFIFO): Likewise.
2604         [POSIX] (S_ISREG): Likewise.
2605         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2606         optional-macro.
2607         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2608         type.
2609         [POSIX] (time_t): Likewise.
2610         [POSIX] (timer_t): Likewise.
2611
2612 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2613
2614         [BZ #17048]
2615         * posix/spawn_int.h (struct __spawn_action): Make the path string
2616         non-const to support deallocation.
2617         * posix/spawn_faction_addopen.c
2618         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2619         * posix/spawn_faction_destroy.c
2620         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2621         path in all spawn_do_open actions.
2622         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2623         posix_spawn_file_actions_addopen.
2624
2625 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2626
2627         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2628         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2629         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2630         conditional code always true.
2631         (__libc_vfork): New alias.
2632
2633 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2634
2635         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2636         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2637
2638         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2639
2640         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2641         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2642
2643         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2644         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2645
2646         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2647         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2648
2649 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2650
2651         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2652         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2653         multiarch strcmp for PPC64.
2654         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2655         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2657         multiarch optimizations.
2658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2659         (__libc_ifunc_impl_list): Likewise.
2660
2661 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2662
2663         * benchtests/scripts/validate_benchout.py: New script.
2664         * benchtests/Makefile (bench-func): Call it.
2665         * benchtests/scripts/benchout.schema.json: New file.
2666
2667 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2668
2669         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2670         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2671         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2672         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2673         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2674         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2675         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2676         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2677         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2678         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2679         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2680         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2681         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2682         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2683         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2684         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2686         Moved ...
2687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2688         ... here.
2689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2690         Moved ...
2691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2693         Moved ...
2694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2695         ... here.
2696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2697         Moved ...
2698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2699         ... here.
2700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2701         Moved ...
2702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2704         Moved ...
2705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2706         ... here.
2707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2708         Moved ...
2709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2710         ... here.
2711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2712         Moved ...
2713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2715         Moved ...
2716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2717         ... here.
2718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2719         Moved ...
2720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2721         ... here.
2722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2723         Moved ...
2724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2725         ... here.
2726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2727         Moved ...
2728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2730         Moved ...
2731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2732         ... here.
2733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2736         ... here.
2737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2738         Moved ...
2739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2740         ... here.
2741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2742         Moved ...
2743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2745         Moved ...
2746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2747         ... here.
2748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2749         Moved ...
2750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2751         ... here.
2752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2753         Moved ...
2754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2756         Moved ...
2757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2758         ... here.
2759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2760         Moved ...
2761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2763         Moved ...
2764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2766         Moved ...
2767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2768         ... here.
2769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2770         Moved ...
2771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2772         ... here.
2773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2774         Moved ...
2775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2776         ... here.
2777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2778         Moved ...
2779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2781         Moved ...
2782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2783         ... here.
2784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2785         Moved ...
2786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2787         ... here.
2788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2789         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2790         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2791         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2795         ... here.
2796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2797         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2799         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2800         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2801         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2803         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2805         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2807         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2809         Moved ...
2810         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2812         Moved ...
2813         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2814         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2815         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2816         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2817         Moved ...
2818         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2820         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2822         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2823         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2824         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2825
2826 2014-06-10  Wilco  <wdijkstr@arm.com>
2827
2828         * math/test-fenv-return.c: New file.
2829         * math/Makefile: Add new test test-fenv-return.
2830
2831 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2832
2833         [BZ #17042]
2834         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2835         when x - 1 is zero.
2836         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2837         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2838         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2839         0.0L for an argument of 1.0L.
2840         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2841         Likewise.
2842         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2843         value when x - 1 is zero.
2844         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2845         * sysdeps/i386/fpu/libm-test-ulps: Update.
2846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2847
2848 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2849
2850         [BZ #15119]
2851         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2852
2853 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2854
2855         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2856         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2857
2858 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2859
2860         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2861         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2862
2863         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2864         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2865
2866         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2867         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2868
2869         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2870         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2871
2872         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2873         if not already defined.
2874         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2875         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2876         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2877         (TLS_INIT_TP): Use it.
2878         (TLS_DEFINE_INIT_TP): New macro.
2879         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2880
2881 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2882
2883         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2884         constant.
2885         [POSIX] (IXANY): Likewise.
2886         [POSIX] (OLCUC): Likewise.
2887         [POSIX || POSIX2008] (CBAUD): Do not allow.
2888         [POSIX || POSIX2008] (DEFECHO): Likewise.
2889         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2890         [POSIX || POSIX2008] (ECHOKE): Likewise.
2891         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2892         [POSIX || POSIX2008] (EXTA): Likewise.
2893         [POSIX || POSIX2008] (EXTB): Likewise.
2894         [POSIX || POSIX2008] (FLUSHO): Likewise.
2895         [POSIX || POSIX2008] (LOBLK): Likewise.
2896         [POSIX || POSIX2008] (PENDIN): Likewise.
2897         [POSIX || POSIX2008] (SWTCH): Likewise.
2898         [POSIX || POSIX2008] (VDISCARD): Likewise.
2899         [POSIX || POSIX2008] (VDSUSP): Likewise.
2900         [POSIX || POSIX2008] (VLNEXT): Likewise.
2901         [POSIX || POSIX2008] (VREPRINT): Likewise.
2902         [POSIX || POSIX2008] (VSTATUS): Likewise.
2903         [POSIX || POSIX2008] (VWERASE): Likewise.
2904         (B*): Change to B[0123456789]*.
2905         * conform/data/time.h-data [POSIX || UNIX98]
2906         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2907         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2908         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2909         [POSIX] (tm_*): Do not allow.
2910
2911 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2912
2913         * Makefile (install): Don't set LANGUAGE.
2914         * Makefile.in (install): Likewise.
2915         * assert/Makefile (test-assert-ENV): Remove variable.
2916         (test-assert-perr-ENV): Likewise.
2917         * elf/Makefile (neededtest4-ENV): Likewise.
2918         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2919         [$(cross-compiling) = no]: Don't set LANGUAGE.
2920         * io/ftwtest-sh (LANG): Remove variable.
2921         * libio/Makefile (tst-widetext-ENV): Likewise.
2922         * manual/install.texi (Running make install): Don't refer to
2923         environment settings for make install.
2924         * INSTALL: Regenerated.
2925         * nptl/tst-tls6.sh: Don't set LANG.
2926         * posix/globtest.sh (LANG): Remove variable.
2927         * string/Makefile (tester-ENV): Likewise.
2928         (inl-tester-ENV): Likewise.
2929         (noinl-tester-ENV): Likewise.
2930         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2931         [$(cross-compiling) = no]: Don't set LANGUAGE.
2932         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2933         without explicit environment settings.
2934
2935 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2936
2937         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2938         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2939         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2940         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2941
2942 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2943
2944         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2945         other files in the crypt directory.
2946         * crypt/crypt.c: Remove duplicate includes.
2947         * crypt/crypt-entry.c: Likewise.
2948         * crypt/crypt_util.c: Likewise.
2949
2950 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2951
2952         * Makeconfig (run-program-env): New variable.
2953         (run-program-prefix-before-env): Likewise.
2954         (run-program-prefix-after-env): Likewise.
2955         (run-program-prefix): Define in terms of new variables.
2956         (built-program-cmd-before-env): New variable.
2957         (built-program-cmd-after-env): Likewise.
2958         (built-program-cmd): Define in terms of new variables.
2959         (test-program-prefix-before-env): New variable.
2960         (test-program-prefix-after-env): Likewise.
2961         (test-program-prefix): Define in terms of new variables.
2962         (test-program-cmd-before-env): New variable.
2963         (test-program-cmd-after-env): Likewise.
2964         (test-program-cmd): Define in terms of new variables.
2965         * Rules (make-test-out): Use $(run-program-env).
2966         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2967         (help): Do not mention environment variables.  Mention
2968         --timeoutfactor option.
2969         (timeoutfactor): New variable.
2970         (blacklist_exports): Remove function.
2971         (exports): Remove variable.
2972         (command): Do not include ${exports}.
2973         * manual/install.texi (Configuring and compiling): Do not mention
2974         test wrappers preserving environment variables.  Mention that last
2975         assignment to a variable must take precedence.
2976         * INSTALL: Regenerated.
2977         * benchtests/Makefile (run-bench): Use $(run-program-env).
2978         * catgets/Makefile ($(objpfx)test1.cat): Use
2979         $(built-program-cmd-before-env), $(run-program-env) and
2980         $(built-program-cmd-after-env).
2981         ($(objpfx)test2.cat): Do not specify environment variables
2982         explicitly.
2983         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2984         $(run-program-env) and $(built-program-cmd-after-env).
2985         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2986         $(run-program-env) and $(test-program-cmd-after-env).
2987         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2988         explicitly.
2989         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2990         run_program_env and test_program_cmd_after_env arguments.
2991         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2992         * elf/tst-pathopt.sh: Use run_program_env argument.
2993         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2994         $(test-wrapper-env) and $(run-program-env).
2995         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2996         run_program_env arguments.
2997         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2998         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2999         $(test-program-prefix-before-env), $(run-program-env) and
3000         $(test-program-prefix-after-env).
3001         ($(objpfx)tst-gettext2.out): Likewise.
3002         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3003         run_program_env and test_program_prefix_after_env arguments.
3004         * intl/tst-gettext2.sh: Likewise.
3005         * intl/tst-gettext4.sh: Do not set environment variables
3006         explicitly.
3007         * intl/tst-gettext6.sh: Likewise.
3008         * intl/tst-translit.sh: Likewise.
3009         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3010         $(test-program-prefix-before-env), $(run-program-env) and
3011         $(test-program-prefix-after-env).
3012         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3013         run_program_env and test_program_prefix_after_env arguments.
3014         * math/Makefile (run-regen-ulps): Use $(run-program-env).
3015         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3016         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
3017         explicitly with each use of ${test_wrapper_env}.
3018         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3019         $(test-program-prefix-before-env), $(run-program-env) and
3020         $(test-program-prefix-after-env).
3021         * posix/tst-getconf.sh: Do not set environment variables
3022         explicitly.
3023         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3024         run_program_env and test_program_prefix_after_env arguments.
3025         * stdio-common/tst-printf.sh: Do not set environment variables
3026         explicitly.
3027         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3028         $(test-program-prefix-before-env), $(run-program-env) and
3029         $(test-program-prefix-after-env).
3030         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3031         run_program_env and test_program_prefix_after_env arguments.
3032         Split $test calls into $test_pre and $test.
3033         * timezone/Makefile (build-testdata): Use
3034         $(built-program-cmd-before-env), $(run-program-env) and
3035         $(built-program-cmd-after-env).
3036
3037 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3038
3039         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3040         strlen for non SHARED builds.
3041
3042 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3043
3044         * nptl/allocatestack.c (check_list): Inlined function...
3045         (__reclaim_stacks): ... here.
3046
3047 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3048
3049         [BZ #15698]
3050         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3051         memory overrun.
3052
3053 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
3054
3055         * Rules (make-test-out): Include
3056         LOCPATH=$(common-objpfx)localedata in default environment.
3057         * debug/Makefile (tst-chk1-ENV): Remove variable.
3058         (tst-chk2-ENV): Likewise.
3059         (tst-chk3-ENV): Likewise.
3060         (tst-chk4-ENV): Likewise.
3061         (tst-chk5-ENV): Likewise.
3062         (tst-chk6-ENV): Likewise.
3063         (tst-lfschk1-ENV): Likewise.
3064         (tst-lfschk2-ENV): Likewise.
3065         (tst-lfschk3-ENV): Likewise.
3066         (tst-lfschk4-ENV): Likewise.
3067         (tst-lfschk5-ENV): Likewise.
3068         (tst-lfschk6-ENV): Likewise.
3069         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3070         (tst-iconv7-ENV): Likewise.
3071         * intl/Makefile (LOCPATH-ENV): Likewise.
3072         (tst-codeset-ENV): Likewise.
3073         (tst-gettext3-ENV): Likewise.
3074         (tst-gettext5-ENV): Likewise.
3075         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3076         (tst-fopenloc-ENV): Likewise.
3077         (tst-fgetws-ENV): Remove variable.
3078         (tst-ungetwc1-ENV): Likewise.
3079         (tst-ungetwc2-ENV): Likewise.
3080         (bug-ungetwc2-ENV): Likewise.
3081         (tst-swscanf-ENV): Likewise.
3082         (bug-ftell-ENV): Likewise.
3083         (tst-fgetwc-ENV): Likewise.
3084         (tst-fseek-ENV): Likewise.
3085         (tst-ftell-partial-wide-ENV): Likewise.
3086         (tst-ftell-active-handler-ENV): Likewise.
3087         (tst-ftell-append-ENV): Likewise.
3088         * posix/Makefile (tst-fnmatch-ENV): Likewise.
3089         (tst-regexloc-ENV): Likewise.
3090         (bug-regex1-ENV): Likewise.
3091         (tst-regex-ENV): Likewise.
3092         (tst-regex2-ENV): Likewise.
3093         (bug-regex5-ENV): Likewise.
3094         (bug-regex6-ENV): Likewise.
3095         (bug-regex17-ENV): Likewise.
3096         (bug-regex18-ENV): Likewise.
3097         (bug-regex19-ENV): Likewise.
3098         (bug-regex20-ENV): Likewise.
3099         (bug-regex22-ENV): Likewise.
3100         (bug-regex23-ENV): Likewise.
3101         (bug-regex25-ENV): Likewise.
3102         (bug-regex26-ENV): Likewise.
3103         (bug-regex30-ENV): Likewise.
3104         (bug-regex32-ENV): Likewise.
3105         (bug-regex33-ENV): Likewise.
3106         (bug-regex34-ENV): Likewise.
3107         (bug-regex35-ENV): Likewise.
3108         (tst-rxspencer-ENV): Likewise.
3109         (tst-rxspencer-no-utf8-ENV): Likewise.
3110         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3111         (tst-sscanf-ENV): Likewise.
3112         (tst-swprintf-ENV): Likewise.
3113         (tst-swscanf-ENV): Likewise.
3114         (test-vfprintf-ENV): Likewise.
3115         (scanf13-ENV): Likewise.
3116         (bug14-ENV): Likewise.
3117         (tst-grouping-ENV): Likewise.
3118         * stdlib/Makefile (tst-strtod-ENV): Likewise.
3119         (tst-strtod3-ENV): Likewise.
3120         (tst-strtod4-ENV): Likewise.
3121         (tst-strtod5-ENV): Likewise.
3122         (testmb2-ENV): Likewise./
3123         * string/Makefile (tst-strxfrm-ENV): Likewise.
3124         (tst-strxfrm2-ENV): Likewise.
3125         (bug-strcoll1-ENV): Likewise.
3126         (test-strcasecmp-ENV): Likewise.
3127         (test-strncasecmp-ENV): Likewise.
3128         * time/Makefile (tst-strptime-ENV): Likewise.
3129         (tst-ftime_l-ENV): Likewise.
3130         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3131         (tst-mbrtowc-ENV): Likewise.
3132         (tst-wcrtomb-ENV): Likewise.
3133         (tst-mbrtowc2-ENV): Likewise.
3134         (tst-c16c32-1-ENV): Likewise.
3135         (tst-mbsnrtowcs-ENV): Likewise.
3136
3137 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
3138
3139         * manual/resource.texi (How to get information about the memory
3140         subsystem?): Fix typo.
3141         Reported by Peon de la Parra Ivan <peon@keba.com>
3142
3143 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
3144
3145         [BZ #16882]
3146         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3147         (pthread_spin_lock): Branch out of spin loop to proper location.
3148         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3149         (pthread_spin_lock): Likewise.
3150
3151         * nptl/tst-spin4.c: New test.
3152         * nptl/Makefile (tests): Add tst-spin4.
3153
3154 2014-06-03  Andreas Schwab  <schwab@suse.de>
3155
3156         [BZ #15946]
3157         * resolv/res_send.c (send_dg): Reload file descriptor after
3158         calling reopen.
3159
3160 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
3161
3162         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3163
3164 2014-06-03  Richard Henderson  <rth@redhat.com>
3165
3166         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3167         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3168         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3169         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
3170         in the SAVE_PID block.
3171         (__libc_vfork): New alias.
3172         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3173
3174         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3175         child in registers, not on the stack.  Remove RESET_PID conditionals.
3176         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3177
3178 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3179
3180         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3181
3182 2014-06-03  Wilco  <wdijkstr@arm.com>
3183
3184         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3185         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3186         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3187         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3188         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3189         Likewise.
3190
3191 2014-06-03  Wilco  <wdijkstr@arm.com>
3192
3193         * sysdeps/aarch64/fpu/math_private.h
3194         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3195         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3196         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3197         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3198         Fix declarations.
3199
3200 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3201
3202         * crypt/crypt-private.h: Include ufc-crypt.h.
3203         (__b64_from_24bit): Declare extern.
3204         * crypt/crypt_util.c(__b64_from_24bit): New function.
3205         (b64t): New static const variable.
3206         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3207         (b64t): Remove variable.
3208         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3209         * crypt/sha256-crypt.c: Include crypt-private.h.
3210         (b64t): Remove variable.
3211         (__sha256_crypt_r): Remove b64_from_24bit and replace
3212         with __b64_from_24bit.
3213         * crypt/sha512-crypt.c: Likewise.
3214
3215 2014-06-02  Roland McGrath  <roland@hack.frob.com>
3216
3217         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3218         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3219         Label the code __libc_vfork rather than __vfork.
3220         [!NOT_IN_libc] (vfork): Define as weak alias.
3221         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3222         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3223         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3224
3225 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3226
3227         * malloc/malloc.c (malloc_info): Fix format specifier for
3228         n_mmaps.
3229
3230 2014-06-02  Wilco  <wdijkstr@arm.com>
3231
3232         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3233         FPCR write.
3234
3235 2014-06-02  Wilco  <wdijkstr@arm.com>
3236
3237         [BZ #17009]
3238         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3239         Rewrite to reduce FPCR/FPSR accesses.
3240
3241 2014-06-01  David S. Miller  <davem@davemloft.net>
3242
3243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3244
3245 2014-05-31  David S. Miller  <davem@davemloft.net>
3246
3247         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3248         to occur in round to nearest mode when |x| >= 2.0
3249
3250 2014-05-30  Richard Henderson  <rth@twiddle.net>
3251
3252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3253         (PSEUDO_RET_NOERRNO): Remove.
3254         (ret): Don't redefine.
3255         (ret_NOERRNO): Define in terms of ret.
3256         (ret_ERRVAL): Likewise.
3257
3258         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3259         use of PSEUDO_RET; perform the error check directly.
3260
3261 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
3262
3263         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3264         with __int128_t.
3265
3266 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3267
3268         * malloc/malloc (malloc_info): Fix formatting.
3269
3270 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3271             Roland McGrath  <roland@hack.frob.com>
3272
3273         * malloc/malloc (malloc_info): Also print mmapped statistics.
3274
3275 2014-05-30  Roland McGrath  <roland@hack.frob.com>
3276
3277         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3278         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3279
3280 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
3281
3282         * malloc/malloc.c (malloc_info): Inline mi_arena.
3283
3284 2014-05-29  Richard Henderson  <rth@twiddle.net>
3285
3286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3287         Remove comma before expanding ASM_ARGS_##nr.
3288         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3289         Make _x0 a strict output; make _x8 a strict input; adjust expansion
3290         of ASM_ARGS_##nr.
3291         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3292         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3293         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3294         (ASM_ARGS_1): Add leading comma.
3295
3296         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3297         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3298         to __errno_location.
3299         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3300         Remove the expected plt for __errno_location.
3301
3302         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3303         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3304         call to __read_tp.
3305
3306         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3307         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
3308         it and break it down.
3309         (DOCARGS_0, DOCARGS_1): Do nothing.
3310         (DOCARGS_2): Update to store into the new stack frame.
3311         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3312         (UNDOCARGS_1): Update to restore from the new stack frame.
3313         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3314         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3315
3316         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3317         (SINGLE_THREAD_P): New parameter for result regno.
3318         (PSEUDO): Update to match; use cbz instead of beq.
3319
3320         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3321         Use ENTRY to define the _nocancel entry point.  Share the syscall
3322         and syscall error check paths with the cancel path.
3323         (PSEUDO_END): New.
3324
3325         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3326         whitespace; tabs before and after asm mnemonics.
3327
3328 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3329
3330         [BZ #15132]
3331         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3332         Call fstat64 or stat64 internally, depending on arguments passed.
3333         Replace stat buffer argument with file descriptor argument.
3334         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3335         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3336         Pass fd to __internal_statvfs instead of calling fstat64.
3337         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3338         Pass fd to __internal_statvfs64 instead of calling fstat64.
3339         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3340         Pass -1 to __internal_statvfs instead of calling stat64.
3341         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3342         Pass -1 to __internal_statvfs64 instead of calling stat64.
3343
3344 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3345
3346         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3347         that was previously under [RESET_PID].
3348         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3349
3350         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3351         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3352
3353 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3354
3355         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3356
3357         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3358         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3359
3360 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3361
3362         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3363
3364 2014-05-27  Andreas Schwab  <schwab@suse.de>
3365
3366         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3367         TLS_INIT_TP macro.
3368         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3369         * elf/rtld.c (init_tls, dl_main): Likewise.
3370         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3371         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3372         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3373         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3374         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3375         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3376         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3377         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3378         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3379         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3380         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3381         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3382         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3383         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3384         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3385         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3386         * sysdeps/generic/tls.h: Update description.
3387
3388 2014-05-27  Will Newton  <will.newton@linaro.org>
3389
3390         [BZ #16990]
3391         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3392         and restore r2 rather than just restoring.
3393
3394 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3395
3396         [BZ #16724]
3397         * libio/tst-ftell-append.c: New test case.
3398         * libio/Makefile (tests): Add test case.
3399         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3400         append mode.
3401         * libio/wfileops.c (do_ftell_wide): Likewise.
3402
3403 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3404
3405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3406
3407         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3408         ...
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3411         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3412         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3413         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3414         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3415         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3416         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3418         Moved ...
3419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3421         Moved ...
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3423         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3424         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3425         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3426         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3427         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3428         ...
3429         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3430         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3431         Moved ...
3432         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3433         here.
3434         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3435         ...
3436         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3437         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3438         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3439
3440         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3441         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3442         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3443         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3444
3445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3446         merge into ...
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3449         ...
3450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3452         ...
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3455         Moved ...
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3457         here.
3458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3459         Moved ...
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3462         Moved ...
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3464
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3466         conditional [RESET_PID].
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3468         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3469         removed.
3470         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3471         removed.
3472
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3474         <tcb-offsets.h>.
3475         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3476         (__libc_vfork): New strong alias.
3477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3478         removed.
3479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3480         Removed.
3481
3482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3483         <tcb-offsets.h>.
3484         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3485         (__libc_vfork): New strong alias.
3486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3487         removed.
3488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3489         removed.
3490
3491 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3492
3493         * malloc/malloc.c (mi_arena): New function.
3494         (malloc_info): Remove nested function mi_arena. Call non-nosted
3495         function mi_arena.
3496
3497 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3498
3499         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3500         by insrwi.
3501         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3502         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3503         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3504         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3505         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3506         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3507         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3508
3509 2014-05-26  Andreas Schwab  <schwab@suse.de>
3510
3511         [BZ #16984]
3512         * locale/programs/repertoire.c (repertoire_read): Add slash
3513         between I18NPATH element and file name.
3514         * locale/programs/locfile.c (locfile_read): Likewise.
3515
3516 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3517
3518         * nptl/pthread_mutexattr_settype.c
3519         (__pthread_mutexattr_settype):
3520         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3521
3522 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3523
3524         * nptl/tst-mutex5 (do_test):
3525         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3526
3527 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3528
3529         * benchtests/README: Document 'init' directive.
3530         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3531         BENCH_INIT.
3532         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3533         (parse_file): Recognize 'init' directive.
3534
3535 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3536
3537         [BZ #16796]
3538         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3539         alignment of struct pthread.
3540
3541 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3542
3543         [BZ #16878]
3544         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3545         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3546         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3547         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3548
3549 2014-05-25  Richard Henderson  <rth@twiddle.net>
3550
3551         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3552         (SINGLE_THREAD_P_PIC): Remove.
3553         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3554         (SINGLE_THREAD_P_PIC): Remove.
3555
3556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3557         branch to syscall error ...
3558         (PSEUDO): ... here.
3559         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3560         from __local_syscall_error to .Lsyscall_error.
3561         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3562         (SYSCALL_ERROR): Update label name.
3563
3564         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3565         Do not use DOARGS/UNDOARGS.
3566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3567         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3568         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3569         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3570         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3571
3572         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3573         block comment.
3574
3575         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3576         define if !NOT_IN_libc.
3577         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3578         define with non-default symbol versions.
3579
3580 2014-05-23  Richard Henderson  <rth@twiddle.net>
3581
3582         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3583         (vfork, __vfork): Define via compat_symbol.
3584
3585         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3586         [!HAVE_IFUNC] (vfork_compat): Remove.
3587         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3588
3589 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3590
3591         [BZ #16978]
3592         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3593         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3594         variable.
3595
3596 2014-05-23  Richard Henderson  <rth@twiddle.net>
3597
3598         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3599         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3600         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3601         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3602
3603         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3604         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3605         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3606         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3607         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3608         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3609         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3610         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3611         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3612         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3613         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3614         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3615         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3616         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3617         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3618         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3619         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3620         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3622         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3623         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3624         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3625         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3626         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3627         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3628         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3629         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3630         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3631         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3632         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3633         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3634         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3635         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3636         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3637         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3638         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3640         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3642         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3643         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3644         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3645         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3646         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3647         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3648         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3649         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3650         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3651         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3652         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3653         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3654         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3656         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3658         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3659
3660         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3661         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3662         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3663         before exiting on error.
3664         (__libc_vfork): New strong alias.
3665         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3666         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3667
3668         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3669         that was previously under [RESET_PID].
3670         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3671
3672         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3673
3674 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3675
3676         [BZ #16977]
3677         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3678         value when x - 1 is zero.
3679         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3680         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3681         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3682         0.0L for an argument of 1.0L.
3683         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3684         Likewise.
3685         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3686         value when x - 1 is zero.
3687         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3688         * sysdeps/i386/fpu/libm-test-ulps: Update.
3689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690
3691 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3692
3693         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3694         alphasort and versionsort.
3695
3696 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3697
3698         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3699         macro.
3700         [copysignf]: Likewise.
3701
3702 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3703
3704         * crypt/md5-crypt.c: Fix formatting.
3705
3706 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3707
3708         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3709         (b64_from_24bit): New function.
3710
3711 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3712
3713         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3714         libc_hidden_builtin_def to ifunc.
3715         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3716         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3717
3718 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3719
3720         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3721         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3722
3723 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3724
3725         * nscd/Depend (linuxthreads): Remove.
3726         (nptl): Add.
3727         * resolv/Depend (linuxthreads): Remove.
3728         * rt/Depend (linuxthreads): Remove.
3729
3730         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3731         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3732         $(common-objpfx)elf/.
3733         (link-libc-before-gnulib): Likewise.
3734         (elfobjdir): Remove variable.
3735         * Makefile (install): Use $(elf-objpfx) instead of
3736         $(common-objpfx)elf/.
3737         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3738         $(elfobjdir)/.
3739         (link-libc-deps): Likewise.
3740         ($(common-objpfx)libc.so): Likewise.
3741         ($(common-objpfx)linkobj/libc.so): Likewise.
3742         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3743         instead of $(common-objpfx)elf/.
3744         (symbolic-link-list): Likewise.
3745         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3746         [$(cross-compiling) = no]: Likewise.
3747         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3748         $(elfobjdir)/.
3749         (static-gnulib-arch): Likewise.
3750         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3751         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3752         $(common-objpfx)elf/.
3753
3754 2014-05-21  Richard Henderson  <rth@redhat.com>
3755
3756         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3757         (SINGLE_THREAD_P): Use the correct width load.  Fold
3758         into the ldr offset.
3759
3760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3761         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3762
3763 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3764
3765         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3766         (libgcc_s_resume): Use __attribute_used__.
3767         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3768         Likewise.
3769
3770 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3771
3772         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3773         optimization when used with float constants.
3774
3775         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3776
3777 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3778
3779         [BZ #16915]
3780         * locale/nl_langinfo_l.c: Make direct reference to every
3781         _nl_current_CATEGORY symbol.
3782         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3783         (tests-static): Add tst-langinfo-static.
3784         (tests-special): Add tst-langinfo-static.out.
3785         ($(objpfx)tst-langinfo.out): Redirect output.
3786         ($(objpfx)tst-langinfo-static.out): New.
3787         * localedata/tst-langinfo.sh: Send output to stdout.
3788         * localedata/tst-langinfo-static.c: New file.
3789
3790         [BZ #16965]
3791         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3792         when the shift amount is modulo the limb size.
3793
3794 2014-05-20  Richard Henderson  <rth@redhat.com>
3795
3796         [BZ #16967]
3797         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3798         Change type of sa_flags from unsigned int to int.
3799
3800         [BZ #16966]
3801         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3802
3803         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3804
3805 2014-05-20  Will Newton  <will.newton@linaro.org>
3806
3807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3808         Test the return value of the system call in the nocancel case.
3809
3810 2014-05-20  Will Newton  <will.newton@linaro.org>
3811             Yvan Roux  <yvan.roux@linaro.org>
3812
3813         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3814         #include of asm/ptrace.h.
3815         (PTRACE_GET_THREAD_AREA): Remove #undef.
3816         (PTRACE_GETHBPREGS): Likewise.
3817         (PTRACE_SETHBPREGS): Likewise.
3818         (struct user_regs_struct): New structure.
3819         (struct user_fpsimd_struct): New structure.
3820         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3821         #include of asm/ptrace.h and second #include of sys/user.h.
3822         (PTRACE_GET_THREAD_AREA): Remove #undef.
3823         (PTRACE_GETHBPREGS): Likewise.
3824         (PTRACE_SETHBPREGS): Likewise.
3825         (ELF_NGREG): Use new struct user_regs_struct.
3826         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3827
3828 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3829
3830         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3831         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3832
3833 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3834
3835         [BZ #16958]
3836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3837         membar to avoid block loads/stores to overlap previous stores.
3838
3839 2014-05-17  Richard Henderson  <rth@redhat.com>
3840
3841         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3842         Create the __##syscall_name##_nocancel entry point.
3843         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3844         Remove; let the sysdep-cancel.h code create it.
3845
3846 2014-05-17  David S. Miller  <davem@davemloft.net>
3847
3848         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3849         Protect with __USE_GNU.
3850         (TIOCSET_TEMPT): Likewise.
3851         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3852         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3853         these are already provided in bits/ioctl-types.h
3854
3855 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3856
3857         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3858         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3859
3860         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3861         Use wait4 regardless of [__NR_waitpid].
3862
3863 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3864
3865         PR libgcc/60166
3866         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3867         (_FP_NANSIGN_Q): Set the quiet bit.
3868
3869 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3870
3871         * benchtests/Makefile
3872         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3873         not $(common-objpfx)math/libm.so.
3874         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3875         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3876         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3877         $(common-objpfx)dlfcn/libdl.so.
3878         ($(objpfx)tst-audit8): Depend on $(libm), not
3879         $(common-objpfx)math/libm.so.
3880         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3881         not $(common-objpfx)dlfcn/libdl.so.
3882         * math/Makefile
3883         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3884         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3885         [$(build-shared) = yes].
3886         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3887         $(common-objpfx)nptl/libpthread.so.
3888         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3889         $(common-objpfx)math/libm.so$(libm.so-version) or
3890         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3891         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3892         $(common-objpfx)dlfcn/libdl.so.
3893         * setjmp/Makefile (link-libm): Remove variable.
3894         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3895         * stdio-common/Makefile (link-libm): Remove variable.
3896         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3897         * stdlib/Makefile (link-libm): Remove variable.
3898         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3899         ($(objpfx)tst-strtod-round): Likewise.
3900         ($(objpfx)tst-tininess): Likewise.
3901         ($(objpfx)tst-strtod-underflow): Likewise.
3902         ($(objpfx)tst-strtod6): Likewise.
3903         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3904         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3905         $(common-objpfx)dlfcn/libdl.so.
3906
3907 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3908
3909         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3910         BSD terminal modes definitions.
3911
3912 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3913
3914         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3915         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3916
3917         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3918         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3919         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3920         Don't do #include_next.
3921         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3922         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3923         Don't do #include_next.
3924         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3925         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3926         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3927         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3928
3929 2014-05-16  Allan McRae  <allan@archlinux.org>
3930
3931         * po/sv.po: Update Swedish translation from translation project.
3932
3933         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3934         in sed expression.
3935
3936 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3937
3938         [BZ #16917]
3939         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3940         errno if the TIOCGPTN ioctl fails with an error different than
3941         EINVAL.
3942         * login/tst-ptsname.c: New file.
3943         * login/Makefile (tests): Add tst-ptsname.
3944
3945         [BZ #16943]
3946         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3947         and prlimit64.
3948
3949 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3950
3951         [BZ #16849]
3952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3953         herrno to return EAI_AGAIN.
3954
3955 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3956
3957         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3958         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3959         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3960         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3961         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3962         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3963         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3964         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3965         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3966         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3967         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3968         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3969         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3970         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3971         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3972         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3973         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3974         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3975         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3976         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3977         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3978         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3979         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3980         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3981         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3982         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3983         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3984         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3985         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3986         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3988         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3990         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3992         Moved ...
3993         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3995         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3997         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3999         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4001         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4003         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4005         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4007         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4009         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4011         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4013         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4015         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4017         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4019         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4021         Moved ...
4022         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4024         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4026         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4028         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4030         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4032         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4034         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4036         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4038         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4040         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4042         Moved ...
4043         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4045         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4046
4047         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4048         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4049         (libpthread-sysdep_routines): Add elision-related stuff here instead.
4050         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4051         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4052         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4053         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4054         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4055         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4056         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4057         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4058         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4059         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4060         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4061         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4062         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4063         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4064         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4065         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4066         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4067         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4068         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4069         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4070         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4071         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4072         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4073         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4074         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4075         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4076         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4077         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4078
4079         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4080         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4081
4082         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4083         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4084         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4085         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4086         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4087         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4088         Moved ...
4089         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4090         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4091         Moved ...
4092         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4094         Moved ...
4095         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4097         Moved ...
4098         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4099         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4100         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4101         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4102         Moved ...
4103         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4104         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4105         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4106         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4107         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4108         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4109         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4110         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4111         Moved ...
4112         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4113         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4114         Moved ...
4115         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4116         ... here.
4117         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4118         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4119         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4120         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4122         Moved ...
4123         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4124         ... here.
4125         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4126         Moved ...
4127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4128         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4129         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4130         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4131         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4132         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4133         Moved ...
4134         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4135         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4136         Moved ...
4137         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4139         Moved ...
4140         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4142         Moved ...
4143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4144         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4145         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4146         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4149         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4150         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4151         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4152         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4153         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4154         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4155         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4156         Moved ...
4157         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4158         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4159         Moved ...
4160         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4161         ... here.
4162         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4163         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4164         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4165         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4167         Moved ...
4168         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4169         ... here.
4170         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4171         Moved ...
4172         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4173         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4174         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4175         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4176         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4177         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4178         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4179         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4180         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4181         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4182         Moved ...
4183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4184         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4185         Moved ...
4186         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4187         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4188         Moved ...
4189         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4191         Moved ...
4192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4193         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4194         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4195         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4196         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4197         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4198         Moved ...
4199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4200         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4201         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4202         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4203         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4204         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4205         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4206         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4207         Moved ...
4208         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4209         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4210         Moved ...
4211         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4212         ... here.
4213         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4214         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4215         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4216         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4218         Moved ...
4219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4220         ... here.
4221         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4222         Moved ...
4223         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4224         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4225         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4226         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4227         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4228         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4229         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4230         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4231         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4232         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4233         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4234
4235         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4236         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4237
4238         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4239         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4240
4241         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4242         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4243         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4244         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4245         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4246         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4247         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4248         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4249         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4250         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4251         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4252         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4253         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4254         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4255         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4256         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4257         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4258         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4259         Moved ...
4260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4261         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4262         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4263         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4264         Moved ...
4265         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4266         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4267         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4268         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4269         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4270         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4273         Moved ...
4274         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4275         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4276         Moved ...
4277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4279         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4280         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4281         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4283         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4284         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4285         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4286         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4287         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4288         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4289         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4290         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4291         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4292         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4293         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4294
4295         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4296         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4297         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4298         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4299         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4300
4301         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4302         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4303         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4304         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4305         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4306         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4307         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4308         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4309         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4310         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4311
4312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4313         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4314
4315         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4316         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4317         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4318         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4319         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4320         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4321         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4322         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4323         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4324         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4325         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4326         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4327         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4328         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4330         Update #include.
4331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4332         Likewise.
4333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4334         Likewise.
4335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4336         Likewise.
4337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4338         Likewise.
4339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4340         Likewise.
4341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4342         Likewise.
4343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4344         Likewise.
4345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4346         Likewise.
4347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4348         Likewise.
4349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4350         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4351         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4358         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4359         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4360         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4361         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4362         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4363         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4364
4365         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4366         that was previously under [RESET_PID].
4367         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4368         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4369         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4370
4371         * sysdeps/i386/nptl/Implies: New file.
4372         * sysdeps/x86_64/nptl/Implies: New file.
4373         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4374         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4375         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4376         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4377
4378         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4379         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4380         (__libc_vfork): New strong alias.
4381         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4382         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4383
4384         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4385         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4386         (__libc_vfork): New strong alias.
4387         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4388         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4389
4390         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4391         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4392         (__libc_vfork): New strong alias.
4393         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4394         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4395         * nptl/pt-vfork.c: New file.
4396         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4397         (libpthread: GLIBC_2.20): New version set (empty).
4398
4399 2014-05-14  Will Newton  <will.newton@linaro.org>
4400
4401         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4402         rather than #if.
4403
4404 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4405
4406         [BZ #16564]
4407         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4408         arguments with exponent 65 or above.
4409         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4410         arguments 0x1p113L or above.
4411         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4412         to arguments 0x1p107L or above.
4413         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4414         positive arguments with exponent 65 or above.
4415         * math/auto-libm-test-in: Add more tests of log1p.
4416         * math/auto-libm-test-out: Regenerated.
4417
4418         [BZ #16928]
4419         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4420         non-finite arguments is +0.
4421         * math/s_cacosf.c (__cacosf): Likewise.
4422         * math/s_cacosl.c (__cacosl): Likewise.
4423         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4424         * sysdeps/i386/fpu/libm-test-ulps: Update.
4425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4426
4427         [BZ #16927]
4428         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4429         value.
4430         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4431         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4432         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4433         for explicit high bit of mantissa when testing for argument equal
4434         to 1.
4435         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4436         * sysdeps/i386/fpu/libm-test-ulps: Update.
4437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4438
4439         [BZ #16516]
4440         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4441         (__erf): Scale by 16 instead of 8 in potentially underflowing
4442         case.  Ensure exception if result actually underflows.
4443         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4444         (__erff): Scale by 16 instead of 8 in potentially underflowing
4445         case.  Ensure exception if result actually underflows.
4446         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4447         (efx8): Remove variable.
4448         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4449         case.  Ensure exception if result actually underflows.
4450         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4451         (efx8): Remove variable.
4452         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4453         case.  Ensure exception if result actually underflows.
4454         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4455         (efx8): Remove variable.
4456         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4457         case.  Ensure exception if result actually underflows.
4458         * math/auto-libm-test-in: Add more tests of erf.
4459         * math/auto-libm-test-out: Regenerated.
4460
4461 2014-05-14  Andreas Schwab  <schwab@suse.de>
4462
4463         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4464         Remove code conditionalized on USE___THREAD.
4465
4466         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4467         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4468         not definedness.
4469
4470 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4471
4472         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4473         Define unconditionally.
4474         (__ASSUME_O_CLOEXEC): Likewise.
4475         (__ASSUME_SOCK_CLOEXEC): Likewise.
4476         (__ASSUME_IN_NONBLOCK): Likewise.
4477         (__ASSUME_PIPE2): Likewise.
4478         (__ASSUME_EVENTFD2): Likewise.
4479         (__ASSUME_SIGNALFD4): Likewise.
4480         (__ASSUME_DUP3): Likewise.
4481         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4482         (__ASSUME_DUP3): Do not define.
4483         (__ASSUME_EVENTFD2): Likewise.
4484         (__ASSUME_IN_NONBLOCK): Likewise.
4485         (__ASSUME_O_CLOEXEC): Likewise.
4486         (__ASSUME_PIPE2): Likewise.
4487         (__ASSUME_SIGNALFD4): Likewise.
4488         (__ASSUME_SOCK_CLOEXEC): Likewise.
4489         (__ASSUME_UTIMES): Undefine.
4490         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4491         (__ASSUME_UTIMES): Do not define.
4492         (__ASSUME_O_CLOEXEC): Likewise.
4493         (__ASSUME_SOCK_CLOEXEC): Likewise.
4494         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4495         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4496         0x020621].
4497         (__ASSUME_PIPE2): Likewise.
4498         (__ASSUME_EVENTFD2): Likewise.
4499         (__ASSUME_SIGNALFD4): Likewise.
4500         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4501         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4502         Do not define.
4503         (__ASSUME_EVENTFD2): Likewise.
4504         (__ASSUME_SIGNALFD4): Likewise.
4505         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4506         (__ASSUME_32BITUIDS): Likewise.
4507         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4508         (__ASSUME_IPC64): Likewise.
4509         (__ASSUME_ST_INO_64_BIT): Likewise.
4510         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4511         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4512         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4513         (__ASSUME_UTIMES): Do not define.
4514         (__ASSUME_PSELECT): Likewise.
4515         (__ASSUME_PPOLL): Likewise.
4516         (__ASSUME_O_CLOEXEC): Likewise.
4517         (__ASSUME_SOCK_CLOEXEC): Likewise.
4518         (__ASSUME_IN_NONBLOCK): Likewise.
4519         (__ASSUME_PIPE2): Likewise.
4520         (__ASSUME_EVENTFD2): Likewise.
4521         (__ASSUME_SIGNALFD4): Likewise.
4522         (__ASSUME_DUP3): Likewise.
4523         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4524         (__ASSUME_UTIMES): Likewise.
4525         (__ASSUME_O_CLOEXEC): Likewise.
4526         (__ASSUME_SOCK_CLOEXEC): Likewise.
4527         (__ASSUME_IN_NONBLOCK): Likewise.
4528         (__ASSUME_PIPE2): Likewise.
4529         (__ASSUME_EVENTFD2): Likewise.
4530         (__ASSUME_SIGNALFD4): Likewise.
4531         (__ASSUME_DUP3): Likewise.
4532         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4533         (__ASSUME_UTIMES): Likewise.
4534         (__ASSUME_O_CLOEXEC): Likewise.
4535         (__ASSUME_SOCK_CLOEXEC): Likewise.
4536         (__ASSUME_IN_NONBLOCK): Likewise.
4537         (__ASSUME_PIPE2): Likewise.
4538         (__ASSUME_EVENTFD2): Likewise.
4539         (__ASSUME_SIGNALFD4): Likewise.
4540         (__ASSUME_DUP3): Likewise.
4541         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4542         Likewise.
4543         (__ASSUME_UTIMES): Likewise.
4544         (__ASSUME_EVENTFD2): Likewise.
4545         (__ASSUME_SIGNALFD4): Likewise.
4546         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4547         (__ASSUME_O_CLOEXEC): Likewise.
4548         (__ASSUME_SOCK_CLOEXEC): Likewise.
4549         (__ASSUME_IN_NONBLOCK): Likewise.
4550         (__ASSUME_PIPE2): Likewise.
4551         (__ASSUME_EVENTFD2): Likewise.
4552         (__ASSUME_SIGNALFD4): Likewise.
4553         (__ASSUME_DUP3): Likewise.
4554         (__ASSUME_UTIMES): Undefine.
4555
4556         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4557         feclearexcept.  Remove symbol versioning code.
4558         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4559         symbol versioning code.
4560         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4561         symbol versioning code.
4562         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4563         feupdateenv.  Remove symbol versioning code.
4564         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4565         fegetexceptflag.  Remove symbol versioning code.
4566         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4567         fesetexceptflag.  Remove symbol versioning code.
4568         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4569         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4570         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4571         (__posix_fadvise64_l32): Remove prototype.
4572         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4573         code.
4574
4575 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4576
4577         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4578         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4579         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4580         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4581
4582 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4583
4584         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4585         current working directory
4586
4587 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4588
4589         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4590         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4591         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4592         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4593         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4594         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4595         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4596         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4597         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4598         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4599         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4600         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4601         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4602         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4604         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4605         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4606         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4607         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4614         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4615         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4616         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4617         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4618         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4619         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4620         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4621         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4622         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4623         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4624         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4625         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4626         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4627         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4628         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4629         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4630         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4631
4632         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4633         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4634
4635         * sysdeps/unix/sysv/linux/arm/Makefile
4636         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4637         Add rt-aeabi_unwind_cpp_pr1.
4638         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4639         Add nptl-aeabi_unwind_cpp_pr1.
4640         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4641         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4642         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4643         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4644         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4645         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4646
4647         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4648         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4649         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4650         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4651
4652         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4653         Deconditionalize the code that was previously under [RESET_PID].
4654         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4655
4656         * sysdeps/generic/exit-thread.h: New file.
4657         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4658         * include/unistd.h (__exit_thread): Remove declaration.
4659         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4660         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4661         * csu/libc-start.c: Include <exit-thread.h>.
4662         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4663         * nptl/pthread_create.c: Include <exit-thread.h>.
4664         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4665         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4666         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4667         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4668         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4669         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4670         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4671         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4672         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4673         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4674         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4675         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4676         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4677         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4678         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4679         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4680         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4681
4682 2014-05-13  Andreas Schwab  <schwab@suse.de>
4683
4684         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4685
4686 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4687
4688         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4689         (__ASSUME_UTIMES): Do not condition on kernel version.
4690         (__ASSUME_PSELECT): Define unconditionally.
4691         (__ASSUME_PPOLL): Likewise.
4692         (__ASSUME_ATFCTS): Likewise.
4693         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4694         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4695         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4696         (__ASSUME_UTIMENSAT): Define unconditionally.
4697         (__ASSUME_PRIVATE_FUTEX): Likewise.
4698         (__ASSUME_FALLOCATE): Likewise.
4699         (__ASSUME_O_CLOEXEC): Likewise.
4700         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4701         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4702         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4703         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4704         (__ASSUME_IN_NONBLOCK): Likewise.
4705         (__ASSUME_PIPE2): Likewise.
4706         (__ASSUME_EVENTFD2): Likewise.
4707         (__ASSUME_SIGNALFD4): Likewise.
4708         (__ASSUME_DUP3): Likewise.
4709         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4710         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4711         (__ASSUME_AT_RANDOM): Likewise.
4712         (__ASSUME_PREADV): Likewise.
4713         (__ASSUME_PWRITEV): Likewise.
4714         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4715         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4716         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4717         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4718         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4720         (__ASSUME_O_CLOEXEC): Define unconditionally.
4721         (__ASSUME_PSELECT): Do not undefine conditionally.
4722         (__ASSUME_PPOLL): Likewise.
4723         (__ASSUME_ATFCTS): Likewise.
4724         (__ASSUME_SET_ROBUST_LIST): Likewise.
4725         (__ASSUME_UTIMENSAT): Likewise.
4726         (__ASSUME_FDATASYNC): Define unconditionally.
4727         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4728         (__ASSUME_SIGFRAME_V2): Likewise.
4729         )__ASSUME_EVENTFD2): Likewise.
4730         (__ASSUME_SIGNALFD4): Likewise.
4731         (__ASSUME_PSELECT): Do not undefine conditionally.
4732         (__ASSUME_PPOLL): Likewise.
4733         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4734         (__ASSUME_PSELECT): Define unconditionally.
4735         (__ASSUME_PPOLL): Likewise.
4736         (__ASSUME_O_CLOEXEC): Likewise.
4737         (__ASSUME_SOCK_CLOEXEC): Likewise.
4738         (__ASSUME_IN_NONBLOCK): Likewise.
4739         (__ASSUME_PIPE2): Likewise.
4740         (__ASSUME_EVENTFD2): Likewise.
4741         (__ASSUME_SIGNALFD4): Likewise.
4742         (__ASSUME_DUP3): Likewise.
4743         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4744         (__ASSUME_O_CLOEXEC): Likewise.
4745         (__ASSUME_SOCK_CLOEXEC): Likewise.
4746         (__ASSUME_IN_NONBLOCK): Likewise.
4747         (__ASSUME_PIPE2): Likewise.
4748         (__ASSUME_EVENTFD2): Likewise.
4749         (__ASSUME_SIGNALFD4): Likewise.
4750         (__ASSUME_DUP3): Likewise.
4751         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4752         (__ASSUME_EVENTFD2): Likewise.
4753         (__ASSUME_SIGNALFD4): Likewise.
4754         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4755
4756 2014-05-12  Andreas Schwab  <schwab@suse.de>
4757
4758         [BZ #16932]
4759         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4760         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4761         than maximum RPC packet size.
4762         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4763         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4764         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4765         (_nss_nis_getservbyport_r): Likewise.
4766
4767 2014-05-12  Will Newton  <will.newton@linaro.org>
4768
4769         * malloc/Makefile (tests): Add tst-mallopt.
4770         * malloc/tst-mallopt.c: New file.
4771
4772 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4773
4774         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4775         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4776
4777 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4778
4779         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4780         (tst-tlsmod6.so): Likewise.
4781
4782 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4783
4784         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4785
4786 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4787
4788         [BZ #16064]
4789         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4790         and <dl-procinfo.h>.
4791         (__fegetenv): Save SSE state in envp->__eip if supported.
4792         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4793         envp->__eip if supported.
4794         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4795         and <dl-procinfo.h>.
4796         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4797         __data_offset and __data_selector in environment to 0.  Set SSE
4798         state if supported.
4799         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4800         test-fenv-sse.
4801         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4802         -mfpmath=sse.
4803         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4804
4805 2014-05-09  Will Newton  <will.newton@linaro.org>
4806
4807         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4808         and libc_relro_required for ARM.
4809         * sysdeps/arm/preconfigure: Regenerate.
4810
4811 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4812             Stefan Liebler  <stli@linux.vnet.ibm.com>
4813
4814         * config.make.in (enable-lock-elision): New Makefile variable.
4815         * configure.ac: Likewise.
4816         * configure: Regenerate.
4817         * sysdeps/s390/configure.ac:
4818         Add check for gcc transactions support.
4819         * sysdeps/s390/configure: Regenerate.
4820         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4821         Build elision files if enabled.
4822         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4823         Add lock elision support for s390.
4824         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4825         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4826         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4827         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4828         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4829         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4830         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4831         Likewise.
4832         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4833         Likewise.
4834         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4835         Likewise.
4836         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4837         Likewise.
4838         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4839         (__lll_timedlock_elision, __lll_lock_elision)
4840         (__lll_unlock_elision, __lll_trylock_elision)
4841         (lll_timedlock_elision, lll_lock_elision)
4842         (lll_unlock_elision, lll_trylock_elision): Add.
4843         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4844         (pthread_mutex_t): Add lock elision support for s390.
4845
4846 2014-05-14  Wilco  <wdijkstr@arm.com>
4847
4848         * sysdeps/arm/fclrexcpt.c: Cleanup.
4849         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4850         * sysdeps/arm/feenablxcpt.c: Cleanup.
4851         * sysdeps/arm/fegetenv.c: Cleanup.
4852         * sysdeps/arm/fegetexcept.c: Cleanup.
4853         * sysdeps/arm/fegetround.c: Cleanup.
4854         * sysdeps/arm/feholdexcpt.c: Cleanup.
4855         * sysdeps/arm/fesetenv.c: Cleanup.
4856         * sysdeps/arm/fesetround.c: Cleanup.
4857         * sysdeps/arm/feupdateenv.c: Cleanup.
4858         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4859         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4860         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4861         * sysdeps/arm/ftestexcept.c: Cleanup.
4862         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4863         * sysdeps/arm/setfpucw.c: Cleanup.
4864
4865 2014-05-09  Will Newton  <will.newton@linaro.org>
4866
4867         * sysdeps/arm/armv7/strcmp.S: New file.
4868         * NEWS: Mention addition of ARMv7 optimized strcmp.
4869
4870 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4871
4872         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4873         look for %.ac rather than %.in.
4874
4875         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4876         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4877         * sysdeps/mach/hurd/configure: Regenerated.
4878         * sysdeps/unix/sysv/linux/configure: Regenerated.
4879
4880         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4881
4882 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4883
4884         [BZ# 16922]
4885         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4886         (LONG_SUB): Ditto.
4887         (PTR_SUB): Ditto.
4888
4889 2014-05-07  Andreas Schwab  <schwab@suse.de>
4890
4891         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4892         when skipping over non-matching result from nscd.
4893
4894 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4895
4896         [BZ #16876]
4897         * nptl/sockperf.c (client): Check socket return value.
4898
4899         [BZ #16877]
4900         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4901         nscd security class.
4902
4903 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4904
4905         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4906         * sysdeps/arm/unwind.h: ... here.
4907
4908 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4909
4910         [BZ# 16916]
4911         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4912         Define.
4913
4914 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4915
4916         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4917         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4918         multiarch strncpy for PPC64.
4919         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4920         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4921         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4922         multiarch optimizations.
4923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4924         (__libc_ifunc_impl_list): Likewise.
4925         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4926         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4927         multiarch stpncpy for PPC64.
4928         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4929         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4930
4931 2014-05-06  Andreas Schwab  <schwab@suse.de>
4932
4933         [BZ #16912]
4934         * gmon/mcount.c (_MCOUNT_DECL): Use
4935         atomic_compare_and_exchange_bool_acq instead of
4936         catomic_compare_and_exchange_bool_acq.
4937
4938 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4939
4940         * elf/Makefile (others, install-bin): Remove pldd.
4941         (pldd-modules): Variable removed.
4942         ($(objpfx)pldd): Target removed.
4943         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4944         (others, install-bin): Append pldd here.
4945         ($(objpfx)pldd): New target.
4946
4947         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4948         to 0, so the first #if test emitted later doesn't see it undefined.
4949         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4950         * sysdeps/gnu/errlist.c: Regenerated.
4951
4952 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4953
4954         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4955         [libc_hidden_builtin_def]: Define to empty value.
4956         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4957         [libc_hidden_builtin_def]: Likewise.
4958         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4959         [libc_hidden_builtin_def]: Likewise.
4960         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4961         [libc_hidden_builtin_def]: Likewise.
4962         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4963         __redirect_memcpy and define ifunc as default hidden symbol.
4964         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4965         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4966
4967 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4968
4969         * locale/iso-4217.def: Reintroduce XDR currency.
4970
4971 2014-05-04  Allan McRae  <allan@archlinux.org>
4972
4973         * po/eo.po: Update Esperanto translation from translation project.
4974
4975 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4976
4977         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4978         and FEATURE_INDEX_MAX to 1.
4979         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4980
4981 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4982
4983         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4984         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4985         * iconvdata/big5.c (ONE_DIRECTION): Define.
4986         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4987         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4988         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4989         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4990         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4991         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4992         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4993         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4994         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4995         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4996         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4997         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4998         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4999         * iconvdata/gbk.c (ONE_DIRECTION): Define.
5000         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5001         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5002         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5003         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5004         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5005         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5006         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5007         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5008         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5009         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5010         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5011         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5012         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5013         * iconvdata/iso646.c (ONE_DIRECTION): Define.
5014         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5015         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5016         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5017         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5018         * iconvdata/johab.c (ONE_DIRECTION): Define.
5019         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5020         * iconvdata/sjis.c (ONE_DIRECTION): Define.
5021         * iconvdata/t.61.c (ONE_DIRECTION): Define.
5022         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5023         * iconvdata/tscii.c (ONE_DIRECTION): Define.
5024         * iconvdata/uhc.c (ONE_DIRECTION): Define.
5025         * iconvdata/unicode.c (ONE_DIRECTION): Define.
5026         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5027         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5028         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5029
5030 2014-05-01  Roland McGrath  <roland@hack.frob.com>
5031
5032         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5033         (_IO_JUMPS_OFFSET): Define to 0.
5034
5035         * nptl/sysdeps/pthread/bits/libc-lock.h
5036         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5037         (__libc_lock_define_initialized_recursive): Always define using
5038         initializer.  Modern compilers treat uninitialized (implicit zero) and
5039         explicit zero initializers the same (i.e. put the datum in bss).
5040
5041 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5042
5043         * nscd/nscd-client.h: Include <string.h>.
5044
5045 2014-05-01  David S. Miller  <davem@davemloft.net>
5046
5047         [BZ #16885]
5048         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5049         multiple zero bytes exist at the end of a string.
5050         Reported by Aurelien Jarno <aurelien@aurel32.net>
5051
5052         * string/test-strcmp.c (check): Add explicit test for situations where
5053         there are multiple zero bytes after the first.
5054
5055 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
5056
5057         [BZ #16890]
5058         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5059         when compiling wprintf.
5060         * stdio-common/tstdiomisc.c (t3): New function.
5061         (main): Call it.
5062
5063 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5064
5065         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5066         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5067         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5068         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5069
5070 2014-05-01  Steve Ellcey  <sellcey@mips.com>
5071
5072         * stdlib/longlong.h: Updated from GCC.
5073
5074 2014-05-01  Will Newton  <will.newton@linaro.org>
5075             Bernard Ogden  <bernie.ogden@linaro.org>
5076
5077         * NEWS: Update fixed bug list.
5078
5079         [BZ #15119]
5080         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5081
5082 2014-04-30  David S. Miller  <davem@davemloft.net>
5083
5084         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5085         (libc_feholdexcept_setround_sparc_ctx): New function.
5086         (libc_fesetenv_sparc_ctx): Likewise.
5087         (libc_feupdateenv_sparc_ctx): Likewise.
5088         (libc_feholdsetround_sparc_ctx): Likewise.
5089         (libc_feholdexcept_setround_ctx): Define.
5090         (libc_feholdexcept_setroundf_ctx): Likewise.
5091         (libc_feholdexcept_setroundl_ctx): Likewise.
5092         (libc_fesetenv_ctx): Likewise.
5093         (libc_fesetenvf_ctx): Likewise.
5094         (libc_fesetenvl_ctx): Likewise.
5095         (libc_feupdateenv_ctx): Likewise.
5096         (libc_feupdateenvf_ctx): Likewise.
5097         (libc_feupdateenvl_ctx): Likewise.
5098         (libc_feresetround_ctx): Likewise.
5099         (libc_feresetroundf_ctx): Likewise.
5100         (libc_feresetroundl_ctx): Likewise.
5101         (libc_feholdsetround_ctx): Likewise.
5102         (libc_feholdsetroundf_ctx): Likewise.
5103         (libc_feholdsetroundl_ctx): Likewise.
5104
5105         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5106         with __USE_GNU instead of XOPEN cpp guards.
5107
5108         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5109         0.
5110
5111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5112         with XOPEN cpp guards.
5113
5114 2014-04-30  Julian Brown  <julian@codesourcery.com>
5115
5116         [BZ #16888]
5117         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5118         handling.
5119
5120 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
5121
5122         [BZ #9894]
5123         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5124         Change to 2.6.32.
5125         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5126         * sysdeps/unix/sysv/linux/configure: Regenerated.
5127         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5128         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5129         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5130         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5131         * README: Update reference to required Linux kernel version.
5132         * manual/install.texi (Linux): Update reference to required Linux
5133         kernel headers version.
5134         * INSTALL: Regenerated.
5135
5136         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5137         header inclusion.
5138         [POSIX] (limits.h): Likewise.
5139         [POSIX] (math.h): Likewise.
5140         [POSIX] (sys/wait.h): Likewise.
5141         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5142         function.
5143         [POSIX] (stddef.h): Do not allow header inclusion.
5144
5145 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5146
5147         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5148
5149 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
5150
5151         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5152         Return immediately after lll_futex_wake.
5153
5154 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5155
5156         [BZ #16791]
5157         * nscd/nscd-client.h (datahead_init_common): Initialize entire
5158         structure.
5159         (datahead_init_pos): Call datahead_init_common early.
5160         (datahead_init_neg): Likewise.
5161
5162         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5163         datahead_init_neg): New functions.
5164         * nscd/aicache.c (addhstaiX): Use them.
5165         * nscd/grpcache.c (cache_addgr): Likewise.
5166         * nscd/hstcache.c (cache_addhst): Likewise.
5167         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5168         * nscd/netgroupcache.c (do_notfound): Likewise.
5169         (addgetnetgrentX): Likewise.
5170         (addinnetgrX): Likewise.
5171         * nscd/pwdcache.c (cache_addpw): Likewise.
5172         * nscd/servicescache.c (cache_addserv): Likewise.
5173
5174 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5175             Atsushi Onoe  <atsushi@onoe.org>
5176
5177         [BZ #14308]
5178         [BZ #12994]
5179         [BZ #13651]
5180         * resolv/res_query.c (__libc_res_nsearch): Return if at least
5181         one response is valid.
5182         * resolv/res_send.c (send_dg): Check for validity of other
5183         response if the current response is a referral.
5184
5185 2014-04-29  Steve Ellcey  <sellcey@mips.com>
5186
5187         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5188
5189 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
5190
5191         [BZ #16823]
5192         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5193         Always divide by positive zero when computing -Inf result.
5194         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5195         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5196
5197 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5198
5199         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5200         FPSCR if value do not change.
5201         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5202         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5203         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5204         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5205         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5206         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5207         function.
5208
5209 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
5210
5211         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5212         * sysdeps/unix/sysv/linux/hppa: Move directory from
5213         ports/systeps/unix/sysv/linux/hppa.
5214         * README: Update listing for hppa-*-linux-gnu.
5215
5216 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
5217
5218         [BZ #16754]
5219         * manual/stdio.texi (Hook functions): Fix types of stream hook
5220         functions.
5221         [BZ #16854]
5222         * socket/sys/socket.h: Fix typo in comment.
5223
5224 2014-04-28  Wilco  <wdijkstr@arm.com>
5225
5226         * sysdeps/arm/fenv_private.h: New file.
5227         * sysdeps/arm/math_private.h: New file.
5228         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5229
5230 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
5231
5232         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5233         with __int128_t.
5234         (La_x86_64_retval): Likewise.
5235
5236 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
5237
5238         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5239         fpsr if value didn't change.
5240         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5241         to fpcr if value didn't change.
5242         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5243         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5244         fpsr or fpcr if value didn't change.
5245         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5246         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5247         fpcr if value didn't change.
5248         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5249         to fpsr if value didn't change.
5250
5251 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5252
5253         * nptl/tst-sem3.c: Use test-skeleton.c
5254         (main): Rename to do_test.  Use return instead of
5255         exit.
5256         * nptl/tst-sem4.c: Use test-skeleton.c
5257         (main): Rename to do_test.
5258
5259 2014-04-22  David S. Miller  <davem@davemloft.net>
5260
5261         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5262         (struct sigaction): New struct member __glibc_reserved0, change
5263         type of sa_flags to int.
5264
5265 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
5266
5267         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5268         (COUNT_LEADING_ZEROS_0): Define for AArch64.
5269
5270 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5271
5272         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5273         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5274
5275 2014-04-22  Will Newton  <will.newton@linaro.org>
5276             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
5277
5278         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5279         (__longjmp): Add longjmp and longjmp_target SystemTap
5280         probes.
5281         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5282         (__sigsetjmp): Add setjmp SystemTap probe.
5283
5284 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
5285
5286         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5287         match manual order.
5288
5289 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5290
5291         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5292
5293         * sysdeps/powerpc/fpu/fenv_private.h
5294         (libc_feholdexcept_setroundl_ctx): Define to
5295         libc_feholdexcept_setround_ppc_ctx.
5296         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5297         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5298         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5299         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5300
5301 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5302
5303         * sysdeps/aarch64/math-tests.h: New file.
5304
5305 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
5306
5307         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5308         New.
5309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5310         Check and set bit_AVX2_Usable.
5311         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5312         macro.
5313         (bit_AVX2): Likewise.
5314         (index_AVX2_Usable): Likewise.
5315         (CPUID_AVX2): Likewise.
5316         (HAS_AVX2): Likewise.
5317
5318 2014-04-17  Will Newton  <will.newton@linaro.org>
5319
5320         * manual/setjmp.texi (System V contexts): Add note that
5321         calling setcontext on a context created by a call to a
5322         signal handler is undefined.  Update text to note that
5323         setcontext from a signal handler is possible but not
5324         recommended.
5325
5326         [BZ #16629]
5327         * stdlib/tst-setcontext.c: Include signal.h.
5328         (main): Check that the signal stack before and
5329         after swapcontext is the same.
5330
5331         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5332         Re-implement to restore registers in user code and avoid
5333         rt_sigreturn system call.
5334
5335 2014-04-17  Wilco  <wdijkstr@arm.com>
5336
5337         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5338         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5339         * math/test-fenv.c: Skip exception trap tests on targets which only
5340         support non-stop mode.
5341
5342 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5343             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5344
5345         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5346         (libc_feholdsetround_aarch64_ctx)
5347         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5348         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5349         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5350         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5351         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5352         (libc_feresetround_noexl_ctx): Define.
5353
5354 2014-04-16  Richard Henderson  <rth@redhat.com>
5355
5356         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5357
5358         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5359         unwind tables.
5360
5361         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5362         const from the non-libc, non-ldso copy.
5363
5364         * sysdeps/alpha/libm-test-ulps: Regenerate.
5365
5366 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5367             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5368
5369         * sysdeps/aarch64/fpu/math_private.h: New file.
5370
5371 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5372
5373         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5374
5375 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5376
5377         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5378         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5380         Intel MPX bound registers before _dl_profile_fixup.
5381         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5382         registers after _dl_profile_fixup.  Save and restore bound
5383         registers bnd0/bnd1 when calling _dl_call_pltexit.
5384         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5385         (LR_BND_OFFSET): Likewise.
5386         (LRV_BND0_OFFSET): Likewise.
5387         (LRV_BND1_OFFSET): Likewise.
5388
5389 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5390
5391         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5392         to...
5393         * sysdeps/mach/hurd/i386/tls.h: ... here.
5394         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5395         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5396         fields.
5397
5398 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5399
5400         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5401
5402 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5403
5404         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5405
5406 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5407
5408         [BZ #14770]
5409         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5410         * sysdeps/s390/configure: Regenerate.
5411
5412         [BZ #16824]
5413         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5414         Set round-to-nearest internally to reduce error accumulation.
5415
5416 2014-04-16  Alan Modra  <amodra@gmail.com>
5417
5418         [BZ #16740]
5419         [BZ #16619]
5420         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5421         * math/libm-test.inc (frexp_test_data): Add tests.
5422         * NEWS: Update fixed bug list.
5423
5424 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5425
5426         * benchtests/Makefile: Depend on libraries in build directory.
5427         (bench-math): Separate out math tests.
5428         (bench-pthread): Separate out pthread tests.
5429         (bench): Include math and pthread tests.
5430
5431 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5432
5433         [BZ #16831]
5434         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5435         _dl_debug_initialize.
5436
5437         * configure.ac: Remove SELinux header check.
5438         * configure: Regenerate.
5439         * nscd/selinux.c (perms): Array of const char* to permission names.
5440         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5441         default policy. Call string_to_security_class and string_to_av_perm to
5442         translate strings. Enforce default policy and call avs_has_perm with
5443         results of translated strings.
5444
5445 2014-04-13  David S. Miller  <davem@davemloft.net>
5446
5447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5448
5449 2014-04-12  Allan McRae  <allan@archlinux.org>
5450
5451         [BZ #16838]
5452         * manual/string.texi (Collation Functions): Fix qsort argument
5453         order in example.
5454         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5455
5456 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5457
5458         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5459         Make the test a no-op if there are no exceptions defined.
5460
5461 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5462
5463         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5464         enable-hardcoded-path-in-tests
5465
5466 2014-04-11  Will Newton  <will.newton@linaro.org>
5467
5468         * benchtests/Makefile (extra-objs): Add json-lib.o.
5469         (bench-func): Tidy up JSON output.
5470         * benchtests/bench-skeleton.c: Include json-lib.h.
5471         (main): Use JSON library functions to do output of
5472         benchmark results.
5473         * benchtests/bench-timing-type.c (main): Output the
5474         timing type simply, leaving formatting to the user.
5475         * benchtests/json-lib.c: New file.
5476         * benchtests/json-lib.h: Likewise.
5477
5478 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5479
5480         [BZ #15215]
5481         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5482         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5483         memory barriers.  Add comments.
5484         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5485         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5486         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5487         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5488         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5489         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5490
5491 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5492
5493         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5494         * sysdeps/s390/s390-64/configure.ac: ... this ...
5495         * sysdeps/s390/configure.ac: ... to here.
5496         * sysdeps/s390/s390-32/configure: Delete file.
5497         * sysdeps/s390/s390-64/configure: Delete file.
5498         * sysdeps/s390/configure: Regenerate.
5499
5500 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5501
5502         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5503
5504 2014-04-11  Will Newton  <will.newton@linaro.org>
5505
5506         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5507         to zero if it is not defined elsewhere.  (mtrim): Test
5508         the value of MALLOC_DEBUG with #if rather than #ifdef.
5509
5510 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5511
5512         * benchtests/pthread_once-inputs: New file.
5513         * benchtests/pthread_once-source.c: New file.
5514         * benchtests/README: Update documentation.
5515
5516 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5517             H.J. Lu  <hongjiu.lu@intel.com>
5518
5519         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5520         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5521         * sysdeps/x86_64/configure: Regenerated.
5522         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5523         macro.
5524         (REGISTER_SAVE_RAX): Likewise.
5525         (REGISTER_SAVE_RCX): Likewise.
5526         (REGISTER_SAVE_RDX): Likewise.
5527         (REGISTER_SAVE_RSI): Likewise.
5528         (REGISTER_SAVE_RDI): Likewise.
5529         (REGISTER_SAVE_R8): Likewise.
5530         (REGISTER_SAVE_R9): Likewise.
5531         (REGISTER_SAVE_BND0): Likewise.
5532         (REGISTER_SAVE_BND1): Likewise.
5533         (REGISTER_SAVE_BND2): Likewise.
5534         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5535         bound registers when calling _dl_fixup.
5536
5537 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5538
5539         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5540         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5541         of its definition.
5542         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5543         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5544         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5545         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5546         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5547         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5548         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5549
5550 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5551
5552         [BZ #15514]
5553         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5554         pathconf(_PC_NAME_MAX).
5555
5556 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5557
5558         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5559         Remove macro usage.
5560         (__PTHREAD_SPINS): Move definition to ...
5561         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5562         (__PTHREAD_SPINS): ... here.
5563         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5564         (__PTHREAD_SPIN): Likewise.
5565         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5566         (__PTHREAD_SPIN): Likewise.
5567         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5568         (__PTHREAD_SPIN): Likewise.
5569         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5570         (__PTHREAD_SPIN): Likewise.
5571         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5572         (__PTHREAD_SPIN): Likewise.
5573         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5574         (__PTHREAD_SPIN): Likewise.
5575         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5576         (__PTHREAD_SPIN): Likewise.
5577         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5578         (__PTHREAD_SPIN): Likewise.
5579         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5580         (__PTHREAD_SPIN): Likewise.
5581         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5582         (__PTHREAD_SPIN): Likewise.
5583         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5584         (__PTHREAD_SPIN): Likewise.
5585         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5586         (__PTHREAD_SPIN): Likewise.
5587
5588         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5589         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5590         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5591         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5592         imply folder.
5593         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5594         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5595         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5596         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5597         correct imply path.
5598         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5599         strlen symbol for non multi-arch builds.
5600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5601         missing hidden_def and weak_alias.
5602
5603 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5604
5605         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5606
5607 2014-04-07  Will Newton  <will.newton@linaro.org>
5608
5609         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5610         and contents.  [!_LIBC] Remove #ifndef and contents.
5611         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5612         * string/memccpy.c (__memccpy): Use ANSI prototype.
5613         * string/memfrob.c (memfrob): Likewise.
5614         * string/strcoll.c (STRCOLL): Likewise.
5615         * string/strlen.c (strlen): Likewise.
5616         * string/strtok.c (STRTOK): Likewise.
5617         * string/strcat.c: Remove unused #include of memcopy.h.
5618         (strcat): Use ANSI prototype.
5619         * string/strchr.c: Remove unused #include of memcopy.h.
5620         (strchr): Use ANSI prototype.
5621         * string/strcmp.c: Remove unused #include of memcopy.h.
5622         (strcmp): Use ANSI prototype.
5623         * string/strcpy.c: Remove unused #include of memcopy.h.
5624         (strcpy): Use ANSI prototype.
5625
5626 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5627
5628         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5629         * config.make.in (config-extra-cppflags): Set it from
5630         libc_extra_cppflags.
5631         * configure.ac (libc_extra_cflags): Make it accumulate over
5632         configure fragments.
5633         (libc_extra_cppflags): New flag.
5634         * configure. Regenerate.
5635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5636         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5637         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5639
5640         [BZ #16815]
5641         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5642         result for FE_DOWNWARD rounding mode.
5643         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5644         Likewise.
5645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5646
5647 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5648
5649         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5650         in function argument name.
5651
5652 2014-04-03  David Svoboda  <svoboda@cert.org>
5653
5654         [BZ #5666]
5655         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5656         explicitly.
5657
5658 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5659
5660         * elf/dl-unmap-segments.h: New file.
5661         * sysdeps/generic/ldsodefs.h
5662         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5663         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5664         * elf/dl-fptr.c: Likewise.
5665         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5666         * sysdeps/aarch64/tlsdesc.c: Likewise.
5667         * sysdeps/arm/tlsdesc.c: Likewise.
5668         * sysdeps/i386/tlsdesc.c: Likewise.
5669         * sysdeps/tile/dl-runtime.c: Likewise.
5670         * sysdeps/x86_64/tlsdesc.c: Likewise.
5671         * elf/dl-load.h: New file.
5672         * elf/dl-load.c: Include it.
5673         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5674         Macros moved to dl-load.h.
5675         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5676         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5677         Use _dl_unmap_segments in place of __munmap.
5678         Break out segment-mapping loop into ...
5679         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5680
5681 2014-04-03  Will Newton  <will.newton@linaro.org>
5682
5683         * elf/dl-lookup.c (do_lookup_x): Remove comment
5684         referring to nested function and move variable
5685         declarations down to before first use.
5686
5687 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5688
5689         [BZ #16799]
5690         [BZ #16800]
5691         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5692         with 0 numerator.
5693         * math/s_catanf.c (__catanf): Likewise.
5694         * math/s_catanh.c (__catanh): Likewise.
5695         * math/s_catanhf.c (__catanhf): Likewise.
5696         * math/s_catanhl.c (__catanhl): Likewise.
5697         * math/s_catanl.c (__catanl): Likewise.
5698         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5699         by positive zero when computing -Inf result.
5700         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5701         (catanh_test): Likewise.
5702         * sysdeps/i386/fpu/libm-test-ulps: Update.
5703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5704
5705         [BZ #16789]
5706         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5707         instead of using underflowing value in computing result.
5708         * math/s_clog10.c (__clog10): Likewise.
5709         * math/s_clog10f.c (__clog10f): Likewise.
5710         * math/s_clog10l.c (__clog10l): Likewise.
5711         * math/s_clogf.c (__clogf): Likewise.
5712         * math/s_clogl.c (__clogl): Likewise.
5713         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5714         (clog10_test): Likewise.
5715         * sysdeps/i386/fpu/libm-test-ulps: Update.
5716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5717
5718 2014-04-02  Alan Modra  <amodra@gmail.com>
5719
5720         [BZ #16739]
5721         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5722         output when value is near a power of two.  Use int64_t for lx and
5723         remove casts.  Use decimal rather than hex exponent constants.
5724         Don't use long double multiplication when double will suffice.
5725         * math/libm-test.inc (nextafter_test_data): Add tests.
5726         * NEWS: Add 16739 and 16786 to bug list.
5727
5728         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5729
5730         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5731
5732 2014-04-01  Will Newton  <will.newton@linaro.org>
5733
5734         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5735         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5736
5737 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5738
5739         [BZ #13347]
5740         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5741         * nptl/tst-setuid2.c: New file.
5742         * nptl/Makefile (xtests): Add tst-setuid2.
5743
5744 2014-04-01  Alan Modra  <amodra@gmail.com>
5745
5746         [BZ #16786]
5747         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5748
5749 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5750
5751         [BZ #6803]
5752         [BZ #6804]
5753         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5754         set errno as appropriate.
5755         * math/w_scalbf.c (__scalbf): Likewise.
5756         * math/w_scalbl.c (__scalbl): Likewise.
5757         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5758         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5759         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5760         Add more NaN tests.
5761
5762         [BZ #16349]
5763         * math/w_atan2.c: Include <errno.h>.
5764         (__atan2): Set errno for result underflowing to zero.
5765         * math/w_atan2f.c: Include <errno.h>.
5766         (__atan2f): Set errno for result underflowing to zero.
5767         * math/w_atan2l.c: Include <errno.h>.
5768         (__atan2l): Set errno for result underflowing to zero.
5769         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5770         tests.
5771         * math/auto-libm-test-out: Regenerated.
5772
5773 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5774
5775         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5776         Encode instruction correctly in little endian.
5777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5778         Likewise.
5779         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5780         Likewise.
5781         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5782         Likewise.
5783         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5784         Likewise.
5785
5786 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5787
5788         [BZ #9894]
5789         * sysdeps/unix/sysv/linux/kernel-features.h
5790         [__sparc__ && !__arch64__ && !__sparc_v9__]
5791         (__ASSUME_SET_ROBUST_LIST): Do not define.
5792         [__sparc__ && !__arch64__ && !__sparc_v9__]
5793         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5794         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5795         Likewise.
5796         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5797         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5798         (__ASSUME_REQUEUE_PI): Likewise.
5799         (__ASSUME_SET_ROBUST_LIST): Likewise.
5800         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5801         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5802         Undefine.
5803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5804         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5805         Likewise.
5806         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5807         Likewise.
5808         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5809         Likewise.
5810         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5811         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5812         Undefine.
5813         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5814         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5815         Likewise.
5816
5817         [BZ #16648]
5818         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5819         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5820         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5821
5822 2014-03-31  Will Newton  <will.newton@linaro.org>
5823
5824         * benchtests/Makefile (bench): Add ffs and ffsll to list
5825         of tests.
5826         * benchtests/ffs-inputs: New file.
5827         * benchtests/ffsll-inputs: Likewise.
5828
5829 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5830
5831         [BZ #16770]
5832         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5833         too large before casting to int.
5834         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5835         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5836         * math/libm-test.inc (scalb_test_data): Add more tests.
5837
5838 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5839
5840         * benchtests/Makefile (DETAILED_OPT): New make option.
5841         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5842         set.
5843         * benchtests/bench-skeleton.c: Include stdbool.h.
5844         (main): Store and print timings per input.
5845         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5846         member to each argument value.
5847         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5848         (_print_arg_data): Initialize per-input timing to 0.
5849
5850         * benchtests/Makefile (timing-type): New binary.
5851         (bench-clean): Also remove bench-timing-type.
5852         (bench): New target for timing-type.
5853         (bench-func): Print output in JSON format.
5854         * benchtests/bench-skeleton.c (main): Print output in JSON
5855         format.
5856         * benchtests/bench-timing-type.c: New file.
5857         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5858         (TIMING_PRINT_STATS): Remove.
5859         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5860         name separately.
5861
5862         * benchtests/bench-modf.c: Remove.
5863         * benchtests/modf-inputs: New inputs file.
5864
5865 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5866
5867         [BZ #16362]
5868         * math/s_clog10.c (M_PI_LOG10E): New macro.
5869         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5870         imaginary parts are 0.
5871         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5872         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5873         imaginary parts are 0.
5874         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5875         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5876         imaginary parts are 0.
5877         * math/libm-test.inc (clog10_test_data): Update expected results
5878         for when real and imaginary parts are 0.
5879
5880 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5881
5882         * elf/dl-load.c: Finish conversion of __builtin_expect into
5883         __glibc_{un}likely.
5884
5885 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5886
5887         [BZ #16348]
5888         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5889         1+x for argument with exponent below -67.
5890         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5891         Likewise.
5892         * math/auto-libm-test-in: Add more tests of exp.
5893         * math/auto-libm-test-out: Regenerated.
5894
5895 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5896
5897         [BZ #16759]
5898         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5899         (nscd_getnetgrent): Use it.
5900
5901         [BZ #16760]
5902         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5903         of stpcpy.
5904
5905 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5906
5907         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5908         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5909         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5910         (lll_robust_unlock): Remove out of line section. Use cfi
5911         intrinsics.
5912         (LLL_STUB_UNWIND_INFO*): Remove.
5913         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5914         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5915         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5916         (lll_robust_unlock): Remove out of line section. Use cfi
5917         intrinsics.
5918         (LLL_STUB_UNWIND_INFO*): Remove.
5919
5920 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5921
5922         [BZ #16758]
5923         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5924         blank values.
5925
5926 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5927
5928         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5929
5930 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5931
5932         [BZ #16198]
5933         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5934         fnstenv.
5935         * math/test-fenv-preserve.c: New file.
5936         * math/Makefile (tests): Add test-fenv-preserve.
5937
5938 2014-03-26  Will Newton <will.newton@linaro.org>
5939
5940         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5941
5942 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5943
5944         * scripts/versionlist.awk: Partition the version sets and emit all
5945         GLIBC_* (sorted) before all others (sorted).
5946
5947 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5948
5949         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5950         GLIBC_2.2.5 version.
5951
5952 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5953
5954         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5955         calls.
5956
5957         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5958         previous change.
5959
5960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5961
5962 2014-03-25  Andreas Schwab  <schwab@suse.de>
5963
5964         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5965         label to be used after in6ailist is initialized.
5966
5967 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5968
5969         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5970         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5971
5972 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5973
5974         [BZ #16357]
5975         [BZ #16599]
5976         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5977         min_plus_half.
5978         (fp_formats): Update initializers.
5979         (init_fp_formats): Initialize new field.
5980         (output_for_one_input_case): Allow underflow for results up to
5981         min_plus_half.
5982         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5983         * math/auto-libm-test-in: Don't mark some underflows from asin and
5984         atanh as spurious.
5985         * math/auto-libm-test-out: Regenerated.
5986         * sysdeps/i386/fpu/libm-test-ulps: Update.
5987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5988
5989 2014-03-25  Andreas Schwab  <schwab@suse.de>
5990
5991         * libio/Makefile (tst-ftell-partial-wide-ENV)
5992         (tst-ftell-active-handler-ENV): Define.
5993
5994 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5995
5996         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5997
5998 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5999
6000         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6001
6002 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6003
6004         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6005         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6006         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6007
6008 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6009
6010         [BZ #16634]
6011         * elf/dl-load.c (open_verify): Add mode parameter.
6012         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6013         (open_path): Change from boolean 'secure' to complete flag 'mode'
6014         (_dl_map_object): Adjust.
6015         * elf/Makefile (tests): Add tst-dlopen-aout.
6016         * elf/tst-dlopen-aout.c: New test.
6017
6018 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
6019
6020         [BZ #16714]
6021         * sysdeps/unix/sysv/linux/s390/bits/stat.h
6022         (struct stat): Rename member pad0 to __glibc_reserved0.
6023
6024         [BZ #16712]
6025         * sysdeps/s390/s390-32/bits/wordsize.h
6026         (__WORDSIZE32_SIZE_ULONG): New define.
6027         * sysdeps/s390/s390-64/bits/wordsize.h
6028         (__WORDSIZE32_SIZE_ULONG): Likewise.
6029         * sysdeps/generic/stdint.h (SIZE_MAX):
6030         Define as UL if __WORDSIZE32_SIZE_ULONG.
6031
6032         [BZ #16713]
6033         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6034         (__glibc_reserved0): New variable.
6035         (sa_flags): Change type to int.
6036
6037         * posix/Makefile (before-compile): Use += before-compile instead
6038         of a :=.
6039
6040         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6041         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6042
6043 2014-03-20  Andreas Schwab  <schwab@suse.de>
6044
6045         [BZ #16743]
6046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6047         non-matching result from nscd.
6048
6049 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6050
6051         * scripts/bench.py: Moved to ...
6052         * benchtests/scripts/bench.py: ... here.
6053         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6054
6055 2014-03-24  Andreas Schwab  <schwab@suse.de>
6056
6057         [BZ #16002]
6058         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6059         alloca_account and account alloca use for struct in6ailist.
6060
6061 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
6062
6063         [BZ #16284]
6064         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6065         rounding mode to recompute results that overflow to infinity or
6066         underflow to zero.
6067         * math/auto-libm-test-in: Don't mark tests as expected to fail for
6068         bug 16284.
6069         * math/auto-libm-test-out: Regenerated.
6070         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6071         (ccosh_test): Likewise.
6072         (csin_test_data): Use plus_oflow.
6073         (csin_test): Use ALL_RM_TEST.
6074         (csinh_test_data): Use plus_oflow.
6075         (csinh_test): Use ALL_RM_TEST.
6076         * sysdeps/i386/fpu/libm-test-ulps: Update.
6077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6078
6079 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
6080
6081         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6082         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6083         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6084
6085         [BZ #16731]
6086         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6087         when x - 1 is zero.
6088         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6089         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6090         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6091         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6092         argument is 1.
6093         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6094         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6095         zero.
6096         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6097         * sysdeps/i386/fpu/libm-test-ulps: Update.
6098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6099
6100 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6101
6102         * scripts/bench.pl: Remove file.
6103         * scripts/bench.py: New benchmark script.
6104         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6105         * benchtests/README: Mention python dependency.
6106         * scripts/pylintrc: New file.
6107         * scripts/pylint: New file.
6108
6109         * bits/mathdef.h: Use #ifdef instead of #if.
6110         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6111         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6112         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6113         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6114         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6115         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6116
6117 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6118             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6119
6120         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6122         and strpbrk-ppc64 objects.
6123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6124         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6125         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6126         multiarch strpbrk for POWER7.
6127         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6128         multiarch strpbrk for PPC64.
6129         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6130         ifunc selector.
6131         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6132         strpbrk for POWER7.
6133
6134 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6135
6136         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6137         (atan_test): Likewise.
6138         (atanh_test_data): Use NO_TEST_INLINE for two tests.
6139         (atanh_test): Use ALL_RM_TEST.
6140         (atan2_test_data): Likewise.
6141         (cabs_test): Likewise.
6142         (cacosh_test): Likewise.
6143         (carg_test): Likewise.
6144         (casin_test): Likewise.
6145         (casinh_test): Likewise.
6146         (cbrt_test): Likewise.
6147         (csqrt_test): Likewise.
6148         (erf_test): Likewise.
6149         (erfc_test): Likewise.
6150         (pow10_test): Likewise.
6151         (exp2_test): Likewise.
6152         (hypot_test): Likewise.
6153         (j0_test): Likewise.
6154         (j1_test): Likewise.
6155         (lgamma_test): Likewise.
6156         (gamma_test): Likewise.
6157         (sincos_test): Likewise.
6158         (tanh_test): Likewise.
6159         (y0_test): Likewise.
6160         (y1_test): Likewise.
6161         * sysdeps/i386/fpu/libm-test-ulps: Update.
6162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6163
6164 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6165
6166         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6168         and strcspn-ppc64 objects.
6169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6170         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6171         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6172         multiarch strcspn for POWER7.
6173         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6174         multiarch strcspn for PPC64.
6175         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6176         ifunc selector.
6177         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6178         strcspn for POWER7.
6179
6180 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
6181
6182         * math/gen-libm-test.pl (generate_testfile): Expect only function
6183         name as argument to AUTO_TESTS_* and pass results for all rounding
6184         modes to parse_args.
6185         (parse_auto_input): Separate inputs of automatic tests from
6186         outputs before storing in %auto_tests.
6187         * math/libm-test.inc (acos_test_data): Update call to
6188         AUTO_TESTS_f_f.
6189         (acos_test): Use ALL_RM_TEST.
6190         (acos_tonearest_test_data): Remove.
6191         (acos_test_tonearest): Likewise.
6192         (acos_towardzero_test_data): Likewise.
6193         (acos_test_towardzero): Likewise.
6194         (acos_downward_test_data): Likewise.
6195         (acos_test_downward): Likewise.
6196         (acos_upward_test_data): Likewise.
6197         (acos_test_upward): Likewise.
6198         (acosh_test_data): Update call to AUTO_TESTS_f_f.
6199         (asin_test_data): Likewise.
6200         (asin_test): Use ALL_RM_TEST.
6201         (asin_tonearest_test_data): Remove.
6202         (asin_test_tonearest): Likewise.
6203         (asin_towardzero_test_data): Likewise.
6204         (asin_test_towardzero): Likewise.
6205         (asin_downward_test_data): Likewise.
6206         (asin_test_downward): Likewise.
6207         (asin_upward_test_data): Likewise.
6208         (asin_test_upward): Likewise.
6209         (asinh_test_data): Update call to AUTO_TESTS_f_f.
6210         (atan_test_data): Likewise.
6211         (atanh_test_data): Likewise.
6212         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6213         (cabs_test_data): Update call to AUTO_TESTS_c_f.
6214         (carg_test_data): Likewise.
6215         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6216         (ccos_test_data): Update call to AUTO_TESTS_c_c.
6217         (ccosh_test_data): Likewise.
6218         (cexp_test_data): Likewise.
6219         (clog_test_data): Likewise.
6220         (clog10_test_data): Likewise.
6221         (cos_test_data): Update call to AUTO_TESTS_f_f.
6222         (cos_test): Use ALL_RM_TEST.
6223         (cos_tonearest_test_data): Remove.
6224         (cos_test_tonearest): Likewise.
6225         (cos_towardzero_test_data): Likewise.
6226         (cos_test_towardzero): Likewise.
6227         (cos_downward_test_data): Likewise.
6228         (cos_test_downward): Likewise.
6229         (cos_upward_test_data): Likewise.
6230         (cos_test_upward): Likewise.
6231         (cosh_test_data): Update call to AUTO_TESTS_f_f.
6232         (cosh_test): Use ALL_RM_TEST.
6233         (cosh_tonearest_test_data): Remove.
6234         (cosh_test_tonearest): Likewise.
6235         (cosh_towardzero_test_data): Likewise.
6236         (cosh_test_towardzero): Likewise.
6237         (cosh_downward_test_data): Likewise.
6238         (cosh_test_downward): Likewise.
6239         (cosh_upward_test_data): Likewise.
6240         (cosh_test_upward): Likewise.
6241         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6242         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6243         (ctan_test_data): Likewise.
6244         (ctan_test): Use ALL_RM_TEST.
6245         (ctan_tonearest_test_data): Remove.
6246         (ctan_test_tonearest): Likewise.
6247         (ctan_towardzero_test_data): Likewise.
6248         (ctan_test_towardzero): Likewise.
6249         (ctan_downward_test_data): Likewise.
6250         (ctan_test_downward): Likewise.
6251         (ctan_upward_test_data): Likewise.
6252         (ctan_test_upward): Likewise.
6253         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6254         (ctanh_test): Use ALL_RM_TEST.
6255         (ctanh_tonearest_test_data): Remove.
6256         (ctanh_test_tonearest): Likewise.
6257         (ctanh_towardzero_test_data): Likewise.
6258         (ctanh_test_towardzero): Likewise.
6259         (ctanh_downward_test_data): Likewise.
6260         (ctanh_test_downward): Likewise.
6261         (ctanh_upward_test_data): Likewise.
6262         (ctanh_test_upward): Likewise.
6263         (erf_test_data): Update call to AUTO_TESTS_f_f.
6264         (erfc_test_data): Likewise.
6265         (exp_test_data): Likewise.
6266         (exp_test): Use ALL_RM_TEST.
6267         (exp_tonearest_test_data): Remove.
6268         (exp_test_tonearest): Likewise.
6269         (exp_towardzero_test_data): Likewise.
6270         (exp_test_towardzero): Likewise.
6271         (exp_downward_test_data): Likewise.
6272         (exp_test_downward): Likewise.
6273         (exp_upward_test_data): Likewise.
6274         (exp_test_upward): Likewise.
6275         (exp10_test_data): Update call to AUTO_TESTS_f_f.
6276         (exp10_test): Use ALL_RM_TEST.
6277         (exp10_tonearest_test_data): Remove.
6278         (exp10_test_tonearest): Likewise.
6279         (exp10_towardzero_test_data): Likewise.
6280         (exp10_test_towardzero): Likewise.
6281         (exp10_downward_test_data): Likewise.
6282         (exp10_test_downward): Likewise.
6283         (exp10_upward_test_data): Likewise.
6284         (exp10_test_upward): Likewise.
6285         (exp2_test_data): Update call to AUTO_TESTS_f_f.
6286         (expm1_test_data): Likewise.
6287         (expm1_test): Use ALL_RM_TEST.
6288         (expm1_tonearest_test_data): Remove.
6289         (expm1_test_tonearest): Likewise.
6290         (expm1_towardzero_test_data): Likewise.
6291         (expm1_test_towardzero): Likewise.
6292         (expm1_downward_test_data): Likewise.
6293         (expm1_test_downward): Likewise.
6294         (expm1_upward_test_data): Likewise.
6295         (expm1_test_upward): Likewise.
6296         (fma_test_data): Update call to AUTO_TESTS_fff_f.
6297         (fma_test): Use ALL_RM_TEST.
6298         (fma_towardzero_test_data): Remove.
6299         (fma_test_towardzero): Likewise.
6300         (fma_downward_test_data): Likewise.
6301         (fma_test_downward): Likewise.
6302         (fma_upward_test_data): Likewise.
6303         (fma_test_upward): Likewise.
6304         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6305         (j0_test_data): Update call to AUTO_TESTS_f_f.
6306         (j1_test_data): Likewise.
6307         (jn_test_data): Update call to AUTO_TESTS_if_f.
6308         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6309         (log_test_data): Update call to AUTO_TESTS_f_f.
6310         (log10_test_data): Likewise.
6311         (log1p_test_data): Likewise.
6312         (log2_test_data): Likewise.
6313         (pow_test_data): Update call to AUTO_TESTS_ff_f.
6314         (pow_tonearest_test_data): Likewise.
6315         (sin_test_data): Update call to AUTO_TESTS_f_f.
6316         (sin_test): Use ALL_RM_TEST.
6317         (sin_tonearest_test_data): Remove.
6318         (sin_test_tonearest): Likewise.
6319         (sin_towardzero_test_data): Likewise.
6320         (sin_test_towardzero): Likewise.
6321         (sin_downward_test_data): Likewise.
6322         (sin_test_downward): Likewise.
6323         (sin_upward_test_data): Likewise.
6324         (sin_test_upward): Likewise.
6325         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6326         (sinh_test_data): Update call to AUTO_TESTS_f_f.
6327         (sinh_test): Use ALL_RM_TEST.
6328         (sinh_tonearest_test_data): Remove.
6329         (sinh_test_tonearest): Likewise.
6330         (sinh_towardzero_test_data): Likewise.
6331         (sinh_test_towardzero): Likewise.
6332         (sinh_downward_test_data): Likewise.
6333         (sinh_test_downward): Likewise.
6334         (sinh_upward_test_data): Likewise.
6335         (sinh_test_upward): Likewise.
6336         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6337         (sqrt_test): Use ALL_RM_TEST.
6338         (sqrt_tonearest_test_data): Remove.
6339         (sqrt_test_tonearest): Likewise.
6340         (sqrt_towardzero_test_data): Likewise.
6341         (sqrt_test_towardzero): Likewise.
6342         (sqrt_downward_test_data): Likewise.
6343         (sqrt_test_downward): Likewise.
6344         (sqrt_upward_test_data): Likewise.
6345         (sqrt_test_upward): Likewise.
6346         (tan_test_data): Update call to AUTO_TESTS_f_f.
6347         (tan_test): Use ALL_RM_TEST.
6348         (tan_tonearest_test_data): Remove.
6349         (tan_test_tonearest): Likewise.
6350         (tan_towardzero_test_data): Likewise.
6351         (tan_test_towardzero): Likewise.
6352         (tan_downward_test_data): Likewise.
6353         (tan_test_downward): Likewise.
6354         (tan_upward_test_data): Likewise.
6355         (tan_test_upward): Likewise.
6356         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6357         (tgamma_test_data): Likewise.
6358         (y0_test_data): Likewise.
6359         (y1_test_data): Likewise.
6360         (yn_test_data): Update call to AUTO_TESTS_if_f.
6361         (main): Do not call removed functions.
6362
6363 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6364
6365         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6366         (ldexp_test_data): Remove.
6367         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6368         scalbn_test_data.
6369         (scalb_test): Use ALL_RM_TEST.
6370
6371 2014-03-19  Andreas Schwab  <schwab@suse.de>
6372
6373         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6374
6375 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6376
6377         [BZ #16649]
6378         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6379         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6380         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6382         (__ASSUME_PREADV): Undefine.
6383         (__ASSUME_PWRITEV): Likewise.
6384
6385 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6386
6387         * bits/mman-linux.h: Add comment about non-Linux use.
6388         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6389         bits/mman-linux.h resting place.
6390
6391         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6392         * bits/mman-linux.h: ... here.
6393
6394 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6395
6396         * conform/conformtest.pl: Add standard definition when calling C
6397         preprocessor on data files.
6398         (checknamespace): Remove unused variable.
6399
6400 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6401
6402         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6403         minus_oflow, plus_uflow and minus_uflow in expected results.
6404         * math/libm-test.inc (scalbn_test_data): Add more tests of
6405         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6406         minus_uflow.
6407         (scalbn_test): Use ALL_RM_TEST.
6408         (scalbln_test_data): Add more tests of negative arguments.  Use
6409         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6410         (scalbln_test): Use ALL_RM_TEST.
6411
6412 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6413
6414         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6415
6416 2014-03-18  Will Newton  <will.newton@linaro.org>
6417
6418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6419         inaccurate comment.
6420
6421 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6422
6423         * Makerules [!subdir] (check-abi): Exit with error status if a
6424         test failed.
6425
6426 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6427
6428         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6429         for rint.  Include results for all rounding modes.
6430         (nearbyint_test): Use ALL_RM_TEST.
6431         (rint_test_data): Include all tests used for nearbyint.
6432
6433 2014-03-17  Will Newton  <will.newton@linaro.org>
6434
6435         * nptl/sysdeps/pthread/pthread.h: Revert previous
6436         change.
6437
6438         * sysdeps/generic/ldsodefs.h: Revert previous
6439         change.
6440
6441         * libio/genops.c: Revert previous change.
6442         * libio/libioP.h: Likewise.
6443         * stdio-common/vfprintf.c: Likewise.
6444
6445         * sysdeps/generic/math_private.h: Revert previous
6446         change.
6447
6448         * sysdeps/generic/math_private.h: Check whether
6449         HAVE_RM_CTX is defined with #ifdef rather
6450         than #if.
6451
6452         * argp/argp-fmtstream.h: Check whether
6453         __STRICT_ANSI__ is defined with #ifdef rather
6454         than #if.
6455         * argp/argp.h: Likewise.
6456
6457         * libio/genops.c: Check whether
6458         _IO_JUMPS_OFFSET is defined with #ifdef rather
6459         than #if.
6460         * libio/libioP.h: Likewise.
6461         * stdio-common/vfprintf.c: Likewise.
6462
6463         * sysdeps/generic/ldsodefs.h: Check whether
6464         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6465         than #if.
6466
6467         * nptl/sysdeps/pthread/pthread.h: Check
6468         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6469         its value.
6470
6471 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6472
6473         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6474         setting O_APPEND.
6475         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6476         test case.
6477
6478         [BZ #16680]
6479         * libio/fileops.c (_IO_file_open): Seek to end of file but
6480         don't cache the offset.
6481         (get_file_offset): Remove function.
6482         (do_ftell): Use cached offset when available.
6483         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6484         don't cache the offset.
6485         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6486         case.
6487         (do_one_test): Call it.
6488         (do_ftell_test): Fix up expected old offset for a+ mode.
6489         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6490         available.
6491
6492         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6493         up test status with function return status.
6494         (do_write_test): Likewise.
6495         (do_append_test): Likewise.
6496
6497         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6498         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6499         Remove.
6500
6501 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6502
6503         * math/gen-libm-test.pl (parse_args): Handle results specified for
6504         each rounding mode separately.
6505         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6506         tests and results from lrint_tonearest_test_data,
6507         lrint_towardzero_test_data, lrint_downward_test_data and
6508         lrint_upward_test_data.
6509         (lrint_test): Use ALL_RM_TEST.
6510         (lrint_tonearest_test_data): Remove.
6511         (lrint_test_tonearest): Likewise.
6512         (lrint_towardzero_test_data): Likewise.
6513         (lrint_test_towardzero): Likewise.
6514         (lrint_downward_test_data): Likewise.
6515         (lrint_test_downward): Likewise.
6516         (lrint_upward_test_data): Likewise.
6517         (lrint_test_upward): Likewise.
6518         (llrint_test_data): Merge in per-rounding-mode tests and results
6519         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6520         llrint_downward_test_data and llrint_upward_test_data.
6521         (llrint_test): Use ALL_RM_TEST.
6522         (llrint_tonearest_test_data): Remove.
6523         (llrint_test_tonearest): Likewise.
6524         (llrint_towardzero_test_data): Likewise.
6525         (llrint_test_towardzero): Likewise.
6526         (llrint_downward_test_data): Likewise.
6527         (llrint_test_downward): Likewise.
6528         (llrint_upward_test_data): Likewise.
6529         (llrint_test_upward): Likewise.
6530         (rint_test_data): Merge in per-rounding-mode tests and results
6531         from rint_tonearest_test_data, rint_towardzero_test_data,
6532         rint_downward_test_data and rint_upward_test_data.  Add
6533         per-rounding-mode results for tests not in those arrays.
6534         (rint_test): Use ALL_RM_TEST.
6535         (rint_tonearest_test_data): Remove.
6536         (rint_test_tonearest): Likewise.
6537         (rint_towardzero_test_data): Likewise.
6538         (rint_test_towardzero): Likewise.
6539         (rint_downward_test_data): Likewise.
6540         (rint_test_downward): Likewise.
6541         (rint_upward_test_data): Likewise.
6542         (rint_test_upward): Likewise.
6543         (main): Don't call removed functions.
6544
6545 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6546
6547         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6548         "Compiled on ..." crapola.  It is anti-useful.
6549
6550 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6551
6552         * scripts/evaluate-test.sh: Handle fourth argument to determine
6553         whether test run should stop on failure.
6554         * Makeconfig (stop-on-test-failure): New variable.
6555         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6556         $(stop-on-test-failure).
6557         * Makefile (tests): Give a summary of results from testing and
6558         exit with failure status if they include an ERROR or FAIL.
6559         (xtests): Likewise.
6560         * manual/install.texi (Configuring and compiling): Mention
6561         stop-on-test-failure=y.
6562         * INSTALL: Regenerated.
6563
6564 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6565
6566         * scripts/versionlist.awk: New file.
6567         * Makerules [$(build-shared) = yes]
6568         (postclean-generated): Add Versions.def, not Versions.def.v and
6569         Versions.def.v.i.
6570         ($(common-objpfx)Versions.def.v.i): Target removed.
6571         ($(common-objpfx)Versions.def): New target.
6572         ($(common-objpfx)Versions.all): Depend on that rather that
6573         $(common-objpfx)Versions.def.v.
6574         * Versions.def: File removed.
6575
6576         * Makeconfig (+gccwarn): Add -Wundef.
6577         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6578         a dl-sysdep.h breaking its contract.
6579         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6580         * include/stackinfo.h: New file.
6581         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6582         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6583         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6584         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6585         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6586         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6587         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6588         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6589         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6590         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6591         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6592         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6593         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6594         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6595         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6596
6597 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6598
6599         [BZ #16707]
6600         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6601         implementation.
6602         * math/libm-test.inc (round_test_data): Add more tests.
6603
6604         [BZ #16706]
6605         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6606         implementation.
6607         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6608
6609         [BZ #16701]
6610         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6611         implementation.
6612         * math/libm-test.inc (ceil_test_data): Add more tests.
6613
6614         * math/libm-test.inc (trunc_test_data): Add more tests related to
6615         BZ#16414.
6616
6617 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6618
6619         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6620         with #if rather than #ifdef.
6621         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6622
6623 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6624
6625         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6626         first.  Disable AVX-512 GCC support if assembler doesn't support
6627         it.
6628         * sysdeps/x86_64/configure: Regenerated.
6629
6630 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6631
6632         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6633         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6634         (__old_pthread_attr_setstack): Likewise.
6635         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6636         [!_STACK_GROWS_DOWN]: Likewise.
6637
6638 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6639
6640         * config.make.in (have-bash2): Delete.
6641         * configure.ac (libc_cv_have_bash2): Delete.
6642         * configure: Regenerate.
6643         * elf/Makefile (common-ldd-rewrite): Rename to ...
6644         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6645         (sh-ldd-rewrite): Delete.
6646         (bash-ldd-rewrite): Delete.
6647         (have-bash2): Delete checks.
6648         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6649         ldd-rewrite.
6650
6651         * config.make.in (have-ksh): Delete.
6652         (KSH): Delete.
6653         * configure.ac (libc_cv_have_ksh): Delete.
6654         * configure: Regenerate.
6655
6656         * elf/Makefile: Delete $(have-ksh) check.
6657         ($(objpfx)sotruss): Change KSH to BASH.
6658         * elf/sotruss.ksh: Rename to ...
6659         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6660         function style to match POSIX.  Drop ksh vim mode setting.
6661
6662         * manual/time.texi (Specifying the Time Zone with TZ): Change
6663         Tuesday to Thursday.
6664
6665         * debug/tst-longjmp_chk2.c: Update header comment.
6666         (stackoverflow_handler): Add comment.  Call assert on pass value.
6667
6668 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6669
6670         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6671         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6672         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6673         (La_x86_64_vector): Add zmm.
6674         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6675         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6676         ($(objpfx)tst-audit10): New target.
6677         ($(objpfx)tst-audit10.out): Likewise.
6678         (tst-audit10-ENV): New.
6679         (AVX512-CFLAGS): Likewise.
6680         (CFLAGS-tst-audit10.c): Likewise.
6681         (CFLAGS-tst-auditmod10a.c): Likewise.
6682         (CFLAGS-tst-auditmod10b.c): Likewise.
6683         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6684         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6685         * sysdeps/x86_64/configure: Regenerated.
6686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6687         AVX-512 zmm register support.
6688         (_dl_x86_64_save_sse): Likewise.
6689         (_dl_x86_64_restore_sse): Likewise.
6690         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6691         size vector registers.
6692         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6693         (ZMM_SIZE): Likewise.
6694         * sysdeps/x86_64/tst-audit10.c: New file.
6695         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6696         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6697
6698 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6699
6700         * configure.ac (HAVE_EHDR_START): New check.
6701         * configure: Regenerated.
6702         * config.h.in (HAVE_EHDR_START): New #undef.
6703         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6704         assuming the lowest-addressed segment maps the start of the file.
6705
6706 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6707
6708         * INSTALL: Regenerated.
6709
6710 2014-03-13  Will Newton  <will.newton@linaro.org>
6711
6712         * manual/setjmp.texi (System V contexts): Improve
6713         clarity and grammar of documentation.
6714
6715 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6716
6717         [BZ #16381]
6718         * elf/Makefile (tests): Add tst-pie2.
6719         (tests-pie): Add tst-pie2.
6720         * elf/tst-pie2.c: New file.
6721         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6722         for ET_EXEC.
6723         * elf/rtld.c (map_doit): Load executable as lt_executable.
6724         (dl_main): Likewise.
6725
6726 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6727
6728         [BZ #16642]
6729         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6730         (__ASSUME_PSELECT): Undefine.
6731
6732 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6733
6734         [BZ #16689]
6735         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6736         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6737         static build.
6738         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6739         selector for static builds.
6740
6741 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6742
6743         [BZ #16695]
6744         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6745         key in the buffer.
6746
6747 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6748
6749         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6750         IFUNC selector for static builds.
6751
6752 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6753
6754         * sysdeps/mips/math_private.h [__mips_hard_float]
6755         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6756         libc_feresetround_mips_ctx.
6757         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6758         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6759         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6760
6761         [BZ #16677]
6762         * math/s_nextafter.c (__nextafter): Do not return value from
6763         overflowing computation.
6764         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6765         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6766         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6767         Likewise.
6768         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6769         Likewise.
6770         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6771         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6772
6773 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6774
6775         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6776         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6777         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6778         the new mov targetting sp.
6779
6780 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6781
6782         [BZ #16683]
6783         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6784         Define it for static builds as well.
6785         (NO_BZERO_IMPL): Likewise.
6786
6787 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6788
6789         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6790         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6791         multiarch strspn for PPC64.
6792         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6793         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6795         (__libc_ifunc_impl_list): Likewise.
6796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6797         multiarch optimizations
6798         * string/strspn.c (strspn): Using macro to redefine symbol name.
6799
6800 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6801             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6802
6803         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6804         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6805         multiarch strncat for PPC64.
6806         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6807         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6809         (__libc_ifunc_impl_list): Likewise.
6810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6811         multiarch optimizations
6812
6813 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6814
6815         [BZ #16639]
6816         * nscd/nscd.service: Make service type forking.
6817
6818 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6819
6820         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6821         sign in non default rounding modes.
6822         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6823
6824 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6825
6826         * math/libm-test.inc (ALL_RM_TEST): New macro.
6827         (ceil_test): Use ALL_RM_TEST.
6828         (cimag_test): Likewise.
6829         (conj_test): Likewise.
6830         (copysign_test): Likewise.
6831         (cproj_test): Likewise.
6832         (creal_test): Likewise.
6833         (fabs_test): Likewise.
6834         (floor_test): Likewise.
6835         (fmax_test): Likewise.
6836         (fmin_test): Likewise.
6837         (fmod_test): Likewise.
6838         (fpclassify_test): Likewise.
6839         (frexp_test): Likewise.
6840         (ilogb_test): Likewise.
6841         (isfinite_test): Likewise.
6842         (finite_test): Likewise.
6843         (isgreater_test): Likewise.
6844         (isgreaterequal_test): Likewise.
6845         (isinf_test): Likewise.
6846         (isless_test): Likewise.
6847         (islessequal_test): Likewise.
6848         (islessgreater_test): Likewise.
6849         (isnan_test): Likewise.
6850         (isnormal_test): Likewise.
6851         (issignaling_test): Likewise.
6852         (isunordered_test): Likewise.
6853         (logb_test): Likewise.
6854         (logb_downward_test_data): Remove.
6855         (logb_test_downward): Likewise.
6856         (lround_test): Use ALL_RM_TEST.
6857         (llround_test): Likewise.
6858         (modf_test): Likewise.
6859         (nexttoward_test): Likewise.
6860         (remainder_test): Likewise.
6861         (drem_test): Likewise.
6862         (remainder_tonearest_test_data): Likewise.
6863         (remainder_test_tonearest): Likewise.
6864         (drem_test_tonearest): Likewise.
6865         (remainder_towardzero_test_data): Likewise.
6866         (remainder_test_towardzero): Likewise.
6867         (drem_test_towardzero): Likewise.
6868         (remainder_downward_test_data): Likewise.
6869         (remainder_test_downward): Likewise.
6870         (drem_test_downward): Likewise.
6871         (remainder_upward_test_data): Likewise.
6872         (remainder_test_upward): Likewise.
6873         (drem_test_upward): Likewise.
6874         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6875         (round_test): Use ALL_RM_TEST.
6876         (signbit_test): Likewise.
6877         (trunc_test): Likewise.
6878         (significand_test): Likewise.
6879         (main): Don't call removed functions.
6880
6881 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6882
6883         [BZ #16674]
6884         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6885         || __USE_XOPEN2K8].
6886         (ILL_ILLOPN): Likewise.
6887         (ILL_ILLADR): Likewise.
6888         (ILL_ILLTRP): Likewise.
6889         (ILL_PRVOPC): Likewise.
6890         (ILL_PRVREG): Likewise.
6891         (ILL_COPROC): Likewise.
6892         (ILL_BADSTK): Likewise.
6893         (FPE_INTDIV): Likewise.
6894         (FPE_INTOVF): Likewise.
6895         (FPE_FLTDIV): Likewise.
6896         (FPE_FLTOVF): Likewise.
6897         (FPE_FLTUND): Likewise.
6898         (FPE_FLTRES): Likewise.
6899         (FPE_FLTINV): Likewise.
6900         (FPE_FLTSUB): Likewise.
6901         (SEGV_MAPERR): Likewise.
6902         (SEGV_ACCERR): Likewise.
6903         (BUS_ADRALN): Likewise.
6904         (BUS_ADRERR): Likewise.
6905         (BUS_OBJERR): Likewise.
6906         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6907         (TRAP_TRACE): Likewise.
6908         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6909         __USE_XOPEN2K8].
6910         (CLD_KILLED): Likewise.
6911         (CLD_DUMPED): Likewise.
6912         (CLD_TRAPPED): Likewise.
6913         (CLD_STOPPED): Likewise.
6914         (CLD_CONTINUED): Likewise.
6915         (POLL_IN): Likewise.
6916         (POLL_OUT): Likewise.
6917         (POLL_MSG): Likewise.
6918         (POLL_ERR): Likewise.
6919         (POLL_PRI): Likewise.
6920         (POLL_HUP): Likewise.
6921         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6922         Likewise.
6923         (ILL_ILLOPN): Likewise.
6924         (ILL_ILLADR): Likewise.
6925         (ILL_ILLTRP): Likewise.
6926         (ILL_PRVOPC): Likewise.
6927         (ILL_PRVREG): Likewise.
6928         (ILL_COPROC): Likewise.
6929         (ILL_BADSTK): Likewise.
6930         (FPE_INTDIV): Likewise.
6931         (FPE_INTOVF): Likewise.
6932         (FPE_FLTDIV): Likewise.
6933         (FPE_FLTOVF): Likewise.
6934         (FPE_FLTUND): Likewise.
6935         (FPE_FLTRES): Likewise.
6936         (FPE_FLTINV): Likewise.
6937         (FPE_FLTSUB): Likewise.
6938         (SEGV_MAPERR): Likewise.
6939         (SEGV_ACCERR): Likewise.
6940         (BUS_ADRALN): Likewise.
6941         (BUS_ADRERR): Likewise.
6942         (BUS_OBJERR): Likewise.
6943         (BUS_MCEERR_AR): Likewise.
6944         (BUS_MCEERR_AO): Likewise.
6945         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6946         (TRAP_TRACE): Likewise.
6947         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6948         __USE_XOPEN2K8].
6949         (CLD_KILLED): Likewise.
6950         (CLD_DUMPED): Likewise.
6951         (CLD_TRAPPED): Likewise.
6952         (CLD_STOPPED): Likewise.
6953         (CLD_CONTINUED): Likewise.
6954         (POLL_IN): Likewise.
6955         (POLL_OUT): Likewise.
6956         (POLL_MSG): Likewise.
6957         (POLL_ERR): Likewise.
6958         (POLL_PRI): Likewise.
6959         (POLL_HUP): Likewise.
6960         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6961         (ILL_ILLOPN): Likewise.
6962         (ILL_ILLADR): Likewise.
6963         (ILL_ILLTRP): Likewise.
6964         (ILL_PRVOPC): Likewise.
6965         (ILL_PRVREG): Likewise.
6966         (ILL_COPROC): Likewise.
6967         (ILL_BADSTK): Likewise.
6968         (FPE_INTDIV): Likewise.
6969         (FPE_INTOVF): Likewise.
6970         (FPE_FLTDIV): Likewise.
6971         (FPE_FLTOVF): Likewise.
6972         (FPE_FLTUND): Likewise.
6973         (FPE_FLTRES): Likewise.
6974         (FPE_FLTINV): Likewise.
6975         (FPE_FLTSUB): Likewise.
6976         (SEGV_MAPERR): Likewise.
6977         (SEGV_ACCERR): Likewise.
6978         (BUS_ADRALN): Likewise.
6979         (BUS_ADRERR): Likewise.
6980         (BUS_OBJERR): Likewise.
6981         (BUS_MCEERR_AR): Likewise.
6982         (BUS_MCEERR_AO): Likewise.
6983         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6984         (TRAP_TRACE): Likewise.
6985         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6986         __USE_XOPEN2K8].
6987         (CLD_KILLED): Likewise.
6988         (CLD_DUMPED): Likewise.
6989         (CLD_TRAPPED): Likewise.
6990         (CLD_STOPPED): Likewise.
6991         (CLD_CONTINUED): Likewise.
6992         (POLL_IN): Likewise.
6993         (POLL_OUT): Likewise.
6994         (POLL_MSG): Likewise.
6995         (POLL_ERR): Likewise.
6996         (POLL_PRI): Likewise.
6997         (POLL_HUP): Likewise.
6998         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6999         Likewise.
7000         (ILL_ILLOPN): Likewise.
7001         (ILL_ILLADR): Likewise.
7002         (ILL_ILLTRP): Likewise.
7003         (ILL_PRVOPC): Likewise.
7004         (ILL_PRVREG): Likewise.
7005         (ILL_COPROC): Likewise.
7006         (ILL_BADSTK): Likewise.
7007         (ILL_BADIADDR): Likewise.
7008         (ILL_BREAK): Likewise.
7009         (FPE_INTDIV): Likewise.
7010         (FPE_INTOVF): Likewise.
7011         (FPE_FLTDIV): Likewise.
7012         (FPE_FLTOVF): Likewise.
7013         (FPE_FLTUND): Likewise.
7014         (FPE_FLTRES): Likewise.
7015         (FPE_FLTINV): Likewise.
7016         (FPE_FLTSUB): Likewise.
7017         (FPE_DECOVF): Likewise.
7018         (FPE_DECDIV): Likewise.
7019         (FPE_DECERR): Likewise.
7020         (FPE_INVASC): Likewise.
7021         (FPE_INVDEC): Likewise.
7022         (SEGV_MAPERR): Likewise.
7023         (SEGV_ACCERR): Likewise.
7024         (SEGV_PSTKOVF): Likewise.
7025         (BUS_ADRALN): Likewise.
7026         (BUS_ADRERR): Likewise.
7027         (BUS_OBJERR): Likewise.
7028         (BUS_MCEERR_AR): Likewise.
7029         (BUS_MCEERR_AO): Likewise.
7030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7031         (TRAP_TRACE): Likewise.
7032         (TRAP_BRANCH): Likewise.
7033         (TRAP_HWBKPT): Likewise.
7034         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7035         __USE_XOPEN2K8].
7036         (CLD_KILLED): Likewise.
7037         (CLD_DUMPED): Likewise.
7038         (CLD_TRAPPED): Likewise.
7039         (CLD_STOPPED): Likewise.
7040         (CLD_CONTINUED): Likewise.
7041         (POLL_IN): Likewise.
7042         (POLL_OUT): Likewise.
7043         (POLL_MSG): Likewise.
7044         (POLL_ERR): Likewise.
7045         (POLL_PRI): Likewise.
7046         (POLL_HUP): Likewise.
7047         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7048         (ILL_ILLOPN): Likewise.
7049         (ILL_ILLADR): Likewise.
7050         (ILL_ILLTRP): Likewise.
7051         (ILL_PRVOPC): Likewise.
7052         (ILL_PRVREG): Likewise.
7053         (ILL_COPROC): Likewise.
7054         (ILL_BADSTK): Likewise.
7055         (FPE_INTDIV): Likewise.
7056         (FPE_INTOVF): Likewise.
7057         (FPE_FLTDIV): Likewise.
7058         (FPE_FLTOVF): Likewise.
7059         (FPE_FLTUND): Likewise.
7060         (FPE_FLTRES): Likewise.
7061         (FPE_FLTINV): Likewise.
7062         (FPE_FLTSUB): Likewise.
7063         (SEGV_MAPERR): Likewise.
7064         (SEGV_ACCERR): Likewise.
7065         (BUS_ADRALN): Likewise.
7066         (BUS_ADRERR): Likewise.
7067         (BUS_OBJERR): Likewise.
7068         (BUS_MCEERR_AR): Likewise.
7069         (BUS_MCEERR_AO): Likewise.
7070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7071         (TRAP_TRACE): Likewise.
7072         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7073         __USE_XOPEN2K8].
7074         (CLD_KILLED): Likewise.
7075         (CLD_DUMPED): Likewise.
7076         (CLD_TRAPPED): Likewise.
7077         (CLD_STOPPED): Likewise.
7078         (CLD_CONTINUED): Likewise.
7079         (POLL_IN): Likewise.
7080         (POLL_OUT): Likewise.
7081         (POLL_MSG): Likewise.
7082         (POLL_ERR): Likewise.
7083         (POLL_PRI): Likewise.
7084         (POLL_HUP): Likewise.
7085         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7086         (ILL_ILLOPN): Likewise.
7087         (ILL_ILLADR): Likewise.
7088         (ILL_ILLTRP): Likewise.
7089         (ILL_PRVOPC): Likewise.
7090         (ILL_PRVREG): Likewise.
7091         (ILL_COPROC): Likewise.
7092         (ILL_BADSTK): Likewise.
7093         (FPE_INTDIV): Likewise.
7094         (FPE_INTOVF): Likewise.
7095         (FPE_FLTDIV): Likewise.
7096         (FPE_FLTOVF): Likewise.
7097         (FPE_FLTUND): Likewise.
7098         (FPE_FLTRES): Likewise.
7099         (FPE_FLTINV): Likewise.
7100         (FPE_FLTSUB): Likewise.
7101         (SEGV_MAPERR): Likewise.
7102         (SEGV_ACCERR): Likewise.
7103         (BUS_ADRALN): Likewise.
7104         (BUS_ADRERR): Likewise.
7105         (BUS_OBJERR): Likewise.
7106         (BUS_MCEERR_AR): Likewise.
7107         (BUS_MCEERR_AO): Likewise.
7108         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7109         (TRAP_TRACE): Likewise.
7110         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7111         __USE_XOPEN2K8].
7112         (CLD_KILLED): Likewise.
7113         (CLD_DUMPED): Likewise.
7114         (CLD_TRAPPED): Likewise.
7115         (CLD_STOPPED): Likewise.
7116         (CLD_CONTINUED): Likewise.
7117         (POLL_IN): Likewise.
7118         (POLL_OUT): Likewise.
7119         (POLL_MSG): Likewise.
7120         (POLL_ERR): Likewise.
7121         (POLL_PRI): Likewise.
7122         (POLL_HUP): Likewise.
7123         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7124         (ILL_ILLOPN): Likewise.
7125         (ILL_ILLADR): Likewise.
7126         (ILL_ILLTRP): Likewise.
7127         (ILL_PRVOPC): Likewise.
7128         (ILL_PRVREG): Likewise.
7129         (ILL_COPROC): Likewise.
7130         (ILL_BADSTK): Likewise.
7131         (FPE_INTDIV): Likewise.
7132         (FPE_INTOVF): Likewise.
7133         (FPE_FLTDIV): Likewise.
7134         (FPE_FLTOVF): Likewise.
7135         (FPE_FLTUND): Likewise.
7136         (FPE_FLTRES): Likewise.
7137         (FPE_FLTINV): Likewise.
7138         (FPE_FLTSUB): Likewise.
7139         (SEGV_MAPERR): Likewise.
7140         (SEGV_ACCERR): Likewise.
7141         (BUS_ADRALN): Likewise.
7142         (BUS_ADRERR): Likewise.
7143         (BUS_OBJERR): Likewise.
7144         (BUS_MCEERR_AR): Likewise.
7145         (BUS_MCEERR_AO): Likewise.
7146         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7147         (TRAP_TRACE): Likewise.
7148         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7149         __USE_XOPEN2K8].
7150         (CLD_KILLED): Likewise.
7151         (CLD_DUMPED): Likewise.
7152         (CLD_TRAPPED): Likewise.
7153         (CLD_STOPPED): Likewise.
7154         (CLD_CONTINUED): Likewise.
7155         (POLL_IN): Likewise.
7156         (POLL_OUT): Likewise.
7157         (POLL_MSG): Likewise.
7158         (POLL_ERR): Likewise.
7159         (POLL_PRI): Likewise.
7160         (POLL_HUP): Likewise.
7161         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7162         (ILL_ILLOPN): Likewise.
7163         (ILL_ILLADR): Likewise.
7164         (ILL_ILLTRP): Likewise.
7165         (ILL_PRVOPC): Likewise.
7166         (ILL_PRVREG): Likewise.
7167         (ILL_COPROC): Likewise.
7168         (ILL_BADSTK): Likewise.
7169         (ILL_DBLFLT): Likewise.
7170         (ILL_HARDWALL): Likewise.
7171         (FPE_INTDIV): Likewise.
7172         (FPE_INTOVF): Likewise.
7173         (FPE_FLTDIV): Likewise.
7174         (FPE_FLTOVF): Likewise.
7175         (FPE_FLTUND): Likewise.
7176         (FPE_FLTRES): Likewise.
7177         (FPE_FLTINV): Likewise.
7178         (FPE_FLTSUB): Likewise.
7179         (SEGV_MAPERR): Likewise.
7180         (SEGV_ACCERR): Likewise.
7181         (BUS_ADRALN): Likewise.
7182         (BUS_ADRERR): Likewise.
7183         (BUS_OBJERR): Likewise.
7184         (BUS_MCEERR_AR): Likewise.
7185         (BUS_MCEERR_AO): Likewise.
7186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7187         (TRAP_TRACE): Likewise.
7188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7189         __USE_XOPEN2K8].
7190         (CLD_KILLED): Likewise.
7191         (CLD_DUMPED): Likewise.
7192         (CLD_TRAPPED): Likewise.
7193         (CLD_STOPPED): Likewise.
7194         (CLD_CONTINUED): Likewise.
7195         (POLL_IN): Likewise.
7196         (POLL_OUT): Likewise.
7197         (POLL_MSG): Likewise.
7198         (POLL_ERR): Likewise.
7199         (POLL_PRI): Likewise.
7200         (POLL_HUP): Likewise.
7201         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7202         (ILL_ILLOPN): Likewise.
7203         (ILL_ILLADR): Likewise.
7204         (ILL_ILLTRP): Likewise.
7205         (ILL_PRVOPC): Likewise.
7206         (ILL_PRVREG): Likewise.
7207         (ILL_COPROC): Likewise.
7208         (ILL_BADSTK): Likewise.
7209         (FPE_INTDIV): Likewise.
7210         (FPE_INTOVF): Likewise.
7211         (FPE_FLTDIV): Likewise.
7212         (FPE_FLTOVF): Likewise.
7213         (FPE_FLTUND): Likewise.
7214         (FPE_FLTRES): Likewise.
7215         (FPE_FLTINV): Likewise.
7216         (FPE_FLTSUB): Likewise.
7217         (SEGV_MAPERR): Likewise.
7218         (SEGV_ACCERR): Likewise.
7219         (BUS_ADRALN): Likewise.
7220         (BUS_ADRERR): Likewise.
7221         (BUS_OBJERR): Likewise.
7222         (BUS_MCEERR_AR): Likewise.
7223         (BUS_MCEERR_AO): Likewise.
7224         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7225         (TRAP_TRACE): Likewise.
7226         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7227         __USE_XOPEN2K8].
7228         (CLD_KILLED): Likewise.
7229         (CLD_DUMPED): Likewise.
7230         (CLD_TRAPPED): Likewise.
7231         (CLD_STOPPED): Likewise.
7232         (CLD_CONTINUED): Likewise.
7233         (POLL_IN): Likewise.
7234         (POLL_OUT): Likewise.
7235         (POLL_MSG): Likewise.
7236         (POLL_ERR): Likewise.
7237         (POLL_PRI): Likewise.
7238         (POLL_HUP): Likewise.
7239         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7240         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7241
7242         [BZ #16670]
7243         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7244         before #include of <time.h>.
7245         [!__USE_XOPEN2K] (__need_timespec): Likewise.
7246         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7247         (test-xfail-UNIX98/sched.h/conform): Likewise.
7248
7249 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7250
7251         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7252         error absence of trapping exception support.
7253         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7254
7255 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
7256
7257         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7258         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7259         * timezone/Makefile (testdata): Move definition above include of
7260         Rules.
7261         (test-zones): New variable.
7262         (tests-special): Add zone files.
7263         (build-testdata): Use $(evaluate-test).
7264
7265         * elf/Makefile (tests-special): Rename tests to end with .out.
7266         ($(objpfx)noload-mem): Likewise.
7267         ($(objpfx)tst-leaks1-mem): Likewise.
7268         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7269         * iconv/Makefile (xtests-special): Change test-iconvconfig to
7270         $(objpfx)test-iconvconfig.out.
7271         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
7272         set -e inside subshell and redirect output to file.
7273         * iconvdata/Makefile (generated): Rename tests to end with .out.
7274         Correct type.
7275         (tests-special): Rename tests to end with .out.
7276         ($(objpfx)mtrace-tst-loading): Likewise.
7277         * intl/Makefile (generated): Likewise.
7278         (tests-special): Likewise.
7279         ($(objpfx)mtrace-tst-gettext): Likewise.
7280         * misc/Makefile (generated): Likewise.
7281         (tests-special): Likewise.
7282         ($(objpfx)tst-error1-mem): Likewise.
7283         * nptl/Makefile (tests-special): Likewise.
7284         ($(objpfx)tst-stack3-mem): Likewise.
7285         (generated): Likewise.
7286         * posix/Makefile (generated): Likewise.
7287         (tests-special): Likewise.
7288         (xtests-special): Likewise.
7289         ($(objpfx)tst-fnmatch-mem): Likewise.
7290         ($(objpfx)bug-regex2-mem): Likewise.
7291         ($(objpfx)bug-regex14-mem): Likewise.
7292         ($(objpfx)bug-regex21-mem): Likewise.
7293         ($(objpfx)bug-regex31-mem): Likewise.
7294         ($(objpfx)tst-vfork3-mem): Likewise.
7295         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7296         ($(objpfx)tst-pcre-mem): Likewise.
7297         ($(objpfx)tst-boost-mem): Likewise.
7298         ($(objpfx)bug-ga2-mem): Likewise.
7299         ($(objpfx)bug-glob2-mem): Likewise.
7300         * resolv/Makefile (generate): Likewise.
7301         (tests-special): Likewise.
7302         (xtests-special): Likewise.
7303         (generated): Likewise.
7304         ($(objpfx)mtrace-tst-leaks): Likewise.
7305         ($(objpfx)mtrace-tst-leaks2): Likewise.
7306
7307         * scripts/merge-test-results.sh: New file.
7308         * Makefile (tests-special-notdir): New variable.
7309         (tests): Run merge-test-results.sh.
7310         (xtests): Likewise.
7311         * Rules (tests-special-notdir): New variable.
7312         (xtests-special-notdir): Likewise.
7313         (tests): Run merge-test-results.sh
7314         (xtests): Likewise.
7315
7316         * Makeconfig (test-xfail-name): New variable.
7317         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7318         compute variable name for expected failures.
7319         * conform/Makefile (conformtest-headers-data): New variable.
7320         (conformtest-standards): Likewise.
7321         (conformtest-headers-ISO): Likewise.
7322         (conformtest-headers-ISO99): Likewise.
7323         (conformtest-headers-ISO11): Likewise.
7324         (conformtest-headers-POSIX): Likewise.
7325         (conformtest-headers-XPG3): Likewise.
7326         (conformtest-headers-XPG4): Likewise.
7327         (conformtest-headers-UNIX98): Likewise.
7328         (conformtest-headers-XOPEN2K): Likewise.
7329         (conformtest-headers-POSIX2008): Likewise.
7330         (conformtest-headers-XOPEN2K8): Likewise.
7331         (conformtest-header-list-base): Likewise.
7332         (conformtest-header-list-tests): Likewise.
7333         (conformtest-header-base): Likewise.
7334         (conformtest-header-tests): Likewise.
7335         (tests-special): Add $(conformtest-header-list-tests).  If
7336         [$(fast-check) && !$(cross-compiling)], add
7337         $(conformtest-header-tests) instead of
7338         $(objpfx)run-conformtest.out.
7339         (generated): Add $(conformtest-header-list-base).  If
7340         [$(fast-check) && !$(cross-compiling)], add
7341         $(conformtest-header-base).  Remove previous setting.
7342         ($(conformtest-header-list-tests)): New target.
7343         (test-xfail-run-conformtest): Remove variable.
7344         ($(objpfx)run-conformtest.out): Remove target.
7345         (test-xfail-ISO11/complex.h/conform): New variable.
7346         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7347         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7348         (test-xfail-XPG3/varargs.h/conform): Likewise.
7349         (test-xfail-XPG4/varargs.h/conform): Likewise.
7350         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7351         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7352         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7353         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7354         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7355         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7356         (test-xfail-XPG3/ftw.h/conform): Likewise.
7357         (test-xfail-XPG3/grp.h/conform): Likewise.
7358         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7359         (test-xfail-XPG3/limits.h/conform): Likewise.
7360         (test-xfail-XPG3/pwd.h/conform): Likewise.
7361         (test-xfail-XPG3/search.h/conform): Likewise.
7362         (test-xfail-XPG3/signal.h/conform): Likewise.
7363         (test-xfail-XPG3/stdio.h/conform): Likewise.
7364         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7365         (test-xfail-XPG3/string.h/conform): Likewise.
7366         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7367         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7368         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7369         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7370         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7371         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7372         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7373         (test-xfail-XPG3/termios.h/conform): Likewise.
7374         (test-xfail-XPG3/time.h/conform): Likewise.
7375         (test-xfail-XPG3/unistd.h/conform): Likewise.
7376         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7377         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7378         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7379         (test-xfail-XPG4/netdb.h/conform): Likewise.
7380         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7381         (test-xfail-XPG4/signal.h/conform): Likewise.
7382         (test-xfail-XPG4/stdio.h/conform): Likewise.
7383         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7384         (test-xfail-XPG4/stropts.h/conform): Likewise.
7385         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7386         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7387         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7388         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7389         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7390         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7391         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7392         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7393         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7394         (test-xfail-XPG4/termios.h/conform): Likewise.
7395         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7396         (test-xfail-XPG4/unistd.h/conform): Likewise.
7397         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7398         (test-xfail-POSIX/sched.h/conform): Likewise.
7399         (test-xfail-POSIX/signal.h/conform): Likewise.
7400         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7401         (test-xfail-POSIX/tar.h/conform): Likewise.
7402         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7403         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7404         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7405         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7406         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7407         (test-xfail-UNIX98/sched.h/conform): Likewise.
7408         (test-xfail-UNIX98/signal.h/conform): Likewise.
7409         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7410         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7411         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7412         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7413         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7414         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7415         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7416         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7417         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7418         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7419         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7420         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7421         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7422         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7423         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7424         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7425         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7426         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7427         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7428         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7429         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7430         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7431         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7432         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7433         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7434         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7435         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7436         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7437         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7438         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7439         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7440         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7441         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7442         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7443         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7444         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7445         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7446         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7447         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7448         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7449         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7450         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7451         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7452         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7453         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7454         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7455         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7456         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7457         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7458         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7459         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7460         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7461         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7462         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7463         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7464         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7465         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7466         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7467         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7468         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7469         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7470         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7471         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7472         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7473         (conformtest-cc-flags): Likewise.
7474         ($(conformtest-header-tests): New target.
7475         * conform/check-header-lists.sh: New file.
7476         * conform/run-conformtest.sh: Remove.
7477
7478         * conform/conformtest.pl: Allow ' and \ in values given for
7479         constants.
7480         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7481         inclusion.
7482         [POSIX] (sys/types.h): Likewise.
7483         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7484         inclusion.
7485         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7486         inclusion.
7487         * conform/data/signal.h-data (SIGIO): Remove expectation.
7488         [XPG3] (SIGBUS): Do not expect.
7489         [POSIX || XPG3] (SIGPOLL): Likewise.
7490         [POSIX || XPG3] (SIGPROF): Likewise.
7491         [POSIX || XPG3] (SIGSYS): Likewise.
7492         [XPG3] (SIGTRAP): Likewise.
7493         [POSIX || XPG3] (SIGURG): Likewise.
7494         [POSIX || XPG3] (SIGVTALRM): Likewise.
7495         [POSIX || XPG3] (SIGXCPU): Likewise.
7496         [POSIX || XPG3] (SIGXFSZ): Likewise.
7497         [POSIX] (SA_SIGINFO): Expect.
7498         [XPG3] (siginfo_t): Do not expect type or contents.
7499         [POSIX] (si_pid): Do not expect element.
7500         [POSIX] (si_uid): Likewise.
7501         [POSIX] (si_addr): Likewise.
7502         [POSIX] (si_status): Likewise.
7503         [POSIX] (si_band): Likewise.
7504         [XPG4] (si_value): Likewise.
7505         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7506         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7507         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7508         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7509         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7510         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7511         [POSIX || XPG3] (ILL_COPROC): Likewise.
7512         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7513         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7514         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7515         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7516         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7517         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7518         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7519         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7520         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7521         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7522         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7523         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7524         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7525         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7526         [POSIX || XPG3] (CLD_EXITED): Likewise.
7527         [POSIX || XPG3] (CLD_KILLED): Likewise.
7528         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7529         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7530         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7531         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7532         [POSIX || XPG3] (POLL_IN): Likewise.
7533         [POSIX || XPG3] (POLL_OUT): Likewise.
7534         [POSIX || XPG3] (POLL_MSG): Likewise.
7535         [POSIX || XPG3] (POLL_ERR): Likewise.
7536         [POSIX || XPG3] (POLL_PRI): Likewise.
7537         [POSIX || XPG3] (POLL_HUP): Likewise.
7538         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7539         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7540         (SIG*): Do not allow.
7541         [XPG3] (si_*): Likewise.
7542         [XPG3] (SI_*): Likewise.
7543         [XPG3 || XPG4] (sigev_*): Likewise.
7544         [XPG3 || XPG4] (SIGEV_*): Likewise.
7545         [XPG3 || XPG4] (sival_*): Likewise.
7546         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7547         [POSIX || XPG3] (BUS_*): Likewise.
7548         [POSIX || XPG3] (CLD_*): Likewise.
7549         [POSIX || XPG3] (FPE_*): Likewise.
7550         [POSIX || XPG3] (ILL_*): Likewise.
7551         [POSIX || XPG3] (POLL_*): Likewise.
7552         [POSIX || XPG3] (SEGV_*): Likewise.
7553         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7554         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7555         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7556         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7557         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7558         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7559         Specify type and value.
7560         (TVERSLEN): Likewise.
7561         (REGTYPE): Likewise.
7562         (AREGTYPE): Likewise.
7563         (LNKTYPE): Likewise.
7564         (SYMTYPE): Likewise.
7565         (CHRTYPE): Likewise.
7566         (BLKTYPE): Likewise.
7567         (DIRTYPE): Likewise.
7568         (FIFOTYPE): Likewise.
7569         (CONTTYPE): Likewise.
7570         (TSUID): Likewise.
7571         (TSGID): Likewise.
7572         (TSVTX): Likewise.
7573         (TUREAD): Likewise.
7574         (TUWRITE): Likewise.
7575         (TUEXEC): Likewise.
7576         (TGREAD): Likewise.
7577         (TGWRITE): Likewise.
7578         (TGEXEC): Likewise.
7579         (TOREAD): Likewise.
7580         (TOWRITE): Likewise.
7581         (TOEXEC): Likewise.
7582         [POSIX] (TSVTX): Expect constant.
7583
7584 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7585
7586         * Makefile (tests): Change dependencies to ....
7587         (tests-special): ... additions to this variable.
7588         (tests): Depend on $(tests-special).
7589         * Makerules (check-abi-list): New variable.
7590         (check-abi): Depend on $(check-abi-list).
7591         [$(subdir) = elf] (tests-special): Add
7592         $(objpfx)check-abi-libc.out.
7593         [$(build-shared) = yes && subdir] (tests-special): Add
7594         $(check-abi-list).
7595         [$(build-shared) = yes && subdir] (tests): Do not depend on
7596         check-abi.
7597         * Rules (tests): Depend on $(tests-special).
7598         (xtests): Depend on $(xtests-special).
7599         * catgets/Makefile (tests): Change dependencies to ....
7600         (tests-special): ... additions to this variable.
7601         * conform/Makefile (tests): Change dependencies to ....
7602         (tests-special): ... additions to this variable.
7603         * elf/Makefile (tests): Change dependencies to ....
7604         (tests-special): ... additions to this variable.
7605         * grp/Makefile (tests): Change dependencies to ....
7606         (tests-special): ... additions to this variable.
7607         * iconv/Makefile (xtests): Change dependencies to ....
7608         (xtests-special): ... additions to this variable.
7609         * iconvdata/Makefile (tests): Change dependencies to ....
7610         (tests-special): ... additions to this variable.
7611         * intl/Makefile (tests): Change dependencies to ....
7612         (tests-special): ... additions to this variable.  Also add
7613         $(objpfx)tst-gettext.out.
7614         * io/Makefile (tests): Change dependencies to ....
7615         (tests-special): ... additions to this variable.
7616         * libio/Makefile (tests): Change dependencies to ....
7617         (tests-special): ... additions to this variable.
7618         * malloc/Makefile (tests): Change dependencies to ....
7619         (tests-special): ... additions to this variable.
7620         * misc/Makefile (tests): Change dependencies to ....
7621         (tests-special): ... additions to this variable.
7622         * nptl/Makefile (tests): Change dependencies to ....
7623         (tests-special): ... additions to this variable.
7624         * nptl_db/Makefile (tests): Change dependencies to ....
7625         (tests-special): ... additions to this variable.
7626         * posix/Makefile (tests): Change dependencies to ....
7627         (tests-special): ... additions to this variable.
7628         (xtests): Change dependencies to ....
7629         (xtests-special): ... additions to this variable.
7630         * resolv/Makefile (tests): Change dependencies to ....
7631         (tests-special): ... additions to this variable.
7632         (xtests): Change dependencies to ....
7633         (xtests-special): ... additions to this variable.
7634         * stdio-common/Makefile (tests): Change dependencies to ....
7635         (tests-special): ... additions to this variable.
7636         (do-tst-unbputc): Remove target.
7637         (do-tst-printf): Likewise.
7638         * stdlib/Makefile (tests): Change dependencies to ....
7639         (tests-special): ... additions to this variable.
7640         * string/Makefile (tests): Change dependencies to ....
7641         (tests-special): ... additions to this variable.
7642         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7643         (tests-special): ... additions to this variable.
7644
7645         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7646         whole file.
7647         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7648         whole file.
7649         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7650         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7651
7652         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7653         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7654         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7655         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7656         * conform/data/libgen.h-data [XPG3]: Likewise.
7657         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7658         * conform/data/ndbm.h-data [XPG3]: Likewise.
7659         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7660         * conform/data/netdb.h-data [XPG3]: Likewise.
7661         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7662         * conform/data/poll.h-data [XPG3]: Likewise.
7663         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7664         * conform/data/strings.h-data [XPG3]: Likewise.
7665         * conform/data/stropts.h-data [XPG3]: Likewise.
7666         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7667         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7668         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7669         Likewise.
7670         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7671         * conform/data/sys/time.h-data [XPG3]: Likewise.
7672         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7673         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7674         * conform/data/sys/un.h-data [XPG3]: Likewise.
7675         * conform/data/syslog.h-data [XPG3]: Likewise.
7676         * conform/data/ucontext.h-data [XPG3]: Likewise.
7677         * conform/data/utmpx.h-data [XPG3]: Likewise.
7678         * conform/data/varargs.h-data [UNIX98]: Enable file.
7679
7680         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7681
7682         * math/libm-test.inc (struct test_f_f_data): Move expected results
7683         into structure for each rounding mode.
7684         (struct test_ff_f_data): Likewise.
7685         (struct test_ff_f_data_nexttoward): Likewise.
7686         (struct test_fi_f_data): Likewise.
7687         (struct test_fl_f_data): Likewise.
7688         (struct test_if_f_data): Likewise.
7689         (struct test_fff_f_data): Likewise.
7690         (struct test_c_f_data): Likewise.
7691         (struct test_f_f1_data): Likewise.
7692         (struct test_fF_f1_data): Likewise.
7693         (struct test_ffI_f1_data): Likewise.
7694         (struct test_c_c_data): Likewise.
7695         (struct test_cc_c_data): Likewise.
7696         (struct test_f_i_data): Likewise.
7697         (struct test_ff_i_data): Likewise.
7698         (struct test_f_l_data): Likewise.
7699         (struct test_f_L_data): Likewise.
7700         (struct test_fFF_11_data): Likewise.
7701         (RM_): New macro.
7702         (RM_FE_DOWNWARD): Likewise.
7703         (RM_FE_TONEAREST): Likewise.
7704         (RM_FE_TOWARDZERO): Likewise.
7705         (RM_FE_UPWARD): Likewise.
7706         (RUN_TEST_LOOP_f_f): Update references to expected results.
7707         (RUN_TEST_LOOP_2_f): Likewise.
7708         (RUN_TEST_LOOP_fff_f): Likewise.
7709         (RUN_TEST_LOOP_c_f): Likewise.
7710         (RUN_TEST_LOOP_f_f1): Likewise.
7711         (RUN_TEST_LOOP_fF_f1): Likewise.
7712         (RUN_TEST_LOOP_fI_f1): Likewise.
7713         (RUN_TEST_LOOP_ffI_f1): Likewise.
7714         (RUN_TEST_LOOP_c_c): Likewise.
7715         (RUN_TEST_LOOP_cc_c): Likewise.
7716         (RUN_TEST_LOOP_f_i): Likewise.
7717         (RUN_TEST_LOOP_f_i_tg): Likewise.
7718         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7719         (RUN_TEST_LOOP_f_b): Likewise.
7720         (RUN_TEST_LOOP_f_b_tg): Likewise.
7721         (RUN_TEST_LOOP_f_l): Likewise.
7722         (RUN_TEST_LOOP_f_L): Likewise.
7723         (RUN_TEST_LOOP_fFF_11): Likewise.
7724         * math/gen-libm-test.pl (parse_args): Output four copies of
7725         expected results for each test.
7726
7727         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7728         (__ASSUME_UTIMES): Remove.
7729         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7730         (__ASSUME_UTIMES): Likewise.
7731
7732         * math/gen-auto-libm-tests.c: Update comment on output format.
7733         (output_for_one_input_case): Generate before-rounding and
7734         after-rounding information as conditions on output flags not
7735         floating-point format.
7736         * math/auto-libm-test-out: Regenerated.
7737         * math/gen-libm-test.pl (cond_value): New function.
7738         (or_cond_value): Use cond_value.
7739         (generate_testfile): Handle conditional exceptions.
7740
7741 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7742
7743         * math/libm-test.inc (max_valid_error): New variable.
7744         (init_max_error): Take new argument specifying whether function
7745         results are exactly determined.  Set max_valid_error and bound
7746         other variables for errors based on this argument.
7747         (set_max_error): Do not record results above max_valid_error.
7748         (check_float_internal): Only accept errors of up to 0.5ulps if
7749         also at most max_valid_error.
7750         (START): Take new argument EXACT and pass it to init_max_error.
7751         (acos_test): Update call to START.
7752         (acos_test_tonearest): Likewise.
7753         (acos_test_towardzero): Likewise.
7754         (acos_test_downward): Likewise.
7755         (acos_test_upward): Likewise.
7756         (acosh_test): Likewise.
7757         (asin_test): Likewise.
7758         (asin_test_tonearest): Likewise.
7759         (asin_test_towardzero): Likewise.
7760         (asin_test_downward): Likewise.
7761         (asin_test_upward): Likewise.
7762         (asinh_test): Likewise.
7763         (atan_test): Likewise.
7764         (atanh_test): Likewise.
7765         (atan2_test): Likewise.
7766         (cabs_test): Likewise.
7767         (cacos_test): Likewise.
7768         (cacosh_test): Likewise.
7769         (carg_test): Likewise.
7770         (casin_test): Likewise.
7771         (casinh_test): Likewise.
7772         (catan_test): Likewise.
7773         (catanh_test): Likewise.
7774         (cbrt_test): Likewise.
7775         (ccos_test): Likewise.
7776         (ccosh_test): Likewise.
7777         (ceil_test): Likewise.
7778         (cexp_test): Likewise.
7779         (cimag_test): Likewise.
7780         (clog_test): Likewise.
7781         (clog10_test): Likewise.
7782         (conj_test): Likewise.
7783         (copysign_test): Likewise.
7784         (cos_test): Likewise.
7785         (cos_test_tonearest): Likewise.
7786         (cos_test_towardzero): Likewise.
7787         (cos_test_downward): Likewise.
7788         (cos_test_upward): Likewise.
7789         (cosh_test): Likewise.
7790         (cosh_test_tonearest): Likewise.
7791         (cosh_test_towardzero): Likewise.
7792         (cosh_test_downward): Likewise.
7793         (cosh_test_upward): Likewise.
7794         (cpow_test): Likewise.
7795         (cproj_test): Likewise.
7796         (creal_test): Likewise.
7797         (csin_test): Likewise.
7798         (csinh_test): Likewise.
7799         (csqrt_test): Likewise.
7800         (ctan_test): Likewise.
7801         (ctan_test_tonearest): Likewise.
7802         (ctan_test_towardzero): Likewise.
7803         (ctan_test_downward): Likewise.
7804         (ctan_test_upward): Likewise.
7805         (ctanh_test): Likewise.
7806         (ctanh_test_tonearest): Likewise.
7807         (ctanh_test_towardzero): Likewise.
7808         (ctanh_test_downward): Likewise.
7809         (ctanh_test_upward): Likewise.
7810         (erf_test): Likewise.
7811         (erfc_test): Likewise.
7812         (exp_test): Likewise.
7813         (exp_test_tonearest): Likewise.
7814         (exp_test_towardzero): Likewise.
7815         (exp_test_downward): Likewise.
7816         (exp_test_upward): Likewise.
7817         (exp10_test): Likewise.
7818         (exp10_test_tonearest): Likewise.
7819         (exp10_test_towardzero): Likewise.
7820         (exp10_test_downward): Likewise.
7821         (exp10_test_upward): Likewise.
7822         (pow10_test): Likewise.
7823         (exp2_test): Likewise.
7824         (expm1_test): Likewise.
7825         (expm1_test_tonearest): Likewise.
7826         (expm1_test_towardzero): Likewise.
7827         (expm1_test_downward): Likewise.
7828         (expm1_test_upward): Likewise.
7829         (fabs_test): Likewise.
7830         (fdim_test): Likewise.
7831         (floor_test): Likewise.
7832         (fma_test): Likewise.
7833         (fma_test_towardzero): Likewise.
7834         (fma_test_downward): Likewise.
7835         (fma_test_upward): Likewise.
7836         (fmax_test): Likewise.
7837         (fmin_test): Likewise.
7838         (fmod_test): Likewise.
7839         (fpclassify_test): Likewise.
7840         (frexp_test): Likewise.
7841         (hypot_test): Likewise.
7842         (ilogb_test): Likewise.
7843         (isfinite_test): Likewise.
7844         (finite_test): Likewise.
7845         (isgreater_test): Likewise.
7846         (isgreaterequal_test): Likewise.
7847         (isinf_test): Likewise.
7848         (isless_test): Likewise.
7849         (islessequal_test): Likewise.
7850         (islessgreater_test): Likewise.
7851         (isnan_test): Likewise.
7852         (isnormal_test): Likewise.
7853         (issignaling_test): Likewise.
7854         (isunordered_test): Likewise.
7855         (j0_test): Likewise.
7856         (j1_test): Likewise.
7857         (jn_test): Likewise.
7858         (ldexp_test): Likewise.
7859         (lgamma_test): Likewise.
7860         (gamma_test): Likewise.
7861         (lrint_test): Likewise.
7862         (lrint_test_tonearest): Likewise.
7863         (lrint_test_towardzero): Likewise.
7864         (lrint_test_downward): Likewise.
7865         (lrint_test_upward): Likewise.
7866         (llrint_test): Likewise.
7867         (llrint_test_tonearest): Likewise.
7868         (llrint_test_towardzero): Likewise.
7869         (llrint_test_downward): Likewise.
7870         (llrint_test_upward): Likewise.
7871         (log_test): Likewise.
7872         (log10_test): Likewise.
7873         (log1p_test): Likewise.
7874         (log2_test): Likewise.
7875         (logb_test): Likewise.
7876         (logb_test_downward): Likewise.
7877         (lround_test): Likewise.
7878         (llround_test): Likewise.
7879         (modf_test): Likewise.
7880         (nearbyint_test): Likewise.
7881         (nextafter_test): Likewise.
7882         (nexttoward_test): Likewise.
7883         (pow_test): Likewise.
7884         (pow_test_tonearest): Likewise.
7885         (pow_test_towardzero): Likewise.
7886         (pow_test_downward): Likewise.
7887         (pow_test_upward): Likewise.
7888         (remainder_test): Likewise.
7889         (drem_test): Likewise.
7890         (remainder_test_tonearest): Likewise.
7891         (drem_test_tonearest): Likewise.
7892         (remainder_test_towardzero): Likewise.
7893         (drem_test_towardzero): Likewise.
7894         (remainder_test_downward): Likewise.
7895         (drem_test_downward): Likewise.
7896         (remainder_test_upward): Likewise.
7897         (drem_test_upward): Likewise.
7898         (remquo_test): Likewise.
7899         (rint_test): Likewise.
7900         (rint_test_tonearest): Likewise.
7901         (rint_test_towardzero): Likewise.
7902         (rint_test_downward): Likewise.
7903         (rint_test_upward): Likewise.
7904         (round_test): Likewise.
7905         (scalb_test): Likewise.
7906         (scalbn_test): Likewise.
7907         (scalbln_test): Likewise.
7908         (signbit_test): Likewise.
7909         (sin_test): Likewise.
7910         (sin_test_tonearest): Likewise.
7911         (sin_test_towardzero): Likewise.
7912         (sin_test_downward): Likewise.
7913         (sin_test_upward): Likewise.
7914         (sincos_test): Likewise.
7915         (sinh_test): Likewise.
7916         (sinh_test_tonearest): Likewise.
7917         (sinh_test_towardzero): Likewise.
7918         (sinh_test_downward): Likewise.
7919         (sinh_test_upward): Likewise.
7920         (sqrt_test): Likewise.
7921         (sqrt_test_tonearest): Likewise.
7922         (sqrt_test_towardzero): Likewise.
7923         (sqrt_test_downward): Likewise.
7924         (sqrt_test_upward): Likewise.
7925         (tan_test): Likewise.
7926         (tan_test_tonearest): Likewise.
7927         (tan_test_towardzero): Likewise.
7928         (tan_test_downward): Likewise.
7929         (tan_test_upward): Likewise.
7930         (tanh_test): Likewise.
7931         (tgamma_test): Likewise.
7932         (trunc_test): Likewise.
7933         (y0_test): Likewise.
7934         (y1_test): Likewise.
7935         (yn_test): Likewise.
7936         (significand_test): Likewise.
7937
7938         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7939         individual tests in comment.
7940         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7941         (prev_max_error): New variable.
7942         (prev_real_max_error): Likewise.
7943         (prev_imag_max_error): Likewise.
7944         (compare_ulp_data): Don't refer to test names in comment.
7945         (find_test_ulps): Remove function.
7946         (find_function_ulps): Likewise.
7947         (find_complex_function_ulps): Likewise.
7948         (init_max_error): Take function name as argument.  Look up ulps
7949         for that function.
7950         (print_ulps): Remove function.
7951         (print_max_error): Use prev_max_error instead of calling
7952         find_function_ulps.
7953         (print_complex_max_error): Use prev_real_max_error and
7954         prev_imag_max_error instead of calling find_complex_function_ulps.
7955         (check_float_internal): Take max_ulp parameter instead of calling
7956         find_test_ulps.  Don't call print_ulps.
7957         (check_float): Update call to check_float_internal.
7958         (check_complex): Update calls to check_float_internal.
7959         (START): Pass argument to init_max_error.
7960         * math/gen-libm-test.pl (%results): Don't include "kind"
7961         information.
7962         (parse_ulps): Don't handle ulps of individual tests.
7963         (print_ulps_file): Likewise.
7964         (output_ulps): Likewise.
7965         * math/README.libm-test: Update.
7966         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7967         individual tests.
7968         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7969         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7970         * sysdeps/arm/libm-test-ulps: Likewise.
7971         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7972         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7973         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7974         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7975         * sysdeps/microblaze/libm-test-ulps: Likewise.
7976         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7977         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7978         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7979         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7980         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7981         * sysdeps/sh/libm-test-ulps: Likewise.
7982         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7983         * sysdeps/tile/libm-test-ulps: Likewise.
7984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7985
7986 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7987
7988         * math/libm-test.inc (print_complex_max_error): Check separately
7989         whether real and imaginary errors are within allowed range and
7990         pass 0 to print_complex_function_ulps instead of value within
7991         allowed range.
7992
7993 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7994
7995         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7996         formatting.
7997         (get_handles_fopen): Likewise.
7998         (do_write_test): Likewise.
7999
8000         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8001
8002         * libio/fileops.c (do_ftell): Use cached offset when
8003         available.
8004         * libio/iofwide.c (do_ftell_wide): Likewise.
8005         * libio/iofdopen.c (_IO_new_fdopen): Don't use
8006         _IO_file_attach.
8007         * libio/wfileops.c (_IO_fwide): Don't cache offset.
8008
8009         [BZ #16532]
8010         * libio/libioP.h (get_file_offset): New function.
8011         * libio/fileops.c (get_file_offset): Likewise.
8012         (do_ftell): Likewise.
8013         (_IO_new_file_seekoff): Split out ftell logic.
8014         * libio/wfileops.c (do_ftell_wide): Likewise.
8015         (_IO_wfile_seekoff): Split out ftell logic.
8016         * libio/tst-ftell-active-handler.c: New test case.
8017         * libio/Makefile (tests): Add it.
8018
8019 2014-03-03  Roland McGrath  <roland@hack.frob.com>
8020
8021         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8022         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8023
8024 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8025
8026         [BZ #16639]
8027         * nscd/connections.c (nscd_init): Call do_exit.
8028         (start_threads): Call do_exit and notify_parent.
8029         (begin_drop_privileges): Call do_exit.
8030         (finish_drop_privileges): Likewise.
8031         * nscd/selinux.c (preserve_capabilities): Likewise.
8032         (install_real_capabilities): Likewise.
8033         (nscd_selinux_enabled): Likewise.
8034         (avc_create_thread): Likewise.
8035         (avc_alloc_lock): Likewise.
8036         (nscd_avc_init): Likewise.
8037         * nscd/nscd.c (parent_fd): New static variable.
8038         (main): Create a pipe between parent and child processes.
8039         Skip closing parent_fd.
8040         (monitor_child): New function.
8041         (do_exit): Likewise.
8042         (notify_parent): Likewise.
8043         * nscd/nscd.h (notify_parent): Likewise.
8044         (do_exit): Likewise.
8045
8046 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
8047
8048         * malloc/malloc.c (__libc_calloc): Revert last change.
8049
8050 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8051
8052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8053
8054 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8055
8056         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8058         implementation.
8059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8060         (__libc_ifunc_impl_list): Likewise.
8061         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8062         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8063         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8064         * string/strrchr.c: Define STRRCHR.
8065
8066 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
8067
8068         * benchtest/bench-strtok.c (simple_strtok): Delete.
8069         (strtok_string): Use as benchmark.
8070         * string/strtok (STRTOK): New macro.
8071
8072 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
8073
8074         * manual/threads.texi: Add header and standard comments to all
8075         functions.
8076
8077         * elf/dl-lookup.c (check_match): New function.
8078         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8079         (do_lookup_x): Remove nested function check_match. Use non-nested
8080         function check_match.
8081
8082 2014-02-28  Roland McGrath  <roland@hack.frob.com>
8083
8084         * csu/Makefile (generated, before-compile): Use += rather than =.
8085         * catgets/Makefile (generated, generated-dirs): Likewise.
8086         * debug/Makefile (generated): Likewise.
8087         * dlfcn/Makefile (generated): Likewise.
8088         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8089         * iconvdata/Makefile (before-compile, generated): Likewise.
8090         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8091         * libio/Makefile (generated): Likewise.
8092         * malloc/Makefile (generated): Likewise.
8093         * manual/Makefile (generated, generated-dirs): Likewise.
8094         * misc/Makefile (generated): Likewise.
8095         * posix/Makefile (generated): Likewise.
8096         * resolv/Makefile (generated): Likewise.
8097         * sunrpc/Makefile (generated, generated-dirs): Likewise.
8098         * timezone/Makefile (generated, generated-dirs): Likewise.
8099
8100         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8101
8102 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8103
8104         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8105         power8 implementation.
8106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8107         file: POWER8 llround ifunc implementation.
8108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8109         (__lllround): Add POWER8 implementation.
8110         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8111         POWER8 llround implementation.
8112
8113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8114         power8 implementation.
8115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8116         file: POWER8 llrint ifunc implementation.
8117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8118         Add POWER8 implementation.
8119         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8120         POWER8 llrint implementation.
8121
8122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8123         power8 implementation.
8124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8125         file: POWER8 finite ifunc implementation.
8126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8127         Add POWER8 implementation.
8128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8129         Likewise.
8130         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8131         POWER8 finite implementation.
8132         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8133
8134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8135         power8 implementation.
8136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8137         file: POWER8 isinf ifunc implementation.
8138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8139         POWER8 implementation.
8140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8141         Likewise.
8142         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8143         isinf implementation.
8144         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8145
8146         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8147         (INIT_ARCH): Add hwcap2 initialization.
8148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8149         power8 implementation.
8150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8151         file: POWER8 isnan ifunc implementation.
8152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8153         POWER8 implementation.
8154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8155         Likewise.
8156         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8157         isnan implementation.
8158         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8159
8160 2014-02-27  Joey Ye  <joey.ye@arm.com>
8161
8162         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8163         (_FP_NANFRAC_Q): Set to zero.
8164
8165 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8166
8167         [BZ #16623]
8168         * math/auto-libm-test-in: New test inputs.
8169         * math/auto-libm-test-out: Regenerate.
8170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8171         and DA.
8172         (__cos): Likewise.
8173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8174
8175 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
8176
8177         * scripts/evaluate-test.sh: Take new argument indicating whether
8178         failure is expected.
8179         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8180         indicating whether failure is expected.
8181         * conform/Makefile (test-xfail-run-conformtest): New variable.
8182         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8183         level.
8184         * posix/Makefile (test-xfail-annexc): New variable.
8185         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8186
8187 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
8188
8189         * argp/Makefile: Include Makeconfig immediately after defining
8190         subdir.
8191         * assert/Makefile: Likewise.
8192         * benchtests/Makefile: Likewise.
8193         * catgets/Makefile: Likewise.
8194         * conform/Makefile: Likewise.
8195         * crypt/Makefile: Likewise.
8196         * csu/Makefile: Likewise.
8197         (all): Remove target.
8198         * ctype/Makefile: Include Makeconfig immediately after defining
8199         subdir.
8200         * debug/Makefile: Likewise.
8201         * dirent/Makefile: Likewise.
8202         * dlfcn/Makefile: Likewise.
8203         * gmon/Makefile: Likewise.
8204         * gnulib/Makefile: Likewise.
8205         * grp/Makefile: Likewise.
8206         * gshadow/Makefile: Likewise.
8207         * hesiod/Makefile: Likewise.
8208         * hurd/Makefile: Likewise.
8209         (all): Remove target.
8210         * iconvdata/Makefile: Include Makeconfig immediately after
8211         defining subdir.
8212         * inet/Makefile: Likewise.
8213         * intl/Makefile: Likewise.
8214         * io/Makefile: Likewise.
8215         * libio/Makefile: Likewise.
8216         (all): Remove target.
8217         * locale/Makefile: Include Makeconfig immediately after defining
8218         subdir.
8219         * login/Makefile: Likewise.
8220         * mach/Makefile: Likewise.
8221         (all): Remove target.
8222         * malloc/Makefile: Include Makeconfig immediately after defining
8223         subdir.
8224         (all): Remove target.
8225         * manual/Makefile: Include Makeconfig immediately after defining
8226         subdir.
8227         * math/Makefile: Likewise.
8228         * misc/Makefile: Likewise.
8229         * nis/Makefile: Likewise.
8230         * nss/Makefile: Likewise.
8231         * po/Makefile: Likewise.
8232         (all): Remove target.
8233         * posix/Makefile: Include Makeconfig immediately after defining
8234         subdir.
8235         * pwd/Makefile: Likewise.
8236         * resolv/Makefile: Likewise.
8237         * resource/Makefile: Likewise.
8238         * rt/Makefile: Likewise.
8239         * setjmp/Makefile: Likewise.
8240         * shadow/Makefile: Likewise.
8241         * signal/Makefile: Likewise.
8242         * socket/Makefile: Likewise.
8243         * soft-fp/Makefile: Likewise.
8244         * stdio-common/Makefile: Likewise.
8245         * stdlib/Makefile: Likewise.
8246         * streams/Makefile: Likewise.
8247         * string/Makefile: Likewise.
8248         * sunrpc/Makefile: Likewise.
8249         (all): Remove target.
8250         * sysvipc/Makefile: Include Makeconfig immediately after defining
8251         subdir.
8252         * termios/Makefile: Likewise.
8253         * time/Makefile: Likewise.
8254         * timezone/Makefile: Likewise.
8255         (all): Remove target.
8256         * wcsmbs/Makefile: Include Makeconfig immediately after defining
8257         subdir.
8258         * wctype/Makefile: Likewise.
8259
8260 2014-02-26  Steve Ellcey  <sellcey@mips.com>
8261
8262         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8263         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8264         (libc_feholdexcept_setround_mips): Ditto.
8265         (libc_feholdsetround): New.
8266         (libc_feholdsetroundf): New.
8267         (libc_feholdsetroundl): New.
8268         (libc_feupdateenv_test_mips): New.
8269         (libc_feupdateenv_test): New.
8270         (libc_feupdateenv_testf): New.
8271         (libc_feupdateenv_testl): New.
8272         (libc_feresetround): New.
8273         (libc_feresetroundf): New.
8274         (libc_feresetroundl): New.
8275         (libc_fetestexcept_mips): New.
8276         (libc_fetestexcept): New.
8277         (libc_fetestexceptf): New.
8278         (libc_fetestexceptl): New.
8279         (HAVE_RM_CTX): New.
8280         (libc_feholdexcept_setround_mips_ctx): New.
8281         (libc_feholdexcept_setround_ctx): New.
8282         (libc_feholdexcept_setroundf_ctx): New.
8283         (libc_feholdexcept_setroundl_ctx): New.
8284         (libc_fesetenv_mips_ctx): New.
8285         (libc_fesetenv_ctx): New.
8286         (libc_fesetenv_ctxf): New.
8287         (libc_fesetenv_ctxl): New.
8288         (libc_feupdateenv_mips_ctx): New.
8289         (libc_feupdateenv_ctx): New.
8290         (libc_feupdateenvf_ctx): New.
8291         (libc_feupdateenvl_ctx): New.
8292         (libc_feholdsetround_mips_ctx): New.
8293         (libc_feholdsetround_ctx): New.
8294         (libc_feholdsetroundf_ctx): New.
8295         (libc_feholdsetroundl_ctx): New.
8296         (libc_feresetround_mips_ctx): New.
8297         (libc_feresetround_ctx): New.
8298         (libc_feresetroundf_ctx): New.
8299         (libc_feresetroundl_ctx): New.
8300
8301 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
8302
8303         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8304
8305         * manual/ipc.texi: New file.
8306         * manual/Makefile (chapters): Add ipc.
8307         * manual/job.texi: Add "Inter-Process Communication" to next.
8308         * manual/process.texi: Add "Inter-Process Communication" to prev.
8309
8310 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8311
8312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8313
8314 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
8315
8316         * malloc/malloc.c (__libc_calloc): Simplify implementation.
8317
8318         * manual/arith.texi: Fix spaces after sentences.
8319         * manual/charset.texi: Likewise.
8320         * manual/errno.texi: Likewise.
8321         * manual/install.texi: Likewise.
8322         * manual/llio.texi: Likewise.
8323         * manual/locale.texi: Likewise.
8324         * manual/maint.texi: Likewise.
8325         * manual/math.texi: Likewise.
8326         * manual/memory.texi: Likewise.
8327         * manual/message.texi: Likewise.
8328         * manual/probes.texi: Likewise.
8329         * manual/resource.texi: Likewise.
8330         * manual/signal.texi: Likewise.
8331         * manual/socket.texi: Likewise.
8332         * manual/stdio.texi: Likewise.
8333         * manual/string.texi: Likewise.
8334         * manual/time.texi: Likewise.
8335         * manual/users.texi: Likewise.
8336
8337 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8338
8339         [BZ #16632]
8340         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8341         _DEFAULT_SOURCE is defined.
8342
8343 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8344             Carlos O'Donell  <carlos@redhat.com>
8345
8346         [BZ #16613]
8347         * elf/dl-tls.c (_dl_count_modids): New function.
8348         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8349         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8350         audit library and increment generation counter.
8351         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8352         * elf/tst-audit9.c: New file.
8353         * elf/tst-auditmod9a.c: New file.
8354         * elf/tst-auditmod9b.c: New file.
8355         * elf/Makefile: Add rules to build and run tst-audit9.
8356
8357 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8358
8359         [BZ #15347]
8360         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8361
8362 2014-02-25  Will Newton  <will.newton@linaro.org>
8363
8364         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8365         (__longjmp): Restore sp and lr before restoring callee
8366         saved registers.  Add longjmp and longjmp_target
8367         SystemTap probe point.
8368         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8369         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8370         Define to zero to match jmpbuf layout.
8371         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8372         (__sigsetjmp): Save sp and lr before saving callee
8373         saved registers.  Add setjmp SystemTap probe point.
8374
8375 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8376
8377         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8378
8379 2014-02-24  Andreas Schwab  <schwab@suse.de>
8380
8381         [BZ #15804]
8382         * elf/pldd.c (wait_for_ptrace_stop): New function.
8383         (main): Call it after attaching.
8384
8385 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8386
8387         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8388         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8389         Versions files is now verboten.
8390         * hurd/Versions (libc: GLIBC_2.0):
8391         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8392         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8393         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8394         * mach/Versions: Likewise.
8395
8396         * csu/Versions: Remove unused %include.
8397         * resolv/Versions: Likewise.
8398
8399 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8400
8401         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8402         ($(objpfx)check-local-headers.out): Likewise.
8403         ($(objpfx)begin-end-check.out): Likewise.
8404         * Makerules (check-abi-%.out): Likewise.
8405         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8406         ($(objpfx)test2.cat): Likewise.
8407         ($(objpfx)de/libc.cat): Likewise.
8408         ($(objpfx)test-gencat.out): Likewise.
8409         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8410         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8411         ($(objpfx)noload-mem): Likewise.
8412         ($(objpfx)tst-pathopt.out): Likewise.
8413         ($(objpfx)tst-rtld-load-self.out): Likewise.
8414         ($(objpfx)tst-array1-cmp.out): Likewise.
8415         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8416         ($(objpfx)tst-array2-cmp.out): Likewise.
8417         ($(objpfx)tst-array3-cmp.out): Likewise.
8418         ($(objpfx)tst-array4-cmp.out): Likewise.
8419         ($(objpfx)tst-array5-cmp.out): Likewise.
8420         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8421         ($(objpfx)check-textrel.out): Likewise.
8422         ($(objpfx)check-execstack.out): Likewise.
8423         ($(objpfx)check-localplt.out): Likewise.
8424         ($(objpfx)order2-cmp.out): Likewise.
8425         ($(objpfx)tst-leaks1-mem): Likewise.
8426         ($(objpfx)tst-leaks1-static-mem): Likewise.
8427         ($(objpfx)tst-initorder-cmp.out): Likewise.
8428         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8429         ($(objpfx)tst-unused-dep.out): Likewise.
8430         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8431         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8432         * iconv/Makefile (test-iconvconfig): Likewise.
8433         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8434         ($(objpfx)iconv-test.out): Likewise.
8435         ($(objpfx)tst-tables.out): Likewise.
8436         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8437         ($(objpfx)tst-gettext.out): Likewise.
8438         ($(objpfx)tst-translit.out): Likewise.
8439         ($(objpfx)tst-gettext2.out): Likewise.
8440         ($(objpfx)tst-gettext4.out): Likewise.
8441         ($(objpfx)tst-gettext6.out): Likewise.
8442         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8443         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8444         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8445         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8446         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8447         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8448         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8449         ($(objpfx)wordexp-tst.out): Likewise.
8450         ($(objpfx)annexc.out): Likewise.
8451         ($(objpfx)tst-fnmatch-mem): Likewise.
8452         ($(objpfx)bug-regex2-mem): Likewise.
8453         ($(objpfx)bug-regex14-mem): Likewise.
8454         ($(objpfx)bug-regex21-mem): Likewise.
8455         ($(objpfx)bug-regex31-mem): Likewise.
8456         ($(objpfx)tst-vfork3-mem): Likewise.
8457         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8458         ($(objpfx)tst-pcre-mem): Likewise.
8459         ($(objpfx)tst-boost-mem): Likewise.
8460         ($(objpfx)tst-getconf.out): Likewise.
8461         ($(objpfx)bug-ga2-mem): Likewise.
8462         ($(objpfx)bug-glob2-mem): Likewise.
8463         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8464         ($(objpfx)mtrace-tst-leaks2): Likewise.
8465         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8466         ($(objpfx)tst-printf.out): Likewise.
8467         ($(objpfx)tst-setvbuf1.out): Likewise.
8468         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8469         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8470         ($(objpfx)tst-fmtmsg.out): Likewise.
8471         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8472         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8473
8474         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8475         * bits/sigaction.h [__USE_MISC]: Likewise.
8476         * bits/waitstatus.h: Update #endif comments.
8477         * ctype/ctype.h: Likewise.
8478         * dirent/dirent.h: Likewise.
8479         [__USE_MISC]: Remove redundant conditionals.
8480         * grp/grp.h: Update #endif comments.
8481         [__USE_GNU]: Remove redundant conditionals.
8482         [__USE_MISC]: Likewise.
8483         * inet/netinet/in.h [__USE_GNU]: Likewise.
8484         * io/sys/stat.h [__USE_MISC]: Likewise.
8485         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8486         * libio/bits/stdio.h: Update #endif comments.
8487         [__USE_MISC]: Remove redundant conditionals.
8488         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8489         * libio/stdio.h: Update #endif comments.
8490         [__USE_MISC]: Remove redundant conditionals.
8491         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8492         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8493         * math/math.h: Update #else and #endif comments.
8494         [__USE_MISC]: Remove redundant conditionals.
8495         * misc/sys/uio.h: Update #endif comments.
8496         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8497         * posix/glob.h [__USE_MISC]: Likewise.
8498         * posix/sys/types.h: Update #endif comments.
8499         [__USE_MISC]: Remove redundant conditionals.
8500         * posix/sys/wait.h: Update #endif comments.
8501         [__USE_MISC]: Remove redundant conditionals.
8502         * posix/unistd.h: Update #endif comments.
8503         [__USE_MISC]: Remove redundant conditionals.
8504         * pwd/pwd.h [__USE_GNU]: Likewise.
8505         [__USE_MISC]: Likewise.
8506         * resolv/netdb.h [__USE_GNU]: Likewise.
8507         * signal/signal.h: Update #endif comments.
8508         [__USE_MISC]: Remove redundant conditionals.
8509         * stdlib/stdlib.h: Update #else and #endif comments.
8510         [__USE_MISC]: Remove redundant conditionals.
8511         [__USE_GNU]: Likewise.
8512         * string/bits/string2.h [__USE_MISC]: Likewise.
8513         * string/string.h: Update #endif comments.
8514         [__USE_MISC]: Remove redundant conditionals.
8515         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8516         Likewise.
8517         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8518         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8519         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8520         Likewise.
8521         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8522         Likewise.
8523         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8524         comments.
8525         [__USE_MISC]: Remove redundant conditionals.
8526         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8527         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8528         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8529         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8530         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8531         Likewise.
8532         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8533         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8534         Likewise.
8535         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8536         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8537         Likewise.
8538         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8539         Likewise.
8540         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8541         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8542         Likewise.
8543         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8544         Likewise.
8545         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8546         * sysdeps/x86/bits/string.h: Update #endif comments.
8547         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8548         conditionals.
8549         * time/sys/time.h: Update #endif comments.
8550         * time/time.h: Likewise.
8551         [__USE_MISC]: Remove redundant conditionals.
8552
8553 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8554
8555         [BZ #16600]
8556         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8557
8558 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8559
8560         * Versions.def (librt): Add GLIBC_2.17.
8561
8562 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8563
8564         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8565         synonym for _SYS_AUXV_H to allow direct inclusion.
8566         * sysdeps/sparc/bits/hwcap.h: Likewise.
8567         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8568         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8569         * sysdeps/sparc/sysdep.h: Likewise.
8570
8571 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8572
8573         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8574
8575 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8576
8577         * benchtests/bench-strrchr.c: Print length instead of position.
8578
8579 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8580
8581         [BZ #16611]
8582         * sysdeps/unix/sysv/linux/kernel-features.h
8583         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8584         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8585         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8586         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8587         Likewise.
8588         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8589         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8590         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8591         (__ASSUME_SENDMMSG): Define instead of using previous
8592         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8593         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8594         (__ASSUME_SENDMMSG_SYSCALL): Define.
8595         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8596         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8597         Likewise.
8598         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8599         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8600         Likewise.
8601         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8602         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8603         Likewise.
8604         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8605         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8606         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8607         [__ASSUME_SENDMMSG]: Change conditionals to
8608         [__ASSUME_SENDMMSG_SOCKETCALL].
8609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8610         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8611         Define.
8612         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8613         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8614         Likewise.
8615         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8616         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8617         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8618         [!__ASSUME_SENDMMSG]: Change conditional to
8619         [!__ASSUME_SENDMMSG_SOCKETCALL].
8620         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8621         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8622         Define.
8623
8624         [BZ #16610]
8625         * sysdeps/unix/sysv/linux/kernel-features.h
8626         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8627         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8628         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8629         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8630         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8631         [__i386__ || __sparc__]
8632         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8633         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8634         (__ASSUME_RECVMMSG): Define instead of using previous
8635         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8636         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8637         (__ASSUME_RECVMMSG_SYSCALL): Define.
8638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8639         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8640         Likewise.
8641         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8642         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8643         Likewise.
8644         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8645         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8646         Likewise.
8647         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8648         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8649         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8650         [__ASSUME_RECVMMSG]: Change condition to
8651         [__ASSUME_RECVMMSG_SOCKETCALL].
8652         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8654         Define.
8655         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8656         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8658         Likewise.
8659         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8660         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8661         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8662         [!__ASSUME_RECVMMSG]: Change condition to
8663         [!__ASSUME_RECVMMSG_SOCKETCALL].
8664         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8665         (__ASSUME_RECVMMSG_SYSCALL): Define.
8666
8667         [BZ #16609]
8668         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8669         __powerpc__ || __s390__ || __sh__ || __sparc__]
8670         (__ASSUME_SOCKETCALL): Define.
8671         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8672         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8673         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8674         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8675         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8676         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8677         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8678         (__ASSUME_ACCEPT4): Define instead of using previous
8679         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8680         __powerpc__ || __sparc__ || __s390__)] condition.
8681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8682         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8683         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8684         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8685         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8686         [!__ASSUME_ACCEPT4]: Change condition to
8687         [!__ASSUME_ACCEPT4_SOCKETCALL].
8688         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8689         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8690         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8692         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8693         __ASSUME_ACCEPT4_SYSCALL.
8694         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8695         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8696         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8697         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8698         __ASSUME_ACCEPT4_SYSCALL.
8699         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8700         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8701         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8702         [__ASSUME_ACCEPT4]: Change condition to
8703         [__ASSUME_ACCEPT4_SOCKETCALL].
8704         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8705         (__ASSUME_SOCKETCALL): Define.
8706         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8708         (__ASSUME_SOCKETCALL): Define.
8709         (__ASSUME_ACCEPT4): Remove.
8710         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8711         Define.
8712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8713         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8714         Likewise.
8715         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8716         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8717
8718         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8719         macro.
8720         (HWCAP_ARM_LPAE): Likewise.
8721         (HWCAP_ARM_EVTSTRM): Likewise.
8722         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8723         Add vpfd32, lpae and evtstrm.
8724         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8725         Increase to 22.
8726
8727 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8728
8729         * math/auto-libm-test-in: Add tests of clog10.
8730         * math/auto-libm-test-out: Regenerated.
8731         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8732         * sysdeps/i386/fpu/libm-test-ulps: Update.
8733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8734
8735 2014-02-18  Andreas Schwab  <schwab@suse.de>
8736
8737         [BZ #16574]
8738         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8739         Store non-zero if the second buffer was newly allocated.
8740         (send_dg): Likewise.
8741         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8742         to send_vc and send_dg.
8743         (res_nsend): Pass NULL for ansp2_malloced.
8744         * resolv/res_query.c (__libc_res_nquery): Add parameter
8745         answerp2_malloced and pass it down to __libc_res_nsend.
8746         (res_nquery): Pass additional NULL to __libc_res_nquery.
8747         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8748         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8749         second answer buffer if answerp2_malloced was set.
8750         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8751         (__libc_res_nquerydomain): Add parameter
8752         answerp2_malloced and pass it down to __libc_res_nquery.
8753         (res_nquerydomain): Pass additional NULL to
8754         __libc_res_nquerydomain.
8755         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8756         additional NULL to __libc_res_nsend and __libc_res_nquery.
8757         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8758         additional NULL to __libc_res_nsearch.
8759         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8760         parameter of __libc_res_nsearch to check for separately allocated
8761         second buffer.
8762         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8763         __libc_res_nquery.
8764         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8765         additional NULL to __libc_res_nquery.
8766         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8767         __libc_res_nsearch.
8768         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8769         * include/resolv.h: Update prototypes of __libc_res_nquery,
8770         __libc_res_nsearch, __libc_res_nsend.
8771
8772 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8773
8774         * math/auto-libm-test-in: Add tests of fma.
8775         * math/auto-libm-test-out: Regenerated.
8776         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8777         (fma_towardzero_test_data): Likewise.
8778         (fma_downward_test_data): Likewise.
8779         (fma_upward_test_data): Likewise.
8780         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8781         mpc_mode.
8782         (rounding_modes): Add values for new field.
8783         (func_calc_method): Add value mpfr_fff_f.
8784         (func_calc_desc): Add mpfr_fff_f union field.
8785         (test_function): Add field exact_args.
8786         (FUNC): Add macro argument EXACT_ARGS.
8787         (FUNC_mpfr_f_f): Update call to FUNC.
8788         (FUNC_mpfr_f_f): Likewise.
8789         (FUNC_mpfr_ff_f): Likewise.
8790         (FUNC_mpfr_if_f): Likewise.
8791         (FUNC_mpc_c_f): Likewise.
8792         (FUNC_mpc_c_c): Likewise.
8793         (test_functions): Add fma.  Update calls to FUNC.
8794         (handle_input_arg): Add argument exact_args.
8795         (add_test): Update call to handle_input_arg.
8796         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8797         (output_for_one_input_case): Update call to calc_generic_results.
8798         Recalculate exact zero results in each rounding mode.
8799
8800         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8801         non-negative before setting low bit.
8802         * math/auto-libm-test-in: Mark one asin test possibly having
8803         spurious underflow.
8804         * math/auto-libm-test-out: Regenerated.
8805         * sysdeps/i386/fpu/libm-test-ulps: Update.
8806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8807
8808 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8809
8810         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8811         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8812         ports/sysdeps/unix/sysv/linux/microblaze.
8813         * README: Add missing listing for microblaze*-*-linux-gnu.
8814
8815 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8816
8817         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8818         * sysdeps/unix/sysv/linux/ia64: Move directory from
8819         ports/sysdeps/unix/sysv/linux/ia64.
8820         * README: Update listing for ia64-*-linux-gnu.
8821
8822 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8823             Joseph Myers  <joseph@codesourcery.com>
8824
8825         * Makeconfig (test-name): New variable.
8826         (evaluate-test): Likewise.
8827         * Makerules (do-test-clean): Remove .test-result files.
8828         (common-mostlyclean): Likewise.
8829         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8830         * scripts/evaluate-test.sh: New file.
8831
8832 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8833
8834         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8835         separate $(objpfx)tst-fopenloc-cmp.out and
8836         $(objpfx)tst-fopenloc-mem.out targets.
8837         (tests): Update dependencies.
8838         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8839         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8840         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8841         (tst-rxspencer-no-utf8-ARGS): New variable.
8842         (tst-rxspencer-no-utf8-ENV): Likewise.
8843         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8844         instead of $(objpfx)tst-rxspencer-mem.
8845         ($(objpfx)tst-rxspencer-mem): Change target to
8846         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8847         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8848         * posix/tst-rxspencer-no-utf8.c: New file.
8849
8850         * elf/Makefile ($(objpfx)order.out): Remove rule.
8851         [$(run-built-tests) = yes] (tests): Depend on
8852         $(objpfx)order-cmp.out.
8853         ($(objpfx)order-cmp.out): New rule.
8854         [$(run-built-tests) = yes] (tests): Depend on
8855         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8856         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8857         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8858         $(objpfx)tst-array5-static-cmp.out.
8859         ($(objpfx)tst-array1.out): Remove rule.
8860         ($(objpfx)tst-array1-cmp.out): New rule.
8861         ($(objpfx)tst-array1-static.out): Remove rule.
8862         ($(objpfx)tst-array1-static-cmp.out): New rule.
8863         ($(objpfx)tst-array2.out): Remove rule.
8864         ($(objpfx)tst-array2-cmp.out): New rule.
8865         ($(objpfx)tst-array3.out): Remove rule.
8866         ($(objpfx)tst-array3-cmp.out): New rule.
8867         ($(objpfx)tst-array4.out): Remove rule.
8868         ($(objpfx)tst-array4-cmp.out): New rule.
8869         ($(objpfx)tst-array5.out): Remove rule.
8870         ($(objpfx)tst-array5-cmp.out): New rule.
8871         ($(objpfx)tst-array5-static.out): Remove rule.
8872         ($(objpfx)tst-array5-static-cmp.out): New rule.
8873         [$(run-built-tests) = yes] (tests): Depend on
8874         $(objpfx)order2-cmp.out.
8875         ($(objpfx)order2.out): Remove rule.
8876         ($(objpfx)order2-cmp.out): New rule.
8877         ($(objpfx)tst-initorder.out): Remove rule.
8878         [$(run-built-tests) = yes] (tests): Depend on
8879         $(objpfx)tst-initorder-cmp.out.
8880         ($(objpfx)tst-initorder-cmp.out): New rule.
8881         ($(objpfx)tst-initorder2.out): Remove rule.
8882         [$(run-built-tests) = yes] (tests): Depend on
8883         $(objpfx)tst-initorder2-cmp.out.
8884         ($(objpfx)tst-initorder2-cmp.out): New rule.
8885         [$(run-built-tests) = yes] (tests): Depend on
8886         $(objpfx)tst-unused-dep-cmp.out.
8887         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8888         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8889         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8890         on $(objpfx)tst-setvbuf1-cmp.out.
8891         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8892         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8893         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8894         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8895         ($(objpfx)tst-svc.out): Remove rule.
8896         ($(objpfx)tst-svc-cmp.out): New rule.
8897
8898 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8899
8900         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8901         * ctype/ctype.h [__USE_MISC]: Likewise.
8902         * dirent/dirent.h [__USE_MISC]: Likewise.
8903         * grp/grp.h [__USE_MISC]: Likewise.
8904         * io/fcntl.h [__USE_MISC]: Likewise.
8905         * io/sys/stat.h [__USE_MISC]: Likewise.
8906         * libio/stdio.h [__USE_MISC]: Likewise.
8907         * posix/unistd.h [__USE_MISC]: Likewise.
8908         * pwd/pwd.h [__USE_MISC]: Likewise.
8909         * stdlib.h [__USE_MISC]: Likewise.
8910         * string/bits/string2.h [__USE_MISC]: Likewise.
8911         * string/string.h [__USE_MISC]: Likewise.
8912         * time/time.h [__USE_MISC]: Likewise.
8913
8914 2014-02-13  Andreas Schwab  <schwab@suse.de>
8915
8916         [BZ #16574]
8917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8918         second answer buffer if it was separately allocated.
8919
8920 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8921
8922         * sysdeps/mips/math-tests.h: Include <features.h>.
8923         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8924         (ROUNDING_TESTS_long_double): Do not define.
8925         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8926         (EXCEPTION_TESTS_long_double): Likewise.
8927         * sysdeps/mips/mips64/libm-test-ulps: Update.
8928
8929         * include/features.h (__USE_BSD): Remove macro definitions.
8930         (__USE_SVID): Likewise.
8931         (_BSD_SOURCE): Likewise.
8932         (_SVID_SOURCE): Likewise.
8933         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8934         from definition of _DEFAULT_SOURCE.
8935         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8936         [_DEFAULT_SOURCE].
8937         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8938         * bits/mman.h [__USE_BSD]: Likewise.
8939         * bits/termios.h [__USE_BSD]: Likewise.
8940         * bits/waitstatus.h [__USE_BSD]: Likewise.
8941         * ctype/ctype.h [__USE_SVID]: Likewise.
8942         * dirent/dirent.h [__USE_BSD]: Likewise.
8943         * grp/grp.h [__USE_SVID]: Likewise.
8944         [__USE_BSD]: Likewise.
8945         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8946         * io/fcntl.h [__USE_BSD]: Likewise.
8947         * io/ftw.h [__USE_BSD]: Likewise.
8948         * io/sys/stat.h [__USE_BSD]: Likewise.
8949         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8950         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8951         * libio/stdio.h [__USE_SVID]: Likewise.
8952         [__USE_BSD]: Likewise.
8953         * math/math.h [__USE_SVID]: Likewise.
8954         [__USE_BSD]: Likewise.
8955         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8956         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8957         * misc/search.h [__USE_SVID]: Likewise.
8958         * misc/sys/mman.h [__USE_BSD]: Likewise.
8959         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8960         * misc/sys/uio.h [__USE_BSD]: Likewise.
8961         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8962         * posix/glob.h [__USE_BSD]: Likewise.
8963         * posix/regex.h [__USE_BSD]: Likewise.
8964         * posix/sys/types.h [__USE_BSD]: Likewise.
8965         [__USE_SVID]: Likewise.
8966         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8967         * posix/sys/wait.h [__USE_BSD]: Likewise.
8968         [__USE_SVID]: Likewise.
8969         * posix/unistd.h [__USE_BSD]: Likewise.
8970         [__USE_SVID]: Likewise.
8971         * pwd/pwd.h [__USE_SVID]: Likewise.
8972         * resolv/netdb.h [__USE_BSD]: Likewise.
8973         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8974         * signal/signal.h [__USE_BSD]: Likewise.
8975         [__USE_SVID]: Likewise.
8976         * socket/sys/socket.h [__USE_BSD]: Likewise.
8977         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8978         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8979         [__USE_SVID]: Likewise.
8980         * string/bits/string2.h [__USE_BSD]: Likewise.
8981         [__USE_SVID]: Likewise.
8982         * string/bits/string3.h [__USE_BSD]: Likewise.
8983         * string/endian.h [__USE_BSD]: Likewise.
8984         * string/string.h [__USE_SVID]: Likewise.
8985         [__USE_BSD]: Likewise.
8986         * string/strings.h [__USE_BSD]: Likewise.
8987         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8988         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8989         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8990         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8991         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8992         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8995         Likewise.
8996         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8997         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8998         Likewise.
8999         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9000         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9001         Likewise.
9002         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9003         Likewise.
9004         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9005         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9006         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9007         Likewise.
9008         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9009         Likewise.
9010         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9011         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9012         * termios/termios.h [__USE_BSD]: Likewise.
9013         * time/sys/time.h [__USE_BSD]: Likewise.
9014         * time/time.h [__USE_BSD]: Likewise.
9015         [__USE_SVID]: Likewise.
9016
9017         * Makefile (subdir_targets): Remove subdir_lint.out.
9018
9019         * stdio-common/Makefile (do-tst-unbputc): Remove target.
9020         (do-tst-printf): Likewise.
9021         (tests): Depend directly on $(objpfx)tst-unbputc.out and
9022         $(objpfx)tst-printf.out.
9023
9024         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9025
9026         * Makerules (check-abi-%): Change target to
9027         $(objpfx)check-abi-%.out.
9028         (check-abi target): Update dependencies.
9029         (check-abi-pattern variable): Redirect output of diff to $@.
9030         (check-abi variable): Likewise.
9031         * elf/Makefile (check-abi): Update dependencies.
9032
9033         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9034         unused.
9035         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9036         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9037         subnormal range.
9038         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9039         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9040         value has largest subnormal exponent.
9041         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9042         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9043         * sysdeps/aarch64/soft-fp/sfp-machine.h
9044         (_FP_TININESS_AFTER_ROUNDING): New macro.
9045         * sysdeps/alpha/soft-fp/sfp-machine.h
9046         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9047         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9048         Likewise.
9049         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9050         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9051         * sysdeps/mips/soft-fp/sfp-machine.h
9052         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9053         * sysdeps/powerpc/soft-fp/sfp-machine.h
9054         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9055         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9056         Likewise.
9057         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9058         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9059         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9060         (_FP_TININESS_AFTER_ROUNDING): Likewise.
9061         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9062         Likewise.
9063
9064 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
9065
9066         [BZ #16545]
9067         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9068         model 1.
9069
9070 2014-02-12  Richard Henderson  <rth@redhat.com>
9071
9072         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9073         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9074         * sysdeps/unix/sysv/linux/alpha: Move directory from
9075         ports/sysdeps/unix/sysv/linux/alpha.
9076         * README: Update listing for alpha-*-linux-gnu.
9077
9078 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
9079
9080         * include/features.h: Update comment documenting feature test
9081         macros.
9082         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
9083         _DEFAULT_SOURCE.
9084         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9085         (_SVID_SOURCE): Likewise.
9086         (_DEFAULT_SOURCE): Update description of default features.
9087         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9088         with _GNU_SOURCE.
9089         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9090         (S_ISVTX): Likewise.
9091         * manual/math.texi (Mathematical Constants): Likewise.
9092         * manual/signal.texi (Interrupted Primitives): Likewise.
9093         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9094         * math/test-matherr.c (_SVID_SOURCE): Do not define.
9095         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9096         Don't refer to _SVID_SOURCE in warning text.
9097
9098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9099
9100         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9101         already defined.
9102         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9103         * sysdeps/mips/dl-lookup.c: Remove.
9104         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9105
9106 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
9107
9108         [BZ #16447]
9109         * math/auto-libm-test-in: Add testcase for expl.
9110         * math/auto-libm-test-out: Regenerate.
9111         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9112         calculation of unsafe.
9113         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9114
9115 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9116
9117         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9118         * sysdeps/unix/sysv/linux/aarch64: Move directory from
9119         ports/sysdeps/unix/sysv/linux/aarch64.
9120         * README: Update listing for aarch64*-*-linux-gnu.
9121
9122 2014-02-11  Will Newton  <will.newton@linaro.org>
9123
9124         * manual/probes.texi (Mathematical Function Probes): Use
9125         "triggered" instead of "hit".
9126
9127         * manual/probes.texi (Internal Probes): Add documentation
9128         of setjmp, longjmp and longjmp_target probes.
9129
9130         * include/stap-probe.h: Add comment about probe argument
9131         format.
9132
9133         * malloc/mtrace.c (attribute_hidden): Remove unused macro
9134         definition.  (tr_where, tr_freehook, tr_mallochook,
9135         tr_reallochook, tr_memalignhook): Use ANSI protoype.
9136
9137 2014-02-11  David S. Miller  <davem@davemloft.net>
9138
9139         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9140         processing int_tests.
9141
9142 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
9143
9144         * sysdeps/mips: Move directory from ports/sysdeps/mips.
9145         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9146         * sysdeps/unix/sysv/linux/mips: Move directory from
9147         ports/sysdeps/unix/sysv/linux/mips.
9148         * README: Update listing for mips-*-linux-gnu and
9149         mips64-*-linux-gnu.
9150
9151 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
9152
9153         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9154         * sysdeps/unix/sysv/linux/m68k: Move directory from
9155         ports/sysdeps/unix/sysv/linux/m68k.
9156         * README: Update listing for m68k-*-linux-gnu.
9157
9158 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
9159
9160         * sysdeps/tile: Move directory from ports/sysdeps/tile.
9161         * sysdeps/unix/sysv/linux/generic: Move directory from
9162         ports/sysdeps/unix/sysv/linux/generic.
9163         * sysdeps/unix/sysv/linux/tile: Move directory from
9164         ports/sysdeps/unix/sysv/linux/tile.
9165         * README: Update listing for tile*-*-linux-gnu.
9166
9167 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
9168
9169         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9170         __builtin_expect.
9171         * benchtests/bench-memmem.c (simple_memmem): Likewise.
9172         * catgets/open_catalog.c (__open_catalog): Likewise.
9173         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9174         * debug/confstr_chk.c: Likewise.
9175         * debug/fread_chk.c (__fread_chk): Likewise.
9176         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9177         * debug/getgroups_chk.c: Likewise.
9178         * debug/mbsnrtowcs_chk.c: Likewise.
9179         * debug/mbsrtowcs_chk.c: Likewise.
9180         * debug/mbstowcs_chk.c: Likewise.
9181         * debug/memcpy_chk.c: Likewise.
9182         * debug/memmove_chk.c: Likewise.
9183         * debug/mempcpy_chk.c: Likewise.
9184         * debug/memset_chk.c: Likewise.
9185         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9186         * debug/strcat_chk.c (__strcat_chk): Likewise.
9187         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9188         * debug/strncat_chk.c (__strncat_chk): Likewise.
9189         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9190         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9191         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9192         * debug/wcpncpy_chk.c: Likewise.
9193         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9194         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9195         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9196         * debug/wcsncpy_chk.c: Likewise.
9197         * debug/wcsnrtombs_chk.c: Likewise.
9198         * debug/wcsrtombs_chk.c: Likewise.
9199         * debug/wcstombs_chk.c: Likewise.
9200         * debug/wmemcpy_chk.c: Likewise.
9201         * debug/wmemmove_chk.c: Likewise.
9202         * debug/wmempcpy_chk.c: Likewise.
9203         * debug/wmemset_chk.c: Likewise.
9204         * dirent/scandirat.c (SCANDIRAT): Likewise.
9205         * dlfcn/dladdr1.c (dladdr1): Likewise.
9206         * dlfcn/dladdr.c (dladdr): Likewise.
9207         * dlfcn/dlclose.c (dlclose_doit): Likewise.
9208         * dlfcn/dlerror.c (__dlerror): Likewise.
9209         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9210         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9211         * dlfcn/dlopen.c (dlopen_doit): Likewise.
9212         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9213         * dlfcn/dlsym.c (dlsym_doit): Likewise.
9214         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9215         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9216         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9217         Likewise.
9218         * elf/dl-conflict.c: Likewise.
9219         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9220         * elf/dl-dst.h: Likewise.
9221         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9222         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9223         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9224         * elf/dl-init.c (call_init, _dl_init): Likewise.
9225         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9226         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9227         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9228         Likewise.
9229         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9230         Likewise.
9231         * elf/dl-minimal.c (__libc_memalign): Likewise.
9232         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9233         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9234         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9235         * elf/dl-sym.c (do_sym): Likewise.
9236         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9237         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9238         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9239         * elf/dl-writev.h (_dl_writev): Likewise.
9240         * elf/ldconfig.c (search_dir): Likewise.
9241         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9242         (dl_main): Likewise.
9243         * elf/setup-vdso.h (setup_vdso): Likewise.
9244         * grp/compat-initgroups.c (compat_call): Likewise.
9245         * grp/fgetgrent.c (fgetgrent): Likewise.
9246         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9247         * grp/putgrent.c (putgrent): Likewise.
9248         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9249         Likewise.
9250         * hurd/hurdinit.c: Likewise.
9251         * iconvdata/8bit-gap.c (struct): Likewise.
9252         * iconvdata/ansi_x3.110.c : Likewise.
9253         * iconvdata/big5.c : Likewise.
9254         * iconvdata/big5hkscs.c : Likewise.
9255         * iconvdata/cp1255.c: Likewise.
9256         * iconvdata/cp1258.c : Likewise.
9257         * iconvdata/cp932.c : Likewise.
9258         * iconvdata/euc-cn.c: Likewise.
9259         * iconvdata/euc-jisx0213.c : Likewise.
9260         * iconvdata/euc-jp.c: Likewise.
9261         * iconvdata/euc-jp-ms.c : Likewise.
9262         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9263         * iconvdata/gb18030.c : Likewise.
9264         * iconvdata/gbbig5.c (const): Likewise.
9265         * iconvdata/gbgbk.c: Likewise.
9266         * iconvdata/gbk.c : Likewise.
9267         * iconvdata/ibm1364.c : Likewise.
9268         * iconvdata/ibm930.c : Likewise.
9269         * iconvdata/ibm932.c: Likewise.
9270         * iconvdata/ibm933.c : Likewise.
9271         * iconvdata/ibm935.c : Likewise.
9272         * iconvdata/ibm937.c : Likewise.
9273         * iconvdata/ibm939.c : Likewise.
9274         * iconvdata/ibm943.c: Likewise.
9275         * iconvdata/iso_11548-1.c: Likewise.
9276         * iconvdata/iso-2022-cn.c : Likewise.
9277         * iconvdata/iso-2022-cn-ext.c : Likewise.
9278         * iconvdata/iso-2022-jp-3.c: Likewise.
9279         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9280         * iconvdata/iso-2022-kr.c : Likewise.
9281         * iconvdata/iso646.c (gconv_end): Likewise.
9282         * iconvdata/iso_6937-2.c : Likewise.
9283         * iconvdata/iso_6937.c : Likewise.
9284         * iconvdata/iso8859-1.c: Likewise.
9285         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9286         * iconvdata/shift_jisx0213.c : Likewise.
9287         * iconvdata/sjis.c : Likewise.
9288         * iconvdata/t.61.c : Likewise.
9289         * iconvdata/tcvn5712-1.c : Likewise.
9290         * iconvdata/tscii.c: Likewise.
9291         * iconvdata/uhc.c : Likewise.
9292         * iconvdata/unicode.c (gconv_end): Likewise.
9293         * iconvdata/utf-16.c (gconv_end): Likewise.
9294         * iconvdata/utf-32.c (gconv_end): Likewise.
9295         * iconvdata/utf-7.c (base64): Likewise.
9296         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9297         * iconv/gconv_close.c (__gconv_close): Likewise.
9298         * iconv/gconv_open.c (__gconv_open): Likewise.
9299         * iconv/gconv_simple.c (internal_ucs4_loop_single)
9300         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9301         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9302         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9303         (ucs4le_internal_loop_single): Likewise.
9304         * iconv/iconv.c (iconv): Likewise.
9305         * iconv/iconv_close.c: Likewise.
9306         * iconv/loop.c (SINGLE): Likewise.
9307         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9308         * include/atomic.h: Likewise.
9309         * inet/inet6_option.c (option_alloc): Likewise.
9310         * intl/bindtextdom.c (set_binding_values): Likewise.
9311         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9312         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9313         * intl/localealias.c (read_alias_file): Likewise.
9314         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9315         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9316         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9317         * libio/fmemopen.c (fmemopen): Likewise.
9318         * libio/iofgets.c (_IO_fgets): Likewise.
9319         * libio/iofgets_u.c (fgets_unlocked): Likewise.
9320         * libio/iofgetws.c (fgetws): Likewise.
9321         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9322         * libio/iogetdelim.c (_IO_getdelim): Likewise.
9323         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9324         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9325         * locale/findlocale.c (_nl_find_locale): Likewise.
9326         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9327         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9328         Likewise.
9329         * locale/setlocale.c (setlocale): Likewise.
9330         * login/programs/pt_chown.c (main): Likewise.
9331         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9332         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9333         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9334         (mmap, mmap64, mremap, munmap): Likewise.
9335         * math/e_exp2l.c: Likewise.
9336         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9337         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9338         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9339         * math/s_catan.c (__catan): Likewise.
9340         * math/s_catanf.c (__catanf): Likewise.
9341         * math/s_catanh.c (__catanh): Likewise.
9342         * math/s_catanhf.c (__catanhf): Likewise.
9343         * math/s_catanhl.c (__catanhl): Likewise.
9344         * math/s_catanl.c (__catanl): Likewise.
9345         * math/s_ccosh.c (__ccosh): Likewise.
9346         * math/s_ccoshf.c (__ccoshf): Likewise.
9347         * math/s_ccoshl.c (__ccoshl): Likewise.
9348         * math/s_cexp.c (__cexp): Likewise.
9349         * math/s_cexpf.c (__cexpf): Likewise.
9350         * math/s_cexpl.c (__cexpl): Likewise.
9351         * math/s_clog10.c (__clog10): Likewise.
9352         * math/s_clog10f.c (__clog10f): Likewise.
9353         * math/s_clog10l.c (__clog10l): Likewise.
9354         * math/s_clog.c (__clog): Likewise.
9355         * math/s_clogf.c (__clogf): Likewise.
9356         * math/s_clogl.c (__clogl): Likewise.
9357         * math/s_csin.c (__csin): Likewise.
9358         * math/s_csinf.c (__csinf): Likewise.
9359         * math/s_csinh.c (__csinh): Likewise.
9360         * math/s_csinhf.c (__csinhf): Likewise.
9361         * math/s_csinhl.c (__csinhl): Likewise.
9362         * math/s_csinl.c (__csinl): Likewise.
9363         * math/s_csqrt.c (__csqrt): Likewise.
9364         * math/s_csqrtf.c (__csqrtf): Likewise.
9365         * math/s_csqrtl.c (__csqrtl): Likewise.
9366         * math/s_ctan.c (__ctan): Likewise.
9367         * math/s_ctanf.c (__ctanf): Likewise.
9368         * math/s_ctanh.c (__ctanh): Likewise.
9369         * math/s_ctanhf.c (__ctanhf): Likewise.
9370         * math/s_ctanhl.c (__ctanhl): Likewise.
9371         * math/s_ctanl.c (__ctanl): Likewise.
9372         * math/w_pow.c: Likewise.
9373         * math/w_powf.c: Likewise.
9374         * math/w_powl.c: Likewise.
9375         * math/w_scalb.c (sysv_scalb): Likewise.
9376         * math/w_scalbf.c (sysv_scalbf): Likewise.
9377         * math/w_scalbl.c (sysv_scalbl): Likewise.
9378         * misc/error.c (error_tail): Likewise.
9379         * misc/pselect.c (__pselect): Likewise.
9380         * nis/nis_callback.c (__nis_create_callback): Likewise.
9381         * nis/nis_call.c (__nisfind_server): Likewise.
9382         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9383         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9384         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9385         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9386         * nis/nis_lookup.c (nis_lookup): Likewise.
9387         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9388         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9389         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9390         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9391         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9392         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9393         * nis/nss_compat/compat-initgroups.c (add_group)
9394         (internal_getgrent_r): Likewise.
9395         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9396         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9397         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9398         (internal_getspnam_r): Likewise.
9399         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9400         (_nss_nis_getaliasbyname_r): Likewise.
9401         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9402         (_nss_nis_getntohost_r): Likewise.
9403         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9404         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9405         (_nss_nis_getgrgid_r): Likewise.
9406         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9407         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9408         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9409         (_nss_nis_gethostbyname4_r): Likewise.
9410         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9411         (initgroups_netid): Likewise.
9412         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9413         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9414         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9415         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9416         (_nss_nis_getprotobynumber_r): Likewise.
9417         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9418         (_nss_nis_getsecretkey): Likewise.
9419         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9420         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9421         (_nss_nis_getpwuid_r): Likewise.
9422         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9423         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9424         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9425         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9426         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9427         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9428         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9429         Likewise.
9430         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9431         (_nss_nisplus_getntohost_r): Likewise.
9432         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9433         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9434         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9435         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9436         Likewise.
9437         * nis/nss_nisplus/nisplus-initgroups.c
9438         (_nss_nisplus_initgroups_dyn): Likewise.
9439         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9440         (_nss_nisplus_getnetbyaddr_r): Likewise.
9441         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9442         (_nss_nisplus_getprotobynumber_r): Likewise.
9443         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9444         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9445         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9446         Likewise.
9447         * nis/nss_nisplus/nisplus-service.c
9448         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9449         (_nss_nisplus_getservbyport_r): Likewise.
9450         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9451         (_nss_nisplus_getspnam_r): Likewise.
9452         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9453         Likewise.
9454         * nscd/aicache.c (addhstaiX): Likewise.
9455         * nscd/cache.c (cache_search, prune_cache): Likewise.
9456         * nscd/connections.c (register_traced_file, send_ro_fd)
9457         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9458         (main_loop_epoll): Likewise.
9459         * nscd/grpcache.c (addgrbyX): Likewise.
9460         * nscd/hstcache.c (addhstbyX): Likewise.
9461         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9462         * nscd/mem.c (gc, mempool_alloc): Likewise.
9463         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9464         (addinnetgrX): Likewise.
9465         * nscd/nscd-client.h (__nscd_acquire_maplock)
9466         (__nscd_drop_map_ref): Likewise.
9467         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9468         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9469         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9470         Likewise.
9471         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9472         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9473         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9474         (__nscd_get_map_ref): Likewise.
9475         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9476         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9477         Likewise.
9478         * nscd/pwdcache.c (addpwbyX): Likewise.
9479         * nscd/selinux.c (preserve_capabilities): Likewise.
9480         * nscd/servicescache.c (addservbyX): Likewise.
9481         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9482         * posix/fnmatch.c (fnmatch): Likewise.
9483         * posix/getopt.c (_getopt_internal_r): Likewise.
9484         * posix/glob.c (glob, glob_in_dir): Likewise.
9485         * posix/wordexp.c (exec_comm_child): Likewise.
9486         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9487         (getanswer_r, gaih_getanswer_slice): Likewise.
9488         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9489         * resolv/res_init.c: Likewise.
9490         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9491         * resolv/res_query.c (__libc_res_nquery): Likewise.
9492         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9493         Likewise.
9494         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9495         * stdio-common/perror.c (perror): Likewise.
9496         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9497         * stdio-common/tmpnam.c (tmpnam): Likewise.
9498         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9499         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9500         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9501         Likewise.
9502         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9503         * stdlib/putenv.c (putenv): Likewise.
9504         * stdlib/setenv.c (__add_to_environ): Likewise.
9505         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9506         * stdlib/strtol_l.c (INTERNAL): Likewise.
9507         * string/memmem.c (memmem): Likewise.
9508         * string/strerror.c (strerror): Likewise.
9509         * string/strnlen.c (__strnlen): Likewise.
9510         * string/test-memmem.c (simple_memmem): Likewise.
9511         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9512         * sunrpc/pm_getport.c (__get_socket): Likewise.
9513         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9514         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9515         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9516         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9517         Likewise.
9518         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9519         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9520         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9521         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9522         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9523         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9524         Likewise.
9525         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9526         Likewise.
9527         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9528         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9529         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9530         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9531         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9533         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9534         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9535         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9536         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9537         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9538         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9539         Likewise.
9540         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9541         Likewise.
9542         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9543         Likewise.
9544         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9545         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9546         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9547         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9548         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9549         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9550         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9551         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9552         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9553         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9554         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9555         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9556         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9557         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9558         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9559         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9560         Likewise.
9561         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9562         Likewise.
9563         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9564         Likewise.
9565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9566         Likewise.
9567         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9569         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9570         Likewise.
9571         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9572         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9573         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9574         * sysdeps/posix/sleep.c: Likewise.
9575         * sysdeps/posix/tempname.c: Likewise.
9576         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9577         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9578         Likewise.
9579         * sysdeps/powerpc/powerpc32/dl-machine.h
9580         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9581         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9582         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9583         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9584         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9585         Likewise.
9586         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9587         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9588         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9589         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9590         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9591         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9592         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9593         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9594         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9595         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9597         (elf_machine_lazy_rel): Likewise.
9598         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9599         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9600         (elf_machine_lazy_rel): Likewise.
9601         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9602         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9603         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9604         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9605         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9606         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9607         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9609         Likewise.
9610         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9611         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9612         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9613         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9614         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9615         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9616         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9617         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9618         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9619         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9620         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9621         Likewise.
9622         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9623         (__posix_fallocate64_l64): Likewise.
9624         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9625         (posix_fallocate): Likewise.
9626         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9627         Likewise.
9628         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9629         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9630         (getifaddrs_internal): Likewise.
9631         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9632         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9633         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9634         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9635         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9636         (__posix_fallocate64_l64): Likewise.
9637         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9638         Likewise.
9639         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9640         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9641         (__get_clockfreq): Likewise.
9642         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9643         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9644         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9645         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9647         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9648         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9649         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9650         Likewise.
9651         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9652         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9653         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9654         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9655         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9656         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9657         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9658         Likewise.
9659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9660         (posix_fallocate): Likewise.
9661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9662         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9663         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9664         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9665         (elf_machine_rela, elf_machine_rela_relative)
9666         (elf_machine_lazy_rel): Likewise.
9667         * time/asctime.c (asctime_internal): Likewise.
9668         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9669         * time/tzset.c (__tzset_parse_tz): Likewise.
9670         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9671         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9672         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9673         * wcsmbs/wcsmbsload.h: Likewise.
9674
9675         [BZ #15894]
9676         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9677
9678         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9679         (arena_get2): Remove THREAD_STATS conditionals.
9680         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9681         (__malloc_stats, int): Likewise.
9682
9683 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9684
9685         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9686         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9687
9688         * manual/setjmp.texi: Fix typos/grammar errors.
9689
9690         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9691         Only return early when n is <= 0.  Delete unused return statement.
9692
9693         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9694         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9695         * debug/tst-longjmp_chk3.c: New file.
9696
9697         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9698         (test_main): Replace code with set_fortify_handler call.
9699         * debug/test-strcpy_chk.c: Likewise.
9700         * debug/tst-chk1.c: Likewise.
9701         * debug/tst-longjmp_chk.c: Likewise.
9702         * test-skeleton.c: Include fcntl.h & paths.h
9703         (set_fortify_handler): Define.
9704
9705         * debug/tst-longjmp_chk.c: Add header comment and include
9706         ../test-skeleton.c.
9707         (do_test): Mark static.
9708         (TEST_FUNCTION): Define.
9709
9710         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9711         (IP_PMTUDISC_INTERFACE): Likewise.
9712         (IP_MULTICAST_IF): Likewise.
9713         (IP_MULTICAST_TTL): Likewise.
9714         (IP_MULTICAST_LOOP): Likewise.
9715         (IP_ADD_MEMBERSHIP): Likewise.
9716         (IP_DROP_MEMBERSHIP): Likewise.
9717         (IP_UNBLOCK_SOURCE): Likewise.
9718         (IP_BLOCK_SOURCE): Likewise.
9719         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9720         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9721         (IP_MSFILTER): Likewise.
9722         (MCAST_JOIN_GROUP): Likewise.
9723         (MCAST_BLOCK_SOURCE): Likewise.
9724         (MCAST_UNBLOCK_SOURCE): Likewise.
9725         (MCAST_LEAVE_GROUP): Likewise.
9726         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9727         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9728         (MCAST_MSFILTER): Likewise.
9729         (IP_MULTICAST_ALL): Likewise.
9730         (IP_UNICAST_IF): Likewise.
9731
9732         * timezone/Makefile: Delete $(have-ksh) check.
9733         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9734         * timezone/tzselect.ksh: Add +x mode bits.
9735
9736         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9737         (ANON_INODE_FS_MAGIC): Likewise.
9738         (BDEVFS_MAGIC): Likewise.
9739         (BINFMTFS_MAGIC): Likewise.
9740         (BTRFS_TEST_MAGIC): Likewise.
9741         (CRAMFS_MAGIC_WEND): Likewise.
9742         (DEBUGFS_MAGIC): Likewise.
9743         (ECRYPTFS_SUPER_MAGIC): Likewise.
9744         (EXT3_SUPER_MAGIC): Likewise.
9745         (EXT4_SUPER_MAGIC): Likewise.
9746         (FUTEXFS_SUPER_MAGIC): Likewise.
9747         (HOSTFS_SUPER_MAGIC): Likewise.
9748         (HUGETLBFS_MAGIC): Likewise.
9749         (MINIX3_SUPER_MAGIC): Likewise.
9750         (MTD_INODE_FS_MAGIC): Likewise.
9751         (NILFS_SUPER_MAGIC): Likewise.
9752         (OPENPROM_SUPER_MAGIC): Likewise.
9753         (PIPEFS_MAGIC): Likewise.
9754         (PSTOREFS_MAGIC): Likewise.
9755         (QNX6_SUPER_MAGIC): Likewise.
9756         (RAMFS_MAGIC): Likewise.
9757         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9758         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9759         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9760         (SECURITYFS_MAGIC): Likewise.
9761         (SELINUX_MAGIC): Likewise.
9762         (SMACK_MAGIC): Likewise.
9763         (SOCKFS_MAGIC): Likewise.
9764         (SQUASHFS_MAGIC): Likewise.
9765         (STACK_END_MAGIC): Likewise.
9766         (TMPFS_MAGIC): Likewise.
9767         (USBDEVICE_SUPER_MAGIC): Likewise.
9768         (V9FS_MAGIC): Likewise.
9769         (XENFS_SUPER_MAGIC): Likewise.
9770         (CRAMFS_MAGIC): Fix typo in comment.
9771         (EXT2_SUPER_MAGIC): Update comment.
9772         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9773
9774 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9775
9776         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9777         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9778         * sysdeps/unix/sysv/linux/arm: Move directory from
9779         ports/sysdeps/unix/sysv/linux/arm.
9780         * README: Update listing for arm-*-linux-gnueabi.
9781
9782         * README: Remove mention of am33.
9783
9784 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9785
9786         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9787         than the comma operator, to avoid "rhs of comma has no effect"
9788         compiler warnings.
9789         (__sigfillset, __sigandset, __sigorset): Likewise.
9790         * include/signal.h (__sigemptyset): Likewise.
9791         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9792
9793 2014-02-07  Allan McRae  <allan@archlinux.org>
9794
9795         * version.h (RELEASE): Set to "development".
9796         (VERSION): Set to "2.19.90"
9797         * NEWS: Add 2.20 section.
9798
9799 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9800
9801         [BZ #16529]
9802         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9803
9804 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9805
9806         * manual/contrib.texi: Update entry for Carlos O'Donell,
9807         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9808
9809 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9810
9811         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9812
9813         * sysdeps/unix/sysv/linux/kernel-features.h
9814         [__LINUX_KERNEL_VERSION >= 0x020621]
9815         (__ASSUME_PROC_PID_TASK_COMM): Define.
9816
9817 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9818
9819         [BZ #16398]
9820         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9821         conversion when destination buffer does not have enough space.
9822         * libio/tst-ftell-partial-wide.c: New test case.
9823         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9824
9825         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9826         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9827         Leonard and Allan McRae.
9828
9829 2014-02-04  David S. Miller  <davem@davemloft.net>
9830
9831         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9832         32-bit.
9833
9834 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9835
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9837         New file
9838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9839         New file
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9841         New file.
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9843         New file.
9844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9845         New file.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9847         New file.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9849         New file.
9850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9851         New file.
9852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9853         New file.
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9855         New file.
9856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9857         New file.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9859         New file.
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9861         New file.
9862
9863 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9864
9865         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9866         * shlib-versions: Likewise.
9867
9868 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9869             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9870
9871         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9872         (abilist-pattern): New variable, set to %-le.abilist.
9873
9874         * Makerules (abilist-pattern): New variable.
9875         (vpath): Use $(abilist-pattern) in place of %.abilist.
9876         (check-abi-% pattern rule): Likewise.
9877         (check-abi, update-abi): Likewise.
9878
9879 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9880
9881         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9882
9883 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9884
9885         * manual/startup.texi: Add next, previous, and top entries for
9886         the `Program Arguments' and `Environment Variables' nodes.
9887
9888 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9889
9890         * manual/macros.texi: Add comments before MTASC-safety macros.
9891
9892         * manual/users.texi: Document MTASC-safety properties.
9893
9894         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9895         (pthread_getspecific, pthread_setspecific): Format with
9896         @deftypefun, and add @safety note.
9897         * manual/signal.texi: Move comments that analyze the above
9898         functions to their home place.
9899
9900 2014-02-03  Allan McRae  <allan@archlinux.org>
9901
9902         * po/sl.po: Update Slovenian translation from translation project.
9903
9904 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9905
9906         * manual/time.texi (timegm): Add missing blank after @c.
9907         Reported by Joseph Myers <joseph@codesourcery.com>.
9908
9909 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9910
9911         * manual/check-safety.sh: New.
9912         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9913
9914         * manual/terminal.texi: Document MTASC-safety properties.
9915
9916         * manual/filesys.texi: Document MTASC-safety properties.
9917
9918         * manual/errno.texi: Document MTASC-safety properties.
9919
9920         * manual/intro.texi: Document safety identifiers and
9921         conditionals.
9922
9923         * manual/string.texi (wcstok): Fix prototype.
9924         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9925
9926         * manual/time.texi: Document MTASC-safety properties.
9927
9928         * manual/string.texi: Document MTASC-safety properties.
9929
9930         * manual/threads.texi: Document MTASC-safety properties.
9931
9932         * manual/stdio.texi: Document MTASC-safety properties.
9933
9934         * manual/syslog.texi: Document MTASC-safety properties.
9935
9936         * manual/sysinfo.texi: Document MTASC-safety properties.
9937
9938         * manual/startup.texi: Document MTASC-safety properties.
9939
9940         * manual/socket.texi: Document MTASC-safety properties.
9941
9942         * manual/signal.texi: Document MTASC-safety properties.
9943
9944 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9945
9946         * manual/setjmp.texi: Document MTASC-safety properties.
9947
9948         * manual/search.texi: Document MTASC-safety properties.
9949
9950         * manual/resource.texi: Document MTASC-safety properties.
9951
9952         * manual/process.texi: Document MTASC-safety properties.
9953
9954         * manual/platform.texi: Document MTASC-safety properties.
9955
9956         * manual/pipe.texi: Document MTASC-safety properties.
9957
9958         * manual/pattern.texi: Document MTASC-safety properties.
9959
9960         * manual/message.texi: Document MTASC-safety properties.
9961
9962         [BZ #12751]
9963         * manual/memory.texi: Document MTASC-safety properties.
9964
9965         * manual/math.texi: Document MTASC-safety properties.
9966
9967         * manual/locale.texi: Document MTASC-safety properties.
9968
9969         * manual/llio.texi: Document MTASC-safety properties.
9970
9971         * manual/libdl.texi: New.
9972
9973         * manual/lang.texi: Document MTASC-safety properties.
9974
9975         * manual/job.texi: Document MTASC-safety properties.
9976
9977         * manual/getopt.texi: Document MTASC-safety properties.
9978
9979         * manual/ctype.texi: Document MTASC-safety properties.
9980
9981 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9982
9983         [BZ #16046]
9984         * csu/libc-tls.c (static_map): Remove variable.
9985         (__libc_setup_tls): Use main executable's link map for TLS data.
9986         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9987         casing for LM_ID_BASE and GL(dl_nns).
9988         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9989         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9990         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9991         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9992         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9993         member.
9994         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9995         l_phnum members.
9996
9997 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9998
9999         * manual/debug.texi: Document MTASC-safety properties.
10000
10001 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
10002
10003         [BZ #16510]
10004         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10005         of __x86_64__ when disabling x87 inline functions.
10006
10007 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
10008
10009         * manual/charset.texi: Document MTASC-safety properties.
10010
10011         * manual/crypt.texi: Document MTASC-safety properties.
10012
10013         * manual/conf.texi: Document MTASC-safety properties.
10014
10015         * manual/arith.texi: Document MTASC-safety properties.
10016
10017         * manual/argp.texi: Document MTASC-safety properties.
10018
10019         * manual/macros.texi: Introduce macros to document multi
10020         thread, asynchronous signal and asynchronous cancellation
10021         safety properties.
10022         * manual/intro.texi: Introduce the properties themselves.
10023
10024 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10025
10026         * sysdeps/sh/sh4/Makefile: New file.
10027
10028 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
10029
10030         * math/gen-libm-test.pl ($srcdir): New variable.
10031         ($auto_input): Use it.
10032
10033 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10034
10035         [BZ #16506]
10036         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10037         access beyond array bounds when parsing netgroups file.
10038
10039         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10040         the old buffer before realloc.
10041
10042 2014-01-27  Allan McRae  <allan@archlinux.org>
10043
10044         * po/fr.po: Update French translation from translation project.
10045
10046 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10047
10048         * sysdeps/sh/libm-test-ulps: Regenerate.
10049
10050 2014-01-24  David S. Miller  <davem@davemloft.net>
10051
10052         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10053
10054 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10055
10056         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10057         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10058
10059 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10060
10061         [BZ #16474]
10062         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10063         string pointers after reallocation.
10064
10065 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10066
10067         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10068         __SH4A__ instead of __SH_FPU_ANY__.
10069
10070 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10071
10072         * sysdeps/sh/fpu_control.h: New file.
10073         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10074         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10075         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10076         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10077         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10078         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10079         * sysdeps/sh/sys/ucontext.h: Remove.
10080         * sysdeps/sh/sys: Remove directory.
10081
10082 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10083
10084         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10085         s390/sys/ucontext.h.
10086         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10087         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10088
10089 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10090
10091         [BZ #15605]
10092         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10093
10094 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10095
10096         [BZ#16431]
10097         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10098         Adjust the vDSO correctly for internal calls.
10099         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10100
10101 2014-01-20  Allan McRae  <allan@archlinux.org>
10102
10103         * po/ca.po: Update Catalan translation from translation project.
10104
10105 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
10106
10107         * sysdeps/s390/sotruss-lib.c: New file.
10108
10109 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10110
10111         [BZ#16430]
10112         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10113         (__GI___gettimeofday): Alias for a different internal symbol to avoid
10114         local calls issues by not having a PLT stub required for IFUNC calls.
10115         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10116
10117 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
10118
10119         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10120         * math/test-fpucw-static.c: Likewise.
10121
10122 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10123
10124         [BZ #16453]
10125         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10126
10127 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10128
10129         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10130         implementation for powerpc.
10131
10132 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
10133
10134         [BZ #14782]
10135         * sysdeps/posix/system.c (__libc_system): Do not enable
10136         asynchronous cancellation.
10137
10138 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10139
10140         [BZ #16427]
10141         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10142         handling only for numbers special also in the IEEE case.
10143
10144 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10145
10146         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10147
10148 2014-01-11  Allan McRae  <allan@archlinux.org>
10149
10150         * po/bg.po: Update Bulgarian translation from translation project.
10151
10152         * po/de.po: Update German translation from translation project.
10153
10154 2014-01-10  Roland McGrath  <roland@hack.frob.com>
10155
10156         * sysdeps/generic/gcc-compat.h: New file.
10157
10158 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10159
10160         * benchtests/asin-inputs: Correct slow inputs.
10161         * benchtests/acos-inputs: Likewise.
10162
10163 2014-01-10  Allan McRae  <allan@archlinux.org>
10164
10165         * po:sv.po: Update Swedish translation from translation project.
10166
10167         * po/vi.po: Update Vietnamese translation from translation project.
10168
10169         * po/eo.po: Update Esperanto translation from translation project.
10170
10171         * po/cs.po: Update Czech translation from translation project.
10172
10173         * po/nl.po: Update Dutch translation from translation project.
10174
10175         * po/pl.po: Update Polish translation from translation project.
10176
10177         * po/ru.po: Update Russian translation from translation project.
10178
10179         * po/uk.po: Update Ukrainian translation from translation project.
10180
10181 2014-01-08  Brooks Moses  <bmoses@google.com>
10182
10183         * elf/dl-load.c: Fix comment typo.
10184
10185 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
10186
10187         * po/header.pot: Rename to...
10188         * po/pot.header: ... this.
10189         * po/Makefile: Use pot.header.
10190
10191 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
10192             Maxim Kuvyrkov  <maxim@kugelworks.com>
10193
10194         [BZ #16394]
10195         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10196         SRC and DEST against LEN.
10197
10198 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10199
10200         [BZ #16414]
10201         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10202         implementation.
10203         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10204
10205 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10206
10207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10208
10209 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
10210
10211         [BZ #16408]
10212         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10213         for large positive arguments.
10214
10215 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
10216
10217         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10218
10219         * math/auto-libm-test-in: Mark various tests with
10220         xfail-rounding:ldbl-128ibm.
10221         * math/auto-libm-test-out: Regenerated.
10222
10223         [BZ #16407]
10224         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10225         Increase overflow threshold.
10226
10227 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
10228
10229         [BZ #14286]
10230         * stdio-common/vfprintf.c: Check for integer overflow.
10231
10232 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10233
10234         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10235         the first argument and return value of __tls_get_addr_internal.
10236
10237 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10238
10239         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10240         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10241
10242 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10243
10244         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10245         * sysdeps/s390/rtld-global-offsets.sym: New file.
10246         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10247         GLIBC_2.19 symbol.
10248         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10249         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10250         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10251         ... this.
10252         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10253         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10254         ... this.
10255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10256         Regenerate.
10257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10258         Regenerate.
10259         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10260         halfs of GPRs for high_gprs contexts.
10261         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10262         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
10263         field.
10264         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10265         uc_flags field.
10266         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10267         64 bit versions:
10268         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10269         for high GPRs (uc_high_gprs) and for future extensions
10270         (__reserved).
10271         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10272         for future extensions (__reserved).
10273         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10274         64 bit versions:
10275         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10276         SC_HIGHGPRS offset definition.
10277         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10278         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10279
10280         * Versions.def: Add GLIBC_2.19 for libpthread.
10281         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10282         siglongjmp for libpthread with GLIBC_2.19 symver.
10283         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10284         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10285         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10286         * sysdeps/s390/__longjmp.c: New file.
10287         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10288         * sysdeps/s390/longjmp.c: New file.
10289         * sysdeps/s390/setjmp.S: New file.
10290         * sysdeps/s390/sigjmp.S: New file.
10291         * sysdeps/s390/v1-longjmp.c: New file.
10292         * sysdeps/s390/v1-setjmp.h: New file.
10293         * sysdeps/s390/v1-sigjmp.c: New file.
10294         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10295         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10296         GLIBC_2.19 version.
10297         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10298         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10299         versioned symbols for ____longjmp_chk.
10300         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10301         Likewise.
10302         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10303         Regenerate.
10304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10305         Regenerate.
10306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10307         Regenerate.
10308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10309         Regenerate.
10310         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10311         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10312         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10313         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10314         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10315         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10316         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10317         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10318         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10319         * sysdeps/s390/rtld-__longjmp.c: New file.
10320         * sysdeps/s390/rtld-setjmp.S: New file.
10321
10322 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
10323
10324         [BZ #16400]
10325         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10326         Return -__logl (x) for small positive arguments without evaluating
10327         a polynomial.
10328
10329 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10330
10331         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10332         Rename to ...
10333         (__ptrace_peeksiginfo_args): ... this.
10334         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10336         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10337
10338 2014-01-06  Allan McRae  <allan@archlinux.org>
10339
10340         * inet/netinet/in.h: Fix typo in comment.
10341
10342 2014-01-05  Andreas Jaeger  <aj@suse.de>
10343
10344         * sysdeps/i386/fpu/libm-test-ulps: Update.
10345
10346 2014-01-05  Allan McRae  <allan@archlinux.org>
10347
10348         * po/libc.pot: Regenerated.
10349
10350         * malloc/memusagestat.c: Fix gettext call formatting.
10351
10352 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10353
10354         * nscd/nscd.c: Improve usage() output.
10355
10356 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10357
10358         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10359         * sysdeps/unix/sysv/linux/configure: Regenerated.
10360         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10361         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10362
10363 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10364
10365         [BZ #16390]
10366         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10367         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10368
10369 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10370
10371         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10372         extra tokens at end of #undef directive.
10373         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10374         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10375         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10376
10377 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10378
10379         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10380
10381         * math/auto-libm-test-in: Mark various tests with
10382         xfail-rounding:ldbl-128ibm.
10383         * math/auto-libm-test-out: Regenerated.
10384
10385 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10386
10387         [BZ #16386]
10388         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10389         numbers with subnormal high part when calculating exponent.
10390
10391         [BZ #16385]
10392         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10393         fabs.
10394
10395         [BZ #16384]
10396         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10397         M_LN2l.
10398         (__ieee754_acoshl): Use __log1pl not __log1p.
10399
10400 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10401
10402         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10403         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10404         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10405         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10406         (reused_arena, arena_get2): Convert to GNU style.
10407         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10408         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10409         (memalign_check, __malloc_set_state): Likewise.
10410         * malloc/mallocbug.c (main): Likewise.
10411         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10412         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10413         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10414         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10415         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10416         (__posix_memalign, malloc_info): Likewise.
10417         * malloc/malloc.h: Likewise.
10418         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10419         (mallochook, memalignhook, reallochook, mabort): Likewise.
10420         * malloc/mcheck.h: Likewise.
10421         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10422         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10423         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10424         * malloc/morecore.c (__default_morecore): Likewise.
10425         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10426         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10427         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10428         (print_and_abort): Likewise.
10429         * malloc/obstack.h: Likewise.
10430         * malloc/set-freeres.c (__libc_freeres): Likewise.
10431         * malloc/tst-mallocstate.c (main): Likewise.
10432         * malloc/tst-mtrace.c (main): Likewise.
10433         * malloc/tst-realloc.c (do_test): Likewise.
10434
10435 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10436
10437         [BZ #16366]
10438         * nscd/netgroupcache.c (do_notfound): New function.
10439         (addgetnetgrentX): Use it.
10440
10441         [BZ # 16365]
10442         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10443         NSS_STATUS_NOTFOUND.
10444
10445 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10446
10447         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10449
10450 2014-01-01  Allan McRae  <allan@archlinux.org>
10451
10452         * scripts/update-copyrights: Update configure input file suffix.
10453
10454         * NEWS: Update copyright year.
10455         * catgets/gencat.c: Likewise.
10456         * csu/version.c: Likewise.
10457         * debug/catchsegv.sh: Likewise.
10458         * debug/pcprofiledump.c: Likewise.
10459         * debug/xtrace.sh: Likewise.
10460         * elf/ldconfig.c: Likewise.
10461         * elf/ldd.bash.in: Likewise.
10462         * elf/pldd.c: Likewise.
10463         * elf/sotruss.ksh: Likewise.
10464         * elf/sprof.c: Likewise.
10465         * iconv/iconv_prog.c: Likewise.
10466         * iconv/iconvconfig.c: Likewise.
10467         * locale/programs/locale.c: Likewise.
10468         * locale/programs/localedef.c: Likewise.
10469         * login/programs/pt_chown.c: Likewise.
10470         * malloc/memusage.sh: Likewise.
10471         * malloc/memusagestat.c: Likewise.
10472         * malloc/mtrace.pl: Likewise.
10473         * manual/libc.texinfo: Likewise.
10474         * nscd/nscd.c: Likewise.
10475         * nss/getent.c: Likewise.
10476         * nss/makedb.c: Likewise.
10477         * posix/getconf.c: Likewise.
10478         * scripts/test-installation.pl: Likewise.
10479
10480         * All files with FSF copyright notices: Update copyright dates
10481         using scripts/update-copyrights.
10482         * intl/plural.c: Regenerated.
10483         * locale/programs/charmap-kw.h: Likewise.
10484         * locale/programs/locfile-kw.h: Likewise.
10485
10486 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10487
10488         * sysdeps/unix/sysv/linux/configure: Regenerated.
10489         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10490         the linux/fanotify.h header.
10491         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10492         HAVE_LINUX_FANOTIFY_H is defined.
10493
10494 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10495
10496         * benchtests/cos-inputs: New inputs.
10497         * benchtests/sin-inputs: Likewise.
10498
10499         * benchtests/atan-inputs: New inputs. Fix name of multiple
10500         precision fallback inputs.
10501
10502         * benchtests/atanh-inputs: New inputs.
10503         * benchtests/tanh-inputs: Likewise.
10504
10505         * benchtests/acosh-inputs: New inputs.
10506         * benchtests/asinh-inputs: Likewise.
10507
10508         * benchtests/cosh-inputs: New inputs.
10509         * benchtests/sinh-inputs: Likewise.
10510
10511         * benchtests/acos-inputs: Add more inputs.
10512         * benchtests/asin-inputs: Likewise.
10513
10514 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10515
10516         [BZ #16375]
10517         * manual/arith.texi: Fix spelling.
10518         * manual/charset.texi: Likewise.
10519         * manual/errno.texi: Likewise.
10520         * manual/filesys.texi: Likewise.
10521         * manual/lang.texi: Likewise.
10522         * manual/llio.texi: Likewise.
10523         * manual/locale.texi: Likewise.
10524         * manual/message.texi: Likewise.
10525         * manual/resource.texi: Likewise.
10526         * manual/search.texi: Likewise.
10527         * manual/setjmp.texi: Likewise.
10528         * manual/stdio.texi: Likewise.
10529         * manual/string.texi: Likewise.
10530         * manual/sysinfo.texi: Likewise.
10531         * manual/time.texi: Likewise.
10532
10533 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10534
10535         * po/sl.po: New file.
10536
10537 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10538
10539         * .gitignore: Add core/.gdbinit/.gdb_history.
10540
10541 2013-12-27  Allan McRae  <allan@archlinux.org>
10542
10543         [BZ #16369]
10544         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10545         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10546
10547 2013-12-24  Brooks Moses  <bmoses@google.com>
10548
10549         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10550         all compilers that claim C++98 compliance, not just GCC.
10551         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10552         Likewise.
10553
10554 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10555
10556         * NEWS: Restore accidentally deleted bug-fix entries.
10557
10558 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10559             Ondřej Bílka  <neleai@seznam.cz>
10560
10561         [BZ #15073]
10562         * malloc/malloc.c (_int_free): Perform sanity check only if we
10563         have_lock.
10564
10565 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10566
10567         [BZ #12986]
10568         * manual/stdio.texi (String Input Conversions): Clarify that character
10569         classes are not supported.
10570
10571 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10572
10573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10574
10575 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10576
10577         [BZ #16337]
10578         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10579         Calculate results for small negative arguments directly rather
10580         than using reflection formula with special underflow handling.
10581
10582         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10583         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10584         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10585         (fchflags): Likewise.
10586         (revoke): Likewise.
10587         (setlogin): Likewise.
10588         (sigaltstack): Likewise.
10589         (wait4): Likewise.
10590         (sigblock): Remove.
10591         (sigsetmask): Likewise.
10592         (wait3): Likewise.
10593         (waitpid): Likewise.
10594         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10595         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10596         file.
10597         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10598         * sysdeps/unix/bsd/Makefile: ... here.
10599         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10600         * sysdeps/unix/bsd/Versions: ... here.
10601         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10602         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10603         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10604         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10605         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10606         * sysdeps/unix/bsd/sigblock.c: ... here.
10607         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10608         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10609         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10610         * sysdeps/unix/bsd/sigvec.c: ... here.
10611         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10612         * sysdeps/unix/bsd/tcdrain.c: ... here.
10613         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10614         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10615         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10616         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10617         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10618         * sysdeps/unix/bsd/wait.c: ... here.
10619         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10620         * sysdeps/unix/bsd/wait3.c: ... here.
10621         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10622         * sysdeps/unix/bsd/waitpid.c: ... here.
10623
10624 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10625
10626         [BZ #16356]
10627         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10628         round-to-nearest for [!USE_AS_EXPM1L].
10629         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10630         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10631         more tests of exp and exp10.  Expect some exp10 tests to miss
10632         exceptions or fail in directed rounding modes.
10633         * math/auto-libm-test-out: Regenerated.
10634         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10635         (exp10_test_tonearest): New function.
10636         (exp10_towardzero_test_data): New array.
10637         (exp10_test_towardzero): New function.
10638         (exp10_downward_test_data): New array.
10639         (exp10_test_downward): New function.
10640         (exp10_upward_test_data): New array.
10641         (exp10_test_upward): New function.
10642         (main): Call the new functions.
10643         * sysdeps/i386/fpu/libm-test-ulps: Update.
10644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10645
10646 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10647
10648         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10649         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10650         * math/auto-libm-test-out: Regenerated.
10651         * math/libm-test.inc (acosh_test_data): Add more tests.
10652         (atanh_test_data): Likewise.
10653         (ceil_test_data): Likewise.
10654         (copysign_test_data): Likewise.
10655         * sysdeps/i386/fpu/libm-test-ulps: Update.
10656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10657
10658         * timezone/checktab.awk: Update from tzcode 2013i.
10659         * timezone/private.h: Likewise.
10660         * timezone/scheck.c: Likewise.
10661         * timezone/tzfile.h: Likewise.
10662         * timezone/tzselect.ksh: Likewise.
10663         * timezone/zdump.c: Likewise.
10664         * timezone/zic.c: Likewise.
10665
10666         * math/auto-libm-test-in: Add tests of cpow.
10667         * math/auto-libm-test-out: Regenerated.
10668         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10669         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10670         mpc_cc_c.
10671         (func_calc_desc): Add mpc_cc_c union field.
10672         (test_functions): Add cpow.
10673         (special_fill_2pi): New function.
10674         (special_real_inputs): Add 2pi.
10675         (calc_generic_results): Handle mpc_cc_c.
10676         * sysdeps/i386/fpu/libm-test-ulps: Update.
10677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10678
10679         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10680         csqrt, ctan and ctanh.
10681         * math/auto-libm-test-out: Regenerated.
10682         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10683         (TEST_COND_x86): Likewise.
10684         (ccos_test_data): Use AUTO_TESTS_c_c.
10685         (ccosh_test_data): Likewise.
10686         (cexp_test_data): Likewise.
10687         (clog_test_data): Likewise.
10688         (csqrt_test_data): Likewise.
10689         (ctan_test_data): Likewise.
10690         (ctan_tonearest_test_data): Likewise.
10691         (ctan_towardzero_test_data): Likewise.
10692         (ctan_downward_test_data): Likewise.
10693         (ctan_upward_test_data): Likewise.
10694         (ctanh_test_data): Likewise.
10695         (ctanh_tonearest_test_data): Likewise.
10696         (ctanh_towardzero_test_data): Likewise.
10697         (ctanh_downward_test_data): Likewise.
10698         (ctanh_upward_test_data): Likewise.
10699         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10700         mpc_c_c.
10701         (func_calc_desc): Add mpc_c_c union field.
10702         (FUNC_mpc_c_c): New macro.
10703         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10704         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10705         ctanh.
10706         (special_fill_min_subnorm_p120): New function.
10707         (special_real_inputs): Add min_subnorm_p120.
10708         (calc_generic_results): Handle mpc_c_c.
10709         * sysdeps/i386/fpu/libm-test-ulps: Update.
10710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10711
10712 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10713
10714         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10715         (do_sin_slow): New functions.
10716         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10717         (cslow2, csloww1, csloww2): Use the new functions.
10718
10719         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10720         Use M to change sign of result instead of X.  Assume X is
10721         positive.
10722         (csloww1): Likewise.
10723         (__sin): Adjust.
10724         (__cos): Adjust.
10725
10726         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10727         arguments A and DA.
10728         (__sin): Adjust.
10729         (__cos): Likewise.
10730
10731         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10732         (__cos): Likewise.
10733         (sloww1): Don't adjust sign of DX.
10734         (csloww1): Likewise.
10735         (sloww2): Use X directly and don't adjust sign of DX.
10736         (csloww2): Likewise.
10737
10738 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10739
10740         * math/auto-libm-test-in: Add tests of cabs and carg.
10741         * math/auto-libm-test-out: Regenerated.
10742         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10743         (carg_test_data): Likewise.
10744         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10745         mpc_c_f.
10746         (func_calc_desc): Add mpc_c_f union field.
10747         (test_functions): Add cabs and carg.
10748         (calc_generic_results): Handle mpc_c_f.
10749
10750         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10751         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10752         as a macro and a compat symbol.
10753         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10754         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10755         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10756         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10757         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10758         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10759         not use .hidden.
10760         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10761         Likewise.
10762         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10763         Likewise.
10764         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10765         Likewise.
10766         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10767         Likewise.
10768         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10769         Likewise.
10770         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10771         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10772         from GLIBC_2.3.2.
10773
10774 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10775
10776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10777
10778 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10779
10780         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10781         trailing whitespace removed.
10782         * scripts/config.guess: Update to version 2013-11-29.
10783         * scripts/config.sub: Update to version 2013-10-01.
10784
10785         * math/auto-libm-test-in: Add tests of sincos.
10786         * math/auto-libm-test-out: Regenerated.
10787         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10788         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10789         mpfr_f_11.
10790         (func_calc_desc): Add mpfr_f_11 union field.
10791         (test_functions): Add sincos.
10792         (calc_generic_results): Handle mpfr_f_11.
10793         * sysdeps/i386/fpu/libm-test-ulps: Update.
10794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10795
10796 2013-12-19  Andreas Schwab  <schwab@suse.de>
10797
10798         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10799         CALL_MCOUNT.
10800         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10801         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10802         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10803
10804 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10805
10806         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10807         * sysdeps/i386/fpu/libm-test-ulps: Update.
10808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10809
10810         [BZ #16293]
10811         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10812         round-to-nearest mode when using frndint.
10813         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10814         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10815         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10816         Likewise.
10817         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10818         sinh test to fail.
10819         * math/auto-libm-test-out: Regenerated.
10820         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10821         (TEST_COND_x86): Likewise.
10822         (expm1_tonearest_test_data): New array.
10823         (expm1_test_tonearest): New function.
10824         (expm1_towardzero_test_data): New array.
10825         (expm1_test_towardzero): New function.
10826         (expm1_downward_test_data): New array.
10827         (expm1_test_downward): New function.
10828         (expm1_upward_test_data): New array.
10829         (expm1_test_upward): New function.
10830         (main): Run the new test functions.
10831         * sysdeps/i386/fpu/libm-test-ulps: Update.
10832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10833
10834         * include/features.h: Update comment documenting feature test
10835         macros.  Mention _DEFAULT_SOURCE in comment.
10836         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10837         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10838         _BSD_SOURCE and _SVID_SOURCE.
10839         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10840         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10841         !_SVID_SOURCE]: Likewise.
10842         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10843         (__USE_POSIX_IMPLICITLY): Define.
10844         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10845         (_POSIX_SOURCE): Undefine and redefine.
10846         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10847         (_POSIX_C_SOURCE): Likewise.
10848         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10849         (Feature Test Macros): Update documentation of default features.
10850
10851 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10852
10853         * benchtests/Makefile: Add bench-strtok.
10854         * benchtests/bench-strtok.c: New file: strtok benchtest.
10855
10856 2013-12-19  Allan McRae  <allan@archlinux.org>
10857
10858         * manual/install.texi: Suppress menu for plain text output.
10859         * INSTALL: Regenerated.
10860
10861 2013-12-18  Brooks Moses  <bmoses@google.com>
10862
10863         [BZ #15846]
10864         * misc/getauxval.c: Include errno.h.
10865         (__getauxval): Set errno to ENOENT if the requested type is not
10866         found.
10867         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10868         don't declare with __attribute_const__.
10869         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10870         * manual/startup.texi: Document that getauxval sets errno.
10871
10872 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10873
10874         * math/auto-libm-test-in: Add tests of jn and yn.
10875         * math/auto-libm-test-out: Regenerated.
10876         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10877         (yn_test_data): Likewise.
10878         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10879         mpfr_if_f.
10880         (func_calc_desc): Add mpfr_if_f union field.
10881         (FUNC_mpfr_if_f): New macro.
10882         (test_functions): Add jn and yn.
10883         (calc_generic_results): Assert type of second input for
10884         mpfr_ff_f.  Handle mpfr_if_f.
10885         (output_for_one_input_case): Disable all checking for arguments
10886         fitting floating-point types in case of an integer argument.
10887         * sysdeps/i386/fpu/libm-test-ulps: Update.
10888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10889
10890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10891         Don't expect fegetround reference in libm.so.
10892
10893 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10894
10895         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10896         $(config-cflags-nofma).
10897
10898 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10899
10900         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10901         * math/auto-libm-test-out: Regenerated.
10902
10903         [BZ #16338]
10904         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10905         to determine exponent and adjust argument to have exponent of -1.
10906         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10907         log2.
10908         * math/auto-libm-test-out: Regenerated.
10909         * sysdeps/i386/fpu/libm-test-ulps: Update.
10910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911
10912 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10913
10914         * manual/probes.texi: Remove cases when per-thread arenas are
10915         disabled.
10916
10917 2013-12-18  Andreas Schwab  <schwab@suse.de>
10918
10919         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10920         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10921         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10922         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10923         * sysdeps/i386/i686/multiarch/Makefile: Update.
10924         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10925
10926 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10927
10928         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10929         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10930
10931 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10932
10933         [BZ #15968]
10934         Support TZ transition times < 00:00:00.
10935         This is needed for version-3 tz-format files; it supports time
10936         stamps past 2037 for America/Godthab (the only entry in the tz
10937         database for which this change is relevant).
10938         * manual/time.texi (TZ Variable): Document transition times
10939         from -167:59:59 through -00:00:01.
10940         * time/tzset.c (tz_rule): Time of day is now signed.
10941         (__tzset_parse_tz): Parse negative time of day.
10942
10943         Document TZ transition times >= 25:00:00.
10944         * manual/time.texi (TZ Variable): Document transition times from
10945         25:00:00 through 167:59:59.  These are already supported, and this
10946         support will help with version-3 tz-format files.
10947
10948         * manual/time.texi (TZ Variable): Modernize North America example
10949         to reflect current (i.e., 2007-and-later) daylight saving rules.
10950
10951         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10952
10953 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10954
10955         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10956         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10959         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10960         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10961         * sysdeps/unix/bsd/clock.c: Likewise.
10962         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10963         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10964         * sysdeps/unix/bsd/init-posix.c: Likewise.
10965         * sysdeps/unix/bsd/poll.c: Likewise.
10966         * sysdeps/unix/bsd/ptsname.c: Likewise.
10967         * sysdeps/unix/bsd/seekdir.c: Likewise.
10968         * sysdeps/unix/bsd/setegid.c: Likewise.
10969         * sysdeps/unix/bsd/seteuid.c: Likewise.
10970         * sysdeps/unix/bsd/setgid.c: Likewise.
10971         * sysdeps/unix/bsd/setrgid.c: Likewise.
10972         * sysdeps/unix/bsd/setruid.c: Likewise.
10973         * sysdeps/unix/bsd/setsid.c: Likewise.
10974         * sysdeps/unix/bsd/setuid.c: Likewise.
10975         * sysdeps/unix/bsd/sigaction.c: Likewise.
10976         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10977         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10978         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10979         * sysdeps/unix/bsd/telldir.c: Likewise.
10980         * sysdeps/unix/bsd/times.c: Likewise.
10981         * sysdeps/unix/bsd/usleep.c: Likewise.
10982
10983         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10984         ($(objpfx)libbsd-compat.a): Remove rule.
10985
10986         * include/features.h (__FAVOR_BSD): Do not define.
10987         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10988         features conflicting with POSIX.
10989         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10990         (_BSD_SOURCE): Remove description of not being a subset of other
10991         feature test macros.
10992         * manual/job.texi (getpgrp): Do not document BSD version.
10993         (getpgid): Do not document by reference to BSD getpgrp.
10994         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10995         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10996         * signal/signal.h [__FAVOR_BSD]: Likewise.
10997         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10998         instead of making contents conditional on [__FAVOR_BSD].
10999         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11000
11001 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11002
11003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11004
11005 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
11006
11007         [BZ #16314]
11008         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11009         values below 2**-450, not 2**-500.
11010         * math/auto-libm-test-in: Don't allow spurious underflow from
11011         hypot.
11012         * math/auto-libm-test-out: Regenerated.
11013
11014         [BZ #16316]
11015         [BZ #16330]
11016         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11017         values of ha and hb and sort them after adjusting subnormal
11018         arguments.
11019         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11020         Likewise.
11021         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11022         values of ea and eb and sort them after adjusting subnormal
11023         arguments.
11024         * math/auto-libm-test-in: Do not expect some hypot tests of
11025         subnormals to fail.  Add more hypot tests.
11026         * math/auto-libm-test-out: Regenerated.
11027
11028 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11029
11030         [BZ #13304]
11031         * sysdeps/sh/s_fma.c: New file.
11032         * sysdeps/sh/s_fmaf.c: New file.
11033         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
11034         version.
11035         * sysdeps/sh/Implies: Add sh/soft-fp.
11036
11037 2013-12-16  Roland McGrath  <roland@hack.frob.com>
11038
11039         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
11040         level of indirection to members `objname', `errstring', `malloced'.
11041         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11042         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
11043         it as the __longjmp argument (just pass 1 instead).
11044         (_dl_catch_error): Initialize C with argument pointers and address of
11045         volatile local ERRCODE rather than copying values out of C at return.
11046
11047 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
11048
11049         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11050         * math/auto-libm-test-out: Regenerated.
11051         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11052         (hypot_test_data): Likewise.
11053         (pow_test_data): Likewise.
11054         (pow_tonearest_test_data): Likewise.
11055         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11056         mpfr_ff_f.
11057         (func_calc_desc): Add mpfr_ff_f union field.
11058         (FUNC_mpfr_ff_f): New macro.
11059         (test_functions): Add atan2, hypot and pow.
11060         (special_fill_min): New function.
11061         (special_fill_minus_min): Likewise.
11062         (special_fill_min_subnorm): Likewise.
11063         (special_fill_minus_min_subnorm): Likewise.
11064         (special_real_inputs): Add min, -min, min_subnorm and
11065         -min_subnorm.
11066         (calc_generic_results): Handle mpfr_ff_f.
11067         * sysdeps/i386/fpu/libm-test-ulps: Update.
11068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11069
11070 2013-12-16  Will Newton  <will.newton@linaro.org>
11071
11072         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11073         (Aligned Memory Blocks): Add documentation for aligned_alloc
11074         and suggest it as an alternative to posix_memalign.
11075         (Hooks for Malloc): Document __memalign_hook is also called
11076         for aligned_alloc.  (Summary of Malloc): Add summary for
11077         aligned alloc.  Document __memalign_hook is also called
11078         for aligned_alloc.
11079
11080 2013-12-16  Will Newton  <will.newton@linaro.org>
11081
11082         * manual/memory.texi (Malloc Examples): Clarify default
11083         alignment documentation.  Suggest posix_memalign rather
11084         than memalign or valloc.
11085         (Aligned Memory Blocks): Remove suggestion to use memalign
11086         or valloc.  Remove obsolete comment about BSD.
11087         Document memalign errno values and mark the function obsolete.
11088         Document posix_memalign returned error codes.  Mark valloc
11089         as obsolete.  (Hooks for Malloc): __memalign_hook is also
11090         called for posix_memalign and valloc.
11091         (Summary of Malloc): Add posix_memalign to function summary.
11092         __memalign_hook is also called for posix_memalign and valloc.
11093
11094 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11095
11096         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11097         TAYLOR_SIN.
11098         (__sin): Adjust.
11099         (__cos): Likewise.
11100         (sloww): Use mynumber union.  Expand ternary operator into
11101         if-else statements.
11102         (cslow): use mynumber union.
11103
11104 2013-12-16  Allan McRae  <allan@archlinux.org>
11105
11106         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11107         * configure: Regenerated.
11108
11109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11110
11111         [BZ #14120]
11112         * configure.ac: Added --enable-maintainer-mode. Check for
11113         autoconf when enabled.
11114         * configure: Regenerated.
11115
11116         * nscd/nscd.service: New file.
11117         * nscd/nscd.tmpfiles: New file.
11118
11119 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
11120
11121         [BZ #12100]
11122         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11123         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11124         * sysdeps/x86_64/multiarch/strstr.c: ... here.
11125         (strstr): Add __strstr_sse2_unaligned ifunc.
11126         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11127         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11128         (strcasestr): Remove __strcasestr_sse42 ifunc.
11129         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11130         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11132
11133 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11134
11135         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11136         * sysdeps/sh/bits/fenv.h: ... here.
11137         * sysdeps/sh/sh4/fpu/bits: Remove directory.
11138
11139 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11140
11141         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11142
11143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11144         hypotf multiarch implementations.
11145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11148         multiarch hypot for PPC64.
11149         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11150         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11152         multiarch hypotf for PPC64.
11153
11154         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11155         modff multiarch implementations.
11156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11159         multiarch modf for PPC64.
11160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11163         multiarch modff for PPC64.
11164
11165         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11166         and logl multiarch implementations.
11167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11170         multiarch logb for PPC64.
11171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11174         multiarch logb for PPC64.
11175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11178         multiarch logb for PPC64.
11179
11180         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11181         isinff multiarch implementation.
11182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11183         file.
11184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11186         multiarch isinf for PPC64.
11187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11188         file.
11189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11190         multiarch isinff for PPC64.
11191
11192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11193         finitef multiarch implementation.
11194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11195         file.
11196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11198         multiarch finite for PPC64.
11199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11200         file.
11201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11202         multiarch finitef for PPC64.
11203
11204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11205         lrint multiarch implementation.
11206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11207         file.
11208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11210         multiarch llrint for PPC64.
11211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11212         multiarch lrint for PPC64.
11213
11214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11215         copysignf multiarch implementation.
11216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11217         file.
11218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11219         file.
11220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11221         multiarch copysign for PPC64.
11222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11223         multiarch copysignf for PPC64.
11224
11225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11226         multiarch implementation.
11227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11228         file.
11229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11230         file.
11231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11232         file.
11233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11234         file.
11235         multiarch llround for PPC64.
11236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11237         multiarch trunc for PPC64.
11238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11239         multiarch truncf for PPC64.
11240
11241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11242         multiarch implementation.
11243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11244         file.
11245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11246         file.
11247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11248         file.
11249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11250         file.
11251         multiarch llround for PPC64.
11252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11253         multiarch round for PPC64.
11254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11255         multiarch roundf for PPC64.
11256
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11258         multiarch implementation.
11259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11260         file.
11261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11262         file.
11263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11264         file.
11265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11266         file.
11267         multiarch llround for PPC64.
11268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11269         multiarch floor for PPC64.
11270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11271         multiarch floorf for PPC64.
11272
11273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11274         multiarch implementation.
11275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11276         file.
11277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11278         file.
11279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11280         file.
11281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11282         file.
11283         multiarch llround for PPC64.
11284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11285         multiarch ceil for PPC64.
11286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11287         multiarch ceilf for PPC64.
11288
11289         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11290         multiarch implementation.
11291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11292         file.
11293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11294         file.
11295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11296         file.
11297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11298         multiarch llround for PPC64.
11299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11300         multiarch lround for PPC64.
11301
11302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11303         multiarch implementation.
11304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11307         file.
11308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11311         multiarch isnan for PPC64.
11312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11313         multiarch isnanf for PPC64.
11314
11315         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11316         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11317         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11318         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11319         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11321
11322         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11323         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11324         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11325         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11326
11327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11328         multiarch implementations.
11329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11330         (__libc_ifunc_impl_list): Likewise.
11331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11332         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11333         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11334         multiarch stpcpy for PPC64.
11335
11336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11337         multiarch implementations.
11338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11339         (__libc_ifunc_impl_list): Likewise.
11340         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11341         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11342         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11343         multiarch strcpy for PPC64.
11344
11345         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11346         redefine function name.
11347         (_wordcopy_fwd_dest_aligned): Likewise.
11348         (_wordcopy_bwd_aligned): Likewise.
11349         (_wordcopy_bwd_dest_aligned): Likewise.
11350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11351         multiarch implementations.
11352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11353         (__libc_ifunc_impl_list): Likewise.
11354         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11355         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11356         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11357         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11358         multiarch wcscpy for PPC64.
11359
11360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11361         multiarch implementations.
11362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11363         (__libc_ifunc_impl_list): Likewise.
11364         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11365         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11366         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11367         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11368         multiarch wcscpy for PPC64.
11369
11370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11371         multiarch implementations.
11372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11373         (__libc_ifunc_impl_list): Likewise.
11374         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11375         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11376         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11377         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11378         multiarch wcsrchr for PPC64.
11379
11380         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11381         multiarch implementations.
11382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11383         (__libc_ifunc_impl_list): Likewise.
11384         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11385         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11386         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11387         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11388         multiarch wcschr for PPC64.
11389
11390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11391         multiarch implementations.
11392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11393         (__libc_ifunc_impl_list): Likewise.
11394         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11395         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11396         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11397         multiarch strchrnul for PPC64.
11398
11399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11400         implementations.
11401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11402         (__libc_ifunc_impl_list): Likewise.
11403         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11404         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11405         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11406         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11407         strchr for PPC64.
11408
11409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11410         implementations.
11411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11412         (__libc_ifunc_impl_list): Likewise.
11413         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11414         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11415         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11416         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11417         strncmp for PPC64.
11418
11419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11420         multiarch implementations.
11421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11422         (__libc_ifunc_impl_list): Likewise.
11423         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11424         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11425         strncasecmp for PPC64.
11426         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11427         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11428         multiarch strncasecmp_l for PPC64.
11429
11430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11431         multiarch implementations.
11432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11433         (__libc_ifunc_impl_list): Likewise.
11434         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11435         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11436         multiarch strcasecmp for PPC64.
11437         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11438         file.
11439         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11440         multiarch strcasecmp_l for PPC64.
11441
11442         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11443         implementations.
11444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11445         (__libc_ifunc_impl_list): Likewise.
11446         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11447         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11448         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11449         strnlen for PPC64.
11450
11451         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11452         implementations.
11453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11454         (__libc_ifunc_impl_list): Likewise.
11455         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11456         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11457         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11458         strlen for PPC64.
11459
11460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11461         implementations.
11462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11463         (__libc_ifunc_impl_list): Likewise.
11464         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11465         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11466         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11467         rawmemrchr for PPC64.
11468
11469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11470         implementation.
11471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11472         (__libc_ifunc_impl_list): Likewise.
11473         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11474         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11475         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11476         memrchr for PPC64.
11477
11478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11479         implementation.
11480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11481         (__libc_ifunc_impl_list): Likewise.
11482         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11483         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11484         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11485         memchr for PPC64.
11486
11487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11488         implementation.
11489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11490         (__libc_ifunc_impl_list): Likewise.
11491         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11492         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11493         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11494         mempcpy for PPC64.
11495
11496         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11497         avoid cretion of __bzero symbol.
11498         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11499         Likewise.
11500         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11501         Likewise.
11502         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11503         Likewise.
11504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11505         multiarch implementations.
11506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11507         (__libc_ifunc_impl_list): Likewise.
11508         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11509         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11510         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11511         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11512         bzero for PPC32.
11513         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11514         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11515         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11516         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11517         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11518         memset for PPC64.
11519         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11520
11521         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11523         implementations.
11524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11525         (__libc_ifunc_impl_list): Likewise.
11526         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11527         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11528         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11529         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11530         memcmp for PPC64.
11531
11532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11533         multiarch for POWER/PPC64.
11534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11535         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11537         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11538         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11539         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11540         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11541         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11542         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11543         memcpy for PPC64.
11544
11545         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11546         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11547         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11548         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11549         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11550         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11551         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11552         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11553         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11554         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11555         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11556         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11557         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11558         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11559         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11567
11568 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11569
11570         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11571
11572 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11573
11574         * benchtests/Makefile (bench): Add exp2 and log2.
11575         (LDLIBS-bench-exp2): Add -lm.
11576         (LDLIBS-bench-log2): Likewise.
11577         * benchtests/exp2-inputs: New inputs file.
11578         * benchtests/log2-inputs: New inputs file.
11579         * benchtests/log-inputs: Add new inputs.
11580         * benchtests/tan-inputs: Likewise.
11581
11582 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11583
11584         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11585         definition...
11586         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11587         (csloww2): ... from here.
11588
11589         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11590         instead of structures.
11591         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11592         (POLYNOMIAL): Likewise.
11593         (TAYLOR_SLOW): Likewise.
11594         (__sin): Likewise.
11595         (__cos): Likewise.
11596         (slow1): Likewise.
11597         (slow2): Likewise.
11598         (sloww): Likewise.
11599         (sloww1); Likewise.
11600         (sloww2): Likewise.
11601         (bsloww1): Likewise.
11602         (bsloww2): Likewise.
11603         (cslow2): Likewise.
11604         (csloww): Likewise.
11605         (csloww1): Likewise.
11606         (csloww2): Likewise.
11607
11608 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11609
11610         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11611         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11612         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11613         * malloc/hooks.c (realloc_check): Likewise.
11614
11615         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11616         * malloc/arena.c: Remove PER_THREAD conditional.
11617         [!PER_THREAD]: Remove code.
11618         (ptmalloc_unlock_all2): Likewise.
11619         (ptmalloc_init): Likewise.
11620         (_int_new_arena): Likewise.
11621         (arena_get2): Likewise.
11622         * malloc/hooks.c (__malloc_get_state): Likewise.
11623         (__malloc_set_state): Likewise.
11624         * malloc/malloc.c: Likewise.
11625         (struct malloc_state): Likewise.
11626         (struct malloc_par): Likewise.
11627         (__libc_realloc): Likewise.
11628         (__libc_mallopt): Likewise.
11629
11630 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11631
11632         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11633
11634 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11635
11636         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11637         macro to a function.  Check for zero perturb_byte.
11638         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11639
11640         * malloc/malloc.c: (force_reg): Remove.
11641         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11642         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11643         force_reg by atomic_forced_read.
11644         * malloc/arena.c (ptmalloc_init): Likewise.
11645         * malloc/hooks.c (top_check): Likewise.
11646
11647 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11648
11649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11650
11651 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11652
11653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11654
11655 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11656
11657         * math/auto-libm-test-in: Add tests of lgamma.
11658         * math/auto-libm-test-out: Regenerated.
11659         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11660         (M_LOG_2_SQRT_PIl): Likewise.
11661         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11662         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11663         mpfr_f_f1.
11664         (func_calc_desc): Add mpfr_f_f1 union field.
11665         (ARGS1): New macro.
11666         (ARGS2): Likewise.
11667         (ARGS3): Likewise.
11668         (ARGS4): Likewise.
11669         (RET1): Likewise.
11670         (RET2): Likewise.
11671         (CALC): Likewise.
11672         (FUNC): Likewise.
11673         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11674         (test_functions): Add lgamma.
11675         (calc_generic_results): Handle mpfr_f_f1.
11676         * sysdeps/i386/fpu/libm-test-ulps: Update.
11677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11678
11679 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11680
11681         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11682         __mpn_add_n for PowerPC64/POWER7.
11683         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11684         __mpn_sub_n for PowerPC64/POWER7.
11685
11686         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11687         __mpn_addmul_1 for PowerPC64.
11688         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11689         __mpn_submul_1 for PowerPC64.
11690         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11691         for PowerPC64.
11692         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11693         for PowerPC64.
11694
11695 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11696
11697         [BZ #15089]
11698         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11699
11700 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11701
11702         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11703
11704         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11705         add multiarch folders.
11706         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11707         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11708         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11709         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11710         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11711         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11712         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11713         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11714         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11715         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11716         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11723
11724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11725         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11727         New file.
11728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11729         New file.
11730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11731         multiarch __ieee754_hypot for PowerPC32.
11732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11733         New file.
11734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11735         New file.
11736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11737         multiarch __ieee754_hypotf for PowerPC32.
11738
11739         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11740         long_double_symbol only if __logbl is defined.
11741         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11742         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11743         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11744         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11746         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11747         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11748         path for implementation.
11749         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11750         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11752         logb, and logbl multiarch implementations for PowerPC32.
11753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11754         file.
11755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11756         file.
11757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11758         multiarch logb for PowerPC32.
11759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11760         file.
11761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11762         file.
11763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11764         multiarch logbf for PowerPC32.
11765         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11767         file.
11768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11769         multiarch logbl implementation for PowerPC32.
11770
11771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11772         and modff multiarch implementations.
11773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11774         New file.
11775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11776         New file.
11777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11778         multiarch modf for PowerPC32.
11779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11780         New file.
11781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11782         New file.
11783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11784         multiarch modff for PowerPC32.
11785
11786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11787         and lrintf multiarch implementations.
11788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11789         New file.
11790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11791         New file.
11792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11793         multiarch lrint for PowerPC32.
11794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11795         file: multiarch lrintf for PowerPC32.
11796
11797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11798         and lroundf multiarch implementations.
11799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11800         New file.
11801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11802         New file.
11803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11804         New file.
11805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11806         multiarch lround for PowerPC32.
11807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11808         file: multiarch lroundf for PowerPC32.
11809
11810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11811         copysign and copysignf multiarch implementations.
11812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11813         New file.
11814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11815         New file.
11816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11817         file: multiarch copysign for PowerPC32.
11818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11819         file: multiarch copysignf for PowerPC32.
11820
11821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11822         and truncf multiarch implementations.
11823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11824         New file.
11825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11826         file.
11827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11828         multiarch trunc for PowerPC32.
11829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11830         New file.
11831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11832         New file.
11833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11834         multiarch truncf for PowerPC32.
11835
11836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11837         and roundf multiarch implementations.
11838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11839         New file.
11840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11841         file.
11842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11843         multiarch round for PowerPC32.
11844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11845         New file.
11846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11847         New file.
11848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11849         multiarch roundf for PowerPC32.
11850
11851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11852         and floorf multiarch implementations.
11853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11854         New file.
11855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11856         file.
11857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11858         multiarch floor for PowerPC32.
11859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11860         New file.
11861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11862         New file.
11863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11864         multiarch floorf for PowerPC32.
11865
11866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11867         and ceilf multiarch implementations.
11868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11869         New file.
11870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11871         file.
11872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11873         multiarch ceil for PowerPC32.
11874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11875         New file.
11876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11877         file.
11878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11879         multiarch ceilf for PowerPC32.
11880
11881         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11882         is defined.
11883         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11884         FINITEF is defined.
11885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11886         and finitef multiarch implementations.
11887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11888         New file.
11889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11890         file.
11891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11892         multiarch finite for PowerPC32.
11893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11894         New file.
11895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11896         file: multiarch finitef for PowerPC32.
11897
11898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11899         and isinff multiarch implementations.
11900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11901         file.
11902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11903         file.
11904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11905         multiarch isinf for PowerPC32.
11906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11907         New file.
11908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11909         multiarch isinff for PowerPC32.
11910
11911         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11912         alias when __isnan is defined.
11913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11914         and isnanf multiarch implementations.
11915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11916         file.
11917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11918         file.
11919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11920         file.
11921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11922         file.
11923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11924         multiarch isnan for PowerPC32.
11925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11926         New file.
11927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11928         New file.
11929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11930         multiarch isnanf for PowerPC32.
11931
11932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11933         and sqrtf multiarch implementations.
11934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11935         file.
11936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11937         file.
11938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11939         multiarch sqrt for PowerPC32.
11940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11941         file.
11942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11943         file.
11944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11945         multiarch sqrtf for PowerPC32.
11946
11947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11948         and llroundf multiarch implementations.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11950         New file.
11951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11952         New file.
11953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11954         New file.
11955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11956         file: multiarch llround for PowerPC32.
11957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11958         file: multiarch llroundf for PowerPC32.
11959
11960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11961         multiarch PowerPC32 fpu implementations.
11962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11963         New file.
11964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11965         New file.
11966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11967         multiarch llrint for PowerPC32.
11968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11969         New file.
11970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11971         New file.
11972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11973         file.
11974
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11976
11977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11978         file.
11979         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11980         file.
11981         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11982         file.
11983         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11984         multiarch wordcopy for PPC32.
11985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11986         wordcopy objects.
11987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11988         (__libc_ifunc_impl_list): Likewise.
11989         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11990         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11991         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11992         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11993         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11994         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11995
11996         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11998         file.
11999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12000         file.
12001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12002         file.
12003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12004         multiarch wcscpy for PPC32.
12005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12006         multiarch objects.
12007         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12008         (__libc_ifunc_impl_list): Likewise.
12009         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12010         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12011         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12012         sysdeps/powerpc/power6/wcscpy.c.
12013
12014         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12016         file.
12017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12018         file.
12019         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12020         file.
12021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12022         multiarch wcsrchr for PPC32.
12023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12024         multiarch objects.
12025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12026         (__libc_ifunc_impl_list): Likewise.
12027         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12028         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12029         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12030         sysdeps/powerpc/power6/wcsrchr.c.
12031
12032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12033         file.
12034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12035         file.
12036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12037         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12038         multiarch wcschr for PPc32.
12039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12040         multiarch objects.
12041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12042         (__libc_ifunc_impl_list): Likewise.
12043         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12044         * sysdeps/powerpc/power6/wcschr.c: ... to here.
12045         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12046         sysdeps/powerpc/power6/wcschr.c.
12047
12048         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12049         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12050         file.
12051         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12052         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12053         file: multiarch strchr for PPC32.
12054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12055         multiarch objects.
12056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12057         (__libc_ifunc_impl_list): Likewise.
12058
12059         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12060         name.
12061         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12062         file.
12063         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12064         file.
12065         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12066         multiarch strchrnul for PPC32.
12067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12068         multiarch objects.
12069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12070         (__libc_ifunc_impl_list): Likewise.
12071
12072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12073         file.
12074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12075         multiarch strncasecmp for PPC32.
12076         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12077         file.
12078         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12079         multiarch strncasecmp_l for PPC32.
12080         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12081         strncasecmp multiarch objects.
12082         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12083         (__libc_ifunc_impl_list): Likewise.
12084
12085         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12086         file.
12087         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12088         multiarch strncasecmp for PPC32.
12089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12090         New file.
12091         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12092         multiarch strcasecmp_l for PPC32.
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12094         multiarch objects.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12096         (__libc_ifunc_impl_list): Likewise.
12097
12098         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12099         file.
12100         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12101         file.
12102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12103         multiarch strncmp for PPC32.
12104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12105         multiarch objects.
12106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12107         (__libc_ifunc_impl_list): Likewise.
12108
12109         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12110         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12111         file.
12112         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12113         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12115         multiarch objects.
12116         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12117         (__libc_ifunc_impl_list): Likewise.
12118
12119         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12120         file.
12121         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12122         file.
12123         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12125         multiarch objects.
12126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12127         (__libc_ifunc_impl_list): Likewise.
12128
12129         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12130         file.
12131         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12132         file.
12133         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12134         multiarch rawmemchr for PPC32.
12135         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12136         multiarch objects.
12137         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12138         (__libc_ifunc_impl_list): Likewise.
12139
12140         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12141         file.
12142         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12143         file.
12144         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12145         file: memrchr multiarch for PPC32.
12146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12147         multiarch objects.
12148         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12149         (__libc_ifunc_impl_list): Likewise.
12150
12151         * string/memchr.c (__memchr): Using macro to redefine symbol name.
12152         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12153         file.
12154         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12155         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12156         multiarch memchr for PPC32.
12157         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12158         multiarch objects.
12159         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12160         (__libc_ifunc_impl_list): Likewise.
12161
12162         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12163         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12164         file.
12165         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12166         file.
12167         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12168         file: multiarch mempcpy for PPC32.
12169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12170         multiarch objects.
12171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12172         (__libc_ifunc_impl_list): Likewise.
12173
12174         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12175         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12176         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12177         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12178         multiarch bzero for PPC32.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12180         file.
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12182         file.
12183         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12184         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12185         file: multiarch memset for PPC32.
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12188         memset multiarch objects.
12189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12190         (__libc_ifunc_impl_list): Likewise.
12191
12192         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12193         file.
12194         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12195         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12196         memcmp for PPC32.
12197         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12199         multiarch objects.
12200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12201         (__libc_ifunc_impl_list): Likewise.
12202
12203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12205         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12206         file.
12207         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12208         file.
12209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12210         file.
12211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12212         multiarch memcpy for PPC32.
12213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12214         multiarch objects.
12215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12216         (__libc_ifunc_impl_list): Likewise.
12217
12218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12219         support multiarch for POWER/PPC32.
12220         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12221         Likewise.
12222         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12224         Implies file to make multiarch folder appers before the fpu and
12225         default folder for power4 configuration.
12226
12227 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12228
12229         * scripts/bench.pl: Append volatile keyword to type.
12230
12231 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12232
12233         * sysdeps/sh/sotruss-lib.c: New file.
12234         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12235
12236 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12237
12238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12239
12240 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
12241
12242         [BZ #6810]
12243         * math/w_tgamma.c: Include <errno.h>.
12244         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
12245         * math/w_tgammaf.c: Include <errno.h>.
12246         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
12247         * math/w_tgammal.c: Include <errno.h>.
12248         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
12249         * math/auto-libm-test-in: Do not allow missing errno on tgamma
12250         underflow.  Add more tgamma tests.
12251         * math/auto-libm-test-out: Regenerated.
12252         * sysdeps/i386/fpu/libm-test-ulps: Update.
12253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12254
12255         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12256         sin, sinh, tan, tanh, tgamma, y0 and y1.
12257         * math/auto-libm-test-out: Regenerated.
12258         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12259         (TEST_COND_x86): Likewise.
12260         (M_E2l): Remove macro.
12261         (M_E3l): Likewise.
12262         (M_2_SQRT_PIl): Likewise.
12263         (M_SQRT_PIl): Likewise.
12264         (M_1_DIV_El): Likewise.
12265         (log_test_data): Use AUTO_TESTS_f_f.
12266         (log10_test_data): Likewise.
12267         (log1p_test_data): Likewise.
12268         (log2_test_data): Likewise.
12269         (sin_test_data): Likewise.
12270         (sin_tonearest_test_data): Likewise.
12271         (sin_towardzero_test_data): Likewise.
12272         (sin_downward_test_data): Likewise.
12273         (sin_upward_test_data): Likewise.
12274         (sinh_test_data): Likewise.
12275         (sinh_tonearest_test_data): Likewise.
12276         (sinh_towardzero_test_data): Likewise.
12277         (sinh_downward_test_data): Likewise.
12278         (sinh_upward_test_data): Likewise.
12279         (tan_test_data): Likewise.
12280         (tan_tonearest_test_data): Likewise.
12281         (tan_towardzero_test_data): Likewise.
12282         (tan_downward_test_data): Likewise.
12283         (tan_upward_test_data): Likewise.
12284         (tanh_test_data): Likewise.
12285         (tgamma_test_data): Likewise.
12286         (y0_test_data): Likewise.
12287         (y1_test_data): Likewise.
12288         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12289         (special_real_inputs): Add pi/4.
12290         * sysdeps/i386/fpu/libm-test-ulps: Update.
12291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292
12293 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12294
12295         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12296         "longjmp_target" static probes.
12297         (__longjmp): Rename to __longjmp_symbol.
12298         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12299         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12300         on which longjmp to generate.
12301         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12302         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12303         probe.
12304         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12305         (__sigjmp_save): Rename to __sigjmp_save_symbol.
12306         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12307         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12308         and __sigjmp_save_symbol based on which sigsetjmp to generated.
12309         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12311         __longjmp_symbol based on which __longjmp to generate.
12312         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12313         probe.
12314         (setjmp): Rename to setjmp_symbol.
12315         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12316         (_setjmp): Rename to _setjmp_symbol.
12317         (__sigsetjmp): Rename to __sigsetjmp_symbol.
12318         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12319         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12320         which setjmp to generate.
12321         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12322         "longjmp_target" static probes.
12323
12324 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12325
12326         * benchtests/README: Add note about output arguments.
12327         * benchtests/bench-sincos.c: Remove file.
12328         * benchtests/sincos-inputs: New file.
12329         * scripts/bench.pl: Identify output arguments and define
12330         static variables for them.
12331
12332         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12333
12334         [BZ #15941]
12335         * Makefile (INSTALL): Add install-plain.texi as the primary
12336         dependency.
12337         * manual/install-plain.texi: New file.
12338         * manual/install.texi: Include node directive only for
12339         non-plaintext output.
12340
12341 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12342
12343         * stdlib/longlong.h: Update from GCC.
12344
12345         [BZ #6807]
12346         [BZ #15901]
12347         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12348         * math/w_j0f.c (y0f): Likewise.
12349         * math/w_j0l.c (__y0l): Likewise.
12350         * math/w_j1.c (y1): Likewise.
12351         * math/w_j1f.c (y1f): Likewise.
12352         * math/w_j1l.c (__y1l): Likewise
12353         * math/w_jn.c (yn): Likewise.
12354         * math/w_jnf.c (ynf): Likewise.
12355         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12356         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12357         value for Bessel function domain errors outside _SVID_ mode.
12358         Adjust sign of return value for yn (negative integer, 0).
12359         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12360         by zero in return for negative x and set sign appropriately for
12361         negative n.
12362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12363         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12364         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12365         expectations in error cases.
12366         (y1_test_data): Likewise.
12367         (yn_test_data): Likewise.
12368         * sysdeps/i386/fpu/libm-test-ulps: Update.
12369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12370
12371 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12372
12373         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12374         "64" to "64-v1".  Add "64-v2".
12375         (abi-64-options): Rename to ...
12376         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12377         (abi-64-condition): Rename to ...
12378         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12379         (abi-64-ld-soname): Rename to ...
12380         (abi-64-v1-ld-soname): ... this.
12381         (abi-64-v2-options): Define.
12382         (abi-64-v2-condition): Likewise.
12383         (abi-64-v2-ld-soname): Likewise.
12384         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12385         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12389
12390 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12391             Alan Modra  <amodra@gmail.com>
12392
12393         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12394         New versions for use with the ELFv2 ABI.
12395         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12396         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12397         declaration.
12398         (struct La_ppc64v2_retval): Likewise.
12399         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12400         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12401         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12402         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12403         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12404         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12405         Do not save or restore CR.
12406         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12407         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12408         return values for ELFv2 ABI.  Fix location of FPR return registers.
12409         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12410         updated values for _CALL_ELF == 2.
12411         (La_regs, La_retval, int_retval): Likewise.
12412
12413 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12414
12415         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12416         (FRAME_MIN_SIZE_PARM): Likewise.
12417         (FRAME_BACKCHAIN): Likewise.
12418         (FRAME_CR_SAVE): Likewise.
12419         (FRAME_LR_SAVE): Likewise.
12420         (FRAME_TOC_SAVE): Likewise.
12421         (FRAME_PARM_SAVE): Likewise.
12422         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12423         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12424         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12425         (call_mcount_parm_offset): New macro.
12426         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12427         (PROF): Use symbolic stack frame offsets.
12428         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12429         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12430         Redefine in terms of FRAME_MIN_SIZE.
12431         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12432         (_dl_profile_resolve): Likewise.  Update comment.
12433         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12434         symbols stack frame offsets.
12435         (__sigsetjmp): Likewise.
12436         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12437         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12438         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12439         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12440
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12442         (FRAME_BACKCHAIN): Remove.
12443         (FRAME_CR_SAVE): Likewise.
12444         (FRAME_LR_SAVE): Likewise.
12445         (FRAME_COMPILER_DW): Likewise.
12446         (FRAME_LINKER_DW): Likewise.
12447         (FRAME_TOC_SAVE): Likewise.
12448         (FRAME_PARM_SAVE): Likewise.
12449         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12450         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12451         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12453         (CHECK_SP): Use symbolic stack frame offsets.
12454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12455         zone" instead of caller's parameter save area for temp storage.
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12457         Likewise.  Also, use symbolic stack frame offsets.
12458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12459         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12460         our own stack frame instead of the caller's.
12461         (__socket): Use symbolic stack frame offsets.
12462
12463 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12464             Alan Modra  <amodra@gmail.com>
12465
12466         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12467         Define.
12468         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12469         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12470         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12471         New function.
12472         (elf_machine_fixup_plt): Call it.
12473         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12474         reloc arguments.
12475         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12477         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12478         r2 before calling target.
12479
12480 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12481             Alan Modra  <amodra@gmail.com>
12482
12483         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12484         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12485         versions of macros to support ELFv2 ABI.
12486         (LOCALENTRY): New macro.
12487         (ENTRY, EALIGN): Use it.
12488         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12489         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12490         fall through into ENTRY entry point.
12491         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12492         Only define if _CALL_ELF != 2.
12493
12494         (elf_machine_matches_host): Verify ABI version matches.
12495         (RTLD_START): Use LOCALENTRY.
12496         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12497         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12498         (PLT_ENTRY_WORDS): New macro.
12499         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12500         (elf_machine_runtime_setup): Support ELFv2 ABI.
12501         (elf_machine_fixup_plt): Likewise.
12502         (elf_machine_plt_conflict): Likewise.
12503         (resolve_ifunc): Likewise.
12504         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12505         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12506         Likewise.
12507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12508         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12510         (makecontext): Support ELFv2 ABI.
12511         * elf/elf.h (EF_PPC64_ABI): Define.
12512
12513 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12514
12515         * sysdeps/powerpc/powerpc64/sysdep.h
12516         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12517         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12518         (ENTRY) [ASSEMBLER]: ... but instead here ...
12519         (EALIGN) [ASSEMBLER]: ... and here.
12520         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12521         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12522         (ENTRY_2) [!ASSEMBLER]: Use it.
12523         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12524         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12525         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12526         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12527         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12529         Use PPC64_LOAD_FUNCPTR.
12530
12531         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12532
12533 2013-12-04  Alan Modra  <amodra@gmail.com>
12534
12535         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12536         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12537         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12538         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12539
12540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12541         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12542         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12543         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12544         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12545         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12546
12547 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12548
12549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12550         (__makecontext): Fix incorrect CFI when backtracing out of
12551         context created via makecontext.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12553         (__setcontext): Fix incorrect CFI during switch to new context.
12554         (__novec_setcontext): Likewise.
12555
12556 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12557
12558         [BZ #4772]
12559         * time/strptime_l.c (__strptime_internal): Allow modifiers
12560         in strptime.
12561         * time/tst-strptime.c (day_tests): Add testcase.
12562
12563 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12564
12565         * scripts/bench.pl: Skip over blank lines.
12566
12567 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12568
12569         [BZ #926]
12570         * manual/time.texi (Calendar Time): Clarify what timezone functions
12571         use.
12572
12573 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12574
12575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12576
12577 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12578
12579         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12580         implementation.
12581         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12582         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12583         * debug/memset_chk.c (__memset_chk): Likewise.
12584         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12585         * debug/strncpy_chk.c: Likewise.
12586
12587 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12588
12589         [BZ #15268]
12590         [BZ #15425]
12591         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12592         (__ieee754_exp): For possibly underflowing results, check size of
12593         result and force underflow exception if required.
12594         * math/auto-libm-test-in: Add more tests of exp.
12595         * math/auto-libm-test-out: Regenerated.
12596         * sysdeps/i386/fpu/libm-test-ulps: Update.
12597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12598
12599         [BZ #16283]
12600         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12601         * math/w_exp2f.c (__exp2f): Likewise.
12602         * math/w_exp2l.c (__exp2l): Likewise.
12603         * math/auto-libm-test-in: Do not allow missing errno on exp2
12604         underflow.
12605         * math/auto-libm-test-out: Regenerated.
12606
12607 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12608
12609         [BZ #16274]
12610         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12611         handle filename validation.
12612         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12613         (do_open): Delete.
12614
12615 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12616
12617         [BZ #6786]
12618         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12619         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12620         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12621         <float.h>.
12622         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12623         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12624         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12625         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12626         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12627         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12628         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12629         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12630         Add more erfc tests.
12631         * math/auto-libm-test-out: Regenerated.
12632         * sysdeps/i386/fpu/libm-test-ulps: Update.
12633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12634
12635         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12636         exp2, expm1, j0 and j1.
12637         * math/auto-libm-test-out: Regenerated.
12638         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12639         (erfc_test_data): Likewise.
12640         (exp_test_data): Likewise.
12641         (exp_tonearest_test_data): Likewise.
12642         (exp_towardzero_test_data): Likewise.
12643         (exp_downward_test_data): Likewise.
12644         (exp_upward_test_data): Likewise.
12645         (exp10_test_data): Likewise.
12646         (exp2_test_data): Likewise.
12647         (expm1_test_data): Likewise.
12648         (j0_test_data): Likewise.
12649         (j1_test_data): Likewise.
12650         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12651         (input_flag_type): Add flag_xfail_rounding.
12652         (input_flags): Add xfail-rounding.
12653         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12654         (output_for_one_input_case): Handle flag_xfail_rounding.
12655         * sysdeps/i386/fpu/libm-test-ulps: Update.
12656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12657
12658 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12659
12660         [BZ #16289]
12661         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12662         division by 0.
12663
12664 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12665
12666         [BZ #16195]
12667         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12668         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12669         (STAP_PROBE0): New macro.
12670         (STAP_PROBE1): Likewise.
12671         (STAP_PROBE2): Likewise.
12672         (STAP_PROBE3): Likewise.
12673         (STAP_PROBE4): Likewise.
12674
12675 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12676
12677         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12678
12679 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12680
12681         * benchtests/Makefile (bench): Add sqrt.
12682         (LDLIBS-bench-sqrt): New.
12683         * benchtests/sqrt-input: New.
12684
12685 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12686
12687         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12688         (GAIH_EAI): Likewise.
12689         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12690         (gaih_inet): Likewise.
12691         (getaddrinfo): Don't use GAIH_EAI.
12692
12693         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12694         (struct gaih): Remove definition.
12695
12696 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12697
12698         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12699         Use HERRNOP directly.
12700
12701 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12702
12703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12704
12705 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12706
12707         * math/gen-auto-libm-tests.c (test_functions): Add more
12708         single-argument functions.
12709         (special_fill_pi_2): New function.
12710         (special_fill_minus_pi_2): Likewise.
12711         (special_fill_pi_6): Likewise.
12712         (special_fill_minus_pi_6): Likewise.
12713         (special_fill_pi_3): Likewise.
12714         (special_fill_2pi_3): Likewise.
12715         (special_fill_e): Likewise.
12716         (special_fill_1_e): Likewise.
12717         (special_fill_e_minus_1): Likewise.
12718         (special_real_inputs): Add more special inputs.
12719         (output_for_one_input_case): Do not require ERANGE on underflow to
12720         zero if round-to-nearest result does not underflow to zero, unless
12721         exact results required.
12722         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12723         atan, atanh, cbrt, cos and cosh.
12724         * math/auto-libm-test-out: Regenerated.
12725         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12726         (acos_tonearest_test_data): Likewise.
12727         (acos_towardzero_test_data): Likewise.
12728         (acos_downward_test_data): Likewise.
12729         (acos_upward_test_data): Likewise.
12730         (acosh_test_data): Likewise.
12731         (asin_test_data): Likewise.
12732         (asin_tonearest_test_data): Likewise.
12733         (asin_towardzero_test_data): Likewise.
12734         (asin_upward_test_data): Likewise.
12735         (asinh_test_data): Likewise.
12736         (atan_test_data): Likewise.
12737         (atanh_test_data): Likewise.
12738         (cbrt_test_data): Likewise.
12739         (cos_test_data): Likewise.
12740         (cos_tonearest_test_data): Likewise.
12741         (cos_towardzero_test_data): Likewise.
12742         (cos_downward_test_data): Likewise.
12743         (cos_upward_test_data): Likewise.
12744         (cosh_test_data): Likewise.
12745         (cosh_tonearest_test_data): Likewise.
12746         (cosh_towardzero_test_data): Likewise.
12747         (cosh_downward_test_data): Likewise.
12748         (cosh_upward_test_data): Likewise.
12749         * sysdeps/i386/fpu/libm-test-ulps: Update.
12750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12751
12752 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12753
12754         [BZ #6787]
12755         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12756         * math/w_exp10f.c (__exp10f): Likewise.
12757         * math/w_exp10l.c (__exp10l): Likewise.
12758         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12759         errno settings in existing tests.
12760
12761         [BZ #14032]
12762         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12763         precision control set to double precision.
12764         * sysdeps/i386/fpu/w_sqrt.c: New file.
12765         * math/auto-libm-test-in: Add more tests.
12766         * math/auto-libm-test-out: Update.
12767
12768         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12769         (sqrt_test_tonearest): New function.
12770         (sqrt_towardzero_test_data): New variable.
12771         (sqrt_test_towardzero): New function.
12772         (sqrt_downward_test_data): New variable.
12773         (sqrt_test_downward): New function.
12774         (sqrt_upward_test_data): New variable.
12775         (sqrt_test_upward): New function.
12776         (main): Call the new functions.
12777
12778         * math/gen-auto-libm-tests.c: New file.
12779         * math/auto-libm-test-in: Likewise.
12780         * math/auto-libm-test-out: New generated file.
12781         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12782         variables.
12783         (%beautify): Add generated representations of zero.
12784         (top level): Set $auto_input and call parse_auto_input.
12785         (beautify): Remove trailing "f" from hex float constants.
12786         (parse_args): Handle XFAIL_TEST.
12787         (convert_condition): New function.
12788         (or_value): Likewise.
12789         (or_cond_value): Likewise.
12790         (generate_testfile): Handle AUTO_TESTS_* lines.
12791         (parse_auto_input): New function.
12792         * math/libm-test.inc (XFAIL_TEST): New macro.
12793         (ERRNO_UNCHANGED): Update value.
12794         (ERRNO_EDOM): Likewise.
12795         (ERRNO_ERANGE): Likewise.
12796         (IGNORE_RESULT): Likewise.
12797         (TEST_COND_flt_32): New macro.
12798         (TEST_COND_dbl_64): Likewise.
12799         (TEST_COND_ldbl_96_intel): Likewise.
12800         (TEST_COND_ldbl_96_m68k): Likewise.
12801         (TEST_COND_ldbl_128): Likewise.
12802         (TEST_COND_ldbl_128ibm): Likewise.
12803         (TEST_COND_long32): Likewise.
12804         (TEST_COND_long64): Likewise.
12805         (TEST_COND_before_rounding): Likewise.
12806         (TEST_COND_after_rounding): Likewise.
12807         (enable_test): Handle XFAIL_TEST flag.
12808         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12809         with finite results.
12810         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12811         auto-libm-test-out.
12812
12813 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12814             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12815
12816         [BZ #16214]
12817         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12818         __tls_get_addr_internal instead of __tls_get_offset in order to
12819         avoid GOT pointer dependency.  Make rtld export
12820         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12821         __tls_get_addr since we are a __tls_get_offset platform.
12822         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12823         GOT pointer being set up before.
12824         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12825
12826 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12827
12828         * manual/math.texi (Errors in Math Functions): Document accuracy
12829         goals.
12830
12831         [BZ #15004]
12832         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12833         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12834         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12835         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12836         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12837         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12838         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12839         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12840         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12841         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12842         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12843         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12844         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12845         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12846         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12847         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12848
12849         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12850         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12851         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12852         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12853         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12854         Likewise.
12855         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12856         Likewise.
12857         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12858         Likewise.
12859         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12860         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12861         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12862         atomic-feupdateenv and flt-rounds.
12863         * sysdeps/powerpc/nofpu/Versions (libc): Add
12864         __atomic_feholdexcept, __atomic_feclearexcept,
12865         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12866         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12867         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12868         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12869         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12870         here.
12871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12872         Update.
12873
12874         * manual/arith.texi (FP Exceptions): Document that exceptions may
12875         not be raised when matherr is used.
12876         (Math Error Reporting): Document overflow in directed rounding
12877         modes.  Document that errno may not be set when finite values are
12878         returned on overflow.  Document intent to set errno on underflow
12879         only for underflow to zero.
12880
12881         [BZ #16271]
12882         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12883         round-to-nearest then adjust result for other rounding modes.
12884         * include/fenv.h (fegetround): Use libm_hidden_proto.
12885         * math/fegetround.c (fegetround): Use libm_hidden_def.
12886         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12887         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12888         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12889         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12890         Likewise.
12891         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12892         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12893         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12894         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12895
12896 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12897
12898         [BZ #16077]
12899         * nss/Versions (libnss_files): Add
12900         _nss_files_gethostbyname3_r.
12901         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12902         New function.
12903         (HOST_DB_LOOKUP): Remove macro.
12904         (_nss_files_gethostbyname_r): Implement function without the
12905         HOST_DB_LOOKUP macro.
12906         (_nss_files_gethostbyname2_r): Likewise.
12907
12908 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12909
12910         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12911
12912 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12913
12914         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12915         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12916         warning.
12917
12918 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12919
12920         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12921         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12922         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12923         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12924         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12925         __fe_nomask_env_priv and attribute_hidden.
12926         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12927         (libc_feupdateenv_test_ppc): Likewise.
12928         (libc_feresetround_ppc): Likewise.
12929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12930         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12931         compat_symbol macro.
12932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12933         (__fe_nomask_env): Likewise.
12934         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12935
12936 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12937
12938         * string/Makefile: Remove ifunc tests.
12939         * string/test-string.h: Define TEST_IFUNC.
12940         * string/test-bcopy-ifunc.c: Remove.
12941         * string/test-bzero-ifunc.c: Likewise.
12942         * string/test-memccpy-ifunc.c: Likewise.
12943         * string/test-memchr-ifunc.c: Likewise.
12944         * string/test-memcmp-ifunc.c: Likewise.
12945         * string/test-memcpy-ifunc.c: Likewise.
12946         * string/test-memmem-ifunc.c: Likewise.
12947         * string/test-memmove-ifunc.c: Likewise.
12948         * string/test-mempcpy-ifunc.c: Likewise.
12949         * string/test-memrchr-ifunc.c: Likewise.
12950         * string/test-memset-ifunc.c: Likewise.
12951         * string/test-rawmemchr-ifunc.c: Likewise.
12952         * string/test-stpcpy-ifunc.c: Likewise.
12953         * string/test-stpncpy-ifunc.c: Likewise.
12954         * string/test-strcasecmp-ifunc.c: Likewise.
12955         * string/test-strcasestr-ifunc.c: Likewise.
12956         * string/test-strcat-ifunc.c: Likewise.
12957         * string/test-strchr-ifunc.c: Likewise.
12958         * string/test-strchrnul-ifunc.c: Likewise.
12959         * string/test-strcmp-ifunc.c: Likewise.
12960         * string/test-strcpy-ifunc.c: Likewise.
12961         * string/test-strcspn-ifunc.c: Likewise.
12962         * string/test-strlen-ifunc.c: Likewise.
12963         * string/test-strncasecmp-ifunc.c: Likewise.
12964         * string/test-strncat-ifunc.c: Likewise.
12965         * string/test-strncmp-ifunc.c: Likewise.
12966         * string/test-strncpy-ifunc.c: Likewise.
12967         * string/test-strnlen-ifunc.c: Likewise.
12968         * string/test-strpbrk-ifunc.c: Likewise.
12969         * string/test-strrchr-ifunc.c: Likewise.
12970         * string/test-strspn-ifunc.c: Likewise.
12971         * string/test-strstr-ifunc.c: Likewise.
12972
12973 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12974
12975         * benchtests/Makefile: Remove ifunc tests.
12976         * benchtests/bench-string.h: Define TEST_IFUNC.
12977         * benchtests/bench-bcopy-ifunc.c: Remove.
12978         * benchtests/bench-bzero-ifunc.c: Likewise.
12979         * benchtests/bench-memccpy-ifunc.c: Likewise.
12980         * benchtests/bench-memchr-ifunc.c: Likewise.
12981         * benchtests/bench-memcmp-ifunc.c: Likewise.
12982         * benchtests/bench-memcpy-ifunc.c: Likewise.
12983         * benchtests/bench-memmem-ifunc.c: Likewise.
12984         * benchtests/bench-memmove-ifunc.c: Likewise.
12985         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12986         * benchtests/bench-memrchr-ifunc.c: Likewise.
12987         * benchtests/bench-memset-ifunc.c: Likewise.
12988         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12989         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12990         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12991         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12992         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12993         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12994         * benchtests/bench-strcat-ifunc.c: Likewise.
12995         * benchtests/bench-strchr-ifunc.c: Likewise.
12996         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12997         * benchtests/bench-strcmp-ifunc.c: Likewise.
12998         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12999         * benchtests/bench-strcpy-ifunc.c: Likewise.
13000         * benchtests/bench-strcspn-ifunc.c: Likewise.
13001         * benchtests/bench-strlen-ifunc.c: Likewise.
13002         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13003         * benchtests/bench-strncat-ifunc.c: Likewise.
13004         * benchtests/bench-strncmp-ifunc.c: Likewise.
13005         * benchtests/bench-strncpy-ifunc.c: Likewise.
13006         * benchtests/bench-strnlen-ifunc.c: Likewise.
13007         * benchtests/bench-strpbrk-ifunc.c: Likewise.
13008         * benchtests/bench-strrchr-ifunc.c: Likewise.
13009         * benchtests/bench-strsep-ifunc.c: Likewise.
13010         * benchtests/bench-strspn-ifunc.c: Likewise.
13011         * benchtests/bench-strstr-ifunc.c: Likewise.
13012
13013 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13014
13015         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13016
13017 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
13018
13019         * resolv/netdb.h: Use __glibc_reserved instead __unused.
13020         * rt/aio.h: Likewise.
13021         * sysdeps/gnu/bits/utmp.h: Likewise.
13022         * sysdeps/gnu/bits/utmpx.h: Likewise.
13023         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13024         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13025         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13026         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13027         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13028         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13029         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13030         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13031         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13032         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13033         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13034         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13035         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13037         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13038         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13039         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13040         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13041         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13042         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13043         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13044         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13045         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13046         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13047         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13049         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13050         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13051         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13052         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13053         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13054         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13055         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13056         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13057         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13058         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13059         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13060         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13061         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13062         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13063         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13064         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13065
13066 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
13067
13068         [BZ #16245]
13069         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13070         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13071
13072 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
13073
13074         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13075         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13076         Likewise.
13077
13078 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13079
13080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13081         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13082         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13083         (__fesetround): Remove define.
13084         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13085         rounding and exceptions handling.
13086         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13087         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13088         (__fe_nomask_env): Likewise.
13089         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13090         __fegetround instead of fegetround.
13091         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13092         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13093
13094 2013-11-21  Roland McGrath  <roland@hack.frob.com>
13095
13096         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13097         it's there.
13098
13099         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13100
13101 2013-11-21  Meador Inge  <meadori@codesourcery.com>
13102
13103         [BZ #11157]
13104         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13105         (encrypt_r): Likewise.
13106         * malloc/obstack.h (obstack_free): Likewise.
13107         * posix/unistd.h (encrypt): Likewise.
13108
13109 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
13110
13111         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13112         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13113         DL_CALL_DT_FINI() that call the functions directly.
13114         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13115         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13116         * elf/dl-fini.c: Likewise.
13117
13118 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
13119
13120         * malloc/hooks.c (memalign_check): Add alignment rounding.
13121         * malloc/malloc.c (_mid_memalign): New function.
13122         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13123         Implement by calling _mid_memalign.
13124         * manual/probes.texi (Memory Allocation Probes): Remove
13125         memory_valloc_retry and memory_pvalloc_retry.
13126
13127 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13128
13129         * locale/programs/locarchive.c (open_archive): Add const
13130         qualifier to ARCHIVEFNAME and copy default fname to
13131         DEFAULT_FNAME.
13132
13133         [BZ #15601]
13134         * libio/tst-widetext.input: Rename Oriya to Odia.
13135         * locale/iso-639.def: Likewise.
13136
13137         * manual/probes.texi (Mathematical Function Probes): Add
13138         documentation for sin, cos, asin and acos probes.
13139         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13140         (__sin32): Add slowasin probe.
13141         (__cos32): Add slowacos probe.
13142         (__mpsin): Add slowsin probe.
13143         (__mpcos): Add slowcos probe.
13144
13145 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
13146
13147         [BZ #15483]
13148         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13149         thread-local __sim_exceptions_thread and global
13150         __sim_exceptions_global.
13151         (__sim_disabled_exceptions): Change to thread-local
13152         __sim_disabled_exceptions_thread and global
13153         __sim_disabled_exceptions_global.
13154         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13155         and global __sim_round_mode_global.
13156         (__simulate_exceptions): Use thread-local floating-point state and
13157         set global state from it as needed.
13158         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13159         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13160         __sim_round_mode_thread.
13161         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13162         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13163         and global __sim_exceptions_global.
13164         (__sim_disabled_exceptions): Change to thread-local
13165         __sim_disabled_exceptions_thread and global
13166         __sim_disabled_exceptions_global.
13167         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13168         and global __sim_round_mode_global.
13169         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13170         (SIM_SET_GLOBAL): Likewise.
13171         * sysdeps/powerpc/soft-fp/sfp-machine.h
13172         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13173         __sim_round_mode_thread.
13174         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13175         __sim_disabled_exceptions_thread.
13176         (__sim_exceptions): Change to __sim_exceptions_thread.
13177         (__sim_disabled_exceptions): Change to
13178         __sim_disabled_exceptions_thread.
13179         (__sim_round_mode): Change to __sim_round_mode_thread.
13180         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13181         thread-local floating-point state and set global state from it as
13182         needed.
13183         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13184         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13185         (__sim_disabled_exceptions): Remove extern declaration.
13186         (feenableexcept): Use thread-local floating-point state and set
13187         global state from it as needed.
13188         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13189         extern declaration.
13190         (__sim_disabled_exceptions): Likewise.
13191         (__sim_round_mode): Likewise.
13192         (__fegetenv): Use thread-local floating-point state.
13193         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13194         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13195         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13196         floating-point state and set global state from it as needed.
13197         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13198         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13199         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13200         Likewise.
13201         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13202         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13203         Likewise.
13204         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13205         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13206         Use __sim_round_mode_thread.
13207         * math/test-fenv-tls.c: New file.
13208         * math/Makefile (tests): Add test-fenv-tls.
13209         ($(objpfx)test-fenv-tls): Depend on
13210         $(common-objpfx)nptl/libpthread.so.
13211
13212 2013-11-19  Andreas Schwab  <schwab@suse.de>
13213
13214         * locale/programs/locale.c (show_info): Decode wordarray elements.
13215         * locale/categories.def (LC_MONETARY): Add element for
13216         _NL_MONETARY_CRNCYSTR.
13217         * locale/C-monetary.c (conversion_rate): New variable.
13218         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13219         element.
13220
13221 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
13222
13223         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13224         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13225
13226 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13227
13228         * elf/Makefile (tst-auxv): New test.
13229         * elf/tst-auxv.c: New
13230         * elf/rtld.c (dl_main): Adjust AT_EXECFN
13231
13232 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
13233
13234         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13235         (hidden_proto): Caller changed.
13236         (hidden_tls_proto): New macro.
13237         (libc_hidden_tls_proto): Likewise.
13238         (rtld_hidden_tls_proto): Likewise.
13239         (libm_hidden_tls_proto): Likewise.
13240         (libresolv_hidden_tls_proto): Likewise.
13241         (librt_hidden_tls_proto): Likewise.
13242         (libdl_hidden_tls_proto): Likewise.
13243         (libnss_files_hidden_tls_proto): Likewise.
13244         (libnsl_hidden_tls_proto): Likewise.
13245         (libnss_nisplus_hidden_tls_proto): Likewise.
13246         (libutil_hidden_tls_proto): Likewise.
13247
13248 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
13249
13250         [BZ #10253]
13251         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13252         (decompose_rpath): Defer expansion to fillin_rpath.
13253         (_dl_init_paths): Pass linkmap to fillin_rpath.
13254
13255 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13256
13257         * benchtests/Makefile: Add strsep.
13258         * benchtests/bench-strsep.c: New file: strsep benchtest.
13259         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13260
13261 2013-11-18  Andreas Schwab  <schwab@suse.de>
13262
13263         * locale/programs/locale.c (show_info) [case byte]: Check for
13264         '\377' instead of '\177'.
13265         * locale/C-monetary.c (not_available): Always use "\377".
13266         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13267         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
13268         detect unavailable sign_posn locale elements.
13269         * locale/localeconv.c (__localeconv): For grouping and
13270         mon_grouping handle "\177" and "\377" like no grouping.
13271         (INT_ELEM): New macro.  Use it to set all numeric members.
13272         * locale/programs/ld-monetary.c (monetary_read)
13273         <tok_mon_grouping>: Normalize single -1 to the empty string.
13274         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13275         Likewise.
13276
13277 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13278
13279         [BZ #16055]
13280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13281         when we match (nil).
13282         * stdio-common/tst-sscanf.c (struct test): Add testcase.
13283
13284 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
13285
13286         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13287         (NO_TEST_INLINE): Update value.
13288         (ERRNO_UNCHANGED): Likewise.
13289         (ERRNO_EDOM): Likewise.
13290         (ERRNO_ERANGE): Likewise.
13291         (IGNORE_RESULT): Likewise.
13292         (check_float_internal): Check signs of NaN results if
13293         TEST_NAN_SIGN used.
13294         (check_complex): Pass TEST_NAN_SIGN flag through to second
13295         check_float_internal call.
13296         (copysign_test_data): Add tests with quiet NaNs as second
13297         argument.  Use TEST_NAN_SIGN.
13298         (fabs_test_data): Add test of negative quiet NaN argument.  Use
13299         TEST_NAN_SIGN.
13300         (signbit_test_data): Add tests of quiet NaN argument.
13301         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13302
13303         * math/gen-libm-test.pl (show_exceptions): Take extra argument
13304         $ignore_result.
13305         (parse_args): Handle function results specified as IGNORE.
13306         * math/libm-test.inc (IGNORE_RESULT): New macro.
13307         (check_float_internal): Do not check numerical result if flag
13308         IGNORE_RESULT set.
13309         (check_complex): Pass through IGNORE_RESULT to second
13310         check_float_internal call.
13311         (check_int): Do not check numerical result if flag IGNORE_RESULT
13312         set.
13313         (check_long): Likewise.
13314         (check_bool): Likewise.
13315         (check_longlong): Likewise.
13316         (lrint_test_data): Add tests of infinite and NaN arguments.
13317         (lrint_tonearest_test_data): Likewise.
13318         (lrint_towardzero_test_data): Likewise.
13319         (lrint_downward_test_data): Likewise.
13320         (lrint_upward_test_data): Likewise.
13321         (llrint_test_data): Likewise.
13322         (llrint_tonearest_test_data): Likewise.
13323         (llrint_towardzero_test_data): Likewise.
13324         (llrint_downward_test_data): Likewise.
13325         (llrint_upward_test_data): Likewise.
13326         (lround_test_data): Likewise.
13327         (llround_test_data): Likewise.
13328
13329         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13330         (ERRNO_UNCHANGED): Update value.
13331         (ERRNO_EDOM): Likewise.
13332         (ERRNO_ERANGE): Likewise.
13333         (NO_TEST_INLINE_FLOAT): New macro.
13334         (NO_TEST_INLINE_DOUBLE): Likewise.
13335         (enable_test): New function.
13336         (RUN_TEST_f_f): Check enable_test before running test.
13337         (RUN_TEST_2_f): Likewise.
13338         (RUN_TEST_fff_f): Likewise.
13339         (RUN_TEST_c_f): Likewise.
13340         (RUN_TEST_f_f1): Likewise.
13341         (RUN_TEST_fF_f1): Likewise.
13342         (RUN_TEST_fI_f1): Likewise.
13343         (RUN_TEST_ffI_f1): Likewise.
13344         (RUN_TEST_c_c): Likewise.
13345         (RUN_TEST_cc_c): Likewise.
13346         (RUN_TEST_f_i): Likewise.
13347         (RUN_TEST_f_i_tg): Likewise.
13348         (RUN_TEST_ff_i_tg): Likewise.
13349         (RUN_TEST_f_b): Likewise.
13350         (RUN_TEST_f_b_tg): Likewise.
13351         (RUN_TEST_f_l): Likewise.
13352         (RUN_TEST_f_L): Likewise.
13353         (RUN_TEST_fFF_11): Likewise.
13354         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13355         conditionals.
13356         (cosh_test_data): Likewise.
13357         (exp_test_data): Likewise.
13358         (expm1_test_data): Likewise.
13359         (hypot_test_data): Likewise.
13360         (pow_test_data): Likewise.
13361         (sinh_test_data): Likewise.
13362         (tanh_test_data): Likewise.
13363         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13364         flags argument.
13365
13366         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13367         tests with quiet NaN input and output.
13368         (acosh_test_data): Likewise.
13369         (asin_test_data): Likewise.
13370         (asinh_test_data): Likewise.
13371         (atan_test_data): Likewise.
13372         (atanh_test_data): Likewise.
13373         (atan2_test_data): Likewise.
13374         (cbrt_test_data): Likewise.
13375         (cos_test_data): Likewise.
13376         (cosh_test_data): Likewise.
13377         (erf_test_data): Likewise.
13378         (erfc_test_data): Likewise.
13379         (exp_test_data): Likewise.
13380         (exp10_test_data): Likewise.
13381         (exp2_test_data): Likewise.
13382         (expm1_test_data): Likewise.
13383         (hypot_test_data): Likewise.
13384         (j0_test_data): Likewise.
13385         (j1_test_data): Likewise.
13386         (jn_test_data): Likewise.
13387         (lgamma_test_data): Likewise.
13388         (log_test_data): Likewise.
13389         (log10_test_data): Likewise.
13390         (log1p_test_data): Likewise.
13391         (log2_test_data): Likewise.
13392         (pow_test_data): Likewise.
13393         (scalb_test_data): Likewise.
13394         (sin_test_data): Likewise.
13395         (sincos_test_data): Likewise.
13396         (sinh_test_data): Likewise.
13397         (tan_test_data): Likewise.
13398         (tanh_test_data): Likewise.
13399         (tgamma_test_data): Likewise.
13400         (y0_test_data): Likewise.
13401         (y1_test_data): Likewise.
13402         (yn_test_data): Likewise.
13403
13404         [BZ #16167]
13405         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13406         argument being NaN and avoid computations with second argument in
13407         that case.
13408         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13409         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13410         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13411
13412 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13413
13414         * locale/iso-639.def: Add Chitwani Tharu (the).
13415
13416 2013-11-14  Andreas Schwab  <schwab@suse.de>
13417
13418         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13419         word instead of empty string.
13420
13421 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13422
13423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13424         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13426         (__fe_nomask_env): Likewise.
13427
13428 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13429
13430         * benchtests/bench-timing.h: Include time.h.
13431
13432 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13433
13434         [BZ #15997]
13435         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13436         to 3.4.0 for x32.
13437         * sysdeps/unix/sysv/linux/configure: Regenerated.
13438
13439 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13440
13441         [BZ #16151]
13442         * stdlib/strtod_l.c (round_and_return): Do not consider
13443         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13444         exponent one less than half the least subnormal exponent.
13445         * stdlib/test-strtod-round-data: Add more tests.
13446         * stdlib/tst-strtod-round.c (tests): Regenerated.
13447
13448 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13449
13450         [BZ #14143]
13451         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13452         (__fe_mask_env): Likewise.
13453         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13454         libm_hidden_proto and add function prototype.
13455         (__fe_mask_env): Add function prototype.
13456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13457         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13459         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13461         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13462
13463 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13464
13465         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13466         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13467
13468 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13469
13470         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13471         of htab_find_slot().
13472
13473 2013-11-11  David S. Miller  <davem@davemloft.net>
13474
13475         [BZ #16150]
13476         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13477         symbol in the non-vis3 case in static builds.
13478         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13479         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13480         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13481         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13482
13483 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13484
13485         [BZ #387]
13486         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13487         it is empty.
13488
13489 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13490
13491         * benchtests/Makefile: Add bench-strtod.
13492         * benchtests/bench-strtod.c: New file: strtod benchtest
13493
13494 2013-11-11  Andreas Schwab  <schwab@suse.de>
13495
13496         [BZ #16153]
13497         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13498         terminating NUL in key length.
13499
13500 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13501
13502         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13503         Add artificial ODP entry for vDSO symbol for PPC64.
13504         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13505         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13506
13507 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13508
13509         [BZ #15374]
13510         * nss/getent.c (services_keys): Recognize services starting with digit.
13511
13512 2013-11-06  David S. Miller  <davem@davemloft.net>
13513
13514         [BZ #15985]
13515         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13516         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13517
13518 2013-11-06  Will Newton  <will.newton@linaro.org>
13519
13520         * manual/memory.texi (Malloc Examples): Remove register
13521         keyword from examples.
13522
13523 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13524
13525         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13526
13527 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13528
13529         [BZ #6981]
13530         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13531         depending on [__GCC_IEC_559 > 0].
13532         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13533         depending on [__GCC_IEC_559_COMPLEX > 0].
13534
13535 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13536
13537         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13538         to iso-639.def.
13539
13540 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13541
13542         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13543
13544 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13545
13546         [BZ #16112]
13547         * malloc/malloc (malloc_info): Do not handle first bin as
13548         special case.
13549
13550 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13551
13552         * locale/iso-639.def: Add Central Nahuatl (nhn).
13553
13554 2013-11-01  Bruno Haible  <bruno@clisp.org>
13555
13556         [BZ #7003]
13557         * manual/math.texi (BSD Random): Specify range upper bound as
13558         in POSIX.
13559
13560 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13561
13562         * locale/iso-639.def: Add Meadow Mari (mhr).
13563
13564 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13565
13566         [BZ #14752], [BZ #15763]
13567         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13568         Validate name.
13569         * rt/tst_shm.c: Add test for escaping directory.
13570
13571 2013-10-31  Andreas Schwab  <schwab@suse.de>
13572
13573         [BZ #15917]
13574         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13575         followed by 'x' as part of digit sequence.
13576         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13577
13578 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13579
13580         [BZ #16037]
13581         * configure.ac: allow GNU Make 4.0 and greater.
13582         * configure: Regenerated.
13583
13584 2013-10-30  Will Newton  <will.newton@linaro.org>
13585
13586         [BZ #16038]
13587         * malloc/hooks.c (memalign_check): Limit alignment to the
13588         maximum representable power of two.
13589         * malloc/malloc.c (__libc_memalign): Likewise.
13590         * malloc/tst-memalign.c (do_test): Add test for very
13591         large alignment values.
13592         * malloc/tst-posix_memalign.c (do_test): Likewise.
13593
13594 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13595
13596         [BZ #11087]
13597         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13598         (munmap_chunk): Likewise.
13599         (mremap_chunk): Likewise.
13600
13601 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13602
13603         [BZ #15799]
13604         * stdlib/div.c (div): Remove obsolete code.
13605         * stdlib/ldiv.c (ldiv): Likewise.
13606         * stdlib/lldiv.c (lldiv): Likewise.
13607
13608 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13609
13610         [BZ #16071]
13611         * nss/nss_files/files-XXX.c (get_contents_ret): New
13612         enumerator.
13613         (get_contents): New function.
13614         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13615
13616 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13617
13618         * configure.in: Moved to ...
13619         * configure.ac: ... here. Change reference to configure.in
13620         to configure.ac.
13621         * sysdeps/arm/preconfigure.ac: ... here.
13622         configure.in to configure.ac.
13623         * sysdeps/gnu/configure.in: Moved to ...
13624         * sysdeps/gnu/configure.ac: ... here.
13625         * sysdeps/i386/configure.in: Moved to ...
13626         * sysdeps/i386/configure.ac: ... here.
13627         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13628         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13629         * sysdeps/mach/configure.in: Moved to ...
13630         * sysdeps/mach/configure.ac: ... here.
13631         * sysdeps/mach/hurd/configure.in: Moved to ...
13632         * sysdeps/mach/hurd/configure.ac: ... here.
13633         * sysdeps/powerpc/configure.in: Moved to ...
13634         * sysdeps/powerpc/configure.ac: ... here.
13635         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13636         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13637         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13638         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13639         * sysdeps/s390/s390-32/configure.in: Moved to ...
13640         * sysdeps/s390/s390-32/configure.ac: ... here.
13641         * sysdeps/s390/s390-64/configure.in: Moved to ...
13642         * sysdeps/s390/s390-64/configure.ac: ... here.
13643         * sysdeps/sh/configure.in: Moved to ...
13644         * sysdeps/sh/configure.ac: ... here.
13645         * sysdeps/sparc/configure.in: Moved to ...
13646         * sysdeps/sparc/configure.ac: ... here.
13647         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13648         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13649         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13650         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13651         * sysdeps/x86_64/configure.in: Moved to ...
13652         * sysdeps/x86_64/configure.ac: ... here.
13653         * sysdeps/x86_64/preconfigure.in: Moved to ...
13654         * sysdeps/x86_64/preconfigure.ac: ... here.
13655         * aclocal.m4: Change reference to configure.in to configure.ac.
13656         * config.h.in: Likewise.
13657         * manual/install.texi: Likewise.
13658         * manual/maint.texi: Likewise.
13659         * Makefile: Likewise.
13660         * malloc/Makefile: Likewise.
13661         * nscd/Makefile: Likewise.
13662         * Makeconfig: Change reference to configure.in and
13663         preconfigure.in to configure.ac and preconfigure.ac
13664         respectively.
13665         * INSTALL: Regenerated.
13666         * configure: Likewise.
13667         * sysdeps/gnu/configure: Likewise.
13668         * sysdeps/i386/configure: Likewise.
13669         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13670         * sysdeps/mach/configure: Likewise.
13671         * sysdeps/mach/hurd/configure: Likewise.
13672         * sysdeps/powerpc/configure: Likewise.
13673         * sysdeps/powerpc/powerpc32/configure: Likewise.
13674         * sysdeps/powerpc/powerpc64/configure: Likewise.
13675         * sysdeps/s390/s390-32/configure: Likewise.
13676         * sysdeps/s390/s390-64/configure: Likewise.
13677         * sysdeps/sh/configure: Likewise.
13678         * sysdeps/sparc/configure: Likewise.
13679         * sysdeps/unix/sysv/linux/configure: Likewise.
13680         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13681         * sysdeps/x86_64/configure: Likewise.
13682         * sysdeps/x86_64/preconfigure: Likewise.
13683
13684 2013-10-29  Andreas Schwab  <schwab@suse.de>
13685
13686         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13687
13688 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13689
13690         * benchtests/pow-inputs: Add new inputs.
13691
13692         * benchtests/exp-inputs: Add new inputs.
13693
13694         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13695         conditional check for return value.
13696         (__cos32): Likewise.
13697
13698 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13699
13700         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13701         to provide a boost for large inputs with word alignment.
13702         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13703         implementation based on optimized PPC64 strcpy.
13704         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13705         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13706         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13707         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13708
13709 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13710
13711         [BZ #2801]
13712         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13713
13714 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13715
13716         [BZ #14876]
13717         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13718         * time/tst-strptime.c (day_tests): Add testcase.
13719
13720 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13721
13722         [BZ #14029]
13723         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13724
13725 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13726
13727         [BZ #16074]
13728         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13729         MAP_FAILED on error.
13730
13731 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732
13733         [BZ #16072]
13734         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13735         heap for large requests.
13736
13737 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13738
13739         [BZ #9954]
13740         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13741         result if the result has no associated interface.
13742         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13743         interface for all 127.X.Y.Z addresses.
13744
13745 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13746
13747         * locale/iso-639.def: Add Ligurian (lij)
13748
13749 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13750
13751         [BZ #15825]
13752         * sunrpc/rpc_main.c: Document rpcgen -5.
13753
13754 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13755
13756         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13757
13758 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13759
13760         [BZ #10278]
13761         * posix/glob.c: Match only directories when trailing slash is present.
13762         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13763         (main): Add testcase.
13764
13765 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13766
13767         [BZ #15670]
13768         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13769
13770 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13771
13772         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13773         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13774         AUTH_DES and cindex for FIPS 140-2.
13775         (DES Encryption): Add cindex FIPS 46-3.
13776
13777         * locale/locarchive.h (struct locarhandle): Add fname.
13778         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13779         if an optional argument was specified to --list-archive,
13780         otherwise NULL.
13781         * locale/programs/locarchive.c (show_archive_content): Take new
13782         argument fname and pass it via ah.fname to open_archive.
13783         * locale/programs/localedef.h: Update decl.
13784         (open_archive): If AH->fname is non-null, open that file
13785         rather than the default file name, and don't ignore ENOENT.
13786         (create_archive): Set AH.fname to NULL.
13787         (delete_locales_from_archive): Likewise.
13788         (add_locales_to_archive): Likewise.
13789         * locale/programs/locfile.c (write_all_categories): Likewise.
13790
13791 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13792             Aldy Hernandez  <aldyh@redhat.com>
13793
13794         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13795         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13796         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13797         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13798         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13799         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13800         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13801         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13802         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13803         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13804         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13805         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13806         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13807         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13808         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13809         Likewise.
13810         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13811         Likewise.
13812         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13813         Likewise.
13814         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13815         Likewise.
13816         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13817         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13818         Likewise.
13819         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13820         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13821         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13822         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13823         Likewise.
13824         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13825         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13826         * sysdeps/powerpc/preconfigure: Likewise.
13827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13828         Likewise.
13829         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13830         Replace contents of file by #include of <fenv_libc.h>.
13831         * sysdeps/powerpc/soft-fp/sfp-machine.h
13832         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13833         and <sys/prctl.h>.
13834         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13835         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13840         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13841         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13842         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13843         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13844         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13845         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13847         Allow copysignl PLT reference to be missing.
13848
13849 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13850             Joseph Myers  <joseph@codesourcery.com
13851
13852         [BZ #15948]
13853         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13854         single character.
13855         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13856
13857 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13858
13859         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13860         * elf/tst-tls1.c: Likewise.
13861         * elf/tst-tls10.h: Likewise.
13862         * elf/tst-tls14.c: Likewise.
13863         * elf/tst-tls2.c: Likewise.
13864         * elf/tst-tls3.c: Likewise.
13865         * elf/tst-tls4.c: Likewise.
13866         * elf/tst-tls5.c: Likewise.
13867         * elf/tst-tls6.c: Likewise.
13868         * elf/tst-tls7.c: Likewise.
13869         * elf/tst-tls8.c: Likewise.
13870         * elf/tst-tls9.c: Likewise.
13871         * elf/tst-tlsmod1.c: Likewise.
13872         * elf/tst-tlsmod13.c: Likewise.
13873         * elf/tst-tlsmod13a.c: Likewise.
13874         * elf/tst-tlsmod14a.c: Likewise.
13875         * elf/tst-tlsmod16a.c: Likewise.
13876         * elf/tst-tlsmod16b.c: Likewise.
13877         * elf/tst-tlsmod2.c: Likewise.
13878         * elf/tst-tlsmod3.c: Likewise.
13879         * elf/tst-tlsmod4.c: Likewise.
13880         * elf/tst-tlsmod5.c: Likewise.
13881         * elf/tst-tlsmod6.c: Likewise.
13882
13883 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13884
13885         [BZ #12486]
13886         * malloc/malloc.c: remove checks for statistics.
13887
13888 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13889
13890         [BZ #15277]
13891         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13892         * inet/tst-network.c: Add testcase.
13893
13894 2013-10-17  Andreas Schwab  <schwab@suse.de>
13895
13896         [BZ #15218]
13897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13898         to determine canonical name.
13899
13900 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13901
13902         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13903         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13904         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13905         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13906         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13907         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13908         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13909         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13910         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13911         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13912         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13913         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13914         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13915         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13916         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13917         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13918         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13920         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13921         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13924         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13925         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13926         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13927         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13928         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13929         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13930         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13931         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13932         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13934         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13935         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13936         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13937         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13938         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13939         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13940         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13941         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13942         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13943         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13944         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13945         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13946         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13947         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13948         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13949         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13950         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13951         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13952         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13953         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13954         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13955         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13956         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13957         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13958         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13959         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13960
13961 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13962
13963         [BZ #16041]
13964         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13965         make result into a quiet NaN.
13966
13967 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13968
13969         * soft-fp/adddf3.c: Fix horizontal whitespace.
13970         * soft-fp/addsf3.c: Likewise.
13971         * soft-fp/addtf3.c: Likewise.
13972         * soft-fp/divdf3.c: Likewise.
13973         * soft-fp/divsf3.c: Likewise.
13974         * soft-fp/divtf3.c: Likewise.
13975         * soft-fp/double.h: Likewise.
13976         * soft-fp/eqdf2.c: Likewise.
13977         * soft-fp/eqsf2.c: Likewise.
13978         * soft-fp/eqtf2.c: Likewise.
13979         * soft-fp/extenddftf2.c: Likewise.
13980         * soft-fp/extended.h: Likewise.
13981         * soft-fp/extendsfdf2.c: Likewise.
13982         * soft-fp/extendsftf2.c: Likewise.
13983         * soft-fp/extendxftf2.c: Likewise.
13984         * soft-fp/fixdfdi.c: Likewise.
13985         * soft-fp/fixdfsi.c: Likewise.
13986         * soft-fp/fixdfti.c: Likewise.
13987         * soft-fp/fixsfdi.c: Likewise.
13988         * soft-fp/fixsfsi.c: Likewise.
13989         * soft-fp/fixsfti.c: Likewise.
13990         * soft-fp/fixtfdi.c: Likewise.
13991         * soft-fp/fixtfsi.c: Likewise.
13992         * soft-fp/fixtfti.c: Likewise.
13993         * soft-fp/fixunsdfdi.c: Likewise.
13994         * soft-fp/fixunsdfsi.c: Likewise.
13995         * soft-fp/fixunsdfti.c: Likewise.
13996         * soft-fp/fixunssfdi.c: Likewise.
13997         * soft-fp/fixunssfsi.c: Likewise.
13998         * soft-fp/fixunssfti.c: Likewise.
13999         * soft-fp/fixunstfdi.c: Likewise.
14000         * soft-fp/fixunstfsi.c: Likewise.
14001         * soft-fp/fixunstfti.c: Likewise.
14002         * soft-fp/floatdidf.c: Likewise.
14003         * soft-fp/floatdisf.c: Likewise.
14004         * soft-fp/floatditf.c: Likewise.
14005         * soft-fp/floatsidf.c: Likewise.
14006         * soft-fp/floatsisf.c: Likewise.
14007         * soft-fp/floatsitf.c: Likewise.
14008         * soft-fp/floattidf.c: Likewise.
14009         * soft-fp/floattisf.c: Likewise.
14010         * soft-fp/floattitf.c: Likewise.
14011         * soft-fp/floatundidf.c: Likewise.
14012         * soft-fp/floatundisf.c: Likewise.
14013         * soft-fp/floatunditf.c: Likewise.
14014         * soft-fp/floatunsidf.c: Likewise.
14015         * soft-fp/floatunsisf.c: Likewise.
14016         * soft-fp/floatunsitf.c: Likewise.
14017         * soft-fp/floatuntidf.c: Likewise.
14018         * soft-fp/floatuntisf.c: Likewise.
14019         * soft-fp/floatuntitf.c: Likewise.
14020         * soft-fp/fmadf4.c: Likewise.
14021         * soft-fp/fmasf4.c: Likewise.
14022         * soft-fp/fmatf4.c: Likewise.
14023         * soft-fp/gedf2.c: Likewise.
14024         * soft-fp/gesf2.c: Likewise.
14025         * soft-fp/getf2.c: Likewise.
14026         * soft-fp/ledf2.c: Likewise.
14027         * soft-fp/lesf2.c: Likewise.
14028         * soft-fp/letf2.c: Likewise.
14029         * soft-fp/muldf3.c: Likewise.
14030         * soft-fp/mulsf3.c: Likewise.
14031         * soft-fp/multf3.c: Likewise.
14032         * soft-fp/negdf2.c: Likewise.
14033         * soft-fp/negsf2.c: Likewise.
14034         * soft-fp/negtf2.c: Likewise.
14035         * soft-fp/op-1.h: Likewise.
14036         * soft-fp/op-2.h: Likewise.
14037         * soft-fp/op-4.h: Likewise.
14038         * soft-fp/op-8.h: Likewise.
14039         * soft-fp/op-common.h: Likewise.
14040         * soft-fp/quad.h: Likewise.
14041         * soft-fp/single.h: Likewise.
14042         * soft-fp/soft-fp.h: Likewise.
14043         * soft-fp/sqrtdf2.c: Likewise.
14044         * soft-fp/sqrtsf2.c: Likewise.
14045         * soft-fp/sqrttf2.c: Likewise.
14046         * soft-fp/subdf3.c: Likewise.
14047         * soft-fp/subsf3.c: Likewise.
14048         * soft-fp/subtf3.c: Likewise.
14049         * soft-fp/truncdfsf2.c: Likewise.
14050         * soft-fp/trunctfdf2.c: Likewise.
14051         * soft-fp/trunctfsf2.c: Likewise.
14052         * soft-fp/trunctfxf2.c: Likewise.
14053         * soft-fp/unorddf2.c: Likewise.
14054         * soft-fp/unordsf2.c: Likewise.
14055         * soft-fp/unordtf2.c: Likewise.
14056
14057 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
14058
14059         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14060         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14061
14062 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
14063
14064         * elf/dl-libc.c: Clear initfini list after freeing.
14065
14066 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
14067
14068         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14069         * soft-fp/addsf3.c: Likewise.
14070         * soft-fp/addtf3.c: Likewise.
14071         * soft-fp/divdf3.c: Likewise.
14072         * soft-fp/divsf3.c: Likewise.
14073         * soft-fp/divtf3.c: Likewise.
14074         * soft-fp/double.h: Likewise.
14075         * soft-fp/eqdf2.c: Likewise.
14076         * soft-fp/eqsf2.c: Likewise.
14077         * soft-fp/eqtf2.c: Likewise.
14078         * soft-fp/extenddftf2.c: Likewise.
14079         * soft-fp/extended.h: Likewise.
14080         * soft-fp/extendsfdf2.c: Likewise.
14081         * soft-fp/extendsftf2.c: Likewise.
14082         * soft-fp/extendxftf2.c: Likewise.
14083         * soft-fp/fixdfdi.c: Likewise.
14084         * soft-fp/fixdfsi.c: Likewise.
14085         * soft-fp/fixdfti.c: Likewise.
14086         * soft-fp/fixsfdi.c: Likewise.
14087         * soft-fp/fixsfsi.c: Likewise.
14088         * soft-fp/fixsfti.c: Likewise.
14089         * soft-fp/fixtfdi.c: Likewise.
14090         * soft-fp/fixtfsi.c: Likewise.
14091         * soft-fp/fixtfti.c: Likewise.
14092         * soft-fp/fixunsdfdi.c: Likewise.
14093         * soft-fp/fixunsdfsi.c: Likewise.
14094         * soft-fp/fixunsdfti.c: Likewise.
14095         * soft-fp/fixunssfdi.c: Likewise.
14096         * soft-fp/fixunssfsi.c: Likewise.
14097         * soft-fp/fixunssfti.c: Likewise.
14098         * soft-fp/fixunstfdi.c: Likewise.
14099         * soft-fp/fixunstfsi.c: Likewise.
14100         * soft-fp/fixunstfti.c: Likewise.
14101         * soft-fp/floatdidf.c: Likewise.
14102         * soft-fp/floatdisf.c: Likewise.
14103         * soft-fp/floatditf.c: Likewise.
14104         * soft-fp/floatsidf.c: Likewise.
14105         * soft-fp/floatsisf.c: Likewise.
14106         * soft-fp/floatsitf.c: Likewise.
14107         * soft-fp/floattidf.c: Likewise.
14108         * soft-fp/floattisf.c: Likewise.
14109         * soft-fp/floattitf.c: Likewise.
14110         * soft-fp/floatundidf.c: Likewise.
14111         * soft-fp/floatundisf.c: Likewise.
14112         * soft-fp/floatunsidf.c: Likewise.
14113         * soft-fp/floatunsisf.c: Likewise.
14114         * soft-fp/floatuntidf.c: Likewise.
14115         * soft-fp/floatuntisf.c: Likewise.
14116         * soft-fp/floatuntitf.c: Likewise.
14117         * soft-fp/fmadf4.c: Likewise.
14118         * soft-fp/fmasf4.c: Likewise.
14119         * soft-fp/fmatf4.c: Likewise.
14120         * soft-fp/gedf2.c: Likewise.
14121         * soft-fp/gesf2.c: Likewise.
14122         * soft-fp/getf2.c: Likewise.
14123         * soft-fp/ledf2.c: Likewise.
14124         * soft-fp/lesf2.c: Likewise.
14125         * soft-fp/letf2.c: Likewise.
14126         * soft-fp/muldf3.c: Likewise.
14127         * soft-fp/mulsf3.c: Likewise.
14128         * soft-fp/multf3.c: Likewise.
14129         * soft-fp/negdf2.c: Likewise.
14130         * soft-fp/negsf2.c: Likewise.
14131         * soft-fp/negtf2.c: Likewise.
14132         * soft-fp/op-1.h: Likewise.
14133         * soft-fp/op-2.h: Likewise.
14134         * soft-fp/op-4.h: Likewise.
14135         * soft-fp/op-8.h: Likewise.
14136         * soft-fp/op-common.h: Likewise.
14137         * soft-fp/quad.h: Likewise.
14138         * soft-fp/single.h: Likewise.
14139         * soft-fp/soft-fp.h: Likewise.
14140         * soft-fp/sqrtdf2.c: Likewise.
14141         * soft-fp/sqrtsf2.c: Likewise.
14142         * soft-fp/sqrttf2.c: Likewise.
14143         * soft-fp/subdf3.c: Likewise.
14144         * soft-fp/subsf3.c: Likewise.
14145         * soft-fp/subtf3.c: Likewise.
14146         * soft-fp/truncdfsf2.c: Likewise.
14147         * soft-fp/trunctfdf2.c: Likewise.
14148         * soft-fp/trunctfsf2.c: Likewise.
14149         * soft-fp/trunctfxf2.c: Likewise.
14150         * soft-fp/unorddf2.c: Likewise.
14151         * soft-fp/unordsf2.c: Likewise.
14152         * soft-fp/unordtf2.c: Likewise.
14153
14154 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
14155
14156         [BZ #15672]
14157         * misc/error.c (error_tail): Fix possible buffer overflow.
14158
14159 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
14160
14161         [BZ #13028]
14162         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14163         address.
14164
14165 2013-10-14  P. J. McDermott  <pj@pehjota.net>
14166
14167         [BZ #832]
14168         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
14169         testing pipefail option.
14170
14171 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14172
14173         * soft-fp/double.h: Indent preprocessor directives inside #if.
14174         * soft-fp/extended.h: Likewise.
14175         * soft-fp/op-2.h: Likewise.
14176         * soft-fp/op-4.h: Likewise.
14177         * soft-fp/op-common.h: Likewise.
14178         * soft-fp/quad.h: Likewise.
14179         * soft-fp/single.h: Likewise.
14180         * soft-fp/soft-fp.h: Likewise.
14181
14182 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
14183
14184         * iconv/iconv_prog.c: Fix typos.
14185         * stdio-common/psiginfo-data.h: Likewise.
14186
14187 2013-10-12   Reuben Thomas <rrt@sc3d.org>
14188
14189         [BZ #15764]
14190         * locale/setlocale.c: Fix typo.
14191
14192 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
14193
14194         [BZ #16036]
14195         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14196         signaling NaN arguments.
14197         * soft-fp/unordsf2.c (__unordsf2): Likewise.
14198         * soft-fp/unordtf2.c (__unordtf2): Likewise.
14199
14200         [BZ #14910]
14201         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14202         unordered operands.
14203         * soft-fp/gesf2.c (__gesf2): Likewise.
14204         * soft-fp/getf2.c (__getf2): Likewise.
14205         * soft-fp/ledf2.c (__ledf2): Likewise.
14206         * soft-fp/lesf2.c (__lesf2): Likewise.
14207         * soft-fp/letf2.c (__letf2): Likewise.
14208
14209         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14210         * soft-fp/eqsf2.c (__eqsf2): Likewise.
14211         * soft-fp/eqtf2.c (__eqtf2): Likewise.
14212         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14213         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14214         * soft-fp/fixdfti.c (__fixdfti): Likewise.
14215         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14216         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14217         * soft-fp/fixsfti.c (__fixsfti): Likewise.
14218         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14219         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14220         * soft-fp/fixtfti.c (__fixtfti): Likewise.
14221         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14222         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14223         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14224         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14225         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14226         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14227         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14228         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14229         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14230         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14231         * soft-fp/floatdisf.c (__floatdisf): Likewise.
14232         * soft-fp/floatsisf.c (__floatsisf): Likewise.
14233         * soft-fp/floattidf.c (__floattidf): Likewise.
14234         * soft-fp/floattisf.c (__floattisf): Likewise.
14235         * soft-fp/floattitf.c (__floattitf): Likewise.
14236         * soft-fp/floatundidf.c (__floatundidf): Likewise.
14237         * soft-fp/floatundisf.c (__floatundisf): Likewise.
14238         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14239         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14240         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14241         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14242         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14243         * soft-fp/gesf2.c (__gesf2): Likewise.
14244         * soft-fp/getf2.c (__getf2): Likewise.
14245         * soft-fp/ledf2.c (__ledf2): Likewise.
14246         * soft-fp/lesf2.c (__lesf2): Likewise.
14247         * soft-fp/letf2.c (__letf2): Likewise.
14248
14249         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14250         Undefine and redefine.
14251         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14252         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14253         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14254         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14255         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14256         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14257         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14258         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14259         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14260         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14261         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14262         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14263         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14264         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14265         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14266
14267         [BZ #16032]
14268         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14269         without decrementing exponent if mantissa >= that for the
14270         denominator, not >.
14271         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14272         denominator, not >.  Decrement exponent in < case instead of
14273         incrementing in >= case.
14274         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14275         without decrementing exponent if mantissa >= that for the
14276         denominator, not >.
14277
14278         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14279         computing saturated result for unsigned overflow.
14280
14281 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14282             Jeff Law  <law@redhat.com>
14283
14284         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14285         (atan2Mp): Add systemtap probe marker.
14286         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14287         (__ieee754_log): Add systemtap probe marker.
14288         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14289         (atanMp): Add systemtap probe marker.
14290         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14291         (tanMp): Add systemtap probe marker.
14292         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14293         (__slowexp): Add systemtap probe marker.
14294         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14295         (__slowpow): Add systemtap probe marker.
14296         * manual/probes.texi: Document probes.
14297
14298 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
14299
14300         [BZ #15362]
14301         * libio/fileops.c (_IO_new_file_write): Return count of bytes
14302         written.
14303         (_IO_new_file_xsputn): Don't return EOF if nothing has been
14304         written.
14305         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14306         written to buffer but not flushed.
14307         * libio/iofwrite_u.c:  Likewise.
14308         * libio/iopadn.c:  Return bytes returned even if EOF was
14309         encountered.
14310         * libio/iowpadn.c:  Likewise.
14311         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14312         if _IO_padn does not write the whole buffer.
14313         [!COMPILE_WPRINTF] (PAD): Likewise.
14314
14315 2013-10-10  David S. Miller  <davem@davemloft.net>
14316
14317         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14318         directory block.
14319
14320 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14321
14322         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
14323         instead of FSF address.
14324         * soft-fp/fixdfti.c: Likewise.
14325         * soft-fp/fixsfti.c: Likewise.
14326         * soft-fp/fixtfti.c: Likewise.
14327         * soft-fp/fixunsdfti.c: Likewise.
14328         * soft-fp/fixunssfti.c: Likewise.
14329         * soft-fp/fixunstfti.c: Likewise.
14330         * soft-fp/floattidf.c: Likewise.
14331         * soft-fp/floattisf.c: Likewise.
14332         * soft-fp/floattitf.c: Likewise.
14333         * soft-fp/floatuntidf.c: Likewise.
14334         * soft-fp/floatuntisf.c: Likewise.
14335         * soft-fp/floatuntitf.c: Likewise.
14336         * soft-fp/trunctfxf2.c: Likewise.
14337
14338         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14339         * soft-fp/fixdfti.c: Likewise.
14340         * soft-fp/fixsfti.c: Likewise.
14341         * soft-fp/fixtfti.c: Likewise.
14342         * soft-fp/fixunsdfti.c: Likewise.
14343         * soft-fp/fixunssfti.c: Likewise.
14344         * soft-fp/fixunstfti.c: Likewise.
14345         * soft-fp/floattidf.c: Likewise.
14346         * soft-fp/floattisf.c: Likewise.
14347         * soft-fp/floattitf.c: Likewise.
14348         * soft-fp/floatuntidf.c: Likewise.
14349         * soft-fp/floatuntisf.c: Likewise.
14350         * soft-fp/floatuntitf.c: Likewise.
14351         * soft-fp/trunctfxf2.c: Likewise.
14352
14353 2013-10-10  David S. Miller  <davem@davemloft.net>
14354
14355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14356
14357 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14358
14359         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14360         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14361         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14362         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14363         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14364         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14365         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14366
14367         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14368         for NaNs before doing comparisons on argument.
14369         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14370         Likewise.
14371
14372 2013-10-10  Will Newton  <will.newton@linaro.org>
14373
14374         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14375         passed to _int_memalign does not overflow.
14376
14377 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14378
14379         * scripts/bench.pl: Add include-sources directive.
14380         * benchtests/README: Update documentation.
14381
14382 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14383
14384         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14385         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14386         instead of FP_INIT_ROUNDMODE.
14387         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14388         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14389
14390         [BZ #16034]
14391         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14392         copy class of input value.
14393         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14394         not handle exceptions.
14395         * soft-fp/negsf2.c (__negsf2): Likewise.
14396         * soft-fp/negtf2.c (__negtf2): Likewise.
14397         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14398
14399 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14400
14401         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14402         semicolon.  From Linux kernel.
14403
14404 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14405
14406         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14407
14408 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14409
14410         [BZ #156]
14411         * manual/socket.texi: Added statement about buffer
14412         for gethostbyname2_r.
14413
14414 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14415
14416         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14417         Use .p2align directive instead, throughout.
14418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14419         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14420         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14421         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14422         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14423         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14424         * sysdeps/x86_64/strchr.S: Likewise.
14425         * sysdeps/x86_64/strrchr.S: Likewise.
14426
14427 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14428
14429         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14430
14431         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14432
14433         * sysdeps/generic/math_private.h (__mpsin1): Remove
14434         declaration.
14435         (__mpcos1): Likewise.
14436         (__mpsin): New argument __range_reduce.
14437         (__mpcos): Likewise.
14438         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14439         (slow): Use __mpsin and __mpcos.
14440         (slow1): Likewise.
14441         (slow2): Likewise.
14442         (sloww): Likewise.
14443         (sloww1): Likewise.
14444         (sloww2): Likewise.
14445         (bsloww): Likewise.
14446         (bsloww1): Likewise.
14447         (bsloww2): Likewise.
14448         (cslow2): Likewise.
14449         (csloww): Likewise.
14450         (csloww1): Likewise.
14451         (csloww2): Likewise.
14452         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14453         range_reduce.  Merge in __mpsin1.
14454         (__mpcos): Likewise.
14455         (__mpsin1): Remove.
14456         (__mpcos1): Likewise.
14457
14458 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14459
14460         * locale/loadlocale.c (_nl_intern_locale_data): Use
14461         LOCFILE_ALIGNED_P.
14462         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14463         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14464         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14465         obstack data is appropriately aligned.
14466         (obstack_int32_grow_fast): Likewise.
14467         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14468         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14469         (add_locale_uint32_array): Likewise.
14470
14471 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14472
14473         * benchtests/Makefile: Remove ARGLIST and RET variables.
14474         ($(objpfx)bench-%.c): Pass only function name to the script.
14475         * benchtests/README: Update documentation.
14476         * benchtests/acos-inputs: Add new directives.
14477         * benchtests/acosh-inputs: Likewise.
14478         * benchtests/asin-inputs: Likewise.
14479         * benchtests/asinh-inputs: Likewise.
14480         * benchtests/atan-inputs: Likewise.
14481         * benchtests/atanh-inputs: Likewise.
14482         * benchtests/cos-inputs: Likewise.
14483         * benchtests/cosh-inputs: Likewise.
14484         * benchtests/exp-inputs: Likewise.
14485         * benchtests/log-inputs: Likewise.
14486         * benchtests/pow-inputs: Likewise.
14487         * benchtests/rint-inputs: Likewise.
14488         * benchtests/sin-inputs: Likewise.
14489         * benchtests/sinh-inputs: Likewise.
14490         * benchtests/tan-inputs: Likewise.
14491         * benchtests/tanh-inputs: Likewise.
14492         * scripts/bench.pl: Add support for new directives.
14493
14494 2013-10-07  Alan Modra  <amodra@gmail.com>
14495
14496         * README: Fix careless merge.
14497
14498 2013-10-05  Alan Modra  <amodra@gmail.com>
14499
14500         * NEWS: Mention powerpc64le support and bugs fixed.
14501         * README: Both big-endian and little-endian powerpc64 supported.
14502
14503 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14504
14505         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14506         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14507         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14508         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14509
14510 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14511
14512         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14513         match prototype.
14514
14515 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14516
14517         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14518         Move -mhard-float appending from
14519         ports/sysdeps/powerpc/powerpc32/Makefile.
14520         [$(with-fp) = yes] (ASFLAGS): Likewise.
14521         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14522         * sysdeps/powerpc/nofpu: Move directory from
14523         ports/sysdeps/powerpc/nofpu.
14524         * sysdeps/powerpc/soft-fp: Move directory from
14525         ports/sysdeps/powerpc/soft-fp.
14526         * sysdeps/powerpc/powerpc32/405: Move directory from
14527         ports/sysdeps/powerpc/powerpc32/405.
14528         * sysdeps/powerpc/powerpc32/440: Move directory from
14529         ports/sysdeps/powerpc/powerpc32/440.
14530         * sysdeps/powerpc/powerpc32/464: Move directory from
14531         ports/sysdeps/powerpc/powerpc32/464.
14532         * sysdeps/powerpc/powerpc32/476: Move directory from
14533         ports/sysdeps/powerpc/powerpc32/476.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14535         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14537         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14539         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14541         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14543         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14544         * README: Update for powerpc-*-linux-gnu software floating point
14545         support in libc.
14546
14547         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14548         case to powerpc/powerpc32*.
14549         * sysdeps/unix/sysv/linux/configure: Regenerated.
14550
14551         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14552         (_FPU_MASK_OM): Define as 0x04.
14553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14554         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14555         0x00c10080.
14556         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14557         0x0000003c.
14558         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14559
14560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14561         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14562         getcontext_e500.
14563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14564         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14565         setcontext_e500.
14566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14567         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14568         and setcontext_e500.
14569
14570 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14571
14572         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14573
14574 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14575
14576         * manual/threads.texi (Default Thread Attributes): Fix typo.
14577
14578 2013-10-04  Will Newton  <will.newton@linaro.org>
14579
14580         * malloc/Makefile: Add tst-memalign.
14581         * malloc/tst-memalign.c: New file.
14582
14583         * malloc/tst-posix_memalign.c: Add comments.
14584         (do_test): Add comments and call free on all potentially
14585         allocated pointers. Add space after cast.
14586
14587         * malloc/tst-pvalloc.c: Add comments.
14588         (do_test): Add comments and call free on all potentially
14589         allocated pointers. Remove duplicate check for NULL pointer.
14590         Add space after cast.
14591
14592         * malloc/tst-valloc.c: Add comments.
14593         (do_test): Add comments and call free on all potentially
14594         allocated pointers. Remove duplicate check for NULL pointer.
14595         Add space after cast.
14596
14597 2013-10-04  Alan Modra  <amodra@gmail.com>
14598
14599         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14600         Use stdint types in rather than __attribute__((mode())).
14601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14602
14603 2013-10-04  Alan Modra  <amodra@gmail.com>
14604
14605         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14606         Correct handling of unaligned relocs for little-endian.
14607         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14608
14609 2013-10-04  Alan Modra  <amodra@gmail.com>
14610
14611         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14612         * configure: Regenerate.
14613         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14614         * shlib-versions: Likewise.
14615
14616 2013-10-04  Alan Modra  <amodra@gmail.com>
14617
14618         * string/tester.c (test_memrchr): Increment reported test cycle.
14619
14620 2013-10-04  Alan Modra  <amodra@gmail.com>
14621
14622         * string/test-memcpy.c (do_one_test): When reporting errors, print
14623         string address and don't overrun end of string.
14624
14625 2013-10-04  Alan Modra  <amodra@gmail.com>
14626
14627         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14628         insrdi.  Make better use of reg selection to speed exit slightly.
14629         Schedule entry path a little better.  Remove useless "are we done"
14630         checks on entry to main loop.  Handle wrapping around zero address.
14631         Correct main loop count.  Handle single left-over word from main
14632         loop inline rather than by using loop_small.  Remove extra word
14633         case in loop_small caused by wrong loop count.  Add little-endian
14634         support.
14635         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14636         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14637         cache hint.
14638         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14639         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14640         support.  Avoid rlwimi.
14641         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14642
14643 2013-10-04  Alan Modra  <amodra@gmail.com>
14644
14645         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14646         insrdi.  Formatting.
14647         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14648         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14649         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14650         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14651         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14652         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14653
14654 2013-10-04  Alan Modra  <amodra@gmail.com>
14655
14656         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14657         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14658         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14659         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14660         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14661         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14662         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14663         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14664         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14665         use of regs.  Use power7 mtocrf.  Tidy function tails.
14666
14667 2013-10-04  Alan Modra  <amodra@gmail.com>
14668
14669         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14670         Formatting.  Consistently use rXXX register defines or rN defines.
14671         Use early exit labels that avoid restoring unused non-volatile regs.
14672         Make cr field use more consistent with rWORDn compares.  Rename
14673         regs used as shift registers for unaligned loop, using rN defines
14674         for short lifetime/multiple use regs.
14675         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14676         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14677         addi 1,1,64 to pop stack frame.  Simplify return value code.
14678         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14679
14680 2013-10-04  Alan Modra  <amodra@gmail.com>
14681
14682         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14683         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14684         rather than rlwimi.
14685         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14686         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14687         little-endian support.  Correct typos.
14688         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14689         rather than rlwimi.
14690         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14691         in loop and entry code to keep "and." results.
14692         (strchr): Add little-endian support.  Comment.  Move cntlzd
14693         earlier in tail.
14694         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14695
14696 2013-10-04  Alan Modra  <amodra@gmail.com>
14697
14698         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14699         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14700         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14701         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14702
14703 2013-10-04  Alan Modra  <amodra@gmail.com>
14704
14705         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14706         (rTMP): Define as r11.
14707         (strcmp): Add little-endian support.  Optimise tail.
14708         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14709         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14710         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14711         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14712         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14713         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14714         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14715
14716 2013-10-04  Alan Modra  <amodra@gmail.com>
14717
14718         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14719         little-endian support.  Remove unnecessary "are we done" tests.
14720         Handle "s" wrapping around zero and extremely large "size".
14721         Correct main loop count.  Handle single left-over word from main
14722         loop inline rather than by using small_loop.  Correct comments.
14723         Delete "zero" tail, use "end_max" instead.
14724         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14725
14726 2013-10-04  Alan Modra  <amodra@gmail.com>
14727
14728         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14729         support.  Don't branch over align.
14730         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14731         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14732         support.  Rearrange tmp reg use to suit.  Comment.
14733         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14734
14735 2013-10-04  Alan Modra  <amodra@gmail.com>
14736
14737         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14738
14739 2013-10-04  Alan Modra  <amodra@gmail.com>
14740
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14742         conditional form of branch and link when obtaining pc.
14743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14744
14745 2013-10-04  Alan Modra  <amodra@gmail.com>
14746
14747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14748         HIWORD/LOWORD.
14749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14751
14752 2013-10-04  Alan Modra  <amodra@gmail.com>
14753
14754         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14755         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14756         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14757         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14758         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14759         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14760         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14761         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14762         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14763         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14764
14765 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14766             Alistair Popple <alistair@ozlabs.au.ibm.com>
14767             Alan Modra <amodra@gmail.com>
14768
14769         [BZ #15723]
14770         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14771         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14772         _dl_hwcap access for little-endian.
14773         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14774         destroy vmx regs when saving unaligned.
14775         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14776         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14777         destroy vmx regs when saving unaligned.
14778
14779 2013-10-04  Alan Modra  <amodra@gmail.com>
14780
14781         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14782         Don't use a union to pack hi/low value.
14783
14784 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14785
14786         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14787         for little-endian.
14788         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14789         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14790         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14791         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14792         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14793
14794 2013-10-04  Alan Modra  <amodra@gmail.com>
14795
14796         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14797         constants to usual value for .cst8 section, and remove redundant
14798         high address load.
14799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14800         constant for 0x1p52.  Load little-endian words of double from
14801         correct stack offsets.
14802
14803 2013-10-04  Alan Modra  <amodra@gmail.com>
14804
14805         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14806         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14807         words of double from correct stack offsets.
14808         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14809         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14810         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14811         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14812         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14813         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14814         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14815         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14816         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14817         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14818         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14819         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14820         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14821         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14822         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14823         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14824         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14825
14826 2013-10-04  Alan Modra  <amodra@gmail.com>
14827
14828         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14829         64-bit int/double union.
14830         (_FPU_SETCW): Likewise.
14831         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14832         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14833
14834 2013-10-04  Alan Modra  <amodra@gmail.com>
14835
14836         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14837         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14838
14839 2013-10-04  Alan Modra  <amodra@gmail.com>
14840
14841         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14842         use vector int constants.
14843         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14844
14845 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14846
14847         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14848         array with long long.
14849         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14850         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14851         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14852         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14853         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14854         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14855         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14856         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14857         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14858         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14859         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14860         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14861         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14862
14863 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14864
14865         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14866         (__signbit): Likewise.  Correct for little-endian.
14867         (__signbitl): Call __signbit.
14868         (lrint): Correct for little-endian.
14869         (lrintf): Call lrint.
14870
14871 2013-10-04  Alan Modra  <amodra@gmail.com>
14872
14873         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14874         union 32-bit int array member with 64-bit int array.
14875         (t515, tm256): Double rather than long double.
14876         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14877
14878 2013-10-04  Alan Modra  <amodra@gmail.com>
14879
14880         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14881         Delete.
14882         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14884         version of math_ldbl.h.
14885
14886 2013-10-04  Alan Modra  <amodra@gmail.com>
14887
14888         [BZ #15734], [BZ #15735]
14889         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14890         all uses of ieee875 long double macros and unions.  Simplify test
14891         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14892         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14893         normalize after ldbl_extract_mantissa, and don't add hidden bit
14894         already handled.  Don't treat low word of ieee854 mantissa like
14895         low word of IBM long double and mask off bit when testing for
14896         zero.
14897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14898         all uses of ieee875 long double macros and unions.  Simplify tests
14899         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14900         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14901         two1022, instead use their values.  Recognise that tests for large
14902         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14903         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14904         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14905         test for 0.0L and nan.  Correct negation.
14906         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14907         ieee875 long double macros and unions.  Correct output for large
14908         magnitude x.  Correct absolute value calculation.
14909         (__erfcl): Likewise.
14910         * math/libm-test.inc: Add tests for errors discovered in IBM long
14911         double versions of fmodl, remainderl, erfl and erfcl.
14912
14913 2013-10-04  Alan Modra  <amodra@gmail.com>
14914
14915         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14916         all uses of ieee854 long double macros and unions.  Simplify tests
14917         for long doubles that are fully specified by the high double.
14918         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14919         Likewise.
14920         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14921         Remove dead code too.
14922         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14923         (__ieee754_ynl): Likewise.
14924         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14925         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14926         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14927         Remove dead code too.
14928         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14929         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14930         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14931         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14932         Simplify.
14933         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14934         Simplify.
14935         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14936         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14938         Comment on variable precision.
14939         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14940         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14941         Likewise.
14942         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14943         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14944         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14945         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14946         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14947
14948 2013-10-04  Alan Modra  <amodra@gmail.com>
14949
14950         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14952         all uses of ieee854 long double macros and unions.
14953         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14955         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14956         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14957         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14959         Likewise.
14960         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14961         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14963         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14965         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14966         Simplify sign and nan test too.
14967         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14968         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14969         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14970         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14971         Likewise.
14972         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14973         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14974         Likewise.
14975         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14976         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14977         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14978         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14979         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14980         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14981
14982 2013-10-04  Alan Modra  <amodra@gmail.com>
14983
14984         * stdio-common/printf_size.c (__printf_size): Don't use
14985         union ieee854_long_double in fpnum union.
14986         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14987         signbit macro to retrieve sign from long double.
14988         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14989         retrieve sign from long double.
14990         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14991         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14992         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14993         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14994         * math/test-misc.c (main): Don't use union ieee854_long_double.
14995
14996 2013-10-04  Alan Modra  <amodra@gmail.com>
14997
14998         [BZ #15680]
14999         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15000         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15001         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15002         calculation.  Remove unnecessary test for denormal exponent.
15003         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15004         Correct handling of denormals.  Avoid undefined shift behaviour.
15005         Correct normalisation of low mantissa when low double is denormal.
15006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15007         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
15008         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15009         Correct normalisation of low mantissa.  Test for overflow of high
15010         mantissa and normalise.
15011         (ldbl_nearbyint): Use more readable constant for two52.
15012         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15013         (__mpn_construct_long_double): Fix test for overflow of high
15014         mantissa and correct normalisation.  Avoid undefined shift.
15015
15016 2013-10-04  Alan Modra  <amodra@gmail.com>
15017
15018         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15019         (union ibm_extended_long_double): Define as an array of ieee754_double.
15020         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15021         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15022         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15023         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15024         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15025         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15026         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15027         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15028         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15029         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15030         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15031
15032 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
15033
15034         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15035         page size instead of calling getpagesize.
15036
15037         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15038         (LOCFILE_ALIGN_MASK): Likewise.
15039         (LOCFILE_ALIGN_UP): Likewise.
15040         (LOCFILE_ALIGNED_P): Likewise.
15041         * locale/programs/ld-collate.c (collate_output): Use the new
15042         macros instead of __alignof__ (int32_t).
15043         * locale/weight.h (findidx): Likewise.
15044
15045 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
15046
15047         [BZ #431]
15048         * manual/string.texi: Fix strncat and wcsncat.
15049
15050 2013-10-03  Brooks Moses  <bmoses@google.com>
15051
15052         [BZ #15915]
15053         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15054         * Makerules: ...here, and adjust associated comments.
15055
15056 2013-10-02  Will Newton  <will.newton@linaro.org>
15057
15058         * malloc/Makefile: Add tst-pvalloc.
15059         * malloc/tst-pvalloc.c: New file.
15060
15061 2013-10-02  Will Newton  <will.newton@linaro.org>
15062
15063         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15064         improve test coverage.
15065
15066 2013-10-02  Will Newton  <will.newton@linaro.org>
15067
15068         * malloc/Makefile: Add tst-posix_memalign.
15069         * malloc/tst-posix_memalign.c: New file.
15070
15071 2013-10-01  Eric Blake  <eblake@redhat.com>
15072
15073         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15074         Use __THROWNL rather than __THROW on static functions.
15075
15076 2013-09-30  Petr Machata  <pmachata@redhat.com>
15077
15078         * elf/elf.h (R_AARCH64_ABS16): New macro.
15079         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15080         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15081         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15082         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15083         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15084         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15085         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15086         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15087         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15088         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15089         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15090         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15091         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15092         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15093         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15094         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15095         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15096         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15097         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15098         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15099         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15100         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15101         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15102         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15103         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15104         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15105         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15106         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15107         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15108         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15109         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15110         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15111         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15112         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15113         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15114         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15115         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15116         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15117         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15118         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15119         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15120         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15121         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15122         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15123         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15124         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15125         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15126         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15127         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15128         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15129         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15130         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15131         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15132         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15133         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15134         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15135         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15136         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15137         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15138         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15139         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15140         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15141         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15142         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15143         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15144         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15145         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15146         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15147         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15148         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15149         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15150         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15151         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15152         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15153         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15154         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15155         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15156         (R_AARCH64_TLSDESC_LDR): Likewise.
15157         (R_AARCH64_TLSDESC_ADD): Likewise.
15158         (R_AARCH64_TLSDESC_CALL): Likewise.
15159
15160 2013-09-30  Andreas Schwab  <schwab@suse.de>
15161
15162         [BZ #15048]
15163         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15164         the nss database lookup.
15165         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15167
15168 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
15169
15170         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15171
15172 2013-09-28  P. J. McDermott  <pj@pehjota.net>
15173
15174         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15175         ${Bash-specific parameter/pattern/string} parameter expansion.
15176         * sysdeps/unix/make-syscalls.sh: Likewise.
15177
15178 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15179
15180         * sysdeps/sh/stackguard-macros.h: New file.
15181
15182 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
15183
15184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15186         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15187         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15188         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15189         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15190
15191 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15192
15193         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15194         Fix thread ID register.
15195
15196 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
15197
15198         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15199         [POSIX || UNIX98]: Require rather than permitting all symbols from
15200         <time.h>.
15201         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15202         element of struct sched_param.
15203         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15204         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15205         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15206         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15207         constant.
15208
15209 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
15210
15211         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15212         argument calculation.
15213
15214 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15215
15216         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15217         Expect macro.
15218         [POSIX] (pthread_attr_t): Do not require type.
15219         [POSIX] (pthread_cond_t): Likewise.
15220         [POSIX] (pthread_condattr_t): Likewise.
15221         [POSIX] (pthread_key_t): Likewise.
15222         [POSIX] (pthread_mutex_t): Likewise.
15223         [POSIX] (pthread_mutexattr_t): Likewise.
15224         [POSIX] (pthread_once_t): Likewise.
15225         [POSIX] (pthread_t): Likewise.
15226         [POSIX-based standards] (pthread_atfork): Expect function.
15227
15228 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
15229             Richard Sandiford  <richard@codesourcery.com>
15230
15231         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15232         (swap_endianness_p): New extern variable.
15233         (set_big_endian): New inline function.
15234         (maybe_swap_uint32): Likewise.
15235         (maybe_swap_uint32_array): Likewise.
15236         (maybe_swap_uint32_obstack): Likewise.
15237         * locale/programs/locfile.c: Include <stdbool.h>.
15238         (swap_endianness_p): New variable.
15239         (add_locale_uint32): Call maybe_swap_uint32.
15240         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15241         (write_locale_data): Call maybe_swap_uint32_array.
15242         * locale/programs/ld-collate.c (obstack_int32_grow): Call
15243         maybe_swap_uint32.
15244         (obstack_int32_grow_fast): Likewise.
15245         (output_weightwc): Call maybe_swap_uint32_obstack.
15246         (collate_output): Likewise.
15247         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15248         (OPT_LITTLE_ENDIAN): Likewise.
15249         (options): Add --little-endian and --big-endian options.
15250         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15251         * locale/programs/locarchive.c: Include "locfile.h".
15252         (GET): New macro.
15253         (SET): Likewise.
15254         (INC): Likewise.
15255         (create_archive): Use the new macros to access fields of
15256         structures directly mapped from or written to locale archives.
15257         (oldlocrecentcmp): Likewise.
15258         (enlarge_archive): Likewise.
15259         (insert_name): Likewise.
15260         (add_alias): Likewise.
15261         (add_locale): Likewise.
15262         (delete_locales_from_archive): Likewise.
15263         (show_archive_content): Likewise.
15264         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
15265         locale data.
15266
15267 2013-09-24  Roland McGrath  <roland@hack.frob.com>
15268
15269         * manual/freemanuals.texi: Updated from (newly) canonical copy at
15270         http://www.gnu.org/doc/freemanuals.texi.
15271         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15272
15273 2013-09-24  Will Newton  <will.newton@linaro.org>
15274
15275         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15276         macro.
15277
15278 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
15279
15280         * locale/hashval.h (compute_hashval): Interpret bytes of key as
15281         unsigned char.
15282
15283 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
15284
15285         * manual/threads.texi (POSIX Threads): Fix a typo.
15286
15287 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15288
15289         [BZ #14547]
15290         * string/tst-strcoll-overflow.c: New test case.
15291         * string/Makefile (xtests): Add tst-strcoll-overflow.
15292         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15293         cache if string sizes may cause integer overflow.
15294
15295         [BZ #14547]
15296         * string/strcoll_l.c (coll_seq): New members rule, idx,
15297         save_idx and back_us.
15298         (get_next_seq_nocache): New function.
15299         (do_compare_nocache): New function.
15300         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15301         when malloc fails.
15302
15303 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
15304
15305         [BZ #15754]
15306         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15307         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15308         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15309
15310         [BZ #15754]
15311         * elf/Makefile (tests): Add tst-ptrguard1.
15312         (tests-static): Add tst-ptrguard1-static.
15313         (tst-ptrguard1-ARGS): Define.
15314         (tst-ptrguard1-static-ARGS): Define.
15315         * elf/tst-ptrguard1.c: New file.
15316         * elf/tst-ptrguard1-static.c: New file.
15317         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15318         * sysdeps/i386/stackguard-macros.h: Likewise.
15319         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15320         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15321         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15322         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15323         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15324         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15325
15326 2013-09-23  Hector Marco  <hecmargi@upv.es>
15327             Ismael Ripoll  <iripoll@disca.upv.es>
15328             Carlos O'Donell  <carlos@redhat.com>
15329
15330         [BZ #15754]
15331         * sysdeps/generic/stackguard-macros.h: Define
15332         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15333         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15334         Define __pointer_chk_guard_local.
15335         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15336         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15337
15338 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15339
15340         [BZ #15859]
15341         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15342
15343 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15344
15345         * include/string.h (__ffs): Declare as hidden.
15346         * string/ffs.c (__ffs): Define as hidden.
15347         * sysdeps/i386/ffs.c (__ffs): Likewise.
15348         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15349         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15350         * sysdeps/s390/ffs.c (__ffs): Likewise.
15351         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15352
15353 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15354
15355         * NEWS: Mention malloc probes.
15356
15357         * malloc/arena.c (new_heap): New memory_heap_new probe.
15358         (grow_heap): New memory_heap_more probe.
15359         (shrink_heap): New memory_heap_less probe.
15360         (heap_trim): New memory_heap_free probe.
15361         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15362         (systrim): New memory_sbrk_less probe.
15363         * manual/probes.texi: Document them.
15364
15365         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15366         * manual/probes.texi: Document it.
15367
15368         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15369         (__libc_realloc): Add memory_realloc_retry probe.
15370         (__libc_memalign): Add memory_memalign_retry probe.
15371         (__libc_valloc): Add memory_valloc_retry probe.
15372         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15373         (__libc_calloc): Add memory_calloc_retry probe.
15374         * manual/probes.texi: Document them.
15375
15376         * malloc/arena.c (get_free_list): Add probe
15377         memory_arena_reuse_free_list.
15378         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15379         and memory_arena_reuse.
15380         (arena_get2) [!PER_THREAD]: Likewise.
15381         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15382         memory_arena_reuse_realloc.
15383         * manual/probes.texi: Document them.
15384
15385         * malloc/malloc.c (__libc_free): Add
15386         memory_mallopt_free_dyn_thresholds probe.
15387         (__libc_mallopt): Add multiple memory_mallopt probes.
15388         * manual/probes.texi: Document them.
15389
15390         * malloc/malloc.c: Include stap-probe.h.
15391         (__libc_mallopt): Add memory_mallopt probe.
15392         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15393         * manual/probes.texi: New.
15394         * manual/Makefile (chapters): Add probes.
15395         * manual/threads.texi: Set next node.
15396
15397 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15398
15399         [BZ #15963, #13985]
15400         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15401         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15402         Add `Chinese' to `nan' entry name.
15403
15404 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15405
15406         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15407         (POLYNOMIAL): Likewise.
15408         (TAYLOR_SINCOS): Likewise.
15409         (TAYLOR_SLOW): Likewise.
15410         (__sin): Use TAYLOR_SINCOS.
15411         (__cos): Likewise.
15412         (slow): Use TAYLOR_SLOW.
15413         (sloww): Likewise.
15414         (bsloww): Likewise.
15415         (csloww): Likewise.
15416
15417 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15418
15419         * stdlib/strtod_l.c: Fix buffer overrun.
15420
15421 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15422
15423         * benchtests/Makefile (bench): Add sincos.
15424         * benchtests/bench-sincos.c: New file.
15425
15426         * math/libm-test.inc (cos_test_data): New test inputs.
15427         (sin_test_data): Likewise.
15428
15429         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15430         macro.
15431         (__sin): Use it.
15432         (__cos): Likewise.
15433         (slow1): Likewise.
15434         (slow2): Likewise.
15435         (sloww1): Likewise.
15436         (sloww2): Likewise.
15437         (bsloww1): Likewise.
15438         (bsloww2): Likewise.
15439         (cslow2): Likewise.
15440         (csloww1): Likewise.
15441         (csloww2): Likewise.
15442
15443         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15444         function.
15445         (__sin): Use it.
15446         (__cos): Likewise.
15447
15448         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15449         gotos.
15450         (__cos): Likewise.
15451
15452 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15453
15454         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15455         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15456         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15457         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15458         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15459         * elf/cache.c (print_entry): Handle the new cache flags.
15460
15461 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15462             Aldy Hernandez  <aldyh@redhat.com>
15463
15464         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15465         Change condition to [_SOFT_FLOAT].
15466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15478         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15481         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15482         declaration.
15483
15484 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15485
15486         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15487         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15488         (__longjmp): Use LOAD_GP to load saved GPRs.
15489         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15490         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15491         (__sigsetjmp): Use SAVE_GP to save GPRs.
15492
15493         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15494         Do not append -msoft-float.
15495         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15496
15497 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15498
15499         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15500
15501 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15502
15503         [BZ #15966]
15504         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15505         (_FPU_GETCW): Use initial "__" on variable and field names but not
15506         on macro parameter name.
15507         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15508         parentheses around reference to macro parameter.
15509
15510 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15511
15512         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15513         prototype.
15514         (ctype_startup): Use uint32_t in cast and sizeof for
15515         ctype->charnames.
15516
15517 2013-09-11  Jia Liu  <proljc@gmail.com>
15518
15519         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15520         __daddr_t_defined.
15521         [__FreeBSD__]: Likewise.
15522
15523 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15524
15525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15526         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15527         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15528         (strchr): Remove __strchr_sse42 ifunc selection.
15529         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15530         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15531
15532 2013-09-11  Will Newton  <will.newton@linaro.org>
15533
15534         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15535         parameter to RES. Remove hardcoded 1000 value.
15536         * benchtests/bench-skeleton.c (main): Pass RES parameter
15537         to TIMING_INIT and multiply result by 1000.
15538
15539 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15540
15541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15542
15543 2013-09-11  Andreas Schwab  <schwab@suse.de>
15544
15545         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15546         if not defined.
15547         (O_TMPFILE) [__USE_GNU]: Define.
15548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15549         Define.
15550
15551 2013-09-11  Will Newton  <will.newton@linaro.org>
15552
15553         [BZ #15857]
15554         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15555         does not overflow.
15556
15557 2013-09-11  Will Newton  <will.newton@linaro.org>
15558
15559         [BZ #15856]
15560         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15561         does not overflow.
15562
15563 2013-09-11  Will Newton  <will.newton@linaro.org>
15564
15565         [BZ #15855]
15566         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15567         does not overflow.
15568
15569 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15570
15571         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15572         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15575         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15576
15577 2013-09-10  Allan McRae  <allan@archlinux.org>
15578
15579         [BZ #15748]
15580         * manual/arith.texi (Parsing of Floats): Clarify
15581         cross-reference.
15582
15583         [BZ #15849]
15584         * manual/install.texi (Running make install): Mention
15585         --enable-pt-chown.
15586         * INSTALL: Regenerated.
15587
15588 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15589
15590         * csu/init-first.c (_init): Remove the !SHARED condition around
15591         FPU control word initialization.
15592         * elf/dl-support.c (_dl_fpu_control): New variable.
15593         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15594         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15595         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15596         * math/test-fpucw-static.c: New file.
15597         * math/test-fpucw-ieee.c: New file.
15598         * math/test-fpucw-ieee-static.c: New file.
15599         * math/Makefile (tests): Add `test-fpucw-ieee' and
15600         `$(tests-static)'.
15601         (tests-static): New variable.
15602         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15603         dependency to...
15604         [($(build-shared),yes)]
15605         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15606         ... this.
15607         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15608         New dependency.
15609
15610 2013-09-09  Allan McRae  <allan@archlinux.org>
15611
15612         [BZ #15939]
15613         * manual/string.texi (Collation Functions): Fix typo in
15614         strcoll example.
15615         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15616
15617         [BZ #15893]
15618         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15619
15620         [BZ #15892]
15621         * libio/memstream.c (open_memstream): Fix memory leak.
15622         * libio/wmemstream.c (open_wmemstream): Likewise.
15623
15624         [BZ #15895]
15625         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15626
15627 2013-09-09  Will Newton  <will.newton@linaro.org>
15628
15629         * malloc/Makefile: Add tst-realloc to tests.
15630         * malloc/tst-realloc.c: New file.
15631
15632 2013-09-09  Allan McRae  <allan@archlinux.org>
15633
15634         [BZ #15844]
15635         * COPYING: Update from GNU website to fix FSF address.
15636         * COPYING.LIB: Likewise.
15637
15638 2013-09-06  David S. Miller  <davem@davemloft.net>
15639
15640         * po/zh_TW.po: Update Chinese (traditional) translation from
15641         translation project.
15642
15643 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15644             Joseph Myers  <joseph@codesourcery.com>
15645
15646         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15647         "localeinfo.h".
15648         (obstack_chunk_alloc): New macro.
15649         (obstack_chunk_free): Likewise.
15650         (record_offset): New function.
15651         (init_locale_data): Likewise.
15652         (align_locale_data): Likewise.
15653         (add_locale_empty): Likewise.
15654         (add_locale_raw_data): Likewise.
15655         (add_locale_raw_obstack): Likewise.
15656         (add_locale_string): Likewise.
15657         (add_locale_wstring): Likewise.
15658         (add_locale_uint32): Likewise.
15659         (add_locale_uint32_array): Likewise.
15660         (add_locale_char): Likewise.
15661         (start_locale_structure): Likewise.
15662         (end_locale_structure): Likewise.
15663         (start_locale_prelude): Likewise.
15664         (end_locale_prelude): Likewise.
15665         (write_locale_data): Take locale_file structure rather than an
15666         iovec.
15667         * locale/programs/locfile.h: Include "obstack.h".
15668         (struct locale_file): Change to store locale file contents instead
15669         of header.
15670         (init_locale_data): New prototype.
15671         (align_locale_data): Likewise.
15672         (add_locale_empty): Likewise.
15673         (add_locale_raw_data): Likewise.
15674         (add_locale_raw_obstack): Likewise.
15675         (add_locale_string): Likewise.
15676         (add_locale_wstring): Likewise.
15677         (add_locale_uint32): Likewise.
15678         (add_locale_uint32_array): Likewise.
15679         (add_locale_char): Likewise.
15680         (start_locale_structure): Likewise.
15681         (end_locale_structure): Likewise.
15682         (start_locale_prelude): Likewise.
15683         (end_locale_prelude): Likewise.
15684         (write_locale_data): Update prototype.
15685         * locale/programs/3level.h (struct TABLE): Remove result field.
15686         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15687         Use new locale_file interface.
15688         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15689         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15690         * locale/programs/ld-address.c (address_output): Use new
15691         locale_file interface.
15692         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15693         NO_ADD_LOCALE.
15694         (collate_finish): Don't call collseq_table_finalize.
15695         (collate_output): Use new locale_file interface.
15696         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15697         in file.
15698         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15699         (TABLE): Move defines earlier in file.
15700         (ELEMENT): Likewise.
15701         (DEFAULT): Likewise.
15702         (wctrans_table_add): Move macro and inline function earlier in
15703         file.
15704         (struct wctype_table): Move type earlier in file.
15705         (add_locale_wctype_table): New static prototype.
15706         (struct locale_ctype_t): Use logical types instead of struct iovec
15707         pointers for members.
15708         (ctype_output): Use new locale_file interface.
15709         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15710         new locale_file interface.
15711         (allocate_arrays): Update for use of new locale_file interface.
15712         * locale/programs/ld-identification.c (identification_output): Use
15713         new locale_file interface.
15714         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15715         * locale/programs/ld-messages.c (messages_output): Likewise.
15716         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15717         * locale/programs/ld-name.c (name_output): Likewise.
15718         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15719         * locale/programs/ld-paper.c (paper_output): Likewise.
15720         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15721         * locale/programs/ld-time.c (time_output): Likewise.
15722
15723 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15724
15725         * benchtests/Makefile: Add memrchr benchmark.
15726         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15727         benchmark as memrchr.
15728         * benchtests/bench-memrchr-ifunc.c: New file.
15729         * benchtests/bench-memrchr.c: New file.
15730
15731 2013-09-06   Will Newton  <will.newton@linaro.org>
15732
15733         * benchtests/Makefile (string-bench): Add memcpy.
15734
15735 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15736             Cong Wang  <amwang@redhat.com>
15737
15738         [BZ #15850]
15739         * sysdeps/unix/sysv/linux/bits/in.h
15740         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15741         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15742         before __USE_KERNEL_IPV6_DEFS uses.
15743         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15744         IPPROTO_BEETPH.
15745         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15746         sockaddr_in6, or ipv6_mreq.
15747
15748 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15749
15750         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15751         memory access for final bytes in some large inputs.
15752         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15753
15754 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15755
15756         * string/test-memrchr.c: New file.
15757         * string/test-memrchr-ifunc.c: New file.
15758         * string/Makefile: Add new memrchr testcase.
15759
15760 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15761
15762         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15763         fanotify_init returns EPERM.
15764
15765 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15766
15767         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15768         errors.
15769         (top level): Treat second token from macro or constant entries for
15770         allowed headers as allowed.
15771         * include/complex.h: Condition internal declarations on
15772         [!_ISOMAC].
15773         * include/fenv.h: Condition include of <stdbool.h> and internal
15774         declarations on [!_ISOMAC].
15775
15776 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15777
15778         [BZ #15923]
15779         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15780
15781 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15782
15783         * configure.in (--enable-versioning): Remove configure option.
15784         (libc_cv_asm_symver_directive): Remove configure test.
15785         (libc_cv_ld_version_script_option): Likewise.
15786         (VERSIONING): Remove variable and AC_SUBST.
15787         (DO_VERSIONING): Remove AC_DEFINE.
15788         * configure: Regenerated.
15789         * config.h.in (DO_VERSIONING): Remove macro.
15790         * Makerules [$(versioning) = yes]: Change conditionals to
15791         [$(build-shared) = yes].
15792         * config.make.in (versioning): Remove variable.
15793         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15794         [$(build-shared) = yes].
15795         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15796         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15797         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15798         [$(build-shared) = yes].
15799         * extra-lib.mk [$(versioning) = yes]: Likewise.
15800         * hurd/Makefile [$(versioning) = yes]: Likewise.
15801         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15802         [SHARED].
15803         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15804         [SHARED].
15805         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15806         [SHARED && !NO_HIDDEN].
15807         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15808         [SHARED].
15809         [SHARED && DO_VERSIONING]: Likewise..
15810         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15811         [$(build-shared) = yes].
15812         * manual/install.texi (--disable-versioning): Remove
15813         documentation.
15814         * INSTALL: Regenerated.
15815         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15816         to [SHARED].
15817         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15818         [$(build-shared) = yes].
15819         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15820         * sysdeps/i386/i686/multiarch/strstr-c.c
15821         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15822         [SHARED && !NO_HIDDEN].
15823         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15824         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15825         * sysdeps/powerpc/powerpc32/dl-machine.c
15826         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15827         * sysdeps/powerpc/powerpc32/sysdep.h
15828         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15829         to [SHARED && PIC && !NO_HIDDEN].
15830         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15831         conditional to [SHARED].
15832
15833 2013-09-04   Will Newton  <will.newton@linaro.org>
15834
15835         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15836         * benchtests/bench-string.h: Include bench-timing.h instead
15837         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15838         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15839         call to HP_TIMING_DIFF_INIT.
15840         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15841         instead of hp-timing.h macros.
15842         * benchtests/bench-memchr.c: Likewise.
15843         * benchtests/bench-memcmp.c: Likewise.
15844         * benchtests/bench-memcpy.c: Likewise.
15845         * benchtests/bench-memmem.c: Likewise.
15846         * benchtests/bench-memmove.c: Likewise.
15847         * benchtests/bench-memset.c: Likewise.
15848         * benchtests/bench-rawmemchr.c: Likewise.
15849         * benchtests/bench-strcasecmp.c: Likewise.
15850         * benchtests/bench-strcasestr.c: Likewise.
15851         * benchtests/bench-strcat.c: Likewise.
15852         * benchtests/bench-strchr.c: Likewise.
15853         * benchtests/bench-strcmp.c: Likewise.
15854         * benchtests/bench-strcpy.c: Likewise.
15855         * benchtests/bench-strcpy_chk.c: Likewise.
15856         * benchtests/bench-strlen.c: Likewise.
15857         * benchtests/bench-strncasecmp.c: Likewise.
15858         * benchtests/bench-strncat.c: Likewise.
15859         * benchtests/bench-strncmp.c: Likewise.
15860         * benchtests/bench-strncpy.c: Likewise.
15861         * benchtests/bench-strnlen.c: Likewise.
15862         * benchtests/bench-strpbrk.c: Likewise.
15863         * benchtests/bench-strrchr.c: Likewise.
15864         * benchtests/bench-strspn.c: Likewise.
15865         * benchtests/bench-strstr.c: Likewise.
15866
15867 2013-09-04  Will Newton  <will.newton@linaro.org>
15868
15869         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15870
15871 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15872
15873         [BZ #15427]
15874         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15875         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15876         * math/libm-test.inc (lgamma_test_data): Add more tests.
15877         * sysdeps/i386/fpu/libm-test-ulps: Update.
15878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15879
15880 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15881
15882         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15884         Add ifunc.
15885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15886         Add strcmp-sse2-unaligned
15887         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15888
15889 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15890
15891         * Versions.def (libc): Add GLIBC_2.19.
15892
15893 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15894
15895         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15896         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15897
15898 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15899
15900         [BZ #14155]
15901         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15902         intermediate calculations in recurrence.
15903         (__ieee754_ynf): Likewise.
15904         * math/libm-test.inc (jn_test_data): Do not allow spurious
15905         underflow exception.  Add more tests.
15906         (yn_test_data): Add more tests.
15907         * sysdeps/i386/fpu/libm-test-ulps: Update.
15908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15909
15910 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15911
15912         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15913
15914 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15915
15916         * csu/init-first.c: Fix then/than typos.
15917         * locale/programs/ld-collate.c: Likewise.
15918         * locale/programs/linereader.h: Likewise.
15919         * manual/charset.texi: Likewise.
15920         * manual/filesys.texi: Likewise.
15921         * manual/stdio.texi: Likewise.
15922         * manual/string.texi: Likewise.
15923         * stdlib/fmtmsg.c: Likewise.
15924         * sysdeps/i386/stpncpy.S: Likewise.
15925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15926         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15927         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15928         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15929
15930 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15931
15932         * elf/dl-open.c: Fix typos.
15933         * iconvdata/gbbig5.c: Likewise.
15934         * iconvdata/iso-2022-jp.c: Likewise.
15935         * iconv/gconv_int.h: Likewise.
15936         * iconv/loop.c: Likewise.
15937         * nis/rpcsvc/nis.h: Likewise.
15938         * resolv/ns_name.c: Likewise.
15939         * stdio-common/vfscanf.c: Likewise.
15940         * streams/stropts.h: Likewise.
15941         * sunrpc/rpc_thread.c: Likewise.
15942         * sysdeps/i386/strpbrk.S: Likewise.
15943         * sysdeps/ieee754/k_standard.c: Likewise.
15944         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15945         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15946         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15947         * sysdeps/mach/hurd/profil.c: Likewise.
15948         * sysdeps/s390/dl-procinfo.h: Likewise.
15949         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15950         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15951         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15952         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15954
15955 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15956
15957         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15959
15960 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15961
15962         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15963         aix specific files.
15964         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15965         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15966         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15967         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15968         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15969         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15970         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15971         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15972
15973 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15974             Roland McGrath  <roland@hack.frob.com>
15975
15976         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15977         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15978
15979 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15980
15981         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15982         __executable_start symbol instead of _start.
15983
15984 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15985
15986         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15987         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15988         Move macros to...
15989         * sysdeps/gnu/ldsodefs.h: ... this new file.
15990
15991         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15992         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15993         instead of ELFOSABI_LINUX.
15994
15995         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15996         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15997         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15998         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15999         Likewise.
16000         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16001         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16002         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16003         Likewise.
16004         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16005         (ibm_extended_long_double): Add ieee_nan member.
16006         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16007         (do_test): New function.
16008
16009         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16010         TEST_TRUNC.
16011         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16012         functions, renamed from truncdfsf_test, trunctfsf_test,
16013         trunctfdf_test.
16014         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16015         functions.
16016         (do_test): Run all these.
16017
16018 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
16019
16020         * argp/argp-help.c: Fix typos.
16021         * argp/argp-parse.c: Likewise.
16022         * debug/backtracesyms.c: Likewise.
16023         * elf/elf.h: Likewise.
16024         * malloc/malloc.c: Likewise.
16025         * nis/nis_print.c: Likewise.
16026         * resolv/res_comp.c: Likewise.
16027         * stdlib/stdlib.h: Likewise.
16028         * sunrpc/clnt_tcp.c: Likewise.
16029         * sunrpc/clnt_udp.c: Likewise.
16030         * sunrpc/clnt_unix.c: Likewise.
16031         * sysdeps/unix/bsd/ptsname.c: Likewise.
16032         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16033         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16035         Likewise.
16036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16037         Likewise.
16038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16039         Likewise.
16040         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16041
16042 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16043
16044         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16046
16047 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
16048
16049         [BZ #15897]
16050         * dlfcn/Makefile (tests): Add bug-dl-leaf.
16051         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16052         ($(objpfx)bug-dl-leaf): New rule.
16053         ($(objpfx)bug-dl-leaf.so): Likewise.
16054         ($(objpfx)bug-dl-leaf.out): Likewise.
16055         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16056         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16057         * dlfcn/bug-dl-leaf.c: New test.
16058         * dlfcn/bug-dl-leaf-lib.c: Likewise.
16059         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16060         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16061         (dlclose): Likewise.
16062         (dlmopen): Likewise.
16063
16064 2013-08-27  Roland McGrath  <roland@hack.frob.com>
16065
16066         * include/netdb.h [!_ISOMAC]:
16067         Don't include <tls.h>.
16068         (h_errno, __libc_h_errno): Move declaration and macros out of
16069         [_LIBC_REENTRANT].
16070
16071         * include/resolv.h [_RESOLV_H_]:
16072         Don't include <tls.h>.
16073         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16074         * resolv/res_libc.c: Don't include <tls.h>.
16075         (_res): Use __attribute__ ((nocommon)) in place of
16076         __attribute__ ((section (".bss"))).
16077
16078         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16079         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16080
16081         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16082
16083         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16084         only under [SIOCGIFCONF && SIOCGIFNETMASK].
16085
16086         * resolv/res_mkquery.c: Include <sys/time.h>.
16087
16088         * inet/ifreq.c: Moved to ...
16089         * sysdeps/unix/ifreq.c: ... here.
16090         * inet/ifreq.c: New file, true stub version.
16091
16092         * socket/sa_len.c: New file.
16093         * socket/Makefile (aux): Add it.
16094         * sysdeps/unix/sysv/linux/Makefile
16095         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16096         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16097         and #include <socket/sa_len.c>.
16098         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16099         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16100
16101         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16102         * bits/socket.h: ... here.
16103
16104         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16105         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16106         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16107
16108 2013-08-27  Andreas Schwab  <schwab@suse.de>
16109
16110         [BZ #15736]
16111         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16112         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16113         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16114         * string/test-strcasecmp.c (test_main): Run tests in several
16115         locales.
16116         * string/test-strncasecmp.c (test_main): Likewise.
16117
16118         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16119         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16120         to __strcasecmp_nonascii and __strncasecmp_nonascii.
16121         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16122         (__strncasecmp_ssse3) [PIC]: Likewise.
16123
16124 2013-08-26  Roland McGrath  <roland@hack.frob.com>
16125
16126         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16127
16128         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16129         instead of explicitly declaring xdecrypt.
16130         * nis/nss_nis/nis-publickey.c: Likewise.
16131
16132 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16133
16134         [BZ #15890]
16135         * nscd/aicache.c: Include res_hconf.h.
16136         (addhstaiX): Initialize res_hconf.
16137
16138 2013-08-26  Andreas Schwab  <schwab@suse.de>
16139
16140         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16141         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16142
16143 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16144
16145         * nscd/aicache.c (addhstaiX): Fix indentation.
16146
16147 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
16148
16149         * configure.ac: Quote $build_pt_chown test.
16150         * configure: Regenerated.
16151
16152 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
16153
16154         [BZ #15532]
16155         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16156         * math/s_cexpf.c (__cexpf): Likewise.
16157         * math/s_cexpl.c (__cexpl): Likewise.
16158         * math/libm-test.inc (cexp_test_data): Correct expected return
16159         value for NaN + i0.  Add another test.
16160
16161 2013-08-22  David S. Miller  <davem@davemloft.net>
16162
16163         * po/ca.po: Update Catalan translation from translation project.
16164         * po/uk.po: Add Ukrainian translations from translation project.
16165
16166 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
16167
16168         [BZ #15797]
16169         * math/s_fdim.c (__fdim): Check for infinite arguments if result
16170         is infinite, not alongside NaN test.
16171         * math/s_fdimf.c (__fdimf): Likewise.
16172         * math/s_fdiml.c (__fdiml): Likewise.
16173         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
16174         errno is unchanged.
16175
16176 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
16177
16178         * argp/argp-help.c: Fix typos.
16179         * crypt/speeds.c: Likewise.
16180         * csu/check_fds.c: Likewise.
16181         * elf/dl-load.c: Likewise.
16182         * elf/dl-open.c: Likewise.
16183         * elf/reldep3.c: Likewise.
16184         * elf/reldep.c: Likewise.
16185         * elf/sprof.c: Likewise.
16186         * iconv/iconv_charmap.c: Likewise.
16187         * iconv/skeleton.c: Likewise.
16188         * iconv/strtab.c: Likewise.
16189         * io/lockf64.c: Likewise.
16190         * libio/libioP.h: Likewise.
16191         * resolv/gai_notify.c: Likewise.
16192         * resolv/ns_name.c: Likewise.
16193         * resolv/ns_samedomain.c: Likewise.
16194         * resolv/res_send.c: Likewise.
16195         * stdlib/random.c: Likewise.
16196         * sunrpc/rpc/xdr.h: Likewise.
16197         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16198         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16199         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16200         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16201         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16202         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16203         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16204         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16205         * sysdeps/mach/hurd/check_fds.c: Likewise.
16206         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16207         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16208         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16209         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16210         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16211         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16212         * sysdeps/pthread/aio_notify.c: Likewise.
16213         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16214         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16215         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16216         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16217         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16218
16219 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16220
16221         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16222         version if bit_Slow_SSE4_2 is set.
16223         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16224         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16225
16226 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16227
16228         [BZ #15867]
16229         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16230         trampoline stack frame information.
16231         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16233         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16234         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16235         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16236         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16237         (_libc_vdso_platform_setup): Initialize the signal trampolines.
16238         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16239         sa_flags value.
16240         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16241         interrupting a syscall and set with option SA_SIGINFO.
16242
16243 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16244
16245         [BZ #15531]
16246         * math/s_cproj.c (__cproj): Only return an infinity if one part of
16247         argument is infinite.
16248         * math/s_cprojf.c (__cprojf): Likewise.
16249         * math/s_cprojl.c (__cprojl): Likewise.
16250         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16251         * math/libm-test.inc (cproj_test_data): Add more tests.
16252
16253         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16254
16255         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16256         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16257         size.  Use __ffs to determine corresponding shift.
16258
16259 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
16260             Roland McGrath  <roland@hack.frob.com>
16261
16262         * Makefile (INSTALL): Remove trailing blank lines from output of
16263         makeinfo.
16264
16265 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16266
16267         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16268         Align 32 bit compat elf_greg to 8 bytes.
16269
16270 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
16271
16272         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16273
16274 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16275
16276         * string/strcoll_l.c (coll_seq): New structure.
16277         (get_next_seq_cached): New function.
16278         (get_next_seq): New function.
16279         (do_compare): New function.
16280         (STRCOLL): Use GNU style definition.  Simplify implementation
16281         by using get_next_seq, get_next_seq_cached and do_compare.
16282
16283 2013-08-16  Florian Weimer  <fweimer@redhat.com>
16284
16285         [BZ #14699]
16286         CVE-2013-4237
16287         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16288         member.
16289         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16290         member.
16291         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16292         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16293         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
16294         conditional.
16295         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16296         GETDENTS_64BIT_ALIGNED.
16297         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16298         * manual/filesys.texi (Reading/Closing Directory): Document
16299         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
16300         strongly.
16301         * manual/conf.texi (Limits for Files): Add portability note to
16302         NAME_MAX, PATH_MAX.
16303         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16304
16305 2013-08-13  Andreas Schwab  <schwab@suse.de>
16306
16307         [BZ #15749]
16308         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16309         of fabs.
16310         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16311         LDBL_MAX_EXP >= 16384]: Add tests for it.
16312
16313 2013-08-12  David S. Miller  <davem@davemloft.net>
16314
16315         * version.h (RELEASE): Set to "development".
16316         (VERSION): Set to "2.18.90".
16317         * NEWS: Add 2.19 section.
16318
16319 2013-08-03  David S. Miller  <davem@davemloft.net>
16320
16321         * po/ko.po: Update Korean translation from translation project.
16322
16323 2013-08-01  David S. Miller  <davem@davemloft.net>
16324
16325         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
16326         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16327         Bilka.
16328
16329 2013-07-30  David S. Miller  <davem@davemloft.net>
16330
16331         * po/fr.po: Update French translation from translation project.
16332
16333 2013-07-28  David S. Miller  <davem@davemloft.net>
16334
16335         * po/cs.po: Update Czech translation from translation project.
16336
16337         * po/sv.po: Update Swedish translation from translation project.
16338
16339 2013-07-27  David S. Miller  <davem@davemloft.net>
16340
16341         * po/eo.po: Update Esperanto translation from translation project.
16342
16343         * po/vi.po: Update Vietnamese translation from translation project.
16344
16345         * po/de.po: Update German translation from translation project.
16346
16347 2013-07-26  David S. Miller  <davem@davemloft.net>
16348
16349         * po/bg.po: Update Bulgarian translation from translation project.
16350
16351         * po/nl.po: Update Dutch translation from translation project.
16352         * po/pl.po: Update Polish translation from translation project.
16353         * po/ru.po: Update Russian translation from translation project.
16354
16355 2013-07-24  David S. Miller  <davem@davemloft.net>
16356
16357         * po/libc.pot: Update.
16358
16359 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16360
16361         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16362         variable page size.
16363         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16364         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16365         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16366
16367 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16368
16369         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16370
16371 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16372             Andreas Schwab  <schwab@suse.de>
16373             Roland McGrath  <roland@hack.frob.com>
16374             Joseph Myers  <joseph@codesourcery.com>
16375             Carlos O'Donell  <carlos@redhat.com>
16376
16377         [BZ #15755]
16378         * config.h.in: Define HAVE_PT_CHOWN.
16379         * config.make.in (build-pt-chown): New variable.
16380         * configure.in (--enable-pt_chown): New configure option.
16381         * configure: Regenerate.
16382         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16383         build-pt-chown is enabled.
16384         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16385         pt_chown to fix pty ownership.
16386         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16387         CLOSE_ALL_FDS.
16388         * manual/install.texi (Configuring and compiling): Mention
16389         --enable-pt_chown. Add @findex for grantpt.
16390         * INSTALL: Regenerate.
16391
16392 2013-07-20  David S. Miller  <davem@davemloft.net>
16393
16394         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16395         difference between 32-bit and 64-bit.
16396
16397 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16398
16399         [BZ #15711]
16400         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16401         Avoid system header dependency with -ffreestanding.
16402         ($(objpfx)bits/syscall%d): Likewise.
16403
16404 2013-07-13  David S. Miller  <davem@davemloft.net>
16405
16406         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16407         underflows from atanl/atan2l due to bug 15319.
16408         (casinh_test_data): Likewise.
16409
16410 2013-07-07  David S. Miller  <davem@davemloft.net>
16411
16412         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16413
16414 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16415
16416         * sysdeps/i386/fpu/libm-test-ulps: Update.
16417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16418
16419 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16420
16421         * configure.in (--enable-lock-elision): Fix message text.
16422         * INSTALL: Regenerate.
16423         * configure: Regenerate.
16424
16425 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16426
16427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16428
16429 2013-07-03  Andreas Jaeger  <aj@suse.de>
16430
16431         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16432         define.
16433         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16434         (ptrace_peeksiginfo_args): Add.
16435         (__ptrace_peeksiginfo_flags): Add.
16436         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16437         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16438         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16439
16440 2013-07-03  Allan McRae  <allan@archlinux.org>
16441
16442         * sysdeps/i386/fpu/libm-test-ulps: Update.
16443
16444 2013-07-02  David S. Miller  <davem@davemloft.net>
16445
16446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16447
16448 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16449
16450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16451
16452 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16453
16454         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16456
16457 2013-07-02  Andi Kleen <ak@linux.intel.com>
16458
16459         * config.h.in (ENABLE_LOCK_ELISION): Add.
16460         * configure.in (--enable-lock-elision): Add option.
16461         * manual/install.texi: Document --enable lock elision.
16462         * configure: Regenerate
16463         * INSTALL: Regenerate.
16464
16465 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16466
16467         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16468         SSE4.2 strcasecmp for libc.a.
16469         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16470
16471 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16472
16473         [BZ #13304]
16474         * soft-fp/op-common.h (_FP_FMA): New macro.
16475         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16476         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16477         (_FP_MUL_MEAT_1_imm): ... here.
16478         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16479         (_FP_MUL_MEAT_1_wide): ... here.
16480         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16481         (_FP_MUL_MEAT_1_hard): ... here.
16482         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16483         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16484         (_FP_MUL_MEAT_2_wide): ... here.
16485         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16486         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16487         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16488         (_FP_MUL_MEAT_2_gmp): ... here.
16489         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16490         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16491         (_FP_MUL_MEAT_4_wide): ... here.
16492         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16493         (_FP_MUL_MEAT_4_gmp): ... here.
16494         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16495         (_FP_WFRACBITS_DW_S): Likewise.
16496         (_FP_WFRACXBITS_DW_S): Likewise.
16497         (_FP_HIGHBIT_DW_S): Likewise.
16498         (FP_FMA_S): Likewise.
16499         (_FP_FRAC_HIGH_DW_S): Likewise.
16500         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16501         (_FP_WFRACBITS_DW_D): Likewise.
16502         (_FP_WFRACXBITS_DW_D): Likewise.
16503         (_FP_HIGHBIT_DW_D): Likewise.
16504         (FP_FMA_D): Likewise.
16505         (_FP_FRAC_HIGH_DW_D): Likewise.
16506         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16507         (_FP_WFRACBITS_DW_E): Likewise.
16508         (_FP_WFRACXBITS_DW_E): Likewise.
16509         (_FP_HIGHBIT_DW_E): Likewise.
16510         (FP_FMA_E): Likewise.
16511         (_FP_FRAC_HIGH_DW_E): Likewise.
16512         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16513         (_FP_WFRACBITS_DW_Q): Likewise.
16514         (_FP_WFRACXBITS_DW_Q): Likewise.
16515         (_FP_HIGHBIT_DW_Q): Likewise.
16516         (FP_FMA_Q): Likewise.
16517         (_FP_FRAC_HIGH_DW_Q): Likewise.
16518         * soft-fp/fmasf4.c: New file.
16519         * soft-fp/fmadf4.c: Likewise.
16520         * soft-fp/fmatf4.c: Likewise.
16521
16522 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16523
16524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16525         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16526         Silvermont.
16527         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16528         macro.
16529         (index_Slow_SSE4_2): Likewise.
16530         (index_Prefer_PMINUB_for_stringop): Likewise.
16531         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16532         bit_Slow_SSE4_2 is set.
16533         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16534         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16535
16536 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16537
16538         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16539         rtld_global._dl_hwcap2.
16540         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16541         POWER8.
16542         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16543         POWER8 feature descriptions defined in _dl_hwcap2.
16544         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16545         string handling for POWER8 feature bits.
16546         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16547         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16548         _dl_powerpc_cap_flags.
16549         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16550         * sysdeps/powerpc/rtld-global-offsets.sym
16551         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16552         _dl_hwcap2 in the rtld_global_ro structure.
16553
16554 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16555
16556         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16557         hardware capabilities in support of AT_HWCAP2.
16558         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16559         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16560         GLRO(dl_hwcap2).
16561         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16562         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16563         explicitly the unknown a_type display mechanism is used.
16564         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16565         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16566         struct member.
16567         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16568         to macro prototype for AT_HWCAP2 support.
16569         * sysdeps/i386/dl-procinfo.h: Likewise.
16570         * sysdeps/s390/dl-procinfo.h: Likewise.
16571         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16572         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16573         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16574         return -1 for unknown a_type display fallback.
16575         * sysdeps/sparc/dl-procinfo.h: Likewise.
16576         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16577         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16578
16579 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16580
16581         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16582         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16583
16584 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16585
16586         [BZ #12492]
16587         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16588         mprotect making __stack_prot writable.
16589
16590 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16591             Joseph Myers  <joseph@codesourcery.com>
16592
16593         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16594         as being properly aligned.
16595
16596 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16597
16598         * dlfcn/modstatic5.c: New file.
16599         * dlfcn/tststatic5.c: New file.
16600         * dlfcn/Makefile (tests): Add tststatic5.
16601         (tests-static): Likewise.
16602         (modules-names): Add modstatic5.
16603         (tststatic5-ENV): New variable.
16604         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16605
16606         [BZ #15022]
16607         * elf/dl-support.c (_dl_main_map): New variable.
16608         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16609         (_dl_nns, _dl_load_adds): Set to 1.
16610         (_dl_initial_searchlist): Refer to _dl_main_map.
16611         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16612         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16613         call to _dl_get_origin.
16614         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16615         around call_map.
16616         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16617         * dlfcn/modstatic3.c: New file.
16618         * dlfcn/tststatic3.c: New file.
16619         * dlfcn/tststatic4.c: New file.
16620         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16621         (tests-static): Likewise.
16622         (modules-names): Add modstatic3.
16623         (tststatic3-ENV, tststatic4-ENV): New variables.
16624         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16625         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16626
16627 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16628
16629         * configure.in (CC): Require GCC version 4.4 or later.
16630         * configure: Regenerated.
16631         * manual/install.texi (Tools for Compilation): Update GCC version
16632         requirement.
16633         * INSTALL: Regenerated.
16634
16635 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16636
16637         [BZ #15674]
16638         * string/test-memcmp.c (check2): New.
16639         (main): Call check2.
16640
16641         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16642
16643 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16644
16645         [BZ #15022]
16646         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16647         over to...
16648         (dl_open_worker) [!SHARED]: ... here.
16649
16650 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16651
16652         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16653
16654 2013-06-25  Richard Henderson  <rth@redhat.com>
16655
16656         * locale/programs/locarchive.c: Include <libc-internal.h>
16657
16658 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16659
16660         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16661         trailing whitespace removed.
16662
16663 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16664
16665         [BZ #10283]
16666         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16667         * locale/programs/locarchive.c: Include libc-mmap.h.
16668         (prepare_address_space): Take two new outputs (the mmap base and len).
16669         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16670         values.
16671         (create_archive): Declare new mmap base and len values for
16672         prepare_address_space, and store the result in ah.
16673         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16674         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16675         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16676         Declare new mmap base and len values for
16677         prepare_address_space, and store the result in new_ah.
16678         (open_archive): Declare new mmap base and len values for
16679         prepare_address_space, and store the result in ah.
16680         (close_archive): If ah->mmap_base is not NULL, use that and
16681         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16682         * sysdeps/generic/libc-mmap.h: New file.
16683
16684 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16685
16686         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16687         (ALIGN_UP): Likewise.
16688         (PTR_ALIGN_DOWN): Likewise.
16689         (PTR_ALIGN_UP): Likewise.
16690
16691 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16692
16693         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16694         entry mapped to PPC_PLATFORM_POWER8.
16695         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16696         POWER8.
16697         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16698         (_dl_string_platform): Add case for exporting platform position for
16699         POWER8.
16700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16701         search path to sysdeps/powerpc/powerpc32/power8 directory.
16702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16703         search path to sysdeps/powerpc/powerpc64/power8 directory.
16704         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16705         power7 directories.
16706         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16707         power7 directories.
16708
16709 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16710
16711         * INSTALL: Regenerate.
16712
16713         * nscd/connections.c (nscd_init): Fix comment.
16714
16715 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16716
16717         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16718
16719         [BZ #15667]
16720         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16721         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16722
16723 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16724
16725         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16726         DL_DST_REQ_STATIC.
16727         (DL_DST_REQ_STATIC): Remove macro.
16728
16729 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16730
16731         [BZ #7006]
16732         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16733         with a shift of 0 bits.
16734
16735 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16736
16737         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16738         $(tststatic-ENV).
16739
16740 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16741
16742         [BZ #15655]
16743         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16744
16745 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16746
16747         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16748         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16749         accepts -fno-tree-loop-distribute-patterns.
16750         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16751         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16752         recursive call.
16753         * string/memset.c (memset): Likewise.
16754         * string/test-memmove.c (simple_memmove): Disable loop transformation
16755         to library calls.
16756         * string/test-memset.c (simple_memset): Likewise.
16757         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16758         * benchtests/bench-memset.c (simple_memset): Likewise.
16759         * configure: Regenerated.
16760
16761 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16762
16763         * math/test-misc.c (main): Ignore fesetround failure when failures
16764         of subsequent rounding tests would be ignored.
16765
16766         [BZ #15654]
16767         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16768         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16769         * math/fegetenv.c (__fegetenv): Return 0.
16770         * math/fegetexcept.c (fegetexcept): Return 0.
16771         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16772         FE_TONEAREST.
16773         * math/feholdexcpt.c (feholdexcept): Return 0.
16774         * math/fesetenv.c (__fesetenv): Return 0.
16775         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16776         argument FE_TONEAREST.
16777         * math/feupdateenv.c (__feupdateenv): Return 0.
16778         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16779
16780 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16781
16782         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16783         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16784         ($(objpfx)rtld-%.os rules): Use them.
16785
16786 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16787
16788         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16789         fields.
16790
16791 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16792
16793         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16794         length of target pattern, then descending length of dependency pattern.
16795         * configure.in (AWK): Require gawk 3.1.2 or newer.
16796         * manual/install.texi (Tools for Compilation): Say that we do.
16797         * configure: Regenerated.
16798
16799         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16800         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16801         * scripts/sysd-rules.awk: ... this new script.
16802         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16803         than a glob-style pattern.
16804
16805 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16806
16807         * math/test-misc.c (main): Do not treat incorrectly rounded
16808         conversions as failure unless ROUNDING_TESTS passes.
16809
16810 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16811
16812         [BZ #15631]
16813         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16814         restore exception state around main square root computation, then
16815         check for inexactness explicitly.
16816
16817         * math/libm-test.inc (fma_test_data): Add another test.
16818
16819 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16820
16821         * manual/threads.texi (Non-POSIX Extensions): New document
16822         node.  Document pthread_getattr_default_np and
16823         pthread_setattr_default_np.
16824
16825         * Versions.def (libpthread): Add GLIBC_2.18.
16826         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16828         Likewise.
16829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16830         Likewise.
16831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16832         Likewise.
16833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16834         Likewise.
16835         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16836         Likewise.
16837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16838         Likewise.
16839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16840         Likewise.
16841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16842         Likewise.
16843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16844         Likewise.
16845
16846 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16847
16848         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16849         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16850
16851 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16852             H.J. Lu  <hjl.tools@gmail.com>
16853
16854         [BZ #15627]
16855         * sysdeps/x86_64/rtld-memset.c: Remove file.
16856         * sysdeps/x86_64/rtld-memset.S: New file.
16857
16858 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16859
16860         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16861         (test_in_one_mode): Take arguments for whether the rounding mode
16862         is supported for each floating-point type.
16863         (do_test): Pass new arguments to test_in_one_mode using
16864         ROUNDING_TESTS.
16865
16866 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16867
16868         * posix/tst-waitid.c (do_test): Distinguish different instances of
16869         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16870         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16871         before entering the kernel for waitpid.
16872
16873 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16874
16875         * NEWS: Fix note on clock function precision.  Text by Roland
16876         McGrath.
16877
16878 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16879
16880         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16881         it into place only when and if the sanity check passes.
16882
16883 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16884
16885         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16886         output for whether conversion result is exact.  Take argument
16887         indicating whether type is IBM long double.
16888         (round_for_all): Change need_exact field to ibm_ld.
16889         * stdlib/tst-strtod-round.c (struct exactness): New type.
16890         (struct test): Change bool ld_ok field to struct exactness exact.
16891         (TEST): Update all definitions for change to field.
16892         (tests): Regenerate array contents.
16893         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16894         field value.  Check for IBM long double here.
16895         (do_test): Update calls to test_in_one_mode.
16896
16897 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16898
16899         [BZ #12515]
16900         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16901         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16902
16903 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16904
16905         [BZ #15605]
16906         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16907         generated by the compiler on loop optimizations.
16908         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16909         general definitions.
16910
16911 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16912
16913         * math/bug-nextafter.c: Include <math-tests.h>.
16914         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16915         the relevant type.
16916         * math/bug-nexttoward.c: Include <math-tests.h>.
16917         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16918         the relevant type.
16919         * math/test-misc.c: Include <math-tests.h>.
16920         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16921         the relevant type.
16922
16923 2013-06-12  Andreas Jaeger  <aj@suse.de>
16924
16925         * po/ia.po: Update Interlingua translation from translation
16926         project.
16927
16928 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16929
16930         * include/fenv.h: Include stdbool.h.
16931         (struct rm_ctx): New structure.
16932         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16933         Define macro.
16934         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16935         (SET_RESTORE_ROUNDF): Likewise.
16936         (SET_RESTORE_ROUNDL): Likewise.
16937         (SET_RESTORE_ROUND_NOEX): Likewise.
16938         (SET_RESTORE_ROUND_NOEXF): Likewise.
16939         (SET_RESTORE_ROUND_NOEXL): Likewise.
16940         (SET_RESTORE_ROUND_53BIT): Likewise.
16941         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16942         (libc_feresetround_noexf_ctx): Likewise.
16943         (libc_feresetround_noexl_ctx): Likewise.
16944         (libc_feholdsetround_53bit_ctx): Likewise.
16945         (libc_feresetround_53bit_ctx): Likewise.
16946         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16947         (libc_feholdexcept_setround_sse_ctx): New function.
16948         (libc_fesetenv_sse_ctx): Likewise.
16949         (libc_feupdateenv_sse_ctx): Likewise.
16950         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16951         (libc_feholdexcept_setround_387_ctx): Likewise.
16952         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16953         (libc_feholdsetround_387_prec_ctx): Likewise.
16954         (libc_feholdsetround_387_ctx): Likewise.
16955         (libc_feholdsetround_387_53bit_ctx): Likewise.
16956         (libc_feholdsetround_sse_ctx): Likewise.
16957         (libc_feresetround_sse_ctx): Likewise.
16958         (libc_feresetround_387_ctx): Likewise.
16959         (libc_feupdateenv_387_ctx): Likewise.
16960         (libc_feholdexcept_setroundf_ctx): Define macro.
16961         (libc_fesetenvf_ctx): Likewise.
16962         (libc_feupdateenvf_ctx): Likewise.
16963         (libc_feholdsetroundf_ctx): Likewise.
16964         (libc_feresetroundf_ctx): Likewise.
16965         (libc_feholdexcept_setround_ctx): Likewise.
16966         (libc_fesetenv_ctx): Likewise.
16967         (libc_feupdateenv_ctx): Likewise.
16968         (libc_feholdsetround_ctx): Likewise.
16969         (libc_feresetround_ctx): Likewise.
16970         (libc_feholdexcept_setroundl_ctx): Likewise.
16971         (libc_feupdateenvl_ctx): Likewise.
16972         (libc_feholdsetroundl_ctx): Likewise.
16973         (libc_feresetroundl_ctx): Likewise.
16974         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16975         (libc_feresetround_53bit_ctx): Likewise.
16976
16977 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16978
16979         * locale/iso-639.def: Convert to UTF-8.
16980
16981 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16982
16983         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16984         (EXCEPTION_TESTS_double): Likewise.
16985         (EXCEPTION_TESTS_long_double): Likewise.
16986         (EXCEPTION_TESTS): Likewise.
16987         * math/libm-test.inc (test_exceptions): Only test exceptions if
16988         EXCEPTION_TESTS (FLOAT).
16989
16990 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16991
16992         * benchtests/Makefile (string-bench): Add strcpy_chk and
16993         stpcpy_chk.
16994         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16995         * benchtests/bench-stpcpy_chk.c: New file.
16996         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16997         * benchtests/bench-strcpy_chk.c: New file.
16998         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16999         code.
17000         (do_test): Likewise.
17001
17002 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17003
17004         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17005         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17006         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17007         with tabs where appropriate.
17008         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17009         dl-procinfo.h.
17010         [PPC_PLATFORM_PPC440]: Likewise.
17011         [PPC_PLATFORM_PPC464]: Likewise.
17012         [PPC_PLATFORM_PPC476]: Likewise.
17013         (_dl_string_platform): Add support for detecting ppc405, ppc440,
17014         ppc464, and ppc476 platform strings merging from ports/
17015         dl-procinfo.h.
17016
17017 2013-06-11  Andreas Schwab  <schwab@suse.de>
17018
17019         [BZ #14991]
17020         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17021         (from_ucs4_idx): Regenerate.
17022         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17023         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17024         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17025         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17026         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17027         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17028         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17029         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17030         from FROM_LOOP and TO_LOOP specific macros.
17031         (BODY): Handle combining characters.
17032         * iconvdata/BIG5HKSCS.irreversible: Update.
17033         * iconvdata/BIG5HKSCS.precomposed: New file.
17034         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17035         characters.
17036         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17037
17038 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17039
17040         * include/sys/time.h: Fix indentation and add copyright header.
17041
17042         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17043         (do_test): Likewise.
17044         * string/test-memchr.c (do_one_test): Likewise.
17045         (do_test): Likewise.
17046         * string/test-memcmp.c (do_one_test): Likewise.
17047         (do_test): Likewise.
17048         * string/test-memcpy.c (do_one_test): Likewise.
17049         (do_test): Likewise.
17050         * string/test-memmem.c (do_one_test): Likewise.
17051         (do_test): Likewise.
17052         (do_random_tests): Likewise.
17053         * string/test-memmove.c (do_one_test): Likewise.
17054         (do_test): Likewise.
17055         * string/test-memset.c (do_one_test): Likewise.
17056         (do_test): Likewise.
17057         * string/test-rawmemchr.c (do_one_test): Likewise.
17058         (do_test): Likewise.
17059         * string/test-strcasecmp.c (do_one_test): Likewise.
17060         (do_test): Likewise.
17061         * string/test-strcasestr.c (do_one_test): Likewise.
17062         (do_test): Likewise.
17063         * string/test-strcat.c (do_one_test): Likewise.
17064         (do_test): Likewise.
17065         * string/test-strchr.c (do_one_test): Likewise.
17066         (do_test): Likewise.
17067         * string/test-strcmp.c (do_one_test): Likewise.
17068         (do_test): Likewise.
17069         * string/test-strcpy.c (do_one_test): Likewise.
17070         (do_test): Likewise.
17071         * string/test-string.h: Likewise.
17072         (test_init): Likewise.
17073         * string/test-strlen.c (do_one_test): Likewise.
17074         (do_test): Likewise.
17075         * string/test-strncasecmp.c (do_one_test): Likewise.
17076         (do_test): Likewise.
17077         * string/test-strncat.c (do_one_test): Likewise.
17078         (do_test): Likewise.
17079         * string/test-strncmp.c (do_one_test): Likewise.
17080         (do_test_limit): Likewise.
17081         (do_test): Likewise.
17082         * string/test-strncpy.c (do_one_test): Likewise.
17083         (do_test): Likewise.
17084         * string/test-strnlen.c (do_one_test): Likewise.
17085         (do_test): Likewise.
17086         * string/test-strpbrk.c (do_one_test): Likewise.
17087         (do_test): Likewise.
17088         * string/test-strrchr.c (do_one_test): Likewise.
17089         (do_test): Likewise.
17090         * string/test-strspn.c (do_one_test): Likewise.
17091         (do_test): Likewise.
17092         * string/test-strstr.c (do_one_test): Likewise.
17093         (do_test): Likewise.
17094
17095         * benchtests/Makefile (string-bench): Add string benchmarks.
17096         * benchtests/bench-bcopy-ifunc.c: New file.
17097         * benchtests/bench-bcopy.c: New file.
17098         * benchtests/bench-bzero-ifunc.c: New file.
17099         * benchtests/bench-bzero.c: New file.
17100         * benchtests/bench-memccpy-ifunc.c: New file.
17101         * benchtests/bench-memccpy.c: New file.
17102         * benchtests/bench-memchr-ifunc.c: New file.
17103         * benchtests/bench-memchr.c: New file.
17104         * benchtests/bench-memcmp-ifunc.c: New file.
17105         * benchtests/bench-memcmp.c: New file.
17106         * benchtests/bench-memmem-ifunc.c: New file.
17107         * benchtests/bench-memmem.c: New file.
17108         * benchtests/bench-memmove-ifunc.c: New file.
17109         * benchtests/bench-memmove.c: New file.
17110         * benchtests/bench-mempcpy-ifunc.c: New file.
17111         * benchtests/bench-mempcpy.c: New file.
17112         * benchtests/bench-memset-ifunc.c: New file.
17113         * benchtests/bench-memset.c: New file.
17114         * benchtests/bench-rawmemchr-ifunc.c: New file.
17115         * benchtests/bench-rawmemchr.c: New file.
17116         * benchtests/bench-stpcpy-ifunc.c: New file.
17117         * benchtests/bench-stpcpy.c: New file.
17118         * benchtests/bench-stpncpy-ifunc.c: New file.
17119         * benchtests/bench-stpncpy.c: New file.
17120         * benchtests/bench-strcasecmp-ifunc.c: New file.
17121         * benchtests/bench-strcasecmp.c: New file.
17122         * benchtests/bench-strcasestr-ifunc.c: New file.
17123         * benchtests/bench-strcasestr.c: New file.
17124         * benchtests/bench-strcat-ifunc.c: New file.
17125         * benchtests/bench-strcat.c: New file.
17126         * benchtests/bench-strchr-ifunc.c: New file.
17127         * benchtests/bench-strchr.c: New file.
17128         * benchtests/bench-strchrnul-ifunc.c: New file.
17129         * benchtests/bench-strchrnul.c: New file.
17130         * benchtests/bench-strcmp-ifunc.c: New file.
17131         * benchtests/bench-strcmp.c: New file.
17132         * benchtests/bench-strcpy-ifunc.c: New file.
17133         * benchtests/bench-strcpy.c: New file.
17134         * benchtests/bench-strcspn-ifunc.c: New file.
17135         * benchtests/bench-strcspn.c: New file.
17136         * benchtests/bench-strlen-ifunc.c: New file.
17137         * benchtests/bench-strlen.c: New file.
17138         * benchtests/bench-strncasecmp-ifunc.c: New file.
17139         * benchtests/bench-strncasecmp.c: New file.
17140         * benchtests/bench-strncat-ifunc.c: New file.
17141         * benchtests/bench-strncat.c: New file.
17142         * benchtests/bench-strncmp-ifunc.c: New file.
17143         * benchtests/bench-strncmp.c: New file.
17144         * benchtests/bench-strncpy-ifunc.c: New file.
17145         * benchtests/bench-strncpy.c: New file.
17146         * benchtests/bench-strnlen-ifunc.c: New file.
17147         * benchtests/bench-strnlen.c: New file.
17148         * benchtests/bench-strpbrk-ifunc.c: New file.
17149         * benchtests/bench-strpbrk.c: New file.
17150         * benchtests/bench-strrchr-ifunc.c: New file.
17151         * benchtests/bench-strrchr.c: New file.
17152         * benchtests/bench-strspn-ifunc.c: New file.
17153         * benchtests/bench-strspn.c: New file.
17154         * benchtests/bench-strstr-ifunc.c: New file.
17155         * benchtests/bench-strstr.c: New file.
17156
17157         * benchtests/Makefile: Disable parallel execution of targets.
17158         (string-bench): Add memcpy.
17159         (benchset): New variable to store a list of benchmark sets.
17160         (bench-func): Renamed from bench.
17161         (bench-set): New target.
17162         (bench): Depend on bench-func and bench-set.
17163         * benchtests/README: Add section on benchmark sets.
17164         * benchtests/bench-memcpy-ifunc.c: New file.
17165         * benchtests/bench-memcpy.c: New file.
17166         * benchtests/bench-string.h: New file.
17167
17168 2013-06-11  Andreas Schwab  <schwab@suse.de>
17169
17170         [BZ #15577]
17171         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17172         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17173         values in the triple.
17174         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17175         terminator in the group key.
17176
17177 2013-06-11  Andreas Jaeger  <aj@suse.de>
17178
17179         * po/zh_TW.po: Update Chinese (traditional) translation from
17180         translation project.
17181
17182 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17183
17184         * include/time.h (__clock_gettime): Add libc_hidden_proto.
17185         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17186         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
17187         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17188         (clock_getcpuclockid): Likewise.
17189         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17190         Add weak_alias and libc_hidden_def.
17191         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17192         * rt/clock_gettime.c (clock_gettime): Rename to
17193         __clock_gettime.  Add weak_alias and libc_hidden_def.
17194         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17195         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17196         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
17197         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17198         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17199         Likewise.
17200         * rt/clock_settime.c (clock_settime): Rename to
17201         __clock_settime.  Add weak_alias and libc_hidden_def.
17202         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17203
17204 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
17205
17206         * mach/err_boot.sub: Remove trailing whitespace.
17207         * mach/err_ipc.sub: Likewise.
17208         * mach/err_mach.sub: Likewise.
17209
17210         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17211         (ROUNDING_TESTS_double): Likewise.
17212         (ROUNDING_TESTS_long_double): Likewise.
17213         (ROUNDING_TESTS): Likewise.
17214         * math/libm-test.inc: Include <math-tests.h>.
17215         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17216         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17217         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17218         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17219
17220 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17221
17222         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17223         of assigning.
17224
17225 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
17226
17227         * sysdeps/gnu/errlist.awk: Do not generate space at end of
17228         otherwise empty TRANS lines.
17229         * sysdeps/gnu/errlist.c: Regenerated.
17230
17231         * catgets/gencat.c (error_print): Use (void) in function
17232         definition.
17233         * crypt/crypt_util.c (__init_des): Likewise.
17234         * crypt/speeds.c (Stop): Likewise.
17235         (main): Likewise.
17236         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17237         * inet/ruserpass.c (token): Likewise.
17238         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17239         * intl/localealias.c (extend_alias_table): Likewise.
17240         * intl/plural-exp.c (init_germanic_plural): Likewise.
17241         * libio/fcloseall.c (__fcloseall): Likewise.
17242         * libio/genops.c (_IO_flush_all): Likewise.
17243         (_IO_flush_all_linebuffered): Likewise.
17244         (_IO_cleanup): Likewise.
17245         (_IO_iter_begin): Likewise.
17246         (_IO_iter_end): Likewise.
17247         (_IO_list_lock): Likewise.
17248         (_IO_list_unlock): Likewise.
17249         (_IO_list_resetlock): Likewise.
17250         * libio/getchar.c (getchar): Likewise.
17251         * libio/getchar_u.c (getchar_unlocked): Likewise.
17252         * libio/getwchar.c (getwchar): Likewise.
17253         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17254         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17255         * login/getpt.c (__getpt): Likewise.
17256         * login/tst-utmp.c (main): Likewise.
17257         * malloc/hooks.c (__malloc_check_init): Likewise.
17258         * malloc/malloc.c (__malloc_stats): Likewise.
17259         * malloc/mtrace.c (tr_break): Likewise.
17260         (mtrace): Likewise.
17261         (muntrace): Likewise.
17262         * misc/fstab.c (endfsent): Likewise.
17263         * misc/getclktck.c (__getclktck): Likewise.
17264         * misc/getdtsz.c (__getdtablesize): Likewise.
17265         * misc/gethostid.c (gethostid): Likewise.
17266         * misc/getpagesize.c (__getpagesize): Likewise.
17267         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17268         (__get_nprocs): Likewise.
17269         (__get_phys_pages): Likewise.
17270         (__get_avphys_pages): Likewise.
17271         * misc/getttyent.c (getttyent): Likewise.
17272         (setttyent): Likewise.
17273         (endttyent): Likewise.
17274         * misc/getusershell.c (getusershell): Likewise.
17275         (endusershell): Likewise.
17276         (setusershell): Likewise.
17277         (initshells): Likewise.
17278         * misc/hsearch.c (__hdestroy): Likewise.
17279         * misc/sync.c (sync): Likewise.
17280         * misc/syslog.c (closelog_internal): Likewise.
17281         (closelog): Likewise.
17282         * misc/ttyslot.c (ttyslot): Likewise.
17283         * misc/vhangup.c (vhangup): Likewise.
17284         * posix/fork.c (__fork): Likewise.
17285         * posix/getegid.c (__getegid): Likewise.
17286         * posix/geteuid.c (__geteuid): Likewise.
17287         * posix/getgid.c (__getgid): Likewise.
17288         * posix/getpid.c (__getpid): Likewise.
17289         * posix/getppid.c (__getppid): Likewise.
17290         * posix/getuid.c (__getuid): Likewise.
17291         * posix/pause.c (pause): Likewise.
17292         * posix/setpgrp.c (setpgrp): Likewise.
17293         * posix/setsid.c (__setsid): Likewise.
17294         * posix/test-vfork.c (noop): Likewise.
17295         * resolv/gethnamaddr.c (_endhtent): Likewise.
17296         (_gethtent): Likewise.
17297         (ht_endhostent): Likewise.
17298         (gethostent): Likewise.
17299         (dns_service): Likewise.
17300         * stdlib/drand48.c (drand48): Likewise.
17301         * stdlib/lrand48.c (lrand48): Likewise.
17302         * stdlib/mrand48.c (mrand48): Likewise.
17303         * stdlib/rand.c (rand): Likewise.
17304         * stdlib/random.c (__random): Likewise.
17305         * stdlib/setenv.c (clearenv): Likewise.
17306         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17307         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17308         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17309         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17310         (__get_nprocs): Likewise.
17311         (__get_phys_pages): Likewise.
17312         (__get_avphys_pages): Likewise.
17313         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17314         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17315         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17316         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17317         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17318         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17319         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17320         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17321         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17322         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17323         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17324         * sysdeps/mach/hurd/sync.c (sync): Likewise.
17325         * sysdeps/posix/clock.c (clock): Likewise.
17326         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17327         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17328         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17329         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17330         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17331         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17332         (__get_nprocs_conf): Likewise.
17333         (__get_phys_pages): Likewise.
17334         (__get_avphys_pages): Likewise.
17335         * time/clock.c (clock): Likewise.
17336         * time/tzset.c (__tzname_max): Likewise.
17337
17338 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17339
17340         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17341         (__bswap_32): Do not use "register".
17342         * crypt/crypt.c (_ufc_doit_r): Likewise.
17343         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17344         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17345         * gmon/gmon.c (__monstartup): Likewise.
17346         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17347         * hurd/hurdmalloc.c (more_memory): Likewise.
17348         (malloc): Likewise.
17349         (free): Likewise.
17350         (realloc): Likewise.
17351         (malloc_fork_prepare): Likewise.
17352         (malloc_fork_parent): Likewise.
17353         (malloc_fork_child): Likewise.
17354         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17355         (_svcauth_des): Likewise.
17356         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17357         * inet/inet_net.c (inet_network): Likewise.
17358         * inet/inet_netof.c (inet_netof): Likewise.
17359         * inet/rcmd.c (__validuser2_sa): Likewise.
17360         * io/fts.c (fts_open): Likewise.
17361         (fts_load): Likewise.
17362         (fts_close): Likewise.
17363         (fts_read): Likewise.
17364         (fts_children): Likewise.
17365         (fts_build): Likewise.
17366         (fts_stat): Likewise.
17367         (fts_sort): Likewise.
17368         (fts_alloc): Likewise.
17369         (fts_lfree): Likewise.
17370         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17371         (_IO_file_xsgetn): Likewise.
17372         (_IO_file_xsgetn_mmap): Likewise.
17373         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17374         (_IO_cookie_write): Likewise.
17375         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17376         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17377         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17378         * malloc/obstack.c (_obstack_begin): Likewise.
17379         (_obstack_begin_1): Likewise.
17380         (_obstack_newchunk): Likewise.
17381         (_obstack_allocated_p): Likewise.
17382         (obstack_free): Likewise.
17383         (_obstack_memory_used): Likewise.
17384         * misc/getttyent.c (getttynam): Likewise.
17385         (getttyent): Likewise.
17386         (skip): Likewise.
17387         (value): Likewise.
17388         * misc/getusershell.c (initshells): Likewise.
17389         * misc/syslog.c (__vsyslog_chk): Likewise.
17390         * misc/ttyslot.c (ttyslot): Likewise.
17391         * nis/nis_hash.c (__nis_hash): Likewise.
17392         * posix/fnmatch_loop.c (FCT): Likewise.
17393         * posix/getconf.c (print_all): Likewise.
17394         (main): Likewise.
17395         * posix/getopt.c (exchange): Likewise.
17396         * posix/glob.c (globfree): Likewise.
17397         (prefix_array): Likewise.
17398         (__glob_pattern_type): Likewise.
17399         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17400         (NS_GET32): Likewise.
17401         (NS_PUT16): Likewise.
17402         (NS_PUT32): Likewise.
17403         * resolv/gethnamaddr.c (getanswer): Likewise.
17404         (gethostbyname2): Likewise.
17405         (gethostbyaddr): Likewise.
17406         (_gethtent): Likewise.
17407         (_gethtbyname2): Likewise.
17408         (_gethtbyaddr): Likewise.
17409         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17410         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17411         * resolv/res_init.c (__res_vinit): Likewise.
17412         (net_mask): Likewise.
17413         * resolv/res_mkquery.c (outchar): Likewise.
17414         (PRINT): Likewise.
17415         * stdio-common/printf_fp.c (outchar): Likewise.
17416         (PRINT): Likewise.
17417         * stdio-common/printf_fphex.c (outchar): Likewise.
17418         (PRINT): Likewise.
17419         * stdio-common/printf_size.c (outchar): Likewise.
17420         (PRINT): Likewise.
17421         * stdio-common/test_rdwr.c (main): Likewise.
17422         * stdio-common/tfformat.c (matches): Likewise.
17423         * stdio-common/vfprintf.c (outchar): Likewise.
17424         (printf_unknown): Likewise.
17425         (buffered_vfprintf): Likewise.
17426         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17427         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17428         (ReadFile): Likewise.
17429         * stdlib/qsort.c (SWAP): Likewise.
17430         (_quicksort): Likewise.
17431         * stdlib/setenv.c (__add_to_environ): Likewise.
17432         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17433         * stdlib/strtol_l.c (__strtol_l): Likewise.
17434         * stdlib/tst-strtod.c (main): Likewise.
17435         * stdlib/tst-strtol.c (main): Likewise.
17436         * stdlib/tst-strtoll.c (main): Likewise.
17437         * string/bits/string2.h (__strcmp_cc): Likewise.
17438         (__strcmp_cg): Likewise.
17439         (__strcspn_c1): Likewise.
17440         (__strcspn_c2): Likewise.
17441         (__strcspn_c3): Likewise.
17442         (__strspn_c1): Likewise.
17443         (__strspn_c2): Likewise.
17444         (__strspn_c3): Likewise.
17445         (__strsep_1c): Likewise.
17446         (__strsep_2c): Likewise.
17447         (__strsep_3c): Likewise.
17448         * string/memccpy.c (__memccpy): Likewise.
17449         * string/stpcpy.c (__stpcpy): Likewise.
17450         * string/strcmp.c (strcmp): Likewise.
17451         * string/strrchr.c (strrchr): Likewise.
17452         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17453         Likewise.
17454         * sysdeps/mach/hurd/getcwd.c
17455         (_hurd_canonicalize_directory_name_internal): Likewise.
17456         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17457         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17458         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17459         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17460         Likewise, in both definitions.
17461         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17462         definitions.
17463         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17464         64] (__bswap_64): Likewise.
17465         * time/test_time.c (main): Likewise.
17466         * time/tzfile.c (__tzfile_read): Likewise.
17467         (__tzfile_compute): Likewise.
17468         * time/tzset.c (__tzset_parse_tz): Likewise.
17469         (tzset_internal): Likewise.
17470         (compute_change): Likewise.
17471         * wcsmbs/wcscat.c (__wcscat): Likewise.
17472         * wcsmbs/wcschr.c (wcschr): Likewise.
17473         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17474         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17475         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17476         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17477         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17478         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17479         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17480         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17481         * wcsmbs/wmemset.c (wmemset): Likewise.
17482
17483 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17484
17485         * scripts/config.guess: Update to version 2013-05-16.
17486         * scripts/config.sub: Update to version 2013-04-24.
17487         * scripts/install-sh: Update to version 2011-11-20.07.
17488         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17489         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17490
17491 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17492
17493         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17494         * elf/sln.c: Likewise.
17495         * hurd/hurd/ioctl.h: Likewise.
17496         * hurd/hurdmalloc.c: Likewise.
17497         * hurd/xattr.c: Likewise.
17498         * include/shlib-compat.h: Likewise.
17499         * inet/ruserpass.c: Likewise.
17500         * libio/iofgets_u.c: Likewise.
17501         * libio/iofgetws_u.c: Likewise.
17502         * locale/programs/ld-identification.c: Likewise.
17503         * locale/programs/ld-time.c: Likewise.
17504         * mach/msg-destroy.c: Likewise.
17505         * nss/nss_files/files-netgrp.c: Likewise.
17506         * resolv/res_data.c: Likewise.
17507         * soft-fp/op-1.h: Likewise.
17508         * soft-fp/op-2.h: Likewise.
17509         * soft-fp/op-4.h: Likewise.
17510         * soft-fp/op-common.h: Likewise.
17511         * stdio-common/printf_fphex.c: Likewise.
17512         * stdlib/strtod_l.c: Likewise.
17513         * sunrpc/rpc/clnt.h: Likewise.
17514         * sysdeps/generic/framestate.c: Likewise.
17515         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17516         * sysdeps/i386/bsd-setjmp.S: Likewise.
17517         * sysdeps/i386/__longjmp.S: Likewise.
17518         * sysdeps/i386/setjmp.S: Likewise.
17519         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17520         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17522         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17523         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17524         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17525         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17526         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17527         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17528         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17529         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17530         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17531         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17532         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17533         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17534         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17535         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17536         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17537         * sysdeps/ieee754/support.c: Likewise.
17538         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17539         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17540         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17541         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17542         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17543         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17544         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17545         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17546         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17547         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17548         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17549         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17550         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17551         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17552         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17553         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17554         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17556
17557 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17558
17559         * posix/transbug.c: Remove executable mode.
17560
17561 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17562
17563         * crypt/speeds.c: Remove trailing whitespace.
17564         * dlfcn/default.c: Likewise.
17565         * elf/ifuncdep2.c: Likewise.
17566         * elf/ifuncmain1.c: Likewise.
17567         * elf/ifuncmain1vis.c: Likewise.
17568         * elf/testobj.h: Likewise.
17569         * elf/tst-stackguard1.c: Likewise.
17570         * gmon/sys/gmon.h: Likewise.
17571         * hurd/hurdmsg.c: Likewise.
17572         * hurd/new-fd.c: Likewise.
17573         * hurd/ports-get.c: Likewise.
17574         * iconvdata/ibm1008_420.c: Likewise.
17575         * inet/tst-getni1.c: Likewise.
17576         * inet/tst-getni2.c: Likewise.
17577         * libio/ioungetc.c: Likewise.
17578         * libio/wfiledoalloc.c: Likewise.
17579         * manual/libm-err-tab.pl: Likewise.
17580         * math/w_dremf.c: Likewise.
17581         * misc/ftruncate.c: Likewise.
17582         * posix/bug-glob2.c: Likewise.
17583         * posix/tst-pcre.c: Likewise.
17584         * posix/wait4.c: Likewise.
17585         * resolv/README: Likewise.
17586         * resolv/res_debug.h: Likewise.
17587         * resolv/tst-inet_ntop.c: Likewise.
17588         * setjmp/bug269-setjmp.c: Likewise.
17589         * soft-fp/extended.h: Likewise.
17590         * soft-fp/op-1.h: Likewise.
17591         * soft-fp/op-2.h: Likewise.
17592         * soft-fp/op-4.h: Likewise.
17593         * soft-fp/op-8.h: Likewise.
17594         * soft-fp/testit.c: Likewise.
17595         * stdio-common/bug16.c: Likewise.
17596         * stdlib/random.c: Likewise.
17597         * sunrpc/rpcsvc/rquota.x: Likewise.
17598         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17599         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17600         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17601         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17602         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17603         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17604         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17605         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17606         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17607         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17608         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17609         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17610         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17611         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17612         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17613         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17614         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17615         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17616         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17617         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17618         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17619         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17620         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17621         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17622         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17623         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17625         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17627         * sysdeps/ieee754/s_lib_version.c: Likewise.
17628         * sysdeps/mach/hurd/check_fds.c: Likewise.
17629         * sysdeps/mach/hurd/getsockname.c: Likewise.
17630         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17631         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17632         * sysdeps/powerpc/bits/link.h: Likewise.
17633         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17634         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17635         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17636         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17637         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17638         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17639         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17640         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17641         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17642         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17643         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17644         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17645         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17646         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17647         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17648         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17649         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17650         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17651         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17652         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17653         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17654         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17655         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17656         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17657         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17658         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17659         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17660         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17661         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17663         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17664         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17665         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17666         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17667         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17668         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17669         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17670         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17671         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17672         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17673         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17674         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17675         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17676         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17677         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17678         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17679         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17680         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17681         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17682         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17685         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17686         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17687         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17688         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17689         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17690         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17691         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17692         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17693         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17694         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17695         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17696         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17697         * sysdeps/powerpc/sysdep.h: Likewise.
17698         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17699         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17700         * sysdeps/sh/dl-trampoline.S: Likewise.
17701         * sysdeps/sh/memset.S: Likewise.
17702         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17703         * sysdeps/sh/strlen.S: Likewise.
17704         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17705         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17706         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17707         * sysdeps/sparc/sparc32/rem.S: Likewise.
17708         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17709         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17710         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17711         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17712         * sysdeps/sparc/sparc32/urem.S: Likewise.
17713         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17714         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17715         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17716         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17717         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17718         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17719         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17720         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17721         * sysdeps/unix/bsd/times.c: Likewise.
17722         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17723         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17727         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17728         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17729         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17730         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17731         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17732         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17733         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17734         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17735         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17736         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17737         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17738         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17739         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17740         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17741         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17742         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17743         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17744         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17745         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17746         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17747         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17748         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17749         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17750         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17751         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17752         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17753         * sysdeps/x86_64/strcspn.S: Likewise.
17754
17755 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17756
17757         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17758         generated file.  Regenerate properly from gen-translit.pl.
17759         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17760         locale/C-translit.h.
17761
17762 2013-06-05  Andreas Schwab  <schwab@suse.de>
17763
17764         [BZ #15100]
17765         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17766         week as 6 instead of -1.
17767         * time/tst-strptime.c (day_tests): Add test case.
17768
17769 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17770
17771         * sysdeps/generic/math_private.h
17772         (libc_feholdexcept_setround_53bit): Replace with
17773         libc_feholdsetround_53bit.
17774         (libc_feupdateenv_53bit): Replace with
17775         libc_feresetround_53bit.
17776         (SET_RESTORE_ROUND_53BIT): Adjust.
17777
17778 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17779
17780         * string/test-strchrnul.c: Add copyright header.
17781
17782         * posix/tst-getaddrinfo4.c: Increase test timeout.
17783
17784 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17785
17786         [BZ #15536]
17787         * math/libm-test.inc (MAX_EXP): Remove
17788         (MIN_EXP): Define.
17789         (ulp): Use MIN_EXP - MANT_DIG.
17790         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17791
17792 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17793
17794         * po/be.po: Revert last change.
17795         * po/zh_CN.po: Likewise.
17796         * po/header.pot: Likewise.
17797
17798 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17799
17800         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17801         link-libc-deps to empty as target-specific variable.
17802         * Makerules (link-libc-args): New variable.
17803         (libc-for-link): Likewise.
17804         (link-libc-deps): Likewise.
17805         (lib%.so): Depend on $(link-libc-deps).  Link with
17806         $(link-libc-args).
17807         (build-module): Link with $(link-libc-args).
17808         (build-module-asneeded): Likewise.
17809         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17810         list of objects.
17811         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17812         target-specific variable.
17813         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17814         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17815         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17816         libc.
17817         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17818         libc and ld.so.
17819         ($(objpfx)libpcprofile.so): Likewise.
17820         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17821         libc_nonshared.a.
17822         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17823         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17824         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17825         $(link-libc-deps).
17826         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17827         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17828         * login/Makefile ($(objpfx)libutil.so): Likewise.
17829         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17830         * math/Makefile ($(objpfx)libm.so): Likewise.
17831         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17832         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17833         variable instead of depending directly on libc.
17834         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17835         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17836         $(link-libc-deps).
17837         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17838         libc.
17839         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17840         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17841         ($(objpfx)libanl.so): Likewise.
17842         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17843         ld.so.
17844         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17845         $(link-libc-deps).
17846         * sysdeps/i386/fpu/Makefile: Remove file.
17847         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17848         ($(objpfx)libm.so): Remove dependency on ld.so.
17849
17850 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17851
17852         [BZ # 15553]
17853         * nis/yp_xdr.c (XDRMAXNAME): Define.
17854         (XDRMAXRECORD): Define.
17855         (xdr_domainname): Use XDRMAXNAME.
17856         (xdr_mapname): Likewise.
17857         (xdr_peername): Likewise.
17858         (xdr_keydat): Use XDRMAXRECORD.
17859         (xdr_valdat): Likewise.
17860
17861 2013-05-30  Jeff Law  <law@redhat.com>
17862
17863         [BZ #14256]
17864         * manual/errno.texi (ESTALE): Update to account for more than
17865         just NFS file systems.
17866         * sysdeps/gnu/errlist.c: Regenerated.
17867
17868 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17869
17870         [BZ #15465]
17871         * elf/Makefile (tests): Add tst-null-argv.
17872         (modules-names):  Add tst-null-argv-lib.
17873         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17874         (tst-null-argv-ENV): Set environment for tst-null-argv.
17875         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17876         (RTLD_PROGNAME): New macro.
17877         * elf/tst-null-argv.c: New test case.
17878         * elf/tst-null-argv-lib.c: Library for test case.
17879         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17880         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17881         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17882         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17883         * elf/dl-init.c (call_init): Likewise.
17884         (_dl_init): Likewise.
17885         * elf/dl-load.c (print_search_path): Likewise.
17886         (_dl_map_object): Likewise.
17887         * elf/dl-lookup.c (do_lookup_x): Likewise.
17888         (add_dependency): Likewise.
17889         (_dl_lookup_symbol_x): Likewise.
17890         (_dl_debug_bindings): Likewise.
17891         * elf/dl-open.c (_dl_show_scope): Likewise.
17892         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17893         * elf/dl-version.c (match_symbol): Likewise.
17894         (_dl_check_map_versions): Likewise.
17895         * elf/rtld.c (dl_main): Likewise.
17896         (print_unresolved): Use RTLD_PROGNAME.
17897         (print_missing_version): Likewise.
17898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17899         (elf_machine_rela): Likewise.
17900         * sysdeps/powerpc/powerpc32/dl-machine.c
17901         (__process_machine_rela): Likewise.
17902         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17903         Likewise.
17904         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17905         Likewise.
17906         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17907         Likewise.
17908         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17909         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17910         Likewise.
17911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17912         Likewise.
17913         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17914
17915 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17916
17917         * po/be.po: Add descriptive title.
17918         * po/zh_CN.po: Likewise.
17919         * po/header.pot: Likewise.
17920
17921 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17922
17923         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17924         error message.
17925         (enlarge_archive): Likewise.
17926
17927 2013-05-28  Ben North  <ben@redfrontdoor.org>
17928
17929         * manual/arith.texi (frexp): It is the magnitude of the return
17930         value which lies in [0.5, 1), not the return value itself.
17931
17932 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17933
17934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17935
17936 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17937
17938         * stdio-common/bug26.c (main): Correct fscanf template.
17939
17940         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17941         declare _dl_skip_args.
17942
17943         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17944         Don't declare.
17945
17946         * manual/platform.texi: Add missing @end deftypefun.
17947
17948 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17949
17950         [BZ #15529]
17951         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17952         bit of mantissa of 2^16382.
17953         * math/libm-test.inc (hypot_test_data): Add more tests.
17954
17955         * math/libm-test.inc: Add drem and pow10 to list of tested
17956         functions.
17957         (pow10_test): New function.
17958         (drem_test): Likewise.
17959         (drem_test_tonearest): Likewise.
17960         (drem_test_towardzero): Likewise.
17961         (drem_test_downward): Likewise.
17962         (drem_test_upward): Likewise.
17963         (main): Call the new functions.
17964
17965         * math/libm-test.inc (finite_test_data): Remove.
17966         (finite_test): Run tests from isfinite_test_data.
17967         (gamma_test_data): Remove.
17968         (gamma_test): Run tests from lgamma_test_data.
17969         * sysdeps/i386/fpu/libm-test-ulps: Update.
17970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17971
17972 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17973
17974         * manual/platform.texi: Add PowerPC PPR function set documentation.
17975         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17976         implementation.
17977
17978 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17979
17980         * math/libm-test.inc (MAX_EXP): Define.
17981         (ULPDIFF): Define.
17982         (ulp): New function.
17983         (check_float_internal): Use ULPDIFF.
17984         (cpow_test): Disable failing test.
17985         (check_ulp): Test ulp() implemetnation.
17986         (main): Call check_ulp before starting tests.
17987
17988 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17989
17990         * math/gen-libm-test.pl (generate_testfile): Do not handle
17991         START_DATA and END_DATA.
17992         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17993         END_DATA.
17994         (acos_tonearest_test_data): Likewise.
17995         (acos_towardzero_test_data): Likewise.
17996         (acos_downward_test_data): Likewise.
17997         (acos_upward_test_data): Likewise.
17998         (acosh_test_data): Likewise.
17999         (asin_test_data): Likewise.
18000         (asin_tonearest_test_data): Likewise.
18001         (asin_towardzero_test_data): Likewise.
18002         (asin_downward_test_data): Likewise.
18003         (asin_upward_test_data): Likewise.
18004         (asinh_test_data): Likewise.
18005         (atan_test_data): Likewise.
18006         (atanh_test_data): Likewise.
18007         (atan2_test_data): Likewise.
18008         (cabs_test_data): Likewise.
18009         (cacos_test_data): Likewise.
18010         (cacosh_test_data): Likewise.
18011         (carg_test_data): Likewise.
18012         (casin_test_data): Likewise.
18013         (casinh_test_data): Likewise.
18014         (catan_test_data): Likewise.
18015         (catanh_test_data): Likewise.
18016         (cbrt_test_data): Likewise.
18017         (ccos_test_data): Likewise.
18018         (ccosh_test_data): Likewise.
18019         (ceil_test_data): Likewise.
18020         (cexp_test_data): Likewise.
18021         (cimag_test_data): Likewise.
18022         (clog_test_data): Likewise.
18023         (clog10_test_data): Likewise.
18024         (conj_test_data): Likewise.
18025         (copysign_test_data): Likewise.
18026         (cos_test_data): Likewise.
18027         (cos_tonearest_test_data): Likewise.
18028         (cos_towardzero_test_data): Likewise.
18029         (cos_downward_test_data): Likewise.
18030         (cos_upward_test_data): Likewise.
18031         (cosh_test_data): Likewise.
18032         (cosh_tonearest_test_data): Likewise.
18033         (cosh_towardzero_test_data): Likewise.
18034         (cosh_downward_test_data): Likewise.
18035         (cosh_upward_test_data): Likewise.
18036         (cpow_test_data): Likewise.
18037         (cproj_test_data): Likewise.
18038         (creal_test_data): Likewise.
18039         (csin_test_data): Likewise.
18040         (csinh_test_data): Likewise.
18041         (csqrt_test_data): Likewise.
18042         (ctan_test_data): Likewise.
18043         (ctan_tonearest_test_data): Likewise.
18044         (ctan_towardzero_test_data): Likewise.
18045         (ctan_downward_test_data): Likewise.
18046         (ctan_upward_test_data): Likewise.
18047         (ctanh_test_data): Likewise.
18048         (ctanh_tonearest_test_data): Likewise.
18049         (ctanh_towardzero_test_data): Likewise.
18050         (ctanh_downward_test_data): Likewise.
18051         (ctanh_upward_test_data): Likewise.
18052         (erf_test_data): Likewise.
18053         (erfc_test_data): Likewise.
18054         (exp_test_data): Likewise.
18055         (exp_tonearest_test_data): Likewise.
18056         (exp_towardzero_test_data): Likewise.
18057         (exp_downward_test_data): Likewise.
18058         (exp_upward_test_data): Likewise.
18059         (exp10_test_data): Likewise.
18060         (exp2_test_data): Likewise.
18061         (expm1_test_data): Likewise.
18062         (fabs_test_data): Likewise.
18063         (fdim_test_data): Likewise.
18064         (finite_test_data): Likewise.
18065         (floor_test_data): Likewise.
18066         (fma_test_data): Likewise.
18067         (fma_towardzero_test_data): Likewise.
18068         (fma_downward_test_data): Likewise.
18069         (fma_upward_test_data): Likewise.
18070         (fmax_test_data): Likewise.
18071         (fmin_test_data): Likewise.
18072         (fmod_test_data): Likewise.
18073         (fpclassify_test_data): Likewise.
18074         (frexp_test_data): Likewise.
18075         (gamma_test_data): Likewise.
18076         (hypot_test_data): Likewise.
18077         (ilogb_test_data): Likewise.
18078         (isfinite_test_data): Likewise.
18079         (isgreater_test_data): Likewise.
18080         (isgreaterequal_test_data): Likewise.
18081         (isinf_test_data): Likewise.
18082         (isless_test_data): Likewise.
18083         (islessequal_test_data): Likewise.
18084         (islessgreater_test_data): Likewise.
18085         (isnan_test_data): Likewise.
18086         (isnormal_test_data): Likewise.
18087         (issignaling_test_data): Likewise.
18088         (isunordered_test_data): Likewise.
18089         (j0_test_data): Likewise.
18090         (j1_test_data): Likewise.
18091         (jn_test_data): Likewise.
18092         (ldexp_test_data): Likewise.
18093         (lgamma_test_data): Likewise.
18094         (lrint_test_data): Likewise.
18095         (lrint_tonearest_test_data): Likewise.
18096         (lrint_towardzero_test_data): Likewise.
18097         (lrint_downward_test_data): Likewise.
18098         (lrint_upward_test_data): Likewise.
18099         (llrint_test_data): Likewise.
18100         (llrint_tonearest_test_data): Likewise.
18101         (llrint_towardzero_test_data): Likewise.
18102         (llrint_downward_test_data): Likewise.
18103         (llrint_upward_test_data): Likewise.
18104         (log_test_data): Likewise.
18105         (log10_test_data): Likewise.
18106         (log1p_test_data): Likewise.
18107         (log2_test_data): Likewise.
18108         (logb_test_data): Likewise.
18109         (logb_downward_test_data): Likewise.
18110         (lround_test_data): Likewise.
18111         (llround_test_data): Likewise.
18112         (modf_test_data): Likewise.
18113         (nearbyint_test_data): Likewise.
18114         (nextafter_test_data): Likewise.
18115         (nexttoward_test_data): Likewise.
18116         (pow_test_data): Likewise.
18117         (pow_tonearest_test_data): Likewise.
18118         (pow_towardzero_test_data): Likewise.
18119         (pow_downward_test_data): Likewise.
18120         (pow_upward_test_data): Likewise.
18121         (remainder_test_data): Likewise.
18122         (remainder_tonearest_test_data): Likewise.
18123         (remainder_towardzero_test_data): Likewise.
18124         (remainder_downward_test_data): Likewise.
18125         (remainder_upward_test_data): Likewise.
18126         (remquo_test_data): Likewise.
18127         (rint_test_data): Likewise.
18128         (rint_tonearest_test_data): Likewise.
18129         (rint_towardzero_test_data): Likewise.
18130         (rint_downward_test_data): Likewise.
18131         (rint_upward_test_data): Likewise.
18132         (round_test_data): Likewise.
18133         (scalb_test_data): Likewise.
18134         (scalbn_test_data): Likewise.
18135         (scalbln_test_data): Likewise.
18136         (signbit_test_data): Likewise.
18137         (sin_test_data): Likewise.
18138         (sin_tonearest_test_data): Likewise.
18139         (sin_towardzero_test_data): Likewise.
18140         (sin_downward_test_data): Likewise.
18141         (sin_upward_test_data): Likewise.
18142         (sincos_test_data): Likewise.
18143         (sinh_test_data): Likewise.
18144         (sinh_tonearest_test_data): Likewise.
18145         (sinh_towardzero_test_data): Likewise.
18146         (sinh_downward_test_data): Likewise.
18147         (sinh_upward_test_data): Likewise.
18148         (sqrt_test_data): Likewise.
18149         (tan_test_data): Likewise.
18150         (tan_tonearest_test_data): Likewise.
18151         (tan_towardzero_test_data): Likewise.
18152         (tan_downward_test_data): Likewise.
18153         (tan_upward_test_data): Likewise.
18154         (tanh_test_data): Likewise.
18155         (tgamma_test_data): Likewise.
18156         (trunc_test_data): Likewise.
18157         (y0_test_data): Likewise.
18158         (y1_test_data): Likewise.
18159         (yn_test_data): Likewise.
18160         (significand_test_data): Likewise.
18161
18162         * math/gen-libm-test.pl (@functions): Remove variable.
18163         (generate_testfile): Don't handle START and END lines.
18164         * math/libm-test.inc (START): New macro.
18165         (END): Likewise.
18166         (END_COMPLEX): Likewise.
18167         (acos_test): Use END macro without arguments.
18168         (acos_test_tonearest): Likewise.
18169         (acos_test_towardzero): Likewise.
18170         (acos_test_downward): Likewise.
18171         (acos_test_upward): Likewise.
18172         (acosh_test): Likewise.
18173         (asin_test): Likewise.
18174         (asin_test_tonearest): Likewise.
18175         (asin_test_towardzero): Likewise.
18176         (asin_test_downward): Likewise.
18177         (asin_test_upward): Likewise.
18178         (asinh_test): Likewise.
18179         (atan_test): Likewise.
18180         (atanh_test): Likewise.
18181         (atan2_test): Likewise.
18182         (cabs_test): Likewise.
18183         (cacos_test): Use END_COMPLEX macro without arguments.
18184         (cacosh_test): Likewise.
18185         (carg_test): Use END macro without arguments.
18186         (casin_test): Use END_COMPLEX macro without arguments.
18187         (casinh_test): Likewise.
18188         (catan_test): Likewise.
18189         (catanh_test): Likewise.
18190         (cbrt_test): Use END macro without arguments.
18191         (ccos_test): Use END_COMPLEX macro without arguments.
18192         (ccosh_test): Likewise.
18193         (ceil_test): Use END macro without arguments.
18194         (cexp_test): Use END_COMPLEX macro without arguments.
18195         (cimag_test): Use END macro without arguments.
18196         (clog_test): Use END_COMPLEX macro without arguments.
18197         (clog10_test): Likewise.
18198         (conj_test): Likewise.
18199         (copysign_test): Use END macro without arguments.
18200         (cos_test): Likewise.
18201         (cos_test_tonearest): Likewise.
18202         (cos_test_towardzero): Likewise.
18203         (cos_test_downward): Likewise.
18204         (cos_test_upward): Likewise.
18205         (cosh_test): Likewise.
18206         (cosh_test_tonearest): Likewise.
18207         (cosh_test_towardzero): Likewise.
18208         (cosh_test_downward): Likewise.
18209         (cosh_test_upward): Likewise.
18210         (cpow_test): Use END_COMPLEX macro without arguments.
18211         (cproj_test): Likewise.
18212         (creal_test): Use END macro without arguments.
18213         (csin_test): Use END_COMPLEX macro without arguments.
18214         (csinh_test): Likewise.
18215         (csqrt_test): Likewise.
18216         (ctan_test): Likewise.
18217         (ctan_test_tonearest): Likewise.
18218         (ctan_test_towardzero): Likewise.
18219         (ctan_test_downward): Likewise.
18220         (ctan_test_upward): Likewise.
18221         (ctanh_test): Likewise.
18222         (ctanh_test_tonearest): Likewise.
18223         (ctanh_test_towardzero): Likewise.
18224         (ctanh_test_downward): Likewise.
18225         (ctanh_test_upward): Likewise.
18226         (erf_test): Use END macro without arguments.
18227         (erfc_test): Likewise.
18228         (exp_test): Likewise.
18229         (exp_test_tonearest): Likewise.
18230         (exp_test_towardzero): Likewise.
18231         (exp_test_downward): Likewise.
18232         (exp_test_upward): Likewise.
18233         (exp10_test): Likewise.
18234         (exp2_test): Likewise.
18235         (expm1_test): Likewise.
18236         (fabs_test): Likewise.
18237         (fdim_test): Likewise.
18238         (finite_test): Likewise.
18239         (floor_test): Likewise.
18240         (fma_test): Likewise.
18241         (fma_test_towardzero): Likewise.
18242         (fma_test_downward): Likewise.
18243         (fma_test_upward): Likewise.
18244         (fmax_test): Likewise.
18245         (fmin_test): Likewise.
18246         (fmod_test): Likewise.
18247         (fpclassify_test): Likewise.
18248         (frexp_test): Likewise.
18249         (gamma_test): Likewise.
18250         (hypot_test): Likewise.
18251         (ilogb_test): Likewise.
18252         (isfinite_test): Likewise.
18253         (isgreater_test): Likewise.
18254         (isgreaterequal_test): Likewise.
18255         (isinf_test): Likewise.
18256         (isless_test): Likewise.
18257         (islessequal_test): Likewise.
18258         (islessgreater_test): Likewise.
18259         (isnan_test): Likewise.
18260         (isnormal_test): Likewise.
18261         (issignaling_test): Likewise.
18262         (isunordered_test): Likewise.
18263         (j0_test): Likewise.
18264         (j1_test): Likewise.
18265         (jn_test): Likewise.
18266         (ldexp_test): Likewise.
18267         (lgamma_test): Likewise.
18268         (lrint_test): Likewise.
18269         (lrint_test_tonearest): Likewise.
18270         (lrint_test_towardzero): Likewise.
18271         (lrint_test_downward): Likewise.
18272         (lrint_test_upward): Likewise.
18273         (llrint_test): Likewise.
18274         (llrint_test_tonearest): Likewise.
18275         (llrint_test_towardzero): Likewise.
18276         (llrint_test_downward): Likewise.
18277         (llrint_test_upward): Likewise.
18278         (log_test): Likewise.
18279         (log10_test): Likewise.
18280         (log1p_test): Likewise.
18281         (log2_test): Likewise.
18282         (logb_test): Likewise.
18283         (logb_test_downward): Likewise.
18284         (lround_test): Likewise.
18285         (llround_test): Likewise.
18286         (modf_test): Likewise.
18287         (nearbyint_test): Likewise.
18288         (nextafter_test): Likewise.
18289         (nexttoward_test): Likewise.
18290         (pow_test): Likewise.
18291         (pow_test_tonearest): Likewise.
18292         (pow_test_towardzero): Likewise.
18293         (pow_test_downward): Likewise.
18294         (pow_test_upward): Likewise.
18295         (remainder_test): Likewise.
18296         (remainder_test_tonearest): Likewise.
18297         (remainder_test_towardzero): Likewise.
18298         (remainder_test_downward): Likewise.
18299         (remainder_test_upward): Likewise.
18300         (remquo_test): Likewise.
18301         (rint_test): Likewise.
18302         (rint_test_tonearest): Likewise.
18303         (rint_test_towardzero): Likewise.
18304         (rint_test_downward): Likewise.
18305         (rint_test_upward): Likewise.
18306         (round_test): Likewise.
18307         (scalb_test): Likewise.
18308         (scalbn_test): Likewise.
18309         (scalbln_test): Likewise.
18310         (signbit_test): Likewise.
18311         (sin_test): Likewise.
18312         (sin_test_tonearest): Likewise.
18313         (sin_test_towardzero): Likewise.
18314         (sin_test_downward): Likewise.
18315         (sin_test_upward): Likewise.
18316         (sincos_test): Likewise.
18317         (sinh_test): Likewise.
18318         (sinh_test_tonearest): Likewise.
18319         (sinh_test_towardzero): Likewise.
18320         (sinh_test_downward): Likewise.
18321         (sinh_test_upward): Likewise.
18322         (sqrt_test): Likewise.
18323         (tan_test): Likewise.
18324         (tan_test_tonearest): Likewise.
18325         (tan_test_towardzero): Likewise.
18326         (tan_test_downward): Likewise.
18327         (tan_test_upward): Likewise.
18328         (tanh_test): Likewise.
18329         (tgamma_test): Likewise.
18330         (trunc_test): Likewise.
18331         (y0_test): Likewise.
18332         (y1_test): Likewise.
18333         (yn_test): Likewise.
18334         (significand_test): Likewise.
18335
18336 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18337
18338         [BZ #15381]
18339         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18340
18341 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18342
18343         [BZ #14894]
18344         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18345         __ppc_mdoio and __ppc_mdoom.
18346         * manual/platform.texi: Document new functions __ppc_yield,
18347         __ppc_mdoio and __ppc_mdoom.
18348
18349 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18350
18351         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18352         (main): Mention "tls" pseudo-hwcap is legacy.
18353         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18354
18355 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18356
18357         * math/gen-libm-test.pl (parse_args): Output only string of
18358         arguments as text for test name, not full call or descriptions of
18359         tests for extra outputs.
18360         (generate_testfile): Do not pass function name to parse_args.
18361         Generate this_func variable from START.
18362         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18363         field to arg_str.
18364         (struct test_ff_f_data): Likewise.
18365         (test_ff_f_data_nexttoward): Likewise.
18366         (struct test_fi_f_data): Likewise.
18367         (struct test_fl_f_data): Likewise.
18368         (struct test_if_f_data): Likewise.
18369         (struct test_fff_f_data): Likewise.
18370         (struct test_c_f_data): Likewise.
18371         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18372         (struct test_fF_f1_data): Likewise.
18373         (struct test_ffI_f1_data): Likewise.
18374         (struct test_c_c_data): Rename test_name field to arg_str.
18375         (struct test_cc_c_data): Likewise.
18376         (struct test_f_i_data): Likewise.
18377         (struct test_ff_i_data): Likewise.
18378         (struct test_f_l_data): Likewise.
18379         (struct test_f_L_data): Likewise.
18380         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18381         and extra2_name.
18382         (COMMON_TEST_SETUP): New macro.
18383         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18384         (COMMON_TEST_CLEANUP): Likewise.
18385         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18386         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18387         macros.
18388         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18389         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18390         macros.
18391         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18392         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18393         cleanup macros.
18394         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18395         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18396         macros.
18397         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18398         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18399         macros.
18400         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18401         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18402         cleanup macros.
18403         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18404         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18405         cleanup macros.
18406         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18407         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18408         cleanup macros.
18409         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18410         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18411         macros.
18412         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18413         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18414         macros.
18415         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18416         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18417         macros.
18418         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18419         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18420         cleanup macros.
18421         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18422         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18423         cleanup macros.
18424         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18425         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18426         macros.
18427         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18428         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18429         cleanup macros.
18430         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18431         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18432         macros.
18433         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18434         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18435         macros.
18436         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18437         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18438         cleanup macros.
18439         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18440
18441 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18442
18443         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18444         to _sifields.sigfault.
18445         (si_addr_lsb): Define new macro.
18446         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18448         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18449
18450 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18451
18452         [BZ #15441]
18453         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18454         returns -1.
18455         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18456         null return -1.
18457         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18458         loading the domain.
18459
18460 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18461
18462         * math/gen-libm-test.pl (parse_args): Do not include expected
18463         result in test name.
18464         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18465         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18466         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18467         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18468         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18470
18471 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18472
18473         * benchtests/Makefile: Sort function entries.
18474
18475         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18476         tanh, asinh, acosh, atanh.
18477         * benchtests/acos-inputs: New file.
18478         * benchtests/acosh-inputs: New file.
18479         * benchtests/asin-inputs: New file.
18480         * benchtests/asinh-inputs: New file.
18481         * benchtests/atanh-inputs: New file.
18482         * benchtests/cosh-inputs: New file.
18483         * benchtests/log-inputs: New file.
18484         * benchtests/sinh-inputs: New file.
18485         * benchtests/tanh-inputs: New file.
18486
18487 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18488
18489         [BZ #15339]
18490         * posix/tst-getaddrinfo4.c: New test.
18491         * posix/Makefile (tests): Add it.
18492
18493 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18494
18495         [BZ #15339]
18496         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18497         when no services were used.
18498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18499         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18500
18501 2013-05-21  Andreas Schwab  <schwab@suse.de>
18502
18503         [BZ #15014]
18504         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18505         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18506         successful.
18507         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18508         redundant variable declarations and reallocation of buffer when
18509         parsing as IPv6 address.  Always set NSS status when called from
18510         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18511         buffer too small.  Correct computation of needed size.
18512         * nss/Makefile (tests): Add test-digits-dots.
18513         * nss/test-digits-dots.c: New test.
18514
18515 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18516
18517         * benchtests/Makefile: Remove instructions for adding
18518         benchmark tests.
18519         * benchtests/README: New file to explain how to execute and
18520         enhance the benchmark tests.
18521
18522 2013-05-21  Andreas Schwab  <schwab@suse.de>
18523
18524         [BZ #15493]
18525         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18526         * setjmp/tst-sigsetjmp.c: New test.
18527
18528 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18529
18530         * sysdeps/x86_64/memset.S (memset): New implementation.
18531         (__bzero): Likewise.
18532         (__memset_tail): New function.
18533
18534 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18535
18536         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18537         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18538         __memcpy_sse2_unaligned ifunc selection.
18539         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18540         Add memcpy-sse2-unaligned.S.
18541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18542         Add: __memcpy_sse2_unaligned.
18543
18544 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18545
18546         [BZ #15490]
18547         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18548         math_force_eval before restoring floating-point envrionment.
18549         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18550         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18551         Likewise.
18552         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18553         <math_private.h>.
18554         (__nearbyintl): Use math_force_eval before restoring
18555         floating-point environment.
18556         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18557
18558         * math/gen-libm-test.pl (special_functions): Remove.
18559         (parse_args): Don't handle TEST_extra.  Handle functions with no
18560         return value.
18561         * math/libm-test.inc (struct test_sincos_data): Replace with
18562         struct test_fFF_11_data.
18563         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18564         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18565         (sincos_test_data): Change element type to struct
18566         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18567         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18568         RUN_TEST_LOOP_sincos.
18569         * math/README.libm-test: Don't mention special handling of
18570         individual functions.
18571         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18572         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18573         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18574         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18575         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577
18578         * math/gen-libm-test.pl (get_variable): Remove function.
18579         (parse_args): Don't show pointer parameters to call in test
18580         names.  Use "extra output N" in test names for extra outputs
18581         rather than naming variables.
18582
18583 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18584
18585         [BZ #15488]
18586         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18587         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18588         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18589         double tests.
18590         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18591         disable.
18592         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18593         check_long_double.
18594
18595         * math/gen-libm-test.pl (@tests): Remove variable.
18596         ($count): Likewise.
18597         (new_test): Remove function.
18598         (show_exceptions): New function.
18599         (special_functions): Use show_exceptions instead of new_test.
18600         (parse_args): Likewise.
18601         (generate_testfile): Pass only function name in generated call to
18602         print_max_error or print_complex_max_error.
18603         (get_ulps): Do not handle complex tests specially.
18604         (output_test): Rename to ...
18605         (get_all_ulps_for_test): ... this.  Return a string rather than
18606         printing to a file.  Require ulps to be present.
18607         (output_ulps): Generate arrays rather than #defines.
18608         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18609         (struct ulp_data): New type.
18610         (BUILD_COMPLEX_ULP): Remove macro.
18611         (compare_ulp_data): New function.
18612         (find_ulps): Likewise.
18613         (find_test_ulps): Likewise.
18614         (find_function_ulps): Likewise.
18615         (find_complex_function_ulps): Likewise.
18616         (print_max_error): Determine allowed ulps using
18617         find_function_ulps.
18618         (print_complex_max_error): Determine allowed ulps using
18619         find_complex_function_ulps.
18620         (check_float_internal): Determine max ulps using find_test_ulps.
18621         (check_float): Do not take max_ulp parameter.  Update call to
18622         check_float_internal.
18623         (check_complex): Likewise.
18624         (check_int): Do not take max_ulp parameter.
18625         (check_long): Likewise.
18626         (check_bool): Likewise.
18627         (check_longlong): Likewise.
18628         (struct test_f_f_data): Remove max_ulp field.
18629         (struct test_ff_f_data): Likewise.
18630         (struct test_ff_f_data_nexttoward): Likewise.
18631         (struct test_fi_f_data): Likewise.
18632         (struct test_fl_f_data): Likewise.
18633         (struct test_if_f_data): Likewise.
18634         (struct test_fff_f_data): Likewise.
18635         (struct test_c_f_data): Likewise.
18636         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18637         (struct test_fF_f1_data): Likewise.
18638         (struct test_ffI_f1_data): Likewise.
18639         (struct test_c_c_data): Remove max_ulp field.
18640         (struct test_cc_c_data): Likewise.
18641         (struct test_f_i_data): Likewise.
18642         (struct test_ff_i_data): Likewise.
18643         (struct test_f_l_data): Likewise.
18644         (struct test_f_L_data): Likewise.
18645         (struct test_sincos_data): Likewise.
18646         (RUN_TEST_f_f): Do not handle ulps.
18647         (RUN_TEST_LOOP_f_f): Likewise.
18648         (RUN_TEST_2_f): Likewise.
18649         (RUN_TEST_LOOP_2_f): Likewise.
18650         (RUN_TEST_fff_f): Likewise.
18651         (RUN_TEST_LOOP_fff_f): Likewise.
18652         (RUN_TEST_c_f): Likewise.
18653         (RUN_TEST_LOOP_c_f): Likewise.
18654         (RUN_TEST_f_f1): Likewise.
18655         (RUN_TEST_LOOP_f_f1): Likewise.
18656         (RUN_TEST_fF_f1): Likewise.
18657         (RUN_TEST_LOOP_fF_f1): Likewise.
18658         (RUN_TEST_fI_f1): Likewise.
18659         (RUN_TEST_LOOP_fI_f1): Likewise.
18660         (RUN_TEST_ffI_f1): Likewise.
18661         (RUN_TEST_LOOP_ffI_f1): Likewise.
18662         (RUN_TEST_c_c): Likewise.
18663         (RUN_TEST_LOOP_c_c): Likewise.
18664         (RUN_TEST_cc_c): Likewise.
18665         (RUN_TEST_LOOP_cc_c): Likewise.
18666         (RUN_TEST_f_i): Likewise.
18667         (RUN_TEST_LOOP_f_i): Likewise.
18668         (RUN_TEST_f_i_tg): Likewise.
18669         (RUN_TEST_LOOP_f_i_tg): Likewise.
18670         (RUN_TEST_ff_i_tg): Likewise.
18671         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18672         (RUN_TEST_f_b): Likewise.
18673         (RUN_TEST_LOOP_f_b): Likewise.
18674         (RUN_TEST_f_b_tg): Likewise.
18675         (RUN_TEST_LOOP_f_b_tg): Likewise.
18676         (RUN_TEST_f_l): Likewise.
18677         (RUN_TEST_LOOP_f_l): Likewise.
18678         (RUN_TEST_f_L): Likewise.
18679         (RUN_TEST_LOOP_f_L): Likewise.
18680         (RUN_TEST_sincos): Likewise.
18681         (RUN_TEST_LOOP_sincos): Likewise.
18682
18683 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18684
18685         [BZ #15480]
18686         [BZ #15485]
18687         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18688         main case of finite arguments, set rounding mode to FE_TONEAREST
18689         and discard exceptions.
18690         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18691         exceptions.
18692         (remainder_tonearest_test_data): New variable.
18693         (remainder_test_tonearest): New function.
18694         (remainder_towardzero_test_data): New variable.
18695         (remainder_test_towardzero): New function.
18696         (remainder_downward_test_data): New variable.
18697         (remainder_test_downward): New function.
18698         (remainder_upward_test_data): New variable.
18699         (remainder_test_upward): New function.
18700         (main): Call the new test functions.
18701
18702         * math/libm-test.inc (struct test_f_f1_data): Remove field
18703         extra_init.
18704         (struct test_fF_f1_data): Likewise.
18705         (struct test_ffI_f1_data): Likewise.
18706         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18707         based on value of EXTRA_EXPECTED.
18708         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18709         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18710         EXTRA_VAR based on value of EXTRA_EXPECTED.
18711         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18712         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18713         EXTRA_VAR based on value of EXTRA_EXPECTED.
18714         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18715         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18716         EXTRA_VAR based on value of EXTRA_EXPECTED.
18717         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18718         * math/gen-libm-test.pl (parse_args): Don't output initializers
18719         for extra output values.
18720
18721         * math/libm-test.inc (check_int): Expect result to be exactly
18722         equal to expected value and do not handle ulps.
18723         (check_long): Likewise.
18724         (check_longlong): Likewise.
18725
18726         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18727         exceptions.
18728         (cimag_test_data): Likewise.
18729         (conj_test_data): Likewise.
18730         (copysign_test_data): Likewise.
18731         (cproj_test_data): Likewise.
18732         (creal_test_data): Likewise.
18733         (fabs_test_data): Likewise.
18734         (fdim_test_data): Likewise.
18735         (finite_test_data): Likewise.
18736         (floor_test_data): Likewise.
18737         (fmax_test_data): Likewise.
18738         (fmin_test_data): Likewise.
18739         (fmod_test_data): Likewise.
18740         (fpclassify_test_data): Likewise.
18741         (frexp_test_data): Likewise.
18742         (ilogb_test_data): Likewise.
18743         (isfinite_test_data): Likewise.
18744         (isgreater_test_data): Likewise.
18745         (isgreaterequal_test_data): Likewise.
18746         (isinf_test_data): Likewise.
18747         (isless_test_data): Likewise.
18748         (islessequal_test_data): Likewise.
18749         (islessgreater_test_data): Likewise.
18750         (isnan_test_data): Likewise.
18751         (isnormal_test_data): Likewise.
18752         (issignaling_test_data): Likewise.
18753         (isunordered_test_data): Likewise.
18754         (ldexp_test_data): Likewise.
18755         (lrint_test_data): Likewise.
18756         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18757         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18758         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18759         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18760         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18761         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18762         test input.
18763         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18764         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18765         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18766         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18767         that test input.
18768         (lrint_downward_test_data): Test for "inexact" exceptions.
18769         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18770         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18771         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18772         test input.
18773         (lrint_upward_test_data): Test for "inexact" exceptions.
18774         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18775         test input.
18776         (llrint_test_data): Test for "inexact" exceptions.
18777         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18778         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18779         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18780         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18781         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18782         (llrint_downward_test_data): Test for "inexact" exceptions.
18783         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18784         (llrint_upward_test_data): Test for "inexact" exceptions.
18785         (logb_test_data): Likewise.
18786         (logb_downward_test_data): Likewise.
18787         (nextafter_test_data): Likewise.
18788         (nexttoward_test_data): Likewise.
18789         (remainder_test_data): Likewise.
18790         (remquo_test_data): Likewise.
18791         (scalbn_test_data): Likewise.
18792         (scalbln_test_data): Likewise.
18793         (signbit_test_data): Likewise.
18794         (sqrt_test_data): Likewise.
18795         (significand_test_data): Likewise.
18796
18797 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18798
18799         [BZ #15424]
18800         * benchtests/bench-modf.c (struct args): Mark arg0 as
18801         volatile.
18802         * scripts/bench.pl: Mark members of struct args as volatile.
18803
18804 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18805
18806         [BZ # 15497]
18807         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18808         negative infinity on POWER6 or lower.
18809         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18810
18811 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18812
18813         [BZ #15442]
18814         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18815         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18816         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18817         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18818         (_FP_SETQNAN): New macro.
18819         (_FP_SETQNAN_SEMIRAW): Likewise.
18820         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18821         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18822         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18823         (FP_EXTEND): Use _FP_FRAC_SNANP.
18824         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18825         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18826         into account.
18827         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18828         New macro.
18829         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18830         Likewise.
18831
18832 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18833
18834         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18835         with DIVIDE_BY_ZERO_EXCEPTION.
18836         (gamma_test_data): Likewise.
18837         (lgamma_test_data): Likewise.
18838         (log_test_data): Likewise.
18839         (log10_test_data): Likewise.
18840         (log2_test_data): Likewise.
18841         (tgamma_test_data): Likewise.
18842
18843         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18844         (acos_test_tonearest): Likewise.
18845         (acos_test_towardzero): Likewise.
18846         (acos_test_downward): Likewise.
18847         (acos_test_upward): Likewise.
18848         (acosh_test): Likewise.
18849         (asin_test): Likewise.
18850         (asin_test_tonearest): Likewise.
18851         (asin_test_towardzero): Likewise.
18852         (asin_test_downward): Likewise.
18853         (asin_test_upward): Likewise.
18854         (asinh_test): Likewise.
18855         (atan_test): Likewise.
18856         (atanh_test): Likewise.
18857         (atan2_test): Likewise.
18858         (cabs_test): Likewise.
18859         (cacos_test): Likewise.
18860         (cacosh_test): Likewise.
18861         (casin_test): Likewise.
18862         (casinh_test): Likewise.
18863         (catan_test): Likewise.
18864         (catanh_test): Likewise.
18865         (cbrt_test): Likewise.
18866         (ccos_test): Likewise.
18867         (ccosh_test): Likewise.
18868         (cexp_test): Likewise.
18869         (clog_test): Likewise.
18870         (clog10_test): Likewise.
18871         (cos_test): Likewise.
18872         (cos_test_tonearest): Likewise.
18873         (cos_test_towardzero): Likewise.
18874         (cos_test_downward): Likewise.
18875         (cos_test_upward): Likewise.
18876         (cosh_test): Likewise.
18877         (cosh_test_tonearest): Likewise.
18878         (cosh_test_towardzero): Likewise.
18879         (cosh_test_downward): Likewise.
18880         (cosh_test_upward): Likewise.
18881         (cpow_test): Likewise.
18882         (csin_test): Likewise.
18883         (csinh_test): Likewise.
18884         (csqrt_test): Likewise.
18885         (ctan_test): Likewise.
18886         (ctan_test_tonearest): Likewise.
18887         (ctan_test_towardzero): Likewise.
18888         (ctan_test_downward): Likewise.
18889         (ctan_test_upward): Likewise.
18890         (ctanh_test): Likewise.
18891         (ctanh_test_tonearest): Likewise.
18892         (ctanh_test_towardzero): Likewise.
18893         (ctanh_test_downward): Likewise.
18894         (ctanh_test_upward): Likewise.
18895         (erf_test): Likewise.
18896         (erfc_test): Likewise.
18897         (exp_test): Likewise.
18898         (exp_test_tonearest): Likewise.
18899         (exp_test_towardzero): Likewise.
18900         (exp_test_downward): Likewise.
18901         (exp_test_upward): Likewise.
18902         (exp10_test): Likewise.
18903         (exp2_test): Likewise.
18904         (expm1_test): Likewise.
18905         (fmod_test): Likewise.
18906         (gamma_test): Likewise.
18907         (hypot_test): Likewise.
18908         (j0_test): Likewise.
18909         (j1_test): Likewise.
18910         (jn_test): Likewise.
18911         (lgamma_test): Likewise.
18912         (log_test): Likewise.
18913         (log10_test): Likewise.
18914         (log1p_test): Likewise.
18915         (log2_test): Likewise.
18916         (logb_test_downward): Likewise.
18917         (pow_test): Likewise.
18918         (pow_test_tonearest): Likewise.
18919         (pow_test_towardzero): Likewise.
18920         (pow_test_downward): Likewise.
18921         (pow_test_upward): Likewise.
18922         (remainder_test): Likewise.
18923         (remquo_test): Likewise.
18924         (sin_test): Likewise.
18925         (sin_test_tonearest): Likewise.
18926         (sin_test_towardzero): Likewise.
18927         (sin_test_downward): Likewise.
18928         (sin_test_upward): Likewise.
18929         (sincos_test): Likewise.
18930         (sinh_test): Likewise.
18931         (sinh_test_tonearest): Likewise.
18932         (sinh_test_towardzero): Likewise.
18933         (sinh_test_downward): Likewise.
18934         (sinh_test_upward): Likewise.
18935         (sqrt_test): Likewise.
18936         (tan_test): Likewise.
18937         (tan_test_tonearest): Likewise.
18938         (tan_test_towardzero): Likewise.
18939         (tan_test_downward): Likewise.
18940         (tan_test_upward): Likewise.
18941         (tanh_test): Likewise.
18942         (tgamma_test): Likewise.
18943         (y0_test): Likewise.
18944         (y1_test): Likewise.
18945         (yn_test): Likewise.
18946
18947         * math/gen-libm-test.pl (adjust_arg): Remove function.
18948         (special_function): Remove argument $in_func.  Only handle
18949         generating output for tables of tests, not inside functions.
18950         (parse_args): Likewise.
18951         (generate_testfile): Remove variable $in_func.  Update call to
18952         parse_args.
18953         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18954         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18955         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18956         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18957         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18958         (MAX_VALUE_INIT): Rename macro to max_value.
18959         (MIN_VALUE_INIT): Rename macro to min_value.
18960         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18961         (plus_zero): Remove variable.
18962         (minus_zero): Likewise.
18963         (plus_infty): Likewise.
18964         (minus_infty): Likewise.
18965         (qnan_value): Likewise.
18966         (max_value): Likewise.
18967         (min_value): Likewise.
18968         (min_subnorm_value): Likewise.
18969
18970 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18971
18972         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18973         uint64_t or uint32_t usage.
18974         * crypt/sha256-block.c: Likewise.
18975         * crypt/sha256-crypt.c: Likewise.
18976         * crypt/sha256.c: Likewise.
18977         * crypt/sha512-block.c: Likewise.
18978         * crypt/sha512-crypt.c: Likewise.
18979         * crypt/sha512.c: Likewise.
18980         * debug/backtrace-tst.c: Likewise.
18981         * debug/pcprofiledump.c: Likewise.
18982         * elf/cache.c: Likewise.
18983         * elf/dl-cache.c: Likewise.
18984         * elf/dl-misc.c: Likewise.
18985         * elf/dl-profile.c: Likewise.
18986         * elf/dl-support.c: Likewise.
18987         * elf/ldconfig.c: Likewise.
18988         * elf/sprof.c: Likewise.
18989         * iconv/dummy-repertoire.c: Likewise.
18990         * iconv/iconv_charmap.c: Likewise.
18991         * iconv/skeleton.c: Likewise.
18992         * iconvdata/8bit-generic.c: Likewise.
18993         * iconvdata/cp737.h: Likewise.
18994         * iconvdata/cp775.h: Likewise.
18995         * iconvdata/ibm1008.h: Likewise.
18996         * iconvdata/ibm1025.h: Likewise.
18997         * iconvdata/ibm1046.h: Likewise.
18998         * iconvdata/ibm1097.h: Likewise.
18999         * iconvdata/ibm1112.h: Likewise.
19000         * iconvdata/ibm1122.h: Likewise.
19001         * iconvdata/ibm1123.h: Likewise.
19002         * iconvdata/ibm1124.h: Likewise.
19003         * iconvdata/ibm1129.h: Likewise.
19004         * iconvdata/ibm1130.h: Likewise.
19005         * iconvdata/ibm1132.h: Likewise.
19006         * iconvdata/ibm1133.h: Likewise.
19007         * iconvdata/ibm1137.h: Likewise.
19008         * iconvdata/ibm1140.h: Likewise.
19009         * iconvdata/ibm1141.h: Likewise.
19010         * iconvdata/ibm1142.h: Likewise.
19011         * iconvdata/ibm1143.h: Likewise.
19012         * iconvdata/ibm1144.h: Likewise.
19013         * iconvdata/ibm1145.h: Likewise.
19014         * iconvdata/ibm1146.h: Likewise.
19015         * iconvdata/ibm1147.h: Likewise.
19016         * iconvdata/ibm1148.h: Likewise.
19017         * iconvdata/ibm1149.h: Likewise.
19018         * iconvdata/ibm1153.h: Likewise.
19019         * iconvdata/ibm1154.h: Likewise.
19020         * iconvdata/ibm1155.h: Likewise.
19021         * iconvdata/ibm1156.h: Likewise.
19022         * iconvdata/ibm1157.h: Likewise.
19023         * iconvdata/ibm1158.h: Likewise.
19024         * iconvdata/ibm1160.h: Likewise.
19025         * iconvdata/ibm1161.h: Likewise.
19026         * iconvdata/ibm1162.h: Likewise.
19027         * iconvdata/ibm1163.h: Likewise.
19028         * iconvdata/ibm1164.h: Likewise.
19029         * iconvdata/ibm1166.h: Likewise.
19030         * iconvdata/ibm1167.h: Likewise.
19031         * iconvdata/ibm12712.h: Likewise.
19032         * iconvdata/ibm1390.h: Likewise.
19033         * iconvdata/ibm1399.h: Likewise.
19034         * iconvdata/ibm16804.h: Likewise.
19035         * iconvdata/ibm4517.h: Likewise.
19036         * iconvdata/ibm4899.h: Likewise.
19037         * iconvdata/ibm4909.h: Likewise.
19038         * iconvdata/ibm4971.h: Likewise.
19039         * iconvdata/ibm5347.h: Likewise.
19040         * iconvdata/ibm803.h: Likewise.
19041         * iconvdata/ibm856.h: Likewise.
19042         * iconvdata/ibm901.h: Likewise.
19043         * iconvdata/ibm902.h: Likewise.
19044         * iconvdata/ibm9030.h: Likewise.
19045         * iconvdata/ibm9066.h: Likewise.
19046         * iconvdata/ibm921.h: Likewise.
19047         * iconvdata/ibm922.h: Likewise.
19048         * iconvdata/ibm9448.h: Likewise.
19049         * iconvdata/isiri-3342.h: Likewise.
19050         * iconvdata/jis0201.h: Likewise.
19051         * include/link.h: Likewise.
19052         * include/netdb.h: Likewise.
19053         * inet/check_native.c: Likewise.
19054         * inet/check_pf.c: Likewise.
19055         * inet/getipv4sourcefilter.c: Likewise.
19056         * inet/getnameinfo.c: Likewise.
19057         * inet/getsourcefilter.c: Likewise.
19058         * inet/htonl.c: Likewise.
19059         * inet/setipv4sourcefilter.c: Likewise.
19060         * inet/setsourcefilter.c: Likewise.
19061         * inet/test-inet6_opt.c: Likewise.
19062         * inet/tst-network.c: Likewise.
19063         * locale/C-collate.c: Likewise.
19064         * locale/C-ctype.c: Likewise.
19065         * locale/C-time.c: Likewise.
19066         * locale/C-translit.h: Likewise.
19067         * locale/loadarchive.c: Likewise.
19068         * locale/programs/3level.h: Likewise.
19069         * locale/programs/charmap.c: Likewise.
19070         * locale/programs/charmap.h: Likewise.
19071         * locale/programs/ld-address.c: Likewise.
19072         * locale/programs/ld-collate.c: Likewise.
19073         * locale/programs/ld-ctype.c: Likewise.
19074         * locale/programs/ld-identification.c: Likewise.
19075         * locale/programs/ld-measurement.c: Likewise.
19076         * locale/programs/ld-messages.c: Likewise.
19077         * locale/programs/ld-monetary.c: Likewise.
19078         * locale/programs/ld-name.c: Likewise.
19079         * locale/programs/ld-numeric.c: Likewise.
19080         * locale/programs/ld-paper.c: Likewise.
19081         * locale/programs/ld-telephone.c: Likewise.
19082         * locale/programs/ld-time.c: Likewise.
19083         * locale/programs/linereader.c: Likewise.
19084         * locale/programs/locale.c: Likewise.
19085         * locale/programs/locarchive.c: Likewise.
19086         * locale/programs/locfile.h: Likewise.
19087         * locale/programs/repertoire.c: Likewise.
19088         * locale/programs/simple-hash.c: Likewise.
19089         * locale/programs/simple-hash.h: Likewise.
19090         * malloc/memusage.c: Likewise.
19091         * malloc/memusagestat.c: Likewise.
19092         * nis/nis_defaults.c: Likewise.
19093         * nis/nis_hash.c: Likewise.
19094         * nis/nis_print.c: Likewise.
19095         * nis/nis_xdr.c: Likewise.
19096         * nscd/connections.c: Likewise.
19097         * nscd/hstcache.c: Likewise.
19098         * nscd/nscd_gethst_r.c: Likewise.
19099         * nscd/nscd_getserv_r.c: Likewise.
19100         * nscd/nscd_helper.c: Likewise.
19101         * nscd/servicescache.c: Likewise.
19102         * nss/makedb.c: Likewise.
19103         * nss/nss_db/db-XXX.c: Likewise.
19104         * nss/nss_db/db-initgroups.c: Likewise.
19105         * nss/nss_db/db-netgrp.c: Likewise.
19106         * nss/nss_files/files-network.c: Likewise.
19107         * nss/nss_files/files-parse.c: Likewise.
19108         * posix/bug-regex5.c: Likewise.
19109         * posix/fnmatch_loop.c: Likewise.
19110         * posix/regcomp.c: Likewise.
19111         * posix/regexec.c: Likewise.
19112         * posix/tst-rfc3484-2.c: Likewise.
19113         * posix/tst-rfc3484-3.c: Likewise.
19114         * posix/tst-rfc3484.c: Likewise.
19115         * resolv/nss_dns/dns-canon.c: Likewise.
19116         * resolv/nss_dns/dns-network.c: Likewise.
19117         * resolv/res_init.c: Likewise.
19118         * resolv/res_mkquery.c: Likewise.
19119         * resolv/tst-aton.c: Likewise.
19120         * stdlib/cxa_atexit.c: Likewise.
19121         * stdlib/cxa_finalize.c: Likewise.
19122         * stdlib/gen-fpioconst.c: Likewise.
19123         * stdlib/strtol_l.c: Likewise.
19124         * string/tst-endian.c: Likewise.
19125         * sunrpc/auth_des.c: Likewise.
19126         * sunrpc/clnt_udp.c: Likewise.
19127         * sunrpc/rtime.c: Likewise.
19128         * sunrpc/svcauth_des.c: Likewise.
19129         * sunrpc/xdr.c: Likewise.
19130         * sunrpc/xdr_intXX_t.c: Likewise.
19131         * sunrpc/xdr_rec.c: Likewise.
19132         * sysdeps/generic/ldconfig.h: Likewise.
19133         * sysdeps/generic/ldsodefs.h: Likewise.
19134         * sysdeps/generic/memusage.h: Likewise.
19135         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19136         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19137         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19138         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19139         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19141         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19142         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19143         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19144         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19145         * sysdeps/posix/getaddrinfo.c: Likewise.
19146         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19147         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19148         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19149         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19150         * sysdeps/powerpc/test-gettimebase.c: Likewise.
19151         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19152         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19153         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19154         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19155         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19156         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19157         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19158         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19159         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19160         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19161         * sysdeps/x86_64/dl-tls.h: Likewise.
19162         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19163         * time/alt_digit.c: Likewise.
19164         * time/era.c: Likewise.
19165         * wcsmbs/tst-c16c32-1.c: Likewise.
19166
19167 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19168
19169         * math/libm-test.inc (struct test_sincos_data): New type.
19170         (RUN_TEST_LOOP_sincos): New macro.
19171         (sincos_test_data): New variable.
19172         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19173
19174 2013-05-16  Richard Henderson  <rth@redhat.com>
19175
19176         * math/atest-exp2.c (LIMB64): New macro.
19177         (CONSTSZ): New macro.
19178         (mp_exp1, mp_exp_m1, mp_log2): New variables.
19179         (hexdig): Move ...
19180         (print_mpn_fp): ... to function scope.
19181         (read_mpn_hex): Remove.
19182         (get_log2): Remove.
19183         (exp2_mpn): Use mp_log2.
19184         (main): Use mp_exp1.
19185
19186 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
19187
19188         * math/libm-test.inc: Remove comment about not testing "inexact"
19189         exceptions.
19190         (INEXACT_EXCEPTION): New macro.
19191         (NO_INEXACT_EXCEPTION): Likewise.
19192         (INVALID_EXCEPTION_OK): Update value.
19193         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19194         (OVERFLOW_EXCEPTION_OK): Likewise.
19195         (UNDERFLOW_EXCEPTION_OK): Likewise.
19196         (IGNORE_ZERO_INF_SIGN): Likewise.
19197         (ERRNO_UNCHANGED): Likewise.
19198         (ERRNO_EDOM): Likewise.
19199         (ERRNO_ERANGE): Likewise.
19200         (test_exceptions): Handle testing "inexact" exceptions.
19201         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19202         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19203         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19204         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19205         INEXACT_EXCEPTION.
19206         (rint_towardzero_test_data): Likewise.
19207         (rint_downward_test_data): Likewise.
19208         (rint_upward_test_data): Likewise.
19209
19210         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19211         with OVERFLOW_EXCEPTION.
19212         (exp10_test_data): Likewise.
19213         (exp2_test_data): Likewise.
19214         (expm1_test_data): Likewise.
19215         (lgamma_test_data): Likewise.
19216         (pow_test_data): Likewise.
19217         (tgamma_test_data): Likewise.
19218         (yn_test_data): Remove duplicate test of overflow.
19219
19220         * math/libm-test.inc (struct test_cc_c_data): New type.
19221         (RUN_TEST_LOOP_cc_c): New macro.
19222         (cpow_test_data): New variable.
19223         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19224
19225         * math/libm-test.inc (struct test_f_L_data): New type.
19226         (RUN_TEST_LOOP_f_L): New macro.
19227         (llrint_test_data): New variable.
19228         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19229         (llrint_tonearest_test_data): New variable.
19230         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19231         (llrint_towardzero_test_data): New variable.
19232         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19233         (llrint_downward_test_data): New variable.
19234         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19235         (llrint_upward_test_data): New variable.
19236         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19237         (llround_test_data): New variable.
19238         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19239
19240 2013-05-13  Peter Collingbourne  <pcc@google.com>
19241
19242         * math/atest-exp2.c (get_log2): Remove const attribute.
19243
19244 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19245
19246         * math/libm-test.inc (struct test_f_l_data): New type.
19247         (RUN_TEST_LOOP_f_l): New macro.
19248         (lrint_test_data): New variable.
19249         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19250         (lrint_tonearest_test_data): New variable.
19251         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19252         (lrint_towardzero_test_data): New variable.
19253         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19254         (lrint_downward_test_data): New variable.
19255         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19256         (lrint_upward_test_data): New variable.
19257         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19258         (lround_test_data): New variable.
19259         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19260
19261 2013-05-15  Peter Collingbourne  <pcc@google.com>
19262
19263         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19264         (EXTRACT_WORDS64) Use where appropriate.
19265         (INSERT_WORDS64) Likewise.
19266
19267         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19268         constraints with x constraints.
19269         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19270
19271         * malloc/obstack.c (_obstack_compat): Add initializer.
19272
19273 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19274
19275         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19276         si_trapno and add si_addr_lsb to _sifields.sigfault.
19277         (si_trapno): Remove macro.
19278         (si_addr_lsb): Define new macro.
19279         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19280
19281 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
19282
19283         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19284         instead of TEST_f_l.
19285         (llrint_test_tonearest): Likewise.
19286         (llrint_test_towardzero): Likewise.
19287         (llrint_test_downward): Likewise.
19288         (llrint_test_upward): Likewise.
19289         (llround_test): Likewise.
19290
19291         * math/libm-test.inc (struct test_f_i_data): Add comment.
19292         (RUN_TEST_LOOP_f_b): New macro.
19293         (RUN_TEST_LOOP_f_b_tg): Likewise.
19294         (finite_test_data): New variable.
19295         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19296         (isfinite_test_data): New variable.
19297         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19298         (isinf_test_data): New variable.
19299         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19300         (isnan_test_data): New variable.
19301         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19302         (isnormal_test_data): New variable.
19303         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19304         (issignaling_test_data): New variable.
19305         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19306         (signbit_test_data): New variable.
19307         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19308
19309         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19310         with INVALID_EXCEPTION.
19311         (acosh_test_data): Likewise.
19312         (asin_test_data): Likewise.
19313         (atanh_test_data): Likewise.
19314         (fmod_test_data): Likewise.
19315         (log_test_data): Likewise.
19316         (log10_test_data): Likewise.
19317         (log2_test_data): Likewise.
19318         (pow_test_data): Likewise.
19319         (sqrt_test_data): Likewise.
19320         (y0_test_data): Likewise.
19321         (y1_test_data): Likewise.
19322         (yn_test_data): Likewise.
19323
19324         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19325         function contents.
19326
19327         * math/libm-test.inc (struct test_ff_i_data): New type.
19328         (RUN_TEST_LOOP_ff_i_tg): New macro.
19329         (isgreater_test_data): New variable.
19330         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19331         (isgreaterequal_test_data): New variable.
19332         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19333         (isless_test_data): New variable.
19334         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19335         (islessequal_test_data): New variable.
19336         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19337         (islessgreater_test_data): New variable.
19338         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19339         (isunordered_test_data): New variable.
19340         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19341
19342 2013-05-14  David S. Miller  <davem@davemloft.net>
19343
19344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19345
19346 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19347
19348         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19349
19350         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19351         extra_test to int.
19352         (struct test_f_i_data): Change type of max_ulp to int.
19353
19354         * math/libm-test.inc (test_ffI_f1_data): New type.
19355         (RUN_TEST_LOOP_ffI_f1): New macro.
19356         (remquo_test_data): New variable.
19357         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19358
19359         * setjmp/tst-setjmp-fp.c: New file.
19360         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19361         (link-libm): New variable.
19362         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19363
19364         * math/libm-test.inc (struct test_f_i_data): New type.
19365         (RUN_TEST_LOOP_f_i): New macro.
19366         (RUN_TEST_LOOP_f_i_tg): Likewise.
19367         (fpclassify_test_data): New variable.
19368         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19369         (ilogb_test_data): New variable.
19370         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19371
19372         * math/libm-test.inc (scalbln_test): Correct function name in END
19373         call.
19374
19375         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19376         (RUN_TEST_LOOP_fI_f1): New macro.
19377         (frexp_test_data): New variable.
19378         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19379
19380         * math/libm-test.inc (struct test_fF_f1_data): New type.
19381         (RUN_TEST_LOOP_fF_f1): New macro.
19382         (modf_test_data): New variable.
19383         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19384
19385         * math/libm-test.inc (struct test_f_f1_data): New type.
19386         (RUN_TEST_LOOP_f_f1): New macro.
19387         (gamma_test_data): New variable.
19388         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19389         (lgamma_test_data): New variable.
19390         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19391
19392 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19393
19394         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19395         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19396         (main): Comment "tls" pseudo-hwcap.
19397
19398 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19399
19400         * math/libm-test.inc (struct test_fl_f_data): New type.
19401         (RUN_TEST_LOOP_fl_f): New variable.
19402         (scalbln_test_data): New variable.
19403         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19404
19405         * math/libm-test.inc (struct test_fi_f_data): New type.
19406         (RUN_TEST_LOOP_fi_f): New macro.
19407         (ldexp_test_data): New variable.
19408         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19409         (scalbn_test_data): New variable.
19410         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19411
19412         * math/libm-test.inc (struct test_c_f_data): New type.
19413         (RUN_TEST_LOOP_c_f): New macro.
19414         (cabs_test_data): New variable.
19415         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19416         (carg_test_data): New variable.
19417         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19418         (cimag_test_data): New variable.
19419         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19420         (creal_test_data): New variable.
19421         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19422
19423         * math/libm-test.inc (struct test_if_f_data): New type.
19424         (RUN_TEST_LOOP_if_f): New macro.
19425         (jn_test_data): New variable.
19426         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19427         (yn_test_data): New variable.
19428         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19429
19430         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19431
19432 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19433
19434         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19435         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19436
19437 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19438
19439         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19440         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19441         (bench-deps): Add bench-timing.h.
19442         * benchtests-bench-skeleton.c: Include bench-timing.h.
19443         (main): Use TIMING_* macros instead of clock_gettime.
19444         * benchtests/bench-timing.h: New file.
19445
19446         [BZ #14582]
19447         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19448         Renamed from _LIB_VERSION.
19449         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19450
19451 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19452
19453         * math/libm-test.inc (struct test_fff_f_data): New type.
19454         (RUN_TEST_LOOP_fff_f): New macro.
19455         (fma_test_data): New variable.
19456         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19457         (fma_towardzero_test_data): New variable.
19458         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19459         (fma_downward_test_data): New variable.
19460         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19461         (fma_upward_test_data): New variable.
19462         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19463
19464         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19465         (struct test_c_c_data): New type.
19466         (RUN_TEST_LOOP_c_c): New macro.
19467         (cacos_test_data): New variable.
19468         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19469         (cacosh_test_data): New variable.
19470         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19471         (casin_test_data): New variable.
19472         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19473         (casinh_test_data): New variable.
19474         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19475         (catan_test_data): New variable.
19476         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19477         (catanh_test_data): New variable.
19478         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19479         (ccos_test_data): New variable.
19480         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19481         (ccosh_test_data): New variable.
19482         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19483         (cexp_test_data): New variable.
19484         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19485         (clog_test_data): New variable.
19486         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19487         (clog10_test_data): New variable.
19488         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19489         (conj_test_data): New variable.
19490         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19491         (cproj_test_data): New variable.
19492         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19493         (csin_test_data): New variable.
19494         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19495         (csinh_test_data): New variable.
19496         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19497         (csqrt_test_data): New variable.
19498         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19499         (ctan_test_data): New variable.
19500         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19501         (ctan_tonearest_test_data): New variable.
19502         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19503         (ctan_towardzero_test_data): New variable.
19504         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19505         (ctan_downward_test_data): New variable.
19506         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19507         (ctan_upward_test_data): New variable.
19508         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19509         (ctanh_test_data): New variable.
19510         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19511         (ctanh_tonearest_test_data): New variable.
19512         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19513         (ctanh_towardzero_test_data): New variable.
19514         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19515         (ctanh_downward_test_data): New variable.
19516         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19517         (ctanh_upward_test_data): New variable.
19518         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19519         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19520         of BUILD_COMPLEX.
19521
19522         * math/libm-test.inc (struct test_ff_f_data): New type.
19523         (struct test_ff_f_data_nexttoward): Likewise.
19524         (RUN_TEST_LOOP_2_f): New macro.
19525         (RUN_TEST_LOOP_ff_f): Likewise.
19526         (atan2_test_data): New variable.
19527         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19528         (copysign_test_data): New variable.
19529         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19530         (fdim_test_data): New variable.
19531         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19532         (fmax_test_data): New variable.
19533         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19534         (fmin_test_data): New variable.
19535         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19536         (fmod_test_data): New variable.
19537         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19538         (hypot_test_data): New variable.
19539         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19540         (nextafter_test_data): New variable.
19541         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19542         (nexttoward_test_data): New variable.
19543         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19544         (pow_test_data): New variable.
19545         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19546         (pow_tonearest_test_data): New variable.
19547         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19548         (pow_towardzero_test_data): New variable.
19549         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19550         (pow_downward_test_data): New variable.
19551         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19552         (pow_upward_test_data): New variable.
19553         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19554         (remainder_test_data): New variable.
19555         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19556         (scalb_test_data): New variable.
19557         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19558         * sysdeps/i386/fpu/libm-test-ulps: Update.
19559
19560 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19561
19562         * math/libm-test.inc (fma_test): Use max_value instead of local
19563         variable fltmax.
19564         (nextafter_test): Likewise.
19565
19566         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19567         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19568         (acos_downward_test_data): New variable.
19569         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19570         (acos_upward_test_data): New variable.
19571         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19572         (acosh_test_data): New variable.
19573         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19574         (asin_test_data): New variable.
19575         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19576         (asin_tonearest_test_data): New variable.
19577         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19578         (asin_towardzero_test_data): New variable.
19579         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19580         (asin_downward_test_data): New variable.
19581         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19582         (asin_upward_test_data): New variable.
19583         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19584         (asinh_test_data): New variable.
19585         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19586         (atan_test_data): New variable.
19587         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19588         (atanh_test_data): New variable.
19589         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19590         (cbrt_test_data): New variable.
19591         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19592         (ceil_test_data): New variable.
19593         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19594         (cos_test_data): New variable.
19595         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19596         (cos_tonearest_test_data): New variable.
19597         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19598         (cos_towardzero_test_data): New variable.
19599         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19600         (cos_downward_test_data): New variable.
19601         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19602         (cos_upward_test_data): New variable.
19603         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19604         (cosh_test_data): New variable.
19605         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19606         (cosh_tonearest_test_data): New variable.
19607         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19608         (cosh_towardzero_test_data): New variable.
19609         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19610         (cosh_downward_test_data): New variable.
19611         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19612         (cosh_upward_test_data): New variable.
19613         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19614         (erf_test_data): New variable.
19615         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19616         (erfc_test_data): New variable.
19617         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19618         (exp_test_data): New variable.
19619         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19620         (exp_tonearest_test_data): New variable.
19621         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19622         (exp_towardzero_test_data): New variable.
19623         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19624         (exp_downward_test_data): New variable.
19625         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19626         (exp_upward_test_data): New variable.
19627         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19628         (exp10_test_data): New variable.
19629         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19630         (exp2_test_data): New variable.
19631         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19632         (expm1_test_data): New variable.
19633         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19634         (fabs_test_data): New variable.
19635         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19636         (floor_test_data): New variable.
19637         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19638         (j0_test_data): New variable.
19639         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19640         (j1_test_data): New variable.
19641         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19642         (log_test_data): New variable.
19643         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19644         (log10_test_data): New variable.
19645         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19646         (log1p_test_data): New variable.
19647         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19648         (log2_test_data): New variable.
19649         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19650         (logb_test_data): New variable.
19651         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19652         (logb_downward_test_data): New variable.
19653         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19654         (nearbyint_test_data): New variable.
19655         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19656         (rint_test_data): New variable.
19657         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19658         (rint_tonearest_test_data): New variable.
19659         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19660         (rint_towardzero_test_data): New variable.
19661         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19662         (rint_downward_test_data): New variable.
19663         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19664         (rint_upward_test_data): New variable.
19665         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19666         (round_test_data): New variable.
19667         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19668         (sin_test_data): New variable.
19669         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19670         (sin_tonearest_test_data): New variable.
19671         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19672         (sin_towardzero_test_data): New variable.
19673         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19674         (sin_downward_test_data): New variable.
19675         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19676         (sin_upward_test_data): New variable.
19677         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19678         (sinh_test_data): New variable.
19679         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19680         (sinh_tonearest_test_data): New variable.
19681         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19682         (sinh_towardzero_test_data): New variable.
19683         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19684         (sinh_downward_test_data): New variable.
19685         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19686         (sinh_upward_test_data): New variable.
19687         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19688         (sqrt_test_data): New variable.
19689         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19690         (tan_test_data): New variable.
19691         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19692         (tan_tonearest_test_data): New variable.
19693         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19694         (tan_towardzero_test_data): New variable.
19695         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19696         (tan_downward_test_data): New variable.
19697         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19698         (tan_upward_test_data): New variable.
19699         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19700         (tanh_test_data): New variable.
19701         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19702         (tgamma_test_data): New variable.
19703         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19704         (trunc_test_data): New variable.
19705         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19706         (y0_test_data): New variable.
19707         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19708         (y1_test_data): New variable.
19709         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19710         (significand_test_data): New variable.
19711         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19712
19713 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19714
19715         [BZ #12387]
19716         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19717
19718 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19719
19720         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19721
19722 2013-05-10  Andreas Jaeger  <aj@suse.de>
19723
19724         [BZ #15448]
19725         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19726         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19727
19728 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19729
19730         * math/gen-libm-test.pl (adjust_arg): New function.
19731         (special_functions): Handle generating output in both functions
19732         and arrays.
19733         (parse_args): Likewise.
19734         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19735         $in_func argument to parse_args.
19736         * math/libm-test.inc (struct test_f_f_data): New type.
19737         (IF_ROUND_INIT_): New macro.
19738         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19739         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19740         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19741         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19742         (ROUND_RESTORE_): Likewise.
19743         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19744         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19745         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19746         (ROUND_RESTORE_FE_UPWARD): Likewise.
19747         (RUN_TEST_LOOP_f_f): New macro.
19748         (acos_test_data): New variable.
19749         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19750         (acos_tonearest_test_data): New variable.
19751         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19752
19753 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19754
19755         * benchtests/bench-skeleton.c (startup): Fix coding style.
19756
19757 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19758
19759         [BZ #6809]
19760         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19761         negative infinity argument.
19762         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19763         negative infinity argument.
19764         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19765         negative infinity argument.
19766         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19767         domain errors.
19768
19769 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19770
19771         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19772         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19773         * iconv/iconv_prog.c (main): Likewise.
19774         * locale/programs/charmap-dir.c (charmap_readdir)
19775         (fopen_uncompressed): Likewise.
19776         * locale/programs/locfile.c (siblings_uncached)
19777         (write_locale_data): Use lstat64 instead of lstat.
19778         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19779         stat.
19780
19781 2013-05-10  Andreas Jaeger  <aj@suse.de>
19782
19783         [BZ #15395]
19784         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19785         localization.
19786         Include <locale.h>.
19787
19788 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19789
19790         * elf/dl-close.c (_dl_close_worker): Add comments.
19791
19792 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19793
19794         [BZ #15359]
19795         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19796         high part of pi/2.
19797         (__ieee754_rem_pio2l): Update comments.
19798
19799         [BZ #15429]
19800         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19801         high part of pi/2.
19802         (__ieee754_rem_pio2l): Update comments.
19803
19804         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19805         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19806
19807         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19808         M_PI_4l.
19809
19810         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19811         (M_PI_34_LOG10El): Likewise.
19812         (M_PI2_LOG10El): Likewise.
19813         (M_PI4_LOG10El): Likewise.
19814         (M_PI_LOG10El): Likewise.
19815
19816 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19817
19818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19819
19820 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19821
19822         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19823         (MINUS_ZERO_INIT): Likewise.
19824         (PLUS_INFTY_INIT): Likewise.
19825         (MINUS_INFTY_INIT): Likewise.
19826         (QNAN_VALUE_INIT): Likewise.
19827         (MAX_VALUE_INIT): Likewise.
19828         (MIN_VALUE_INIT): Likewise.
19829         (MIN_SUBNORM_VALUE_INIT): Likewise.
19830         (plus_zero): Initialize with PLUS_ZERO_INIT.
19831         (minus_zero): Initialize with MINUS_ZERO_INIT.
19832         (plus_infty): Initialize with PLUS_INFTY_INIT.
19833         (minus_infty): Initialize with MINUS_INFTY_INIT.
19834         (qnan_value): Initialize with QNAN_VALUE_INIT.
19835         (max_value): Initialize with MAX_VALUE_INIT.
19836         (min_value): Initialize with MIN_VALUE_INIT.
19837         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19838
19839         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19840         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19841         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19842         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19843
19844         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19845         (RUN_TEST_2_f): Likewise.
19846         (RUN_TEST_ff_f): Likewise.
19847         (RUN_TEST_fi_f): Likewise.
19848         (RUN_TEST_fl_f): Likewise.
19849         (RUN_TEST_fff_f): Likewise.
19850         (RUN_TEST_c_f): Likewise.
19851         (RUN_TEST_f_f1): Likewise.
19852         (RUN_TEST_fF_f1): Likewise.
19853         (RUN_TEST_fI_f1): Likewise.
19854         (RUN_TEST_ffI_f1): Likewise.
19855         (RUN_TEST_c_c): Likewise.
19856         (RUN_TEST_cc_c): Likewise.
19857         (RUN_TEST_f_i): Likewise.
19858         (RUN_TEST_f_i_tg): Likewise.
19859         (RUN_TEST_ff_i_tg): Likewise.
19860         (RUN_TEST_f_b): Likewise.
19861         (RUN_TEST_f_b_tg): Likewise.
19862         (RUN_TEST_f_l): Likewise.
19863         (RUN_TEST_f_L): Likewise.
19864         (RUN_TEST_sincos): Likewise.
19865         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19866         whether to show exceptions.  Do not include ");\n" in return
19867         value.
19868         (special_functions): Output call to RUN_TEST_sincos instead of
19869         check_float calls.  Update calls to new_test.
19870         (parse_args): Output call to single RUN_TEST_* macro instead of
19871         check_* calls and other assignments.  Update calls to new_test.
19872
19873         [BZ #2546]
19874         [BZ #2560]
19875         [BZ #5159]
19876         [BZ #15426]
19877         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19878         input to result for tgamma overflow.
19879         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19880         (gamma_coeff): New variable.
19881         (NCOEFF): New macro.
19882         (gamma_positive): New function.
19883         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19884         underflow here.  Use gamma_positive instead of exp (lgamma) for
19885         other arguments.
19886         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19887         (gamma_coeff): New variable.
19888         (NCOEFF): New macro.
19889         (gammaf_positive): New function.
19890         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19891         underflow here.  Use gamma_positive instead of exp (lgamma) for
19892         other arguments.
19893         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19894         (gamma_coeff): New variable.
19895         (NCOEFF): New macro.
19896         (gammal_positive): New function.
19897         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19898         underflow here.  Use gamma_positive instead of exp (lgamma) for
19899         other arguments.
19900         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19901         (gamma_coeff): New variable.
19902         (NCOEFF): New macro.
19903         (gammal_positive): New function.
19904         (__ieee754_gammal_r): Handle positive infinity, overflow and
19905         underflow here.  Handle NaN the same as positive infinity.  Remove
19906         check x < 0xffffffff for negative integers.  Use gamma_positive
19907         instead of exp (lgamma) for other arguments.
19908         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19909         (gamma_coeff): New variable.
19910         (NCOEFF): New macro.
19911         (gammal_positive): New function.
19912         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19913         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19914         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19915         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19916         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19917         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19918         * sysdeps/generic/math_private.h (__gamma_productf): New
19919         prototype.
19920         (__gamma_product): Likewise.
19921         (__gamma_productl): Likewise.
19922         * math/Makefile (libm-calls): Add gamma_product.
19923         * math/libm-test.inc (tgamma_test): Add more tests.
19924         * sysdeps/i386/fpu/libm-test-ulps: Update.
19925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19926
19927 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19928
19929         * benchtests/bench-skeleton.c (main): Preheat CPU.
19930
19931 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19932
19933         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19934
19935 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19936
19937         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19938         and _dl_skip_args_internal.
19939
19940 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19941
19942         * manual/message.texi (Message Translation): Talk about users.
19943         Message to key mapping impacts design.
19944
19945 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19946
19947         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19948
19949         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19950
19951         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19952         * sysdeps/wordsize-64/glob64.c: ... here.
19953
19954         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19955         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19956         New macros.
19957
19958         * debug/getlogin_r_chk.c: Moved to ...
19959         * login/getlogin_r_chk.c: ... here.
19960         * debug/Makefile (routines): Move getlogin_r_chk to ...
19961         * login/Makefile (routines): ... here.
19962         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19963         * login/Versions (libc: GLIBC_2.4): ... here.
19964
19965         * io/poll.c (__poll): Renamed from poll.
19966         Add libc_hidden_def.
19967         (poll): Define as weak alias.
19968
19969         * debug/ptsname_r_chk.c: Moved to ...
19970         * login/ptsname_r_chk.c: ... here.
19971         * debug/Makefile (routines): Move ptsname_r_chk to ...
19972         * login/Makefile (routines): ... here.
19973         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19974         * login/Versions (libc: GLIBC_2.4): ... here.
19975
19976         * posix/getlogin.c: Moved to ...
19977         * login/getlogin.c: ... here.
19978         * posix/getlogin_r.c: Moved to ...
19979         * login/getlogin_r.c: ... here.
19980         * posix/getlogin_r.c: Moved to ...
19981         * login/getlogin_r.c: ... here.
19982         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19983         * login/Makefile (routines): ... here.
19984         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19985         * login/Versions (libc: GLIBC_2.0): ... here.
19986
19987         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19988         (setrlimit): Define as weak alias.
19989
19990         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19991         Call __ names for open, ftruncate, and close.
19992         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19993         (truncate): Define as weak alias.
19994
19995 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19996
19997         * math/gen-libm-test.pl (parse_args): Initialize x before each
19998         test of frexp, modf and remquo.
19999
20000         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20001         test signgam value.
20002
20003 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20004
20005         [BZ #15418]
20006         [BZ #15419]
20007         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20008         internal tests.
20009         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20010
20011 2013-05-06  Roland McGrath  <roland@hack.frob.com>
20012
20013         * elf/dl-writev.h: New file.
20014         * elf/dl-misc.c: Include it.
20015         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20016         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20017
20018 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
20019
20020         * math/libm-test.inc (noXFails): Remove variable.
20021         (noXPasses): Likewise.
20022         (BUILD_COMPLEX_INT): Remove macro.
20023         (print_screen): Remove xfail argument.
20024         (print_screen_max_error): Likewise.
20025         (update_stats): Likewise.
20026         (print_max_error): Likewise.  Update calls to other affected
20027         functions.
20028         (print_complex_max_error): Likewise.
20029         (test_single_exception): Update calls to print_screen.
20030         (test_single_errno): Likewise.
20031         (check_float_internal): Remove xfail argument.  Update calls to
20032         other affected functions.
20033         (check_float): Likewise.
20034         (check_complex): Likewise.
20035         (check_int): Likewise.
20036         (check_long): Likewise.
20037         (check_bool): Likewise.
20038         (check_longlong): Likewise.
20039         (main): Don't print noXFails and noXPasses.
20040         * math/gen-libm-test.pl (top level): Don't mention expected
20041         failure handling in comment.
20042         (new_test): Don't handle expected failures.
20043         (parse_args): Don't mention expected failure handling in comment.
20044         (generate_testfile): Don't handle expected failures.
20045         (parse_ulps): Likewise.
20046         (print_ulps_file): Likewise.
20047         (get_failure): Remove function.
20048         (output_test): Don't handle expected failures.
20049         * make/README.libm-test: Don't mention expected failure handling.
20050
20051         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
20052         (minus_zero): Likewise.
20053         (plus_infty): Likewise.
20054         (minus_infty): Likewise.
20055         (qnan_value): Likewise.
20056         (max_value): Likewise.
20057         (min_value): Likewise.
20058         (min_subnorm_value): Likewise.
20059         (initialize): Do not initialize those variables dynamically.
20060
20061 2013-05-03  Roland McGrath  <roland@hack.frob.com>
20062
20063         * io/open.c (__open_2): Moved to ...
20064         * io/open_2.c: ... this new file.
20065         * io/open64.c (__open64_2): Moved to ...
20066         * io/open64_2.c: ... this new file.
20067         * io/openat.c (__openat_2): Moved to ...
20068         * io/openat_2.c: ... this new file.
20069         * io/openat64.c (__openat64_2): Moved to ...
20070         * io/openat64_2.c: ... this new file.
20071         * io/Makefile (routines): Add them.
20072         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20073         * sysdeps/unix/sysv/linux/open_2.c: File removed.
20074         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20075         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20076         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20077         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20078         (__openat64): Add hidden_ver.
20079         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20080         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20081
20082         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20083         Separately conditionalize setting of GLRO(dl_sysinfo) so
20084         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20085         as well, but the actual setting is only under [NEED_DL_SYSINFO].
20086
20087 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20088
20089         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20090         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20091         definition.
20092         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20093         * sysdeps/unix/sysv/linux/powerpc/init-first.c
20094         (_libc_vdso_platform_setup): Add __vdso_time initialization.
20095         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20096         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20097
20098 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
20099
20100         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20101         test signgam value.
20102
20103         * math/libm-test.inc (hypot_test): Do not use
20104         IGNORE_ZERO_INF_SIGN.
20105
20106 2013-05-03  Andreas Jaeger  <aj@suse.de>
20107
20108         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20109         Linux 3.9.
20110         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20111         (PF_MAX): Adjust for VSOCK change.
20112
20113 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20114
20115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20116
20117 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
20118
20119         [BZ #15264]
20120         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20121         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20122         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20123
20124 2013-05-02  David S. Miller  <davem@davemloft.net>
20125
20126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20127
20128 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
20129
20130         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20131
20132 2013-05-01  Roland McGrath  <roland@hack.frob.com>
20133
20134         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20135
20136 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
20137
20138         [BZ #14952]
20139         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20140         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20141         Use __attribute__ ((__gnu_inline__)).
20142         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20143         Don't use __attribute__ ((__gnu_inline__)).
20144
20145 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
20146
20147         [BZ #15423]
20148         * math/s_catan.c (__catan): Handle small real or imaginary part of
20149         input specially to avoid spurious underflow.
20150         * math/s_catanf.c (__catanf): Likewise.
20151         * math/s_catanh.c (__catanh): Likewise.
20152         * math/s_catanhf.c (__catanhf): Likewise.
20153         * math/s_catanhl.c (__catanhl): Likewise.
20154         * math/s_catanl.c (__catanl): Likewise.
20155         * math/libm-test.inc (catan_test): Add more tests.
20156         (catanh_test): Likewise.
20157         * sysdeps/i386/fpu/libm-test-ulps: Update.
20158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20159
20160 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20161
20162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20163
20164 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
20165
20166         [BZ #15416]
20167         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20168         accurately for denominator in atan2.
20169         * math/s_catanf.c (__catanf): Likewise.
20170         * math/s_catanh.c (__catanh): Likewise.
20171         * math/s_catanhf.c (__catanhf): Likewise.
20172         * math/s_catanhl.c (__catanhl): Likewise.
20173         * math/s_catanl.c (__catanl): Likewise.
20174         * math/libm-test.inc (catan_test): Add more tests.
20175         (catanh_test): Likewise.
20176         * sysdeps/i386/fpu/libm-test-ulps: Update.
20177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178
20179 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20180
20181         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20182
20183         * benchtests/Makefile (bench): Remove slow benchmarks.
20184         * benchtests/atan-inputs: Add slow benchmark inputs.
20185         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20186         (BENCH_FUNC): Accept variant offset.
20187         (VARIANT): Define.
20188         * benchtests/bench-skeleton.c (main): Run benchmark for each
20189         variant.
20190         * benchtests/cos-inputs: Add slow benchmark inputs.
20191         * benchtests/exp-inputs: Likewise.
20192         * benchtests/pow-inputs: Likewise.
20193         * benchtests/sin-inputs: Likewise.
20194         * benchtests/slowatan-inputs: Remove.
20195         * benchtests/slowatan.c: Remove.
20196         * benchtests/slowcos-inputs: Remove.
20197         * benchtests/slowcos.c: Remove.
20198         * benchtests/slowexp-inputs: Remove.
20199         * benchtests/slowexp.c: Remove.
20200         * benchtests/slowpow-inputs: Remove.
20201         * benchtests/slowpow.c: Remove.
20202         * benchtests/slowsin-inputs: Remove.
20203         * benchtests/slowsin.c: Remove.
20204         * benchtests/slowtan-inputs: Remove.
20205         * benchtests/slowtan.c: Remove.
20206         * benchtests/tan-inputs: Add slow benchmark inputs.
20207         * scripts/bench.pl: Parse comments and directives.
20208
20209         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
20210         in CPPFLAGS.
20211         ($(objpfx)bench-%.c): Remove *-ITER.
20212         * benchtests/bench-modf.c: Remove definition of ITER.
20213         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20214         (main): Loop for DURATION seconds instead of fixed number of
20215         iterations.
20216         * scripts/bench.pl: Don't expect iterations in parameters.
20217
20218 2013-04-29  Roland McGrath  <roland@hack.frob.com>
20219
20220         * io/fchdir.c (__fchdir): Renamed from fchdir.
20221         (fchdir): Define as weak alias.
20222
20223 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20224
20225         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20226         (ERRNO_EDOM): Likewise.
20227         (ERRNO_ERANGE): Likewise.
20228         (noErrnoTests): New variable.
20229         (init_max_error): Set errno to 0.
20230         (test_single_errno): New function.
20231         (test_errno): Likewise.
20232         (check_float_internal): Call test_errno.  Set errno to 0.
20233         (check_complex): Refer to errno tests in comment.
20234         (check_int): Call test_errno.  Set errno to 0.
20235         (check_long): Likewise.
20236         (check_bool): Likewise.
20237         (check_longlong): Likewise.
20238         (cos_test): Use ERRNO_* flags for errno tests instead of
20239         check_int.
20240         (expm1_test): Likewise.
20241         (fmod_test): Likewise.
20242         (ilogb_test): Likewise.
20243         (lgamma_test): Likewise.
20244         (pow_test): Likewise.
20245         (remainder_test): Likewise.
20246         (sin_test): Likewise.
20247         (tan_test): Likewise.
20248         (yn_test): Likewise.
20249         (initialize): Set errno to 0.
20250         (main): Print number of errno tests.
20251         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20252
20253 2013-04-29  Andreas Jaeger  <aj@suse.de>
20254
20255         [BZ #15084]
20256         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20257         and RES_USEVC.
20258
20259         [BZ #15085]
20260         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20261         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20262         unimplemented.
20263
20264         [BZ #15380]
20265         * stdlib/random.c (__initstate): Return NULL if
20266         __initstate fails.
20267
20268         [BZ #15086]
20269         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20270         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20271         RES_SNGLKUPREOP.
20272
20273 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20274
20275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20276
20277 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
20278
20279         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20280         of individual tests.
20281         (casin_test): Likewise.
20282         (casinh_test): Likewise.
20283
20284 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
20285
20286         [BZ #15409]
20287         * math/s_catan.c (__catan): Handle arguments with large real or
20288         imaginary part separately without squaring.
20289         * math/s_catanf.c (__catanf): Likewise.
20290         * math/s_catanh.c (__catanh): Likewise.
20291         * math/s_catanhf.c (__catanhf): Likewise.
20292         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20293         and redefine.
20294         (__catanhl): Handle arguments with large real or imaginary part
20295         separately without squaring.
20296         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20297         and redefine.
20298         (__catanl): Handle arguments with large real or imaginary part
20299         separately without squaring.
20300         * math/libm-test.inc (catan_test): Add more tests.
20301         (catanh_test): Likewise.
20302         * sysdeps/i386/fpu/libm-test-ulps: Update.
20303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20304
20305 2013-04-27  Andreas Jaeger  <aj@suse.de>
20306
20307         [BZ #15007]
20308         * stdlib/stdlib.h: Update guards for qecvt.
20309         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20310         <stdlib.h>.
20311
20312 2013-04-27  Allan McRae  <allan@archlinux.org>
20313
20314         * sysdeps/i386/fpu/libm-test-ulps: Update.
20315
20316 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
20317
20318         [BZ #15406]
20319         * math/s_catan.c: Include <float.h>.
20320         (__catan): Ensure underflow exception occurs for underflowed
20321         result.
20322         * math/s_catanf.c: Include <float.h>.
20323         (__catanf): Ensure underflow exception occurs for underflowed
20324         result.
20325         * math/s_catanh.c: Include <float.h>.
20326         (__catanh): Ensure underflow exception occurs for underflowed
20327         result.
20328         * math/s_catanhf.c: Include <float.h>.
20329         (__catanhf): Ensure underflow exception occurs for underflowed
20330         result.
20331         * math/s_catanhl.c: Include <float.h>.
20332         (__catanhl): Ensure underflow exception occurs for underflowed
20333         result.
20334         * math/s_catanl.c: Include <float.h>.
20335         (__catanl): Ensure underflow exception occurs for underflowed
20336         result.
20337         * math/libm-test.inc (catan_test): Add more tests.
20338         (catanh_test): Likewise.
20339
20340         [BZ #15405]
20341         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20342         underflowed result.
20343         * math/s_ccoshf.c (__ccoshf): Likewise.
20344         * math/s_ccoshl.c (__ccoshl): Likewise.
20345         * math/s_csin.c (__csin): Likewise.
20346         * math/s_csinf.c (__csinf): Likewise.
20347         * math/s_csinh.c (__csinh): Likewise.
20348         * math/s_csinhf.c (__csinhf): Likewise.
20349         * math/s_csinhl.c (__csinhl): Likewise.
20350         * math/s_csinl.c (__csinl): Likewise.
20351         * math/libm-test.inc (ccos_test): Add more tests.
20352         (ccosh_test): Likewise.
20353         (csin_test): Likewise.
20354         (csinh_test): Likewise.
20355
20356 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20357
20358         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20359         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20360         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20361         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20362         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20363         powerpc/power5+/fpu folders.
20364         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20365
20366
20367 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20368
20369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20370
20371 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20372
20373         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20374         additions to variable.
20375         [$(config-machine) = x86_64] (modules-names): Likewise.
20376         ($(objpfx)tst-audit3): Remove dependency.
20377         ($(objpfx)tst-audit3.out): Likewise.
20378         ($(objpfx)tst-audit4): Likewise.
20379         ($(objpfx)tst-audit4.out): Likewise.
20380         ($(objpfx)tst-audit5): Likewise.
20381         ($(objpfx)tst-audit5.out): Likewise.
20382         ($(objpfx)tst-audit6): Likewise.
20383         ($(objpfx)tst-audit6.out): Likewise.
20384         ($(objpfx)tst-audit7): Likewise.
20385         ($(objpfx)tst-audit7.out): Likewise.
20386         (tst-audit3-ENV): Remove variable.
20387         (tst-audit4-ENV): Likewise.
20388         (tst-audit5-ENV): Likewise.
20389         (tst-audit6-ENV): Likewise.
20390         (tst-audit7-ENV): Likewise.
20391         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20392         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20393         addition to variable.
20394         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20395         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20396         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20397         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20398         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20399         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20400         tst-audit3, tst-audit4 and tst-audit5.
20401         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20402         tst-audit6 and tst-audit7.
20403         [$(subdir) = elf] (modules-names): Add audit modules for those
20404         tests.
20405         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20406         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20407         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20408         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20409         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20410         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20411         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20412         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20413         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20414         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20415         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20416         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20417         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20418         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20419         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20420         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20421         Likewise.
20422         [$(subdir) = elf && $(config-cflags-avx) = yes]
20423         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20424         [$(subdir) = elf && $(config-cflags-avx) = yes]
20425         (CFLAGS-tst-auditmod4a.c): Likewise.
20426         [$(subdir) = elf && $(config-cflags-avx) = yes]
20427         (CFLAGS-tst-auditmod4b.c): Likewise.
20428         [$(subdir) = elf && $(config-cflags-avx) = yes]
20429         (CFLAGS-tst-auditmod6b.c): Likewise.
20430         [$(subdir) = elf && $(config-cflags-avx) = yes]
20431         (CFLAGS-tst-auditmod6c.c): Likewise.
20432         [$(subdir) = elf && $(config-cflags-avx) = yes]
20433         (CFLAGS-tst-auditmod7b.c): Likewise.
20434         * elf/tst-audit3.c: Move to ...
20435         * sysdeps/x86_64/tst-audit3.c: ... here.
20436         * elf/tst-audit4.c: Move to ...
20437         * sysdeps/x86_64/tst-audit4.c: ... here.
20438         * elf/tst-audit5.c: Move to ...
20439         * sysdeps/x86_64/tst-audit5.c: ... here.
20440         * elf/tst-audit6.c: Move to ...
20441         * sysdeps/x86_64/tst-audit6.c: ... here.
20442         * elf/tst-audit7.c: Move to ...
20443         * sysdeps/x86_64/tst-audit7.c: ... here.
20444         * elf/tst-auditmod3a.c: Move to ...
20445         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20446         * elf/tst-auditmod3b.c: Move to ...
20447         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20448         * elf/tst-auditmod4a.c: Move to ...
20449         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20450         * elf/tst-auditmod4b.c: Move to ...
20451         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20452         * elf/tst-auditmod5a.c: Move to ...
20453         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20454         * elf/tst-auditmod5b.c: Move to ...
20455         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20456         * elf/tst-auditmod6a.c: Move to ...
20457         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20458         * elf/tst-auditmod6b.c: Move to ...
20459         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20460         * elf/tst-auditmod6c.c: Move to ...
20461         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20462         * elf/tst-auditmod7a.c: Move to ...
20463         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20464         * elf/tst-auditmod7b.c: Move to ...
20465         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20466
20467 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20468
20469         [BZ #15366]
20470         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20471         define unconditionally.
20472         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20473         define unconditionally.
20474         (INT8_C, INT16_C, etc.): Likewise.
20475
20476 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20477
20478         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20479         __ehdr_start with hidden visibility.
20480
20481         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20482
20483 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20484
20485         * math/libm-test.inc (cos_test): Use accurate hex constants.
20486         (sincost_test): Likewise.
20487
20488 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20489
20490         * math/libm-test.inc (catan_test): Add more tests.
20491         (catanh_test): Likewise.
20492
20493         * math/s_catanf.c (__catanf): Use suffixed floating-point
20494         constants.
20495         * math/s_catanhf.c (__catanhf): Likewise.
20496         * math/s_catanhl.c (__catanhl): Likewise.
20497         * math/s_catanl.c (__catanl): Likewise.
20498
20499         [BZ #15394]
20500         * math/s_catan.c (__catan): Calculate imaginary part of result
20501         with log1p not log unless computing log of number close to 0.
20502         * math/s_catanf.c (__catanf): Likewise.
20503         * math/s_catanl.c (__catanl): Likewise.
20504         * math/s_catanh.c (__catanh): Calculate real part of result with
20505         log1p not log unless computing log of number close to 0.
20506         * math/s_catanhf.c (__catanhf): Likewise.
20507         * math/s_catanhl.c (__catanhl): Likewise.
20508         * math/libm-test.inc (catan_test): Add more tests.
20509         (catanh_test): Likewise.
20510         * sysdeps/i386/fpu/libm-test-ulps: Update.
20511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20512
20513 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20514
20515         * benchtests/Makefile: Mention files in which fast and slow
20516         paths of math functions are implemented.
20517
20518 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20519
20520         * sysdeps/posix/timespec_get.c: New file.
20521
20522 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20523
20524         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20525         POWER.
20526         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20527         for POWER.
20528         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20529         powerpc/power5/fpu folders.
20530         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20531         * benchtests/Makefile: Add modf testcase.
20532         * benchtests/bench-modf.c: New file: Benchmark test for mo
20533
20534 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20535
20536         [BZ #14888]
20537         * time/Makefile (tests): Add tst-strptime-whitespace.
20538         * time/strptime_l.c (get_number): Use ISSPACE.
20539         (__strptime_internal): Likewise.
20540         * time/tst-strptime-whitespace.c: New test case.
20541
20542 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20543
20544         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20545         member.
20546         (_nss_files_init): Set it here.
20547
20548 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20549
20550         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20551         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20552         unsigned.
20553
20554 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20555
20556         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20557
20558 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20559
20560         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20561         size just once.
20562
20563 2013-04-21  David S. Miller  <davem@davemloft.net>
20564
20565         * po/ru.po: Update Russion translation from translation project.
20566
20567 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20568
20569         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20570         and setfsgid.
20571
20572 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20573
20574         * configure.in: Remove i386 configure warning. Remove i386 case.
20575         * configure: Regenerate.
20576         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20577         Add example to error message.
20578         * sysdeps/i386/configure: Regenerate.
20579
20580 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20581
20582         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20583         slowtan.
20584         * benchtests/cos-inputs: New file.
20585         * benchtests/slowcos-inputs: New file.
20586         * benchtests/slowcos.c: New file.
20587         * benchtests/slowtan-inputs: New file.
20588         * benchtests/slowtan.c: New file.
20589         * benchtests/tan-inputs: New file.
20590
20591 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20592
20593         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20594         considered kosher.
20595
20596 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20597
20598         * benchtests/Makefile: Include cppflags-iterator.mk to add
20599         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20600
20601         * Makefile.in (bench-clean): New target.
20602         * benchtests/Makefile (bench-clean): Likewise.
20603
20604 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20605
20606         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20607
20608 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20609
20610         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20611
20612 2013-04-15  Andreas Schwab  <schwab@suse.de>
20613
20614         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20615         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20616         * nscd/pwdcache.c (cache_addpw): Likewise.
20617         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20618         more than recsize.
20619
20620 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20621
20622         * benchtests/Makefile (bench): Write all output to
20623         bench-out.tmp together.
20624
20625 2013-04-15  Andreas Schwab  <schwab@suse.de>
20626
20627         * nscd/nscd.c (main): Don't fork again after closing files.
20628
20629 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20630
20631         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20632
20633         * benchtests/Rules (bench-deps): Collect dependencies into a
20634         single variable.  Add Makefile to dependencies.
20635         ($(objpfx)bench-%.c): Depend on bench-deps.
20636
20637 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20638             Xavier Roche  <roche+kml2@exalead.com>
20639
20640         [BZ #15361]
20641         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20642         just that it's a file descriptor.
20643         * manual/llio.texi (Synchronizing AIO Operations): Update description
20644         for EBADF error from aio_fsync.
20645
20646 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20647
20648         * Rules (bench): Move target definition...
20649         * benchtests/Makefile: ... here.
20650
20651 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20652
20653         * math/libm-test.inc (cos_test): Fix PI/2 test.
20654         (sincos_test): Likewise.
20655         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20656         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20657
20658 2013-04-11  Andreas Schwab  <schwab@suse.de>
20659
20660         [BZ #13988]
20661         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20662         accept exponent character only when digits were seen.
20663         * stdio-common/Makefile (tests): Add bug26.
20664         * stdio-common/bug26.c: New file.
20665
20666         [BZ #14293]
20667         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20668         non-freeable.
20669
20670 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20671
20672         * Makeconfig (rtld-prefix): Define built linker prefix.
20673         * Rules (run-bench): Use it.
20674         * math/Makefile (run-regen-ulps): Likewise.
20675
20676         * Rules (bench): Remove eval.
20677
20678 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20679             Roland McGrath  <roland@hack.frob.com>
20680             Ondrej Bilka  <neleai@seznam.cz>
20681
20682         [BZ #15346]
20683         * time/getdate.c: Include ctype.h and alloca.h.
20684         (__getdate_r): Trim leading and trailing spaces of input.
20685         * time/tst-getdate.c (tests): Add tests with leading and
20686         trailing spaces.
20687
20688 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20689
20690         [BZ #14280]
20691         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20692         when computing value.
20693
20694 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20695
20696         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20697         Use testrun.sh to run libm tests.
20698
20699         [BZ #15309]
20700         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20701
20702 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20703
20704         [BZ #15264]
20705         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20706
20707 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20708
20709         * Makefile.in (regen-ulps): New target.
20710         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20711         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20712         [ifneq (no,$(PERL)] (regen-ulps): New target.
20713         [ifeq (no,$(PERL)] (regen-ulps): New target.
20714         * math/libm-test.inc (ulps_file_name): Define.
20715         (output_dir): New variable.
20716         (options): Add "output-dir" option.
20717         (parse_opt): Handle 'o' case.
20718         (main): If output_dir is non-NULL use it as a prefix
20719         otherwise use "".
20720         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20721
20722 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20723
20724         [BZ #10060, #10062]
20725         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20726         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20727         fail configure if __sync_val_compare_and_swap is not inlined.
20728         * sysdeps/i386/configure: Regenerate.
20729         * configure.in: Build for i686 when configured for i386.
20730         * configure: Regenerate.
20731         * README: Remove i386 reference.
20732
20733 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20734
20735         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20736         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20737
20738 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20739
20740         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20741         (lmsnanval): New variables.
20742         (F): Add conversion tests.
20743         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20744         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20745
20746         * stdio-common/tstdiomisc.c (F): Properly collect individual
20747         tests' results.
20748
20749         [BZ #14686, #15336]
20750         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20751         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20752         Instead, use input NaN values or generate a qNaN by arithmetic
20753         operation.  Also fix bugs to comply with the standard.
20754         * math/libm-test.inc (remainder_test): Add more tests.
20755
20756         [BZ #15335, #15342]
20757         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20758         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20759         input NaN values or generate a qNaN by arithmetic operation.
20760
20761         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20762         unreachable code.
20763
20764         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20765         definitions.
20766
20767 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20768
20769         [BZ #14478]
20770         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20771         underflowed result.
20772         * math/s_cexpf.c (__cexpf): Likewise.
20773         * math/s_cexpl.c (__cexpl): Likewise.
20774         * math/libm-test.inc (cexp_test): Add more tests.
20775
20776 2013-04-03  Andreas Schwab  <schwab@suse.de>
20777
20778         [BZ #15330]
20779         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20780         order arrays from heap if bigger than alloca cutoff.
20781
20782 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20783
20784         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20785         (SNAN_TESTS_double): Refer to GCC PR56831.
20786         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20787         GCC PR56828.
20788
20789 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20790
20791         * Rules (bench): Move bench.out after the run is complete.
20792
20793         * Rules (bench): Echo currently running benchmark.
20794
20795         * benchtests/Makefile (bench): Add atan and slowatan.
20796         * benchtests/atan-inputs: New file.
20797         * benchtests/slowatan-inputs: New file.
20798         * benchtests/slowatan.c: New file.
20799
20800         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20801         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20802         its value.
20803
20804         [BZ #15305]
20805         * sysdeps/unix/sysv/linux/kernel-features.h
20806         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20807         __ASSUME_XFS_RESTRICTED_CHOWN.
20808         * sysdeps/unix/sysv/linux/pathconf.c
20809         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20810         Save and restore errno.
20811
20812 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20813
20814         [BZ #15327]
20815         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20816         arguments using __kernel_casinh.
20817         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20818         arguments using __kernel_casinhf.
20819         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20820         arguments using __kernel_casinhl.
20821         * math/libm-test.inc (cacosh_test): Add more tests.
20822         * sysdeps/i386/fpu/libm-test-ulps: Update.
20823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20824
20825 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20826
20827         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20828         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20829
20830         * bench/Makefile (bench): Add sin and slowsin.
20831         * benchtests/sin-inputs: New file.
20832         * benchtests/slowsin-inputs: New file.
20833         * benchtests/slowsin.c: New file.
20834
20835         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20836         (bench): Add slowexp and slowpow.
20837         (exp-ITER): Increase iterations.
20838         (pow-ITER): Likewise.
20839         * benchtests/exp-inputs: Change input.
20840         * benchtests/pow-inputs: Likewise.
20841         * benchtests/slowexp-inputs: New file.
20842         * benchtests/slowexp.c: New file.
20843         * benchtests/slowpow-inputs: New file.
20844         * benchtests/slowpow.c: New file.
20845
20846 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20847
20848         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20849         instructions.
20850         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20851         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20852         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20853         * benchtests/Makefile: Add rint benchtest.
20854         * benchtests/rint-inputs: Input for rint benchtest.
20855
20856 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20857
20858         * Versions.def (libm): Add GLIBC_2.18.
20859         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20860         hidden libm prototypes.
20861         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20862         * math/Makefile (libm-calls): Add s_issignaling.
20863         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20864         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20865         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20866         declaration.
20867         * math/math.h [__USE_GNU] (issignaling): New macro.
20868         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20869         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20870         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20871         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20872         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20873         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20874         * manual/arith.texi (issignaling): New section.
20875         * manual/libm-err-tab.pl (@all_functions): Update comment.
20876         * math/gen-libm-test.pl (parse_args): Apply special handling for
20877         issignaling.
20878         * math/libm-test.inc (print_float, issignaling_test): New
20879         functions.
20880         (check_float_internal): Add issignaling checks.
20881         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20882         default definition.
20883         * sysdeps/powerpc/math-tests.h: New file.
20884         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20885         tests.
20886         * math/test-snan.c (TEST_FUNC): Likewise.
20887
20888 2013-03-30  David S. Miller  <davem@davemloft.net>
20889
20890         * po/de.po: Update from translation team.
20891
20892 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20893
20894         [BZ #10357]
20895         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20896         imaginary part less than 1.0 and real part less than 0.5
20897         specially.
20898         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20899         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20900         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20901         (cacos_test): Add more tests.
20902         (casin_test): Likewise.
20903         (casinh_test): Likewise.
20904         * sysdeps/i386/fpu/libm-test-ulps: Update.
20905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20906
20907 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20908
20909         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20910         ONE with its value.
20911
20912         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20913         (__pow_mp): Replace ONE and MONE with their values.
20914         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20915         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20916         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20917         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20918         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20919         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20920
20921         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20922
20923         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20924         (__pow_mp): Replace ZERO and MZERO with their values.
20925         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20926         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20927         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20929         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20930         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20931         (__sqr): Likewise.
20932
20933         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20934
20935         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20936
20937 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20938
20939         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20940         Declare with __attribute__ ((weak)).
20941         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20942         Call __call_tls_dtors only if it's not NULL.
20943
20944 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20945
20946         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20947         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20948         magic __ehdr_start linker symbol if it's defined.
20949         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20950         them up here if it was already done.
20951
20952         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20953         (_dl_aux_init): Use const in cast when setting it.
20954         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20955         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20956         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20957
20958         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20959         Declare them here.
20960         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20961         * csu/libc-tls.c: Nor here.
20962         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20963
20964         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20965         (__libc_message): Never call vsyslog.
20966
20967 2013-03-28  Alan Modra  <amodra@gmail.com>
20968
20969         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20970         Define as empty.
20971         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20972         Likewise.
20973
20974 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20975
20976         [BZ #15214]
20977         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20978         underflow.
20979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20980
20981 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20982
20983         [BZ #15304]
20984         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20985         Don't add gid passed as argument.
20986
20987         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20988
20989 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20990
20991         [BZ #15307]
20992         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20993         imaginary part between 1.0 and 1.5 and real part less than 0.5
20994         specially.
20995         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20996         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20997         * math/libm-test.inc (cacos_test): Add more tests.
20998         (casin_test): Likewise.
20999         (casinh_test): Likewise.
21000         * sysdeps/i386/fpu/libm-test-ulps: Update.
21001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21002
21003 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21004
21005         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21006         constants.
21007         (norm): Likewise.
21008         (denorm): Likewise.
21009         (__dbl_mp): Likewise.
21010         (add_magnitudes): Likewise.
21011         (sub_magnitudes): Likewise.
21012         (__add): Likewise.
21013         (__sub): Likewise.
21014         (__mul): Likewise.
21015         (__sqr): Likewise.
21016         (__inv): Likewise.
21017         (__dvd): Likewise.
21018
21019         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21020         commented code.
21021         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21022         (__dubcos): Likewise.
21023         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21024         (__ieee754_acos): Likewise.
21025         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21026         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21027         (__exp1): Likewise.
21028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21029         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21030         (log1): Likewise.
21031         (my_log2): Likewise.
21032         (checkint): Likewise.
21033         * sysdeps/ieee754/dbl-64/e_remainder.c
21034         (__ieee754_remainder): Likewise.
21035         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21037         (bsloww): Likewise.
21038         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21039
21040         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21041         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21042         MANTISSA_STORE_T to store computations on mantissa.  Use
21043         macros for rounding and division.
21044         (denorm): Likewise.
21045         (__dbl_mp): Likewise.
21046         (add_magnitudes): Likewise.
21047         (sub_magnitudes): Likewise.
21048         (__mul): Likewise.
21049         (__sqr): Likewise.
21050         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21051         powers of two in terms of TWOPOW macro.
21052         (mp_no): Make type of mantissa as MANTISSA_T.
21053         [!RADIXI]: Define RADIXI.
21054         [!TWO52]: Define TWO52.
21055         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21056
21057 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21058
21059         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21060         llroundl symbol when building for PPC32.
21061
21062 2013-03-24  Mark H Weaver  <mhw@netris.org>
21063
21064         * manual/arith.texi (Normalization Functions): Fix prototypes for
21065         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21066
21067 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21068
21069         [BZ #13889]
21070         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21071         high value to check if expl overflow.
21072         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21073         to check for underflow and overflow.
21074         * math/libm-test.inc: Add exp test.
21075
21076 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
21077
21078         [BZ #11120]
21079         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21080         with NOT_IN_libc.
21081
21082 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21083
21084         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21085         symbol.
21086
21087 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21088
21089         * math/gen-libm-test.pl (parse_args, special_functions): Properly
21090         wrap blocks consisting of several statements.
21091
21092         * sysdeps/generic/math-tests.h: New file.
21093         * sysdeps/i386/fpu/math-tests.h: Likewise.
21094         * math/test-snan.c: Include it.
21095         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21096
21097 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21098
21099         [BZ #15285]
21100         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21101         (__ieee754_j0l): Do not improve calculations using cos of twice
21102         input for inputs above LDBL_MAX / 2.0L.
21103         (__ieee754_y0l): Likewise.
21104         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21105         (__ieee754_j1l): Do not improve calculations using cos of twice
21106         input for inputs above LDBL_MAX / 2.0L.
21107         (__ieee754_y1l): Likewise.
21108         * math/libm-test.inc (j0_test): Add another test.
21109         (j1_test): Likewise.
21110         (y0_test): Likewise.
21111         (y1_test): Likewise.
21112         * sysdeps/i386/fpu/libm-test-ulps: Update.
21113
21114 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21115
21116         * Rules ($(objpfx)bench-%.c): Include code from a C source
21117         file.
21118
21119 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
21120
21121         [BZ #15287]
21122         * math/k_casinh.c (__kernel_casinh): Handle arguments with
21123         imaginary part 1.0 and real part less than 0.5 specially.
21124         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21125         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21126         * math/libm-test.inc (cacos_test): Add more tests.
21127         (casin_test): Likewise.
21128         (casinh_test): Likewise.
21129         * sysdeps/i386/fpu/libm-test-ulps: Update.
21130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21131
21132 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21133
21134         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21135         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21136
21137 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
21138
21139         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21140         * config.make.in (config-cflags-sse4): Remove variable.
21141         (config-cflags-avx): Likewise.
21142         (config-cflags-sse2avx): Likewise.
21143         (config-cflags-novzeroupper): Likewise.
21144         (config-asflags-i686): Likewise.
21145         (have-mfma4): Likewise.
21146         (have-as-vis3): Likewise.
21147         (MIG): Likewise.
21148         * configure.in (MIG): Do not AC_SUBST.
21149         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21150         (libc_cv_cc_sse4): Do not AC_SUBST.
21151         (libc_cv_cc_avx): Likewise.
21152         (libc_cv_cc_sse2avx): Likewise.
21153         (libc_cv_cc_novzeroupper): Likewise.
21154         (libc_cv_cc_fma4): Likewise.
21155         (libc_cv_as_i686): Likewise.
21156         (libc_cv_sparc_as_vis3): Likewise.
21157         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21158         LIBC_CONFIG_VAR.
21159         (config-asflags-i686): Likewise.
21160         (config-cflags-avx): Likewise.
21161         (config-cflags-sse2avx): Likewise.
21162         (have-mfma4): Likewise.
21163         (config-cflags-novzeroupper): Likewise.
21164         * sysdeps/mach/configure.in (MIG): Likewise.
21165         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21166         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21167         LIBC_CONFIG_VAR.
21168         (config-cflags-avx): Likewise.
21169         (config-cflags-sse2avx): Likewise.
21170         (have-mfma4): Likewise.
21171         (config-cflags-novzeroupper): Likewise.
21172         * configure: Regenerated.
21173         * sysdeps/i386/configure: Likewise.
21174         * sysdeps/mach/configure: Likewise.
21175         * sysdeps/sparc/configure: Likewise.
21176         * sysdeps/x86_64/configure: Likewise.
21177
21178 2013-03-20  Roland McGrath  <roland@hack.frob.com>
21179
21180         [BZ #14812]
21181         * locale/programs/localedef.c (options): Put N_ translation marker
21182         on argument names, not just descriptions.
21183
21184 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21185
21186         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21187
21188 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
21189
21190         [BZ #14176]
21191         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21192
21193 2013-03-19  Roland McGrath  <roland@hack.frob.com>
21194
21195         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21196         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21197         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21198         [!BEFORE_ABORT] (before_abort): New function.
21199         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21200         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21201         (writev_for_fatal): New function.
21202         (WRITEV_FOR_FATAL): New macro; call that.
21203         (backtrace_and_maps): New function.
21204         (BEFORE_ABORT): New macro; call that.
21205         (struct str_list): Type removed.
21206         (__libc_message, __libc_fatal): Functions removed.
21207         Include <sysdeps/posix/libc_fatal.c> instead.
21208
21209 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
21210
21211         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21212         constants.
21213         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21214         double constants.
21215
21216 2013-03-19  Andreas Schwab  <schwab@suse.de>
21217
21218         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21219         * sysdeps/gnu/configure: Regenerate.
21220
21221         * configure.in: Substitute libc_cv_rtlddir.
21222         * configure: Regenerate.
21223         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21224         * Makeconfig (rtlddir, inst_rtlddir): New variables.
21225         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21226         * elf/Makefile (install-others, CFLAGS-interp.c)
21227         (ldso_install, common-ldd-rewrite): Likewise.
21228         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21229         $(inst_slibdir)/$(rtld-installed-name).
21230         * scripts/rellns-sh: Add -p option.
21231         * Makerules (make-shlib-link): Use rellns-sh to get relative name
21232         for source.
21233
21234 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21235
21236         * manual/nptl.texi: Renamed to ...
21237         * manual/threads.texi: ... this.
21238         * manual/Makefile (chapters): Update.
21239
21240 2013-03-18  Roland McGrath  <roland@hack.frob.com>
21241
21242         [BZ #14812]
21243         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21244         on argument names, not just descriptions.
21245         * malloc/memusagestat.c (options): Likewise.
21246         * nss/getent.c (options): Likewise.
21247
21248 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
21249
21250         [BZ #14812]
21251         * iconv/iconv_prog.c (options): Put N_ translation marker
21252         on argument names, not just descriptions.
21253         * iconv/iconvconfig.c (options): Likewise.
21254
21255 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
21256
21257         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21258         implementation which is faster on all x86_64 architectures.
21259         Tested on AMD, Intel Nehalem, SNB, IVB.
21260         * sysdeps/x86_64/strnlen.S: Likewise.
21261
21262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21263         Remove all multiarch strlen and strnlen versions.
21264         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21265         Remove strlen and strnlen related parts.
21266
21267         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21268         Inline strlen part.
21269         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21270
21271         * sysdeps/x86_64/multiarch/strlen.S: Remove.
21272         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21273         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21274         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21275         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21276         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21277
21278 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
21279
21280         * manual/memory.texi (Malloc Tunable Parameters):
21281         Sort parameters alphabetically. Add comments for missing entries.
21282
21283 2013-03-17  David S. Miller  <davem@davemloft.net>
21284
21285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21286
21287 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
21288
21289         [BZ #15283]
21290         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21291         for arguments at most half maximum finite value.
21292         * math/libm-test.inc (j0_test): Add more tests.
21293         (j1_test): Likewise.
21294         (y0_test): Likewise.
21295         (y1_test): Likewise.
21296         * sysdeps/i386/fpu/libm-test-ulps: Update.
21297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21298
21299         [BZ #14155]
21300         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21301         1 / x and functions P and Q for arguments above 0x1p256L.
21302         (__ieee754_y0l): Likewise.
21303         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21304         (__ieee754_y1l): Likewise.
21305         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21306         (j1_test): Likewise.
21307         (y0_test): Likewise.
21308         (y1_test): Likewise.
21309
21310 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
21311
21312         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21313         variable.
21314
21315 2013-03-15  Roland McGrath  <roland@hack.frob.com>
21316
21317         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21318         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21319         zero since it's initialized to EXEC_PAGESIZE.
21320
21321         * sysdeps/unix/sysv/linux/ldsodefs.h
21322         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21323         * sysdeps/generic/ldsodefs.h: ... here.
21324
21325 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
21326
21327         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21328
21329         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21330         math/test-snan.c.
21331         * math/test-snan.c: Renamed from
21332         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21333         * math/Makefile (tests): Add test-snan.
21334         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21335         test-powerpc-snan.
21336
21337         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21338         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21339         functions.
21340         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21341         __builtin_nan family of functions.
21342         * math/libm-test.inc (initialize): Initialize qnan_value with
21343         __builtin_nan family of functions.
21344         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21345         Remove variables.
21346         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21347         Remove functions.
21348         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21349         storage class.  Initialize qNaN_var and sNaN_var with
21350         __builtin_nan and __builtin_nans families of functions,
21351         respectively.
21352
21353         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21354         (sqrt_test): Remove duplicate test with qNaN input.
21355         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21356         (round_test, signbit_test, significand_test): Note missing +/-Inf
21357         as well as qNaN tests.
21358
21359         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21360         qNaN_var.  Fix a few strings, too.
21361         * math/libm-test.inc (nan_value): Rename to qnan_value.
21362         * math/gen-libm-test.pl (%beautify): Adjust to that.
21363         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21364         * math/test-misc.c (main): Likewise.
21365         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21366         to __qnan_bytes, and __qnan_union, respectively.
21367         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21368         Likewise.
21369         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21370         and lqnanval, respectively.
21371         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21372         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21373         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21374         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21375
21376         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21377         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21378         doubles.
21379
21380         * math/test-misc.c (main): Fix copy'n'pastos.
21381         * misc/tst-efgcvt.c (special): Likewise.
21382
21383         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21384         Remove declarations.
21385
21386 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21387
21388         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21389         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21390         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21391         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21392
21393 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21394
21395         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21396         macro to return vdso values correctly in IFUNC implementations.
21397         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21398         Optimization by using IFUNC.
21399
21400 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21401             Richard Henderson  <rth@redhat.com>
21402             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21403
21404         * Makefile.in (bench): New target.
21405         * NEWS: Mention the benchmark framework.
21406         * Rules (bench): Likewise.
21407         (binaries-bench): Generate binaries for functions to
21408         benchmark.
21409         * benchtests/Makefile: New makefile for benchmark tests.
21410         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21411         programs.
21412         * benchtests/exp-inputs: New input file for EXP function.
21413         * benchtests/pow-inputs: New input file for POW function.
21414         * scripts/bench.pl: New script to generate source files for
21415         benchmark programs.
21416
21417 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21418
21419         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21420         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21421         computations on mantissa.  Use macros for rounding and
21422         division.
21423         (denorm): Likewise.
21424         (__dbl_mp): Likewise.
21425         (add_magnitudes): Likewise.
21426         (sub_magnitudes): Likewise.
21427         (__mul): Likewise.
21428         (__sqr): Likewise.
21429         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21430         powers of two in terms of TWOPOW macro.
21431         (mp_no): Make type of mantissa as MANTISSA_T.
21432         [!RADIXI]: Define RADIXI.
21433         [!TWO52]: Define TWO52.
21434         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21435
21436         * manual/nptl.texi (cindex): Modify threads to pthreads.
21437
21438 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21439
21440         * sysdeps/x86_64/preconfigure: Regenerated.
21441
21442 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21443
21444         [BZ #14155]
21445         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21446         0x1p28 and above.
21447         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21448         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21449         0x1p28 and above.
21450         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21451         * math/libm-test.inc (j0_test): Do not allow one spurious
21452         underflow exception.
21453         (y1_test): Likewise.
21454
21455 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21456
21457         * manual/Makefile (chapters): Add nptl.
21458         * manual/debug.texi (Debugging Support): Add link to Threads
21459         chapter.
21460         * manual/nptl.texi: New file.
21461
21462         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21463
21464 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21465
21466         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21467         for non-NULL pointer before the memory validity test. Pointed
21468         out by Holger Brunck <holger.brunck@keymile.com>.
21469
21470 2013-03-13  Andreas Schwab  <schwab@suse.de>
21471
21472         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21473         instead of .os.
21474
21475 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21476
21477         * timezone/zic.c: Update from tzcode 2013b.
21478
21479 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21480
21481         * manual/install.texi (Configuring and compiling):
21482         Mention i686 and i586.
21483         * INSTALL: Regenerate.
21484
21485 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21486
21487         * sysdeps/init_array/elf-init.c: New file.
21488         * csu/elf-init.c
21489         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21490         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21491
21492         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21493         __gmon_start__ as global, but as static with a .preinit_array pointer.
21494         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21495         * sysdeps/init_array/crti.S: New file, empty except for comments.
21496         * sysdeps/init_array/crtn.S: Likewise.
21497
21498 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21499
21500         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21501         definining bcopy.
21502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21503         Remove Prefer_SSE_for_memop.
21504         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21505         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21506         HAS_PREFER_SSE_FOR_MEMOP.
21507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21508         memset-x86-64.
21509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21510         Remove bzero, memset ifunc support.
21511         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21512         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21513         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21514         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21515
21516 2013-03-11  Andreas Schwab  <schwab@suse.de>
21517
21518         [BZ #15234]
21519         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21520         by SHLIB_COMPAT.
21521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21522         (GLIBC_2.16): Remove pthread_atfork.
21523
21524 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21525
21526         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21527         (ptestcases.h): Likewise.
21528
21529 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21530
21531         * Makeconfig ($(common-objpfx)config.status): Depend on
21532         sysdeps/*/preconfigure{,.in} too.
21533
21534 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21535
21536         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21537         (__free_hook): Use void * instead of __malloc_ptr_t.
21538         (__malloc_hook): Likewise.
21539         (__realloc_hook): Likewise.
21540         (__memalign_hook): Likewise.
21541         (__after_morecore_hook): Likewise.
21542         * malloc/arena.c (save_malloc_hook): Likewise.
21543         (save_free_hook): Likewise.
21544         * malloc/hooks.c (malloc_hook_ini): Likewise.
21545         (realloc_hook_ini): Likewise.
21546         (memalign_hook_ini): Likewise.
21547         * malloc/malloc.c (malloc_hook_ini): Likewise.
21548         (realloc_hook_ini): Likewise.
21549         (memalign_hook_ini): Likewise.
21550         (__free_hook): Likewise.
21551         (__malloc_hook): Likewise.
21552         (__realloc_hook): Likewise.
21553         (__memalign_hook): Likewise.
21554         (__libc_malloc): Likewise.
21555         (__libc_free): Likewise.
21556         (__libc_realloc): Likewise.
21557         (__libc_memalign): Likewise.
21558         (__libc_valloc): Likewise.
21559         (__libc_pvalloc): Likewise.
21560         (__libc_calloc): Likewise.
21561         (__posix_memalign): Likewise.
21562         * malloc/morecore.c (__sbrk): Likewise.
21563         (__default_morecore): Likewise.
21564
21565         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21566
21567         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21568         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21569         __malloc_ptrdiff_t.
21570
21571         * malloc/malloc.h (__malloc_size_t): Remove macro.
21572         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21573         __malloc_size_t.
21574         (old_memalign_hook): Likewise.
21575         (old_realloc_hook): Likewise.
21576         (struct hdr): Likewise.
21577         (flood): Likewise.
21578         (mallochook): Likewise.
21579         (memalignhook): Likewise.
21580         (reallochook): Likewise.
21581         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21582         (tr_old_realloc_hook): Likewise.
21583         (tr_old_memalign_hook): Likewise.
21584         (tr_mallochook): Likewise.
21585         (tr_reallochook): Likewise.
21586         (tr_memalignhook): Likewise.
21587
21588 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21589
21590         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21591         default_ldbl_pack and using as default implementation.
21592         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21593         implementation.
21594         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21595         redundant definition.
21596         (ldbl_insert_mantissa): Likewise.
21597         (ldbl_canonicalize): Likewise.
21598         (ldbl_nearbyint): Likewise.
21599         (ldbl_pack): Rename to ldbl_pack_ppc.
21600         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21601         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21602         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21603
21604 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21605
21606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21607         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21608         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21609         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21611         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21612         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21613         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21614
21615 2013-03-07  Andreas Jaeger  <aj@suse.de>
21616
21617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21618         bits/mman-linux.h.
21619
21620 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21621
21622         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21623         Include mpa.h and declare __MPEXP.
21624         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21625         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21626         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21627         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21628         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21629         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21630         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21631
21632         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21633         (__slowpow): Use long double EXPL and LOGL functions to
21634         compute POW.
21635         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21636         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21637         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21638         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21639         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21640         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21641
21642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21643         intermediate variable to calculate exponent.
21644         (__sqr): Likewise.
21645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21646         Likewise.
21647         (__sqr): Likewise.
21648
21649         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21650         [!NO__SQR]: Define __sqr.
21651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21652         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21653         sysdeps/ieee754/dbl-64/mpa.c.
21654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21655
21656         [BZ #12723]
21657         * posix/Makefile (tests): Add tst-pathconf.
21658         * posix/tst-pathconf.c: New test case.
21659         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21660         _PC_PIPE_BUF.
21661         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21662
21663 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21664
21665         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21666
21667 2013-03-06  Andreas Jaeger  <aj@suse.de>
21668
21669         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21670         definition via __MAP_ANONYMOUS.
21671
21672         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21673         it's not part of Linux headers.
21674
21675         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21676         (MAP_HUGE_MASK): Define.
21677
21678         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21679         Define.
21680         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21681         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21682         Define.
21683         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21684         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21685         Define.
21686         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21688         Define.
21689         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21690
21691         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21692         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21693         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21694         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21695         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21696         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21697
21698         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21699         Handle f2fs.
21700
21701         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21702         Handle f2fs and efivarfs.
21703
21704         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21705         f2fs.
21706
21707         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21708         (EFIVARFS_MAGIC): Add.
21709         (F2FS_LINK_MAX): Add.
21710
21711 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21712
21713         * stdio-common/vfprintf.c: Replace __builtin_expect with
21714         __glibc_unlikely.
21715
21716 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21717
21718         [BZ #13550]
21719         * sysdeps/generic/bp-sym.h: Remove file.
21720         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21721         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21722         <bp-sym.h> and <bp-asm.h>.
21723         (__longjmp): Don't use BP_SYM.
21724         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21725         and <bp-asm.h>.
21726         (memcpy): Don't use BP_SYM.
21727         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21728         <bp-sym.h> and <bp-asm.h>.
21729         (memcpy): Don't use BP_SYM.
21730         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21731         <bp-asm.h>.
21732         (memcpy): Don't use BP_SYM.
21733         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21734         <bp-asm.h>.
21735         (memset): Don't use BP_SYM.
21736         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21737         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21738         (__bzero): Don't use BP_SYM.
21739         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21740         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21741         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21742         <bp-sym.h> and <bp-asm.h>.
21743         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21744         pointers.
21745         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21746         <bp-sym.h> and <bp-asm.h>.
21747         (memcpy): Don't use BP_SYM.
21748         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21749         <bp-sym.h> and <bp-asm.h>.
21750         (memset): Don't use BP_SYM.
21751         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21752         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21753         (__bzero): Don't use BP_SYM.
21754         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21755         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21756         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21757         <bp-sym.h> and <bp-asm.h>.
21758         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21759         pointers.
21760         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21761         <bp-sym.h> and <bp-asm.h>.
21762         (memcpy): Don't use BP_SYM.
21763         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21764         <bp-sym.h> and <bp-asm.h>.
21765         (memset): Don't use BP_SYM.
21766         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21767         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21768         (__bzero): Don't use BP_SYM.
21769         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21770         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21771         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21772         <bp-sym.h> and <bp-asm.h>.
21773         (__memchr): Don't use BP_SYM.
21774         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21775         <bp-sym.h> and <bp-asm.h>.
21776         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21777         pointers.
21778         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21779         <bp-sym.h> and <bp-asm.h>.
21780         (memcpy): Don't use BP_SYM.
21781         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21782         <bp-sym.h> and <bp-asm.h>.
21783         (__mempcpy): Don't use BP_SYM.
21784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21785         <bp-sym.h> and <bp-asm.h>.
21786         (__memrchr): Don't use BP_SYM.
21787         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21788         <bp-sym.h> and <bp-asm.h>.
21789         (memset): Don't use BP_SYM.
21790         (__bzero): Likewise.
21791         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21792         <bp-sym.h> and <bp-asm.h>.
21793         (__rawmemchr): Don't use BP_SYM.
21794         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21795         <bp-sym.h> and <bp-asm.h>.
21796         (__STRCMP): Don't use BP_SYM.
21797         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21798         <bp-sym.h> and <bp-asm.h>.
21799         (strchr): Don't use BP_SYM.
21800         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21801         <bp-sym.h> and <bp-asm.h>.
21802         (__strchrnul): Don't use BP_SYM.
21803         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21804         <bp-sym.h> and <bp-asm.h>.
21805         (strlen): Don't use BP_SYM.
21806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21807         <bp-sym.h> and <bp-asm.h>.
21808         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21809         pointers.
21810         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21811         <bp-sym.h> and <bp-asm.h>.
21812         (__strnlen): Don't use BP_SYM.
21813         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21814         <bp-sym.h> and <bp-asm.h>.
21815         (__GI__setjmp): Don't use BP_SYM.
21816         (_setjmp): Likewise.
21817         (__sigsetjmp): Likewise.
21818         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21819         (L(start_addresses)): Don't use BP_SYM.
21820         (_start): Likewise.
21821         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21822         <bp-asm.h>.
21823         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21824         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21825         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21826         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21827         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21828         <bp-asm.h>.
21829         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21830         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21831         about bounded pointers.
21832         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21833         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21834         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21835         <bp-asm.h>.
21836         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21837         about bounded pointers.  Remove GKM FIXME comments.
21838         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21839         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21840         <bp-asm.h>.
21841         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21842         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21843         Remove GKM FIXME comments.
21844         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21845         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21846         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21847         <bp-asm.h>.
21848         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21849         about bounded pointers.  Remove GKM FIXME comment.
21850         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21851         and <bp-asm.h>.
21852         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21853         pointers.
21854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21855         <bp-sym.h> and <bp-asm.h>.
21856         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21858         <bp-sym.h> and <bp-asm.h>.
21859         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21860         comment.
21861
21862 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21863
21864         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21865         call free(NULL).
21866
21867 2013-03-05  David S. Miller  <davem@davemloft.net>
21868
21869         * po/es.po: Update from translation team.
21870
21871 2013-03-05  Andreas Jaeger  <aj@suse.de>
21872
21873         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21874         <bits/mman-linux.h>.
21875         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21876         is fine.
21877         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21878         <bits/mman-linux.h> to end of file.
21879         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21880         is fine.
21881         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21882         <bits/mman-linux.h> to end of file.
21883         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21884         is fine.
21885         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21886         <bits/mman-linux.h> to end of file.
21887
21888         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21889         (MCL_CURRENT, MCL_FUTURE): Define here.
21890
21891 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21892
21893         [BZ #15232]
21894         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21895         attribute_hidden.
21896         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21897
21898 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21899
21900         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21901         fourth parameter needed for rt_sigprocmask syscall.
21902         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21903         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21904         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21905         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21906         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21907         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21908
21909 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21910
21911         [BZ #13550]
21912         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21913         comment about bounded pointers.
21914         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21915         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21916
21917 2013-03-04  Andreas Jaeger  <aj@suse.de>
21918
21919         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21920         common definitions.
21921
21922         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21923         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21924         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21925         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21926         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21927         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21928
21929 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21930
21931         [BZ #15055]
21932         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21933         __ieee754_sqrl instead of __sqrl.
21934
21935 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21936
21937         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21938         * sysdeps/powerpc/fpu_control.h: ... here.
21939         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21940         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21941         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21942         * sysdeps/powerpc/bits/mathinline.h: ... here.
21943
21944 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21945
21946         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21947         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21948         to just [NEED_DL_SYSINFO_DSO].
21949         * elf/dl-support.c: Likewise.
21950         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21951         * elf/rtld.c (dl_main): Likewise.
21952         * elf/setup-vdso.h (setup_vdso): Likewise.
21953         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21954         * sysdeps/unix/sysv/linux/dl-sysdep.c
21955         (_dl_discover_osversion): Likewise.
21956
21957 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21958
21959         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21960         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21961
21962 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21963
21964         * NEWS: Mention libm performance improvements and non-x86 PI
21965         futex support.
21966
21967         * csu/libc-start.c (__pthread_initialize_minimal): Change
21968         function arguments.
21969         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21970
21971 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21972
21973         [BZ #13550]
21974         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21975         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21976         <bp-sym.h> and <bp-asm.h>.
21977         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21978         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21979         and <bp-asm.h>.
21980         (memcpy): Don't use BP_SYM.
21981         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21982         <bp-asm.h>.
21983         (__mpn_add_n): Don't use BP_SYM.
21984         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21985         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21986         and <bp-asm.h>.
21987         (__mpn_addmul_1): Don't use BP_SYM.
21988         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21989         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21990         <bp-sym.h>.
21991         (_setjmp): Don't use BP_SYM.
21992         (__novmx_setjmp): Likewise.
21993         (__GI__setjmp): Likewise.
21994         (__vmx_setjmp): Likewise.
21995         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21996         <bp-sym.h>.
21997         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21998         (__bzero): Don't use BP_SYM.
21999         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22000         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22001         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22002         <bp-sym.h> and <bp-asm.h>.
22003         (memcpy): Don't use BP_SYM.
22004         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22005         <bp-sym.h> and <bp-asm.h>.
22006         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22007         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22008         <bp-sym.h> and <bp-asm.h>.
22009         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22010         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22011         <bp-asm.h>.
22012         (__mpn_lshift): Don't use BP_SYM.
22013         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22014         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22015         <bp-asm.h>.
22016         (memset): Don't use BP_SYM.
22017         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22018         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22019         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22020         <bp-asm.h>.
22021         (__mpn_mul_1): Don't use BP_SYM.
22022         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22023         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22024         <bp-sym.h> and <bp-asm.h>.
22025         (memcmp): Don't use BP_SYM.
22026         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22027         <bp-sym.h> and <bp-asm.h>.
22028         (memcpy): Don't use BP_SYM.
22029         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22030         <bp-sym.h> and <bp-asm.h>.
22031         (memset): Don't use BP_SYM.
22032         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22033         <bp-sym.h> and <bp-asm.h>.
22034         (strncmp): Don't use BP_SYM.
22035         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22036         <bp-sym.h> and <bp-asm.h>.
22037         (memcpy): Don't use BP_SYM.
22038         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22039         <bp-sym.h> and <bp-asm.h>.
22040         (memset): Don't use BP_SYM.
22041         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22042         <bp-sym.h> and <bp-asm.h>.
22043         (__memchr): Don't use BP_SYM.
22044         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22045         <bp-sym.h> and <bp-asm.h>.
22046         (memcmp): Don't use BP_SYM.
22047         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22048         <bp-sym.h> and <bp-asm.h>.
22049         (memcpy): Don't use BP_SYM.
22050         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22051         <bp-sym.h> and <bp-asm.h>.
22052         (__mempcpy): Don't use BP_SYM.
22053         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22054         <bp-sym.h> and <bp-asm.h>.
22055         (__memrchr): Don't use BP_SYM.
22056         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22057         <bp-sym.h> and <bp-asm.h>.
22058         (memset): Don't use BP_SYM.
22059         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22060         <bp-sym.h> and <bp-asm.h>.
22061         (__rawmemchr): Don't use BP_SYM.
22062         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22063         <bp-sym.h> and <bp-asm.h>.
22064         (__STRCMP): Don't use BP_SYM.
22065         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22066         <bp-sym.h> and <bp-asm.h>.
22067         (strchr): Don't use BP_SYM.
22068         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22069         <bp-sym.h> and <bp-asm.h>.
22070         (__strchrnul): Don't use BP_SYM.
22071         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22072         <bp-sym.h> and <bp-asm.h>.
22073         (strlen): Don't use BP_SYM.
22074         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22075         <bp-sym.h> and <bp-asm.h>.
22076         (strncmp): Don't use BP_SYM.
22077         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22078         <bp-sym.h> and <bp-asm.h>.
22079         (__strnlen): Don't use BP_SYM.
22080         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22081         <bp-asm.h>.
22082         (__mpn_rshift): Don't use BP_SYM.
22083         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22084         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22085         <bp-sym.h> and <bp-asm.h>.
22086         (__sigsetjmp): Don't use BP_SYM.
22087         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22088         (L(start_addresses)): Don't use BP_SYM.
22089         (_start): Likewise.
22090         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22091         <bp-asm.h>.
22092         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22093         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22094         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22095         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22096         <bp-asm.h>.
22097         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22098         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22099         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22100         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22101         <bp-asm.h>.
22102         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22103         comments.
22104         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22105         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22106         <bp-asm.h>.
22107         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
22108         FIXME comments.
22109         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22110         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22111         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22112         <bp-asm.h>.
22113         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
22114         comment.
22115         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22116         and <bp-asm.h>.
22117         (strncmp): Don't use BP_SYM,
22118         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22119         <bp-asm.h>.
22120         (__mpn_sub_n): Don't use BP_SYM.
22121         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22122         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22123         and <bp-asm.h>.
22124         (__mpn_submul_1): Don't use BP_SYM.
22125         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22127         <bp-sym.h> and <bp-asm.h>.
22128         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22130         <bp-sym.h> and <bp-asm.h>.
22131         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
22132         comment.
22133
22134 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22135
22136         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22137         Use ZK to minimize writes to Z.
22138         (sub_magnitudes): Simplify code a bit.
22139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22140         Use ZK to minimize writes to Z.
22141         (sub_magnitudes): Simplify code a bit.
22142
22143 2013-02-27  Roland McGrath  <roland@hack.frob.com>
22144
22145         * csu/gmon-start.c: Add special exception to license text.
22146
22147 2013-02-27  Richard Henderson  <rth@redhat.com>
22148
22149         * scripts/config.guess: Update from config.git.
22150         * scripts/config.sub: Likewise.
22151
22152 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22153
22154         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22155
22156         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22157
22158         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22159
22160         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22161
22162         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22163
22164 2013-02-26  Roland McGrath  <roland@hack.frob.com>
22165
22166         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22167         [$(build-shared = yes].
22168
22169 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22170
22171         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22172         (__mul): Reduce iterations for calculating mantissa.
22173
22174         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22175         MPTWO.
22176         (__mpranred): Likewise.
22177
22178         [BZ #15160]
22179         * malloc/memusagestat.c (main): Draw graphs for heap and stack
22180         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22181
22182 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
22183
22184         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22185         Define __attribute__.
22186
22187 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22188
22189         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22190         unused.
22191         * posix/regex_internal.h (__attribute): Remove.
22192         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22193         (re_string_context_at): Likewise.
22194         (bitset_not): Use __attribute__ and mark function as possibly
22195         unused.
22196         (bitset_merge): Likewise.
22197         (bitset_mask): Likewise.
22198         (re_string_char_size_at): Likewise.
22199         (re_string_wchar_at): Likewise.
22200         (re_string_elem_size_at): Likewise.
22201
22202 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22203
22204         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22205         code.
22206         (cc32): Likewise.
22207
22208         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22209         (__acr): Likewise.
22210         (__cpy): Likewise.
22211         (norm): Likewise.
22212         (denorm): Likewise.
22213         (__dbl_mp): Likewise.
22214         (add_magnitudes): Likewise.
22215         (sub_magnitudes): Likewise.
22216         (__mul): Likewise.
22217         (__inv): Likewise.
22218
22219         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22220         style.
22221
22222         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22223         style.
22224
22225         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22226         code.
22227
22228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22229         up changes with default code.
22230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22231         Likewise.
22232
22233 2013-02-24  Allan McRae  <allan@archlinux.org>
22234
22235         * manual/socket.texi (The Internet Namespace): Order menu items
22236         to match that in the file.
22237
22238         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22239         node listing of the info page menu.
22240
22241 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
22242
22243         [BZ #13550]
22244         * sysdeps/i386/bp-asm.h: Remove file.
22245         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22246         (PARMS): Do not use macros from bp-asm.h.
22247         (S1): Likewise.
22248         (S2): Likewise.
22249         (SIZE): Likewise.
22250         (__mpn_add_n): Do not use BP_SYM
22251         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22252         "bp-asm.h".
22253         (PARMS): Do not use macros from bp-asm.h.
22254         (S1): Likewise.
22255         (SIZE): Likewise.
22256         (__mpn_addmul_1): Do not use BP_SYM
22257         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22258         "bp-asm.h".
22259         (PARMS): Do not use macros from bp-asm.h.
22260         (SIGMSK): Likewise.
22261         (_setjmp): Likewise.  Do not use BP_SYM.
22262         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22263         "bp-asm.h".
22264         (PARMS): Do not use macros from bp-asm.h.
22265         (SIGMSK): Likewise.
22266         (setjmp): Likewise.  Do not use BP_SYM.
22267         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22268         "bp-asm.h".
22269         (PARMS): Do not use macros from bp-asm.h.
22270         (__frexp): Do not use BP_SYM.
22271         (frexp): Likewise.
22272         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22273         "bp-asm.h".
22274         (PARMS): Do not use macros from bp-asm.h.
22275         (__frexpf): Do not use BP_SYM.
22276         (frexpf): Likewise.
22277         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22278         "bp-asm.h".
22279         (PARMS): Do not use macros from bp-asm.h.
22280         (__frexpl): Do not use BP_SYM.
22281         (frexpl): Likewise.
22282         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22283         "bp-asm.h".
22284         (PARMS): Do not use macros from bp-asm.h.
22285         (__remquo): Do not use BP_SYM.
22286         (remquo): Likewise.
22287         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22288         "bp-asm.h".
22289         (PARMS): Do not use macros from bp-asm.h.
22290         (__remquof): Do not use BP_SYM.
22291         (remquof): Likewise.
22292         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22293         "bp-asm.h".
22294         (PARMS): Do not use macros from bp-asm.h.
22295         (__remquol): Do not use BP_SYM.
22296         (remquol): Likewise.
22297         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22298         "bp-asm.h".
22299         (PARMS): Do not use macros from bp-asm.h.
22300         (DEST): Likewise.
22301         (SRC): Likewise.
22302         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
22303         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22304         "bp-asm.h".
22305         (PARMS): Do not use macros from bp-asm.h.
22306         (strlen): Do not use BP_SYM.
22307         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22308         "bp-asm.h".
22309         (PARMS): Do not use macros from bp-asm.h.
22310         (S1): Likewise.
22311         (S2): Likewise.
22312         (SIZE): Likewise.
22313         (__mpn_add_n): Do not use BP_SYM.
22314         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22315         "bp-asm.h".
22316         (PARMS): Do not use macros from bp-asm.h.
22317         (S1): Likewise.
22318         (SIZE): Likewise.
22319         (__mpn_addmul_1): Do not use BP_SYM.
22320         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22321         weak_alias.
22322         (bzero): Likewise.
22323         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22324         "bp-asm.h".
22325         (PARMS): Do not use macros from bp-asm.h.
22326         (S): Likewise.
22327         (SIZE): Likewise.
22328         (__mpn_lshift): Do not use BP_SYM.
22329         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22330         "bp-asm.h".
22331         (PARMS): Do not use macros from bp-asm.h.
22332         (DEST): Likewise.
22333         (SRC): Likewise.
22334         (LEN): Likewise.
22335         (memcpy): Likewise.  Do not use BP_SYM.
22336         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22337         libc_hidden_def and weak_alias.
22338         (mempcpy): Do not use BP_SYM in weak_alias.
22339         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22340         "bp-asm.h".
22341         (PARMS): Do not use macros from bp-asm.h.
22342         (DEST): Likewise.
22343         (LEN): Likewise.
22344         [!BZERO_P] (CHR): Likewise.
22345         (memset): Likewise.  Do not use BP_SYM.
22346         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22347         "bp-asm.h".
22348         (PARMS): Do not use macros from bp-asm.h.
22349         (S1): Likewise.
22350         (SIZE): Likewise.
22351         (__mpn_mul_1): Do not use BP_SYM.
22352         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22353         "bp-asm.h".
22354         (PARMS): Do not use macros from bp-asm.h.
22355         (S): Likewise.
22356         (SIZE): Likewise.
22357         (__mpn_rshift): Do not use BP_SYM.
22358         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22359         "bp-asm.h".
22360         (PARMS): Do not use macros from bp-asm.h.
22361         (STR): Likewise.
22362         (CHR): Likewise.
22363         (strchr): Likewise.  Do not use BP_SYM.
22364         (index): Do not use BP_SYM in weak_alias.
22365         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22366         "bp-asm.h".
22367         (PARMS): Do not use macros from bp-asm.h.
22368         (DEST): Likewise.
22369         (SRC): Likewise.
22370         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22371         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22372         "bp-asm.h".
22373         (PARMS): Do not use macros from bp-asm.h.
22374         (strlen): Do not use BP_SYM.
22375         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22376         "bp-asm.h".
22377         (PARMS): Do not use macros from bp-asm.h.
22378         (S1): Likewise.
22379         (S2): Likewise.
22380         (SIZE): Likewise.
22381         (__mpn_sub_n): Do not use BP_SYM.
22382         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22383         "bp-asm.h".
22384         (PARMS): Do not use macros from bp-asm.h.
22385         (S1): Likewise.
22386         (SIZE): Likewise.
22387         (__mpn_submul_1): Do not use BP_SYM.
22388         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22389         "bp-asm.h".
22390         (PARMS): Do not use macros from bp-asm.h.
22391         (S1): Likewise.
22392         (S2): Likewise.
22393         (SIZE): Likewise.
22394         (__mpn_add_n): Do not use BP_SYM.
22395         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22396         weak_alias.
22397         (bzero): Likewise.
22398         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22399         "bp-asm.h".
22400         (PARMS): Do not use macros from bp-asm.h.
22401         (BLK2): Likewise.
22402         (LEN): Likewise.
22403         (memcmp): Do not use BP_SYM.
22404         (bcmp): Do not use BP_SYM in weak_alias.
22405         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22406         "bp-asm.h".
22407         (PARMS): Do not use macros from bp-asm.h.
22408         (DEST): Likewise.
22409         (SRC): Likewise.
22410         (LEN): Likewise.
22411         (memcpy): Likewise.  Do not use BP_SYM.
22412         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22413         "bp-asm.h".
22414         (PARMS): Do not use macros from bp-asm.h.
22415         (DEST): Likewise.
22416         (SRC): Likewise.
22417         (LEN): Likewise.
22418         (memmove): Likewise.  Do not use BP_SYM.
22419         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22420         "bp-asm.h".
22421         (PARMS): Do not use macros from bp-asm.h.
22422         (DEST): Likewise.
22423         (SRC): Likewise.
22424         (LEN): Likewise.
22425         (__mempcpy): Likewise.  Do not use BP_SYM.
22426         (mempcpy): Do not use BP_SYM in weak_alias.
22427         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22428         "bp-asm.h".
22429         (PARMS): Do not use macros from bp-asm.h.
22430         (DEST): Likewise.
22431         (LEN): Likewise.
22432         [!BZERO_P] (CHR): Likewise.
22433         (memset): Likewise.  Do not use BP_SYM.
22434         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22435         "bp-asm.h".
22436         (PARMS): Do not use macros from bp-asm.h.
22437         (STR2): Likewise.
22438         (strcmp): Do not use BP_SYM.
22439         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22440         "bp-asm.h".
22441         (PARMS): Do not use macros from bp-asm.h.
22442         (STR): Likewise.
22443         (DELIM): Likewise.
22444         [USE_AS_STRTOK_R] (SAVE): Likewise.
22445         (FUNCTION): Likewise.  Do not use BP_SYM.
22446         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22447         aliases.
22448         (strtok_r): Likewise.
22449         (__GI___strtok_r): Likewise.
22450         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22451         (PARMS): Do not use macros from bp-asm.h.
22452         (S): Likewise.
22453         (SIZE): Likewise.
22454         (__mpn_lshift): Do not use BP_SYM.
22455         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22456         (PARMS): Do not use macros from bp-asm.h.
22457         (STR): Likewise.
22458         (CHR): Likewise.
22459         (__memchr): Do not use BP_SYM.
22460         (memchr): Do not use BP_SYM in weak_alias.
22461         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22462         (PARMS): Do not use macros from bp-asm.h.
22463         (BLK2): Likewise.
22464         (LEN): Likewise.
22465         (memcmp): Do not use BP_SYM.
22466         (bcmp): Do not use BP_SYM in weak_alias.
22467         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22468         (PARMS): Do not use macros from bp-asm.h.
22469         (S1): Likewise.
22470         (SIZE): Likewise.
22471         (__mpn_mul_1): Do not use BP_SYM.
22472         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22473         "bp-asm.h".
22474         (PARMS): Do not use macros from bp-asm.h.
22475         (STR): Likewise.
22476         (CHR): Likewise.
22477         (__rawmemchr): Do not use BP_SYM.
22478         (rawmemchr): Do not use BP_SYM in weak_alias.
22479         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22480         (PARMS): Do not use macros from bp-asm.h.
22481         (S): Likewise.
22482         (SIZE): Likewise.
22483         (__mpn_rshift): Do not use BP_SYM.
22484         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22485         (PARMS): Do not use macros from bp-asm.h.
22486         (SIGMSK): Likewise.
22487         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22488         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22489         (_start): Do not use BP_SYM.
22490         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22491         (PARMS): Do not use macros from bp-asm.h.
22492         (DEST): Likewise.
22493         (SRC): Likewise.
22494         (__stpcpy): Likewise.  Do not use BP_SYM.
22495         (stpcpy): Do not use BP_SYM in weak_alias.
22496         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22497         "bp-asm.h".
22498         (PARMS): Do not use macros from bp-asm.h.
22499         (DEST): Likewise.
22500         (SRC): Likewise.
22501         (LEN): Likewise.
22502         (__stpncpy): Likewise.  Do not use BP_SYM.
22503         (stpncpy): Do not use BP_SYM in weak_alias.
22504         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22505         (PARMS): Do not use macros from bp-asm.h.
22506         (STR): Likewise.
22507         (CHR): Likewise.
22508         (strchr): Likewise.  Do not use BP_SYM.
22509         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22510         "bp-asm.h".
22511         (PARMS): Do not use macros from bp-asm.h.
22512         (STR): Likewise.
22513         (CHR): Likewise.
22514         (__strchrnul): Likewise.  Do not use BP_SYM.
22515         (strchrnul): Do not use BP_SYM in weak_alias.
22516         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22517         "bp-asm.h".
22518         (PARMS): Do not use macros from bp-asm.h.
22519         (STOP): Likewise.
22520         (strcspn): Do not use BP_SYM.
22521         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22522         "bp-asm.h".
22523         (PARMS): Do not use macros from bp-asm.h.
22524         (STR): Likewise.
22525         (STOP): Likewise.
22526         (strpbrk): Likewise.  Do not use BP_SYM.
22527         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22528         "bp-asm.h".
22529         (PARMS): Do not use macros from bp-asm.h.
22530         (STR): Likewise.
22531         (CHR): Likewise.
22532         (strrchr): Likewise.  Do not use BP_SYM.
22533         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22534         (PARMS): Do not use macros from bp-asm.h.
22535         (SKIP): Likewise.
22536         (strspn): Do not use BP_SYM.
22537         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22538         (PARMS): Do not use macros from bp-asm.h.
22539         (STR): Likewise.
22540         (DELIM): Likewise.
22541         (SAVE): Likewise.
22542         (FUNCTION): Likewise.  Do not use BP_SYM.
22543         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22544         aliases.
22545         (strtok_r): Likewise.
22546         (__GI___strtok_r): Likewise.
22547         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22548         (PARMS): Do not use macros from bp-asm.h.
22549         (S1): Likewise.
22550         (S2): Likewise.
22551         (SIZE): Likewise.
22552         (__mpn_sub_n): Do not use BP_SYM.
22553         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22554         "bp-asm.h".
22555         (PARMS): Do not use macros from bp-asm.h.
22556         (S1): Likewise.
22557         (SIZE): Likewise.
22558         (__mpn_submul_1): Do not use BP_SYM.
22559         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22560         <bp-sym.h>.
22561         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22562         and <bp-asm.h>.
22563         (PARMS): Do not use macros from bp-asm.h.
22564         (FLAGS): Likewise.
22565         (PTID): Likewise.
22566         (TLS): Likewise.
22567         (CTID): Likewise.
22568         (__clone): Do not use BP_SYM.
22569         (clone): Do not use BP_SYM in weak_alias.
22570         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22571         and <bp-asm.h>.
22572         (PARMS): Do not use macros from bp-asm.h.
22573         (LEN): Likewise.
22574         (__mmap64): Do not use BP_SYM.
22575         (mmap64): Do not use BP_SYM in weak_alias.
22576         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22577         <bp-sym.h> and <bp-asm.h>.
22578         (PARMS): Do not use macros from bp-asm.h.
22579         (__posix_fadvise64_l64): Do not use BP_SYM.
22580         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22581         (PARMS): Do not use macros from bp-asm.h.
22582         (NSOPS): Likewise.
22583         (semtimedop): Do not use BP_SYM.
22584         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22585         and <bp-asm.h>.
22586
22587 2013-02-21  Allan McRae  <allan@archlinux.org>
22588
22589         * manual/message.texi (Charset conversion in gettext):
22590         Move @end statement to beginning of line.
22591
22592 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22593
22594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22595         static.
22596         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22597         Likewise.
22598
22599         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22600         (denorm): Likewise.
22601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22603
22604 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22605
22606         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22607         tail-call to the resolved function if pltexit isn't needed.
22608
22609 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22610
22611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22612         or Y being zero as being unlikely.
22613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22614         Likewise.
22615
22616 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22617
22618         * manual/nss.texi (System Databases and Name Service Switch):
22619         Remove frobnicate @pxref.
22620
22621 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22622
22623         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22624         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22625
22626 2013-02-20  Petr Machata  <pmachata@redhat.com>
22627
22628         * elf/elf.h (R_ARM_TARGET1): New macro.
22629         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22630         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22631         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22632         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22633         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22634         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22635         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22636         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22637         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22638         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22639         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22640         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22641         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22642         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22643         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22644         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22645         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22646         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22647         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22648         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22649         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22650         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22651         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22652         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22653         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22654         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22655         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22656         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22657         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22658         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22659         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22660         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22661         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22662         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22663         (R_ARM_THM_GOT_BREL12): Likewise.
22664         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22665         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22666         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22667         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22668         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22669         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22670         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22671         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22672         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22673
22674 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22675
22676         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22677         __attribute_used__ to __attribute__ ((unused)).
22678
22679 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22680
22681         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22682         powerpc mpa.c.
22683         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22684         comment formatting.
22685         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22686
22687 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22688
22689         [BZ #13550]
22690         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22691         Remove macro.
22692         (ENTER): Remove both macro definitions.
22693         (LEAVE): Likewise.
22694         (CHECK_BOUNDS_LOW): Likewise.
22695         (CHECK_BOUNDS_HIGH): Likewise.
22696         (CHECK_BOUNDS_BOTH): Likewise.
22697         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22698         (RETURN_BOUNDED_POINTER): Likewise.
22699         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22700         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22701         (POP_ERRNO_LOCATION_RETURN): Likewise.
22702         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22703         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22704         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22705         macros.
22706         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22707         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22708         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22709         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22710         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22711         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22712         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22713         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22714         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22715         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22716         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22717         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22718         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22719         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22720         removed macros.
22721         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22722         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22723         macros.
22724         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22725         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22726         * sysdeps/i386/i586/memset.S (memset): Likewise.
22727         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22728         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22729         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22730         macros.
22731         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22732         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22733         Change uses of L(2) to L(out).
22734         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22735         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22736         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22737         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22738         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22739         removed macros.
22740         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22741         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22742         macros.
22743         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22744         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22745         (RETURN): Do not use macro LEAVE.
22746         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22747         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22748         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22749         * sysdeps/i386/i686/memset.S (memset): Likewise.
22750         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22751         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22752         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22753         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22754         Likewise.
22755         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22756         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22757         L(1_2) and L(1_3) into L(1).
22758         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22759         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22760         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22761         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22762         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22763         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22764         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22765         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22766         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22767         macros.
22768         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22769         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22770         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22771         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22772         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22773         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22774         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22775         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22776         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22777         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22778         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22779         * sysdeps/i386/strspn.S (strspn): Likewise.
22780         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22781         conditional code.
22782         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22783         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22784         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22785         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22786         L(1_3) into L(1_1).
22787         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22788         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22789         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22790         macros.
22791         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22792
22793 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22794
22795         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22796         macro.
22797
22798 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22799
22800         * math/atest-exp.c (exp_mpn): Remove ROUND.
22801         * math/atest-exp2.c (exp_mpn): Likewise.
22802         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22803
22804         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22805         * stdlib/tst-tls-atexit-lib.c: Likewise.
22806         * stdlib/tst-tls-atexit.c: Likewise.
22807
22808 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22809
22810         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22811         and __attribute_alloc_size__.
22812
22813 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22814
22815         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22816         __attribute_alloc_size__.
22817         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22818         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22819
22820 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22821
22822         * include/programs/xmalloc.h: New file.
22823         * catgets/gencat.c: Include it.
22824         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22825         * elf/pldd.c: Likewise.
22826         * iconv/iconv_charmap.c: Likewise.
22827         * iconv/iconvconfig.c: Likewise.
22828         * iconv/strtab.c: Likewise.
22829         * locale/programs/locale.c: Likewise.
22830         * locale/programs/localedef.h: Likewise.
22831         * locale/programs/simple-hash.c: Likewise.
22832         * nscd/nscd.h: Likewise.
22833         * nss/makedb.c: Likewise.
22834         * sysdeps/generic/ldconfig.h: Likewise.
22835
22836 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22837
22838         * Versions.def: Add GLIBC_2.18.
22839         * include/link.h (struct link_map): New member l_tls_dtor_count.
22840         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22841         (__call_tls_dtors): Likewise.
22842         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22843         __cxa_thread_atexit_impl.
22844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22845         Likewise.
22846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22847         Likewise.
22848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22849         Likewise.
22850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22851         Likewise.
22852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22854         Likewise.
22855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22856         Likewise.
22857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22859         Likewise.
22860         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22861         (tests): Add test case tst-tls-atexit.
22862         (modules-names): Add shared library for tst-tls-atexit.
22863         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22864         (GLIBC_PRIVATE): Add __call_tls_dtors.
22865         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22866         for libstdc++.
22867         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22868         * stdlib/tst-tls-atexit.c: New test case.
22869         * stdlib/tst-tls-atexit-lib.c: New test case.
22870
22871         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22872
22873         * elf/Versions (ld): Add _dl_find_dso_for_object.
22874         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22875         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22876         (dl_open_worker): Use _dl_find_dso_for_object.
22877         * elf/dl-sym.c (do_sym): Likewise.
22878         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22879
22880 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22881
22882         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22883         Syntactic changes only.
22884         (_dl_runtime_profile): Do a tail-call to the resolved function.
22885
22886 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22887
22888         [BZ #13550]
22889         * sysdeps/x86_64/bp-asm.h: Remove file.
22890         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22891         <bp-sym.h> and <bp-asm.h>.
22892         (__clone): Do not use BP_SYM.
22893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22894         <bp-sym.h> and <bp-asm.h>.
22895         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22896         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22897         "bp-asm.h".
22898         (_setjmp): Do not use BP_SYM.
22899         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22900         "bp-asm.h".
22901         (setjmp): Do not use BP_SYM.
22902         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22903         libc_hidden_def.
22904         (mempcpy): Do not use BP_SYM in weak_alias.
22905         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22906         "bp-asm.h".
22907         (strchr): Do not use BP_SYM.
22908         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22909         "bp-asm.h".
22910         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22911         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22912         (_start): Do not use BP_SYM.
22913         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22914         "bp-asm.h".
22915         (strcat): Do not use BP_SYM.
22916         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22917         "bp-asm.h".
22918         (STRCMP): Do not use BP_SYM.
22919         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22920         "bp-asm.h".
22921         (STRCPY): Do not use BP_SYM.
22922         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22923         "bp-asm.h".
22924         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22925         "bp-asm.h".
22926         (FUNCTION): Do not use BP_SYM.
22927         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22928         weak_alias.
22929         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22930
22931 2013-02-17  Andreas Jaeger  <aj@suse.de>
22932
22933         * time/Versions: Sort entries.
22934         * string/Versions: Likewise.
22935         * resolv/Versions: Likewise.
22936         * posix/Versions: Likewise.
22937         * iconv/Versions: Likewise.
22938         * elf/Versions: Likewise.
22939         * wcsmbs/Versions: Likewise.
22940
22941 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22942
22943         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22944         loop termination condition.
22945
22946         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22947         variable to calculate EZ.
22948         (__sqr): Likewise.
22949
22950         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22951         the lower precision input.
22952
22953 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22954
22955         [BZ #13550]
22956         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22957         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22958         (run-via-rtld-prefix): Do not handle %-bp tests.
22959         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22960         (all-object-suffixes): Remove .ob.
22961         (bppfx): Remove variable.
22962         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22963         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22964         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22965         [$(build-bounded) = yes] (libtype.ob): Likewise.
22966         * Makerules (elide-routines.ob): Remove variable.
22967         (do-tests-clean): Do not handle *-bp.out.
22968         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22969         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22970         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22971         (tests): Do not include $(tests-bp.out).
22972         (xtests): Do not include $(xtests-bp.out).
22973         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22974         [$(build-bounded) = yes] ($(addprefix
22975         $(objpfx),$(binaries-bounded))): Remove rule.
22976         ($(objpfx)%-bp.out): Remove rule.
22977         * config.make.in (build-bounded): Remove variable.
22978         * crypt/Makefile [$(build-bounded) = yes]
22979         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22980         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22981         append to variable.
22982         [$(build-bounded) = yes] (install-lib): Likewise.
22983         [$(build-bounded) = yes] (generated): Likewise.
22984         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22985         Remove rule.
22986         * intl/Makefile [$(build-bounded) = yes]
22987         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22988         * math/Makefile [$(build-bounded) = yes]
22989         ($(tests:%=$(objpfx)%-bp): Likewise.
22990         * misc/Makefile [$(build-bounded) = yes]
22991         ($(objpfx)tst-tsearch-bp): Likewise.
22992         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22993         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22994         Remove dependency.
22995         * string/Makefile (o-objects.ob): Remove variable.
22996         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22997         (CFLAGS-.ob): Remove variable.
22998         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22999         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23000         both definitions of variable.
23001         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23002         (ASFLAGS-.ob): Remove variable.
23003
23004 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
23005
23006         [BZ #13550]
23007         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23008         Remove __BOUNDED_POINTERS__ from condition.
23009         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23010         * string/bits/string2.h [!__NO_STRING_INLINES &&
23011         !__BOUNDED_POINTERS__]: Likewise.
23012         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23013         Likewise.
23014         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23015         Remove conditional code.
23016         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23017         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23018         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23019         condition.
23020
23021         [BZ #13550]
23022         * csu/libc-start.c: Do not include <bp-sym.h>.
23023         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23024         * elf/dl-open.c: Do not include <bp-sym.h>.
23025         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23026         * math/fegetenv.c: Do not include <bp-sym.h>.
23027         (fegetenv): Do not use BP_SYM in versioned symbols.
23028         * nptl/sysdeps/pthread/bits/libc-lockP.h
23029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23030         <bp-sym.h>.
23031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23032         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23034         (__pthread_mutex_destroy): Likewise.
23035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23036         (__pthread_mutex_lock): Likewise.
23037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23038         (__pthread_mutex_trylock): Likewise.
23039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23040         (__pthread_mutex_unlock): Likewise.
23041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23042         (__pthread_mutexattr_init): Likewise.
23043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23044         (__pthread_mutexattr_destroy): Likewise.
23045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23046         (__pthread_mutexattr_settype): Likewise.
23047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23048         (__pthread_rwlock_init): Likewise.
23049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23050         (__pthread_rwlock_destroy): Likewise.
23051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23052         (__pthread_rwlock_rdlock): Likewise.
23053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23054         (__pthread_rwlock_tryrdlock): Likewise.
23055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23056         (__pthread_rwlock_wrlock): Likewise.
23057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23058         (__pthread_rwlock_trywrlock): Likewise.
23059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23060         (__pthread_rwlock_unlock): Likewise.
23061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23062         (__pthread_key_create): Likewise.
23063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23064         (__pthread_setspecific): Likewise.
23065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23066         (__pthread_getspecific): Likewise.
23067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23068         Likewise.
23069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23070         (_pthread_cleanup_push_defer): Likewise.
23071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23072         (_pthread_cleanup_pop_restore): Likewise.
23073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23074         (pthread_setcancelstate): Likewise.
23075         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23076         <bp-sym.h>.
23077         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23078         (memchr): Do not use BP_SYM in weak_alias.
23079         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23080         (fegetenv): Do not use BP_SYM in versioned symbols.
23081         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23082         (fesetenv): Do not use BP_SYM in versioned symbols.
23083         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23084         (feupdateenv): Do not use BP_SYM in versioned symbols.
23085         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23086         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23087         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23088         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23089         (open64): Do not use BP_SYM in weak_alias.
23090         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23091         (fegetenv): Do not use BP_SYM in versioned symbols.
23092         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23093         (fesetenv): Do not use BP_SYM in versioned symbols.
23094         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23095         (feupdateenv): Do not use BP_SYM in versioned symbols.
23096         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23097         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23098         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23099         (feraiseexcept): Do not use BP_SYM in versioned symbols.
23100         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23101         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23102         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23103         <bp-sym.h>.
23104         (__libc_start_main): Do not use BP_SYM.
23105
23106 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23107
23108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23109         redundant return line.
23110         (norm): Likewise.
23111         (denorm): Likewise.
23112         (dbl_mp): Likewise.
23113         (sub_magnitudes): Likewise.
23114         (__add): Likewise.
23115         (__sub): Likewise.
23116         (__mul): Likewise.
23117         (__inv): Likewise.
23118         (__dvd): Likewise.
23119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23120         (norm): Likewise.
23121         (denorm): Likewise.
23122         (dbl_mp): Likewise.
23123         (sub_magnitudes): Likewise.
23124         (__add): Likewise.
23125         (__sub): Likewise.
23126         (__mul): Likewise.
23127         (__inv): Likewise.
23128         (__dvd): Likewise.
23129
23130         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23131         instead of __mul.
23132         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23133         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23134         (cc32): Likewise.
23135
23136         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23137         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23139         of __mul for squares.
23140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23141         function
23142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23143         Likewise.
23144         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23145         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23146
23147 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
23148
23149         [BZ #13550]
23150         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23151         code.
23152         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23153         prototype or function definition.  Rename ubp_* variables and
23154         parameters.  Remove argv definitions conditional on
23155         [__BOUNDED_POINTERS__].
23156         * debug/backtrace.c (__backtrace): Do not use __unbounded.
23157         * elf/dl-runtime.c (_dl_fixup): Likewise.
23158         * include/set-hooks.h (RUN_HOOK): Likewise.
23159         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23160         definition.
23161         * string/strcpy.c (strcpy): Do not use __unbounded.
23162         * sysdeps/generic/frame.h (struct layout): Likewise.
23163         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23164         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23165         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23166         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23167         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23168         (__backtrace): Likewise.
23169         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23170         use __ptrvalue.
23171         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23172         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23173         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23174         Likewise.
23175         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23176         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23177         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23178         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23179         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23180         Do not use __unbounded.
23181         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23182         Rename __unboundedrlimits parameter to rlimits in prototype.
23183         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23184         Do not use __unbounded.
23185         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23186         not use __ptrvalue.
23187         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23188         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23189         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23190         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23191         __ptrvalue or __unbounded.
23192         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23193         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23194         use __unbounded.
23195         (__new_msgctl): Do not use __ptrvalue.
23196         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23197         __unbounded.
23198         (__libc_msgrcv): Do not use __ptrvalue.
23199         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23200         startup_info): Do not use __unbounded.
23201         (__libc_start_main): Likewise.  Rename ubp_* variables and
23202         parameters.  Remove argv definitions conditional on
23203         [__BOUNDED_POINTERS__].
23204         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23205         __ptrvalue.
23206         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23207         use __unbounded.
23208         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23209         or __ptrvalue.
23210         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23211         use __unbounded.
23212         (__new_shmctl): Do not use __ptrvalue.
23213         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23214         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23215         Likewise.
23216         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23217         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23218         (__libc_sigaction): Likewise.
23219         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23220         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23221         Likewise.
23222         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23223
23224 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
23225
23226         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23227
23228         * string/mempcpy.c: Implement by calling memcpy.
23229
23230 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23231
23232         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23233
23234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23235         evaluation.
23236
23237         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23238         values in the mantissa.
23239
23240         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23241         minimize writes to Z.
23242         (sub_magnitudes): Simplify code a bit.
23243
23244 2013-02-12  Roland McGrath  <roland@hack.frob.com>
23245
23246         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23247         from the message.  The linker prefixes all warnings with that already.
23248
23249 2013-02-12  Andreas Schwab  <schwab@suse.de>
23250
23251         [BZ #15078]
23252         * posix/regexec.c (extend_buffers): Add parameter min_len.
23253         (check_matching): Pass minimum needed length.
23254         (clean_state_log_if_needed): Likewise.
23255         (get_subexp): Likewise.
23256         * posix/Makefile (tests): Add bug-regex34.
23257         (bug-regex34-ENV): Define.
23258         * posix/bug-regex34.c: New file.
23259
23260         [BZ #11561]
23261         * posix/regcomp.c (parse_bracket_exp): When looking up collating
23262         elements compare against the byte sequence of it, not its name.
23263         * posix/Makefile (tests): Add bug-regex35.
23264         (bug-regex35-ENV): Define.
23265         * posix/bug-regex35.c: New file.
23266
23267 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23268
23269         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
23270         comment.
23271         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23272         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23273         (CHECK_EOL): Add undef.
23274
23275 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
23276
23277         * bits/stdlib-bsearch.h: New file.
23278         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23279         * stdlib/stdlib.h: Likewise.
23280
23281 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23282
23283         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23284         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23285         declaration.
23286         * manual/search.texi (Array Search Function): Add missing const in
23287         lfind prototype.
23288         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23289         declaration to use rlim_t.
23290         (Basic Scheduling Functions): Remove erroneous const from
23291         sched_getparam prototype.  Remove erroneous * from
23292         sched_get_priority_max and sched_get_priority_min prototypes.
23293         (Resource Usage): Fix summary @comment on vtimes to refer to
23294         sys/vtimes.h rather than vtimes.h.
23295         Add missing *s in vtimes prototype.
23296         (Limits on Resources): Fix ulimit prototype to return long int.
23297         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23298         prototypes to use long int rather than double.
23299         (BSD Random): Fix initstate and setstate to use char *, not void *.
23300         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23301         prototype to make second argument 'struct aiocb64 *const[]'.
23302         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23303         (Status of AIO Operations): Remove erroneous const in aio_return and
23304         aio_return64 prototypes.
23305         (Synchronizing I/O): Fix sync prototype to return void.
23306         * manual/startup.texi (Suboptions): Remove an erroneous const in
23307         getsubopt prototype.
23308         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23309         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23310         use size_t rather than int.
23311         (Scanning All Users): Likewise for getpwent_r.
23312         (Setting Groups): Add missing const to setgroups prototype.
23313         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23314         * manual/socket.texi (Host Names): Fix gethostbyaddr and
23315         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23316         'const void *' rather than 'const char *'.
23317         (Host Address Functions): Likewise for inet_ntop.
23318         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23319         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23320         ssize_t for return value.
23321         (Sending Data): Likewise for send, sendto, sendmsg.
23322         (Socket Option Functions): Add a missing const in setsockopt prototype.
23323         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23324         use wchar_t for the argument.
23325         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23326         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23327         take no arguments.
23328         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23329         double/float/long double for second argument.
23330         Fix return types of significand, significandf, significandl.
23331         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23332         argument in fchmod prototype.
23333         (File Owner): Use uid_t and gid_t in fchown prototype.
23334         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23335         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23336         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23337         use 'const struct dirent **' as argument types to CMP function pointer
23338         argument.
23339         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23340         (File Times): Fix summary magic @comment for struct utimbuf and utime
23341         to refer to utime.h, not time.h.
23342         * manual/string.texi (Argz Functions): Add missing const in
23343         argz_extract and argz_next prototypes.
23344         (Finding Tokens in a String): Likewise for basename.
23345         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23346         (Copying and Concatenation): Fix typo in wmemmove prototype.
23347         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23348         (Signal Stack): Remove erroneous const in sigstack prototype.
23349         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23350         prototype.
23351         (Simple Calendar Time): Likewise for stime.
23352         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23353         prototype.
23354         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23355         say sys/sysctl.h instead.
23356         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23357         and vsyslog prototypes.
23358
23359 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23360
23361         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23362         Remove.
23363
23364 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23365
23366         * misc/sys/mman.h: Fix typo in mremap comment.
23367
23368 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23369
23370         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23371         the '\0' terminator.
23372
23373 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23374
23375         [BZ #13550]
23376         * debug/segfault.c: Don't include <bp-checks.h>.
23377         * sysdeps/generic/bp-checks.h: Remove file.
23378         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23379         (__GETDENTS): Don't use CHECK_N.
23380         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23381         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23382         (__getgroups): Don't use CHECK_N.
23383         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23384         (setgroups): Don't use CHECK_N.
23385         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23386         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23387         (__libc_msgrcv): Don't use CHECK_N.
23388         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23389         (__libc_msgsnd): Don't use CHECK_N.
23390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23391         <bp-checks.h>.
23392         (__libc_pread): Don't use CHECK_N.
23393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23394         include <bp-checks.h>.
23395         (__libc_pread64): Don't use CHECK_N.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23397         include <bp-checks.h>.
23398         (__libc_pwrite): Don't use CHECK_N.
23399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23400         include <bp-checks.h>.
23401         (__libc_pwrite64): Don't use CHECK_N.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23403         <bp-checks.h>.
23404         (__libc_pread): Don't use CHECK_N.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23406         include <bp-checks.h>.
23407         (__libc_pread64): Don't use CHECK_N.
23408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23409         include <bp-checks.h>.
23410         (__libc_pwrite): Don't use CHECK_N.
23411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23412         include <bp-checks.h>.
23413         (__libc_pwrite64): Don't use CHECK_N.
23414         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23415         (do_pread): Don't use CHECK_N.
23416         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23417         (do_pread64): Don't use CHECK_N.
23418         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23419         (do_pwrite): Don't use CHECK_N.
23420         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23421         (do_pwrite64): Don't use CHECK_N.
23422         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23423         (__libc_readv): Don't use CHECK_N.
23424         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23425         (semop): Don't use CHECK_N.
23426         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23427         <bp-checks.h>.
23428         (semtimedop): Don't use CHECK_N.
23429         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23430         (__libc_pread): Don't use CHECK_N.
23431         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23432         <bp-checks.h>.
23433         (__libc_pread64): Don't use CHECK_N.
23434         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23435         <bp-checks.h>.
23436         (__libc_pwrite): Don't use CHECK_N.
23437         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23438         <bp-checks.h>.
23439         (__libc_pwrite64): Don't use CHECK_N.
23440         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23441         <bp-checks.h>.
23442         (__libc_msgrcv): Don't use CHECK_N.
23443         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23444         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23445         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23446         (__libc_writev): Don't use CHECK_N.
23447
23448 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23449
23450         * string/strcpy.c: Removed unused variable.
23451
23452         * Makeconfig (+sysdep-includes): Define with := rather than =.
23453         Use an existing include/ subdir of each sysdeps dir before it.
23454
23455 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23456
23457         * nscd/connection.c (register_traced_file): Comment function.
23458         [HAVE_INOTIFY] (union __inev): Define.
23459         [HAVE_INOTIFY] (inotify_check_files): New function.
23460         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23461         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23462         clear_db_cache.
23463         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23464
23465 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23466
23467         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23468         loaded if not already and that a failure is permanent.
23469
23470 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23471
23472         [BZ #15006]
23473         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23474         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23475
23476 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23477
23478         [BZ #13550]
23479         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23480         (CHECK_1_NULL_OK): Likewise.
23481         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23482         (__fxstat): Do not use CHECK_1.
23483         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23484         <bp-checks.h>.
23485         (___fxstat64): Do not use CHECK_1.
23486         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23487         <bp-checks.h>.
23488         (__fxstatat): Do not use CHECK_1.
23489         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23490         <bp-checks.h>.
23491         (__fxstatat64): Do not use CHECK_1.
23492         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23493         <bp-checks.h>.
23494         (__fxstat): Do not use CHECK_1.
23495         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23496         <bp-checks.h>.
23497         (__fxstatat): Do not use CHECK_1.
23498         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23499         <bp-checks.h>.
23500         (__getresgid): Do not use CHECK_1.
23501         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23502         <bp-checks.h>.
23503         (__getresuid): Do not use CHECK_1.
23504         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23505         <bp-checks.h>.
23506         (__lxstat): Do not use CHECK_1.
23507         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23508         <bp-checks.h>.
23509         (__old_msgctl): Do not use CHECK_1.
23510         (__new_msgctl): Likewise.
23511         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23512         <bp-checks.h>.
23513         (__new_setrlimit): Do not use CHECK_1.
23514         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23515         <bp-checks.h>.
23516         (__old_shmctl): Do not use CHECK_1.
23517         (__new_shmctl): Likewise.
23518         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23519         <bp-checks.h>.
23520         (__xstat): Do not use CHECK_1.
23521         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23522         (__lxstat): Do not use CHECK_1.
23523         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23524         <bp-checks.h>.
23525         (___lxstat64): Do not use CHECK_1.
23526         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23527         (__old_msgctl): Do not use CHECK_1.
23528         (__new_msgctl): Likewise.
23529         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23530         <bp-checks.h>.
23531         (__gettimeofday): Do not use CHECK_1.
23532         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23533         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23534         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23535         <bp-checks.h>.
23536         (__gettimeofday): Do not use CHECK_1.
23537         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23538         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23539         (__new_shmctl): Do not use CHECK_1.
23540         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23541         <bp-checks.h>.
23542         (do_sigtimedwait): Do not use CHECK_1.
23543         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23544         <bp-checks.h>.
23545         (do_sigwaitinfo): Do not use CHECK_1.
23546         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23547         <bp-checks.h>.
23548         (msgctl): Do not use CHECK_1.
23549         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23550         <bp-checks.h>.
23551         (shmctl): Do not use CHECK_1.
23552         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23553         (ustat): Do not use CHECK_1.
23554         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23555         <bp-checks.h>.
23556         (__fxstat): Do not use CHECK_1.
23557         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23558         <bp-checks.h>.
23559         (__fxstatat): Do not use CHECK_1.
23560         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23561         <bp-checks.h>.
23562         (__lxstat): Do not use CHECK_1.
23563         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23564         <bp-checks.h>.
23565         (__xstat): Do not use CHECK_1.
23566         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23567         (__xstat): Do not use CHECK_1.
23568         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23569         (___xstat64): Do not use CHECK_1.
23570
23571         [BZ #13550]
23572         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23573         definitions.
23574         (CHECK_BOUNDS_HIGH): Likewise.
23575         * string/strcpy.c: Do not include <bp-checks.h>.
23576         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23577
23578 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23579
23580         * nscd/nscd-client.h (__nscd_drop_map_ref):
23581         Add __attribute__ ((unused)).
23582         * nis/nss-nisplus.h (niserr2nss): Likewise.
23583
23584         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23585         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23586
23587         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23588         Remove inline keyword.
23589         * include/rounding-mode.h (round_away): Likewise.
23590         * libio/wfileops.c (adjust_wide_data): Likewise.
23591         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23592         (__m128i_strloadu_tolower): Likewise.
23593         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23594         (__m128i_strloadu_tolower): Likewise.
23595         * time/mktime.c (ydhms_diff): Likewise.
23596         * locale/elem-hash.h (elem_hash): Likewise.
23597         * locale/setlocale.c (setdata): Likewise.
23598         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23599         (re_string_wchar_at): Likewise.
23600         (bitset_not, bitset_merge, bitset_mask): Likewise.
23601         [!(__GNUC__ > 3)] (inline): Remove macro.
23602         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23603         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23604         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23605         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23606         * string/memcmp.c (memcmp_bytes): Likewise.
23607         * locale/programs/locarchive.c (compute_hashval): Likewise.
23608         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23609         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23610         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23611         * nss/getent.c (print_rpc, print_protocols): Likewise.
23612         (print_passwd, print_group, print_aliases): Likewise.
23613         * nis/nss-nisplus.h (niserr2nss): Likewise.
23614         * nscd/connections.c (restart_p): Likewise.
23615         Change return type to bool.
23616
23617 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23618
23619         * Makeconfig (all-Depend-files): Add existing
23620         $(sorted-subdirs:=/Depend) files.
23621         (all-subdirs): Remove nss.
23622         * sysdeps/unix/inet/Subdirs: Add it here instead.
23623         * hesiod/Depend: New file.
23624
23625         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23626         instead of calling alloca.
23627
23628         * io/lseek.c (__lseek): Rename to __libc_lseek.
23629         Define __lseek as an alias.
23630
23631         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23632
23633 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23634
23635         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23636         else clause and remove check for non-standard endianness.
23637
23638 2013-02-04  David S. Miller  <davem@davemloft.net>
23639
23640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23641
23642 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23643
23644         [BZ #13550]
23645         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23646         (__ubp_memchr): Remove prototype.
23647         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23648         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23649         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23650         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23651         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23652         Remove alias.
23653         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23654         (__ubp_memchr): Likewise.
23655         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23656         (__ubp_memchr): Likewise.
23657         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23658         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23659         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23660         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23661         CHECK_STRING.
23662         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23663         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23664         (__getcwd): Do not use CHECK_STRING.
23665         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23666         <bp-checks.h>.
23667         (__real_chown): Do not use CHECK_STRING.
23668         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23669         <bp-checks.h>.
23670         (fchownat): Do not use CHECK_STRING.
23671         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23672         CHECK_STRING.
23673         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23674         <bp-checks.h>.
23675         (__lchown): Do not use CHECK_STRING.
23676         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23677         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23678         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23679         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23681         include <bp-checks.h>.
23682         (truncate64): Do not use CHECK_STRING.
23683         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23684         <bp-checks.h>.
23685         (__real_chown): Do not use CHECK_STRING.
23686         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23687         <bp-checks.h>.
23688         (__lchown): Do not use CHECK_STRING.
23689         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23690         <bp-checks.h>.
23691         (__chown): Do not use CHECK_STRING.
23692         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23693         <bp-checks.h>.
23694         (truncate64): Do not use CHECK_STRING.
23695         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23696         Likewise.
23697         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23698         (__xmknod): Do not use CHECK_STRING.
23699         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23700         <bp-checks.h>.
23701         (__xmknodat): Do not use CHECK_STRING.
23702         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23703         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23704
23705 2013-02-04  Andreas Schwab  <schwab@suse.de>
23706
23707         [BZ #14142]
23708         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23709         * include/netdb.h: Likewise for h_errno.
23710         * elf/tst-stackguard1.c: Include <tls.h>.
23711
23712 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23713
23714         * elf/link.h (struct link_map): Extend the l_addr comment.
23715         * include/link.h (struct link_map): Likewise.
23716
23717 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23718
23719         [BZ #13550]
23720         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23721         (BOUNDED_1): Remove macro.
23722         * debug/backtrace.c: Don't include <bp-checks.h>.
23723         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23724         (__backtrace): Likewise.
23725         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23726         <bp-checks.h>.
23727         (__backtrace): Don't use BOUNDED_1.
23728         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23729         <bp-checks.h>.
23730         (__backtrace): Don't use BOUNDED_1.
23731         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23732         (__backtrace): Don't use BOUNDED_1.
23733         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23734         (shmat): Don't use BOUNDED_N.
23735
23736 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23737
23738         [BZ #13550]
23739         * sysdeps/generic/bp-start.h: Remove file.
23740         * csu/libc-start.c: Don't include <bp-start.h>.
23741         (LIBC_START_MAIN): Set up __environ directly instead of using
23742         INIT_ARGV_and_ENVIRON.
23743         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23744         <bp-start.h>.
23745
23746         [BZ #13550]
23747         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23748         definitions.
23749         (CHECK_FCNTL): Likewise.
23750         (CHECK_N_PAGES): Likewise.
23751
23752         [BZ #13550]
23753         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23754         definitions.
23755         (CHECK_SIGSET_NULL_OK): Likewise.
23756         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23757         <bp-checks.h>.
23758         (sigpending): Don't use CHECK_SIGSET.
23759         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23760         <bp-checks.h>.
23761         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23762         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23763         <bp-checks.h>.
23764         (do_sigsuspend): Don't use CHECK_SIGSET.
23765         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23766         use CHECK_SIGSET.
23767         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23768         (do_sigwait): Don't use CHECK_SIGSET.
23769         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23770         use CHECK_SIGSET.
23771         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23772         include <bp-checks.h>.
23773         (sigpending): Don't use CHECK_SIGSET.
23774         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23775         include <bp-checks.h>.
23776         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23777         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23778         <bp-checks.h>.
23779         (sigpending): Don't use CHECK_SIGSET.
23780         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23781         <bp-checks.h>.
23782         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23783
23784         [BZ #13550]
23785         * sysdeps/generic/bp-semctl.h: Remove file.
23786         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23787         <bp-checks.h> and <bp-semctl.h>.
23788         (__old_semctl): Don't use CHECK_SEMCTL.
23789         (__new_semctl): Likewise.
23790         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23791         and <bp-semctl.h>.
23792         (__old_semctl): Don't use CHECK_SEMCTL.
23793         (__new_semctl): Likewise.
23794         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23795         <bp-checks.h> and <bp-semctl.h>.
23796         (__old_semctl): Don't use CHECK_SEMCTL.
23797         (__new_semctl): Likewise.
23798         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23799         <bp-checks.h> and <bp-semctl.h>.
23800         (semctl): Don't use CHECK_SEMCTL.
23801
23802         [BZ #13550]
23803         * Makerules (elide-bp-thunks): Remove variable.
23804         (elide-routines.oS): Don't use $(elide-bp-thunks).
23805         (elide-routines.os): Likewise.
23806         (elide-routines.o): Likewise.
23807         (elide-routines.op): Likewise.
23808         (elide-routines.og): Likewise.
23809         (objects): Don't use $(bp-thunks).
23810         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23811         include.
23812         (common-generated): Do not add s-proto-bp.d.
23813         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23814         (int): Likewise.
23815         (typ): Likewise.
23816         Do not generate makefile rules for bounded-pointer thunks.
23817         * sysdeps/generic/bp-thunks.h: Remove file.
23818         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23819         * sysdeps/unix/s-proto-bp.S: Likewise.
23820
23821         [BZ #15062]
23822         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23823         parts of result separately when argument is not close to line from
23824         -i to i and one part of argument is small.
23825         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23826         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23827         * math/libm-test.inc (cacos_test): Add more tests.
23828         (casin_test): Likewise.
23829         (casinh_test): Likewise.
23830         * sysdeps/i386/fpu/libm-test-ulps: Update.
23831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23832
23833 2013-01-31  David S. Miller  <davem@davemloft.net>
23834
23835         * po/de.po: Update from translation team.
23836
23837 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23838
23839         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23840
23841 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23842
23843         * configure.in (_AC_PROG_CC_C89): New definition.
23844         * configure: Regenerate.
23845
23846         * configure.in (AC_PROG_CPP): New definition.
23847         * configure: Regenerate.
23848
23849 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23850
23851         * debug/tst-backtrace.h: New file.
23852         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23853         (ret): Remove variable.
23854         (x): Likewise.
23855         (FAIL): Remove macro.
23856         (NO_INLINE): Likewise.
23857         (fn1): Use match function instead of strstr.
23858         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23859         (ret): Remove variable.
23860         (x): Likewise.
23861         (FAIL): Remove macro.
23862         (NO_INLINE): Likewise.
23863         (fn): Use match function instead of strstr.
23864         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23865         (ret): Remove variable.
23866         (x): Likewise.
23867         (FAIL): Remove macro.
23868         (NO_INLINE): Likewise.
23869         (handle_signal): Use match function instead of strstr.
23870         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23871         (ret): Remove variable.
23872         (x): Likewise.
23873         (FAIL): Remove macro.
23874         (NO_INLINE): Likewise.
23875         (handle_signal): Use match function instead of strstr.
23876
23877 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23878
23879         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23880
23881 2013-01-23  David S. Miller  <davem@davemloft.net>
23882
23883         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23884         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23885         argument of CAS if possible.
23886         * sysdeps/sparc/sparc64/bits/atomic.h
23887         (__arch_compare_and_exchange_val_32_acq): Likewise.
23888         (__arch_compare_and_exchange_val_64_acq): Likewise.
23889
23890 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23891
23892         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23893         * sysdeps/posix/ulimit.c: ... this.
23894         Include <limits.h>.
23895         * sysdeps/unix/bsd/ulimit.c: Remove file.
23896
23897 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23898
23899         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23900         (LDFLAGS-tst-array5): Likewise.
23901
23902 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23903
23904         [BZ #15036]
23905         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23906         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23907         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23908         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23909
23910 2013-01-21  David S. Miller  <davem@davemloft.net>
23911
23912         * sysdeps/sparc/backtrace.c: New file.
23913         * sysdeps/sparc/sparc32/backtrace.h: New file.
23914         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23915         * sysdeps/sparc/sparc64/backtrace.h: New file.
23916         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23917         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23918         -funwind-tables.
23919
23920 2013-01-21  Andreas Schwab  <schwab@suse.de>
23921
23922         [BZ #15020]
23923         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23924         closed its stdout.
23925
23926 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23927
23928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23929         "mpa2.h".
23930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23931
23932 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23933             Mark Mitchell  <mark@codesourcery.com>
23934             Tom de Vries  <tom@codesourcery.com>
23935             Paul Pluzhnikov  <ppluzhnikov@google.com>
23936
23937         * debug/tst-backtrace2.c: New file.
23938         * debug/tst-backtrace3.c: Likewise.
23939         * debug/tst-backtrace4.c: Likewise.
23940         * debug/tst-backtrace5.c: Likewise.
23941         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23942         (CFLAGS-tst-backtrace3.c): Likewise.
23943         (CFLAGS-tst-backtrace4.c): Likewise.
23944         (CFLAGS-tst-backtrace5.c): Likewise.
23945         (LDFLAGS-tst-backtrace2): Likewise.
23946         (LDFLAGS-tst-backtrace3): Likewise.
23947         (LDFLAGS-tst-backtrace4): Likewise.
23948         (LDFLAGS-tst-backtrace5): Likewise.
23949         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23950         tst-backtrace4 and tst-backtrace5.
23951
23952 2013-01-18  Anton Blanchard  <anton@samba.org>
23953             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23954
23955         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23956         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23957         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23958         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23960         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23961         "+r" and remove output regs list as redundant.  Add explicit inline
23962         asm to specify register of return val to work around compiler codegen
23963         bug.  Remove (int) cast on return value.  Add return type parameter to
23964         use in macro so that this macro does not truncate return value for
23965         64-bit values.
23966         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23967         pass to INTERNAL_VSYSCALL_NCS.
23968         (INLINE_VSYSCALL): Add 'long int' as return type to
23969         INTERNAL_VSYSCALL_NCS macro invocation.
23970         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23971         INTERNAL_VSYSCALL_NCS macro invocation.
23972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23973
23974 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23975
23976         [BZ #14496]
23977         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23978         Fix application of SIMD FP exception mask.
23979
23980         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23981         mp_no from a power of two.
23982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23983         __mpexp_twomm1.  Use __pow_mp.
23984
23985         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23986         multiplication.
23987
23988 2013-01-17  David S. Miller  <davem@davemloft.net>
23989
23990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23991
23992 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23993
23994         [BZ #15023]
23995         * include/complex.h: Condition contents on [!_COMPLEX_H].
23996         (__kernel_casinhf): New prototype.
23997         (__kernel_casinh): Likewise.
23998         (__kernel_casinhl): Likewise.
23999         * math/Makefile (libm_calls): Add k_casinh.
24000         * math/k_casinh.c: New file.
24001         * math/k_casinhf.c: Likewise.
24002         * math/k_casinhl.c: Likewise.
24003         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24004         finite nonzero arguments.
24005         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24006         finite nonzero arguments.
24007         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24008         finite nonzero arguments.
24009         * math/s_casinh.c: Do not include <float.h>.
24010         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24011         * math/s_casinhf.c: Do not include <float.h>.
24012         (__casinhf): Move code for finite nonzero arguments to
24013         k_casinhf.c.
24014         * math/s_casinhl.c: Do not include <float.h>.
24015         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24016         redefine.
24017         (__casinhl): Move code for finite nonzero arguments to
24018         k_casinhl.c.
24019         * math/libm-test.inc (cacos_test): Add more tests.
24020         * sysdeps/i386/fpu/libm-test-ulps: Update.
24021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24022
24023 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
24024
24025         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24026         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24027         [!HAVE_MREMAP]: Remove [defined linux] case.
24028         * malloc/arena.c: Do not include <malloc-sysdep.h>.
24029
24030 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24031
24032         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24033
24034 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
24035
24036         * elf/elf.h (R_386_SIZE32): New relocation.
24037         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24038         R_386_SIZE32.
24039         (elf_machine_rela): Likewise.
24040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24041         R_X86_64_SIZE64 and R_X86_64_SIZE32.
24042
24043 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
24044
24045         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24046         (FP_FAST_FMA): Do not define.
24047         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24048         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24049         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24050         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24051         !_SOFT_FLOAT]: Likewise.
24052         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24053         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24054         value.
24055         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24056         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24057         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24058         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24059         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24060         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24061         file.
24062
24063 2013-01-16  Andreas Schwab  <schwab@suse.de>
24064
24065         [BZ #14327]
24066         * include/stdlib.h (__mktemp): Add declaration.
24067         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24068         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24069
24070 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24071
24072         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24073         definitions.
24074         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24075         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24076         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24077         definitions here.
24078         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24079         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24080         definitions.
24081         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24082         and ONE.
24083         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24084         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24085         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24086         definitions.
24087         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24088         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24089         definitions.
24090         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24091
24092         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24093
24094 2013-01-15  David S. Miller  <davem@davemloft.net>
24095
24096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24097         trunc{,f} to libm-sysdep_routes.
24098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24100         file.
24101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24103         file.
24104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24105         file.
24106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24108         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24109         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24110         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24111         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24112         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24113         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24114
24115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24116         nearbyint{,f} to libm-sysdep_routes.
24117         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24119         New file.
24120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24121         file.
24122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24123         New file.
24124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24125         file.
24126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24128         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24129         file.
24130         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24131         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24132         file.
24133         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24134         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24135         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24136
24137         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24138         libc_feholdexcept and libc_fesetenv.
24139
24140 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
24141
24142         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24143
24144 2013-01-14  David S. Miller  <davem@davemloft.net>
24145
24146         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24147         (SPARC_ASM_VIS2_IFUNC): Likewise.
24148         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24150         use of 'siam' instruction.
24151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24152         Likewise.
24153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24154         Likewise.
24155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24156         Likewise.
24157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24162         file.
24163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24164         file.
24165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24166         file.
24167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24168         file.
24169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24171         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24172         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24174         new VIS2 routines.
24175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24178         Likewise.
24179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24184         routines to libm-sysdep_routines.
24185         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24186
24187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24188         fdim/fdimf to libm-sysdep_routines.
24189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24190         file.
24191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24193         file.
24194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24197         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24198         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24199         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24200         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24201
24202 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24203
24204         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24205         to optimize copies.
24206
24207         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24210
24211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24212         local variable MPTWO.
24213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24214         Likewise.
24215
24216 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24217
24218         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24219         GLOB_NOESCAPE.
24220
24221 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24222
24223         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24224
24225 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
24226
24227         * manual/pattern.texi (glob_t): Document gl_flags.
24228         (glob64_t): Likewise.
24229
24230 2013-01-11  David S. Miller  <davem@davemloft.net>
24231
24232         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24233         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24234         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
24235         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24236         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24237         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24238         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24239         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24240         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24241         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24242         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24243         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24244         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24245
24246         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24247         sparc V9 rather than using V8 code.
24248         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24249         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24250
24251         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24252         Move to...
24253         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24254         Here.
24255
24256 2013-01-11  Roland McGrath  <roland@hack.frob.com>
24257
24258         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24259         not in the main loop.
24260         * configure: Regenerated.
24261
24262 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
24263
24264         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24265         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24266         to just #else.
24267         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
24268         [!__GLIBC_HAVE_LONG_LONG] case.
24269         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24270         condition to just #else.
24271         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24272         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24273         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24274         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24275         unconditional.
24276         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24277         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24278         #elif condition to just #else.
24279         * sysdeps/unix/sysv/linux/sys/sysmacros.h
24280         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24281         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24282         #elif condition to just #else.
24283
24284 2013-01-11  Steve Ellcey  <sellcey@mips.com>
24285
24286         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24287         (EF_MIPS_ARCH_64): Fix value.
24288         (EF_MIPS_ARCH_32R2): New.
24289         (EF_MIPS_ARCH_64R2): New.
24290
24291 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
24292
24293         * Makeconfig (+link-pie-before-libc): New.
24294         (+link-pie-after-libc): Likewise.
24295         (+link-pie-tests): Likewise.
24296         (+link-pie): Rewritten.
24297         (link-before-libc): Remove $(config-LDFLAGS).
24298         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24299         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24300         (config-LDFLAGS): Renamed to ...
24301         (rtld-LDFLAGS): This.
24302         (rtld-tests-LDFLAGS): New macro.
24303         (link-libc-rpath-link): Likewise.
24304         (link-libc-tests-rpath-link): Likewise.
24305         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24306         (link-libc): Prepand $(link-libc-rpath-link).
24307         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24308         (test-program-prefix): New macro.
24309         (test-via-rtld-prefix): Likewise.
24310         (test-program-cmd): Likewise.
24311         (host-test-program-cmd): Likewise.
24312         * Makefile ($(common-objpfx)testrun.sh): Replace
24313         $(run-program-prefix) with $(test-program-prefix).
24314         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24315         $(rtld-LDFLAGS).
24316         ($(common-objpfx)shlib.lds): Likewise.
24317         (build-module-helper): Likewise.
24318         ($(common-objpfx)format.lds): Likewise.
24319         * Rules (binaries-pie-tests): New.
24320         (binaries-pie-notests): Likewise.
24321         (binaries-pie): Rewritten.
24322         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24323         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24324         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24325         (make-test-out): Replace $(host-built-program-cmd) with
24326         $(host-test-program-cmd).
24327         * config.make.in (build-hardcoded-path-in-tests): New variable.
24328         * configure.in (--enable-hardcoded-path-in-tests): New configure
24329         option.
24330         (hardcoded_path_in_tests): New AC_SUBST.
24331         * configure: Regenerated.
24332         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24333         $(built-program-cmd) with $(test-program-cmd).
24334         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24335         (test_program_cmd): This.
24336         * elf/Makefile ($(objpfx)order.out): Run test with
24337         $(test-program-prefix).
24338         ($(objpfx)order2.out): Likewise.
24339         ($(objpfx)tst-initorder.out): Likewise.
24340         ($(objpfx)tst-initorder2.out): Likewise.
24341         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24342         $(test-program-cmd).
24343         ($(objpfx)tst-array1-static.out): Likewise.
24344         ($(objpfx)tst-array2.out): Likewise.
24345         ($(objpfx)tst-array3.out): Likewise.
24346         ($(objpfx)tst-array4.out): Likewise.
24347         ($(objpfx)tst-array5.out): Likewise.
24348         ($(objpfx)tst-array5-static.out): Likewise.
24349         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24350         $(test-program-cmd).
24351         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24352         $(run-program-prefix) with $(test-program-prefix).
24353         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24354         (test_program_prefix): This.
24355         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24356         $(run-program-prefix) with $(test-program-prefix).
24357         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24358         (test_program_prefix): This.
24359         * iconvdata/tst-tables.sh: Likewise.
24360         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24361         $(run-program-prefix) with $(test-program-prefix).
24362         ($(objpfx)tst-translit.out): Likewise.
24363         ($(objpfx)tst-gettext2.out): Likewise.
24364         ($(objpfx)tst-gettext4.out): Likewise.
24365         ($(objpfx)tst-gettext6.out): Likewise.
24366         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24367         (test_program_prefix): This.
24368         * intl/tst-gettext2.sh: Likewise.
24369         * intl/tst-gettext4.sh  Likewise.
24370         * intl/tst-gettext6.sh: Likewise.
24371         * intl/tst-translit.sh: Likewise.
24372         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24373         with $(test-program-cmd).
24374         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24375         $(run-program-prefix) with $(test-program-prefix).
24376         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24377         (test_program_prefix): This.
24378         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24379         $(run-program-prefix) with $(test-program-prefix).
24380         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24381         (test_program_prefix): This.
24382         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24383         * posix/Makefile ($(objpfx)globtest.out): Replace
24384         $(run-via-rtld-prefix) and $(test-wrapper) with
24385         $(test-program-prefix) and $(test-via-rtld-prefix).
24386         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24387         $(test-program-prefix).
24388         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24389         $(host-test-program-cmd).
24390         (tst-spawn-ARGS): Likewise.
24391         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24392         $(test-program-prefix).
24393         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24394         (test_via_rtld_prefix): This.
24395         (test_wrapper): Renamed to ...
24396         (test_program_prefix): This.
24397         (run_program_prefix): Replaced by test_program_prefix.
24398         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24399         (test_program_prefix): This.
24400         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24401         with $(host-test-program-cmd).
24402         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24403         $(run-program-prefix) with $(test-program-prefix).
24404         ($(objpfx)tst-printf.out): Likewise.
24405         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24406         $(test-program-cmd).
24407         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24408         (test_program_prefix): This.
24409         * stdio-common/tst-unbputc.sh: Likewise.
24410         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24411         $(run-program-prefix) with $(test-program-prefix).
24412         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24413         (test_program_prefix): This.
24414         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24415         $(built-program-cmd) with $(test-program-cmd).
24416
24417 2013-01-11  Andreas Jaeger  <aj@suse.de>
24418
24419         [BZ #15003]
24420         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24421         value. Sync with Linux 3.7.
24422
24423 2013-01-10  David S. Miller  <davem@davemloft.net>
24424
24425         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24426         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24427         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24428
24429 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24430
24431         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24432         never set.
24433         * configure: Regenerated.
24434
24435 2013-01-10  David S. Miller  <davem@davemloft.net>
24436
24437         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24438         sparc V9 rather than using V8 code.
24439         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24440         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24441
24442 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24443
24444         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24445         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24446         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24447         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24448         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24449         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24450         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24451         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24452         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24453         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24454         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24455         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24456         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24457         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24458         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24459         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24460         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24461         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24462         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24463         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24464         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24465         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24466         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24467         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24468         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24469         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24470         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24471
24472 2013-01-10  David S. Miller  <davem@davemloft.net>
24473
24474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24475
24476 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24477
24478         * posix/Makefile (tests-static): New variable.
24479         (tests): Add $(tests-static).
24480         (tst-exec-static-ARGS): New variable.
24481         (tst-spawn-static-ARGS): Likewise.
24482         * posix/tst-exec-static.c: New file.
24483         * posix/tst-spawn-static.c: Likewise.
24484         * posix/tst-exec.c: Support run directly.
24485         * posix/tst-spawn.c: Likewise.
24486
24487 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24488
24489         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24490         long.
24491         * math/bits/mathcalls.h (llrint): Likewise.
24492         (llround): Likewise.
24493         * stdlib/stdlib.h (struct drand48_data): Likewise.
24494         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24495         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24496         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24497         Likewise.
24498         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24499         Likewise.
24500         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24501         (elf_greg_t): Likewise.
24502         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24503         (__jmp_buf): Likewise.
24504         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24505         definitions.
24506         (llrint): Likewise, for all definitions.
24507         (llrintl): Likewise.
24508
24509         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24510         Remove [__GNUC__] condition.
24511         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24512         condition to just [__USE_ISOC99].
24513         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24514
24515 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24516
24517         [BZ #14200]
24518         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24519         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24520         defined.
24521         (_POSIX_V6_ILP32_OFF32): Likewise.
24522         (_XBS5_ILP32_OFF32): Likewise.
24523         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24524         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24525
24526 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24527
24528         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24529
24530         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24531         doubles __mpexp_twomm1.  Adjust usage.
24532         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24533         Remove.
24534
24535 2013-01-10  Andreas Schwab  <schwab@suse.de>
24536
24537         [BZ #14964]
24538         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24539         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24540
24541 2013-01-09  David S. Miller  <davem@davemloft.net>
24542
24543         [BZ #15003]
24544         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24545         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24546         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24547         (TCP_FASTOPEN): Define.
24548         (tcp_repair_opt): New structure.
24549         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24550         enum values.
24551         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24552         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24553         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24554         (tcp_cookie_transactions): New structure.
24555
24556 2013-01-09  Anton Blanchard  <anton@samba.org>
24557
24558         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24559         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24560         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24561         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24562
24563 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24564
24565         * include/features.h (__USE_ANSI): Remove.
24566
24567 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24568
24569         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24570
24571         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24572
24573 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24574
24575         * sysdeps/s390/fpu/libm-test-ulps: Update.
24576
24577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24578
24579         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24580         (__acr): Likewise.
24581         (__cpy): Likewise.
24582         (norm): Likewise.
24583         (denorm): Likewise.
24584         (__mp_dbl): Likewise.
24585         (__dbl_mp): Likewise.
24586         (add_magnitudes): Likewise.
24587         (sub_magnitudes): Likewise.
24588         (__add): Likewise.
24589         (__sub): Likewise.
24590         (__mul): Likewise.
24591         (__inv): Likewise.
24592         (__dvd): Likewise.
24593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24594         (__acr): Likewise.
24595         (__cpy): Likewise.
24596         (norm): Likewise.
24597         (denorm): Likewise.
24598         (__mp_dbl): Likewise.
24599         (__dbl_mp): Likewise.
24600         (add_magnitudes): Likewise.
24601         (sub_magnitudes): Likewise.
24602         (__add): Likewise.
24603         (__sub): Likewise.
24604         (__mul): Likewise.
24605         (__inv): Likewise.
24606         (__dvd): Likewise.
24607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24608         (__acr): Likewise.
24609         (__cpy): Likewise.
24610         (norm): Likewise.
24611         (denorm): Likewise.
24612         (__mp_dbl): Likewise.
24613         (__dbl_mp): Likewise.
24614         (add_magnitudes): Likewise.
24615         (sub_magnitudes): Likewise.
24616         (__add): Likewise.
24617         (__sub): Likewise.
24618         (__mul): Likewise.
24619         (__inv): Likewise.
24620         (__dvd): Likewise.
24621
24622 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24623
24624         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24625         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24626         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24627         2 && __USE_EXTERN_INLINES]: Likewise.
24628
24629 2013-01-08  Andreas Jaeger  <aj@suse.de>
24630
24631         [BZ# 14985]
24632         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24633         Remove.
24634         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24635         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24636
24637 2013-01-07  Anton Blanchard  <anton@samba.org>
24638
24639         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24640         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24641         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24642         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24643         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24644         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24645         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24646         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24647         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24648         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24649         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24650         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24651         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24652         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24653         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24654         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24655         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24656         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24657         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24658         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24659         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24660         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24661         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24662         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24663         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24664         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24665         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24666         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24667         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24668         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24669         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24670         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24671         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24672         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24673         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24674         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24675         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24676         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24677         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24678         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24679         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24680         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24681         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24682
24683 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24684
24685         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24686         (__MALLOC_PMT): Likewise.
24687         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24688         [__GNUC__], only on [_LIBC].
24689         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24690         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24691         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24692         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24693         forward declaration.
24694         (realloc_hook_ini): Likewise.
24695         (memalign_hook_ini): Likewise.
24696         (__libc_memalign): Do not use __MALLOC_PMT in variable
24697         declaration.
24698         (__libc_valloc): Likewise.
24699         (__libc_pvalloc): Likewise.
24700         (__libc_calloc): Likewise.
24701         (__posix_memalign): Likewise.
24702
24703         [BZ #14996]
24704         * math/s_casinh.c: Include <float.h>.
24705         (__casinh): Do not do computation with squaring and square root
24706         for large arguments.
24707         * math/s_casinhf.c: Include <float.h>.
24708         (__casinhf): Do not do computation with squaring and square root
24709         for large arguments.
24710         * math/s_casinhl.c: Include <float.h>.
24711         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24712         (__casinhl): Do not do computation with squaring and square root
24713         for large arguments.
24714         * math/libm-test.inc (casin_test): Add more tests.
24715         (casinh_test): Likewise.
24716         * sysdeps/i386/fpu/libm-test-ulps: Update.
24717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24718
24719 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24720
24721         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24722         (__x86_64_raw_data_cache_size): Likewise.
24723         (__x86_64_data_cache_size_half): Likewise.
24724         (__x86_64_raw_data_cache_size_half): Likewise.
24725         (__x86_64_shared_cache_size): Likewise.
24726         (__x86_64_raw_shared_cache_size): Likewise.
24727         (__x86_64_shared_cache_size_half): Likewise.
24728         (__x86_64_raw_shared_cache_size_half): Likewise.
24729         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24730         to ...
24731         (__x86_data_cache_size): This.
24732         (__x86_64_raw_data_cache_size): Renamed to ...
24733         (__x86_raw_data_cache_size): This.
24734         (__x86_64_data_cache_size_half): Renamed to ...
24735         (__x86_data_cache_size_half): This.
24736         (__x86_64_raw_data_cache_size_half): Renamed to ...
24737         (__x86_raw_data_cache_size_half): This.
24738         (__x86_64_shared_cache_size): Renamed to ...
24739         (__x86_shared_cache_size): This.
24740         (__x86_64_raw_shared_cache_size): Renamed to ...
24741         (__x86_raw_shared_cache_size): This.
24742         (__x86_64_shared_cache_size_half): Renamed to ...
24743         (__x86_shared_cache_size_half): This.
24744         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24745         (__x86_raw_shared_cache_size_half): This.
24746         * sysdeps/x86_64/memcpy.S: Updated.
24747         * sysdeps/x86_64/memset.S: Likewise.
24748         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24749         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24750         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24751
24752 2013-01-04  David S. Miller  <davem@davemloft.net>
24753
24754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24755
24756 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24757
24758         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24759         1 to avoid redefinition warning.
24760         (__USE_GNU): Don't define.
24761         (init_signaling_nan): Protoize.
24762
24763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24764
24765 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24766
24767         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24769         (__cpymn): Likewise.
24770         (norm): Remove commented code.
24771         (denorm): Likewise.
24772         (__mp_dbl): Likewise.
24773         (__inv): Likewise.
24774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24775         (__cpymn): Likewise.
24776         (norm): Remove commented code.
24777         (denorm): Likewise.
24778         (__mp_dbl): Likewise.
24779         (__inv): Likewise.
24780
24781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24782         mp_no value for 1.0 and 2.0.
24783         (norm): Use RADIXI instead of radixi.d.
24784         (denorm): Likewise.
24785         (__mul): Use 0.0 instead of zero.d.
24786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24787         mp_no value for 1.0 and 2.0.
24788         (norm): Use RADIXI instead of radixi.d.
24789         (denorm): Likewise.
24790         (__mul): Use 0.0 instead of zero.d.
24791
24792 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24793
24794         [BZ #14994]
24795         * math/s_casinh.c (__casinh): Reduce finite argument to first
24796         quadrant then set signs of results at the end.
24797         * math/s_casinhf.c (__casinhf): Likewise.
24798         * math/s_casinhl.c (__casinhl): Likewise.
24799         * math/libm-test.inc (casin_test): Add more tests.
24800         (casinh_test): Likewise.
24801         * sysdeps/i386/fpu/libm-test-ulps: Update.
24802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24803
24804 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24805
24806         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24807
24808         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24809
24810         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24811         declarations.
24812         (denorm): Likewise.
24813         (__mp_dbl): Likewise.
24814         (__inv): Likewise.
24815
24816         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24817         and adjust the header comment.
24818
24819         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24820         variable name from declaration.
24821
24822 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24823
24824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24825         Initialize COMMON_CPUID_INDEX_7 element.
24826         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24827         (CPUID_RTM): Likewise.
24828         (HAS_RTM): Likewise.
24829         (COMMON_CPUID_INDEX_7): New enum.
24830
24831 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24832
24833         [BZ #14981]
24834         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24835         size is zero, record memory as freed.
24836
24837 2013-01-03  Andreas Jaeger  <aj@suse.de>
24838
24839         * po/ia.po: Add new Interlingua translation.
24840
24841 2012-01-03  Allan McRae  <allan@archlinux.org>
24842
24843         * locale/programs/localedef.c: Fix description of '--posix' flag.
24844
24845 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24846
24847         * NEWS: Update dates in second copyright notice.
24848         * README: Update copyright dates in example.
24849         * manual/libc.texinfo: Update copyright dates.
24850         * scripts/test-installation.pl: Update copyright date in --version
24851         output.
24852
24853         * hurd/ctty-input.c: Fix copyright notice formatting.
24854         * hurd/ctty-output.c: Likewise.
24855         * hurd/dtable.c: Likewise.
24856         * hurd/hurd-raise.c: Likewise.
24857         * hurd/hurdprio.c: Likewise.
24858         * hurd/msgportdemux.c: Likewise.
24859         * misc/sys/file.h: Likewise.
24860         * misc/sys/ioctl.h: Likewise.
24861         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24862         * sysdeps/mach/hurd/chdir.c: Likewise.
24863         * sysdeps/mach/hurd/fchdir.c: Likewise.
24864         * sysdeps/mach/hurd/rename.c: Likewise.
24865         * sysdeps/mach/hurd/rmdir.c: Likewise.
24866         * sysdeps/mach/hurd/seekdir.c: Likewise.
24867         * sysdeps/mach/hurd/setsid.c: Likewise.
24868         * sysdeps/posix/wait3.c: Likewise.
24869
24870         * All files with FSF copyright notices: Update copyright dates
24871         using scripts/update-copyrights.
24872         * intl/plural.c: Regenerated.
24873         * locale/programs/charmap-kw.h: Likewise.
24874         * locale/programs/locfile-kw.h: Likewise.
24875
24876 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24877
24878         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24879         four values.
24880
24881         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24882         calculation loop and add branch prediction.
24883
24884         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24885         check access beyond bounds of m1np.
24886
24887         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24888         MPTWO.
24889         (__inv): Remove local variable MPTWO to use the global
24890         constant.
24891         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24892         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24893         variable MPTWO.
24894         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24895         MP3HALFS static const.
24896
24897 2013-01-01  David S. Miller  <davem@davemloft.net>
24898
24899         * po/ca.po: Update from translation team.
24900
24901 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24902
24903         * scripts/update-copyrights: New file.
24904         * Makeconfig: Reformat copyright notice.
24905         * ctype/ctype.h: Likewise.
24906         * debug/swprintf_chk.c: Likewise.
24907         * elf/dl-cache.c: Likewise.
24908         * elf/dl-debug.c: Likewise.
24909         * elf/dl-object.c: Likewise.
24910         * grp/initgroups.c: Likewise.
24911         * hurd/Makefile: Likewise.
24912         * hurd/hurd/signal.h: Likewise.
24913         * hurd/hurdfault.c: Likewise.
24914         * hurd/hurdioctl.c: Likewise.
24915         * hurd/hurdlookup.c: Likewise.
24916         * hurd/intr-msg.c: Likewise.
24917         * iconv/gconv_open.c: Likewise.
24918         * libio/swprintf.c: Likewise.
24919         * locale/lc-ctype.c: Likewise.
24920         * locale/nl_langinfo.c: Likewise.
24921         * mach/Machrules: Likewise.
24922         * mach/Makefile: Likewise.
24923         * malloc/obstack.h: Likewise.
24924         * manual/Makefile: Likewise.
24925         * manual/tsort.awk: Likewise.
24926         * misc/bits/stab.def: Likewise.
24927         * nis/nis_print_group_entry.c: Likewise.
24928         * nis/nis_table.c: Likewise.
24929         * nis/nss_compat/compat-pwd.c: Likewise.
24930         * nis/nss_compat/compat-spwd.c: Likewise.
24931         * po/Makefile: Likewise.
24932         * posix/fnmatch.c: Likewise.
24933         * posix/regex.h: Likewise.
24934         * resolv/Makefile: Likewise.
24935         * resolv/nss_dns/dns-network.c: Likewise.
24936         * resolv/res_hconf.c: Likewise.
24937         * scripts/gen-sorted.awk: Likewise.
24938         * soft-fp/soft-fp.h: Likewise.
24939         * stdio-common/printf.h: Likewise.
24940         * stdlib/monetary.h: Likewise.
24941         * stdlib/random.c: Likewise.
24942         * stdlib/random_r.c: Likewise.
24943         * sysdeps/generic/Makefile: Likewise.
24944         * sysdeps/gnu/Makefile: Likewise.
24945         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24947         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24948         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24949         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24950         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24951         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24952         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24953         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24954         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24955         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24956         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24957         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24958         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24959         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24960         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24961         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24962         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24963         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24964         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24965         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24966         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24967         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24968         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24969         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24970         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24971         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24972         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24973         * sysdeps/mach/hurd/errnos.awk: Likewise.
24974         * sysdeps/mach/hurd/fork.c: Likewise.
24975         * sysdeps/mach/hurd/getcwd.c: Likewise.
24976         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24977         * sysdeps/mach/hurd/mmap.c: Likewise.
24978         * sysdeps/mach/hurd/utimes.c: Likewise.
24979         * sysdeps/mach/hurd/xmknod.c: Likewise.
24980         * sysdeps/posix/profil.c: Likewise.
24981         * sysdeps/posix/readdir_r.c: Likewise.
24982         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24983         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24984         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24985         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24986         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24987         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24988         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24989         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24991         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24992         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24993         * sysdeps/pthread/lio_listio.c: Likewise.
24994         * sysdeps/sparc/dl-procinfo.h: Likewise.
24995         * sysdeps/unix/i386/sysdep.S: Likewise.
24996         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24997         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24998         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24999         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25001         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25002         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25003         * sysdeps/unix/sysv/linux/speed.c: Likewise.
25004         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25005         * sysdeps/wordsize-32/divdi3.c: Likewise.
25006         * time/sys/time.h: Likewise.
25007         * wcsmbs/Makefile: Likewise.
25008
25009 2013-01-01  David S. Miller  <davem@davemloft.net>
25010
25011         * po/fr.po: Update from translation team.
25012
25013         * catgets/gencat.c: Update copyright year.
25014         * csu/version.c: Likewise.
25015         * debug/catchsegv.sh: Likewise.
25016         * debug/pcprofiledump.c: Likewise.
25017         * debug/xtrace.sh: Likewise.
25018         * elf/ldconfig.c: Likewise.
25019         * elf/ldd.bash.in: Likewise.
25020         * elf/pldd.c: Likewise.
25021         * elf/sotruss.ksh: Likewise.
25022         * elf/sprof.c: Likewise.
25023         * iconv/iconv_prog.c: Likewise.
25024         * iconv/iconvconfig.c: Likewise.
25025         * locale/programs/locale.c: Likewise.
25026         * locale/programs/localedef.c: Likewise.
25027         * login/programs/pt_chown.c: Likewise.
25028         * malloc/memusage.sh: Likewise.
25029         * malloc/memusagestat.c: Likewise.
25030         * malloc/mtrace.pl: Likewise.
25031         * nscd/nscd.c: Likewise.
25032         * nss/getent.c: Likewise.
25033         * nss/makedb.c: Likewise.
25034         * posix/getconf.c: Likewise.
25035
25036 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25037
25038         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25039         numbers.
25040
25041 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
25042
25043         * math/bits/mathcalls.h (modf): Use __nonnull.
25044
25045 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25046
25047         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25048         (split): Use macro CN instead of the bare value.
25049         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25050         could be used.
25051         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25052         instead of the bare value.
25053         (power1): Likewise.
25054
25055 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25056
25057         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25058         __ATAN_TWOM.
25059         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25060
25061         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25062         their values.
25063         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25064         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25065         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25066         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25067
25068 2012-12-28  Andreas Jaeger  <aj@suse.de>
25069
25070         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
25071         values are from Linux 3.7.
25072
25073         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25074         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
25075
25076 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25077
25078         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25079         TRUE case.
25080
25081         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25082         (norm): Likewise.
25083         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25084         variables with preprocessor constants.
25085         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25086         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25087         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25088
25089 2012-12-27  Bruno Haible  <bruno@clisp.org>
25090
25091         [BZ #14317]
25092         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25093         only if needed.
25094
25095 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25096
25097         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25098         and use variable directly.
25099         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25100
25101         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25102         MPONE.
25103         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25104         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25105         variable MPONE.
25106         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25107         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25108         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25109         include directive.  Remove local variable MPONE.
25110         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25111         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25112         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25113
25114 2012-12-25  David S. Miller  <davem@davemloft.net>
25115
25116         * version.h (RELEASE): Set to "development".
25117         (VERSION): Set to "2.17.90".
25118         * NEWS: Add 2.18 section.
25119
25120 2012-12-21  David S. Miller  <davem@davemloft.net>
25121
25122         * po/hr.po: Update from translation team.
25123
25124 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25125
25126         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25127
25128 2012-12-19  Steve Ellcey  <sellcey@mips.com>
25129
25130         * NEWS:  Mention new memcpy for MIPS.
25131
25132 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25133
25134         * manual/contrib.texi (Contributors): Spelling correction.
25135
25136 2012-12-15  David S. Miller  <davem@davemloft.net>
25137
25138         * po/ru.po: Update from translation team.
25139
25140 2012-12-13  David S. Miller  <davem@davemloft.net>
25141
25142         * NEWS: Mention IFUNC testsuite enhancements.
25143
25144         * po/pl.po: Update from translation team.
25145         * po/bg.po: Likewise.
25146
25147         * manual/contrib.texi (Contributors): Update entries for Hongjiu
25148         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
25149
25150 2012-12-11  David S. Miller  <davem@davemloft.net>
25151
25152         * po/sv.po: Update from translation team.
25153
25154         * po/vi.po: Update from translation team.
25155
25156         * po/cs.po: Update from translation team.
25157
25158         * po/de.po: Update from translation team.
25159         * po/eo.po: Likewise.
25160         * po/nl.po: Likewise.
25161
25162 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25163
25164         [BZ #14246]
25165         * manual/argp.texi (Argp Helper Functions): Move node to follow
25166         Argp Parsing State.
25167
25168         [BZ #14872]
25169         * manual/conf.texi (Limits on File System Capacity): Mention if
25170         terminating null is included in the max size.
25171
25172 2012-12-10  Andreas Jaeger  <aj@suse.de>
25173
25174         * po/cs.po: Update from translation team.
25175
25176 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25177
25178         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25179         void pointer and cast to uintptr_t.
25180         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25181         path.
25182         * sysdeps/s390/s390-64/memcpy.S: Likewise.
25183         * sysdeps/s390/s390-64/memset.S: Likewise.
25184
25185 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
25186
25187         [BZ #14833]
25188         * menual/message.texi (Message Translation): Fix typos.
25189         (Helper programs for gettext): Likewise.
25190
25191 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
25192
25193         [BZ #14898]
25194         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25195         Change to -1.
25196
25197 2012-12-07  David S. Miller  <davem@davemloft.net>
25198
25199         * po/libc.pot: Update.
25200
25201 2012-12-07  Richard Henderson  <rth@redhat.com>
25202
25203         [BZ #10114]
25204         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25205         normal/normal case to before the switch.
25206         (_FP_DIV): Likewise.
25207
25208 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
25209             Mike Frysinger  <vapier@gentoo.org>
25210
25211         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25212         check for __NR_fadvise64_64.
25213
25214 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
25215
25216         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25217         0, not just to plain "0" as a statement.
25218         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25219         with cw.
25220
25221 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
25222
25223         * NEWS: Use sourceware.org in Bugzilla URL.
25224
25225 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25226
25227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25228         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25229
25230         * stdio-common/tst-put-error.c (do_test): Add newline to the
25231         padded test to ensure flush.
25232
25233 2012-12-05  Jeff Law  <law@redhat.com>
25234
25235         * sunrpc/etc.rpc (fedfs_admin): Add entry.
25236
25237 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
25238
25239         * README: Don't refer to ports add-on as distributed separately.
25240         Mention AArch64 in list of systems supported in the ports add-on.
25241
25242         * LICENSES: Add more non-FSF copyright and license notices.
25243
25244         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25245         ((unused)).
25246
25247         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25248
25249         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25250         10000 as width of padded output.
25251
25252 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25253
25254         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25255
25256         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25257         variable LX with __attribute__ ((unused)).
25258         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25259         Likewise.
25260         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25262         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25263         with __attribute__ ((unused)).
25264
25265 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
25266
25267         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25268
25269 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
25270
25271         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25272         (CFLAGS-nldbl-acos.c): New variable.
25273         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25274         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25275         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25276         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25277         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25278         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25279         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25280         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25281         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25282         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25283         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25284         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25285         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25286         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25287         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25288         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25289         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25290         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25291         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25292         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25293         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25294         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25295         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25296         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25297         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25298         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25299         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25300         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25301         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25302         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25303         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25304         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25305         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25306         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25307         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25308         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25309         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25310         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25311         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25312         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25313         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25314         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25315         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25316         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25317         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25318         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25319         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25320         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25321         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25322         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25323         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25324         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25325         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25326         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25327         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25328         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25329         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25330         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25331         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25332         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25333         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25334         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25335         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25336         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25337         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25338         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25339         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25340         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25341         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25342         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25343         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25344         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25345         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25346         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25347         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25348         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25349         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25350         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25351         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25352         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25353         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25354         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25355         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25356         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25357         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25358         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25359         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25360         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25361         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25362         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25363         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25364         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25365         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25366         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25367         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25368         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25369         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25370
25371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25372         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25373
25374         [BZ #14914]
25375         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25376         whole low double instead of just low 47 bits when splitting values
25377         into two parts.
25378
25379 2012-12-03  Allan McRae  <allan@archlinux.org>
25380
25381         * manual/stdio.texi (Predefined Printf Handlers): Remove
25382         @hsep and @vsep usage.
25383
25384 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25385
25386         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25387         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25388
25389 2012-12-03  Jeff Law  <law@redhat.com>
25390
25391         * time/sys/time.h (settimeofday): Do not mark TV argument
25392         as __nonnull.
25393
25394 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25395
25396         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25397         when currently writing and seek to current position when not.
25398         * libio/Makefile (tests): Remove bug-fclose1.
25399         * libio/bug-fclose1.c: Delete.
25400
25401 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25402
25403         * manual/arith.texi (feenableexcept): Fix typo.
25404         (fedisableexcept): Likewise.
25405
25406 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25407
25408         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25409         second, differently-typed declaration, rather than a cast.
25410
25411 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25412
25413         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25414         * include/rpc/svc.h: ... here.
25415
25416 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25417
25418         [BZ #13013]
25419         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25420         depending n and resplen2 to catch cases where answer
25421         equals answerp2.
25422
25423 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25424
25425         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25426         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25427
25428 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25429
25430         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25431
25432 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25433
25434         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25435
25436 2012-11-28  Jeff Law  <law@redhat.com>
25437
25438         [BZ #13761]
25439         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25440         dataset_temporary.  Track alloca usage into alloca_used.
25441         If dataset is large allocate and release it via malloc/free.
25442
25443 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25444
25445         [BZ #14197]
25446         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25447
25448 2012-11-28  David S. Miller  <davem@davemloft.net>
25449
25450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25451
25452 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25453
25454         [BZ #14803]
25455         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25456         of pi/2 rounded to nearest to 64 bits.
25457         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25458         nearest to 64 bits.
25459         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25460         bits.
25461
25462 2012-11-28  Jeff Law <law@redhat.com>
25463             Martin Osvald <mosvald@redhat.com>
25464
25465         [BZ #14889]
25466         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25467         * sunrpc/svc.c: Include time.h.
25468         (__svc_accept_failed): New function.
25469         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25470         any reason other than EINTR, call __svc_accept_failed.
25471         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25472         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25473
25474 2012-11-28  Andreas Schwab  <schwab@suse.de>
25475
25476         * scripts/abilist.awk: Also handle indirect functions in .opd
25477         section.
25478
25479 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25480
25481         [BZ #13881]
25482         * sysdeps/x86/fpu/powl_helper.c: New file.
25483         * sysdeps/x86/fpu/Makefile: Likewise.
25484         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25485         (p3): New object.
25486         (__ieee754_powl): Use __powl_helper for finite arguments except
25487         integer exponents below 8.
25488         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25489         (p3): New object.
25490         (__ieee754_powl): Use __powl_helper for finite arguments except
25491         integer exponents below 8.
25492         * math/libm-test.inc (pow_test): Add more tests and enable some
25493         previously disabled tests.
25494         * sysdeps/i386/fpu/libm-test-ulps: Update.
25495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25496
25497 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25498             Carlos O'Donell  <carlos_odonell@mentor.com>
25499
25500         * nss/makedb.c (is_prime): Assert that input is odd and greater
25501         than 4.  Note that fact in a comment too.
25502         (next_prime): Add 4 to input.
25503
25504 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25505
25506         [BZ #11741]
25507         * libio/Makefile (tests): Add test case tst-fwrite-error.
25508         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25509         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25510         * libio/tst-fwrite-error.c: New test case.
25511
25512 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25513
25514         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25515         before casting to void *.
25516         * include/libc-internal.h (__pointer_type): New macro.
25517         (__integer_if_pointer_type_sub): Likewise.
25518         (__integer_if_pointer_type): Likewise.
25519         (cast_to_integer): Likewise.
25520         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25521         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25522         before casting to atomic64_t.
25523         (atomic_exchange_acq): Likewise.
25524         (__arch_exchange_and_add_body): Likewise.
25525         (__arch_add_body): Likewise.
25526         (atomic_add_negative): Likewise.
25527         (atomic_add_zero): Likewise.
25528
25529 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25530
25531         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25532         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25533         (add_fdes): Likewise.
25534         (linear_search_fdes): Likewise.
25535         (binary_search_unencoded_fdes): Likewise.
25536
25537 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25538
25539         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25540
25541 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25542
25543         * configure.in: Autodetect C++ header directories.
25544         * configure: Regenerated.
25545
25546 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25547
25548         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25549
25550 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25551
25552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25553
25554 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25555
25556         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25557         LDBL_MANT_DIG == 106]: Disable some tests.
25558         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25559         Likewise.
25560         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25561         Likewise.
25562
25563         [BZ #14871]
25564         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25565         input for small inputs.  Return +/- pi/2 for large inputs.
25566         * math/libm-test.inc (atan_test): Add more tests.
25567
25568         * sysdeps/generic/unwind-dw2-fde-glibc.c
25569         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25570         __attribute__ ((unused)).
25571
25572         [BZ #14645]
25573         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25574         x * y if x and y are nonzero and z is zero.
25575
25576         [BZ #14811]
25577         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25578         nonzero exponents with absolute value below 0x1p-117 to +/-
25579         0x1p-117.
25580
25581         [BZ #14869]
25582         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25583         up arguments below 2**-450, not just those below 2**-500.
25584         * math/libm-test.inc (hypot_test): Add another test.
25585
25586         [BZ #14868]
25587         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25588         Return a+b for ratio over 2**120, not 2**60.
25589         * math/libm-test.inc (hypot_test): Add another test.
25590
25591         * math/libm-test.inc (clog_test): Use
25592         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25593         (clog10_test): Likewise.
25594
25595         [BZ #6778]
25596         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25597
25598 2012-11-22  Andreas Schwab  <schwab@suse.de>
25599
25600         * sysdeps/i386/fpu/libm-test-ulps: Update.
25601
25602 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25603
25604         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25605         printf output with newline.
25606
25607 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25608
25609         [BZ #14865]
25610         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25611         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25612         -z nodlopen, -z initfirst and -z execstack support.
25613         * configure: Regenerated.
25614
25615         * elf/elf.h (DF_1_NODIRECT): New macro.
25616         (DF_1_IGNMULDEF): Likewise.
25617         (DF_1_NOKSYMS): Likewise.
25618         (DF_1_NOHDR): Likewise.
25619         (DF_1_EDITED): Likewise.
25620         (DF_1_NORELOC): Likewise.
25621         (DF_1_SYMINTPOSE): Likewise.
25622         (DF_1_GLOBAUDIT): Likewise.
25623         (DF_1_SINGLETON): Likewise.
25624         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25625         DT_1_SUPPORTED_MASK bits.
25626         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25627
25628 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25629
25630         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25631
25632 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25633
25634         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25635         macro.
25636
25637         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25638         (sendmmsg): Move declarations...
25639         * socket/sys/socket.h: ... here.
25640         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25641         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25642         include it from...
25643         * socket/recvmmsg.c: ... this new file.
25644         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25645         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25646         definition of __sendmmsg hidden.
25647         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25648         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25649         Move ENOSYS stub into and include it from...
25650         * socket/sendmmsg.c: ... this new file.
25651         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25652         (sysdep_routines): Move recvmmsg and sendmmsg...
25653         * socket/Makefile (routines): ... here.
25654         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25655         (GLIBC_PRIVATE): Add __sendmmsg.
25656         * include/sys/socket.h (__sendmmsg): Add declarations.
25657         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25658         sendmmsg.
25659
25660 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25661
25662         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25663         variable I1 with __attribute__ ((unused)).
25664         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25665
25666 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25667
25668         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25669         DUMMY variables with __attribute__ ((unused)).
25670
25671         * bits/byteswap.h: Include <bits/types.h>.
25672         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25673
25674 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25675
25676         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25677         string_t.  Do not manually set errno.
25678         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25679         length with __strnlen.  Make sure to both set errno and return it on
25680         failure.
25681
25682 2012-11-19  David S. Miller  <davem@davemloft.net>
25683
25684         With help from Joseph Myers.
25685         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25686         very large arguments properly.
25687         * math/libm-test.inc (atan_test): New tests.
25688         (atan2_test): New tests.
25689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25691
25692 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25693
25694         [BZ #14856]
25695         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25696         Define to 3.
25697
25698         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25699         [POSIX] (EADDRNOTAVAIL): Likewise.
25700         [POSIX] (EAFNOSUPPORT): Likewise.
25701         [POSIX] (EALREADY): Likewise.
25702         [POSIX] (ECONNABORTED): Likewise.
25703         [POSIX] (ECONNREFUSED): Likewise.
25704         [POSIX] (ECONNRESET): Likewise.
25705         [POSIX] (EDESTADDRREQ): Likewise.
25706         [POSIX] (EDQUOT): Likewise.
25707         [POSIX] (EHOSTUNREACH): Likewise.
25708         [POSIX] (EIDRM): Likewise.
25709         [POSIX] (EISCONN): Likewise.
25710         [POSIX] (ELOOP): Likewise.
25711         [POSIX] (EMULTIHOP): Likewise.
25712         [POSIX] (ENETDOWN): Likewise.
25713         [POSIX] (ENETUNREACH): Likewise.
25714         [POSIX] (ENOBUFS): Likewise.
25715         [POSIX] (ENODATA): Likewise.
25716         [POSIX] (ENOLINK): Likewise.
25717         [POSIX] (ENOMSG): Likewise.
25718         [POSIX] (ENOPROTOOPT): Likewise.
25719         [POSIX] (ENOSR): Likewise.
25720         [POSIX] (ENOSTR): Likewise.
25721         [POSIX] (ENOTCONN): Likewise.
25722         [POSIX] (ENOTSOCK): Likewise.
25723         [POSIX] (EOPNOTSUPP): Likewise.
25724         [POSIX] (EOVERFLOW): Likewise.
25725         [POSIX] (EPROTO): Likewise.
25726         [POSIX] (EPROTONOSUPPORT): Likewise.
25727         [POSIX] (EPROTOTYPE): Likewise.
25728         [POSIX] (ESTALE): Likewise.
25729         [POSIX] (ETIME): Likewise.
25730         [POSIX] (ETXTBSY): Likewise.
25731         [POSIX] (EWOULDBLOCK): Likewise.
25732         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25733         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25734         [POSIX] (SEEK_CUR): Likewise.
25735         [POSIX] (SEEK_END): Likewise.
25736         [POSIX || UNIX98] (mode_t): Do not require.
25737         [POSIX] (off_t): Likewise.
25738         [POSIX] (pid_t): Likewise.
25739         [POSIX] (sys/stat.h): Do not allow header.
25740         [POSIX] (unistd.h): Likewise.
25741         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25742         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25743         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25744         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25745         require.
25746         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25747         sigevent): Specify elements.
25748         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25749         entry.
25750         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25751         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25752
25753         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25754         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25755         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25756         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25757         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25758         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25759         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25760         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25761         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25762         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25763         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25764         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25765         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25766         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25767         Likewise.
25768         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25769         Likewise.
25770         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25771         Likewise.
25772         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25773         Likewise.
25774         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25775         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25776         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25777         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25778         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25779         Specify lower bound on value.
25780         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25781         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25782         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25783         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25784         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25785         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25786         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25787         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25788         value.
25789         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25790         as optional.
25791         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25792         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25793         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25794         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25795         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25796         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25797         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25798         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25799         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25800         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25801         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25802         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25803         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25804         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25805         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25806         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25807         entry.
25808         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25809         optional.
25810         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25811         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25812         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25813         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25814         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25815         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25816         Likewise.
25817         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25818         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25819         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25820         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25821         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25822         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25823         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25824         as optional.
25825         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25826         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25827         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25828         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25829         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25830         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25831         specify as optional.
25832         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25833         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25834         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25835         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25836         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25837         [XPG3] (NL_LANGMAX): Likewise.
25838         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25839         [POSIX || XPG3] (NL_NMAX): Likewise.
25840         [POSIX || XPG3] (NL_SETMAX): Likewise.
25841         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25842         [XPG3] (NZERO): Likewise.
25843         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25844         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25845         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25846         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25847         (REG_ERANGE): Expect.
25848         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25849         optional-constant.
25850         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25851         Use (void) in prototype.
25852         [POSIX] (*_t): Allow.
25853         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25854         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25855         (WRDE_BADVAL): Expect.
25856
25857         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25858         expect.
25859         [XPG3 || XPG4] (O_RSYNC): Likewise.
25860         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25861         Likewise.
25862         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25863         [XPG3 || XPG4] (sigqueue): Likewise.
25864         [XPG3 || XPG4] (sigtimedwait): Likewise.
25865         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25866         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25867         [XPG3 || XPG4] (vsnprintf): Likewise.
25868         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25869         Likewise.
25870         [XPG3 || XPG4] (blksize_t): Likewise.
25871         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25872         Likewise.
25873         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25874         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25875         [XPG3 || XPG4] (struct itimerspec): Likewise.
25876         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25877         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25878         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25879         [XPG3 || XPG4] (clockid_t): Likewise.
25880         [XPG3 || XPG4] (timer_t): Likewise.
25881         [XPG3 || XPG4] (clock_getres): Likewise.
25882         [XPG3 || XPG4] (clock_gettime): Likewise.
25883         [XPG3 || XPG4] (clock_settime): Likewise.
25884         [XPG3 || XPG4] (nanosleep): Likewise.
25885         [XPG3 || XPG4] (timer_create): Likewise.
25886         [XPG3 || XPG4] (timer_delete): Likewise.
25887         [XPG3 || XPG4] (timer_gettime): Likewise.
25888         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25889         [XPG3 || XPG4] (timer_settime): Likewise.
25890         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25891         [XPG3 || XPG4] (getlogin_r): Likewise.
25892         [XPG3 || XPG4] (pread): Likewise.
25893         [XPG3 || XPG4] (pthread_atfork): Likewise.
25894         [XPG3 || XPG4] (pwrite): Likewise.
25895
25896         [BZ #14835]
25897         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25898         <bits/siginfo.h>.
25899
25900 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25901
25902         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25903         finalizing MALLSTREAM.
25904
25905         * sysdeps/mach/hurd/syncfs.c: New file.
25906
25907 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25908
25909         [BZ #14719]
25910         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25911         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25912         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25913         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25914         (_nss_dns_gethostbyname4_r): Likewise.
25915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25916         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25917
25918 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25919
25920         [BZ #13763]
25921         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25922
25923 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25924
25925         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25926         * elf/cache.c (print_entry): Print ",AArch64" for
25927         FLAG_AARCH64_LIB64
25928
25929         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25930         * elf/cache.c (print_entry): Print ",hard-float" for
25931         FLAG_ARM_LIBHF.
25932
25933 2012-11-18  David S. Miller  <davem@davemloft.net>
25934
25935         With help from Joseph Myers.
25936         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25937         cutoff to 2**-13.
25938         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25939         cutoff to 2**-25.
25940         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25941         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25942         small.
25943         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25944         * math/libm-test.inc (y0_test): New tests.
25945         (y1_test): New tests.
25946         * sysdeps/i386/fpu/libm-test-ulps: Update.
25947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25949
25950 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25951
25952         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25953         64-bit targets.
25954         * configure: Regenerated.
25955
25956 2012-11-17  David S. Miller  <davem@davemloft.net>
25957
25958         [BZ #14811]
25959         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25960         nonzero exponents with absolute value below 0x1p-128 to +/-
25961         0x1p-128.
25962
25963 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25964
25965         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25966
25967         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25968
25969         * posix/getconf-speclist.c: New file.
25970         * posix/posix-envs.def: Likewise.
25971         * posix/confstr.c (START_ENV_GROUP): New macro.
25972         (END_ENV_GROUP): Likewise.
25973         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25974         (KNOWN_PRESENT_ENV_STRING): Likewise.
25975         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25976         (UNKNOWN_ENVIRONMENT): Likewise.
25977         (confstr): Include posix-envs.def instead of handling
25978         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25979         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25980         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25981         (END_ENV_GROUP): Likewise.
25982         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25983         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25984         (UNKNOWN_ENVIRONMENT): Likewise.
25985         (__sysconf): Include posix-envs.def instead of handling associated
25986         cases directly here.
25987         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25988         preprocessing getconf-speclist.c rather than running getconf or
25989         generating empty file.
25990
25991 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25992
25993         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25994
25995 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25996
25997         [BZ #14672]
25998         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25999
26000 2012-11-16  David S. Miller  <davem@davemloft.net>
26001
26002         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26003         smaller than LDBL_EPSILON/2.0L, just return xm1.
26004
26005 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
26006
26007         * elf/tst-array1.c (init): Set constructor priority to 1000.
26008         (fini): Set destructor priority to 1000.
26009         * elf/tst-array2dep.c: Likewise.
26010
26011 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26012
26013         [BZ #11741]
26014         * libio/fileops.c (_IO_new_file_write): Correctly return error.
26015         (_IO_new_file_xsputn): Also return EOF if none of the input
26016         data was written when overflow failed.
26017         * libio/iopadn.c (_IO_padn): Likewise.
26018         * libio/iowpadn.c (_IO_wpadn): Likewise.
26019         * stdio-common/tst-put-error.c: Add copyright notice.
26020         (do_test): Add case for printing padded string.
26021         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26022         _IO_padn returned error.
26023         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26024         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26025         return EOF.
26026
26027 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26028
26029         * libio/libioP.h: Add comment note that the references to C++
26030         bits are now obsolete.
26031
26032 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26033
26034         * math/libm-test.inc (check_complex): Use asprintf.
26035
26036 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
26037
26038         * debug/pcprofiledump.c (print_version): Update copyright year.
26039         * malloc/memusagestat.c (print_version): Likewise.
26040
26041 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26042
26043         [BZ #14831]
26044         * elf/Makefile (tests): Add tst-audit8.
26045         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26046         ($(objpfx)tst-audit8.out): New target.
26047         (tst-audit8-ENV): New variable.
26048         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26049         audit if l_reloc_result is NULL.
26050         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26051         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26052         * elf/tst-audit8.c: New file.
26053
26054 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26055
26056         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26057         * misc/Makefile (CFLAGS-select.c): Define.
26058         * posix/Makefile (CFLAGS-pause.c): Define.
26059
26060 2012-11-13  David S. Miller  <davem@davemloft.net>
26061
26062         * crypt/Makefile: Move test targets after toplevel Rules
26063         inclusion.  Grab any necessary sysdep routines when linking.
26064         * crypt/md5.c (md5_process_block): Remove define, we will always
26065         name it __md5_process_block.
26066         (md5_finish_ctx): Update md5_process_block call.
26067         (md5_stream): Likewise.
26068         (md5_process_bytes): Likewise.
26069         (md5_process_block): Rename to __md5_process_block and move to ...
26070         * crypt/md5-block.c: ... here.
26071         * crypt/sha256.c (sha256_process_block): Move to ...
26072         * crypt/sha256-block.c: ... here.
26073         * crypt/sha512.c (sha512_process_block): Move to ...
26074         * crypt/sha512-block.c: ... here.
26075         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26076         path.
26077         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26078         * sysdeps/sparc/sparc64/multiarch/Makefile
26079         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26080         crypt subdir.
26081         (localedef-aux): Add md5 crypto assembler when in locale subdir.
26082         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26083         multiarch changes.
26084         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26085         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26086         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26087         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26088         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26089         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26090         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26091         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26092         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26093         file.
26094         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26095         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26096         file.
26097         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26098
26099 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
26100
26101         * timezone/tzselect.ksh: Update from tzcode git revision
26102         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26103         * timezone/zdump.c: Likewise.
26104         * timezone/zic.c: Likewise.
26105         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26106         in TZVERSION setting, not $(PKGVERSION).
26107         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
26108         REPORT_BUGS_TO settings.
26109
26110         [BZ #14838]
26111         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26112         macro.
26113
26114 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26115
26116         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26117         detection to immediately after _FP_ROUND().
26118         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26119         bits are 0.
26120
26121 2012-11-11  David S. Miller  <davem@davemloft.net>
26122
26123         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26124         inttypes.h
26125         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26126         __close rather than their public counterparts.
26127
26128 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
26129
26130         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26131         file.
26132         [UNIX98] (sem_timedwait): Do not expect.
26133         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26134         [XPG4 || UNIX98] (sockatmark): Do not expect.
26135         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26136         (clock_getcpuclockid): Do not expect.
26137         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26138         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26139         Do not expect.
26140         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26141         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26142         [UNIX98] (vwscanf): Likewise.
26143         [UNIX98] (vswscanf): Likewise.
26144
26145 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
26146
26147         * timezone/version.h: Remove file.
26148         * timezone/README: Do not refer to version.h.
26149         * timezone/Makefile ($(objpfx)zic.o): New dependency on
26150         $(objpfx)version.h.
26151         ($(objpfx)zdump.o): Likewise.
26152         ($(objpfx)version.h): New target.
26153
26154         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26155         2012i.
26156         * timezone/README: Don't mention modification to tzselect.ksh.
26157         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26158         work on unmodified tzselect.ksh.  Substitute version numbers in
26159         tzselect.ksh.
26160
26161         * Makefile (format-me): Remove.
26162         (INSTALL): Adjust indentation.  Use commands directly instead of
26163         using $(format-me).
26164
26165         * aclocal.m4 (ACX_PKGVERSION): New macro.
26166         (ACX_BUGURL): Likewise.
26167         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26168         (PKGVERSION): New AC_DEFINE_UNQUOTED.
26169         (REPORT_BUGS_TO): Likewise.
26170         * configure: Regenerated.
26171         * config.h.in (PKGVERSION): New macro.
26172         (REPORT_BUGS_TO): Likewise.
26173         * config.make.in (PKGVERSION): New variable.
26174         (PKGVERSION_TEXI): Likewise.
26175         (REPORT_BUGS_TO): Likewise.
26176         (REPORT_BUGS_TEXI): Likewise.
26177         * Makefile (format-me): Use -I$(common-objpfx)manual.
26178         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26179         ($(common-objpfx)manual/%): New target.
26180         (manual/%): Remove target.
26181         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26182         (print_version): Use PKGVERSION.
26183         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26184         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26185         and REPORT_BUGS_TO.
26186         ($(objpfx)xtrace): Likewise.
26187         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26188         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26189         (print_version): Use PKGVERSION.
26190         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26191         (do_version): Use PKGVERSION.
26192         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26193         REPORT_BUGS_TO.
26194         (common-ldd-rewrite): Likewise.
26195         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26196         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26197         (print_version): Use PKGVERSION.
26198         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26199         * elf/pldd.c (argp_program_bug_address): Remove variable.
26200         (more_help): New function.
26201         (argp): Use more_help.
26202         (print_version): Use PKGVERSION.
26203         * elf/sln.c (main): Use PKGVERSION.
26204         (usage): Use REPORT_BUGS_TO.
26205         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26206         (top level): Use PKGVERSION.
26207         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26208         (print_version): Use PKGVERSION.
26209         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26210         (print_version): Use PKGVERSION.
26211         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26212         (print_version): Use PKGVERSION.
26213         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26214         (print_version): Use PKGVERSION.
26215         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26216         (print_version): Use PKGVERSION.
26217         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26218         (print_version): Use PKGVERSION.
26219         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26220         and BUGURL.
26221         ($(objpfx)memusage): Likewise.
26222         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26223         (do_version): Use PKGVERSION.
26224         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26225         (print_version): Use PKGVERSION.
26226         * malloc/mtrace.pl ($PACKAGE): Remove variable.
26227         ($PKGVERSION): New variable.
26228         ($REPORT_BUGS_TO): Likewise.
26229         (usage): Use $REPORT_BUGS_TO.
26230         (top level): Use $PKGVERSION.
26231         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26232         ($(objpfx)pkgvers.texi): New rule.
26233         ($(objpfx)stamp-pkgvers): Likewise.
26234         * manual/install.texi: Include pkgvers.texi.
26235         (--with-pkgversion): Document new configure option.
26236         (--with-bugurl): Likewise.
26237         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26238         than necessarily for this particular distribution.  Use
26239         REPORT_BUGS_TO for where to report bugs.
26240         * INSTALL: Regenerated.
26241         * manual/libc.texinfo: Include pkgvers.texi.
26242         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26243         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26244         (print_version): Use PKGVERSION.
26245         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26246         (print_version): Use PKGVERSION.
26247         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26248         (print_version): Use PKGVERSION.
26249         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26250         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26251         macro.
26252         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26253         (print_version): Use PKGVERSION.
26254         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26255         (print_version): Use PKGVERSION.
26256         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26257         and PKGVERSION.
26258
26259         * timezone/checktab.awk: Update from tzcode 2012i.
26260         * timezone/ialloc.c: Likewise.
26261         * timezone/private.h: Likewise.
26262         * timezone/scheck.c: Likewise.
26263         * timezone/tzfile.h: Likewise.
26264         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26265         (TZVERSION): Hardcode tzcode version number.
26266         * timezone/zdump.c: Update from tzcode 2012i.
26267         * timezone/zic.c: Likewise.
26268         * timezone/version.h: New file.
26269         * timezone/README: Describe version.h.  Update upstream location.
26270
26271         [BZ #14824]
26272         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26273         (mktemp): Enable declaration.
26274         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26276         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26278         Likewise.
26279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26280         Likewise.
26281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26282         Likewise.
26283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26284         Likewise.
26285         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26286         Likewise.
26287         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26288         Likewise.
26289
26290         [BZ #14821]
26291         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26292         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
26293         for copies of such integer values.
26294         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26295         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26296
26297 2012-11-09  Andreas Jaeger  <aj@suse.de>
26298
26299         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26300         definitions and declarations that are provided by
26301         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26302
26303 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26304
26305         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26306         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26307         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26308         definition.
26309
26310 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26311
26312         * elf/elf.h: Update comment before AArch64 relocations.
26313
26314 2012-11-07  David S. Miller  <davem@davemloft.net>
26315
26316         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26317         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26318         (__start_context): Declare.
26319         (__makecontext_ret): Delete.
26320         (__makecontext): Hook up __start_context instead of
26321         __makecontext_ret.
26322         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26323         (sysdep_routines): Add __start_context when in stdlib.
26324
26325 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26326
26327         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26328         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26329         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26330         hardcoded "nm".
26331         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26332         (READELF): New variable.  Use it instead of hardcoded "readelf".
26333
26334 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26335
26336         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26337         * sysdeps/x86/Makefile: Here.
26338         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26339         * sysdeps/x86/tst-xmmymm.sh: This.
26340
26341 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26342
26343         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26344         expectations.
26345         [UNIX98] (pthread_barrier_t): Do not expect.
26346         [UNIX98] (pthread_barrierattr_t): Likewise.
26347         [UNIX98] (pthread_spinlock_t): Likewise.
26348         [UNIX98] (pthread_barrier_destroy): Likewise.
26349         [UNIX98] (pthread_barrier_init): Likewise.
26350         [UNIX98] (pthread_barrier_wait): Likewise.
26351         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26352         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26353         [UNIX98] (pthread_barrierattr_init): Likewise.
26354         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26355         [UNIX98] (pthread_getcpuclockid): Likewise.
26356         [UNIX98] (pthread_mutex_timedlock): Likewise.
26357         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26358         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26359         [UNIX98] (pthread_sigmask): Likewise.
26360         [UNIX98] (pthread_spin_destroy): Likewise.
26361         [UNIX98] (pthread_spin_init): Likewise.
26362         [UNIX98] (pthread_spin_lock): Likewise.
26363         [UNIX98] (pthread_spin_trylock): Likewise.
26364         [UNIX98] (pthread_spin_unlock): Likewise.
26365         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26366         Do not expect.
26367         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26368         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26369         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26370         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26371         [XPG3 || XPG4] (pthread_key_t): Likewise.
26372         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26373         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26374         [XPG3 || XPG4] (pthread_once_t): Likewise.
26375         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26376         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26377         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26378         [XPG3 || XPG4] (pthread_t): Likewise.
26379
26380         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26381         not expect.
26382         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26383
26384         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26385         Change function return type to int.
26386
26387         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26388         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26389         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26390         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26391         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26392         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26393         [!POSIX] (posix_madvise): Likewise.
26394         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26395         && !UNIX98].
26396         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26397         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26398         (mode_t): Likewise.
26399         (posix_mem_offset): Likewise.
26400         (posix_typed_mem_get_info): Likewise.
26401         (posix_typed_mem_open): Likewise.
26402
26403         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26404         Change condition to [XOPEN2K8].
26405
26406         * conform/conformtest.pl: Preprocess allow-header data with -x c
26407         instead of from stdin.
26408         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26409         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26410         [C99-based standards] (cerfc): Likewise.
26411         [C99-based standards] (cexp2): Likewise.
26412         [C99-based standards] (cexpm1): Likewise.
26413         [C99-based standards] (clog10): Likewise.
26414         [C99-based standards] (clog1p): Likewise.
26415         [C99-based standards] (clog2): Likewise.
26416         [C99-based standards] (clgamma): Likewise.
26417         [C99-based standards] (ctgamma): Likewise.
26418         [C99-based standards] (cerff): Likewise.
26419         [C99-based standards] (cerfcf): Likewise.
26420         [C99-based standards] (cexp2f): Likewise.
26421         [C99-based standards] (cexpm1f): Likewise.
26422         [C99-based standards] (clog10f): Likewise.
26423         [C99-based standards] (clog1pf): Likewise.
26424         [C99-based standards] (clog2f): Likewise.
26425         [C99-based standards] (clgammaf): Likewise.
26426         [C99-based standards] (ctgammaf): Likewise.
26427         [C99-based standards] (cerfl): Likewise.
26428         [C99-based standards] (cerfcl): Likewise.
26429         [C99-based standards] (cexp2l): Likewise.
26430         [C99-based standards] (cexpm1l): Likewise.
26431         [C99-based standards] (clog10l): Likewise.
26432         [C99-based standards] (clog1pl): Likewise.
26433         [C99-based standards] (clog2l): Likewise.
26434         [C99-based standards] (clgammal): Likewise.
26435         [C99-based standards] (ctgammal): Likewise.
26436         * conform/data/inttypes.h-data [C99-based standards]: Include
26437         stdint.h-data.  Remove all expectations for stdint.h contents.
26438         [C99-based standards] (PRI*): Do not allow.
26439         [C99-based standards] (SCN*): Likewise.
26440         [C99-based standards] (*_t): Likewise.
26441         [C99-based-standards] (PRId8): Expect macro.
26442         [C99-based-standards] (PRIi8): Likewise.
26443         [C99-based-standards] (PRIo8): Likewise.
26444         [C99-based-standards] (PRIu8): Likewise.
26445         [C99-based-standards] (PRIx8): Likewise.
26446         [C99-based-standards] (PRIX8): Likewise.
26447         [C99-based-standards] (SCNd8): Likewise.
26448         [C99-based-standards] (SCNi8): Likewise.
26449         [C99-based-standards] (SCNo8): Likewise.
26450         [C99-based-standards] (SCNu8): Likewise.
26451         [C99-based-standards] (SCNx8): Likewise.
26452         [C99-based-standards] (PRIdLEAST8): Likewise.
26453         [C99-based-standards] (PRIiLEAST8): Likewise.
26454         [C99-based-standards] (PRIoLEAST8): Likewise.
26455         [C99-based-standards] (PRIuLEAST8): Likewise.
26456         [C99-based-standards] (PRIxLEAST8): Likewise.
26457         [C99-based-standards] (PRIXLEAST8): Likewise.
26458         [C99-based-standards] (SCNdLEAST8): Likewise.
26459         [C99-based-standards] (SCNiLEAST8): Likewise.
26460         [C99-based-standards] (SCNoLEAST8): Likewise.
26461         [C99-based-standards] (SCNuLEAST8): Likewise.
26462         [C99-based-standards] (SCNxLEAST8): Likewise.
26463         [C99-based-standards] (PRIdFAST8): Likewise.
26464         [C99-based-standards] (PRIiFAST8): Likewise.
26465         [C99-based-standards] (PRIoFAST8): Likewise.
26466         [C99-based-standards] (PRIuFAST8): Likewise.
26467         [C99-based-standards] (PRIxFAST8): Likewise.
26468         [C99-based-standards] (PRIXFAST8): Likewise.
26469         [C99-based-standards] (SCNdFAST8): Likewise.
26470         [C99-based-standards] (SCNiFAST8): Likewise.
26471         [C99-based-standards] (SCNoFAST8): Likewise.
26472         [C99-based-standards] (SCNuFAST8): Likewise.
26473         [C99-based-standards] (SCNxFAST8): Likewise.
26474         [C99-based-standards] (PRId16): Likewise.
26475         [C99-based-standards] (PRIi16): Likewise.
26476         [C99-based-standards] (PRIo16): Likewise.
26477         [C99-based-standards] (PRIu16): Likewise.
26478         [C99-based-standards] (PRIx16): Likewise.
26479         [C99-based-standards] (PRIX16): Likewise.
26480         [C99-based-standards] (SCNd16): Likewise.
26481         [C99-based-standards] (SCNi16): Likewise.
26482         [C99-based-standards] (SCNo16): Likewise.
26483         [C99-based-standards] (SCNu16): Likewise.
26484         [C99-based-standards] (SCNx16): Likewise.
26485         [C99-based-standards] (PRIdLEAST16): Likewise.
26486         [C99-based-standards] (PRIiLEAST16): Likewise.
26487         [C99-based-standards] (PRIoLEAST16): Likewise.
26488         [C99-based-standards] (PRIuLEAST16): Likewise.
26489         [C99-based-standards] (PRIxLEAST16): Likewise.
26490         [C99-based-standards] (PRIXLEAST16): Likewise.
26491         [C99-based-standards] (SCNdLEAST16): Likewise.
26492         [C99-based-standards] (SCNiLEAST16): Likewise.
26493         [C99-based-standards] (SCNoLEAST16): Likewise.
26494         [C99-based-standards] (SCNuLEAST16): Likewise.
26495         [C99-based-standards] (SCNxLEAST16): Likewise.
26496         [C99-based-standards] (PRIdFAST16): Likewise.
26497         [C99-based-standards] (PRIiFAST16): Likewise.
26498         [C99-based-standards] (PRIoFAST16): Likewise.
26499         [C99-based-standards] (PRIuFAST16): Likewise.
26500         [C99-based-standards] (PRIxFAST16): Likewise.
26501         [C99-based-standards] (PRIXFAST16): Likewise.
26502         [C99-based-standards] (SCNdFAST16): Likewise.
26503         [C99-based-standards] (SCNiFAST16): Likewise.
26504         [C99-based-standards] (SCNoFAST16): Likewise.
26505         [C99-based-standards] (SCNuFAST16): Likewise.
26506         [C99-based-standards] (SCNxFAST16): Likewise.
26507         [C99-based-standards] (PRId32): Likewise.
26508         [C99-based-standards] (PRIi32): Likewise.
26509         [C99-based-standards] (PRIo32): Likewise.
26510         [C99-based-standards] (PRIu32): Likewise.
26511         [C99-based-standards] (PRIx32): Likewise.
26512         [C99-based-standards] (PRIX32): Likewise.
26513         [C99-based-standards] (SCNd32): Likewise.
26514         [C99-based-standards] (SCNi32): Likewise.
26515         [C99-based-standards] (SCNo32): Likewise.
26516         [C99-based-standards] (SCNu32): Likewise.
26517         [C99-based-standards] (SCNx32): Likewise.
26518         [C99-based-standards] (PRIdLEAST32): Likewise.
26519         [C99-based-standards] (PRIiLEAST32): Likewise.
26520         [C99-based-standards] (PRIoLEAST32): Likewise.
26521         [C99-based-standards] (PRIuLEAST32): Likewise.
26522         [C99-based-standards] (PRIxLEAST32): Likewise.
26523         [C99-based-standards] (PRIXLEAST32): Likewise.
26524         [C99-based-standards] (SCNdLEAST32): Likewise.
26525         [C99-based-standards] (SCNiLEAST32): Likewise.
26526         [C99-based-standards] (SCNoLEAST32): Likewise.
26527         [C99-based-standards] (SCNuLEAST32): Likewise.
26528         [C99-based-standards] (SCNxLEAST32): Likewise.
26529         [C99-based-standards] (PRIdFAST32): Likewise.
26530         [C99-based-standards] (PRIiFAST32): Likewise.
26531         [C99-based-standards] (PRIoFAST32): Likewise.
26532         [C99-based-standards] (PRIuFAST32): Likewise.
26533         [C99-based-standards] (PRIxFAST32): Likewise.
26534         [C99-based-standards] (PRIXFAST32): Likewise.
26535         [C99-based-standards] (SCNdFAST32): Likewise.
26536         [C99-based-standards] (SCNiFAST32): Likewise.
26537         [C99-based-standards] (SCNoFAST32): Likewise.
26538         [C99-based-standards] (SCNuFAST32): Likewise.
26539         [C99-based-standards] (SCNxFAST32): Likewise.
26540         [C99-based-standards] (PRId64): Likewise.
26541         [C99-based-standards] (PRIi64): Likewise.
26542         [C99-based-standards] (PRIo64): Likewise.
26543         [C99-based-standards] (PRIu64): Likewise.
26544         [C99-based-standards] (PRIx64): Likewise.
26545         [C99-based-standards] (PRIX64): Likewise.
26546         [C99-based-standards] (SCNd64): Likewise.
26547         [C99-based-standards] (SCNi64): Likewise.
26548         [C99-based-standards] (SCNo64): Likewise.
26549         [C99-based-standards] (SCNu64): Likewise.
26550         [C99-based-standards] (SCNx64): Likewise.
26551         [C99-based-standards] (PRIdLEAST64): Likewise.
26552         [C99-based-standards] (PRIiLEAST64): Likewise.
26553         [C99-based-standards] (PRIoLEAST64): Likewise.
26554         [C99-based-standards] (PRIuLEAST64): Likewise.
26555         [C99-based-standards] (PRIxLEAST64): Likewise.
26556         [C99-based-standards] (PRIXLEAST64): Likewise.
26557         [C99-based-standards] (SCNdLEAST64): Likewise.
26558         [C99-based-standards] (SCNiLEAST64): Likewise.
26559         [C99-based-standards] (SCNoLEAST64): Likewise.
26560         [C99-based-standards] (SCNuLEAST64): Likewise.
26561         [C99-based-standards] (SCNxLEAST64): Likewise.
26562         [C99-based-standards] (PRIdFAST64): Likewise.
26563         [C99-based-standards] (PRIiFAST64): Likewise.
26564         [C99-based-standards] (PRIoFAST64): Likewise.
26565         [C99-based-standards] (PRIuFAST64): Likewise.
26566         [C99-based-standards] (PRIxFAST64): Likewise.
26567         [C99-based-standards] (PRIXFAST64): Likewise.
26568         [C99-based-standards] (SCNdFAST64): Likewise.
26569         [C99-based-standards] (SCNiFAST64): Likewise.
26570         [C99-based-standards] (SCNoFAST64): Likewise.
26571         [C99-based-standards] (SCNuFAST64): Likewise.
26572         [C99-based-standards] (SCNxFAST64): Likewise.
26573         [C99-based-standards] (PRIdMAX): Likewise.
26574         [C99-based-standards] (PRIiMAX): Likewise.
26575         [C99-based-standards] (PRIoMAX): Likewise.
26576         [C99-based-standards] (PRIuMAX): Likewise.
26577         [C99-based-standards] (PRIxMAX): Likewise.
26578         [C99-based-standards] (PRIXMAX): Likewise.
26579         [C99-based-standards] (SCNdMAX): Likewise.
26580         [C99-based-standards] (SCNiMAX): Likewise.
26581         [C99-based-standards] (SCNoMAX): Likewise.
26582         [C99-based-standards] (SCNuMAX): Likewise.
26583         [C99-based-standards] (SCNxMAX): Likewise.
26584         [C99-based-standards] (PRIdPTR): Likewise.
26585         [C99-based-standards] (PRIiPTR): Likewise.
26586         [C99-based-standards] (PRIoPTR): Likewise.
26587         [C99-based-standards] (PRIuPTR): Likewise.
26588         [C99-based-standards] (PRIxPTR): Likewise.
26589         [C99-based-standards] (PRIXPTR): Likewise.
26590         [C99-based-standards] (SCNdPTR): Likewise.
26591         [C99-based-standards] (SCNiPTR): Likewise.
26592         [C99-based-standards] (SCNoPTR): Likewise.
26593         [C99-based-standards] (SCNuPTR): Likewise.
26594         [C99-based-standards] (SCNxPTR): Likewise.
26595         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26596         allow.
26597         * conform/data/stdint.h-data: Update comments to clarify
26598         requirements.
26599         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26600         type.
26601         [C99-based standards] (INT8_MAX): Likewise.
26602         [C99-based standards] (INT16_MIN): Likewise.
26603         [C99-based standards] (INT16_MAX): Likewise.
26604         [C99-based standards] (INT32_MIN): Likewise.
26605         [C99-based standards] (INT32_MAX): Likewise.
26606         [C99-based standards] (INT64_MIN): Likewise.
26607         [C99-based standards] (INT64_MAX): Likewise.
26608         [C99-based standards] (UINT8_MAX): Likewise.
26609         [C99-based standards] (UINT16_MAX): Likewise.
26610         [C99-based standards] (UINT32_MAX): Likewise.
26611         [C99-based standards] (UINT64_MAX): Likewise.
26612         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26613         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26614         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26615         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26616         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26617         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26618         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26619         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26620         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26621         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26622         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26623         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26624         [C99-based standards] (INT_FAST8_MIN): Likewise.
26625         [C99-based standards] (INT_FAST8_MAX): Likewise.
26626         [C99-based standards] (INT_FAST16_MIN): Likewise.
26627         [C99-based standards] (INT_FAST16_MAX): Likewise.
26628         [C99-based standards] (INT_FAST32_MIN): Likewise.
26629         [C99-based standards] (INT_FAST32_MAX): Likewise.
26630         [C99-based standards] (INT_FAST64_MIN): Likewise.
26631         [C99-based standards] (INT_FAST64_MAX): Likewise.
26632         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26633         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26634         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26635         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26636         [C99-based standards] (INTPTR_MIN): Likewise.
26637         [C99-based standards] (INTPTR_MAX): Likewise.
26638         [C99-based standards] (UINTPTR_MAX): Likewise.
26639         [C99-based standards] (INTMAX_MIN): Likewise.
26640         [C99-based standards] (INTMAX_MAX): Likewise.
26641         [C99-based standards] (UINTMAX_MAX): Likewise.
26642         [C99-based standards] (PTRDIFF_MIN): Likewise.
26643         [C99-based standards] (PTRDIFF_MAX): Likewise.
26644         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26645         [C99-based standards] (SIZE_MAX): Likewise.
26646         [C99-based standards] (WCHAR_MAX): Likewise.
26647         [C99-based standards] (WINT_MAX): Likewise.
26648         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26649         constraint on value.
26650         [C99-based standards] (WCHAR_MIN): Likewise.
26651         [C99-based standards] (WINT_MIN): Likewise.
26652         [C99-based standards] (*_t): Allow.
26653         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26654         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26655         Include math.h-data and complex.h-data.  Remove all expectations
26656         of math.h and complex.h contents.
26657         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26658         at end of line.
26659         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26660         (struct tm): Expect tag.
26661         [C99-based-standards] (wcstof): Expect function.
26662         [C99-based-standards] (wcstold): Likewise.
26663         [C99-based-standards] (wcstoll): Likewise.
26664         [C99-based-standards] (wcstoull): Likewise.
26665         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26666         macro-int-constant.  Specify type.
26667         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26668         constraint on value.
26669         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26670         Specify type.
26671         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26672         Specify value.
26673         [ISO C standards]: Do not allow headers.
26674         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26675         wcs[abcdefghijklmnopqrstuvwxyz]*.
26676         [ISO C standards] (*_t): Do not allow.
26677         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26678         Expect function.
26679         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26680         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26681         Specify type.
26682         [ISO C standards]: Do not allow headers.
26683         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26684         is[abcdefghijklmnopqrstuvwxyz]*.
26685         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26686         to[abcdefghijklmnopqrstuvwxyz]*.
26687         [ISO C standards] (*_t): Do not allow.
26688         * conform/data/stdalign.h-data: New file.
26689         * conform/data/stdbool.h-data: Likewise.
26690         * conform/data/stdnoreturn.h-data: Likewise.
26691
26692 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26693
26694         [BZ #14815]
26695         * manual/filesys.texi (Directory Entries): Typo fix.
26696         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26697
26698 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26699
26700         * elf/elf.h (EM_AARCH64): New macro.
26701         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26702         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26703         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26704         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26705         (R_AARCH64_TLSDESC): Likewise.
26706         (NT_ARM_TLS): Likewise.
26707         (NT_ARM_HW_BREAK): Likewise.
26708         (NT_ARM_HW_WATCH): Likewise.
26709
26710 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26711
26712         [BZ #14811]
26713         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26714         (__ieee754_powl): Saturate nonzero exponents with absolute value
26715         below 0x1p-79 to +/- 0x1p-79.
26716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26717         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26718         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26719         nonzero exponents with absolute value below 0x1p-32 to +/-
26720         0x1p-32.
26721         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26722         (__ieee754_powl): Saturate nonzero exponents with absolute value
26723         below 0x1p-79 to +/- 0x1p-79.
26724         * math/libm-test.inc (pow_test): Add more tests.
26725
26726 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26727
26728         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26729         _dl_s390_cap_flags with kernel. Increase string length.
26730         (_dl_s390_platforms): Add z196 and zEC12.
26731
26732 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26733
26734         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26735         Change XOPEN21K to XOPEN2K.
26736
26737 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26738
26739         * string/memmove.c: Use memcpy when possible.
26740
26741 2012-11-06  Andreas Jaeger  <aj@suse.de>
26742
26743         * po/eo.po: Update from translation team.
26744
26745 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26746
26747         [BZ #14793]
26748         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26749         exponent and small x and y exponents, scale x or y up.  Increase
26750         by 2 the exponent used in scaling up.
26751         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26752         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26753         * math/libm-test.inc (fma_test): Add more tests.
26754         (fma_test_towardzero): Likewise.
26755         (fma_test_downward): Likewise.
26756         (fma_test_upward): Likewise.
26757
26758 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26759
26760         [BZ #14805]
26761         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26762         fenv_t *.
26763
26764         [BZ #14801]
26765         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26766         namespace for names of struct fields.
26767         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26768         fenv_t fields.
26769         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26770         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26771
26772 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26773
26774         [BZ #3665]
26775         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26776
26777 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26778
26779         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26780         PTR_DEMANGLE.
26781
26782         [BZ #5246]
26783         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26784         PTR_DEMANGLE.
26785
26786 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26787
26788         [BZ #14797]
26789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26790         definitely overflow as x * y not x * y + z.
26791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26792         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26793         * math/libm-test.inc (fma_test): Add more tests.
26794         (fma_test_towardzero): Likewise.
26795         (fma_test_downward): Likewise.
26796         (fma_test_upward): Likewise.
26797
26798 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26799
26800         [BZ #157]
26801
26802         * include/stub-tag.h: Remove file.
26803         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26804         '#include' of it.
26805         * manual/maint.texi (Porting): Don't reference it.
26806         * Makerules ($(objpfx)stubs): Likewise.
26807         * dirent/closedir.c: Don't include <stub-tag.h>.
26808         * dirent/dirfd.c: Likewise.
26809         * dirent/fdopendir.c: Likewise.
26810         * dirent/getdents.c: Likewise.
26811         * dirent/getdents64.c: Likewise.
26812         * dirent/opendir.c: Likewise.
26813         * dirent/readdir.c: Likewise.
26814         * dirent/readdir64.c: Likewise.
26815         * dirent/readdir64_r.c: Likewise.
26816         * dirent/readdir_r.c: Likewise.
26817         * dirent/rewinddir.c: Likewise.
26818         * dirent/seekdir.c: Likewise.
26819         * dirent/telldir.c: Likewise.
26820         * gmon/profil.c: Likewise.
26821         * grp/setgroups.c: Likewise.
26822         * inet/if_index.c: Likewise.
26823         * io/access.c: Likewise.
26824         * io/chdir.c: Likewise.
26825         * io/chmod.c: Likewise.
26826         * io/chown.c: Likewise.
26827         * io/close.c: Likewise.
26828         * io/dup.c: Likewise.
26829         * io/dup2.c: Likewise.
26830         * io/dup3.c: Likewise.
26831         * io/euidaccess.c: Likewise.
26832         * io/faccessat.c: Likewise.
26833         * io/fchdir.c: Likewise.
26834         * io/fchmod.c: Likewise.
26835         * io/fchmodat.c: Likewise.
26836         * io/fchown.c: Likewise.
26837         * io/fchownat.c: Likewise.
26838         * io/fcntl.c: Likewise.
26839         * io/flock.c: Likewise.
26840         * io/fstatfs.c: Likewise.
26841         * io/fstatfs64.c: Likewise.
26842         * io/fstatvfs.c: Likewise.
26843         * io/fstatvfs64.c: Likewise.
26844         * io/futimens.c: Likewise.
26845         * io/fxstat.c: Likewise.
26846         * io/fxstat64.c: Likewise.
26847         * io/fxstatat.c: Likewise.
26848         * io/fxstatat64.c: Likewise.
26849         * io/getcwd.c: Likewise.
26850         * io/isatty.c: Likewise.
26851         * io/lchmod.c: Likewise.
26852         * io/lchown.c: Likewise.
26853         * io/link.c: Likewise.
26854         * io/linkat.c: Likewise.
26855         * io/lseek.c: Likewise.
26856         * io/lseek64.c: Likewise.
26857         * io/lxstat64.c: Likewise.
26858         * io/mkdir.c: Likewise.
26859         * io/mkdirat.c: Likewise.
26860         * io/mkfifo.c: Likewise.
26861         * io/mkfifoat.c: Likewise.
26862         * io/open.c: Likewise.
26863         * io/open64.c: Likewise.
26864         * io/openat.c: Likewise.
26865         * io/openat64.c: Likewise.
26866         * io/pipe.c: Likewise.
26867         * io/pipe2.c: Likewise.
26868         * io/poll.c: Likewise.
26869         * io/posix_fadvise.c: Likewise.
26870         * io/posix_fadvise64.c: Likewise.
26871         * io/posix_fallocate.c: Likewise.
26872         * io/posix_fallocate64.c: Likewise.
26873         * io/read.c: Likewise.
26874         * io/readlink.c: Likewise.
26875         * io/readlinkat.c: Likewise.
26876         * io/rmdir.c: Likewise.
26877         * io/sendfile.c: Likewise.
26878         * io/sendfile64.c: Likewise.
26879         * io/statfs.c: Likewise.
26880         * io/statfs64.c: Likewise.
26881         * io/statvfs.c: Likewise.
26882         * io/statvfs64.c: Likewise.
26883         * io/symlink.c: Likewise.
26884         * io/symlinkat.c: Likewise.
26885         * io/ttyname.c: Likewise.
26886         * io/ttyname_r.c: Likewise.
26887         * io/umask.c: Likewise.
26888         * io/unlink.c: Likewise.
26889         * io/unlinkat.c: Likewise.
26890         * io/utime.c: Likewise.
26891         * io/utimensat.c: Likewise.
26892         * io/write.c: Likewise.
26893         * io/xmknod.c: Likewise.
26894         * io/xmknodat.c: Likewise.
26895         * io/xstat.c: Likewise.
26896         * io/xstat64.c: Likewise.
26897         * login/getpt.c: Likewise.
26898         * login/grantpt.c: Likewise.
26899         * login/unlockpt.c: Likewise.
26900         * math/e_acoshl.c: Likewise.
26901         * math/e_acosl.c: Likewise.
26902         * math/e_asinl.c: Likewise.
26903         * math/e_atan2l.c: Likewise.
26904         * math/e_atanhl.c: Likewise.
26905         * math/e_coshl.c: Likewise.
26906         * math/e_expl.c: Likewise.
26907         * math/e_fmodl.c: Likewise.
26908         * math/e_gammal_r.c: Likewise.
26909         * math/e_hypotl.c: Likewise.
26910         * math/e_j0l.c: Likewise.
26911         * math/e_j1l.c: Likewise.
26912         * math/e_jnl.c: Likewise.
26913         * math/e_lgammal_r.c: Likewise.
26914         * math/e_log10l.c: Likewise.
26915         * math/e_log2l.c: Likewise.
26916         * math/e_logl.c: Likewise.
26917         * math/e_powl.c: Likewise.
26918         * math/e_rem_pio2l.c: Likewise.
26919         * math/e_sinhl.c: Likewise.
26920         * math/e_sqrtl.c: Likewise.
26921         * math/fclrexcpt.c: Likewise.
26922         * math/fedisblxcpt.c: Likewise.
26923         * math/feenablxcpt.c: Likewise.
26924         * math/fegetenv.c: Likewise.
26925         * math/fegetexcept.c: Likewise.
26926         * math/fegetround.c: Likewise.
26927         * math/feholdexcpt.c: Likewise.
26928         * math/fesetenv.c: Likewise.
26929         * math/fesetround.c: Likewise.
26930         * math/feupdateenv.c: Likewise.
26931         * math/fgetexcptflg.c: Likewise.
26932         * math/fraiseexcpt.c: Likewise.
26933         * math/fsetexcptflg.c: Likewise.
26934         * math/ftestexcept.c: Likewise.
26935         * math/k_cosl.c: Likewise.
26936         * math/k_rem_pio2l.c: Likewise.
26937         * math/k_sinl.c: Likewise.
26938         * math/k_tanl.c: Likewise.
26939         * math/s_asinhl.c: Likewise.
26940         * math/s_atanl.c: Likewise.
26941         * math/s_cbrtl.c: Likewise.
26942         * math/s_erfl.c: Likewise.
26943         * math/s_expm1l.c: Likewise.
26944         * math/s_log1pl.c: Likewise.
26945         * math/s_tanhl.c: Likewise.
26946         * misc/acct.c: Likewise.
26947         * misc/brk.c: Likewise.
26948         * misc/chflags.c: Likewise.
26949         * misc/chroot.c: Likewise.
26950         * misc/fchflags.c: Likewise.
26951         * misc/fgetxattr.c: Likewise.
26952         * misc/flistxattr.c: Likewise.
26953         * misc/fremovexattr.c: Likewise.
26954         * misc/fsetxattr.c: Likewise.
26955         * misc/fsync.c: Likewise.
26956         * misc/ftruncate.c: Likewise.
26957         * misc/futimes.c: Likewise.
26958         * misc/futimesat.c: Likewise.
26959         * misc/getdomain.c: Likewise.
26960         * misc/getdtsz.c: Likewise.
26961         * misc/gethostid.c: Likewise.
26962         * misc/gethostname.c: Likewise.
26963         * misc/getloadavg.c: Likewise.
26964         * misc/getpagesize.c: Likewise.
26965         * misc/getsysstats.c: Likewise.
26966         * misc/getxattr.c: Likewise.
26967         * misc/gtty.c: Likewise.
26968         * misc/ioctl.c: Likewise.
26969         * misc/lgetxattr.c: Likewise.
26970         * misc/listxattr.c: Likewise.
26971         * misc/llistxattr.c: Likewise.
26972         * misc/lremovexattr.c: Likewise.
26973         * misc/lsetxattr.c: Likewise.
26974         * misc/lutimes.c: Likewise.
26975         * misc/madvise.c: Likewise.
26976         * misc/mincore.c: Likewise.
26977         * misc/mlock.c: Likewise.
26978         * misc/mlockall.c: Likewise.
26979         * misc/mmap.c: Likewise.
26980         * misc/mprotect.c: Likewise.
26981         * misc/msync.c: Likewise.
26982         * misc/munlock.c: Likewise.
26983         * misc/munlockall.c: Likewise.
26984         * misc/munmap.c: Likewise.
26985         * misc/preadv.c: Likewise.
26986         * misc/preadv64.c: Likewise.
26987         * misc/ptrace.c: Likewise.
26988         * misc/pwritev.c: Likewise.
26989         * misc/pwritev64.c: Likewise.
26990         * misc/readv.c: Likewise.
26991         * misc/reboot.c: Likewise.
26992         * misc/remap_file_pages.c: Likewise.
26993         * misc/removexattr.c: Likewise.
26994         * misc/revoke.c: Likewise.
26995         * misc/select.c: Likewise.
26996         * misc/setdomain.c: Likewise.
26997         * misc/setegid.c: Likewise.
26998         * misc/seteuid.c: Likewise.
26999         * misc/sethostid.c: Likewise.
27000         * misc/sethostname.c: Likewise.
27001         * misc/setregid.c: Likewise.
27002         * misc/setreuid.c: Likewise.
27003         * misc/setxattr.c: Likewise.
27004         * misc/sstk.c: Likewise.
27005         * misc/stty.c: Likewise.
27006         * misc/swapoff.c: Likewise.
27007         * misc/swapon.c: Likewise.
27008         * misc/sync.c: Likewise.
27009         * misc/syncfs.c: Likewise.
27010         * misc/syscall.c: Likewise.
27011         * misc/truncate.c: Likewise.
27012         * misc/ualarm.c: Likewise.
27013         * misc/usleep.c: Likewise.
27014         * misc/ustat.c: Likewise.
27015         * misc/utimes.c: Likewise.
27016         * misc/vhangup.c: Likewise.
27017         * misc/writev.c: Likewise.
27018         * posix/_exit.c: Likewise.
27019         * posix/alarm.c: Likewise.
27020         * posix/execve.c: Likewise.
27021         * posix/fexecve.c: Likewise.
27022         * posix/fork.c: Likewise.
27023         * posix/fpathconf.c: Likewise.
27024         * posix/getaddrinfo.c: Likewise.
27025         * posix/getegid.c: Likewise.
27026         * posix/geteuid.c: Likewise.
27027         * posix/getgid.c: Likewise.
27028         * posix/getgroups.c: Likewise.
27029         * posix/getlogin.c: Likewise.
27030         * posix/getlogin_r.c: Likewise.
27031         * posix/getpgid.c: Likewise.
27032         * posix/getpid.c: Likewise.
27033         * posix/getppid.c: Likewise.
27034         * posix/getresgid.c: Likewise.
27035         * posix/getresuid.c: Likewise.
27036         * posix/getsid.c: Likewise.
27037         * posix/getuid.c: Likewise.
27038         * posix/glob64.c: Likewise.
27039         * posix/nanosleep.c: Likewise.
27040         * posix/pathconf.c: Likewise.
27041         * posix/pause.c: Likewise.
27042         * posix/posix_madvise.c: Likewise.
27043         * posix/pread.c: Likewise.
27044         * posix/pread64.c: Likewise.
27045         * posix/pwrite.c: Likewise.
27046         * posix/pwrite64.c: Likewise.
27047         * posix/sched_getaffinity.c: Likewise.
27048         * posix/sched_getp.c: Likewise.
27049         * posix/sched_gets.c: Likewise.
27050         * posix/sched_primax.c: Likewise.
27051         * posix/sched_primin.c: Likewise.
27052         * posix/sched_rr_gi.c: Likewise.
27053         * posix/sched_setaffinity.c: Likewise.
27054         * posix/sched_setp.c: Likewise.
27055         * posix/sched_sets.c: Likewise.
27056         * posix/sched_yield.c: Likewise.
27057         * posix/setgid.c: Likewise.
27058         * posix/setlogin.c: Likewise.
27059         * posix/setpgid.c: Likewise.
27060         * posix/setresgid.c: Likewise.
27061         * posix/setresuid.c: Likewise.
27062         * posix/setsid.c: Likewise.
27063         * posix/setuid.c: Likewise.
27064         * posix/sleep.c: Likewise.
27065         * posix/spawni.c: Likewise.
27066         * posix/sysconf.c: Likewise.
27067         * posix/times.c: Likewise.
27068         * posix/wait.c: Likewise.
27069         * posix/wait3.c: Likewise.
27070         * posix/wait4.c: Likewise.
27071         * posix/waitpid.c: Likewise.
27072         * resolv/gai_sigqueue.c: Likewise.
27073         * resource/getpriority.c: Likewise.
27074         * resource/getrlimit.c: Likewise.
27075         * resource/getrusage.c: Likewise.
27076         * resource/nice.c: Likewise.
27077         * resource/setpriority.c: Likewise.
27078         * resource/setrlimit.c: Likewise.
27079         * resource/ulimit.c: Likewise.
27080         * rt/aio_cancel.c: Likewise.
27081         * rt/aio_fsync.c: Likewise.
27082         * rt/aio_read.c: Likewise.
27083         * rt/aio_sigqueue.c: Likewise.
27084         * rt/aio_suspend.c: Likewise.
27085         * rt/aio_write.c: Likewise.
27086         * rt/clock_getres.c: Likewise.
27087         * rt/clock_gettime.c: Likewise.
27088         * rt/clock_nanosleep.c: Likewise.
27089         * rt/clock_settime.c: Likewise.
27090         * rt/lio_listio.c: Likewise.
27091         * rt/mq_close.c: Likewise.
27092         * rt/mq_getattr.c: Likewise.
27093         * rt/mq_notify.c: Likewise.
27094         * rt/mq_open.c: Likewise.
27095         * rt/mq_receive.c: Likewise.
27096         * rt/mq_send.c: Likewise.
27097         * rt/mq_setattr.c: Likewise.
27098         * rt/mq_timedreceive.c: Likewise.
27099         * rt/mq_timedsend.c: Likewise.
27100         * rt/mq_unlink.c: Likewise.
27101         * rt/shm_open.c: Likewise.
27102         * rt/shm_unlink.c: Likewise.
27103         * rt/timer_create.c: Likewise.
27104         * rt/timer_delete.c: Likewise.
27105         * rt/timer_getoverr.c: Likewise.
27106         * rt/timer_gettime.c: Likewise.
27107         * rt/timer_settime.c: Likewise.
27108         * setjmp/__longjmp.c: Likewise.
27109         * setjmp/setjmp.c: Likewise.
27110         * signal/kill.c: Likewise.
27111         * signal/killpg.c: Likewise.
27112         * signal/raise.c: Likewise.
27113         * signal/sigaction.c: Likewise.
27114         * signal/sigaltstack.c: Likewise.
27115         * signal/sigblock.c: Likewise.
27116         * signal/sigignore.c: Likewise.
27117         * signal/sigintr.c: Likewise.
27118         * signal/signal.c: Likewise.
27119         * signal/sigpause.c: Likewise.
27120         * signal/sigpending.c: Likewise.
27121         * signal/sigqueue.c: Likewise.
27122         * signal/sigreturn.c: Likewise.
27123         * signal/sigset.c: Likewise.
27124         * signal/sigsetmask.c: Likewise.
27125         * signal/sigstack.c: Likewise.
27126         * signal/sigsuspend.c: Likewise.
27127         * signal/sigtimedwait.c: Likewise.
27128         * signal/sigvec.c: Likewise.
27129         * signal/sigwait.c: Likewise.
27130         * signal/sigwaitinfo.c: Likewise.
27131         * signal/sysv_signal.c: Likewise.
27132         * socket/accept.c: Likewise.
27133         * socket/accept4.c: Likewise.
27134         * socket/bind.c: Likewise.
27135         * socket/connect.c: Likewise.
27136         * socket/getpeername.c: Likewise.
27137         * socket/getsockname.c: Likewise.
27138         * socket/getsockopt.c: Likewise.
27139         * socket/isfdtype.c: Likewise.
27140         * socket/listen.c: Likewise.
27141         * socket/recv.c: Likewise.
27142         * socket/recvfrom.c: Likewise.
27143         * socket/recvmsg.c: Likewise.
27144         * socket/send.c: Likewise.
27145         * socket/sendmsg.c: Likewise.
27146         * socket/sendto.c: Likewise.
27147         * socket/setsockopt.c: Likewise.
27148         * socket/shutdown.c: Likewise.
27149         * socket/sockatmark.c: Likewise.
27150         * socket/socket.c: Likewise.
27151         * socket/socketpair.c: Likewise.
27152         * stdio-common/ctermid.c: Likewise.
27153         * stdio-common/cuserid.c: Likewise.
27154         * stdio-common/remove.c: Likewise.
27155         * stdio-common/rename.c: Likewise.
27156         * stdio-common/renameat.c: Likewise.
27157         * stdio-common/tempname.c: Likewise.
27158         * stdlib/getcontext.c: Likewise.
27159         * stdlib/makecontext.c: Likewise.
27160         * stdlib/setcontext.c: Likewise.
27161         * stdlib/swapcontext.c: Likewise.
27162         * stdlib/system.c: Likewise.
27163         * streams/fattach.c: Likewise.
27164         * streams/fdetach.c: Likewise.
27165         * streams/getmsg.c: Likewise.
27166         * streams/getpmsg.c: Likewise.
27167         * streams/putmsg.c: Likewise.
27168         * streams/putpmsg.c: Likewise.
27169         * sysdeps/unix/bsd/getpt.c: Likewise.
27170         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27171         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27172         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27174         Likewise.
27175         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27176         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27177         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27178         * sysvipc/msgctl.c: Likewise.
27179         * sysvipc/msgget.c: Likewise.
27180         * sysvipc/msgrcv.c: Likewise.
27181         * sysvipc/msgsnd.c: Likewise.
27182         * sysvipc/semctl.c: Likewise.
27183         * sysvipc/semget.c: Likewise.
27184         * sysvipc/semop.c: Likewise.
27185         * sysvipc/semtimedop.c: Likewise.
27186         * sysvipc/shmat.c: Likewise.
27187         * sysvipc/shmctl.c: Likewise.
27188         * sysvipc/shmdt.c: Likewise.
27189         * sysvipc/shmget.c: Likewise.
27190         * termios/tcdrain.c: Likewise.
27191         * termios/tcflow.c: Likewise.
27192         * termios/tcflush.c: Likewise.
27193         * termios/tcgetattr.c: Likewise.
27194         * termios/tcgetpgrp.c: Likewise.
27195         * termios/tcsendbrk.c: Likewise.
27196         * termios/tcsetattr.c: Likewise.
27197         * termios/tcsetpgrp.c: Likewise.
27198         * time/adjtime.c: Likewise.
27199         * time/clock.c: Likewise.
27200         * time/getitimer.c: Likewise.
27201         * time/gettimeofday.c: Likewise.
27202         * time/setitimer.c: Likewise.
27203         * time/settimeofday.c: Likewise.
27204         * time/stime.c: Likewise.
27205         * time/time.c: Likewise.
27206
27207 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
27208
27209         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27210         /usr/old/bin.
27211
27212         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27213         instead of spaces.
27214         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27215
27216 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
27217
27218         [BZ #14796]
27219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27220         FE_TONEAREST before applying Dekker multiplication and Knuth
27221         addition.  Clear inexact exceptions and check for exact zero
27222         results afterwards.
27223         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27224         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27225         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27226         * math/libm-test.inc (fma_test): Add more tests.
27227         (fma_test_towardzero): Likewise.
27228         (fma_test_downward): Likewise.
27229         (fma_test_upward): Likewise.
27230         * sysdeps/generic/math_private.h (default_libc_fesetround): New
27231         function.
27232         (libc_fesetround): New macro.
27233         (libc_fesetroundf): Likewise.
27234         (libc_fesetroundl): Likewise.
27235         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27236         function.
27237         (libc_fesetround_387): Likewise.
27238         (libc_fesetroundf): New macro.
27239         (libc_fesetround): Likewise.
27240         (libc_fesetroundl): Likewise.
27241         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27242         function.
27243         (libc_fesetroundf): New macro.
27244         (libc_fesetround): Likewise.
27245         (libc_fesetroundl): Likewise.
27246         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27247         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27248         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27249         libm_hidden_ver.
27250         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27251         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27252         libm_hidden_def.
27253         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27254         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27255         libm_hidden_ver.
27256         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27257         libm_hidden_def.
27258
27259         [BZ #3439]
27260         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27261         integer constant usable in #if and use that to give value to enum
27262         constant.
27263         (FE_DIVBYZERO): Likewise.
27264         (FE_UNDERFLOW): Likewise.
27265         (FE_OVERFLOW): Likewise.
27266         (FE_INVALID): Likewise.
27267         (FE_INVALID_SNAN): Likewise.
27268         (FE_INVALID_ISI): Likewise.
27269         (FE_INVALID_IDI): Likewise.
27270         (FE_INVALID_ZDZ): Likewise.
27271         (FE_INVALID_IMZ): Likewise.
27272         (FE_INVALID_COMPARE): Likewise.
27273         (FE_INVALID_SOFTWARE): Likewise.
27274         (FE_INVALID_SQRT): Likewise.
27275         (FE_INVALID_INTEGER_CONVERSION): Likewise.
27276         (FE_TONEAREST): Likewise.
27277         (FE_TOWARDZERO): Likewise.
27278         (FE_UPWARD): Likewise.
27279         (FE_DOWNWARD): Likewise.
27280         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27281         (FE_DIVBYZERO): Likewise.
27282         (FE_OVERFLOW): Likewise.
27283         (FE_UNDERFLOW): Likewise.
27284         (FE_INEXACT): Likewise.
27285         (FE_TONEAREST): Likewise.
27286         (FE_DOWNWARD): Likewise.
27287         (FE_UPWARD): Likewise.
27288         (FE_TOWARDZERO): Likewise.
27289         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27290         (FE_UNDERFLOW): Likewise.
27291         (FE_OVERFLOW): Likewise.
27292         (FE_DIVBYZERO): Likewise.
27293         (FE_INVALID): Likewise.
27294         (FE_TONEAREST): Likewise.
27295         (FE_TOWARDZERO): Likewise.
27296         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27297         (FE_OVERFLOW): Likewise.
27298         (FE_UNDERFLOW): Likewise.
27299         (FE_DIVBYZERO): Likewise.
27300         (FE_INEXACT): Likewise.
27301         (FE_TONEAREST): Likewise.
27302         (FE_TOWARDZERO): Likewise.
27303         (FE_UPWARD): Likewise.
27304         (FE_DOWNWARD): Likewise.
27305         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27306         (FE_DIVBYZERO): Likewise.
27307         (FE_OVERFLOW): Likewise.
27308         (FE_UNDERFLOW): Likewise.
27309         (FE_INEXACT): Likewise.
27310         (FE_TONEAREST): Likewise.
27311         (FE_DOWNWARD): Likewise.
27312         (FE_UPWARD): Likewise.
27313         (FE_TOWARDZERO): Likewise.
27314
27315 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
27316
27317         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27318
27319 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
27320
27321         * scripts/cross-test-ssh.sh (command): Use newlines to separate
27322         commands.  Quote $PWD.
27323         (blacklist_exports): Don't use remove_newlines.  Replace "declare
27324         -x" by "export".
27325         (remove_newlines): Remove.
27326
27327 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27328
27329         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27330         * stdlib/stdlib.h (atof): Moved to ...
27331         * include/bits/stdlib-float.h: Here.  New file.
27332         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27333         * stdlib/bits/stdlib-float.h: New file.
27334         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27335         -mno-sse -mno-mmx.
27336         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27337         <xmmintrin.h>.
27338
27339 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27340
27341         * conform/conformtest.pl (@headers): Add fenv.h.
27342         * conform/data/fenv.h-data: New file.
27343         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27344         include of <math/fenv.h>.
27345
27346         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27347         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27348         && !UNIX98].  Enables tests for XOPEN2K8.
27349         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27350         POSIX2008]: Likewise.
27351
27352         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27353         (struct rusage): Do not expect type or its members.
27354
27355         [BZ #3439]
27356         * math/math.h (FP_NAN): Define macro to integer constant usable in
27357         #if and use that to give value to enum constant.
27358         (FP_INFINITE): Likewise.
27359         (FP_ZERO): Likewise.
27360         (FP_SUBNORMAL): Likewise.
27361         (FP_NORMAL): Likewise.
27362
27363 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27364
27365         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27366         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27367         arguments.
27368
27369 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27370
27371         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27372         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27373         autoconf-time if not.
27374         * configure.in: Remove AC_PREREQ.
27375
27376 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27377
27378         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27379         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27380         of the internal implementation.
27381
27382 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27383
27384         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27385         except include of <misc/sys/syslog.h>.
27386
27387 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27388
27389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27390         function returns with a NULL context exit with zero.
27391
27392 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27393
27394         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27395
27396 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27397
27398         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27399         (run_program_cmd): This.
27400         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27401         (tst_langinfo): New variable.  Use it.
27402
27403 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27404
27405         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27406         floating point opcodes.
27407
27408 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27409
27410         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27411         variable.
27412
27413         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27414
27415         * sysdeps/mach/hurd/powerpc: Remove directory.
27416         * sysdeps/mach/powerpc: Likewise.
27417
27418 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27419
27420         * scripts/check-local-headers.sh: Ignore c++ headers.
27421
27422 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27423
27424         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27425         __libc_cleanup_region_start argument.
27426
27427 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27428
27429         [BZ #14784]
27430         [BZ #14785]
27431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27432         x * y using scaling, not as x * y + z.
27433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27435         * math/libm-test.inc (fma_test): Add more tests.
27436         (fma_test_towardzero): Likewise.
27437         (fma_test_downward): Likewise.
27438         (fma_test_upward): Likewise.
27439
27440 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27441
27442         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27443
27444 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27445
27446         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27447         New variable.
27448
27449 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27450
27451         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27452
27453 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27454
27455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27456         Fix sort order.
27457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27458         Likewise.
27459
27460 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27461
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27463         Fix the order of the list for glibc 2.17.
27464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27465         Likewise.
27466
27467 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27468
27469         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27470
27471 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27472
27473         [BZ #14610]
27474         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27475         for low part of x being zero before using __atanl (y).
27476         * math/libm-test.inc (atan2_test): Add another test.
27477
27478         * manual/install.texi (Configuring and compiling): Document
27479         general use of test-wrapper and test-wrapper-env.
27480         * INSTALL: Regenerated.
27481
27482         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27483         (__fma): Do not extract and scale down low bits on after-rounding
27484         systems when result rounded to normal precision would have normal
27485         exponent.
27486         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27487         (__fmal): Do not extract and scale down low bits on after-rounding
27488         systems when result rounded to normal precision would have normal
27489         exponent.
27490         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27491         (__fmal): Do not extract and scale down low bits on after-rounding
27492         systems when result rounded to normal precision would have normal
27493         exponent.
27494         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27495         macro.
27496         (fma_test): Add more tests.
27497         (fma_test_towardzero): Likewise.
27498         (fma_test_downward): Likewise.
27499         (fma_test_upward): Likewise.
27500
27501 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27502
27503         * sysdeps/i386/tininess.h: Renamed to ...
27504         * sysdeps/x86/tininess.h: This.
27505         * sysdeps/x86_64/tininess.h: Removed.
27506
27507 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27508
27509         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27510         input.  Use $(build-program-cmd).
27511         ($(objpfx)tst-array1-static.out): Likewise.
27512         ($(objpfx)tst-array2.out): Likewise.
27513         ($(objpfx)tst-array3.out): Likewise.
27514         ($(objpfx)tst-array4.out): Likewise.
27515         ($(objpfx)tst-array5.out): Likewise.
27516         ($(objpfx)tst-array5-static.out): Likewise.
27517
27518 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27519
27520         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27521         if defined.
27522
27523         * nss/nsswitch.h (nss_interface_function): Provide new
27524         macro for use with NSS functions.
27525         * grp/initgroups.c: Use new macro.
27526         * nss/getXXbyYY.c: Likewise.
27527         * nss/getXXbyYY_r.c: Likewise.
27528         * nss/getXXent.c: Likewise.
27529         * nss/getXXent_r.c: Likewise.
27530         * sysdeps/posix/getaddrinfo.c: Likewise.
27531
27532 2012-10-30  Andreas Jaeger  <aj@suse.de>
27533
27534         * po/ru.po: Update Russion translation from translation project.
27535
27536 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27537
27538         [BZ #14152]
27539         [BZ #14783]
27540         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27541         result and shift together with sticky bit instead of replicating
27542         round-to-nearest rounding.
27543         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27544         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27545         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27546         missing underflow exceptions.
27547         (fma_test_towardzero): Add more tests.
27548         (fma_test_downward): Likewise.
27549         (fma_test_upward): Likewise.
27550
27551         [BZ #14047]
27552         * sysdeps/generic/tininess.h: New file.
27553         * sysdeps/i386/tininess.h: Likewise.
27554         * sysdeps/sh/tininess.h: Likewise.
27555         * sysdeps/x86_64/tininess.h: Likewise.
27556         * stdlib/tst-strtod-underflow.c: Likewise.
27557         * stdlib/tst-tininess.c: Likewise.
27558         * stdlib/strtod_l.c: Include <tininess.h>.
27559         (round_and_return): Do not set errno for exact underflow cases.
27560         Force an underflow exception when setting errno for underflow.
27561         Determine underflow based on rounding to normal precision if
27562         TININESS_AFTER_ROUNDING.
27563         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27564         ERANGE for exact underflow cases.
27565         * stdlib/Makefile (tests): Add tst-tininess and
27566         tst-strtod-underflow.
27567         ($(objpfx)tst-tininess): Use $(link-libm).
27568         ($(objpfx)tst-strtod-underflow): Likewise.
27569
27570 2012-10-30  Andreas Jaeger  <aj@suse.de>
27571
27572         [BZ#14767]
27573         * elf/Makefile (tests): Remove conditional for have-initfini-array
27574         since this is now always required and the variable does not exist
27575         anymore.
27576         (tests-static): Likewise.
27577         (modules-names): Likewise.
27578
27579         * po/eo.po: Add Esperanto translation from translation project.
27580
27581         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27582         merged with constructor/destructor.
27583         (init_array): Likewise.
27584         * elf/tst-array2dep.c (fini_array): Likewise.
27585         (init_array): Likewise.
27586
27587 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27588
27589         * manual/message.texi: Delete @cartouche tags.
27590
27591 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27592
27593         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27594         EOPNOTSUPP.
27595         * sysdeps/mach/hurd/fsync.c: Likewise.
27596
27597         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27598         [_POSIX_REALTIME_SIGNALS]: Change condition to
27599         [_POSIX_REALTIME_SIGNALS > 0].
27600
27601 2012-10-27  Andreas Jaeger  <aj@suse.de>
27602
27603         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27604         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27606         [__WORDSIZE != 64]: Likewise.
27607
27608 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27609
27610         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27611         *  iconvdata/tst-tables.sh: Likewise.
27612
27613 2012-10-25  David S. Miller  <davem@davemloft.net>
27614
27615         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27616         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27617         of strtoull.
27618
27619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27620         ifunc-impl-list.c
27621         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27622         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27623         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27624         file.
27625
27626 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27627
27628         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27629         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27630         __getdirentries.
27631
27632 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27633             Jim Blandy  <jimb@codesourcery.com>
27634
27635         * scripts/cross-test-ssh.sh: New file.
27636         * manual/install.texi (Configuring and compiling): Document use of
27637         cross-test-ssh.sh.
27638         * INSTALL: Regenerated.
27639
27640 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27641
27642         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27643         EOPNOTSUPP.
27644
27645 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27646
27647         * Makeconfig (run-program-prefix): Fix comment.
27648
27649 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27650             Jim Blandy  <jimb@codesourcery.com>
27651
27652         * Makeconfig (test-wrapper): New variable,
27653         (test-wrapper-env): Likewise.
27654         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27655         (run-built-tests): Define to yes.
27656         (run-program-prefix): Use $(test-wrapper).
27657         (built-program-cmd): Likewise.
27658         * Rules (make-test-out): Use $(test-wrapper-env) and
27659         $(host-built-program-cmd).
27660         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27661         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27662         tst-pathopt.sh.
27663         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27664         $(test-wrapper-env) to tst-rtld-load-self.sh.
27665         ($(objpfx)order2.out): Use $(test-wrapper).
27666         ($(objpfx)tst-initorder.out): Likewise.
27667         ($(objpfx)tst-initorder2.out): Likewise.
27668         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27669         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27670         (test_wrapper_env): New variable.  Use it to run ld.so.
27671         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27672         Use it to run ld.so.
27673         (test_wrapper_env): Likewise.
27674         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27675         $(test-wrapper) to run-iconv-test.sh.
27676         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27677         (ICONV): Use $test_wrapper.
27678         * posix/Makefile ($(objpfx)globtest.out): Pass
27679         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27680         globtest.sh, not $(run-program-prefix).
27681         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27682         (test_wrapper): Likewise.
27683         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27684         set together with run_via_rtld_prefix.
27685         (run_program_prefix): Define in terms of test_wrapper and
27686         run_via_rtld_prefix.
27687
27688 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27689
27690         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27691         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27692         Targets removed.
27693
27694         [BZ #14743]
27695         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27696         Declare __clock_getres, __clock_gettime, __clock_settime,
27697         __clock_nanosleep, and __clock_getcpuclockid.
27698         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27699         Remove librt_hidden_def (clock_gettime).
27700         * sysdeps/unix/clock_gettime.c: Likewise.
27701         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27702         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27703         * rt/clock_getres.c: Define __clock_getres as an alias.
27704         * sysdeps/posix/clock_getres.c: Likewise.
27705         * rt/clock_settime.c: Define __clock_settime as an alias.
27706         * sysdeps/unix/clock_settime.c: Likewise.
27707         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27708         * sysdeps/unix/clock_nanosleep.c: Likewise.
27709         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27710         * rt/clock-compat.c: New file.
27711         * rt/Makefile (librt-routines): Add clock-compat and move
27712         $(clock-routines) to ...
27713         (routines): ... here, new variable.
27714         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27715         Don't add get_clockfreq here.
27716         * rt/Versions (libc: GLIBC_2.17): New version set.
27717         Add clock_* symbols here.
27718         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27719         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27720         (GLIBC_2.17): Add clock_* symbols.
27721         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27723         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27725         Likewise.
27726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27727         Likewise.
27728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27732         * NEWS: Mention the move.
27733
27734         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27735         Use __open, __read, __close rather than their public counterparts.
27736         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27737         (__get_clockfreq_via_cpuinfo): Likewise.
27738         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27739         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27740
27741         * config.h.in (HAVE_IFUNC): New #undef.
27742         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27743         was successful.
27744         * configure: Regenerated.
27745
27746 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27747
27748         * configure.in: Move READELF check to start of file.
27749         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27750         libc_cv_asm_gnu_indirect_function in the process.
27751         * configure: Regenerated.
27752
27753 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27754
27755         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27756         send the output to /dev/null.
27757         (libc_cv_cc_with_libunwind): Likewise.
27758         (libc_cv_as_noexecstack): Likewise.
27759         * configure: Regenerate.
27760
27761 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27762
27763         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27764
27765         * posix/globtest.sh (TMPDIR): Do not set.
27766         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27767         (testout): Likewise.
27768
27769 2012-10-24  Andreas Jaeger  <aj@suse.de>
27770
27771         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27772         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27773         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27774         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27775         posix_fadvise64, posix_fallocate64.
27776
27777         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27778         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27779         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27780         Likewise.
27781         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27782         Likewise.
27783         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27784
27785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27786         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27787         <bits/fcntl-linux.h>.
27788         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27789
27790         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27791         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27792         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27793         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27794         [__WORDSIZE != 64]: Likewise.
27795
27796 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27797
27798         * Makeconfig (run-built-tests): New variable.
27799         * Rules [$(cross-compiling) = yes]: Change condition to
27800         [$(run-built-tests) = no].
27801         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27802         to [$(run-built-tests) = yes].
27803         * elf/Makefile [$(cross-compiling) = no]: Likewise
27804         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27805         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27806         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27807         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27808         * io/Makefile [$(cross-compiling) = no]: Likewise.
27809         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27810         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27811         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27812         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27813         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27814         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27815         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27816         * string/Makefile [$(cross-compiling) = no]: Likewise.
27817
27818         * posix/Makefile ($(objpfx)globtest.out): Pass
27819         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27820         $(rtld-installed-name).
27821         * posix/globtest.sh (elf_objpfx): Remove variable.
27822         (rtld_installed_name): Likewise.
27823         (library_path): Likewise.
27824         (run_program_prefix): New variable.  Use for running globtest
27825         binary.
27826
27827 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27828             Joseph Myers  <joseph@codesourcery.com>
27829
27830         * Makeconfig (host-built-program-cmd): New variable.
27831         * elf/Makefile (tst-stackguard1-ARGS): Use
27832         $(host-built-program-cmd).
27833         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27834         (tst-spawn-ARGS): Likewise.
27835         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27836
27837 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27838             Jim Blandy  <jimb@codesourcery.com>
27839
27840         * Makeconfig (run-via-rtld-prefix): New variable.
27841         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27842         (built-program-cmd): Likewise.
27843
27844 2012-10-22  Andreas Jaeger  <aj@suse.de>
27845
27846         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27847         __O_RSYNC if it exists, otherwise to O_SYNC.
27848
27849 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27850             Joseph Myers  <joseph@codesourcery.com>
27851
27852         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27853         /dev/null.
27854         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27855         from /dev/null
27856         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27857         /dev/null.
27858
27859 2012-10-22  Andreas Jaeger  <aj@suse.de>
27860
27861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27862         Define always.
27863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27864
27865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27866         bits/fcntl-linux.h.
27867
27868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27869         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27870
27871         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27872         to __O_LARGEFILE.
27873         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27874         to __O_LARGEFILE.
27875
27876 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27877             Joseph Myers  <joseph@codesourcery.com>
27878
27879         * config.make.in (NM): New variable.
27880
27881 2012-10-21  Andreas Jaeger  <aj@suse.de>
27882
27883         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27884         definitions and declarations that are provided by
27885         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27886
27887 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27888
27889         [BZ #14683]
27890         * elf/Makefile (tests-static): Add tst-leaks1-static.
27891         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27892         ($(objpfx)tst-leaks1-static): New rule.
27893         ($(objpfx)tst-leaks1-static-mem): Likewise.
27894         (tst-leaks1-static-ENV): New macro.
27895         * elf/dl-open.c (dl_open_worker): Check the main application
27896         only if SHARED is defined.
27897         * elf/tst-leaks1-static.c: New file.
27898
27899 2012-10-20  Andreas Jaeger  <aj@suse.de>
27900
27901         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27902         generic values for Linux.
27903         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27904         and declarations that are provided by <bits/fcntl-linux.h> and
27905         include <bits/fcntl-linux.h>.
27906         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27907         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27908
27909 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27910
27911         * io/fcntl.h: Move include of <bits/types.h> to the top and
27912         include it unconditionally.
27913
27914 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27915
27916         * wcsmbs/Makefile (tests-ifunc): New variable.
27917         (tests): Add $(tests-ifunc).
27918         * wcsmbs/test-wcschr-ifunc.c: New file.
27919         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27920         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27921         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27922         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27923         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27924
27925         * string/Makefile (tests-ifunc): New variable.
27926         (tests): Add $(tests-ifunc).
27927         * string/test-memccpy.c (TEST_NAME): New macro.
27928         * string/test-memchr.c (TEST_NAME): Likewise.
27929         * string/test-memcmp.c (TEST_NAME): Likewise.
27930         * string/test-memcpy.c (TEST_NAME): Likewise.
27931         * string/test-memmem.c (TEST_NAME): Likewise.
27932         * string/test-memmove.c (TEST_NAME): Likewise.
27933         * string/test-memset.c (TEST_NAME): Likewise.
27934         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27935         * string/test-stpcpy.c (TEST_NAME): Likewise.
27936         * string/test-stpncpy.c (TEST_NAME): Likewise.
27937         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27938         * string/test-strcasestr.c (TEST_NAME): Likewise.
27939         * string/test-strcat.c (TEST_NAME): Likewise.
27940         * string/test-strchr.c (TEST_NAME): Likewise.
27941         * string/test-strcmp.c(TEST_NAME): Likewise.
27942         * string/test-strcpy.c (TEST_NAME): Likewise.
27943         * string/test-strcspn.c (TEST_NAME): Likewise.
27944         * string/test-strlen.c (TEST_NAME): Likewise.
27945         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27946         * string/test-strncmp.c (TEST_NAME): Likewise.
27947         * string/test-strncpy.c (TEST_NAME): Likewise.
27948         * string/test-strnlen.c (TEST_NAME): Likewise.
27949         * string/test-strpbrk.c (TEST_NAME): Likewise.
27950         * string/test-strrchr.c (TEST_NAME): Likewise.
27951         * string/test-strspn.c (TEST_NAME): Likewise.
27952         * string/test-strstr.c (TEST_NAME): Likewise.
27953         * string/test-bcopy-ifunc.c: New file.
27954         * string/test-bzero-ifunc.c: Likewise.
27955         * string/test-memccpy-ifunc.c: Likewise.
27956         * string/test-memchr-ifunc.c: Likewise.
27957         * string/test-memcmp-ifunc.c: Likewise.
27958         * string/test-memcpy-ifunc.c: Likewise.
27959         * string/test-memmem-ifunc.c: Likewise.
27960         * string/test-memmove-ifunc.c: Likewise.
27961         * string/test-mempcpy-ifunc.c: Likewise.
27962         * string/test-memset-ifunc.c: Likewise.
27963         * string/test-rawmemchr-ifunc.c: Likewise.
27964         * string/test-stpcpy-ifunc.c: Likewise.
27965         * string/test-stpncpy-ifunc.c: Likewise.
27966         * string/test-strcasecmp-ifunc.c: Likewise.
27967         * string/test-strcasestr-ifunc.c: Likewise.
27968         * string/test-strcat-ifunc.c: Likewise.
27969         * string/test-strchr-ifunc.c: Likewise.
27970         * string/test-strchrnul-ifunc.c: Likewise.
27971         * string/test-strcmp-ifunc.c: Likewise.
27972         * string/test-strcpy-ifunc.c: Likewise.
27973         * string/test-strcspn-ifunc.c: Likewise.
27974         * string/test-strlen-ifunc.c: Likewise.
27975         * string/test-strncasecmp-ifunc.c: Likewise.
27976         * string/test-strncat-ifunc.c: Likewise.
27977         * string/test-strncmp-ifunc.c: Likewise.
27978         * string/test-strncpy-ifunc.c: Likewise.
27979         * string/test-strnlen-ifunc.c: Likewise.
27980         * string/test-strpbrk-ifunc.c: Likewise.
27981         * string/test-strrchr-ifunc.c: Likewise.
27982         * string/test-strspn-ifunc.c: Likewise.
27983         * string/test-strstr-ifunc.c: Likewise.
27984
27985         * debug/Makefile (tests-ifunc): New variable.
27986         (tests): Add $(tests-ifunc).
27987         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27988         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27989         * debug/test-stpcpy_chk-ifunc.c: New file.
27990         * debug/test-strcpy_chk-ifunc.c: Likewise.
27991
27992 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27993
27994         [BZ #13601]
27995         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27996         header is not read in.
27997
27998 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27999
28000         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
28001         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
28002         directly.  Pass built executable to script as
28003         $(built-program-cmd).
28004         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
28005         $testprogram without using LD_LIBRARY_PATH and $ldso.
28006
28007         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28008         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28009         $(rtld-installed-name).
28010         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28011         (rtld_installed_name): Likewise.
28012         (library_path): Likewise.
28013         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
28014         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28015         $(run-program-prefix) to tst-tables.sh.
28016         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
28017         it to run tst-table-from and tst-table-to.
28018         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28019         Pass it to tst-table.sh.
28020         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28021         $(run-program-prefix) to tst-gettext.sh.
28022         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28023         tst-translit.sh.
28024         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28025         tst-gettext2.sh.
28026         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
28027         to run tst-gettext.
28028         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
28029         to run tst-gettext2.
28030         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
28031         to run tst-translit.
28032         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28033         $(run-program-prefix) to tst-mtrace.sh.
28034         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
28035         to run tst-mtrace.
28036         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28037         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28038         $(rtld-installed-name).
28039         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28040         (rtld_installed_name): Likewise.
28041         (run_program_prefix): New variable.  Use it to run wordexp-test.
28042
28043         * Makeconfig (ARCH): Remove all definitions.
28044         (machine): Likewise.
28045         [ARCH]: Remove conditional code.
28046         [!objdir]: Give error.
28047         [!objdir] (objpfx): Remove.
28048         [!objdir] (common-objpfx): Likewise.
28049         [!objdir] (common-objdir): Likewise.
28050         * configure.in (config_makefile): Remove.  Hardcode Makefile in
28051         AC_CONFIG_FILES call.
28052         * configure: Regenerated.
28053
28054         [BZ #13888]
28055         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28056         or TMPDIR.
28057         (testout): Likewise.
28058
28059         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28060         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28061         $(rtld-installed-name).
28062         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28063         (rtld_installed_name): Likwise.
28064         (runit): Remove function.
28065         (run_getconf): New variable,  Use it for running getconf binary.
28066
28067 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
28068
28069         [BZ #14716]
28070         * string/test-memmem.c (check_result): New function.
28071         (do_one_test): Use it.
28072         (check1): New function.
28073         (test_main): Use it.
28074
28075 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
28076
28077         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28078
28079 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
28080
28081         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28082         (_G_LSEEK64): Likewise.
28083         (_G_MMAP64): Likewise.
28084         (_G_FSTAT64): Likewise.
28085         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28086         (_G_LSEEK64): Likewise.
28087         (_G_MMAP64): Likewise.
28088         (_G_FSTAT64): Likewise.
28089         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28090         unconditional.  Call __mmap64 directly.
28091         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28092         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
28093         __lseek64 directly.
28094         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28095         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
28096         __mmap64 directly.
28097         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28098         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28099         __lseek64 directly.
28100         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28101         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
28102         __lseek64 directly.
28103         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28104         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
28105         __lseek64 directly.
28106         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28107         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
28108         __fxstat64 directly.
28109         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28110         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28111         unconditional.
28112         (freopen64) [!_G_OPEN64]: Remove conditional code.
28113         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28114         unconditional.
28115         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28116         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28117         unconditional.
28118         (ftello64) [!_G_LSEEK64]: Remove conditional code.
28119         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28120         unconditional.
28121         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28122         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28123         unconditional.
28124         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28125         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28126         unconditional.
28127         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28128         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28129         unconditional.
28130         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28131         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28132         unconditional.
28133         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28134
28135 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28136
28137         [BZ #12140]
28138         * manual/memory.texi (Malloc Tunable Parameters): Add note
28139         about free list pointers overwriting some perturb bytes.
28140         Wording suggested by Roland McGrath.
28141
28142 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
28143
28144         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28145         (lgamma_test): Likewise.
28146         (tgamma_test): Likewise.
28147
28148 2012-10-16  Florian Weimer  <fweimer@redhat.com>
28149
28150         [BZ #14700]
28151         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28152         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28153
28154 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
28155
28156         * NEWS: Mention BZ #14716.
28157         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28158         when removing AVAILABLE1_USES_J macro.
28159
28160 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
28161
28162         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28163         (__bswap_64): __uint64_t for unsigned 64-bit int.
28164
28165 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
28166
28167         * include/string.h (memmem): Declare libc hidden alias.
28168         * string/memmem.c (memmem): Define libc hidden alias.
28169         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28170         __read, __close instead of open, read, close.
28171
28172 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
28173
28174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28175         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28176         global and hidden.
28177         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28178         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28179         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28180         Likewise.
28181         (__rawmemchr_sse2): Likewise.
28182         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28183         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28184         (__strchr_sse2): Likewise.
28185         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28186         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28187         (__strcasecmp_sse2): Likewise.
28188         (__strncasecmp_sse2): Likewise.
28189         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28190         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28191         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28192         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28193         (__strrchr_sse2): Likewise.
28194         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28195         ifunc-impl-list.c.
28196         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28197         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28198         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28199         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28200         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28201         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28202         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28203         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28204         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28205         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28206         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28207         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28208         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28209         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28210         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28211         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28212         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28213         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28214         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28215         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28216         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28217         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28218         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28219         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28220         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28221         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28222         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28223         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28224         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28225         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28226
28227         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28228         global and hidden.
28229         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28230         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28231         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28232         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28233         Likewise.
28234         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28235         Likewise.
28236         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28237         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28238         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28239         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28240         ifunc-impl-list.c.
28241         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28242         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28243         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28244         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28245         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28246         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28247         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28248         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28249         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28250         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28251         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28252         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28253         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28254         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28255         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28256         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28257         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28258         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28259         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28260         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28261         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28262         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28263         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28264         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28265         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28266         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28267         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28268         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28269         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28270         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28271         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28272         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28273         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28274         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28275         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28276         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28277         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28278         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28279         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28280         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28281         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28282
28283         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28284         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28285         * include/ifunc-impl-list.h: New file.
28286         * misc/ifunc-impl-list.c: Likewise.
28287         * misc/Makefile (routines): Add ifunc-impl-list.
28288         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28289         * string/test-string.h: Include <ifunc-impl-list.h>.
28290         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28291         TEST_NAME]: New variables.
28292         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28293         are defined.
28294         (test_init): Call __libc_ifunc_impl_list to initialize
28295         func_list if TEST_IFUNC and TEST_NAME are defined.
28296
28297         * string/Makefile (strop-tests): Add bcopy and bzero.
28298         * string/test-bcopy.c: New file.
28299         * string/test-bzero.c: Likewise.
28300         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28301         defined.
28302         * string/test-memset.c: Support bzero test if TEST_BZERO is
28303         defined.
28304         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28305         __libc_memmove.
28306         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28307         __libc_memset.
28308         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28309         of memset.
28310
28311 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
28312
28313         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28314         * configure: Regenerated.
28315
28316         * Makeconfig (+link-static-before-libc): Don't include
28317         $(link-static-libc).
28318
28319         * libio/libio.h (_IO_pos_t): Remove.
28320
28321 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28322
28323         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
28324         McGrath.
28325
28326 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28327
28328         * crypt/crypt-entry.c: Include fips-private.h.
28329         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28330         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28331         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28332         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28333
28334 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28335
28336         * crypt/crypt-private.h: Include stdbool.h.
28337         (_ufc_setup_salt_r): Return bool.
28338         * crypt/crypt-entry.c: Include errno.h.
28339         (__crypt_r): Return NULL with EINVAL for bad salt.
28340         * crypt/crypt_util.c (bad_for_salt): New.
28341         (_ufc_setup_salt_r): Check that salt is long enough and within
28342         the specified alphabet.
28343         * crypt/badsalttest.c: New file.
28344         * crypt/Makefile (tests): Add it.
28345         ($(objpfx)badsalttest): New.
28346
28347 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28348
28349         * NEWS: Add entry for BZ #14602.
28350
28351 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28352
28353         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28354         type-generic.
28355         * math/libm-test.inc: Update comment listing what functions and
28356         macros are tested.
28357         (isgreater_test): New function.
28358         (isgreaterequal_test): Likewise.
28359         (isless_test): Likewise.
28360         (islessequal_test): Likewise.
28361         (islessgreater_test): Likewise.
28362         (isunordered_test): Likewise.
28363         (main): Call the new functions.
28364
28365 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28366
28367         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28368         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28369         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28370         * sysdeps/i386/configure: Regenerated.
28371         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28372         * sysdeps/mach/configure: Regenerated.
28373         * sysdeps/mach/hurd/configure: Regenerated.
28374         * sysdeps/powerpc/configure: Regenerated.
28375         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28376         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28377         * sysdeps/s390/s390-32/configure: Regenerated.
28378         * sysdeps/s390/s390-64/configure: Regenerated.
28379         * sysdeps/sh/configure: Regenerated.
28380         * sysdeps/sparc/configure: Regenerated.
28381         * sysdeps/unix/sysv/linux/configure: Regenerated.
28382         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28383         * sysdeps/x86_64/configure: Regenerated.
28384
28385         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28386         defined.  Don't check if MAP is NULL.
28387
28388 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28389
28390         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28391         (_G_stat64): Likewise.
28392         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28393         (_G_stat64): Likewise.
28394         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28395         instead of struct _G_stat64.
28396         * libio/fileops.c (mmap_remap_check): Likewise.
28397         (decide_maybe_mmap): Likewise.
28398         (_IO_new_file_seekoff): Likewise.
28399         (_IO_file_stat): Likewise.
28400         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28401         _G_off64_t.
28402         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28403         instead of struct _G_stat64.
28404         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28405
28406 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28407
28408         [BZ #14602]
28409         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28410         Replace with ...
28411         (CHECK_EOL): New macro.
28412         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28413         CHECK_EOL.
28414         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28415         Replace with CHECK_EOL.
28416         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28417         Replace with CHECK_EOL.
28418
28419 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28420
28421         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28422         type-generic.
28423         * math/libm-test.inc: Update comment listing what functions and
28424         macros are tested.
28425         (finite_test): New function.
28426         (isinf_test): Likewise.
28427         (isnan_test): Likewise.
28428         (fpclassify_test): Test subnormal input.
28429         (isfinite_test): Likewise.
28430         (isnormal_test): Likewise.
28431         (main): Call the new functions.
28432
28433 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28434
28435         [BZ #14660]
28436         * Makerules (%.dynsym): Force C locale when running
28437         $(OBJDUMP) --dynamic-syms.
28438
28439 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28440
28441         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28442         <stdint.h>.
28443
28444 2012-10-06  David S. Miller  <davem@davemloft.net>
28445
28446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28447         upper 32-bits of the length value in %o2 since we use branch-on-register
28448         tests which consider the entire 64-bit register.
28449
28450 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28451
28452         * string/test-strstr.c (check2): Add a test for page boundary.
28453
28454 2012-10-05  David S. Miller  <davem@davemloft.net>
28455
28456         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28457         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28458         file.
28459         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28460         sysdep_routines.
28461         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28462         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28463         and bzero when HWCAP_SPARC_CRYPTO is present.
28464
28465 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28466
28467         [BZ #14602]
28468         * string/test-strstr.c (check2): New function.
28469         (test_main): Call check2.
28470
28471         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28472         and bug-strchr1.
28473         * string/bug-strcasestr1.c (do_test): Moved to ...
28474         * string/test-strcasestr.c (check1): Here.  New function.
28475         (do_one_test): Break out result checking code into ...
28476         (check_result): This.  New function.
28477         (do_one_test): Call check_result.
28478         (test_main): Call check1.
28479         * string/bug-strchr1.c (do_test): Moved to ...
28480         * string/test-strchr.c (check1): Here.  New function.
28481         (do_one_test): Break out result checking code into ...
28482         (check_result): This.  New function.
28483         (do_one_test): Call check_result.
28484         (test_main): Call check1.
28485         * string/bug-strstr1.c (main): Moved to ...
28486         * string/test-strstr.c (check1): Here.  New function.
28487         (do_one_test): Break out result checking code into ...
28488         (check_result): This.  New function.
28489         (do_one_test): Call check_result.
28490         (test_main): Call check1.
28491         * string/bug-strcasestr1.c: Removed.
28492         * string/bug-strchr1.c: Likewise.
28493         * string/bug-strstr1.c: Likewise.
28494
28495         * elf/Makefile (dl-routines): Add hwcaps.
28496         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28497         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28498         (_dl_important_hwcaps): Moved to ...
28499         * elf/dl-hwcaps.c: Here.  New file.
28500         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28501
28502         [BZ #14557]
28503         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28504         if IS_IN_rtld isn't defined.
28505
28506         * elf/dl-support.c (_dl_sysinfo_map): New.
28507         Include "get-dynamic-info.h" and "setup-vdso.h".
28508         (_dl_non_dynamic_init): Call setup_vdso.
28509         * elf/dynamic-link.h: Don't include <assert.h>.
28510         (elf_get_dynamic_info): Moved to ...
28511         * elf/get-dynamic-info.h: Here.  New file.
28512         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28513         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28514         * elf/setup-vdso.h: Here.  New file.
28515         * elf/rtld.c: Include "setup-vdso.h".
28516         (dl_main): Call setup_vdso.
28517
28518 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28519
28520         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28521         creal in comment listing functions tested.  List finite, isinf,
28522         isnan, isless, islessequal, isgreater, isgreaterequal,
28523         islessgreater, isunordered, lgamma_r and pow10 as functions and
28524         macros not tested.  Mention which functions not tested are aliases
28525         for other functions.  Fix typo.  Note that signs of NaNs are not
28526         tested.
28527
28528         * scripts/config.guess: Update from config.git.
28529         * scripts/config.sub: Likewise.
28530
28531 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28532
28533         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28534         * misc/madvise.c (madvise): Renamed to __madvise.
28535         Make madvise a weak alias.
28536         * include/sys/mman.h: Declare __madvise.
28537         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28538         * sysdeps/unix/syscalls.list
28539         (madvise): Make __madvise the strong name, and madvise a weak alias.
28540         * sysdeps/unix/sysv/linux/syscalls.list
28541         (madvise, mmap): Remove redundant entries.
28542         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28543         * malloc/malloc.c (mtrim): Likewise.
28544         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28545
28546 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28547
28548         * sysdeps/mach/hurd/dl-cache.c: File removed.
28549         * config.h.in (USE_LDCONFIG): New #undef.
28550         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28551         * configure: Regenerated.
28552         * elf/Makefile (dl-routines): Add dl-cache only under
28553         [$(use-ldconfig) = yes].
28554         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28555         cache on [USE_LDCONFIG].
28556         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28557         [USE_LDCONFIG].
28558         * elf/rtld.c (dl_main): Likewise.
28559
28560 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28561
28562         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28563         _SC_LEVEL4_CACHE_LINESIZE.
28564
28565 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28566
28567         * sysdeps/unix/bsd/confstr.h: File removed.
28568
28569 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28570
28571         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28572         sys/sdt-config.h.
28573
28574 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28575
28576         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28577         Make 'mapoff' field ElfW(Off) rather than off_t.
28578
28579 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28580
28581         * nscd/Makefile: Remove nscd-cflags and all its users.
28582         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28583         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28584
28585         [BZ #10631]
28586         * malloc.c (malloc_printerr): Clarify error message.
28587
28588 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28589
28590         [BZ #14648]
28591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28592         Set bit_FMA_Usable if FMA is supported.
28593         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28594         macro.
28595         (bit_FMA4_Usable): Updated.
28596         (index_FMA_Usable): New macro.
28597         (CPUID_FMA): Likewise
28598         (HAS_FMA): Defined with bit_FMA_Usable.
28599
28600 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28601
28602         * bits/types.h (__swblk_t): Type removed.
28603         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28604         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28605         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28606         (__SWBLK_T_TYPE): Likewise.
28607         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28608         (__SWBLK_T_TYPE): Likewise.
28609         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28610         (__SWBLK_T_TYPE): Likewise.
28611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28612         (__SWBLK_T_TYPE): Likewise.
28613
28614 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28615             Honza Horak <hhorak@redhat.com>
28616
28617         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28618         (xdr_mapname): Use YPMAXMAP as maxsize.
28619         (xdr_peername): Use YPMAXPEER as maxsize.
28620         (xdr_keydat): Use YPAXRECORD as maxsize.
28621         (xdr_valdat): Use YPMAXRECORD as maxsize.
28622
28623 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28624
28625         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28626
28627         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28628         * csu/init-first.c: ... here.
28629         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28630         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28631         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28632         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28633         * sysdeps/i386/init-first.c: File removed.
28634         * sysdeps/sh/init-first.c: File removed.
28635
28636 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28637
28638         [BZ #14645]
28639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28640         if x * y might underflow to zero and z is zero.
28641         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28643         * math/libm-test.inc (min_subnorm_value): New variable.
28644         (fma_test): Add more tests.
28645         (fma_test_towardzero): Likewise.
28646         (fma_test_downward): Likewise
28647         (fma_test_upward): Likewise.
28648         (initialize): Set min_subnorm_value.
28649
28650 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28651
28652         [BZ #14638]
28653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28654         0 + 0.
28655         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28656         mode for addition resulting in exact zero.
28657         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28659         exact 0 + 0.
28660         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28662         * math/libm-test.inc (fma_test): Add more tests.
28663         (fma_test_towardzero): New function.
28664         (fma_test_downward): Likewise.
28665         (fma_test_upward): Likewise.
28666         (main): Call the new functions.
28667
28668 2012-09-28  David S. Miller  <davem@davemloft.net>
28669
28670         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28671
28672 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28673
28674         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28675         instead of SIGALRM.
28676
28677         * sysdeps/gnu/_G_config.h: Moved to ...
28678         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28679         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28680         * sysdeps/generic/_G_config.h: ... here.
28681
28682         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28683
28684         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28685
28686         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28687         Conditionalize target on [libnss_test1.so-version].
28688
28689         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28690
28691         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28692         (elfobjdir): Move out of conditionals.
28693
28694         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28695         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28696         (__nss_lookup_function): Conditionalize label remove_from_tree on
28697         [!DO_STATIC_NSS || SHARED], matching its only use.
28698
28699 2012-09-28  David S. Miller  <davem@davemloft.net>
28700
28701         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28702         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28703         file.
28704         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28705         sysdep_routines.
28706         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28708         when HWCAP_SPARC_CRYPTO is present.
28709
28710 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28711
28712         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28713
28714 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28715
28716         [BZ #6530]
28717         * stdio-common/vfprintf.c (process_string_arg): Revert
28718         2000-07-22 change.
28719
28720 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28721
28722         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28723         for testcase.
28724         * stdio-common/tst-sprintf.c: Include <locale.h>
28725         (main): Test sprintf's handling of incomplete multibyte
28726         characters.
28727
28728 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28729
28730         * elf/dl-runtime.c (VERSYMIDX): Removed.
28731         * elf/dl-version.c (VERSYMIDX): Likewise.
28732         * elf/do-rel.h (VERSYMIDX): Likewise.
28733         (VALIDX): Likewise.
28734         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28735         * elf/rtld.c (VALIDX): Likewise.
28736         (ADDRIDX): Likewise.
28737         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28738         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28739         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28740         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28741         (VALIDX): Likewise.
28742         (ADDRIDX): Likewise.
28743
28744 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28745
28746         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28747
28748 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28749
28750         [BZ #11438]
28751         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28752         to global scope.
28753         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28754         addresses are in the same scope as 192.0.2/24.
28755         * posix/gai.conf: Document new scope table defaults.
28756
28757 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28758
28759         [BZ #5298]
28760         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28761         for ftell.  Compute offsets from write pointers instead.
28762         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28763
28764 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28765
28766         [BZ #14543]
28767         * libio/Makefile (tests): New test case tst-fseek.
28768         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28769         combination works in wide mode.
28770         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28771         state when the external buffer state changes.
28772
28773 2012-09-27  David S. Miller  <davem@davemloft.net>
28774
28775         [BZ #14376]
28776         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28777         pass reloc->r_addend in as the 'high' argument to
28778         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28779
28780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28781
28782 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28783
28784         * rt/tst-aio2.c: Include <pthread.h>.
28785         * rt/tst-aio3.c: Likewise.
28786
28787 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28788
28789         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28790
28791 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28792
28793         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28794         contents on [SHARED].
28795
28796 2012-09-26  Marek Polacek  <polacek@redhat.com>
28797
28798         [BZ #14530]
28799         [BZ #13741]
28800         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28801         for C++ and GCC <4.3 as well as for non GCC compilers.
28802
28803 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28804
28805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28806
28807 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28808
28809         * Makefile.in (all, install): Declare with .PHONY.
28810         Reported by Michael Hope <michael.hope@linaro.org>.
28811
28812 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28813
28814         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28815         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28816         system header.
28817         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28818         Likewise.
28819         (sydep_routines): Add the new and the internal functions.
28820         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28821         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28823         (GLIBC_2.17): Add the new function.
28824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28825         (GLIBC_2.17): Likewise.
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28827         (GLIBC_2.17): Likewise.
28828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28829         (GLIBC_2.17): Likewise.
28830         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28831
28832 2012-09-25  Alan Modra  <amodra@gmail.com>
28833
28834         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28835         Add release barrier before setting once_control to say
28836         initialisation is done.  Add hints on lwarx.  Use macro in
28837         place of isync.
28838         (clear_once_control): Add release barrier.
28839
28840 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28841
28842         [BZ #13629]
28843         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28844         specially.
28845         * math/s_clog10.c (__clog10): Likewise.
28846         * math/s_clog10f.c (__clog10f): Likewise.
28847         * math/s_clog10l.c (__clog10l): Likewise.
28848         * math/s_clogf.c (__clogf): Likewise.
28849         * math/s_clogl.c (__clogl): Likewise.
28850         * math/Makefile (libm-calls): Add x2y2m1.
28851         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28852         (__x2y2m1): Likewise.
28853         (__x2y2m1l): Likewise.
28854         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28855         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28856         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28857         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28858         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28859         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28860         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28861         * sysdeps/i386/fpu/libm-test-ulps: Update.
28862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28863
28864         [BZ #14621]
28865         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28866         int as type of variable DEPTH.
28867         (glob): Use size_t instead of int as type of variables NEWCOUNT
28868         and OLD_PATHC.
28869
28870 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28871
28872         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28873         Add s_sincosf-sse2.
28874         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28875         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28876         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28877         macros for using routine as __sincosf_ia32.
28878         Use macro for function declaration and weak_alias.
28879         * sysdeps/i386/fpu/libm-test-ulps: Update.
28880
28881         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28883
28884         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28885         subnormal argument.
28886         * math/s_cexpf.c (__cexpf): Likewise.
28887         * math/s_csinf.c (__csinf): Likewise.
28888         * math/s_csinhf.c (__csinhf): Likewise.
28889         * math/s_ctanf.c (__ctanf): Likewise.
28890         * math/s_ctanhf.c (__ctanhf): Likewise.
28891         * math/s_ccosh.c (__ccoshf): Likewise.
28892         * math/s_cexp.c (__cexpl): Likewise.
28893         * math/s_csin.c (__csin): Likewise.
28894         * math/s_csinh.c (__csinh): Likewise.
28895         * math/s_ctan.c (__ctan): Likewise.
28896         * math/s_ctanh.c (ctanh): Likewise.
28897         * math/s_ccoshl.c (__ccoshl): Likewise.
28898         * math/s_cexpl.c (__cexpl): Likewise.
28899         * math/s_csinl.c (__csinl): Likewise.
28900         * math/s_csinhl.c (__csinhl): Likewise.
28901         * math/s_ctanl.c (__ctanl): Likewise.
28902         * math/s_ctanhl.c (__ctanhl): Likewise.
28903
28904 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28905
28906         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28907         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28908         (_IO_off_t): Define to __off_t, not _G_off_t.
28909         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28910         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28911         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28912         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28913         type of __dummy and __dummy2 fields.
28914         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28915         (_G_ssize_t): Likewise.
28916         (_G_off_t): Likewise.
28917         (_G_pid_t): Likewise.
28918         (_G_uid_t): Likewise.
28919         (_G_wchar_t): Likewise.
28920         (_G_wint_t): Likewise.
28921         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28922         (_G_ssize_t): Likewise.
28923         (_G_off_t): Likewise.
28924         (_G_pid_t): Likewise.
28925         (_G_uid_t): Likewise.
28926         (_G_wchar_t): Likewise.
28927         (_G_wint_t): Likewise.
28928         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28929         (_G_ssize_t): Likewise.
28930         (_G_off_t): Likewise.
28931         (_G_pid_t): Likewise.
28932         (_G_uid_t): Likewise.
28933         (_G_wchar_t): Likewise.
28934         (_G_wint_t): Likewise.
28935
28936 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28937
28938         * malloc/arena.c: Include malloc-sysdep.h.
28939         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28940         is sufficient to shrink the heap or an unmap is needed.
28941         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28942         new function check_may_shrink_heap.
28943         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28944         new function check_may_shrink_heap.
28945
28946 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28947
28948         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28949         comments.
28950
28951 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28952
28953         * catgets/test-gencat.sh: Add "set -e".
28954         * elf/tst-pathopt.sh: Likewise.
28955         * grp/tst_fgetgrent.sh: Likewise.
28956         * iconvdata/run-iconv-test.sh: Likewise.
28957         * intl/tst-gettext.sh: Likewise.
28958         * intl/tst-gettext2.sh: Likewise.
28959         * intl/tst-gettext4.sh: Likewise.
28960         * intl/tst-gettext6.sh: Likewise.
28961         * intl/tst-translit.sh: Likewise.
28962         * io/ftwtest-sh: Likewise.
28963         * libio/test-freopen.sh: Likewise.
28964         * malloc/tst-mtrace.sh: Likewise.
28965         * posix/globtest.sh: Likewise.
28966         * posix/tst-getconf.sh: Likewise.
28967         * posix/wordexp-tst.sh: Likewise.
28968         * stdio-common/tst-printf.sh: Likewise.
28969         * stdio-common/tst-unbputc.sh: Likewise.
28970         * stdlib/tst-fmtmsg.sh: Likewise.
28971         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28972         * catgets/Makefile: Do not specify -e option when running
28973         testsuite shell scripts.
28974         * elf/Makefile: Likewise.
28975         * grp/Makefile: Likewise.
28976         * iconvdata/Makefile: Likewise.
28977         * intl/Makefile: Likewise.
28978         * io/Makefile: Likewise.
28979         * libio/Makefile: Likewise.
28980         * malloc/Makefile: Likewise.
28981         * posix/Makefile: Likewise.
28982         * stdio-common/Makefile: Likewise.
28983         * stdlib/Makefile: Likewise.
28984         * sysdeps/x86_64/Makefile: Likewise.
28985
28986         * io/ftwtest-sh: Add copyright header.
28987         * posix/globtest.sh: Likewise.
28988         * posix/tst-getconf.sh: Likewise.
28989         * posix/wordexp-tst.sh: Likewise.
28990         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28991
28992 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28993
28994         [BZ #13679]
28995         * Makeconfig (+link): Defined as $(+link-static) if
28996         $(build-shared) isn't yes.
28997         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28998         isn't yes.
28999         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29000
29001         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29002
29003         [BZ #14562]
29004         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29005         new chunk size with MALLOC_ALIGN_MASK.
29006
29007 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
29008
29009         [BZ #5044]
29010         * stdio-common/printf_fphex.c: Include <stdbool.h> and
29011         <rounding-mode.h>.
29012         (__printf_fphex): Determine rounding using get_rounding_mode and
29013         round_away.
29014         * stdio-common/tst-printf-round.c (struct hex_test): New
29015         structure.
29016         (hex_tests): New variable.
29017         (test_hex_in_one_mode): New function.
29018         (do_test): Also run tests for hex float output.
29019
29020 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
29021
29022         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29023         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29024         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29025         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29026         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29027         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29028         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29029         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29030
29031 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
29032
29033         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29034         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29035         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29036         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29037
29038 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
29039
29040         [BZ #14579]
29041         * elf/rtld.c (dl_main): Limit the check for self loading to normal
29042         mode only.
29043         * elf/tst-rtld-load-self.sh: New test.
29044         * elf/Makefile: Run it.
29045
29046 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
29047
29048         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29049         (tst-writev-ENV): Remove.
29050         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29051
29052 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
29053
29054         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29055
29056 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
29057
29058         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29059         unconditional.
29060         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29061         Likewise.
29062         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29063         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29064         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29065         Likewise.
29066
29067 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
29068
29069         [BZ #14587]
29070         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29071         * config.make.in (have-cpp-asm-debuginfo): Removed.
29072         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29073         * configure: Regenerated.
29074
29075 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
29076
29077         [BZ #5044]
29078         * stdio-common/printf_fp.c: Include <stdbool.h> and
29079         <rounding-mode.h>.
29080         (___printf_fp): Determine rounding using get_rounding_mode and
29081         round_away.
29082         * stdio-common/tst-printf-round.c: New file.
29083         * stdio-common/Makefile (tests): Add tst-printf-round.
29084         (link-libm): New variable.
29085         ($(objpfx)tst-printf-round): Depend in $(link-libm).
29086
29087 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
29088
29089         [BZ #14576]
29090         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29091         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29092         Likewise.
29093         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29094         Likewise.
29095
29096 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
29097
29098         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29099         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29100         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29101         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29102
29103 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
29104
29105         [BZ #14518]
29106         * include/rounding-mode.h: New file.
29107         * sysdeps/generic/get-rounding-mode.h: Likewise.
29108         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29109         * stdlib/strtod_l.c: Include <rounding-mode.h>.
29110         (MAX_VALUE): New macro.
29111         (MIN_VALUE): Likewise.
29112         (overflow_value): New function.
29113         (underflow_value): Likewise.
29114         (round_and_return): Use overflow_value and underflow_value to
29115         determine return values in overflow and underflow cases.  Use
29116         round_away to determine rounding depending on rounding mode.
29117         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29118         determine return values in overflow and underflow cases.
29119         * stdlib/tst-strtod-round.c: Include <fenv.h>.
29120         (struct test_results): New structure.
29121         (struct test): Use struct test_results to store expected results
29122         for all rounding modes.
29123         (TEST): Include expected results for all rounding modes.
29124         (test_in_one_mode): New function.
29125         (do_test): Use test_in_one_mode to compute and check results.
29126         Check results for all rounding modes.
29127         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29128         $(link-libm).
29129
29130 2012-12-09  Allan McRae  <allan@archlinux.org>
29131
29132         * sysdeps/i386/fpu/libm-test-ulps: Update
29133
29134 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
29135
29136         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29137         (_G_int32_t): Likewise.
29138         (_G_uint16_t): Likewise.
29139         (_G_uint32_t): Likewise.
29140         (_G_HAVE_BOOL): Likewise.
29141         (_G_HAVE_ATEXIT): Likewise.
29142         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29143         (_G_HAVE_IO_FILE_OPEN): Likewise.
29144         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29145         (_G_int32_t): Likewise.
29146         (_G_uint16_t): Likewise.
29147         (_G_uint32_t): Likewise.
29148         (_G_HAVE_BOOL): Likewise.
29149         (_G_HAVE_ATEXIT): Likewise.
29150         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29151         (_G_HAVE_IO_FILE_OPEN): Likewise.
29152         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29153         (_G_int32_t): Likewise.
29154         (_G_uint16_t): Likewise.
29155         (_G_uint32_t): Likewise.
29156         (_G_HAVE_BOOL): Likewise.
29157         (_G_HAVE_ATEXIT): Likewise.
29158         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29159         (_G_HAVE_IO_FILE_OPEN): Likewise.
29160
29161 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
29162
29163         * csu/libc-tls.c: Update copyright years.
29164
29165 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
29166
29167         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29168         [!_G_USING_THUNKS]: Remove conditional code.
29169         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29170         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29171
29172         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29173         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29174         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29175         (_G_VTABLE_LABEL_PREFIX): Likewise.
29176         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29177         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29178         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29179         (_G_VTABLE_LABEL_PREFIX): Likewise.
29180         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29181         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29182         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29183         (_G_VTABLE_LABEL_PREFIX): Likewise.
29184         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29185
29186 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
29187
29188         * libio/Makefile: Include ../Makeconfig before tests.
29189         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29190         only if $(build-shared) is yes.
29191
29192         * iconv/gconv_db.c: Update copyright years.
29193
29194 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29195
29196         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29197         unwind info if defined PIC. Fix special cases description.
29198         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29199
29200         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29201         DP_HI_MASK entry.
29202         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29203
29204 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
29205
29206         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29207
29208         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29209         is NULL.
29210
29211         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29212         (LDLIBS-tst-chk4): This.
29213         (LDFLAGS-tst-chk5): Renamed to ...
29214         (LDLIBS-tst-chk5): This.
29215         (LDFLAGS-tst-chk6): Renamed to ...
29216         (LDLIBS-tst-chk6): This.
29217         (LDFLAGS-tst-lfschk4): Renamed to ...
29218         (LDLIBS-tst-lfschk4): This.
29219         (LDFLAGS-tst-lfschk5): Renamed to ...
29220         (LDLIBS-tst-lfschk5): This.
29221         (LDFLAGS-tst-lfschk6): Renamed to ...
29222         (LDLIBS-tst-lfschk6): This.
29223
29224         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29225         on $(common-objpfx)soversions.mk.
29226
29227 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
29228
29229         [BZ #10014]
29230         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29231         example host name.
29232
29233 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29234
29235         * malloc/arena.c (arena_get_retry): New function that gets
29236         another arena for the caller to try its request on.
29237         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29238         current arena cannot fulfill the request.
29239         (__libc_memalign): Likewise.
29240         (__libc_memalign): Likewise.
29241         (__libc_pvalloc): Likewise.
29242         (__libc_calloc): Likewise.
29243
29244 2012-09-05  John Tobey  <john.tobey@gmail.com>
29245
29246         [BZ #13542]
29247         * manual/arith.texi (Operations on Complex): Fix description
29248         of carg branch cut.
29249
29250 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29251
29252         [BZ #10014]
29253         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29254         host name.
29255
29256         [BZ #10038]
29257         * manual/memory.texi (Memory): Make order of menu items match
29258         order of sections.
29259
29260 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29261
29262         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29263         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
29264         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29265
29266 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29267
29268         * csu/libc-tls.c (static_dtv): Renamed to ...
29269         (_dl_static_dtv): This.  Make it global.
29270         (_dl_initial_dtv): Removed.
29271         (__libc_setup_tls): Updated.
29272         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29273         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29274         DL_INITIAL_DTV.
29275
29276 2012-09-06  Petr Machata  <pmachata@redhat.com>
29277
29278         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29279         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29280         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29281         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29282
29283 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29284
29285         [BZ #14545]
29286         * csu/libc-tls.c (_dl_initial_dtv): New variable.
29287         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29288         freeing dtv[-1].
29289
29290 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
29291
29292         [BZ #14544]
29293         * Makeconfig (link-static-before-libc): Replace $(+prector)
29294         with $(+prectorT).
29295         (link-static-after-libc): Replace $(+postctor) with
29296         $(+postctorT).
29297         (link-bounded): Replace $(+prector)/$(+postctor) with
29298         $(+prectorT)/$(+postctorT).
29299         (+prectorT): New macro.
29300         (+postctorT): Likewise.
29301
29302 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
29303
29304         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29305         (round_str): Handle values above the maximum for IBM long double
29306         as inexact.
29307         * stdlib/tst-strtod-round.c (tests): Regenerated.
29308
29309 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29310
29311         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29312         assembler flag.
29313         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29314         zarch_nohighgprs around the zarch optimized routines.
29315         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29316         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29317         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29318         for zarch.
29319
29320 2012-09-05  David S. Miller  <davem@davemloft.net>
29321
29322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29323
29324         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29325         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29326         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29327         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29328         entries.
29329
29330 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29331
29332         * malloc/arena.c: Fold copyright years.
29333         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29334
29335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29336
29337         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29338
29339 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29340
29341         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29342
29343 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29344
29345         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29346         change internal state upon failure.
29347
29348 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29349
29350         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29351         * malloc/memusage.c (mmap): Likewise.
29352         (mmap64, mremap): Likewise.  Adjust name in comment.
29353
29354 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29355
29356         * libio/fileops.c: Fix typos in comments.
29357         * libio/oldfileops.c: Likewise.
29358         * libio/wfileops.c: Likewise.
29359
29360 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29361
29362         [BZ #1349]
29363         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29364         (tst-malloc-usable-ENV): Set environment for test case.
29365         * malloc/hooks.c (malloc_check_get_size): New function to get
29366         requested size.
29367         * malloc/malloc.c (musable): Use malloc_check_get_size.
29368         * malloc/tst-malloc-usable.c: New test case.
29369
29370 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29371
29372         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29373
29374 2012-09-05  Allan McRae  <allan@archlinux.org>
29375
29376         [BZ #13966]
29377         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29378         determine header location.
29379         * configure: Regenerated.
29380
29381 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29382
29383         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29384         float format.
29385         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29386         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29387         format.
29388         (test): Regenerate.
29389
29390 2012-09-04  David S. Miller  <davem@davemloft.net>
29391
29392         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29393         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29394         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29395
29396 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29397
29398         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29399         failures.
29400
29401         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29402
29403 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29404
29405         [BZ #9914]
29406         * libio/iogetdelim.c: Include <limits.h>.
29407         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29408         + len + 1 would overflow.
29409
29410 2012-09-03  Andreas Jaeger  <aj@suse.de>
29411
29412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29413         * sysdeps/i386/fpu/libm-test-ulps: Update.
29414
29415 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29416
29417         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29418         Add s_sinf-sse2, s_conf-sse2.
29419
29420         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29421         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29422         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29423         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29424
29425         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29426         for using routine as __sinf_ia32.
29427         Use macro for function declaration and weak_alias.
29428         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29429         for using routine as __cosf_ia32.
29430         Use macro for function declaration and weak_alias.
29431
29432         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29433         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29434
29435         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29436         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29438
29439         * math/libm-test.inc (cos_test): Add more test cases.
29440         (sin_test): Likewise.
29441         (sincos_test): Likewise.
29442
29443 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29444
29445         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29446         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29447         hidden.
29448         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29449
29450 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29451
29452         [BZ #14538]
29453         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29454         first element of the GOT.
29455         (elf_machine_load_address): Return the difference between
29456         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29457
29458 2012-09-01  Allan McRae  <allan@archlinux.org>
29459
29460         [BZ #13412]
29461         * configure.in (AWK): Require gawk version 3.0 or later.
29462         * configure: Regenerated.
29463
29464 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29465
29466         * sysdeps/unix/sysv/linux/kernel-features.h
29467         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29468         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29469         [__NR_clock_getres]: Make code unconditional.
29470         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29471         (clock_getcpuclockid): Remove code left unreachable by removal of
29472         conditionals.
29473         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29474         code unconditional.
29475         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29476         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29477         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29478         Make code unconditional.
29479         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29480         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29481         * sysdeps/unix/sysv/linux/clock_settime.c
29482         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29483         conditional code.
29484         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29485         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29486
29487 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29488
29489         [BZ #14476]
29490         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29491         scripts/test-installation.pl.
29492
29493         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29494         and $ld_so_version if it is set.
29495
29496 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29497
29498         [BZ #14516]
29499         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29500         failure if reading from procfs failed.
29501         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29502
29503 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29504
29505         * sysdeps/unix/sysv/linux/kernel-features.h
29506         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29507         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29508         Remove conditional code.
29509         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29510         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29511         Remove conditional code.
29512         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29513         * sysdeps/unix/sysv/linux/i386/fxstat.c
29514         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29516         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29517         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29518         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29519         * sysdeps/unix/sysv/linux/i386/lxstat.c
29520         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29521         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29522         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29523         Remove conditional code.
29524         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29525         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29526         Remove conditional code.
29527         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29528         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29529         <kernel-features.h>.
29530         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29531         Remove.
29532         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29533         Remove conditional code.
29534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29535         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29536         Remove conditional.
29537
29538 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29539
29540         [BZ #5400]
29541         * NEWS: Add fixed bug number.
29542
29543 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29544
29545         [BZ #14519]
29546         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29547         underflowing exponent in case of negative sign.
29548         * stdlib/tst-strtod-round-data: Add more tests.
29549         * stdlib/tst-strtod-round.c (tests): Regenerated.
29550
29551         [BZ #3479]
29552         * stdlib/strtod_l.c (NDIG): Remove.
29553         (HEXNDIG): Likewise.
29554         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29555         smallest representable value.
29556         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29557         lie within an exact representation of 1/2 ulp of the result.
29558         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29559         unconditionally.
29560         (TENS_P9_IDX): Define unconditionally.
29561         (TENS_P9_SIZE): Likewise.
29562         (TENS_P10_IDX): Likewise.
29563         (TENS_P10_SIZE): Likewise.
29564         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29565         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29566         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29567         entries for 10^2^13 and 10^2^14.
29568         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29569         (TENS_P13_IDX): Define.
29570         (TENS_P13_SIZE): Likewise.
29571         (TENS_P14_IDX): Likewise.
29572         (TENS_P14_SIZE): Likewise.
29573         (_fpioconst_pow10): Change array size to
29574         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29575         unconditional.
29576         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29577         1024]: Add entries for 10^2^13 and 10^2^14.
29578         [LAST_POW10 > _LAST_POW10]: Remove #error.
29579         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29580         (_fpioconst_pow10): Change array size to
29581         FPIOCONST_POW10_ARRAY_SIZE.
29582         * stdlib/gen-fpioconst.c: New file.
29583         * stdlib/gen-tst-strtod-round.c: Likewise.
29584         * stdlib/tst-strtod-round-data: Likewise.
29585         * stdlib/tst-strtod-round.c: Likewise.
29586         * stdlib/Makefile (tests): Add tst-strtod-round.
29587
29588         [BZ #14459]
29589         * stdlib/strtod_l.c: Include <stdint.h>.
29590         (NDEBUG): Do not define.
29591         (round_and_return): Change EXPONENT parameter to type intmax_t.
29592         Rearrange calculations to avoid internal overflow possibilities.
29593         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29594         Rearrange calculations to avoid internal overflow possibilities.
29595         Assert that number fits inside MPNSIZE limbs.
29596         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29597         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29598         calculations and add assertions to avoid internal overflow
29599         possibilities.  Add casts to avoid signed/unsigned operations.
29600         * stdlib/tst-strtod-overflow.c: New file.
29601         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29602
29603 2012-08-25  Marek Polacek  <polacek@redhat.com>
29604
29605         * time/time.h: Fix some typos in comments.
29606
29607 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29608
29609         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29610         * posix/tst-rfc3484-2.c: Likewise.
29611         * posix/tst-rfc3484-3.c: Likewise.
29612
29613 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29614
29615         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29616         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29617
29618 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29619
29620         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29621         #include of fxstatat64.c.
29622
29623 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29624
29625         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29626         * shadow/getspent_r.c: Likewise.
29627         * shadow/getspnam.c: Likewise.
29628         * shadow/getspnam_r.c: Likewise.
29629         * gshadow/getsgent.c: Likewise.
29630         * gshadow/getsgent_r.c: Likewise.
29631         * gshadow/getsgnam.c: Likewise.
29632         * gshadow/getsgnam_r.c: Likewise.
29633         * inet/getnetbyad.c: Likewise.
29634         * inet/getnetbyad_r.c: Likewise.
29635         * inet/getnetbynm.c: Likewise.
29636         * inet/getnetbynm_r.c: Likewise.
29637         * inet/getnetent.c: Likewise.
29638         * inet/getnetent_r.c: Likewise.
29639         * inet/getproto.c: Likewise.
29640         * inet/getproto_r.c: Likewise.
29641         * inet/getprtent.c: Likewise.
29642         * inet/getprtent_r.c: Likewise.
29643         * inet/getprtname.c: Likewise.
29644         * inet/getprtname_r.c: Likewise.
29645         * inet/getrpcbyname.c: Likewise.
29646         * inet/getrpcbyname_r.c: Likewise.
29647         * inet/getrpcbynumber.c: Likewise.
29648         * inet/getrpcbynumber_r.c: Likewise.
29649         * inet/getrpcent.c: Likewise.
29650         * inet/getrpcent_r.c: Likewise.
29651         * inet/getaliasent.c: Likewise.
29652         * inet/getaliasent_r.c: Likewise.
29653         * inet/getaliasname.c: Likewise.
29654         * inet/getaliasname_r.c: Likewise.
29655         * nscd/getgrgid_r.c: Likewise.
29656         * nscd/getgrnam_r.c: Likewise.
29657         * nscd/gethstbyad_r.c: Likewise.
29658         * nscd/gethstbynm3_r.c: Likewise.
29659         * nscd/getpwnam_r.c: Likewise.
29660         * nscd/getpwuid_r.c: Likewise.
29661         * nscd/getsrvbynm_r.c: Likewise.
29662         * nscd/getsrvbypt_r.c: Likewise.
29663         * nscd/gai.c: Likewise.
29664
29665         * configure.in (build_nscd): New substituted variable, set
29666         by --disable-build-nscd and defaults to $use_nscd.
29667         * configure: Regenerated.
29668         * config.make.in (build-nscd): New substituted variable.
29669         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29670         Change conditional to require [$(build-nscd) = yes] as well.
29671         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29672
29673         [BZ# 13696]
29674         * configure.in (use_nscd): New substituted variable, set by
29675         --disable-nscd.  If enabled, define USE_NSCD.
29676         * configure: Regenerated.
29677         * config.h.in: Add USE_NSCD.
29678         * config.make.in (use-nscd): New substituted variable.
29679         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29680         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29681         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29682         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29683         (CFLAGS-getgrnam_r.c): Likewise.
29684         (CFLAGS-initgroups.c): Likewise.
29685         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29686         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29687         Variables removed.
29688         * inet/getnetgrent_r.c
29689         (nscd_setnetgrent): New function, broken out of ...
29690         (setnetgrent): ... here.  Call it.
29691         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29692         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29693         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29694         * nscd/Makefile (routines, aux): Move definitions after include of
29695         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29696         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29697         Conditionalize on [USE_NSCD].
29698         (is_nscd, nscd_init_cb): Likewise.
29699         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29700         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29701         * nss/nss_db/db-init.c: Likewise.
29702         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29703         [USE_NSCD].
29704         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29705         (make_request): Use it.
29706         (cache_valid_p): New function.
29707         (__check_pf): Use it.
29708         * NEWS: Add item for --disable-nscd.
29709
29710 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29711
29712         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29713         to support sed >= 4.2.1-20-ga9bf076.
29714         * configure: Regenerated.
29715
29716 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29717
29718         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29719         Conditionalize whole body on [IREL].
29720
29721 2012-08-22  Jeff Law <law@redhat.com>
29722
29723         [BZ #14505]
29724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29725         if the family is PF_UNSPEC.
29726
29727 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29728
29729         * Makerules (lib-version): Rename from V.
29730         (install-lib-nosubdir): Change V to lib-version.
29731
29732 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29733
29734         [BZ #14252]
29735         * powerpc32/power6/wcschr.c: New file.
29736         * powerpc32/power6/wcscpy.c: New file.
29737         * powerpc32/power6/wcsrchr.c: New file.
29738         * powerpc64/power6/wcschr.c: New file.
29739         * powerpc64/power6/wcscpy.c: New file.
29740         * powerpc64/power6/wcsrchr.c: New file.
29741
29742 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29743
29744         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29745         (two_way_short_needle): Use it.
29746         * string/strstr.c (AVAILABLE1_USES_J): Define.
29747         * string/strcasestr.c: Likewise.
29748
29749         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29750         array references.
29751         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29752
29753         [BZ #11607]
29754         * NEWS: Add an entry.
29755         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29756         define their defaults.
29757         (two_way_short_needle): Detect end-of-string on-the-fly.
29758         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29759         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29760         * string/bug-strcasestr1.c: New test.
29761         * string/Makefile: Run it.
29762
29763 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29764
29765         [BZ #11607]
29766         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29767         the first character.
29768
29769 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29770
29771         * csu/elf-init.c (__libc_csu_irel): Function removed.
29772         * csu/libc-start.c (apply_irel): New function.
29773         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29774
29775 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29776
29777         * sysdeps/unix/sysv/linux/kernel-features.h
29778         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29779         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29780         <kernel-features.h>.
29781         [__NR_fadvise64_64]: Make code unconditional.
29782         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29783         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29784         !__NR_fadvise64_64)]: Likewise.
29785         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29786         !__NR_fadvise64_64))]: Likewise.
29787         [__NR_fadvise64]: Make code unconditional.
29788         [!__NR_fadvise64]: Remove conditional code.
29789         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29790         <kernel-features.h>.
29791         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29792         unconditional.
29793         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29794         conditional code.
29795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29796         not include <kernel-features.h>.
29797         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29798         unconditional.
29799         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29800         conditional code.
29801         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29802         include <kernel-features.h>.
29803         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29804         unconditional.
29805         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29806         conditional code.
29807
29808 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29809
29810         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29811         slight instruction rearrangements per scrollpipe analysis.
29812         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29813
29814 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29815
29816         * manual/syslog.texi (syslog; vsyslog, closelog):
29817         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29818         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29819
29820         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29821         DSOCAPS to match condition on defining it.
29822
29823 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29824
29825         * sysdeps/unix/sysv/linux/kernel-features.h
29826         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29828         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29829         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29831         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29832         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29834         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29835         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29836
29837         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29838         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29839
29840         * sysdeps/unix/sysv/linux/kernel-features.h
29841         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29842         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29843         unconditional.
29844         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29845         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29846         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29847         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29848         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29849         Make code unconditional.
29850         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29851         (__mmap64) [!__NR_mmap2]: Likewise.
29852         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29853         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29854         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29855         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29856         [__NR_mmap2]: Make code unconditional.
29857         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29858         (__mmap64) [!__NR_mmap2]: Likewise.
29859
29860 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29861
29862         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29863
29864 2012-08-18  Andreas Jaeger  <aj@suse.de>
29865
29866         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29867
29868 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29869
29870         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29871         * include/unistd.h (__have_sock_cloexec): Likewise.
29872         (__have_pipe2): Likewise.
29873         (__have_dup3): Likewise.
29874
29875 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29876
29877         [BZ #9685]
29878         * include/unistd.h (__have_pipe2): Change define into an extern int.
29879         (__have_dup3): Likewise.
29880         * socket/have_sock_cloexec.c: Include fcntl.h.
29881         (__have_pipe2): New variable.
29882         (__have_dup3): Likewise.
29883
29884 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29885
29886         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29887
29888 2012-08-17  Marek Polacek  <polacek@redhat.com>
29889
29890         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29891         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29892
29893 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29894
29895         * configure.in: Add AC_SUBST for sysheaders.
29896         * configure: Regenerated.
29897         * config.make.in (sysheaders): New substituted variable.
29898
29899         * sysdeps/unix/mkfifo.c: Moved ...
29900         * sysdeps/posix/mkfifo.c: ... here.
29901         * sysdeps/unix/mkfifoat.c: Moved ...
29902         * sysdeps/posix/mkfifoat.c: ... here.
29903
29904         * sysdeps/unix/utime.c: Moved ...
29905         * sysdeps/posix/utime.c: ... here.
29906
29907         * sysdeps/unix/time.c: Moved ...
29908         * sysdeps/posix/time.c: ... here.
29909         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29910         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29911
29912         * sysdeps/unix/nice.c: Moved ...
29913         * sysdeps/posix/nice.c: ... here.
29914
29915         * sysdeps/unix/alarm.c: Moved ...
29916         * sysdeps/posix/alarm.c: ... here.
29917
29918         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29919
29920 2012-08-17  Jeff Law <law@redhat.com>
29921
29922         * intl/Makefile (codeset_mo): New variable.
29923         ($(codeset_mo)): New target.
29924         (tst-codeset.out): Depend on that.  Remove explicit rule.
29925         (tst-gettext3.out, tst-gettext5.out): Likewise.
29926         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29927         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29928         * intl/tst-codeset.sh: Remove.
29929         * intl/tst-gettext3.sh: Likewise.
29930         * intl/tst-gettext5.sh: Likewise.
29931
29932 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29933
29934         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29935         * sysdeps/unix/syscalls.list: ... here.
29936
29937         * sysdeps/posix/getaddrinfo.c
29938         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29939         (gaiconf_init, gaiconf_reload): Use them.
29940         [!_STATBUF_ST_NSEC]
29941         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29942         Define using time_t rather than struct timespec.
29943
29944         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29945         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29946         Macros removed.
29947         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29948         [!NO_THREADS].
29949         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29950         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29951         Likewise.
29952
29953         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29954         __libc_cleanup_push argument.
29955
29956         * bits/param.h: New file.
29957         * misc/sys/param.h: New file.
29958         * include/sys/param.h: New file.
29959         * misc/Makefile (headers): Add bits/param.h.
29960         * sysdeps/generic/sys/param.h: File removed.
29961         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29962         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29963         * sysdeps/mach/hurd/bits/param.h: New file.
29964         * sysdeps/mach/hurd/sys/param.h: File removed.
29965
29966         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29967         last change.
29968
29969         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29970         [_IO_MTSAFE_IO].
29971         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29972         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29973         New macros.
29974
29975         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29976         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29977         rather than -D_IO_MTSAFE_IO conditionally.
29978         * stdio-common/Makefile (CPPFLAGS): Likewise.
29979         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29980         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29981         Use $(libio-mtsafe).
29982         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29983         of -D_IO_MTSAFE_IO.
29984         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29985         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29986         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29987         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29988         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29989         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29990         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29991         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29992         (CFLAGS-fread_u_chk.c): Likewise.
29993         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29994         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29995         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29996         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29997         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29998         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29999         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30000         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30001         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30002
30003         * libio/Makefile: Test [$(libc-reentrant) = yes]
30004         instead of [$(filter %REENTRANT, $(defines)) nonempty].
30005
30006         * Makeconfig
30007         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30008         * sysdeps/pthread/configure: File removed.
30009         * sysdeps/pthread/Makeconfig: New file.
30010         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30011         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30012
30013 2012-08-16  Gary Benson  <gbenson@redhat.com>
30014
30015         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30016         unmapping the first object in a namespace.
30017
30018 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30019
30020         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30021         (__internal_setnetgrent): ... this.  Add internal_function to
30022         definition.  Add libc_hidden_def.
30023         (setnetgrent): Update caller.
30024         (internal_endnetgrent): Renamed to ...
30025         (__internal_endnetgrent): ... this.  Add internal_function to
30026         definition.  Add libc_hidden_def.
30027         (endnetgrent): Update caller.
30028         (internal_getnetgrent_r): Renamed to ...
30029         (__internal_getnetgrent_r): ... this.  Add internal_function to
30030         definition.  Add libc_hidden_def.
30031         (__getnetgrent_r): Update caller.
30032         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
30033
30034 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30035
30036         * stdlib/longlong.h: Update from GCC.
30037
30038 2012-08-16  Roland McGrath  <roland@hack.frob.com>
30039
30040         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30041         on _QL, which is set by umul_ppmm but never used.
30042         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30043         variables, which are set by GMP macros but never used.
30044         * stdio-common/_itowa.c (_itowa): Likewise.
30045         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30046         * stdlib/mod_1.c (mpn_mod_1): Likewise.
30047
30048 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
30049
30050         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30051         struct La_sh_regs is not constant.
30052         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30053         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30054         and struct La_sparc64_regs are not constant.
30055
30056 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
30057
30058         * sysdeps/unix/sysv/linux/kernel-features.h
30059         (__ASSUME_POSIX_TIMERS): Remove.
30060         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30061         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30062         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30063         Make code unconditional.
30064         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30065         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30066         Make code unconditional.
30067         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30068         * sysdeps/unix/sysv/linux/clock_nanosleep.c
30069         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30070         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30071         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30072         Make code unconditional.
30073         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30074         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30075         (__libc_missing_posix_timers): Remove.
30076
30077 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30078
30079         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30080         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30081
30082         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30083
30084         * elf/dl-sym.c: Include <stdlib.h>.
30085
30086         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30087         constants, which avoids warnings in 32-bit builds.
30088
30089         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30090         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30091
30092         * misc/lseek.c: File moved to ...
30093         * io/lseek.c: ... here.
30094
30095         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30096
30097         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30098         shifting LEN more than 31 bits at once.
30099
30100 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30101
30102         [BZ #14195]
30103         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30104         segmentation fault for a case of two empty input strings.
30105         * string/test-strncasecmp.c (check1): Renamed to...
30106         (bz12205): ...this.
30107         (bz14195): Add new testcase for two empty input strings and N > 0.
30108         (test_main): Call new testcase, adapt for renamed function.
30109
30110 2012-08-15  Andreas Jaeger  <aj@suse.de>
30111
30112         [BZ #14090]
30113         * crypt/md5test2.c: New test, based on test supplied by Serge
30114         Belyshev <belyshev@depni.sinp.msu.ru>.
30115         * crypt/Makefile (xtests): Add md5test-giant..
30116         * crypt/Makefile ($(objpfx)md5test-giant): Add.
30117
30118 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
30119
30120         [BZ #14090]
30121         * crypt/md5.c (md5_process_block): Don't assume the buffer
30122         length is less than 2**32.
30123         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30124         length is less than 2**64.
30125
30126 2012-08-15  Roland McGrath  <roland@hack.frob.com>
30127
30128         * string/str-two-way.h: Include <sys/param.h>.
30129         (MAX): Macro removed.
30130
30131         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30132         Move #define and #undef of memmove to just before and after
30133         including <string.h>.
30134
30135         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30136         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30137         and after including <string.h>.  Move declarations of
30138         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30139         to before #include "string/memmove.c".
30140
30141         * include/dirent.h: Declare __getdirentries.
30142
30143         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30144         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30145
30146 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
30147
30148         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30149         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30150         * sysdeps/i386/configure: Regenerated.
30151         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30152         STABS_CURRENT_FILE, and STABS_FUN.
30153         (END): Remove call to STABS_FUN_END.
30154         (STABS_CURRENT_FILE1): Delete.
30155         (STABS_CURRENT_FILE): Likewise.
30156         (STABS_FUN): Likewise.
30157         (STABS_FUN_END): Likewise.
30158         (STABS_FUN2): Likewise.
30159         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30160         * sysdeps/x86_64/configure: Regenerated.
30161
30162 2012-08-14  Roland McGrath  <roland@hack.frob.com>
30163
30164         * elf/dl-open.c: Include <atomic.h>.
30165         * elf/dl-lookup.c: Likewise.
30166
30167 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
30168
30169         * sysdeps/unix/sysv/linux/kernel-features.h
30170         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30171         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30172         unconditionally.
30173         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30174         unconditionally.
30175         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30176         condition on __ASSUME_CLONE_THREAD_FLAGS.
30177
30178 2012-08-14  Andreas Jaeger  <aj@suse.de>
30179
30180         * sysdeps/i386/fpu/libm-test-ulps: Update.
30181
30182 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
30183
30184         * include/atomic.h (atomic_exchange_and_add): Split into ...
30185         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30186         New atomic macros.
30187
30188 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
30189
30190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30191
30192 2012-08-13  Jeff Law <law@redhat.com>
30193
30194         * manual/stdio.texi (snprintf): Clarify handling of the trailing
30195         null byte in the output string.
30196
30197 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
30198
30199         * sysdeps/unix/sysv/linux/kernel-features.h
30200         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30201         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30202         (__ASSUME_ARG_MAX_STACK_BASED): Define.
30203         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30204         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30205         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
30206         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30207
30208 2012-08-09  Jeff Law <law@redhat.com>
30209
30210         [BZ #13939]
30211         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30212         When avoid_arena is set, don't retry in the that arena.  Pick the
30213         next one, whatever it might be.
30214         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30215         (arena_lock): Pass in new parameter to arena_get2.
30216         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30217         arena_get2.
30218         (__libc_malloc): Unify retrying after main arena failure with
30219         __libc_memalign version.
30220         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30221
30222 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30223
30224         [BZ #14166]
30225         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30226         to __redirect_strstr.
30227         (__strstr_sse42): Use typeof __redirect_strstr.
30228         (__strstr_ia32): Likewise.
30229         (__libc_strstr): New prototype.
30230         (strstr): Renamed to ...
30231         (__libc_strstr): This.
30232         (strstr): New strong alias of __libc_strstr.
30233         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30234         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30235         __redirect_time.
30236         Include <time.h>.
30237         (__libc_time): New prototype.
30238         (time_ifunc): Replace time with __libc_time.
30239         (time): New strong alias and hidden definition of __libc_time.
30240         (__GI_time): Remove strong alias.
30241         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30242         Include <stddef.h>.
30243         (memmove): Redefined to __redirect_memmove.
30244         (__memmove_sse2): Use typeof __redirect_memmove.
30245         (__memmove_ssse3): Likewise.
30246         (__memmove_ssse3_back): Likewise.
30247         (__libc_memmove): New prototype.
30248         (memmove): Renamed to ...
30249         (__libc_memmove): This.
30250         (memmove): New strong alias of __libc_memmove.
30251
30252 2012-08-08  Mark Salter  <msalter@redhat.com>
30253
30254         * elf/elf.h
30255         (R_MN10300_TLS_GD): Define.
30256         (R_MN10300_TLS_LD): Likewise.
30257         (R_MN10300_TLS_LDO): Likewise.
30258         (R_MN10300_TLS_GOTIE): Likewise.
30259         (R_MN10300_TLS_IE): Likewise.
30260         (R_MN10300_TLS_LE): Likewise.
30261         (R_MN10300_TLS_DTPMOD): Likewise.
30262         (R_MN10300_TLS_DTPOFF): Likewise.
30263         (R_MN10300_TLS_TPOFF): Likewise.
30264         (R_MN10300_SYM_DIFF): Likewise.
30265         (R_MN10300_ALIGN): Likewise.
30266         (R_MN10300_NUM): Update.
30267
30268 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
30269
30270         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30271         Remove.
30272
30273 2012-08-08  Roland McGrath  <roland@hack.frob.com>
30274
30275         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30276
30277         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30278         sysdeps/unix -> sysdeps/posix move.
30279         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30280
30281 2012-08-07      Allan McRae     <allan@archlinux.org>
30282
30283         [BZ #14303]
30284         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30285         (SUNOS_CPP): Likewise.
30286         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30287         not found.
30288         (open_input): Call CPP using execvp.
30289
30290 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30291
30292         * sysdeps/unix/sysv/linux/kernel-features.h
30293         (__ASSUME_PROT_GROWSUPDOWN): Remove.
30294         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30295         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30296         (__ASSUME_WAITID_SYSCALL): Likewise.
30297         * sysdeps/unix/sysv/linux/dl-execstack.c
30298         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30299         code unconditional.
30300         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30301         conditional code.
30302         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30303         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30304         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30305         code.
30306         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30307         unconditional.
30308         [__ASSUME_WAITID_SYSCALL]: Likewise.
30309         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30310
30311 2012-08-07  Roland McGrath  <roland@hack.frob.com>
30312
30313         * sysdeps/unix/closedir.c: Renamed to ...
30314         * sysdeps/posix/closedir.c: ... here.
30315         * sysdeps/unix/dirfd.c: Renamed to ...
30316         * sysdeps/posix/dirfd.c: ... here.
30317         * sysdeps/unix/dirstream.h: Renamed to ...
30318         * sysdeps/posix/dirstream.h: ... here.
30319         * sysdeps/unix/fdopendir.c: Renamed to ...
30320         * sysdeps/posix/fdopendir.c: ... here.
30321         * sysdeps/unix/opendir.c: Renamed to ...
30322         * sysdeps/posix/opendir.c: ... here.
30323         * sysdeps/unix/readdir.c: Renamed to ...
30324         * sysdeps/posix/readdir.c: ... here.
30325         * sysdeps/unix/readdir_r.c: Renamed to ...
30326         * sysdeps/posix/readdir_r.c: ... here.
30327         * sysdeps/unix/rewinddir.c: Renamed to ...
30328         * sysdeps/posix/rewinddir.c: ... here.
30329         * sysdeps/unix/seekdir.c: Renamed to ...
30330         * sysdeps/posix/seekdir.c: ... here.
30331         * sysdeps/unix/telldir.c: Renamed to ...
30332         * sysdeps/posix/telldir.c: ... here.
30333         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30334         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30335         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30336         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30337
30338         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30339         * bits/fcntl.h: ... here.
30340
30341         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30342         not 0.
30343         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30344         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30345         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30346         (struct flock): Move l_start, l_len to the beginning.
30347         Use __pid_t for l_pid.
30348         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30349         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30350         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30351         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30352         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30353         [__USE_LARGEFILE64] (struct flock64): New type.
30354         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30355
30356         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30357         * bits/dirent.h: ... here.
30358
30359         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30360         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30361
30362 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30363
30364         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30365         Change from 2.6.0 to 2.6.16.
30366         * sysdeps/unix/sysv/linux/configure: Regenerated.
30367         * sysdeps/unix/sysv/linux/kernel-features.h
30368         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30369         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30370         version.
30371         (__ASSUME_UTIMES): Likewise.
30372         (__ASSUME_CLONE_STOPPED): Remove.
30373         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30374         architectures, not kernel version.
30375         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30376         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30377         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30378         (__ASSUME_WAITID_SYSCALL): Likewise.
30379         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30380         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30381         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30382         refer to older versions.
30383
30384 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30385
30386         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30387         Define alphasort64 as an alias.
30388         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30389         Define versionsort64 as an alias.
30390         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30391         Define scandir64 as an alias.
30392         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30393         Define scandirat64 as an alias.
30394         * dirent/alphasort64.c (alphasort64):
30395         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30396         * dirent/versionsort64.c: Likewise.
30397         * dirent/scandir64.c: Likewise.
30398         * dirent/scandirat64.c: Likewise.
30399         * sysdeps/wordsize-64/alphasort.c: File removed.
30400         * sysdeps/wordsize-64/alphasort64.c: File removed.
30401         * sysdeps/wordsize-64/scandir.c: File removed.
30402         * sysdeps/wordsize-64/scandir64.c: File removed.
30403         * sysdeps/wordsize-64/scandirat.c: File removed.
30404         * sysdeps/wordsize-64/scandirat64.c: File removed.
30405         * sysdeps/wordsize-64/versionsort.c: File removed.
30406         * sysdeps/wordsize-64/versionsort64.c: File removed.
30407         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30408         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30409         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30410         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30411         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30412         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30413         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30414         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30415
30416         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30418         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30419         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30420         [defined __arch64__ || defined __sparcv9]
30421         (__INO_T_MATCHES_INO64_T): New macro.
30422         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30423         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30424         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30425         * sysdeps/unix/sysv/linux/bits/dirent.h
30426         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30427         (_DIRENT_MATCHES_DIRENT64): New macro.
30428
30429         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30430         Define lockf64 as an alias.
30431         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30432         Define fseeko64 as an alias.
30433         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30434         Define ftello64 as an alias.
30435         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30436         Define _IO_fgetpos64 and fgetpos64 as aliases.
30437         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30438         Define _IO_fsetpos64 and fsetpos64 as aliases.
30439         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30440         Conditionalize body on this.
30441         * libio/fseeko64.c: Likewise.
30442         * libio/ftello64.c: Likewise.
30443         * libio/iofgetpos64.c: Likewise.
30444         * libio/iofsetpos64.c: Likewise.
30445         * sysdeps/wordsize-64/lockf.c: File removed.
30446         * sysdeps/wordsize-64/lockf64.c: File removed.
30447         * sysdeps/wordsize-64/fseeko.c: File removed.
30448         * sysdeps/wordsize-64/fseeko64.c: File removed.
30449         * sysdeps/wordsize-64/ftello.c: File removed.
30450         * sysdeps/wordsize-64/ftello64.c: File removed.
30451         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30452         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30453         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30454         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30455         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30456         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30457         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30458         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30459         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30460         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30461         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30462         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30463         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30464         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30465
30466         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30468         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30470         [defined __arch64__ || defined __sparcv9]
30471         (__OFF_T_MATCHES_OFF64_T): New macro.
30472         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30473         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30475         (__OFF_T_MATCHES_OFF64_T): New macro.
30476
30477 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30478
30479         * stdlib/secure-getenv.c (__secure_getenv): Replace
30480         GLIBC_2_16 with GLIBC_2_17.
30481
30482 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30483
30484         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30485         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30486
30487 2012-08-03  David S. Miller  <davem@davemloft.net>
30488
30489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30490
30491 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30492
30493         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30494         Remove.
30495         (__ASSUME_CORRECT_SI_PID): Likewise.
30496         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30497         (__ASSUME_TMPFS_NAME): Likewise.
30498         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30499         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30500         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30501         (HAVE_AUX_SECURE): Make definition unconditional.
30502         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30503         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30504
30505 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30506
30507         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30508         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30509         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30510         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30511         __eloop_threshold instead of SYMLOOP_MAX.
30512
30513         * sysdeps/generic/eloop-threshold.h: New file.
30514         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30515         of MAXSYMLINKS.
30516         * elf/chroot_canon.c (chroot_canon): Likewise.
30517
30518 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30519
30520         [BZ #13717]
30521         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30522         Change to 2.6.0 everywhere.
30523         * sysdeps/unix/sysv/linux/configure: Regenerated.
30524         * sysdeps/unix/sysv/linux/kernel-features.h
30525         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30526         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30527         kernel versions.
30528         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30529         (__ASSUME_FUTEX_REQUEUE): Remove.
30530         (__ASSUME_STATFS64): Define unconditionally.
30531         (__ASSUME_AT_SECURE): Likewise.
30532         (__ASSUME_CORRECT_SI_PID): Likewise.
30533         (__ASSUME_TGKILL): Define without depending on kernel version for
30534         i386.
30535         (__ASSUME_UTIMES): Likewise.
30536         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30537         kernel version.
30538         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30539         (__ASSUME_TMPFS_NAME): Likewise.
30540         * README: Update reference to Linux kernel versions.
30541
30542 2012-08-02  Marek Polacek  <polacek@redhat.com>
30543
30544         [BZ# 14150]
30545         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30546         libc_cv_asm_type_prefix with %.
30547         * configure: Regenerated.
30548         * include/libc-symbols.h: Remove comment about
30549         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30550         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30551         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30552         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30553         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30554         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30555         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30556         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30557         * elf/tst-unique2mod1.c: Likewise.
30558         * elf/tst-unique1mod2.c: Likewise.
30559         * elf/tst-unique1mod1.c: Likewise.
30560         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30561         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30562         Replace ASM_TYPE_DIRECTIVE with .type.
30563         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30564         * sysdeps/i386/sysdep.h: Likewise.
30565         * sysdeps/x86_64/sysdep.h: Likewise.
30566         * sysdeps/sh/sysdep.h: Likewise.
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30568         Do not define ASM_TYPE_DIRECTIVE.
30569         * sysdeps/powerpc/sysdep.h: Likewise.
30570         * sysdeps/powerpc/powerpc32/sysdep.h:
30571         Replace ASM_TYPE_DIRECTIVE with .type.
30572         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30573         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30574         * sysdeps/i386/fpu/e_powf.S: Likewise.
30575         * sysdeps/i386/fpu/e_expl.S: Likewise.
30576         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30577         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30578         * sysdeps/i386/fpu/e_pow.S: Likewise.
30579         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30580         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30581         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30582         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30583         * sysdeps/i386/fpu/e_log2.S: Likewise.
30584         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30585         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30586         * sysdeps/i386/fpu/e_powl.S: Likewise.
30587         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30588         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30589         * sysdeps/i386/fpu/e_logl.S: Likewise.
30590         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30591         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30592         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30593         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30594         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30595         * sysdeps/i386/fpu/e_log.S: Likewise.
30596         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30597         * sysdeps/i386/fpu/e_logf.S: Likewise.
30598         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30599         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30600         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30601         * sysdeps/i386/fpu/e_log10.S: Likewise.
30602         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30603         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30604         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30605         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30606         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30607         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30608         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30609         * sysdeps/i386/i686/strtok.S: Likewise.
30610         * sysdeps/i386/i386-mcount.S: Likewise.
30611         * sysdeps/i386/strtok.S: Likewise.
30612         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30613         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30614         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30615         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30616         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30617         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30618         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30619         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30620         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30621         * sysdeps/x86_64/_mcount.S: Likewise.
30622         * sysdeps/x86_64/strtok.S: Likewise.
30623         * sysdeps/sh/_mcount.S: Likewise.
30624
30625 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30626
30627         * libio/iofopen.c: Include <fcntl.h>.
30628         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30629         (_IO_fopen64, fopen64): Define as aliases.
30630         * libio/iofopen64.c: Include <fcntl.h>.
30631         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30632         Conditionalize body on this.
30633         * sysdeps/wordsize-64/iofopen.c: File removed.
30634         * sysdeps/wordsize-64/iofopen64.c: File removed.
30635
30636 2012-08-01  Marek Polacek  <polacek@redhat.com>
30637
30638         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30639         Use dlfcn directly instead of a variable.
30640         (binfmt-subdir): Do not define.
30641         (dlfcn): Likewise.
30642
30643 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30644
30645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30646         Remove all definitions.
30647         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30648         <kernel-features.h>.
30649         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30650         (miss_F_GETOWN_EX): Remove all definitions.
30651         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30652         macro definition.
30653         [!__ASSUME_FCNTL64]: Remove conditional code.
30654         [__ASSUME_FCNTL64]: Make code unconditional.
30655         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30656         <kernel-features.h>.
30657         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30658         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30659         (lockf64) [__NR_fcntl64]: Make code unconditional.
30660         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30661
30662         * sysdeps/unix/sysv/linux/kernel-features.h
30663         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30664         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30665         Make code unconditional.
30666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30669         [__NR_vfork]: Make code unconditional.
30670         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30671         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30673         [__NR_vfork]: Make code unconditional.
30674         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30675         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30676
30677 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30678
30679         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30680         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30681
30682         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30683         Define mkstemp64 as an alias.
30684         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30685         Define mkstemps64 as an alias.
30686         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30687         Define mkostemp64 as an alias.
30688         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30689         Define mkostemps64 as an alias.
30690         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30691         Conditionalize body on this.
30692         * misc/mkostemp64.c: Likewise.
30693         * misc/mkostemps64.c: Likewise.
30694         * misc/mkstemps64.c: Likewise.
30695         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30696         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30697         * sysdeps/wordsize-64/mkostemp.c: File removed.
30698         * sysdeps/wordsize-64/mkstemp.c: File removed.
30699         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30700         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30701         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30702         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30703
30704         [BZ #14138]
30705         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30706         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30707         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30708         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30709
30710         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30711         compat_symbol macros from <shlib-compat.h> rather than the underlying
30712         default_symbol_version and symbol_version macros, so that DEFAULT
30713         lines in shlib-versions are respected.
30714         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30715
30716 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30717
30718         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30719         Declare with warn_unused_result.
30720         (setgid, setregid, setegid, setresgid): Likewise.
30721         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30722         Likewise.
30723         * WUR-REPORT: Remove set*id functions.
30724
30725 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30726
30727         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30728
30729 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30730
30731         [BZ #10191]
30732         * include/sys/socket.h (__libc_accept, __libc_accept4):
30733         Add attribute_hidden.
30734         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30735
30736         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30737         use of PTR_MANGLE.
30738         * inet/getnetgrent_r.c (setup): Likewise.
30739
30740         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30741
30742 2012-07-31  David S. Miller  <davem@davemloft.net>
30743
30744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30745
30746 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30747
30748         [BZ #13629]
30749         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30750         value between 1.0 and 2.0 and smaller part has absolute value less
30751         than 1.0.
30752         * math/s_clog10.c (__clog10): Likewise.
30753         * math/s_clog10f.c (__clog10f): Likewise.
30754         * math/s_clog10l.c (__clog10l): Likewise.
30755         * math/s_clogf.c (__clogf): Likewise.
30756         * math/s_clogl.c (__clogl): Likewise.
30757         * math/libm-test.inc (clog_test): Add more tests.
30758         (clog10_test): Likewise.
30759         * sysdeps/i386/fpu/libm-test-ulps: Update.
30760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30761
30762 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30763
30764         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30765         Exit with zero in case no suitable GID is found, and write a
30766         message to standard error.
30767
30768 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30769
30770         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30771         rather than to 1.
30772         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30773         (MAXPATHLEN): Removed.
30774         (NOGROUP, NODEV): New macros.
30775         (setbit, clrbit, isset, isclr): New macros.
30776         (howmany, roundup, powerof2): New macros.
30777         (DEV_BSIZE): New macro.
30778
30779         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30780         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30781
30782         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30783         definition on [!__NO_LONG_DOUBLE_MATH].
30784
30785         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30786         PTR_MANGLE and PTR_DEMANGLE.
30787
30788         * socket/accept4.c (accept4): Rename to __libc_accept4.
30789         Define accept4 as a weak alias.
30790
30791         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30792         on [_DIRENT_HAVE_D_TYPE].
30793         * io/ftw.c (ftw_dir): Likewise.
30794
30795         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30796
30797         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30798
30799         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30800         Use the BSD numbers rather than the arbitrary ones we had.
30801         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30802         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30803         (SIGXCPU, SIGXFSZ): New macros.
30804         (_NSIG): Now 32.
30805
30806         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30807         initializer on [_LIBC_REENTRANT].
30808
30809         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30810         definitions inside [_POSIX_MAPPED_FILES].
30811
30812         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30813
30814         * dirent/opendir.c: Include <fcntl.h>.
30815
30816         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30817         (__libc_getspecific): Likewise.
30818         (__libc_key_create): Likewise.
30819
30820         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30821         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30822         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30823         (tmpfile64): Define as alias.
30824         * sysdeps/wordsize-64/tmpfile.c: File removed.
30825         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30826         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30827         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30828
30829         * stdio-common/vfscanf.c: Include <stdbool.h>.
30830         * nss/makedb.c: Likewise.
30831         * stdio-common/_i18n_number.h: Likewise.
30832         * argp/argp-help.c: Likewise.
30833         * posix/wordexp.c: Likewise.
30834         * sysdeps/posix/spawni.c: Likewise.
30835         * nss/nss_files/files-initgroups.c: Likewise.
30836         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30837         * nss/nss_files/files-initgroups.c: Likewise.
30838         * nss/nss_db/db-netgrp.c: Likewise.
30839         * nss/nss_db/db-initgroups.c: Likewise.
30840         * io/fchmodat.c: Include <sys/stat.h>.
30841
30842         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30843         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30844
30845         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30846         [HAVE_MMAP].
30847
30848         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30849         Add multiple inclusion protection.
30850
30851 2012-07-27  David S. Miller  <davem@davemloft.net>
30852
30853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30854
30855 2012-07-27  Gary Benson  <gbenson@redhat.com>
30856
30857         [BZ #14298]
30858         * elf/rtld.c: Include <stap-probe.h>.
30859         (dl_main): Added static probes "init_start" and "init_complete".
30860         * elf/dl-load.c: Include <stap-probe.h>.
30861         (lose): Take new parameter "nsid".
30862         Added static probe "map_failed".
30863         (_dl_map_object_from_fd): Pass namespace id to lose.
30864         Added static probe "map_start".
30865         (open_verify): Pass namespace id to lose.
30866         * elf/dl-open.c: Include <stap-probe.h>.
30867         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30868         and "reloc_complete".
30869         * elf/dl-close.c: Include <stap-probe.h>.
30870         (_dl_close_worker): Added static probes "unmap_start" and
30871         "unmap_complete".
30872         * elf/rtld-debugger-interface.txt: New file documenting the above.
30873
30874 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30875
30876         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30877         rather than a string variable.
30878         * sunrpc/rpc_main.c (h_output): Likewise.
30879         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30880
30881 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30882
30883         * inet/check_native.c: New file.
30884
30885 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30886
30887         [BZ #13629]
30888         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30889         if larger part has absolute value 1.0.
30890         * math/s_clog10.c (__clog10): Likewise.
30891         * math/s_clog10f.c (__clog10f): Likewise.
30892         * math/s_clog10l.c (__clog10l): Likewise.
30893         * math/s_clogf.c (__clogf): Likewise.
30894         * math/s_clogl.c (__clogl): Likewise.
30895         * math/libm-test.inc (clog_test): Add more tests.
30896         (clog10_test): Likewise.
30897         * sysdeps/i386/fpu/libm-test-ulps: Update.
30898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30899
30900         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30901         (pltexit): Likewise.
30902         (La_regs): Likewise.
30903         (La_retval): Likewise.
30904         (int_retval): Likewise.
30905         Update #error for removed macros to refer only to definitions in
30906         tst-audit.h.
30907         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30908         macro.
30909         (pltexit): Likewise.
30910         (La_regs): Likewise.
30911         (La_retval): Likewise.
30912         (int_retval): Likewise.
30913         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30914         macro.
30915         (pltexit): Likewise.
30916         (La_regs): Likewise.
30917         (La_retval): Likewise.
30918         (int_retval): Likewise.
30919         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30920         macro.
30921         (pltexit): Likewise.
30922         (La_regs): Likewise.
30923         (La_retval): Likewise.
30924         (int_retval): Likewise.
30925         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30926         macro.
30927         (pltexit): Likewise.
30928         (La_regs): Likewise.
30929         (La_retval): Likewise.
30930         (int_retval): Likewise.
30931         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30932         macro.
30933         (pltexit): Likewise.
30934         (La_regs): Likewise.
30935         (La_retval): Likewise.
30936         (int_retval): Likewise.
30937         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30938         macro.
30939         (pltexit): Likewise.
30940         (La_regs): Likewise.
30941         (La_retval): Likewise.
30942         (int_retval): Likewise.
30943         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30944         macro definitions in tst-audit.h.
30945         * sysdeps/i386/tst-audit.h: New file.
30946         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30947         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30948         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30949         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30950         * sysdeps/sh/tst-audit.h: Likewise.
30951         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30952         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30953         * sysdeps/x86_64/tst-audit.h: Likewise.
30954
30955 2012-07-26  Andreas Jaeger  <aj@suse.de>
30956
30957         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30958         ptrace.
30959
30960         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30961         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30962         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30963         PTRACE_O_MASK.
30964         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30965         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30966         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30967
30968         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30969         value.
30970
30971         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30972         _sigsys.
30973         (si_call_addr, si_syscall, si_arch): Define new macro.
30974         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30975         _sigsys.
30976         (si_call_addr, si_syscall, si_arch): Define new marcro.
30977         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30978         _sigsys.
30979         (si_call_addr, si_syscall, si_arch): Define new macro.
30980         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30981         _sigsys.
30982         (si_call_addr, si_syscall, si_arch): Define new macro.
30983
30984 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30985
30986         [BZ #13717]
30987         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30988         Change to 2.4.21 where previously 2.4.1.
30989         * sysdeps/unix/sysv/linux/configure: Regenerated.
30990         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30991         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30992         Linux kernel version.
30993         (__ASSUME_STD_AUXV): Remove.
30994         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30995         kernel version.
30996         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30997         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30998         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30999         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31000         (__ASSUME_NETLINK_SUPPORT): Likewise.
31001         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31002         (__no_netlink_support): Remove conditional definition.
31003         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31004         Remove.
31005         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31006         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31007         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31008         (if_nameindex_ioctl): Remove.
31009         (if_nameindex_netlink): Do not handle __no_netlink_support.
31010         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31011         code.
31012         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31013         Remove conditional code.
31014         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31015         code.
31016         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31017         unconditional.
31018         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31019         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31020         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31021         Remove.
31022         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31023         [!__ASSUME_STD_AUXV]: Remove conditional code.
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31025         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31026         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31028         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31029         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31030         code.
31031         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31033         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31034         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31035         conditional code.
31036         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31038         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31039         code.
31040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31041         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31042         conditional code.
31043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31044         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31045         code unconditional.
31046         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31047         conditional code.
31048         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31049         unconditional.
31050         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31051         conditional code.
31052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31053         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31054         unconditional.
31055         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31056         conditional code.
31057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31058         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31059         code unconditional.
31060         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31061         conditional code.
31062         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31063         unconditional.
31064         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31065         conditional code.
31066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31067         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31068         code unconditional.
31069         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31070         conditional code.
31071         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31072         unconditional.
31073         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31074         conditional code.
31075
31076 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
31077
31078         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31079         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31080         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31081         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31082         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31083         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31084         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31085         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31086         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31087         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31088         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31089         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31090         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31091         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31092         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31093         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31094         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31095         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31096         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31098         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31099         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31100         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31101
31102 2012-07-25  Florian Weimer  <fweimer@redhat.com>
31103
31104         * Versions.def: Add GLIBC_2.17.
31105         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31106         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31107         Introduce __libc_secure_getenv.
31108         * stdlib/Versions (2.17): Add secure_getenv
31109         (GLIBC_PRIVATE): Add __libc_secure_getenv.
31110         * stdlib/secure-getenv.c: Rename __secure_getenv to
31111         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
31112         symbol __secure_getenv for GLIBC_2.0.
31113         * stdlib/tst-secure-getenv.c: New.
31114         * stdlib/Makefile (tests): Add testcase.
31115         * manual/startup.texi (Environment Access): Document
31116         secure_getenv.
31117         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31118         __libc_secure_getenv.
31119         * inet/ruserpass.c (ruserpass): Likewise.
31120         * malloc/mtrace.c (mtrace): Likewise.
31121         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31122         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31123         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31124         * sysdeps/posix/tempname.c: Likewise.  Evaluate
31125         HAVE_SECURE_GETENV.
31126         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31127         __secure_getenv to __libc_secure_getenv.
31128         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31130         Likewise.
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31132         Likewise.
31133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31135         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31140
31141 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
31142
31143         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31144         (struct La_i86_retval): Likewise.
31145         (struct La_x86_64_regs): Likewise.
31146         (struct La_x86_64_retval): Likewise.
31147         (struct La_x32_regs): Likewise.
31148         (struct La_x32_retval): Likewise.
31149         (struct La_ppc32_regs): Likewise.
31150         (struct La_ppc32_retval): Likewise.
31151         (struct La_ppc64_regs): Likewise.
31152         (struct La_ppc64_retval): Likewise.
31153         (struct La_sh_regs): Likewise.
31154         (struct La_sh_retval): Likewise.
31155         (struct La_s390_32_regs): Likewise.
31156         (struct La_s390_32_retval): Likewise.
31157         (struct La_s390_64_regs): Likewise.
31158         (struct La_s390_64_retval): Likewise.
31159         (struct La_sparc32_regs): Likewise.
31160         (struct La_sparc32_retval): Likewise.
31161         (struct La_sparc64_regs): Likewise.
31162         (struct La_sparc64_retval): Likewise.
31163         (struct audit_ifaces): Remove architecture-specific pltenter and
31164         pltexit members.
31165         * sysdeps/i386/ldsodefs.h: New file.
31166         * sysdeps/powerpc/ldsodefs.h: Likewise.
31167         * sysdeps/s390/ldsodefs.h: Likewise.
31168         * sysdeps/sh/ldsodefs.h: Likewise.
31169         * sysdeps/sparc/ldsodefs.h: Likewise.
31170         * sysdeps/x86_64/ldsodefs.h: Likewise.
31171
31172 2012-07-25  Marek Polacek  <polacek@redhat.com>
31173
31174         [BZ #6808]
31175         * math/libm-test.inc (yn_test): Add another test.
31176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31177         to ERANGE when the result is +-Inf.
31178         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31179         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31180         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31181         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31182
31183 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
31184
31185         * conform/data/time.h-data (NULL): Use macro-constant.  Require
31186         equal to 0.
31187         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
31188         clock_t.
31189         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
31190
31191 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
31192
31193         * configure.in <sysdeps resolving>: Correct printing
31194         Implies_before.
31195         * configure: Regenerate.
31196
31197 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
31198
31199         * math/w_ilogb.c: Include <limits.h>.
31200         * math/w_ilogbl.c: Likewise.
31201
31202 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31203
31204         * manual/lang.texi (__va_copy): Document primarily as ISO C99
31205         va_copy.  Document allowing for unavailable va_copy only as
31206         pre-C99 compatibility.
31207         * manual/string.texi (Copying and Concatenation): Use va_copy
31208         instead of __va_copy in concat example.
31209
31210 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
31211
31212         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31213         (__sendto): Use create_address_port.  Initialize APORT and deallocate
31214         it if not null.
31215
31216         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31217         with O_NOLINK passed to __file_name_lookup.
31218
31219         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31220         with O_NOLINK passed to __file_name_lookup.
31221
31222         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31223         negative N or less than NGIDS.
31224
31225         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31226         type to string_t.  Set ERANGE as errno and return it if NAME is not big
31227         enough.  Use memcpy instead of strncpy.
31228
31229 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
31230
31231         * elf/Makefile (check-data): Remove.
31232         (localplt.data): New vpath directive.
31233         ($(objpfx)check-localplt.out): Use localplt.data from vpath
31234         instead of $(check-data).
31235         * scripts/data/localplt-generic.data: Move to ...
31236         * sysdeps/generic/localplt.data: ... here.
31237         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31238         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31239         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31241         ... here.
31242         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31244         ... here.
31245         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31247         ... here.
31248         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31250         ... here.
31251         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31253         ... here.
31254         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31256         ... here.
31257
31258 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31259
31260         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31261         PPC32 and PPC64 files.
31262         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31263         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31264
31265 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31266
31267         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31268         __makecontext_ret to ...
31269         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31270         ... here and call exit if uc_link is NULL.  New file.
31271         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31272         __makecontext_ret.S.
31273         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31274         __makecontext_ret to ...
31275         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31276         ... here and call exit if uc_link is NULL.  New file.
31277         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31278         __makecontext_ret.S.
31279
31280 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31281
31282         * elf/elf.h (R_390_IRELATIVE): New definition.
31283         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31284         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
31285         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31286         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31287         (elf_machine_lazy_rel): Likewise.
31288         * sysdeps/s390/dl-irel.h: New file.
31289         * sysdeps/s390/s390-64/memcpy.S: New asm code.
31290         * sysdeps/s390/s390-64/memset.S: New asm code.
31291         * sysdeps/s390/s390-64/memcmp.S: New asm code.
31292         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31293         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31294         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31295         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31296         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31297         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31298         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31299         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31300         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31301         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31302         * sysdeps/s390/s390-32/memcpy.S: New asm code.
31303         * sysdeps/s390/s390-32/memset.S: New asm code.
31304         * sysdeps/s390/s390-32/memcmp.S: New asm code.
31305
31306 2012-07-17  Marek Polacek  <polacek@redhat.com>
31307
31308         [BZ #14349]
31309         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31310         * sysdeps/s390/s390-64/configure.in: Likewise.
31311         * sysdeps/sparc/configure.in: Likewise.
31312         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31313         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31314         * sysdeps/i386/configure.in: Likewise.
31315         * sysdeps/x86_64/configure.in: Likewise.
31316         * sysdeps/sh/configure.in: Likewise.
31317         * sysdeps/s390/s390-32/configure: Regenerated.
31318         * sysdeps/s390/s390-64/configure: Likewise.
31319         * sysdeps/x86_64/configure: Likewise.
31320         * sysdeps/sh/configure: Likewise.
31321         * sysdeps/powerpc/powerpc64/configure: Likewise.
31322         * sysdeps/powerpc/powerpc32/configure: Likewise.
31323         * sysdeps/sparc/configure: Likwise.
31324         * sysdeps/i386/configure: Likewise.
31325
31326         * elf/dl-open.c: Comment fixes.
31327
31328 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31329
31330         * Makefile [CXX] (check-data): Remove.
31331         [CXX] (c++-types.data): New vpath directive.
31332         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31333         vpath.  Do not allow for C++ type data being missing.
31334         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31335         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31336         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31337         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31338         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31339         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31340         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31342         ... here.
31343         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31345         ... here.
31346         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31348         ... here.
31349         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31351         ... here.
31352         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31354         ... here.
31355         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31357         ... here.
31358         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31360         ... here.
31361         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31362         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31363
31364         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31365         definitions to architecture-specific files.
31366         (TLS_IE): Likewise.
31367         (TLS_LD): Likewise.
31368         (TLS_GD): Likewise.
31369         * sysdeps/i386/tls-macros.h: New file.
31370         * sysdeps/powerpc/tls-macros.h: Likewise.
31371         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31372         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31373         * sysdeps/sh/tls-macros.h: Likewise.
31374         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31375         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31376         * sysdeps/x86_64/tls-macros.h: Likewise.
31377
31378 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31379
31380         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31381         zero value for regular exit case.
31382
31383         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31384         (__start_context): Preserve zero value for regular exit case.
31385
31386 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31387             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31388
31389         * manual/setjmp.texi (setcontext): Clarify normal process
31390         termination when uc_link is the null pointer.
31391         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31392         exit call.
31393
31394 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31395
31396         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31397         preprocessor.  Test for each exception mask separately.
31398
31399 2012-07-16  Andreas Jaeger  <aj@suse.de>
31400
31401         * po/ru.po: Update from translation team.
31402
31403 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31404
31405         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31406         equal to 0.
31407         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31408         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31409         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31410         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31411         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31412
31413 2012-07-13  Andreas Jaeger  <aj@suse.de>
31414
31415         * po/fr.po: Update from translation team.
31416
31417 2012-07-12  Marek Polacek  <polacek@redhat.com>
31418
31419         [BZ #14173]
31420         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31421         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31422         loop condition.
31423
31424 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31425
31426         [BZ #13717]
31427         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31428         Change to 2.4.1 where previously 2.4.0.
31429         * sysdeps/unix/sysv/linux/configure: Regenerated.
31430         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31431         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31432         version.
31433         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31434         (__ASSUME_AT_CLKTCK): Remove.
31435         (__ASSUME_AT_PAGESIZE): Likewise.
31436         (__ASSUME_AT_XID): Likewise.
31437         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31438         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31439         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31440         unconditionally.
31441         (HAVE_AUX_PAGESIZE): Likewise.
31442         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31443         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31444         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31445
31446 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31447
31448         [BZ #14307]
31449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31450         the temporary buffer used to invoke __gethostbyname2_r,
31451         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31452         host_data / struct gaih_addrtuple.
31453         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31454         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31455         header file nss/nsswitch.h.
31456         * nss/nsswitch.h (global scope): Add definition of implementation
31457         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31458         resolv/nss_dns/dns-host.c).
31459
31460 2012-07-11  Andreas Jaeger  <aj@suse.de>
31461
31462         * po/fr.po: Update from translation team.
31463
31464         * po/sv.po: Update from translation team
31465         * po/fr.po: Another update from translation team.
31466
31467 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31468
31469         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31470         for subnormals or multiply small sinh result by itself.
31471         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31473
31474 2012-07-11  David S. Miller  <davem@davemloft.net>
31475
31476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31477
31478 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31479
31480         [BZ #14347]
31481         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31482         (INTERNAL_MARK): Shift it here.
31483
31484 2012-07-10  Marek Polacek  <polacek@redhat.com>
31485
31486         [BZ #14151]
31487         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31488         libc_cv_asm_global_directive with .globl.
31489         * configure: Regenerated.
31490         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31491         with .globl.
31492         * sysdeps/i386/configure: Regenerated.
31493         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31494         with .globl.
31495         * sysdeps/x86_64/configure: Regenerated.
31496         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31497         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31498         * elf/tst-unique2mod2.c: Likewise.
31499         * elf/tst-unique2mod1.c: Likewise.
31500         * elf/tst-unique1mod2.c: Likewise.
31501         * elf/tst-unique1mod1.c: Likewise.
31502         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31503         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31504         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31505         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31506         * sysdeps/mach/sysdep.h: Likewise.
31507         * sysdeps/i386/sysdep.h: Likewise.
31508         * sysdeps/i386/i386-mcount.S: Likewise.
31509         * sysdeps/x86_64/_mcount.S: Likewise.
31510         * sysdeps/x86_64/sysdep.h: Likewise.
31511         * sysdeps/sh/_mcount.S: Likewise.
31512         * sysdeps/sh/sysdep.h: Likewise.
31513         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31514         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31515         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31516         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31517         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31518         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31519         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31520         * locale/localeinfo.h: Likewise.
31521         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31522         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31523
31524 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31525
31526         [BZ #14336]
31527         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31528         system".
31529         * manual/message.texi (The Uniforum approach): Likewise.
31530         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31531         (glibc iconv Implementation): Likewise.
31532
31533 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31534
31535         [BZ #14337]
31536         * math/s_clog.c (__clog): Avoid scaling a value down where that
31537         could result in underflow.
31538         * math/s_clog10.c (__clog10): Likewise.
31539         * math/s_clog10f.c (__clog10f): Likewise.
31540         * math/s_clog10l.c (__clog10l): Likewise.
31541         * math/s_clogf.c (__clogf): Likewise.
31542         * math/s_clogl.c (__clogl): Likewise.
31543         * math/libm-test.inc (clog_test): Add more tests.
31544         (clog10_test): Likewise.
31545         * sysdeps/i386/fpu/libm-test-ulps: Update.
31546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31547
31548 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31549
31550         [BZ #14283]
31551         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31552         by 7 not 8 to examine high bit of fractional part.
31553
31554         [BZ #14042]
31555         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31556         for call to __mcount_internal.
31557         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31558         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31559         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31560
31561 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31562
31563         [BZ #14154]
31564         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31565         approximation for values within 0x1p-13f of an odd multiple of
31566         pi/4.
31567         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31568         exception.  Add more tests.
31569         * sysdeps/i386/fpu/libm-test-ulps: Update.
31570
31571         [BZ #6778]
31572         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31573         inputs and return -1 for them.  Do not check for +Inf in case not
31574         reachable for +Inf.
31575         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31576         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31577         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31578         and return -1 for them.  Do not check for +Inf in case not
31579         reachable for +Inf.
31580         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31581         define.
31582         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31583         and return -1 for them.  Do not check for +Inf in case not
31584         reachable for +Inf.
31585         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31586         spurious underflow.
31587         * sysdeps/i386/fpu/libm-test-ulps: Update.
31588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31589
31590 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31591
31592         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31593
31594 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31595
31596         [BZ #14157]
31597         [BZ #14331]
31598         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31599         could result in spurious underflow.  Scale down values above
31600         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31601         * math/s_csqrtf.c (__csqrtf): Likewise.
31602         * math/s_csqrtl.c (__csqrtl): Likewise.
31603         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31604         spurious underflow.
31605         * sysdeps/i386/fpu/libm-test-ulps: Update.
31606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31607
31608 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31609
31610         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31611         xopen-msg.sed.
31612         * catgets/xopen-msg.awk: New file.
31613         * catgets/xopen-msg.sed: Removed.
31614
31615         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31616         po2text.sed.
31617         * intl/po2test.awk: New file.
31618         * intl/po2test.sed: Removed.
31619
31620 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31621
31622         [BZ #14328]
31623         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31624         or multiply small sinh result by itself.
31625         * math/s_ctanf.c (__ctanf): Likewise.
31626         * math/s_ctanh.c (__ctanh): Likewise.
31627         * math/s_ctanhf.c (__ctanhf): Likewise.
31628         * math/s_ctanhl.c (__ctanhl): Likewise.
31629         * math/s_ctanl.c (__ctanl): Likewise.
31630         * math/libm-test.inc (ctan_test_tonearest): New function.
31631         (ctan_test_towardzero): Likewise.
31632         (ctan_test_downward): Likewise.
31633         (ctan_test_upward): Likewise.
31634         (ctanh_test_tonearest): Likewise.
31635         (ctanh_test_towardzero): Likewise.
31636         (ctanh_test_downward): Likewise.
31637         (ctanh_test_upward): Likewise.
31638         (main): Call these new functions.
31639         * sysdeps/i386/fpu/libm-test-ulps: Update.
31640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31641
31642 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31643
31644         * .gitignore: Delete /ports entry.
31645
31646 2012-07-03  Andreas Jaeger  <aj@suse.de>
31647
31648         * po/bg.po: Update from translation team.
31649         * po/cs.po: Likewise.
31650         * po/de.po: Likewise.
31651         * po/hr.po: Likewise.
31652         * po/nl.pl: Likewise.
31653         * po/pl.po: Likewise.
31654         * po/vi.po: Likewise.
31655
31656 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31657
31658         * Makeconfig [!+link] (+link-before-libc): New variable.
31659         [!+link] (+link-after-libc): Likewise.
31660         [!+link] (+link-tests): Likewise.
31661         [!+link] (+link): Define in terms of $(+link-before-libc) and
31662         $(+link-after-libc).
31663         [!+link-static] (+link-static-before-libc): New variable.
31664         [!+link-static] (+link-static-after-libc): Likewise.
31665         [!+link-static] (+link-static-tests): Likewise.
31666         [!+link-static] (+link-static): Define in terms of
31667         $(+link-static-before-libc) and $(+link-static-after-libc).
31668         [build-shared] (link-libc-before-gnulib): New variable.
31669         [build-shared] (link-libc-tests): Likewise.
31670         [build-shared] (link-libc): Define in terms of
31671         $(link-libc-before-gnulib).
31672         [!build-shared] (link-libc-tests): New variable.
31673         (link-libc-static-tests): New variable.
31674         [!gnulib] (gnulib-arch): New variable.
31675         [!gnulib] (gnulib-tests): Likewise.
31676         [!gnulib] (static-gnulib-arch): Likewise.
31677         [!gnulib] (static-gnulib-tests): Likewise.
31678         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31679         Define with "=" instead of ":=".
31680         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31681         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31682         * Rules (binaries-all-notests): New variable.
31683         (binaries-all-tests): Likewise.
31684         (binaries-static-notests): Likewise.
31685         (binaries-static-tests): Likewise.
31686         (binaries-all): Define using $(binaries-all-notests) and
31687         $(binaries-all-tests).
31688         (binaries-static): Define using $(binaries-static-notests) and
31689         $(binaries-static-tests).
31690         (binaries-shared-tests): New variable.
31691         (binaries-shared-notests): Likewise.
31692         (binaries-shared): Remove variable.
31693         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31694         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31695         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31696         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31697         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31698         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31699         * elf/Makefile (sln-modules): New variable.
31700         (extra-objs): Add $(sln-modules:=.o).
31701         (ldconfig-modules): Add static-stubs.
31702         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31703         * elf/static-stubs.c: New file.
31704
31705         [BZ #14283]
31706         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31707         by 7 not 8 to examine high bit of fractional part.  Use volatile
31708         variables when splitting into final array of floats if
31709         __FLT_EVAL_METHOD__ != 0.
31710         * math/libm-test.inc (cos_test): Add another test.
31711         (sin_test): Likewise.
31712         * sysdeps/i386/fpu/libm-test-ulps: Update.
31713
31714         [BZ #14273]
31715         * math/libm-test.inc (cosh_test): Add more tests.
31716
31717         * version.h (RELEASE): Set to "development".
31718         (VERSION): Set to "2.16.90".
31719
31720 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31721
31722         * NEWS: Update copyright. Remove last-updated date.
31723         Mention math library bug fixes and timezone data changes.
31724         * README: Mention GNU/Hurd, x32, and HPPA support status.
31725
31726 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31727
31728         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31729
31730 2012-06-27  Andreas Jaeger  <aj@suse.de>
31731
31732         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31733
31734 2012-06-25  Andreas Jaeger  <aj@suse.de>
31735
31736         * sysdeps/s390/fpu/libm-test-ulps: Update.
31737
31738 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31739             Thomas Schwinge  <thomas@codesourcery.com>
31740
31741         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31742         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31743         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31744         fanotify_mark.
31745
31746 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31747
31748         * sysdeps/mach/start.c: Remove file.
31749         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31750         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31751         * sysdeps/sh/init-first.c: Likewise.
31752
31753         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31754         registers for frame unwinding purposes, add CFI directives.
31755         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31756         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31757         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31758         Likewise.
31759
31760         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31761         __fortify_fail returning.
31762         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31763
31764         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31765         sysdeps/sh/____longjmp_chk.S.
31766         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31767         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31768         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31769         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31770
31771         * sysdeps/sh/abort-instr.h: New file.
31772         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31773         process in case exit returns.
31774
31775         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31776         initialize the GOT register before use.
31777
31778         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31779         calculation of ARGC > 4.
31780
31781         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31782         meaningful names to some local labels.
31783
31784 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31785             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31786
31787         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31788         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31789         (__arch_compare_and_exchange_val_16_acq): Likewise.
31790         (__arch_compare_and_exchange_val_32_acq): Likewise.
31791         (atomic_exchange_and_add): Fix gUSA sequence.
31792         (atomic_add): Likewise.
31793         (atomic_add_negative): Likewise.
31794         (atomic_add_zero): Likewise.
31795         (atomic_bit_test_set): Likewise.
31796
31797 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31798
31799         [BZ #13579]
31800         * include/link.h (struct link_map): Add l_free_initfini.
31801         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31802         l_initfini.
31803         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31804         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31805         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31806         set.
31807
31808 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31809
31810         * configure.in: Use AC_LANG_SOURCE.
31811         * configure: Regenerate.
31812
31813 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31814
31815         * configure.in (libc_cv_localstatedir): New substituted variable.
31816         * configure: Regenerated.
31817         * config.make.in (localstatedir): New variable, substituted from
31818         libc_cv_localstatedir.
31819         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31820         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31821         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31822         * sysdeps/gnu/configure: Regenerated.
31823
31824 2012-06-21  Jeff Law  <law@redhat.com>
31825
31826         [BZ #14277]
31827         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31828         free.  Simplify list management for _LIBC case.
31829
31830 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31831
31832         [BZ #14273]
31833         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31834         Clear sign bit of 64-bit integer value before comparing against
31835         overflow value.
31836
31837         * sysdeps/mach/configure: Regenerated.
31838
31839 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31840
31841         [BZ #14278]
31842         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31843
31844 2012-06-21  Jeff Law  <law@redhat.com>
31845
31846         [BZ #13882]
31847         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31848         uint16_t for elements in the "seen" array to avoid char overflows.
31849         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31850         * elf/dl-open.c (dl_open_worker): Likewise.
31851
31852 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31853
31854         * scripts/list-sources.sh: Scan PORTS for translations.
31855         * po/libc.pot: Regenerated.
31856
31857 2012-06-21  Andreas Jaeger  <aj@suse.de>
31858
31859         [BZ #12194]
31860         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31861         warning.
31862         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31863         * bits/byteswap-16.h (__bswap_16): Likewise.
31864         * bits/byteswap.h (__bswap_constant_16): Likewise.
31865
31866 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31867
31868         [BZ #14117]
31869         * sysdeps/i386/fpu_control.h: Removed.
31870         * sysdeps/x86_64/fpu_control.h: Moved to ...
31871         * sysdeps/x86/fpu_control.h: Here.
31872
31873         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31874         (_FPU_SETCW): Likewise.
31875
31876 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31877
31878         [BZ #14117]
31879         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31880         * sysdeps/x86/fpu/bits/mathinline.h: This.
31881         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31882
31883         [BZ #14050]
31884         [BZ #14117]
31885         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31886         functions if __x86_64__ is defined.
31887
31888 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31889
31890         * string/endian.h: Add !__ASSEMBLER__ condition for including
31891         conversion interfaces.
31892
31893 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31894
31895         [BZ #14241]
31896         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31897         of ABS(x) in calculating zero to negative powers other than odd
31898         integers.
31899         * math/libm-test.inc (pow_test): Add more tests.
31900
31901 2012-06-15  Andreas Jaeger  <aj@suse.de>
31902
31903         * manual/contrib.texi (Contributors): Update entry of Liubov
31904         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31905         Machado Filho.
31906
31907 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31908
31909         * string/string.h: Add __wur to GNU version of strerror_r.
31910
31911 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31912
31913         [BZ #14229]
31914         * string/Makefile (tests): Add tst-strtok_r.
31915         * string/tst-strtok_r.c: New file.
31916         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31917         RAX_LP/RDX_LP on SAVE_PTR.
31918
31919 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31920
31921         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31922
31923 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31924
31925         * libm_test.inc (csqrt_test): Allow more spurious underflow
31926         exceptions.
31927         (j0_test): Likewise.
31928         (j1_test): Likewise.
31929         (y0_test): Likewise.
31930         (y1_test): Likewise.
31931
31932 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31933
31934         * po/Makefile (libc.pot): Use UTF-8 charset.
31935
31936 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31937
31938         [BZ #14210]
31939         Suppress sign-conversion warning from FD_SET.
31940         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31941         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31942         not unsigned long int.
31943         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31944
31945 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31946
31947         [BZ #14050]
31948         [BZ #14117]
31949         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31950         __extern_always_inline instead of __extern_inline.
31951         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31952         (__signbit): Likewise.
31953         (__signbitl): Support C++ namespace.
31954         (lrintf): New inline function.
31955         (lrint): Likewise.
31956         (llrintf): Likewise.
31957         (llrint): Likewise.
31958         (fmaxf): Likewise.
31959         (fmax): Likewise.
31960         (fminf): Likewise.
31961         (fmin): Likewise.
31962         (rint): Likewise.
31963         (rintf): Likewise.
31964         (ceil): Likewise.
31965         (ceilf): Likewise.
31966         (floor): Likewise.
31967         (floorf): Likewise.
31968         (nearbyint): Likewise.
31969         (nearbyintf): Likewise.
31970
31971 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31972
31973         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31974         non-default versions.
31975
31976 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31977
31978         [BZ #14218]
31979         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31980
31981 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31982
31983         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31984         (FE_UPWARD, FE_DOWNWARD): Don't define.
31985         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31986         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31987
31988         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31989         reading it.
31990         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31991         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31992
31993 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31994
31995         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31996         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31997         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31998         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31999
32000 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
32001
32002         [BZ #14117]
32003         * sysdeps/i386/fpu/bits/fenv.h: Removed.
32004         * sysdeps/i386/fpu/Implies: New file.
32005         * sysdeps/x86_64/fpu/Implies: Likewise.
32006         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32007         * sysdeps/x86/fpu/bits/fenv.h: This.
32008
32009         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32010         __SSE_MATH__.
32011
32012 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32013
32014         [BZ #14134]
32015         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32016         character 0xffff that matches the last element of the
32017         conversion table.
32018
32019 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32020
32021         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32022         fmodl commit.
32023
32024 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32025
32026         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32027         values higher than 25.6283.
32028
32029 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32030
32031         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32032         subnormal exponent extraction and add some __builtin_expect.
32033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32034         Fix for subnormal mantissa calculation.
32035
32036 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
32037
32038         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32039         cpu2 is -1 and errno is not ENOSYS.
32040
32041 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
32042
32043         [BZ #14117]
32044         * sysdeps/i386/i486/bits/string.h: Renamed to ...
32045         * sysdeps/x86/bits/string.h: This.
32046         * sysdeps/x86_64/bits/string.h: Removed.
32047
32048         * sysdeps/i386/i486/bits/string.h: Define inline functions only
32049         if not compiling for x86-64, but compiling for >= i486.
32050
32051         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32052         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32053
32054         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32055         New macro from Linux kernel 3.4.0.
32056         (FP_XSTATE_MAGIC2): Likewise.
32057         (FP_XSTATE_MAGIC2_SIZE): Likewise.
32058         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32059         (struct _fpx_sw_bytes): New struct.
32060         (struct _xsave_hdr): Likewise.
32061         (struct _ymmh_state): Likewise.
32062         (struct _xstate): Likewise.
32063
32064         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32065         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32066         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32067         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32068         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32069         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32070
32071         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32072         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32073         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32074         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32075         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32076         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32077
32078 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32079
32080         [BZ #13743]
32081         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32082         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32083         (sysdep_headers): Include sys/platform/ppc.h.
32084         * sysdeps/powerpc/test-gettimebase.c: Test for
32085         __ppc_get_timebase() to catch future ISA opcode/insn changes.
32086         * manual/Makefile (appendices): Include platform.texi.
32087         * manual/contrib.texi (Contributors): Update @node pointers.
32088         * manual/maint.texi (Maintenance): Likewise.
32089         (Platform): New node.
32090         * manual/platform.texi: New file.  Document the new features.
32091
32092 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32093             Jakub Jelinek  <jakub@redhat.com>
32094
32095         [BZ #14188]
32096         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32097         where __builtin_expect is unavailable.
32098
32099 2012-06-03  David S. Miller  <davem@davemloft.net>
32100
32101         * stdlib/longlong.h: Updated from GCC.
32102
32103 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
32104
32105         [BZ #14042]
32106         * sysdeps/powerpc/powerpc32/mcount.c: New file.
32107         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32108         __mcount_internal.
32109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32110         (GLIBC_2.16): Likewise.
32111
32112 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32113
32114         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32115
32116 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32117
32118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32119         (default-abi): New variable.
32120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32121         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32122         variable.
32123         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32124         Likewise.
32125         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32126         Likewise.
32127         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32128         Likewise.
32129
32130         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32131         definition.  Document in comment.
32132
32133 2012-06-01  David S. Miller  <davem@davemloft.net>
32134
32135         * stdlib/longlong.h: Updated from GCC.
32136
32137 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32138
32139         [BZ #14117]
32140         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32141         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32142         sys/debugreg.h sys/io.h here.
32143         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32144         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32145         sys/io.h.
32146         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32147         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32148         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32149         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32150         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32151         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32152
32153         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32154         Define only if __x86_64__ is defined.
32155
32156 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
32157
32158         [BZ #14048]
32159         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32160         Use int64_t for variable i.
32161         * math/libm-test.inc (fmod_test): Add more tests.
32162
32163         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32164         z computation is not scheduled after fetestexcept.
32165         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32166         Use math_force_eval instead of asm to ensure calculation scheduled
32167         before exception test.
32168         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32169         Ensure a1 + u.d computation is not scheduled after fetestexcept.
32170
32171 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
32172
32173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32174         computation is not scheduled after fetestexcept.
32175
32176 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
32177
32178         [BZ #14117]
32179         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32180         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32181
32182 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32183
32184         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32185         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32186
32187 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32188
32189         [BZ #14117]
32190         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32191         <bits/wordsize.h>.
32192         (__WCHAR_MIN): Support __WORDSIZE == 64.
32193         (__WCHAR_MAX): Likewise.
32194
32195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32196         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32197
32198         [BZ #14183]
32199         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32200         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32201
32202         [BZ #14117]
32203         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32204         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32205
32206         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32207         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32208
32209         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32210         Defined to 1 if __x86_64__ isn't defined.
32211         (_STAT_VER_LINUX_OLD): New.
32212         (st_atime): Remove duplicate.
32213         (st_mtime): Likewise.
32214         (st_ctime): Likewise.
32215
32216 2012-05-31  David S. Miller  <davem@davemloft.net>
32217
32218         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32219         entries.
32220
32221 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
32222
32223         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32224         gen-libm-test.pl.
32225
32226         [BZ #14132]
32227         * elf/dl-reloc.c: Include <_itoa.h>.
32228         (_dl_reloc_bad_type): Remove use of INTUSE.
32229         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32230         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32231         * stdio-common/psiginfo.c (psiginfo): Likewise.
32232         * stdio-common/psignal.c (psignal): Likewise.
32233         * string/strsignal.c (strsignal): Likewise.
32234         * include/signal.h (_sys_siglist): Declare hidden proto.
32235         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
32236         INTVARDEF with libc_hidden_data_def.
32237         * stdio-common/itoa-udigits.c: Likewise.
32238         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32239         (_itoa_lower_digits_internal): Remove declaration.
32240         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32241         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32242         (_sys_sigabbrev_internal): Remove aliases.
32243         (_sys_siglist): Define hidden alias.
32244
32245 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
32246
32247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32248         bits/sysctl.h.
32249
32250 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
32251
32252         [BZ #14117]
32253         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32254         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32255
32256         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32257         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32258         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32259         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32260         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32261         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32262
32263         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32264         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32265         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32266
32267         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32268         with __addr.
32269         (insw): Likewise.
32270         (insl): Likewise.
32271         (outsb): Likewise.
32272         (outsw): Likewise.
32273         (outsl): Likewise.
32274
32275         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32276         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32277         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32278
32279         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32280         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32281         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32282         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32283         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32284         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32285
32286         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32287         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32288
32289         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32290         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32291
32292         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32293         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32294         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32295
32296         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32297         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32298         to ...
32299         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32300
32301         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32302         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32303         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32304
32305         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32306         for x86-64.
32307         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32308
32309 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
32310
32311         * math/math.h (M_El): Use two more decimal places.
32312         (M_LOG2El): Likewise.
32313         (M_LOG10El): Likewise.
32314         (M_LN2l): Likewise.
32315         (M_LN10l): Likewise.
32316         (M_PIl): Likewise.
32317         (M_PI_2l): Likewise.
32318         (M_PI_4l): Likewise.
32319         (M_1_PIl): Likewise.
32320         (M_2_PIl): Likewise.
32321         (M_2_SQRTPIl): Likewise.
32322         (M_SQRT2l): Likewise.
32323         (M_SQRT1_2l): Likewise.
32324
32325 2012-05-31  David S. Miller  <davem@davemloft.net>
32326
32327         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32328         values between float registers.
32329         * sysdeps/sparc/sparc64/memset.S: Likewise.
32330         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32331
32332 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32333
32334         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32335         -D_FORTIFY_SOURCE=1.
32336         (CPPFLAGS-tst-longjmp_chk.c): Define.
32337         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32338         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32339         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32340         CFLAGS-tst-wchar-h.c.
32341
32342 2012-05-31  Marek Polacek  <polacek@redhat.com>
32343
32344         [BZ #14132]
32345         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32346         __endmntent_internal): Remove declaration.
32347         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32348         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32349         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32350
32351 2012-05-30  David S. Miller  <davem@davemloft.net>
32352
32353         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32354         (___Q_simulate_exceptions): Use real FP ops rather than writing
32355         into the %fsr.
32356         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32357         Likewise.
32358
32359 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32360
32361         [BZ #14117]
32362         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32363         * sysdeps/x86/bits/xtitypes.h: This.
32364
32365         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32366         * sysdeps/x86/bits/wordsize.h: This.
32367
32368         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32369         * sysdeps/x86/bits/huge_vall.h: This.
32370
32371         * sysdeps/i386/bits/select.h: Removed.
32372         * sysdeps/x86_64/bits/select.h: Renamed to ...
32373         * sysdeps/x86/bits/select.h: This.
32374
32375         * sysdeps/i386/bits/setjmp.h: Removed.
32376         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32377         * sysdeps/x86/bits/setjmp.h: This.
32378
32379         * sysdeps/i386/bits/mathdef.h: Removed.
32380         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32381         * sysdeps/x86/bits/mathdef.h: This.
32382
32383 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32384
32385         [BZ #14132]
32386         * include/sys/socket.h (__connect_internal)
32387         (__libc_sa_len_internal): Remove declaration.
32388         (__connect, __libc_sa_len): Declare hidden_proto.
32389         (SA_LEN): Remove use of INTUSE.
32390         * socket/connect.c: Add libc_hidden_def.
32391         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32392         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32393         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32394         alias.
32395         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32396         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32397         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32398         of adding _internal alias.
32399
32400 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32401
32402         [BZ #14117]
32403         * sysdeps/i386/bits/link.h: Removed.
32404         * sysdeps/i386/bits/linkmap.h: Likewise.
32405         * sysdeps/x86_64/bits/link.h: Renamed to ...
32406         * sysdeps/x86/bits/link.h: This.
32407         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32408         * sysdeps/x86/bits/linkmap.h: This.
32409
32410         * sysdeps/i386/bits/endian.h: Removed.
32411         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32412         * sysdeps/x86/bits/endian.h: This.
32413
32414         * sysdeps/i386/bits/byteswap.h: Removed.
32415         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32416         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32417         * sysdeps/x86/bits/byteswap.h: This.
32418         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32419         * sysdeps/x86/bits/byteswap-16.h: This.
32420         * sysdeps/i386/Implies: Add x86.
32421         * sysdeps/x86_64/Implies: Likewise.
32422
32423 2012-05-30  David S. Miller  <davem@davemloft.net>
32424
32425         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32426         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32427         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32428         (FP_TRAPPING_EXCEPTIONS): Define.
32429         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32430         (FP_TRAPPING_EXCEPTIONS): Define.
32431         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32432         subnormals only when inexact has been signalled or underflow
32433         exceptions are enabled.
32434         (_FP_PACK_CANONICAL): Likewise.
32435
32436 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32437
32438         [BZ #14183]
32439         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32440         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32441
32442 2012-05-30  Richard Henderson  <rth@twiddle.net>
32443
32444         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32445         with #ifndef NOT_IN_libc.
32446
32447         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32448         marked to avoid plt entry.
32449
32450 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32451
32452         [BZ #14112]
32453         * Makeconfig (default-abi): New macro.
32454         (abi-includes): Likewise.
32455         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32456         $(abi-$(default-abi)-lib-soname) for soname if defined.
32457         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32458         abi-variants.
32459         * Makefile (installed-stubs): Likewise.
32460         * include/stubs-biarch.h: Removed.
32461         * scripts/lib-names.awk: Only handle one library at a time.
32462         * scripts/soversions.awk: Remove WORDSIZE support.
32463         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32464         entries.
32465         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32466         Removed.
32467         (syscall-list-default-condition): Likewise.
32468         (syscall-list-default-condition): Likewise.
32469         (syscall-list-includes): Likewise.
32470         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32471         syscall-list-* with abi-*.  Handle undefined abi-variants.
32472         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32473         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32474         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32475         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32476         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32477         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32478         Removed.
32479         (syscall-list-32-options): Likewise.
32480         (syscall-list-32-condition): Likewise.
32481         (syscall-list-64-options): Likewise.
32482         (syscall-list-64-condition): Likewise.
32483         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32484         macro.
32485         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32486         Renamed to ...
32487         (abi-*): This.
32488         (abi-64-ld-soname): New macro.
32489         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32490         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32491         Renamed to ...
32492         (abi-*): This.
32493         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32494         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32495
32496 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32497
32498         * sysdeps/unix/sysv/linux/kernel-features.h
32499         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32500         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32501         include <kernel-features.h>.
32502         [!__NR_ftruncate64]: Remove conditional code.
32503         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32504         [__NR_ftruncate64]: Make code unconditional.
32505         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32506         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32507         include <kernel-features.h>.
32508         [!__NR_ftruncate64]: Remove conditional code.
32509         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32510         [__NR_ftruncate64]: Make code unconditional.
32511         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32513         include <kernel-features.h>.
32514         [!__NR_ftruncate64]: Remove conditional code.
32515         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32516         [__NR_ftruncate64]: Make code unconditional.
32517         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32519         include <kernel-features.h>.
32520         [!__NR_ftruncate64]: Remove conditional code.
32521         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32522         [__NR_ftruncate64]: Make code unconditional.
32523         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32524
32525         * configure.in (libc_cv_fpie): Weaken to a compile test using
32526         LIBC_TRY_CC_OPTION.
32527         * configure: Regenerated.
32528
32529 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32530
32531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32535         Refreshed.
32536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32542         Refreshed.
32543
32544 2012-05-27  David S. Miller  <davem@davemloft.net>
32545
32546         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32547         (___Q_zero): New.
32548         (__Q_simulate_exceptions): Return void.  Change to simulate
32549         exceptions by writing into the %fsr.
32550         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32551         (__Qp_handle_exceptions): Likewise.
32552         (numbers): Delete.
32553         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32554         __Qp_handle_exceptions.
32555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32556         __Qp_handle_exceptions.
32557         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32558         as unused and give dummy FP_RND_NEAREST initializer.
32559         (FP_INHIBIT_RESULTS): Define.
32560         (___Q_simulate_exceptions): Update declaration.
32561         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32562         formatting.
32563         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32564         as unused and give dummy FP_RND_NEAREST initializer.
32565         (__Qp_handle_exceptions): Update declaration.
32566         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32567         formatting.
32568
32569 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32570
32571         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32572         the temporary FPU control word.
32573         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32574         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32575         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32576         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32577         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32578         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32579         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32580         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32581         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32582         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32583         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32584
32585 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32586
32587         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32588         fields.
32589
32590 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32591
32592         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32593         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32594         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32595         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32596         Likewise.
32597         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32598         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32599         Likewise.
32600
32601 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32602
32603         * po/h.po: Update from translation team.
32604
32605 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32606
32607         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32608
32609         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32610         handling of denormals.
32611         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32612         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32613         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32614         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32615         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32617         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32618         Likewise.
32619
32620 2012-05-26  Marek Polacek  <polacek@redhat.com>
32621
32622         [BZ #14152]
32623         * math/libm-test.inc (fma_test): Don't always expect underflow
32624         exception.
32625
32626 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32627
32628         [BZ #12416]
32629         * elf/tst-execstack.c: Include stackinfo.h.
32630         (do_test): Adjust test case to ensure that pthread_getattr_np
32631         behaviour remains the same after marking stack executable.
32632
32633 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32634
32635         * sysdeps/unix/sysv/linux/kernel-features.h
32636         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32637         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32638         kernel-features.h.
32639         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32640         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32641         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32642         kernel-features.h.
32643         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32644         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32645
32646 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32647
32648         * configure.in: Define the default includes to being none.
32649         * configure: Regenerated.
32650
32651 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32652
32653         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32654         * sysdeps/x86_64/setjmp.S: Likewise.
32655         * sysdeps/i386/bsd-setjmp.S: Likewise.
32656         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32657         * sysdeps/i386/setjmp.S: Likewise.
32658         * sysdeps/i386/__longjmp.S: Likewise.
32659         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32660         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32661
32662         * include/stap-probe.h: New file.
32663         * configure.in: Handle --enable-systemtap.
32664         * configure: Regenerated.
32665         * config.h.in (USE_STAP_PROBE): New #undef.
32666         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32667         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32668         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32669
32670 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32671
32672         [BZ #13717]
32673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32674         to 2.4.0 where earlier.
32675         * sysdeps/unix/sysv/linux/configure: Regenerated.
32676         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32677         <kernel-features.h>.
32678         [__ASSUME_32BITUIDS]: Make code unconditional.
32679         [!__ASSUME_32BITUIDS]: Remove conditional code.
32680         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32681         <kernel-features.h>.
32682         [__ASSUME_32BITUIDS]: Make code unconditional.
32683         [!__ASSUME_32BITUIDS]: Remove conditional code.
32684         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32685         [__ASSUME_32BITUIDS]: Make code unconditional.
32686         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32687         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32688         <kernel-features.h>.
32689         [__ASSUME_32BITUIDS]: Make code unconditional.
32690         [!__ASSUME_32BITUIDS]: Remove conditional code.
32691         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32692         <kernel-features.h>.
32693         [__ASSUME_32BITUIDS]: Make code unconditional.
32694         [!__ASSUME_32BITUIDS]: Remove conditional code.
32695         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32696         <kernel-features.h>.
32697         [__ASSUME_32BITUIDS]: Make code unconditional.
32698         [!__ASSUME_32BITUIDS]: Remove conditional code.
32699         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32700         <kernel-features.h>.
32701         [__ASSUME_32BITUIDS]: Make code unconditional.
32702         [!__ASSUME_32BITUIDS]: Remove conditional code.
32703         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32704         <kernel-features.h>.
32705         [__ASSUME_32BITUIDS]: Make code unconditional.
32706         [!__ASSUME_32BITUIDS]: Remove conditional code.
32707         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32708         <kernel-features.h>.
32709         [__ASSUME_32BITUIDS]: Make code unconditional.
32710         [!__ASSUME_32BITUIDS]: Remove conditional code.
32711         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32712         <kernel-features.h>.
32713         [__ASSUME_32BITUIDS]: Make code unconditional.
32714         [!__ASSUME_32BITUIDS]: Remove conditional code.
32715         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32716         <kernel-features.h>.
32717         [__ASSUME_32BITUIDS]: Make code unconditional.
32718         [!__ASSUME_32BITUIDS]: Remove conditional code.
32719         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32720         <kernel-features.h>.
32721         [__ASSUME_32BITUIDS]: Make code unconditional.
32722         [!__ASSUME_32BITUIDS]: Remove conditional code.
32723         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32724         <kernel-features.h>.
32725         [__ASSUME_32BITUIDS]: Make code unconditional.
32726         [!__ASSUME_32BITUIDS]: Remove conditional code.
32727         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32728         <kernel-features.h>.
32729         [__NR_setresgid] (__setresgid): Do not declare.
32730         [__ASSUME_32BITUIDS]: Make code unconditional.
32731         [!__ASSUME_32BITUIDS]: Remove conditional code.
32732         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32733         <kernel-features.h>.
32734         [__NR_setresuid] (__setresuid): Do not declare.
32735         [__ASSUME_32BITUIDS]: Make code unconditional.
32736         [!__ASSUME_32BITUIDS]: Remove conditional code.
32737         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32738         <kernel-features.h>.
32739         [__ASSUME_32BITUIDS]: Make code unconditional.
32740         [!__ASSUME_32BITUIDS]: Remove conditional code.
32741         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32742         <kernel-features.h>.
32743         [__ASSUME_32BITUIDS]: Make code unconditional.
32744         [!__ASSUME_32BITUIDS]: Remove conditional code.
32745         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32746         <kernel-features.h>.
32747         [__ASSUME_32BITUIDS]: Make code unconditional.
32748         [!__ASSUME_32BITUIDS]: Remove conditional code.
32749         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32750         <kernel-features.h>.
32751         [__ASSUME_32BITUIDS]: Make code unconditional.
32752         [!__ASSUME_32BITUIDS]: Remove conditional code.
32753         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32754         <kernel-features.h>.
32755         [__ASSUME_32BITUIDS]: Make code unconditional.
32756         [!__ASSUME_32BITUIDS]: Remove conditional code.
32757         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32758         <kernel-features.h>.
32759         [__ASSUME_32BITUIDS]: Make code unconditional.
32760         [!__ASSUME_32BITUIDS]: Remove conditional code.
32761         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32762         <kernel-features.h>.
32763         [__ASSUME_32BITUIDS]: Make code unconditional.
32764         [!__ASSUME_32BITUIDS]: Remove conditional code.
32765         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32766         <kernel-features.h>.
32767         [__ASSUME_32BITUIDS]: Make code unconditional.
32768         [!__ASSUME_32BITUIDS]: Remove conditional code.
32769         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32770         <kernel-features.h>.
32771         [__ASSUME_32BITUIDS]: Make code unconditional.
32772         [!__ASSUME_32BITUIDS]: Remove conditional code.
32773         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32774         <kernel-features.h>.
32775         [__ASSUME_32BITUIDS]: Make code unconditional.
32776         [!__ASSUME_32BITUIDS]: Remove conditional code.
32777         * sysdeps/unix/sysv/linux/kernel-features.h
32778         (__ASSUME_SETRESUID_SYSCALL): Remove.
32779         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32780         (__ASSUME_32BITUIDS): Likewise.
32781         (__ASSUME_LDT_WORKS): Likewise.
32782         (__ASSUME_O_DIRECTORY): Likewise.
32783         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32784         architecture but not kernel version.
32785         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32786         (__ASSUME_MMAP2_SYSCALL): Likewise.
32787         (__ASSUME_STAT64_SYSCALL): Likewise.
32788         (__ASSUME_IPC64): Likewise.
32789         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32790         <kernel-features.h>.
32791         [__ASSUME_32BITUIDS]: Make code unconditional.
32792         [!__ASSUME_32BITUIDS]: Remove conditional code.
32793         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32794         <kernel-features.h>.
32795         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32796         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32797         132096]: Remove conditional code.
32798         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32799         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32800         <kernel-features.h>.
32801         [__ASSUME_32BITUIDS]: Make code unconditional.
32802         [!__ASSUME_32BITUIDS]: Remove conditional code.
32803         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32804         <kernel-features.h>.
32805         [__ASSUME_32BITUIDS]: Make code unconditional.
32806         [!__ASSUME_32BITUIDS]: Remove conditional code.
32807         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32808         <kernel-features.h>.
32809         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32810         unconditional.
32811         (__setresgid): Do not declare.
32812         [__ASSUME_32BITUIDS]: Make code unconditional.
32813         [!__ASSUME_32BITUIDS]: Remove conditional code.
32814         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32815         <kernel-features.h>.
32816         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32817         unconditional.
32818         (__setresuid): Do not declare.
32819         [__ASSUME_32BITUIDS]: Make code unconditional.
32820         [!__ASSUME_32BITUIDS]: Remove conditional code.
32821         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32822         <kernel-features.h>.
32823         [__ASSUME_32BITUIDS]: Make code unconditional.
32824         [!__ASSUME_32BITUIDS]: Remove conditional code.
32825         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32826         <kernel-features.h>.
32827         [__ASSUME_32BITUIDS]: Make code unconditional.
32828         [!__ASSUME_32BITUIDS]: Remove conditional code.
32829
32830 2012-05-25  Richard Henderson  <rth@twiddle.net>
32831
32832         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32833         dl_hwcap to ifunc resolver.
32834         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32835         elf_ifunc_invoke.
32836         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32837         dl_hwcap to ifunc resolver.
32838         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32839
32840 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32841
32842         [BZ #14153]
32843         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32844         for |x| <= 2**-26, not 2**-57.
32845         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32846         exception.
32847
32848 2012-05-24  Jeff Law  <law@redhat.com>
32849
32850         * stdio-common/Makefile (tests): Add bug25.
32851         * stdio-common/bug25.c: New test.
32852
32853 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32854
32855         [BZ #13576]
32856         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32857         multiple of MALLOC_ALIGNMENT in size.
32858         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32859
32860 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32861
32862         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32863         Require >= 256.
32864         (FILENAME_MAX): Use macro-int-constant.
32865         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32866         (_IOFBF): Use macro-int-constant.
32867         (_IOLBF): Likewise.
32868         (_IONBF): Likewise.
32869         (SEEK_CUR): Likewise.
32870         (SEEK_END): Likewise.
32871         (SEEK_SET): Likewise.
32872         (TMP_MAX): Likewise.
32873         (EOF): Use macro-int-constant.  Require < 0.
32874         (NULL): Use macro-constant.  Require == 0.
32875         (stdin): Require type to be FILE *.
32876         (stdout): Likewise.
32877         (stderr): Likewise.
32878         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32879         macro-int-constant.
32880         (EXIT_SUCCESS): Likewise.
32881         (NULL): Use macro-constant.  Require == 0.
32882         (RAND_MAX): Use macro-int-constant.
32883         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32884         [C99-based standards] (strtof): Require function.
32885         [C99-based standards] (strtold): Likewise.
32886         [C99-based standards] (strtoll): Likewise.
32887         [C99-based standards] (strtoull): Likewise.
32888         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32889         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32890         [ISO || ISO99 || ISO11] (math.h): Likewise.
32891         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32892         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32894
32895 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32896
32897         [BZ #14132]
32898         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32899         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32900         * intl/dgettext.c (DCGETTEXT): Likewise.
32901         * intl/gettext.c (DCGETTEXT): Likewise.
32902         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32903         * posix/regex_internal.h (gettext): Likewise.
32904         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32905         Remove declaration.
32906         * include/argz.h (__argz_count_internal)
32907         (__argz_stringify_internal): Remove declaration.
32908         (__argz_count, __argz_stringify): Declare hidden proto.
32909         * intl/dcgettext.c: Remove use of INTDEF.
32910         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32911         * string/argz-stringify.c: Likewise.
32912         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32913         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32914         Declare hidden proto.
32915         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32916         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32917         Declare hidden proto.
32918         * include/stdio.h (__asprintf_internal): Don't declare.
32919         (__asprintf): Don't define as macro.  Declare hidden proto.
32920         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32921         (__fsetlocking): Declare hidden proto.
32922         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32923         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32924         hidden proto.
32925         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32926         (_IO_setlinebuf): Remove use of INTUSE.
32927         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32928         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32929         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32930         Remove declaration.
32931         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32932         (_IO_do_flush): Remove use of INTUSE.
32933         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32934         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32935         (_IO_adjust_column, _IO_least_wmarker)
32936         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32937         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32938         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32939         (_IO_default_doallocate, _IO_wdefault_doallocate)
32940         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32941         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32942         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32943         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32944         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32945         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32946         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32947         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32948         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32949         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32950         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32951         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32952         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32953         proto.
32954         (_IO_flush_all_internal, _IO_adjust_column_internal)
32955         (_IO_default_uflow_internal, _IO_default_finish_internal)
32956         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32957         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32958         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32959         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32960         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32961         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32962         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32963         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32964         (_IO_file_close_internal, _IO_file_close_it_internal)
32965         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32966         (_IO_file_init_internal, _IO_file_attach_internal)
32967         (_IO_file_fopen_internal, _IO_file_read_internal)
32968         (_IO_file_sync_internal, _IO_file_seek_internal)
32969         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32970         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32971         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32972         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32973         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32974         (_IO_list_all_internal, _IO_link_in_internal)
32975         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32976         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32977         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32978         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32979         (_IO_do_write_internal, _IO_padn_internal)
32980         (_IO_getline_info_internal, _IO_getline_internal)
32981         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32982         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32983         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32984         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32985         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32986         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32987         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32988         with libc_hidden_ver, remove use of INTUSE.
32989         * libio/genops.c: Likewise.
32990         * libio/freopen.c: Likewise.
32991         * libio/freopen64.c: Likewise.
32992         * libio/iofclose.c: Likewise.
32993         * libio/iofdopen.c: Likewise.
32994         * libio/iofflush.c: Likewise.
32995         * libio/iofflush_u.c: Likewise.
32996         * libio/iofgets.c: Likewise.
32997         * libio/iofgets_u.c: Likewise.
32998         * libio/iofopen.c: Likewise.
32999         * libio/iofopncook.c: Likewise.
33000         * libio/iofread.c: Likewise.
33001         * libio/iofread_u.c: Likewise.
33002         * libio/ioftell.c: Likewise.
33003         * libio/iofwrite.c: Likewise.
33004         * libio/iogetline.c: Likewise.
33005         * libio/iogets.c: Likewise.
33006         * libio/iogetwline.c: Likewise.
33007         * libio/iopadn.c: Likewise.
33008         * libio/iopopen.c: Likewise.
33009         * libio/ioseekoff.c: Likewise.
33010         * libio/ioseekpos.c: Likewise.
33011         * libio/iosetbuffer.c: Likewise.
33012         * libio/iosetvbuf.c: Likewise.
33013         * libio/ioungetc.c: Likewise.
33014         * libio/ioungetwc.c: Likewise.
33015         * libio/iovdprintf.c: Likewise.
33016         * libio/iovsprintf.c: Likewise.
33017         * libio/iovsscanf.c: Likewise.
33018         * libio/memstream.c: Likewise.
33019         * libio/obprintf.c: Likewise.
33020         * libio/oldfileops.c: Likewise.
33021         * libio/oldiofclose.c: Likewise.
33022         * libio/oldiofdopen.c: Likewise.
33023         * libio/oldiofopen.c: Likewise.
33024         * libio/oldiopopen.c: Likewise.
33025         * libio/oldstdfiles.c: Likewise.
33026         * libio/putc.c: Likewise.
33027         * libio/setbuf.c: Likewise.
33028         * libio/setlinebuf.c: Likewise.
33029         * libio/stdfiles.c: Likewise.
33030         * libio/strops.c: Likewise.
33031         * libio/vasprintf.c: Likewise.
33032         * libio/vscanf.c: Likewise.
33033         * libio/vsnprintf.c: Likewise.
33034         * libio/vswprintf.c: Likewise.
33035         * libio/wfiledoalloc.c: Likewise.
33036         * libio/wfileops.c: Likewise.
33037         * libio/wgenops.c: Likewise.
33038         * libio/wmemstream.c: Likewise.
33039         * libio/wstrops.c: Likewise.
33040         * libio/__fpurge.c: Likewise.
33041         * libio/__fsetlocking.c: Likewise.
33042         * assert/assert.c: Likewise.
33043         * debug/fgets_chk.c: Likewise.
33044         * debug/fgets_u_chk.c: Likewise.
33045         * debug/fread_chk.c: Likewise.
33046         * debug/fread_u_chk.c: Likewise.
33047         * debug/gets_chk.c: Likewise.
33048         * debug/obprintf_chk.c: Likewise.
33049         * debug/vasprintf_chk.c: Likewise.
33050         * debug/vdprintf_chk.c: Likewise.
33051         * debug/vsnprintf_chk.c: Likewise.
33052         * debug/vsprintf_chk.c: Likewise.
33053         * malloc/mtrace.c: Likewise.
33054         * misc/error.c: Likewise.
33055         * misc/syslog.c: Likewise.
33056         * stdio-common/asprintf.c: Likewise.
33057         * stdio-common/fxprintf.c: Likewise.
33058         * stdio-common/getw.c: Likewise.
33059         * stdio-common/isoc99_fscanf.c: Likewise.
33060         * stdio-common/isoc99_scanf.c: Likewise.
33061         * stdio-common/isoc99_vfscanf.c: Likewise.
33062         * stdio-common/isoc99_vscanf.c: Likewise.
33063         * stdio-common/isoc99_vsscanf.c: Likewise.
33064         * stdio-common/printf-prs.c: Likewise.
33065         * stdio-common/printf_fp.c: Likewise.
33066         * stdio-common/printf_fphex.c: Likewise.
33067         * stdio-common/printf_size.c: Likewise.
33068         * stdio-common/putw.c: Likewise.
33069         * stdio-common/scanf.c: Likewise.
33070         * stdio-common/sprintf.c: Likewise.
33071         * stdio-common/tmpfile.c: Likewise.
33072         * stdio-common/vfprintf.c: Likewise.
33073         * stdio-common/vfscanf.c: Likewise.
33074         * stdlib/strfmon_l.c: Likewise.
33075         * sunrpc/openchild.c: Likewise.
33076         * sunrpc/xdr_stdio.c: Likewise.
33077         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33078         * sysdeps/mach/hurd/tmpfile.c: Likewise.
33079
33080 2012-05-24  Roland McGrath  <roland@hack.frob.com>
33081
33082         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33083
33084         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33085         in the third column, to generate for the shared library an IFUNC
33086         that uses _dl_vdso_vsym.
33087         * Makerules (COMPILE.c, compile-stdin.c): New variables.
33088         * Makeconfig (object-suffixes-noshared): New variable.
33089
33090         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33091         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33092         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33093         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33094
33095         [BZ #14132]
33096         * include/sys/time.h (__gettimeofday): Remove macro.
33097         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33098         * time/gettimeofday.c (__gettimeofday): Remove #undef.
33099         Remove INTDEF.
33100         (__gettimeofday): Add libc_hidden_def.
33101         (gettimeofday): Add libc_hidden_weak.
33102         * sysdeps/mach/gettimeofday.c: Likewise.
33103         * sysdeps/posix/gettimeofday.c: Likewise.
33104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33105         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33106         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33107         (__gettimeofday_internal): Remove strong_alias.
33108         (__gettimeofday): Add libc_hidden_def.
33109         (gettimeofday): Add libc_hidden_weak.
33110         * sysdeps/unix/syscalls.list (gettimeofday):
33111         Remove __gettimeofday_internal alias.
33112
33113 2012-05-24  Daniel Jacobowitz  <drow@false.org>
33114             H.J. Lu  <hongjiu.lu@intel.com>
33115
33116         [BZ #12495]
33117         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33118         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33119         (largebin_index_32_big): New.
33120         (largebin_index): Use it for 16-byte alignment.
33121         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
33122         correction with front_misalign.
33123
33124 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
33125
33126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33128         Likewise.
33129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33130         Likewise.
33131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33132         Likewise.
33133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33134         Likewise.
33135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33136         Likewise.
33137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33138         Likewise.
33139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33140         Likewise.
33141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33142         Likewise.
33143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33144         Likewise.
33145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33146         Likewise.
33147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33148         Likewise.
33149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33150         Likewise.
33151
33152         * scripts/data/c++-types-x32-linux-gnu.data: New file.
33153         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33154
33155 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
33156
33157         [BZ #10846]
33158         [BZ #14036]
33159         * math/libm-test.inc (exp_test): Add test from bug 14036.
33160         (pow_test): Add test from bug 10846.
33161
33162         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33163         and other flags.
33164         (special_function): Do not include flags in test name.
33165         (parse_args): Likewise.
33166         * sysdeps/i386/fpu/libm-test-ulps: Update.
33167         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33168         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33169         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33171
33172         * math/gen-libm-test.pl (%beautify): Add entries for underflow
33173         exceptions.
33174         * math/libm-test.inc ("Philosophy"): Update comment about
33175         exception testing.
33176         (UNDERFLOW_EXCEPTION): New macro.
33177         (UNDERFLOW_EXCEPTION_OK): Likewise.
33178         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33179         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33180         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33181         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33182         (INVALID_EXCEPTION_OK): Update value.
33183         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33184         (OVERFLOW_EXCEPTION_OK): Likewise.
33185         (IGNORE_ZERO_INF_SIGN): Likewise.
33186         (test_exceptions): Handle underflow exceptions.
33187         (acos_test): Update for underflow exception expectations.
33188         (cexp_test): Likewise.
33189         (clog_test): Likewise.
33190         (clog10_test): Likewise.
33191         (csqrt_test): Likewise.
33192         (ctan_test): Likewise.
33193         (ctanh_test): Likewise.
33194         (exp_test): Likewise.
33195         (exp10_test): Likewise.
33196         (exp2_test): Likewise.
33197         (expm1_test): Likewise.
33198         (fma_test): Likewise.
33199         (j0_test): Likewise.
33200         (jn_test): Likewise.
33201         (nexttoward_test): Likewise.
33202         (pow_test): Likewise.
33203         (scalbn_test): Likewise.
33204         (scalbln_test): Likewise.
33205         (tan_test): Likewise.
33206         (y1_test): Likewise.
33207         * sysdeps/i386/fpu/libm-test-ulps: Update.
33208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33209
33210 2012-05-23  David S. Miller  <davem@davemloft.net>
33211
33212         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33213         (__libc_sigaction): Remove unused local variables.
33214
33215 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33216
33217         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33218
33219 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
33220
33221         mktime: avoid signed integer overflow
33222         * time/mktime.c (__mktime_internal): Do not mishandle the case
33223         where diff == INT_MIN.
33224
33225         mktime: simplify computation of average
33226         * time/mktime.c (ranged_convert): Use new time_t_avg function
33227         instead of rolling our own (probably-slower) code.
33228
33229         mktime: do not assume signed right shift propagates sign bit
33230         * time/mktime.c (isdst_differ): New static function.
33231         (__mktime_internal): No need to normalize tm_isdst now.
33232         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33233         tm_isdst values.
33234
33235         mktime: merge another wrapv change from gnulib
33236         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33237         from some compilers.
33238
33239         mktime: remove incorrect attempt at unusual arithmetics
33240         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33241         The code didn't really work on such machines anyway.
33242         (TYPE_MINIMUM): Assume two's complement.
33243         (twos_complement_arithmetic): Verify that long_int and time_t
33244         are two's complement (or unsigned, in the latter case).
33245
33246         mktime: check signed shifts on long_int and time_t, too
33247         * time/mktime.c (SHR): Check that shifts work as desired
33248         on the types long_int and time_t too, as SHR is used on
33249         such types.
33250
33251         mktime: do not assume 'long' is wide enough
33252         * time/mktime.c (verify): Move decl up.
33253         (long_int): New type.
33254         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33255         to remove assumption in the code that 'long' is wide enough to
33256         store year values.  This assumption is not true on x32 and on
33257         some non-glibc platforms.
33258
33259         mktime: merge wrapv change from gnulib
33260         * time/mktime.c (WRAPV): New macro.
33261         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33262         (guess_time_tm, __mktime_internal): Do not assume that signed
33263         integer overflow wraps around; modern compilers generate code
33264         where this assumption is no longer valid.
33265
33266 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33267
33268         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33269         Replace "jmp L(pseudo_end)" with "ret".
33270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33271         Likewise.
33272
33273 2012-05-23  Andreas Jaeger  <aj@suse.de>
33274
33275         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33276         * sysdeps/unix/sysv/linux/poll.c: Remove file.
33277
33278 2012-05-23  Andreas Jaeger  <aj@suse.de>
33279             Maximilian Attems  <max@stro.at>
33280
33281         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33282         New macros.
33283
33284 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
33285
33286         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33287         code so that pseudo_end is just ret and the stack pointer is
33288         correct also for static library in error case.
33289
33290 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
33291
33292         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33293         move to syscalls.list.
33294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33298
33299         * manual/install.texi (Running make install): Do not mention Linux
33300         kernel version for which pt_chown is not needed.
33301         (Linux): Do not mention problems with nscd with 2.0 kernels.
33302         * INSTALL: Regenerated.
33303
33304 2012-05-23  Andreas Jaeger  <aj@suse.de>
33305
33306         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33307         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33308         macro.
33309         * sysdeps/unix/sysv/linux/s390/bits/mman.h
33310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33311         * sysdeps/unix/sysv/linux/sh/bits/mman.h
33312         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33313         * sysdeps/unix/sysv/linux/i386/bits/mman.h
33314         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33315         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33316         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33317         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33318         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33319         * sysdeps/unix/sysv/linux/bits/in.h
33320         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33321
33322 2012-05-22  Roland McGrath  <roland@hack.frob.com>
33323
33324         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33325         (PREPARE_VERSION): Just use assert instead, it will be elided
33326         under [NDEBUG] anyway.
33327
33328 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33329
33330         * sysdeps/unix/sysv/linux/Makefile: Include
33331         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33332         (sysdep_routines): Remove sysctl.
33333         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33334         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33335         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33336         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33337         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33338
33339 2012-05-22  Andreas Jaeger  <aj@suse.de>
33340
33341         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33342         that pseudo_end is just ret and the stack pointer is correct also
33343         for static library in error case.
33344
33345 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33346
33347         [BZ #14122]
33348         * nss/nsswitch.c (defconfig_entries): New variable.
33349         (__nss_database_lookup): Don't leak defconfig entries.
33350         (nss_parse_service_list): Don't leak on error paths.
33351         (free_database_entries): New function.
33352         (free_defconfig): New function.
33353         (free_mem): Move common code to free_database_entries.
33354
33355 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33356
33357         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33358         Add arch_prctl.
33359         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33360
33361         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33362         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33364         New macro.
33365         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33366         (INTERNAL_SYSCALL_TYPES): Likewise.
33367         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33368         (LOAD_REGS_TYPES_[1-6]): Likewise.
33369         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33370         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33371
33372 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33373
33374         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33375         copysignl for GLIBC_2_0.
33376         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33377         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33378         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33379         logbl for GLIBC_2_0.
33380         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33381         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33382
33383 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33384
33385         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33386         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33387
33388         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33389         Use "neg %eax".
33390
33391         * time/mktime.c: Update copyright years.
33392
33393 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33394
33395         mktime: merge comment-quoting-style change from gnulib
33396         * time/mktime.c: Quote 'like this' in comments.
33397         The GNU coding standards suggest that we no longer quote `like this',
33398         as "`" and "'" are typically rendered asymmetrically nowadays.
33399         The typical gnulib style is to quote 'like this' when quoting
33400         code, and "like this" when quoting English.
33401
33402         * time/mktime.c (compile-command): Add "-I.".
33403
33404         mktime: merge mktime-internal.h change from gnulib
33405         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33406
33407         mktime: merge time_r change from gnulib
33408         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33409
33410         mktime: merge DEBUG change from gnulib
33411         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33412         case system <time.h> has a #define.
33413
33414         mktime: merge <sys/types.h> change from gnulib
33415         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33416         since <time.t> is now guaranteed to define time_t.
33417
33418         mktime: merge HAVE_CONFIG_H change from gnulib
33419         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33420
33421 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33422
33423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33424         Use "neg %eax".
33425
33426         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33427         __rlim_t cast.
33428         (struct rusage): Use anonymous union to pad each field to
33429         __syscall_slong_t.
33430
33431 2012-05-21  David S. Miller  <davem@davemloft.net>
33432
33433         * Makefules (o-iterator): Remove .s cases.
33434         (compile-command.s): Delete.
33435         (COMPILE.s): Delete.
33436         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33437
33438 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33439
33440         * configure.in (libc_cv_predef_stack_protector): Only consider
33441         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33442         * configure: Regenerated.
33443
33444 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33445
33446         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33447         New macro.  Use R*LP on int and pointer.
33448         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33449         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33450         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33451         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33452
33453         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33454         [__WORDSIZE_TIME64_COMPAT32] instead of
33455         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33456         (struct utmp): Likewise.
33457         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33458         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33459         Renamed to ...
33460         (__WORDSIZE_TIME64_COMPAT32): This.
33461         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33462         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33463         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33464         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33465         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33466         (__WORDSIZE_TIME64_COMPAT32): New macro.
33467
33468 2012-05-21  Andreas Jaeger  <aj@suse.de>
33469
33470         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33471         only if [SHARED]. Add prototype for __wcschr_ia32.
33472
33473 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33474
33475         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33476         of %rbp unmolested in the jmp_buf while mangling the low bits.
33477         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33478         unmolested high bits of %rbp while demangling the low bits.
33479         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33480
33481 2012-05-21  Andreas Jaeger  <aj@suse.de>
33482
33483         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33484         * sunrpc/svc_simple.c: Use it for registerrpc.
33485         * sunrpc/xcrypt.c: Use it for passwd2des.
33486
33487         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33488
33489 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33490
33491         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33492         Don't define if [__SYSCALL_WORDSIZE != 32].
33493         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33494         New macro.
33495
33496 2012-05-21  Bruno Haible  <bruno@clisp.org>
33497             Andreas Jaeger  <aj@suse.de>
33498
33499         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33500         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33501         inptr and inend for must_buffer_ch.
33502         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33503         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33504         * stdio-common/Makefile (tests): Remove bug15.
33505         (bug15-ENV): Remove macro.
33506         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33507         anymore.
33508
33509 2012-05-19  Andreas Jaeger  <aj@suse.de>
33510             Roland McGrath  <roland@hack.frob.com>
33511
33512         * manual/contrib.texi: Completely rewritten. It contains now an
33513         alphabetical list of contributors and their contributions.
33514
33515 2012-05-21  Richard Henderson  <rth@twiddle.net>
33516
33517         * misc/getauxval.c (__getauxval): Use unsigned long int.
33518         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33519         (getauxval): Use unsigned long int.
33520
33521 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33522
33523         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33524
33525 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33526
33527         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33528         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33529         __alignof__ (long double).
33530
33531 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33532
33533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33534
33535 2012-05-20  Richard Henderson  <rth@twiddle.net>
33536
33537         * misc/getauxval.c: New file.
33538         * misc/sys/auxv.h: New file.
33539         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33540         (routines): Add getauxval.
33541         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33542         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33543         * elf/dl-sysdep.c (_dl_auxv): Remove.
33544         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33545         * elf/dl-support.c (_dl_auxv): New variable.
33546         (_dl_aux_init): Initialize it.
33547         * manual/startup.texi (Auxiliary Vector): New node.
33548         * sysdeps/generic/bits/hwcap.h: New file.
33549         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33550         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33551         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33552         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33553         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33554         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33556         Update.
33557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33560         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33565
33566 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33567
33568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33569
33570 2012-05-19  David S. Miller  <davem@davemloft.net>
33571
33572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33573
33574 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33575
33576         [BZ #14123]
33577         * math/s_ccosh.c: Include <float.h>
33578         (__ccosh): Avoid internal overflow calculating sinh and cosh
33579         values before multiplying by sin and cos values.
33580         * math/s_ccoshf.c: Likewise.
33581         * math/s_ccoshl.c: Likewise.
33582         * math/s_csin.c: Likewise.
33583         * math/s_csinf.c: Likewise.
33584         * math/s_csinl.c: Likewise.
33585         * math/s_csinh.c: Likewise.
33586         * math/s_csinhf.c: Likewise.
33587         * math/s_csinhl.c: Likewise.
33588         * math/libm-test.inc (ccos_test): Add more tests.
33589         (ccosh_test): Likewise.
33590         (csin_test): Likewise.
33591         (csinh_test): Likewise.
33592         * sysdeps/i386/fpu/libm-test-ulps: Update.
33593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33594
33595 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33596
33597         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33598         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33599
33600         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33601
33602 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33603
33604         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33605         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33606         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33607         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33608         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33609         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33610         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33611         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33612         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33613         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33614         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33615         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33616         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33617         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33618         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33619         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33620         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33621         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33622         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33623         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33624         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33625         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33626         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33627         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33628         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33629         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33630         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33631         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33632         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33633         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33634         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33635
33636 2012-05-18  Andreas Jaeger  <aj@suse.de>
33637
33638         * csu/.gitignore: Delete.
33639
33640 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33641
33642         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33643         (timex): Use __syscall_slong_t.
33644
33645 2012-05-18  Andreas Jaeger  <aj@suse.de>
33646             Carlos O'Donell  <carlos_odonell@mentor.com>
33647
33648         * manual/install.texi (Configuring and compiling): Update
33649         description about files modified in the source directory.
33650         * INSTALL: Regenerated.
33651
33652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33653
33654         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33655         value.  Use "or" to set return value to -1.
33656         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33657         negate return value.
33658
33659 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33660
33661         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33662         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33663         failure if the compiler has Graphite support disabled.
33664         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33665         Likewise.
33666         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33667         (CFLAGS-memmove.c): Likewise.
33668         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33669         Likewise.
33670
33671 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33672
33673         * sysdeps/x86_64/x32/_itoa.h: New file.
33674
33675         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33676         getdents system call only if kernel and user dirents have the
33677         same d_ino and d_off.
33678
33679         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33680         LLONG_MAX != LONG_MAX.
33681         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33682         (_fitoa_word): Likewise.
33683
33684         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33685         years.
33686         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33687         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33688         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33689
33690         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33691         include <bits/wordsize.h>.  Check __x86_64__ instead of
33692         __WORDSIZE.
33693         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33694         if __x86_64__ is defined.  Use anonymous union on fpstate.
33695
33696         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33697         anonymous union.
33698
33699 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33700
33701         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33702         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33703         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33704         Refer to _rtld_local_ro instead of _rtld_global_ro.
33705         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33706         Likewise.
33707         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33708         Likewise.
33709         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33710         Likewise.
33711         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33712         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33713         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33714
33715         * sysdeps/powerpc/powerpc32/dl-machine.c
33716         (__elf_machine_runtime_setup) [PROF]: Don't reference
33717         _dl_prof_resolve.
33718
33719 2012-05-18  Andreas Jaeger  <aj@suse.de>
33720
33721         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33722         function only available for GCCs before 3.4 since GCC 3.4
33723         introduced a builtin.
33724         (lrint): Likewise.
33725         (llrintf): Likewise.
33726         (llrint): Likewise.
33727         (fmaxf): Likewise.
33728         (fmax): Likewise.
33729         (fminf): Likewise.
33730         (fmin): Likewise.
33731         (rint): Likewise.
33732         (rintf): Likewise.
33733         (nearbyint): Likewise.
33734         (nearbyintf): Likewise.
33735         (ceil): Likewise.
33736         (ceilf): Likewise.
33737         (floor): Likewise.
33738         (floorf): Likewise.
33739
33740 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33741
33742         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33743         on both fields and cast pointer to __syscall_ulong_t.
33744
33745         * bits/types.h (__fsword_t): New type.
33746         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33747         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33748         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33749         (__FSWORD_T_TYPE): Likewise.
33750         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33751         (__FSWORD_T_TYPE): Likewise.
33752         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33753         (__FSWORD_T_TYPE): Likewise.
33754         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33755         (__FSWORD_T_TYPE): Likewise.
33756         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33757         __SWORD_TYPE with __fsword_t.
33758         (statfs64): Likewise.
33759
33760 2012-05-17  David S. Miller  <davem@davemloft.net>
33761
33762         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33763
33764 2012-05-17  Andreas Jaeger  <aj@suse.de>
33765
33766         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33767         warning.
33768
33769 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33770
33771         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33772
33773 2012-05-17  Andreas Jaeger  <aj@suse.de>
33774
33775         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33776         when it is used.
33777
33778 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33779
33780         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33781
33782 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33783
33784         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33785         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33786
33787 2012-05-17  Andreas Jaeger  <aj@suse.de>
33788             Carlos O'Donell  <carlos_odonell@mentor.com>
33789
33790         [BZ #14059]
33791         * sysdeps/x86_64/multiarch/init-arch.h
33792         (bit_YMM_Usable): Rename to...
33793         (bit_AVX_Usable): ... this.
33794         (bit_FMA4_Usable): New macro.
33795         (bit_XMM_state): New macro.
33796         (bit_YMM_state): New macro.
33797         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33798         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33799         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33800         (CPUID_OSXSAVE): New macro.
33801         (CPUID_AVX): New macro.
33802         (CPUID_FMA4): New macro.
33803         (index_YMM_Usable): Rename to...
33804         (index_AVX_Usable): ... this.
33805         (HAS_AVX): Use HAS_ARCH_FEATURE.
33806         (HAS_FMA4): Likewise.
33807         (HAS_YMM_USABLE): Remove.
33808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33809         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33810         are present.
33811         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33812         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33813         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33814         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33815         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33816
33817 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33818
33819         * math/libm-test.c: Support platforms without multiple rounding modes.
33820         * math/bug-nextafter.c: Support platforms without FP exceptions.
33821         * math/bug-nexttoward.c: Likewise.
33822         * math/test-fenv.c: Likewise.
33823         * math/test-misc.c: Likewise.
33824         * stdlib/bug-getcontext.c: Likewise.
33825
33826 2012-05-17  Andreas Jaeger  <aj@suse.de>
33827
33828         * manual/examples/search.c (critter_cmp): Change signature to
33829         avoid warnings.
33830         * manual/string.texi (Collation Functions): Likewise.
33831
33832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33833
33834         * bits/types.h: Fold copyright years.
33835         * bits/typesizes.h: Likewise.
33836         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33837         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33838         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33839         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33840         * time/time.h: Likewise.
33841
33842 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33843
33844         [BZ #208]
33845         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33846         in instead of returning them.  Return void.
33847         (__libc_mallinfo): Accumulate over all arenas.
33848         (__malloc_stats): Adjust for change in int_mallinfo interface.
33849
33850 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33851
33852         [BZ #10375]
33853         * configure.in (NM): Add AC_CHECK_TOOL for it.
33854         (libc_extra_cflags): New substituted variable.
33855         Check for -fstack-protector being used implicitly.
33856         * configure: Regenerated.
33857         * config.make.in (config-extra-cflags): New variable,
33858         gets @libc_extra_cflags@.
33859         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33860
33861         [BZ #10375]
33862         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33863         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33864         * configure: Regenerated.
33865         * config.make.in (CPPUNDEFS): New substituted variable.
33866         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33867         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33868         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33869
33870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33871
33872         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33873         (mq_attr): Use __syscall_slong_t.
33874
33875 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33876
33877         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33878         Check __x86_64__ instead of __WORDSIZE.
33879         (_STAT_VER_LINUX): Likewise.
33880         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33881         __syscall_ulong_t and __syscall_slong_t.
33882         (stat64): Likewise.
33883
33884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33885
33886         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33887
33888 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33889
33890         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33891
33892 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33893
33894         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33895         __syscall_ulong_t.
33896
33897         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33898         include <bits/wordsize.h>.  Check __x86_64__ instead of
33899         __WORDSIZE.
33900         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33901         defined.
33902         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33903
33904         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33905         include <bits/wordsize.h>.  Check __x86_64__ instead of
33906         __WORDSIZE.
33907         (user_regs_struct): Use "__extension__ unsigned long long"
33908         instead of "unsigned long" if __x86_64__ is defined.
33909         (user): Likewise.  Pad after pointer field if __ILP32__ is
33910         defined.
33911
33912 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33913
33914         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33915         versions 5 to 9.
33916         * configure: Regenerated.
33917         * manual/install.texi (texinfo): Increase version requirement to
33918         4.5 or later.
33919         * INSTALL: Regenerated.
33920
33921         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33922
33923 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33924
33925         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33926
33927         * sysdeps/x86_64/x32/ffs.c: New file.
33928
33929         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33930         __syscall_ulong_t.
33931         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33932         defined.  Use __syscall_ulong_t.
33933         (shminfo): Use __syscall_ulong_t.
33934         (shm_info): Likewise.
33935
33936         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33937         __syscall_ulong_t.
33938
33939         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33940         <bits/wordsize.h>.
33941         (msgqnum_t): Use __syscall_ulong_t.
33942         (msglen_t): Likewise.
33943         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33944         __syscall_ulong_t.
33945
33946         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33947         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33948
33949         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33950
33951         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33952         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33953
33954         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33955         __syscall_slong_t.
33956
33957         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33958         include <bits/wordsize.h>.  Check __x86_64__ instead of
33959         __WORDSIZE.
33960
33961         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33962         "unsigned long long int" if __x86_64__ is defined.
33963         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33964
33965         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33966         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33967         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33968
33969         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33970         <stdint.h>.
33971         (GET_PC): Cast to uintptr_t first.
33972         (GET_FRAME): Likewise.
33973         (GET_STACK): Likewise.
33974
33975         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33976         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33977         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33978         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33979         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33980         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33981         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33982         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33983         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33984         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33985         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33986         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33987         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33988         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33989         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33991         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33992         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33993         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33994         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33995         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33996         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33997         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33998         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33999         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34000         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34001         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34002         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34003         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34004
34005 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
34006
34007         * Makerules (+depfiles): Also collect depfiles from .oS in
34008         $(extra-objs).
34009         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34010         .oS, $(libnldbl-routines)).
34011
34012         * Makerules (native-compile-mkdep-flags): Define.
34013         * sunrpc/Makefile (extra-objs): Add $(addprefix
34014         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34015         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34016         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
34017         calling $(make-target-directory).
34018
34019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34020
34021         * bits/types.h (__snseconds_t): Removed.
34022         * time/time.h (struct timespec): Replace __snseconds_t with
34023         __syscall_slong_t.
34024         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34025         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34026         Likewise.
34027         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34028         (__SNSECONDS_T_TYPE): Likewise.
34029         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34030         (__SNSECONDS_T_TYPE): Likewise.
34031         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34032         (__SNSECONDS_T_TYPE): Likewise.
34033
34034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34035
34036         * sysdeps/mach/hurd/bits/typesizes.h
34037         (__SYSCALL_SLONG_TYPE): New macro.
34038         (__SYSCALL_ULONG_TYPE): Likewise.
34039
34040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34041
34042         * bits/types.h (__syscall_slong_t): New type.
34043         (__syscall_ulong_t): Likewise.
34044
34045         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34046         (__SYSCALL_ULONG_TYPE): Likewise.
34047         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34048         (__SYSCALL_SLONG_TYPE): Likewise.
34049         (__SYSCALL_ULONG_TYPE): Likewise.
34050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34051         (__SYSCALL_SLONG_TYPE): Likewise.
34052         (__SYSCALL_ULONG_TYPE): Likewise.
34053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34054         (__SYSCALL_SLONG_TYPE): Likewise.
34055         (__SYSCALL_ULONG_TYPE): Likewise.
34056
34057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34058
34059         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34060         Add sigaltstack-offsets.sym.
34061         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34062         <sigaltstack-offsets.h>.
34063         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
34064         longjmp_msg pointer.
34065         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
34066         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34067         signal stack.
34068         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34069
34070 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34071
34072         * elf/stackguard-macros.h: Remove file.
34073         * sysdeps/generic/stackguard-macros.h: New file.
34074         * sysdeps/i386/stackguard-macros.h: Likewise.
34075         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34076         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34077         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34078         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34079         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34080         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34081         * sysdeps/x86_64/stackguard-macros.h: Likewise.
34082         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34083         <elf/stackguard-macros.h>.
34084
34085         [BZ #14109]
34086         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34087         __aligned__ in attribute.
34088         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34089         (gregset_t): Likewise.
34090
34091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34092
34093         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34094         * sysdeps/x86_64/64/Implies-after: Here.  New file.
34095         * sysdeps/x86_64/x32/Implies-after: New file.
34096
34097 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34098
34099         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34100         and access return value for _dl_profile_fixup.  Use R10_LP to
34101         load frame size.
34102
34103 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34104
34105         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34106
34107 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34108
34109         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34110         * sysdeps/x86_64/x32/sysdep.h: New file.
34111
34112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34113
34114         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34115         * sysdeps/x86_64/setjmp.S: Likewise.
34116
34117 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34118
34119         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34120         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34121         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34122         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34123         remove unused global constant.
34124
34125 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
34126
34127         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34128         include of <not-cancel.h>.
34129
34130 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34131
34132         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34133
34134 2012-05-15  Jeff Law  <law@redhat.com>
34135             Andreas Jaeger  <aj@suse.de>
34136
34137         [BZ #13594]
34138         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34139         out from...
34140         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34141         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34142         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34143         code changing __hst_map_handle.map.
34144
34145 2012-05-15  Roland McGrath  <roland@hack.frob.com>
34146
34147         * configure.in (sysnames): Look for Implies-before and Implies-after
34148         files.
34149         * configure: Regenerated.
34150
34151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34152
34153         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34154         8-byte data alignment with LP_SIZE alignment.
34155
34156 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34157
34158         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34159         into R10_LP.
34160
34161 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34162
34163         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34164
34165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34166
34167         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34168         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34169         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34170         Likewise.
34171         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34172
34173 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34174
34175         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34176         (stackinfo_sub_sp): Likewise.
34177
34178 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34179
34180         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34181         RAX_LP.
34182
34183 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34184
34185         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34186         into R*_LP.
34187
34188 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34189
34190         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34191         sizes into R*_LP.
34192
34193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34194
34195         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34196
34197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34198
34199         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34200         into R11_LP and load __x86_64_shared_cache_size_half into
34201         R8_LP.
34202
34203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
34204
34205         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34206         R8_LP.
34207
34208 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34209
34210         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34211         logb for POWER7.
34212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34213         logbf for POWER7.
34214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34215         logbl for POWER7.
34216         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34217         powerpc32/power7/fpu/s_logb.c via #include.
34218         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34219         powerpc32/power7/fpu/s_logbf.c via #include.
34220         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34221         powerpc32/power7/fpu/s_logbl.c via #include.
34222
34223 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
34224
34225         * README.libm: Remove file.
34226
34227 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34228
34229         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34230         count for x32.  Use R*_LP and omit operand-size suffix.
34231
34232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34233
34234         * shlib-versions: Move x86_64-.*-linux.* entries to ...
34235         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
34236         * sysdeps/x86_64/x32/shlib-versions: New file.
34237
34238 2012-05-14  Roland McGrath  <roland@hack.frob.com>
34239
34240         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34241         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34242         Use _dl_fatal_printf instead.
34243
34244 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34245
34246         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34247         set if not set by the user.  Do not allow for being unset.
34248         * sysdeps/unix/sysv/linux/configure: Regenerated.
34249
34250 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34251
34252         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34253         the `q' suffix from lea and replace .quad with ASM_ADDR.
34254
34255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34256
34257         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34258         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
34259         instead of $17.
34260         (PTR_DEMANGLE): Likewise.
34261
34262 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34263
34264         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34265         (LP_OP): Likewise.
34266         (ASM_ADDR): Likewise.
34267         (RAX_LP): Likewise.
34268         (RBP_LP): Likewise.
34269         (RBX_LP): Likewise.
34270         (RCX_LP): Likewise.
34271         (RDI_LP): Likewise.
34272         (RSI_LP): Likewise.
34273         (RSP_LP): Likewise.
34274         (R8_LP): Likewise.
34275         (R9_LP): Likewise.
34276         (R10_LP): Likewise.
34277         (R10_LP): Likewise.
34278         (R11_LP): Likewise.
34279         (R12_LP): Likewise.
34280         (R13_LP): Likewise.
34281         (R14_LP): Likewise.
34282         (R15_LP): Likewise.
34283
34284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34285
34286         * sysdeps/x86_64/x32/dl-machine.h: New file.
34287
34288 2012-05-14  Andreas Jaeger  <aj@suse.de>
34289
34290         * manual/Makefile (subdir): Remove export of subdir.
34291         (all): Remove target.
34292         (.PHONY): Remove all from list.
34293         (mkinstalldirs): Remove.
34294         (.PHONY): Remove installdirs from list.
34295         ($(inst_infodir)/libc.info): Use make-target-directory.
34296         (installdirs): Remove.
34297         (subdir_%): Remove.
34298         (glibc-targets): Remove.
34299         (lib): Remove.
34300         (stubs): Remove.
34301         ($(objpfx)stubs ../po/manual.pot): Remove.
34302         ($(objpfx)stamp%): Remove.
34303         (make-target-directory): Remove.
34304         (subdir_install): Remove.
34305         (routines): Remove.
34306         (aux): Remove.
34307         (sources): Remove.
34308         (objects): Remove.
34309         (headers): Remove.
34310
34311         [BZ #13750]
34312         * manual/.gitignore: Remove, it's not needed anymore.
34313         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34314         all files in it.
34315         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34316         directory.
34317         (texis): Renamed to $(objpfx)texis.
34318         (texis-path): New, contains path to generated files.
34319         (chapters.%): Use texis-path for complete path, add extra argument
34320         libc-texinfo.sh.
34321         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34322         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34323         (summary,texi, stamp-summary): Use complete path of
34324         files. Generate files in build dir.
34325         (dir-add.texi): Build in build dir.
34326         (libm-err.texi,stamp-libm-err): Likewise.
34327         (version.texi, stamp-version): Likewise.
34328         (.%c.texi): Likewise.
34329         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34330         (mostlyclean): Remove target.
34331         (realclean): Remove target.
34332         (generated): Add new variable with contents from mostlyclean and
34333         realclean, remove entries duplicated in common-mostlyclean, add
34334         stamp-libm-err and stamp-version.
34335         (generated-dirs): Add libc directory.
34336         ($(inst_infodir)/libc.info): Install files from build dir.
34337
34338         * manual/install.texi (Configuring and compiling): Adjust since
34339         the info files are not part of the tar ball anymore.
34340
34341 2012-05-14  Andreas Jaeger  <aj@suse.de>
34342
34343         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34344         variable.
34345
34346 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34347
34348         [BZ #13717]
34349         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34350         to 2.2.0 where earlier.
34351         * sysdeps/unix/sysv/linux/configure: Regenerated.
34352         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34353         Remove conditional code.
34354         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34355         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34356         Remove conditional code.
34357         [!__NR_lchown]: Likewise.
34358         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34359         [__NR_lchown]: Likewise.
34360         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34361         comment referencing __ASSUME_LCHOWN_SYSCALL.
34362         * sysdeps/unix/sysv/linux/i386/sigaction.c
34363         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34364         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34365         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34366         Remove conditional code.
34367         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34368         (__protocol_available): Remove #if 0 code.
34369         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34370         conditional code.
34371         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34372         * sysdeps/unix/sysv/linux/kernel-features.h
34373         (__ASSUME_GETCWD_SYSCALL): Don't define.
34374         (__ASSUME_REALTIME_SIGNALS): Likewise.
34375         (__ASSUME_PREAD_SYSCALL): Likewise.
34376         (__ASSUME_PWRITE_SYSCALL): Likewise.
34377         (__ASSUME_POLL_SYSCALL): Likewise.
34378         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34379         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34380         non-SPARC.
34381         (__ASSUME_SIOCGIFNAME): Don't define.
34382         (__ASSUME_MSG_NOSIGNAL): Likewise.
34383         (__ASSUME_SENDFILE): Define unconditionally.
34384         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34385         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34386         conditional code.
34387         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34388         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34389         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34390         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34391         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34392         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34393         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34395         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34396         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34398         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34399         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34401         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34404         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34405         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34407         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34410         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34416         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34418         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34419         Remove conditional code.
34420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34421         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34422         Remove conditional code.
34423         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34424         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34425         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34426         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34427         Remove conditional code.
34428         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34429         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34430         Remove conditional code.
34431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34432         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34433         Remove conditional code.
34434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34435         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34436         Remove conditional code.
34437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34438         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34439         Remove conditional code.
34440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34441         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34442         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34443         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34444         * sysdeps/unix/sysv/linux/sigaction.c
34445         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34446         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34447         * sysdeps/unix/sysv/linux/sigpending.c
34448         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34449         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34450         * sysdeps/unix/sysv/linux/sigprocmask.c
34451         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34452         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34453         * sysdeps/unix/sysv/linux/sigsuspend.c
34454         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34455         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34456         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34457         (__libc_missing_rt_sigs): Remove.
34458         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34459         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34460         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34461         Remove conditional code.
34462         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34463         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34464         return 1.
34465         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34466         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34467         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34468         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34469
34470 2012-05-14  Andreas Jaeger  <aj@suse.de>
34471
34472         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34473         it's not used in glibc.
34474         (__coshm1): Likewise.
34475         (__acosh1p): Likewise.
34476         (__sgn): Likewise.
34477
34478         * manual/string.texi (Copying and Concatenation): Add missing
34479         variable in concat example.
34480         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34481
34482 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34483
34484         [BZ #14103]
34485         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34486         __builtin_clzl with __builtin_clzll.
34487
34488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34489
34490         [BZ #14104]
34491         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34492         libc_freeres_ptr.
34493
34494 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34495
34496         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34497         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34498         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34499         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34500
34501 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34502
34503         * NEWS: Update ia64 info.
34504
34505 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34506
34507         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34508         used as bcopy.
34509
34510 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34511
34512         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34513         * sysdeps/unix/syscalls.list (dup3): Likewise.
34514         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34515         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34516
34517 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34518
34519         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34520         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34521
34522 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34523
34524         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34525         thread pointer.
34526         (TLS_IE): Use mov/add instead of movq/addq to load thread
34527         pointer.
34528         (TLS_GD_PREFIX): New.
34529         (TLS_GD): Use it.
34530
34531 2012-05-11  David S. Miller  <davem@davemloft.net>
34532
34533         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34534         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34535         (_FPU_SETCW): Likewise.
34536
34537 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34538
34539         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34540         is 32-byte aligned.
34541
34542 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34543
34544         [BZ #11837]
34545         * iconvdata/gb18030.c: Update tables.
34546         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34547         characters specially.
34548         (BODY for TO_LOOP): Add encoding of missing ranges.
34549
34550 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34551
34552         [BZ #13673]
34553         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34554         * sysdeps/mach/hurd/dup3.c: Likewise.
34555         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34556         * sysdeps/powerpc/memmove.c:: Likewise.
34557
34558 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34559
34560         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34561         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34562
34563 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34564
34565         * elf/elf.h (R_X86_64_RELATIVE64): New.
34566         (R_X86_64_NUM): Updated.
34567         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34568         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34569         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34570         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34571         tst-quad1pie tst-quad2pie
34572         (modules-names): Add tst-quadmod1 tst-quadmod2.
34573         ($(objpfx)tst-quad1): New dependency.
34574         ($(objpfx)tst-quad2): Likewise.
34575         ($(objpfx)tst-quad1pie): Likewise.
34576         ($(objpfx)tst-quad2pie): Likewise.
34577         * sysdeps/x86_64/tst-quad1.c: New file.
34578         * sysdeps/x86_64/tst-quad1pie.c: New file.
34579         * sysdeps/x86_64/tst-quad2.c: Likewise.
34580         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34581         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34582         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34583         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34584         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34585
34586 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34587
34588         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34589         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34590         * streams/stropts.h (t_scalar_t): Define type.
34591
34592         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34593         (_PATH_PRESERVE): Set to "/var/lib".
34594         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34595
34596         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34597         instead of int.
34598
34599         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34600         if __dir_mkfile succeeded.
34601
34602         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34603         checking for _hurd_dtablesize.  Unlock it right after having
34604         finished _hurd_dtable allocation.
34605
34606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34607
34608         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34609         * sysdeps/mach/hurd/configure: Regenerated.
34610         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34611         special-casing to...
34612         * sysdeps/gnu/configure.in: ... this new file.
34613         * sysdeps/unix/sysv/linux/configure: Regenerated.
34614         * sysdeps/gnu/configure: New generated file.
34615
34616         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34617         for Linux: use nsec instead of usec, as well as:
34618         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34619         members of type struct timespec.
34620         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34621         New macros.
34622         (struct stat64): Likewise.
34623         (_STATBUF_ST_NSEC): New macro.
34624         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34625
34626         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34627         __strtoul_internal rather than strtoul.
34628
34629 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34630
34631         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34632         and reject them.
34633
34634 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34635
34636         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34637         which preserves existing values.
34638         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34639
34640 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34641
34642         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34643         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34644         greater than FD_SETSIZE.
34645
34646 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34647
34648         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34649         allocated, call __vm_protect to finish enabling the existing space, and
34650         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34651         allocate the remainder.
34652
34653 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34654
34655         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34656         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34657
34658 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34659
34660         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34661         sysdeps/mach/hurd/readlink.c.
34662
34663         * posix/tst-sysconf.c (posix_options): Only use
34664         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34665         _POSIX_SYNCHRONIZED_IO when they are defined
34666         * sysdeps/mach/hurd/bits/posix_opt.h:
34667         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34668         (_XOPEN_REALTIME): Undefine macro.
34669         (_XOPEN_REALTIME_THREADS): Undefine macro.
34670         (_XOPEN_SHM): Undefine macro.
34671         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34672         macro to -1.
34673         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34674         macro to -1.
34675         (_POSIX_ASYNC_IO): Undefine macro.
34676         (_POSIX_PRIORITIZED_IO): Undefine macro.
34677         (_POSIX_SPIN_LOCKS): Define macro to -1.
34678
34679         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34680         SA_NODEFER, SA_RESETHAND.
34681         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34682         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34683         F_DUPFD_CLOEXEC.
34684
34685 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34686
34687         * elf/Makefile (pldd-modules): Define unconditionally.
34688
34689 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34690
34691         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34692
34693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34694
34695         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34696         Return ENOENT when name is empty.
34697         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34698
34699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34700
34701         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34702
34703         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34704
34705 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34706
34707         Fix mlock in all cases except non-readable pages.
34708         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34709         instead of VM_PROT_ALL as parameter to __vm_wire function.
34710
34711         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34712         (__mkdir): When path is `/', just fail with EEXIST.
34713         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34714
34715 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34716
34717         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34718         <sys/uio.h> (for writev).
34719         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34720         and <sys/param.h> (for MIN).
34721
34722 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34723
34724         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34725         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34726         if interrupted.
34727
34728 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34729
34730         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34731         Depend on against $(link-rpcuserlibs).
34732
34733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34734
34735         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34736         (__libc_stack_end): Do not use attribute_relro.
34737         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34738         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34739         to libthread-provided value.
34740         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34741         attribute_relro.
34742
34743 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34744
34745         [BZ #3748]
34746         * bits/libc-lock.h (__libc_once_get): New macro.
34747         * sysdeps/mach/bits/libc-lock.h: Likewise.
34748         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34749         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34750         instead of using implementation details.
34751
34752         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34753         * libio/freopen.c: Likewise.
34754         * libio/freopen64.c: Likewise.
34755         * misc/syslog.c: Likewise.
34756         * nscd/connections.c: Likewise.
34757         * nscd/netgroupcache.c: Likewise.
34758         * sysdeps/posix/getcwd.c: Likewise.
34759
34760 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34761
34762         * math/w_ilogbf.c: Add #include <limits.h>.
34763
34764 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34765
34766         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34767         path instead of returning without unlocking.
34768
34769         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34770         immediate-write ioctls.
34771         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34772
34773 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34774
34775         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34776         __builtin_frame_address instead of making assumptions about the
34777         location of the return address relative to DATA.  Force early load of
34778         the return address.
34779         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34780         __builtin_frame_address.
34781
34782         dup3 for GNU Hurd.
34783         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34784         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34785         implement dup3 and do some further code clean-ups.
34786         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34787         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34788
34789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34790
34791         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34792
34793         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34794         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34795         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34796         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34797         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34798         d->port.lock.
34799
34800         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34801         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34802         when handler == SIG_ERR, not when handler != SIG_ERR.
34803
34804 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34805
34806         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34807         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34808         definitions.
34809
34810         accept4 for GNU Hurd.
34811         * include/sys/socket.h (__libc_accept4): New prototype.
34812         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34813         to implement __libc_accept4.
34814         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34815         __libc_accept4.
34816         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34817
34818         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34819         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34820         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34821         signal-defines.sym.
34822
34823 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34824
34825         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34826
34827 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34828
34829         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34830         assertion on O_CLOEXEC flag.
34831         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34832         * hurd/intern-fd.c: Likewise.
34833         * hurd/port2fd.c: Likewise.
34834
34835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34836
34837         [BZ #3906]
34838         * bits/in.h (IPV6_PKTINFO): Define new macro.
34839         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34840
34841 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34842
34843         [BZ #13954]
34844         [BZ #13955]
34845         [BZ #13956]
34846         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34847         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34848         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34849         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34850         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34851         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34852         * math/libm-test.inc (logb_test) : Additional logb tests.
34853
34854 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34855             Andreas Jaeger  <aj@suse.de>
34856
34857         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34858         * configure: Regenerated.
34859         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34860         * config.make.in (link-obsolete-rpc): New substituted variable.
34861         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34862         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34863         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34864         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34865         so that libc.a contains the symbols.
34866         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34867         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34868         * sunrpc/auth_none.c: Likewise.
34869         * sunrpc/auth_unix.c: Likewise.
34870         * sunrpc/authdes_prot.c: Likewise.
34871         * sunrpc/authuxprot.c: Likewise.
34872         * sunrpc/clnt_gen.c: Likewise.
34873         * sunrpc/clnt_perr.c: Likewise.
34874         * sunrpc/clnt_raw.c: Likewise.
34875         * sunrpc/clnt_simp.c: Likewise.
34876         * sunrpc/clnt_tcp.c: Likewise.
34877         * sunrpc/clnt_udp.c: Likewise.
34878         * sunrpc/clnt_unix.c: Likewise.
34879         * sunrpc/des_crypt.c: Likewise.
34880         * sunrpc/des_soft.c: Likewise.
34881         * sunrpc/get_myaddr.c: Likewise.
34882         * sunrpc/key_call.c: Likewise.
34883         * sunrpc/key_prot.c: Likewise.
34884         * sunrpc/netname.c: Likewise.
34885         * sunrpc/pm_getmaps.c: Likewise.
34886         * sunrpc/pm_getport.c: Likewise.
34887         * sunrpc/pmap_clnt.c: Likewise.
34888         * sunrpc/pmap_prot.c: Likewise.
34889         * sunrpc/pmap_prot2.c: Likewise.
34890         * sunrpc/pmap_rmt.c: Likewise.
34891         * sunrpc/publickey.c: Likewise.
34892         * sunrpc/rpc_cmsg.c: Likewise.
34893         * sunrpc/rpc_common.c: Likewise.
34894         * sunrpc/rpc_dtable.c: Likewise.
34895         * sunrpc/rpc_prot.c: Likewise.
34896         * sunrpc/rpc_thread.c: Likewise.
34897         * sunrpc/rtime.c: Likewise.
34898         * sunrpc/svc.c: Likewise.
34899         * sunrpc/svc_auth.c: Likewise.
34900         * sunrpc/svc_raw.c: Likewise.
34901         * sunrpc/svc_run.c: Likewise.
34902         * sunrpc/svc_tcp.c: Likewise.
34903         * sunrpc/svc_udp.c: Likewise.
34904         * sunrpc/svc_unix.c: Likewise.
34905         * sunrpc/svcauth_des.c: Likewise.
34906         * sunrpc/xcrypt.c: Likewise.
34907         * sunrpc/xdr.c: Likewise.
34908         * sunrpc/xdr_array.c: Likewise.
34909         * sunrpc/xdr_float.c: Likewise.
34910         * sunrpc/xdr_intXX_t.c: Likewise.
34911         * sunrpc/xdr_mem.c: Likewise.
34912         * sunrpc/xdr_rec.c: Likewise.
34913         * sunrpc/xdr_ref.c: Likewise.
34914         * sunrpc/xdr_sizeof.c: Likewise.
34915         * sunrpc/xdr_stdio.c: Likewise.
34916
34917 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34918
34919         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34920         change.  Update copyright years.
34921
34922 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34923
34924         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34925
34926 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34927             Joseph Myers  <joseph@codesourcery.com>
34928             Paul Pluzhnikov  <ppluzhnikov@google.com>
34929
34930         [BZ #14012]
34931         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34932         requiring rpcgen.
34933         [cross-compiling] (extra-libs): Likewise.
34934         [cross-compiling] (extra-libs-others): Likewise.
34935         [cross-compiling] (librpcsvc-routines): Likewise.
34936         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34937         [cross-compiling] (omit-deps): Likewise.
34938         (sunrpc-CPPFLAGS): New variable.
34939         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34940         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34941         (cross-rpcgen-objs): New variable.
34942         (extra-objs): Append $(cross-rpcgen-objs).
34943         ($(cross-rpcgen-objs)): New rule.
34944         ($(objpfx)cross-rpcgen): Likewise.
34945         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34946         comment.
34947         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34948         ($(objpfx)x%.stmp): Likewise.
34949         * sunrpc/proto.h [IS_IN_build] (_): Define.
34950         [IS_IN_build] (_libc_intl_domainname): Likewise.
34951
34952 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34953
34954         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34955         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34956         and R_X86_64_TPOFF64.
34957
34958 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34959
34960         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34961         sysdeps/unix/sysv/syscalls.list.
34962         (stime): Likewise.
34963         (utime): Likewise.
34964         * sysdeps/unix/sysv/syscalls.list: Remove file.
34965
34966 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34967
34968         [BZ #3440]
34969         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34970         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34971         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34972         (__LC_IDENTIFICATION): Make these macros useful in #if
34973         expressions, as required by C99.
34974
34975 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34976
34977         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34978         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34979         after this.
34980
34981 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34982
34983         * stdlib/longlong.h: Updated from GCC.
34984
34985 2012-05-09  Andreas Jaeger  <aj@suse.de>
34986
34987         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34988         default is first entry.
34989         (run_mode): Set type.
34990         (main): Remove informal message about syslog.
34991         (options): Fix typo.
34992
34993         [BZ #14053]
34994         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34995         to asm.
34996         (lrint): Likewise.
34997         (llrintf): Likewise.
34998         (llrint): Likewise.
34999         (rint): Likewise.
35000         (rintf): Likewise.
35001         (nearbyint): Likewise.
35002         (nearbyintf): Likewise.
35003
35004 2012-05-09  Andreas Jaeger  <aj@suse.de>
35005             Pedro Alves  <palves@redhat.com>
35006
35007         * nscd/nscd.c (run_mode): Use enum.
35008         (main): Cleanup coding style issue.
35009
35010 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
35011             Andreas Jaeger  <aj@suse.de>
35012
35013         * nscd/nscd.c (go_background): Replaced with...
35014         (run_mode): ... this.
35015         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35016         (options): Add -F --foreground.
35017         (main): Implement it.
35018         (parse_opt): Parse it.
35019
35020 2012-05-09  Andreas Jaeger  <aj@suse.de>
35021
35022         [BZ #14083]
35023         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35024         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35025         -Wconversion warning.
35026         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35027         Likewise.
35028
35029 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
35030
35031         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
35032         == 0.
35033         (LC_ALL): Use macro-int-constant.
35034         (LC_COLLATE): Likewise.
35035         (LC_CTYPE): Likewise.
35036         (LC_MESSAGES): Likewise.
35037         (LC_MONETARY): Likewise.
35038         (LC_NUMERIC): Likewise.
35039         (LC_TIME): Likewise.
35040         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35041         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35043         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35044         Specify type.
35045         [C99-based standards] (float_t): Expect type.
35046         [C99-based standards] (double_t): Expect type.
35047         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
35048         type.
35049         [C99-based standards] (HUGE_VALL): Likewise.
35050         [C99-based standards] (INFINITY): Likewise.
35051         [C99-based standards] (NAN): Likewise.
35052         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35053         [C99-based standards] (FP_NAN): Likewise.
35054         [C99-based standards] (FP_NORMAL): Likewise.
35055         [C99-based standards] (FP_SUBNORMAL): Likewise.
35056         [C99-based standards] (FP_ZERO): Likewise.
35057         [C99-based standards] (FP_FAST_FMA): Use
35058         optional-macro-int-constant.  Specify type.  Require == 1.
35059         [C99-based standards] (FP_FAST_FMAF): Likewise.
35060         [C99-based standards] (FP_FAST_FMAL): Likewise.
35061         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35062         [C99-based standards] (FP_ILOGBNAN): Likewise.
35063         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35064         Specify type.
35065         [C99-based standards] (MATH_ERREXCEPT): Likewise.
35066         [C99-based standards] (math_errhandling): Specify type.
35067         [ISO99 || ISO11] (signgam): Do not allow.
35068         [non-C99-based standards] (copysignf): Do not allow.
35069         [non-C99-based standards] (exp2f): Likewise.
35070         [non-C99-based standards] (log2f): Likewise.
35071         [non-C99-based standards] (modff): Allow.
35072         [non-C99-based standards] (erff): Do not allow.
35073         [non-C99-based standards] (erfcf): Likewise.
35074         [non-C99-based standards] (gammaf): Likewise.
35075         [non-C99-based standards] (hypotf): Likewise.
35076         [non-C99-based standards] (j0f): Likewise.
35077         [non-C99-based standards] (j1f): Likewise.
35078         [non-C99-based standards] (jnf): Likewise.
35079         [non-C99-based standards] (lgammaf): Likewise.
35080         [non-C99-based standards] (tgammaf): Likewise.
35081         [non-C99-based standards] (y0f): Likewise.
35082         [non-C99-based standards] (y1f): Likewise.
35083         [non-C99-based standards] (ynf): Likewise.
35084         [non-C99-based standards] (isnanf): Likewise.
35085         [non-C99-based standards] (acoshf): Likewise.
35086         [non-C99-based standards] (asinhf): Likewise.
35087         [non-C99-based standards] (atanhf): Likewise.
35088         [non-C99-based standards] (cbrtf): Likewise.
35089         [non-C99-based standards] (expm1f): Likewise.
35090         [non-C99-based standards] (ilogbf): Likewise.
35091         [non-C99-based standards] (log1pf): Likewise.
35092         [non-C99-based standards] (logbf): Likewise.
35093         [non-C99-based standards] (nextafterf): Likewise.
35094         [non-C99-based standards] (remainderf): Likewise.
35095         [non-C99-based standards] (rintf): Likewise.
35096         [non-C99-based standards] (scalbf): Likewise.
35097         [non-C99-based standards] (copysignl): Likewise.
35098         [non-C99-based standards] (exp2l): Likewise.
35099         [non-C99-based standards] (log2l): Likewise.
35100         [non-C99-based standards] (modfl): Allow.
35101         [non-C99-based standards] (erfl): Do not allow.
35102         [non-C99-based standards] (erfcl): Likewise.
35103         [non-C99-based standards] (gammal): Likewise.
35104         [non-C99-based standards] (hypotl): Likewise.
35105         [non-C99-based standards] (j0l): Likewise.
35106         [non-C99-based standards] (j1l): Likewise.
35107         [non-C99-based standards] (jnl): Likewise.
35108         [non-C99-based standards] (lgammal): Likewise.
35109         [non-C99-based standards] (tgammal): Likewise.
35110         [non-C99-based standards] (y0l): Likewise.
35111         [non-C99-based standards] (y1l): Likewise.
35112         [non-C99-based standards] (ynl): Likewise.
35113         [non-C99-based standards] (isnanl): Likewise.
35114         [non-C99-based standards] (acoshl): Likewise.
35115         [non-C99-based standards] (asinhl): Likewise.
35116         [non-C99-based standards] (atanhl): Likewise.
35117         [non-C99-based standards] (cbrtl): Likewise.
35118         [non-C99-based standards] (expm1l): Likewise.
35119         [non-C99-based standards] (ilogbl): Likewise.
35120         [non-C99-based standards] (log1pl): Likewise.
35121         [non-C99-based standards] (logbl): Likewise.
35122         [non-C99-based standards] (nextafterl): Likewise.
35123         [non-C99-based standards] (remainderl): Likewise.
35124         [non-C99-based standards] (rintl): Likewise.
35125         [non-C99-based standards] (scalbl): Likewise.
35126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35127         [non-C99-based standards] (FP_*): Do not allow.
35128         [C99-based standards] (FP_*): Change to
35129         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35130         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35131         allow.
35132         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35133         (SIG_ERR): Likewise.
35134         [X/Open-based standards] (SIG_HOLD): Likewise.
35135         (SIG_IGN): Likewise.
35136         (SIGABRT): Use macro-int-constant.  Specify type.  Require
35137         positive value.
35138         (SIGFPE): Likewise.
35139         (SIGILL): Likewise.
35140         (SIGINT): Likewise.
35141         (SIGSEGV): Likewise.
35142         (SIGTER): Likewise.
35143         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35144         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35145         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35146         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35147         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35148         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35149         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35150         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35151         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35152         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35153         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35154         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35155         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35156         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35157         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35158         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35159         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35160         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35161         [X/Open-based standards] (SIGTRAP): Likewise.
35162         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35163         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35164         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35165         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35166         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35167         allow.
35168
35169 2012-05-08  Ian Wienand  <ianw@vmware.com>
35170
35171         [BZ #14080]
35172         * time/tzset.c (__tzset_parse_tz): Update default rules for
35173         daylight time changes in the Energy Policy Act of 2005.
35174
35175 2012-05-09  Andreas Jaeger  <aj@suse.de>
35176
35177         [BZ #13983]
35178         * elf/ldconfig.c (parse_conf): Change string to make clear that
35179         ldconfig only issued a warning if ld.so.conf does not exist.
35180
35181 2012-05-08  David S. Miller  <davem@davemloft.net>
35182
35183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35184         movxtod instead of popping the value on the stack.
35185
35186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35187
35188 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
35189
35190         * config.h.in: Add HAVE_ARM_PCS_VFP.
35191
35192 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
35193
35194         [BZ #13979]
35195         * include/features.h: Warn if user requests __FORTIFY_SOURCE
35196         checking but the checks are disabled for any reason.
35197
35198 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
35199
35200         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35201         and ELF64_R_TYPE with ELFW(R_TYPE).
35202
35203 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
35204
35205         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35206         (ulimit): Likewise.
35207
35208         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35209         (settimeofday): Likewise.
35210
35211 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
35212
35213         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
35214         a struct th_u2 inside the union, and move tu_block/tu_code into
35215         a new th_u3 union of tu_block/tu_code inside of that.  Move
35216         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
35217         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
35218         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35219         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35220         (th_stuff): Change to th_u1.tu_stuff.
35221         (th_data): Define.
35222         (th_msg): Change to th_u1.th_u2.tu_data.
35223
35224 2012-05-07  David S. Miller  <davem@davemloft.net>
35225
35226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35227
35228         [BZ #14074]
35229         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35230         (SETUP_PIC_REG): Use it.
35231         (SETUP_PIC_REG_LEAF): Use it.
35232
35233 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
35234
35235         [BZ #13885]
35236         [BZ #13923]
35237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35238         USE_AS_EXPM1L.
35239         (EXPL_FINITE): Likewise.
35240         (FLDLOG): Likewise.
35241         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35242         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35243         e_expl.S.
35244         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35245         USE_AS_EXPM1L.
35246         (EXPL_FINITE): Likewise.
35247         (FLDLOG): Likewise.
35248         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35249         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35250         e_expl.S.
35251         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
35252         test of -max_value argument for long double.
35253         * sysdeps/i386/fpu/libm-test-ulps: Update.
35254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35255
35256 2012-05-06  David S. Miller  <davem@davemloft.net>
35257
35258         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35259         quad soft-float symbols whose references which are compiler
35260         generated.
35261         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35262
35263 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
35264
35265         [BZ #13884]
35266         [BZ #13914]
35267         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35268         USE_AS_EXP10L.
35269         (EXPL_FINITE): Likewise.
35270         (FLDLOG): Likewise.
35271         (c0): Likewise.
35272         (c1): Likewise.
35273         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35274         Adjust comments for base varying.
35275         (__expl_finite): Change alias to EXPL_FINITE.
35276         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35277         e_expl.S.
35278         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35279         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35280         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35281         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35282         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35283         USE_AS_EXP10L.
35284         (EXPL_FINITE): Likewise.
35285         (FLDLOG): Likewise.
35286         (c0): Likewise.
35287         (c1): Likewise.
35288         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
35289         Adjust comments for base varying.
35290         (__expl_finite): Change alias to EXPL_FINITE.
35291         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
35292         tests for bugs.
35293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35294
35295         [BZ #14064]
35296         * math/libm-test.inc (check_float_internal): Correct ulp
35297         calculation for subnormal expected results.
35298
35299 2012-05-06  Andreas Jaeger  <aj@suse.de>
35300
35301         * Makeconfig (+math-flags): New, set to -frounding-math.
35302         (+cflags): Add +math-flags so that all of glibc gets compiled with
35303         it.
35304
35305         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35306
35307 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
35308
35309         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35310         Disable one test.
35311
35312         [BZ #13787]
35313         [BZ #13922]
35314         [BZ #14036]
35315         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35316         (__ieee754_expl): Allow for and saturate large arguments.
35317         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35318         (u_threshold): Likewise.
35319         (__exp): Call __ieee754_exp before checking for overflow and
35320         underflow.
35321         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35322         (u_threshold): Likewise.
35323         (__expf): Call __ieee754_expf before checking for overflow and
35324         underflow.
35325         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35326         (u_threshold): Likewise.
35327         (__expl): Call __ieee754_expl before checking for overflow and
35328         underflow.
35329         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35330         (__ieee754_expl): Allow for and saturate large arguments.
35331         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35332         missing overflow exception on overflow.
35333         (expm1_test): Do not allow missing overflow exception on overflow.
35334
35335         * sysdeps/i386/fpu/e_expl.c: Move to ...
35336         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35337         rather than using inline asm.
35338         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35339         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35340         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35341
35342         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35343         (nice): Likewise.
35344         (poll): Likewise.
35345         (signal): Likewise.
35346         (time): Likewise.
35347         (times): Likewise.
35348
35349 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35350
35351         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35352         sysdeps/unix/common/syscalls.list.
35353         (fchmod): Likewise.
35354         (fchown): Likewise.
35355         (ftruncate): Likewise.
35356         (getrusage): Likewise.
35357         (gettimeofday): Likewise.
35358         (setpgid): Likewise.
35359         (setregid): Likewise.
35360         (setreuid): Likewise.
35361         (sigaction): Likewise.
35362         (truncate): Likewise.
35363         (vhangup): Likewise.
35364         * sysdeps/unix/common/syscalls.list: Remove file.
35365         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35366         * sysdeps/unix/sysv/linux/Implies: Likewise.
35367
35368 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35369
35370         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35372         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35373         Moved to ...
35374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35375         Here.
35376         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35377         to ...
35378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35379         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35380         to ...
35381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35382         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35383         to ...
35384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35385         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35386         to ...
35387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35388         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35389         to ...
35390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35391         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35392         to ...
35393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35394         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35395         to ...
35396         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35397         Here.
35398         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35399         to ...
35400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35401         Here.
35402         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35403         to ...
35404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35405         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35406         Moved to ...
35407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35408         Here.
35409         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35410         to ...
35411         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35412
35413 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35414
35415         * sysdeps/unix/common/bits/dirent.h: Remove file.
35416         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35417
35418         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35419         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35420         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35421         * sysdeps/unix/bsd/isatty.c: Likewise.
35422         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35423         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35424         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35425
35426 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35427
35428         [BZ #13563]
35429         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35430         long double comparison inaccuracies.
35431         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35433
35434 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35435
35436         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35437         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35438
35439 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35440
35441         [BZ #14049]
35442         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35443         nonzero digits before rounding a hex value.
35444         * stdlib/tst-strtod.c (tests): Add another test.
35445
35446 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35447
35448         * sysdeps/s390/fpu/libm-test-ulps: Update.
35449
35450 2012-05-03  Andreas Jaeger  <aj@suse.de>
35451
35452         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35453         does not get optimized out.
35454         (malloc_opt_barrier): New.
35455
35456 2012-05-03  Andreas Jaeger  <aj@suse.de>
35457             Roland McGrath  <roland@hack.frob.com>
35458
35459         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35460         intermediate file deletion.
35461         (generated): Add .symlist files.
35462
35463 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35464
35465         [BZ #13775]
35466         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35467         Redirect under this condition.
35468         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35469         [__USE_GNU] (__dprintf_chk): Not under this condition.
35470         [__USE_GNU] (__vdprintf_chk): Likewise.
35471         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35472         under this condition.
35473         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35474         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35475         [__USE_XOPEN2K8] (vdprintf): Likewise.
35476         [__USE_GNU] (__dprintf_chk): Not under this condition.
35477         [__USE_GNU] (__vdprintf_chk): Likewise.
35478         [__USE_GNU] (dprintf): Likewise.
35479         [__USE_GNU] (vdprintf): Likewise.
35480
35481 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35482
35483         * elf/Makefile (common-generated): Set this instead of generated for
35484         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35485         $(all-built-dso)-derived lists.
35486
35487 2012-05-03  Andreas Jaeger  <aj@suse.de>
35488
35489         * sysdeps/i386/fpu/libm-test-ulps: Update.
35490
35491         * FAQ: Removed.
35492         * FAQ.in: Likewise.
35493         * scripts/gen-FAQ.pl: Likewise.
35494         * manual/install.texi (Installation): Point to online location of
35495         FAQ.
35496         * Makefile (files-for-dist): Remove FAQ.
35497         (FAQ): Remove.
35498
35499 2012-05-02  Allan McRae  <allan@archlinux.org>
35500
35501         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35502         (LDFLAGS-reldepmod5.so): Likewise.
35503         (LDFLAGS-reldep6mod1.so): Likewise.
35504         (LDFLAGS-reldep6mod4.so): Likewise.
35505         (LDFLAGS-reldep8mod3.so): Likewise.
35506         (LDFLAGS-unload4mod1.so): Likewise.
35507         (LDFLAGS-unload4mod2.so): Likewise.
35508         (LDFLAGS-tst-initorder): Likewise.
35509         (LDFLAGS-tst-initordera2.so): Likewise.
35510         (LDFLAGS-tst-initordera3.so): Likewise.
35511         (LDFLAGS-tst-initordera4.so): Likewise.
35512         (LDFLAGS-tst-initorderb2.so): Likewise.
35513         (LDFLAGS-noload): Likewise.
35514         (LDFLAGS-next): Likewise.
35515         (LDFLAGS-order2mod1.so): Likewise.
35516         (LDFLAGS-order2mod2.so): Likewise.
35517         (LDFLAGS-tst-initorder2): Likewise.
35518         (LDFLAGS-tst-initorder2a.so): Likewise.
35519         (LDFLAGS-tst-initorder2b.so): Likewise.
35520         (LDFLAGS-tst-initorder2c.so): Likewise.
35521         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35522
35523 2012-05-02  David S. Miller  <davem@davemloft.net>
35524
35525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35526
35527 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35528
35529         [BZ #14055]
35530         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35531
35532 2012-05-02  Andreas Jaeger  <aj@suse.de>
35533
35534         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35535         since we manipulate rounding mode.
35536         (CPPFLAGS-test-idouble.c): Likewise.
35537         (CPPFLAGS-test-ifloat.c): Likewise.
35538         (CFLAGS-test-ldouble.c): Likewise.
35539         (CFLAGS-test-double.c): Likewise.
35540         (CFLAGS-test-float.c): Likewise.
35541         (CFLAGS-test-misc.c): Likewise.
35542         (CFLAGS-test-test-fenv.c): Likewise.
35543
35544 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35545
35546         [BZ #2550]
35547         [BZ #2570]
35548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35549         comparisons to determine direction to adjust input.
35550
35551 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35552
35553         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35554         output to the target.
35555
35556         * scripts/localplt.awk: New file.
35557         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35558         (check-localplt-CFLAGS): Variable removed.
35559         ($(all-built-dso:=.jmprel)): New static pattern rule.
35560         (generated): Add those targets.
35561         (localplt-built-dso): New variable.
35562         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35563
35564         * elf/check-localplt.c: File removed.
35565
35566         * scripts/check-execstack.awk: New file.
35567         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35568         (check-execstack-CFLAGS): Variable removed.
35569         ($(objpfx)check-execstack.h): Target removed.
35570         ($(objpfx)execstack-default): New target.
35571         (generated): Add that instead of check-execstack.h.
35572         ($(all-built-dso:=.phdr)): New static pattern rule.
35573         (generated): Add those targets.
35574         * elf/check-execstack.c: File removed.
35575
35576         * scripts/check-textrel.awk: New file.
35577         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35578         (check-textrel-CFLAGS): Variable removed.
35579         (all-built-dso): Use := to define.o
35580         ($(all-built-dso:=.dyn)): New static pattern rule.
35581         (generated): Add those targets.
35582         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35583         * config.make.in (READELF): New substituted variable.
35584         * elf/check-textrel.c: File removed.
35585
35586 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35587
35588         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35589         allow.
35590         * conform/data/ctype.h-data [C99-based standards] (isblank):
35591         Expect function.
35592         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35593         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35594         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35595         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35596         Specify type.  Require positive value.
35597         (EILSEQ): Likewise.
35598         (ERANGE): Likewise.
35599         [ISO || POSIX] (EILSEQ): Do not expect.
35600         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35601         Specify type.  Require positive value.
35602         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35603         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35604         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35605         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35606         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35607         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35608         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35609         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35610         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35611         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35612         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35613         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35614         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35615         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35616         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35617         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35618         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35619         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35620         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35621         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35622         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35623         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35624         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35625         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35626         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35627         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35628         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35629         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35630         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35631         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35632         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35633         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35634         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35635         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35636         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35637         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35638         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35639         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35640         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35641         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35642         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35643         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35644         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35645         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35646         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35647         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35648         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35649         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35650         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35651         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35652         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35653         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35654         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35655         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35656         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35657         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35658         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35659         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35660         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35661         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35662         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35663         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35664         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35665         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35666         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35667         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35668         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35669         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35670         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35671         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35672         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35673         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35674         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35675         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35676         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35677         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35678         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35679         Require >= 2.
35680         (FLT_ROUNDS): Expect as macro, not constant.
35681         (FLT_MANT_DIG): Use macro-int-constant.
35682         (DBL_MANT_DIG): Likewise.
35683         (LDBL_MANT_DIG): Likewise.
35684         (FLT_DIG): Likewise.
35685         (DBL_DIG): Likewise.
35686         (LDBL_DIG): Likewise.
35687         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35688         (DBL_MIN_EXP): Likewise.
35689         (LDBL_MIN_EXP): Likewise.
35690         (FLT_MAX_EXP): Use macro-int-constant.
35691         (DBL_MAX_EXP): Likewise.
35692         (LDBL_MAX_EXP): Likewise.
35693         (FLT_MAX_10_EXP): Likewise.
35694         (DBL_MAX_10_EXP): Likewise.
35695         (LDBL_MAX_10_EXP): Likewise.
35696         (FLT_MAX): Use macro-constant.
35697         (DBL_MAX): Likewise.
35698         (LDBL_MAX): Likewise.
35699         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35700         (DBL_EPSILON): Likewise.
35701         (LDBL_EPSILON): Likewise.
35702         (FLT_MIN): Likewise.
35703         (DBL_MIN): Likewise.
35704         (LDBL_MIN): Likewise.
35705         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35706         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35707         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35708         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35709         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35710         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35711         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35712         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35713         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35714         [ISO11] (FLT_TRUE_MIN): Likewise.
35715         [ISO11] (LDBL_TRUE_MIN): Likewise.
35716         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35717         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35718         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35719         (SCHAR_MAX): Likewise.
35720         (UCHAR_MAX): Likewise.
35721         (CHAR_MIN): Likewise.
35722         (CHAR_MAX): Likewise.
35723         (MB_LEN_MAX): Use macro-int-constant.
35724         (SHRT_MIN): Use macro-int-constant.  Specify type.
35725         (SHRT_MAX): Likewise.
35726         (USHRT_MAX): Likewise.
35727         (INT_MAX): Likewise.
35728         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35729         bound negative.
35730         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35731         bound with "U".
35732         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35733         bound with "L".
35734         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35735         bound negative.  Suffix upper bound with "L".
35736         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35737         bound with "UL".
35738         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35739         Specify type.
35740         [C99-based standards] (LLONG_MAX): Likewise.
35741         [C99-based standards] (ULLONG_MAX): Likewise.
35742         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35743         == 0.
35744         [ISO11] (max_align_t): Require type.
35745         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35746
35747         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35748         from $CFLAGS, without defining away __attribute__ calls.
35749         (checknamespace): Use $CFLAGS_namespace.
35750
35751         * conform/conformtest.pl (@keywords): Only include C99 keywords
35752         for standards based on C99 or C11.
35753
35754         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35755         Disable tests.
35756         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35757         UNIX98]: Likewise.
35758
35759         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35760         usability of symbols in #if.
35761
35762         * conform/conformtest.pl: If macro or constant types start
35763         "promoted:", expect the symbol to be of the following type
35764         promoted by the integer promotions.
35765
35766         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35767         in one place.  Also handle "macro-constant".
35768
35769         * conform/conformtest.pl: Only accept expected macro values with
35770         "==".  Parse all "macro" lines in one place.
35771         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35772
35773         * conform/conformtest.pl: Handle braced types on "constant" lines
35774         instead of handling "typed-constant".
35775         * conform/data/signal.h-data: Use "constant" instead of
35776         "typed-constant".
35777
35778         * conform/conformtest.pl: Handle "optional-" at start of lines in
35779         one place rather than duplicating several cases.  Handle each
35780         format of "macro" line with initial "optional-".
35781
35782         * conform/conformtest.pl: Only accept expected constant or
35783         optional-constant values with "==".  Parse all "constant" lines in
35784         one place.  Parse all "optional-constant" lines in one place.
35785         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35786         * conform/data/fmtmsg.h-data: Likewise.
35787         * conform/data/netinet/in.h-data: Likewise.
35788         * conform/data/tar.h-data: Likewise.
35789         * conform/data/limits.h-data: Use "==" form on "constant" and
35790         "optional-constant" lines.
35791
35792         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35793         Use -std=c99 for XOPEN2K.
35794         (@knownproblems): Remove.
35795         (newtoken): Don't check %isknown.
35796
35797         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35798         Do not expect macro.
35799         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35800         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35801         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35802         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35803         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35804         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35805         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35806         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35807         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35808         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35809         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35810         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35811         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35812         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35813         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35814         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35815         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35816         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35817         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35818         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35819         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35820         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35821         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35822         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35823         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35824         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35825         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35826         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35827         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35828         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35829         [XPG3] (acosh): Likewise.
35830         [XPG3] (asinh): Likewise.
35831         [XPG3] (atanh): Likewise.
35832         [XPG3] (cbrt): Likewise.
35833         [XPG3] (expm1): Likewise.
35834         [XPG3] (ilogb): Likewise.
35835         [XPG3] (log1p): Likewise.
35836         [XPG3] (logb): Likewise.
35837         [XPG3] (nextafter): Likewise.
35838         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35839         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35840         [XPG3] (remainder): Likewise.
35841         [XPG3] (rint): Likewise.
35842         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35843         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35844         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35845         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35846         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35847         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35848         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35849         [UNIX98 || XOPEN2K] (scalb): Expect.
35850         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35851         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35852         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35853         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35854         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35855         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35856         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35857         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35858         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35859         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35860         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35861         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35862         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35863         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35864         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35865         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35866         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35867         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35868         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35869         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35870         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35871         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35872         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35873         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35874         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35875         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35876         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35877         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35878         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35879         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35880         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35882         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35883         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35884         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35885         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35886         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35887         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35888         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35889         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35891         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35892         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35893         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35894         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35895         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35896         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35897         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35898         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35899         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35900         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35901         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35902         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35903         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35904         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35905         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35906         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35907         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35908         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35909         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35910         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35911         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35912         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35913         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35914         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35915         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35916         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35917         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35918         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35919         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35920         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35921         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35922         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35923         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35924         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35925         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35926         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35927         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35928         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35929         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35930         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35931         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35932         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35933         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35934         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35935         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35936         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35937         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35938         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35939         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35940         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35941         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35942         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35943         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35944         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35945         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35946         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35947         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35948         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35949         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35950         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35951         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35952         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35953         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35954         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35955         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35956         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35957         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35958         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35959         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35960         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35961         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35962         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35963         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35964         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35965         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35966         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35967         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35968         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35969         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35970         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35971         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35972         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35973         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35974         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35975         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35976         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35977         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35978         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35979         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35980         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35981         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35982         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35983         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35984         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35985         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35986         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35987
35988         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35989         _XOPEN_SOURCE_EXTENDED for XPG4.
35990
35991         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35992
35993         * Makeconfig (localtime): Remove variable.
35994         (inst_localtime-file): Likewise.
35995
35996 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35997
35998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35999         Update.
36000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36001         Update.
36002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36003         Update.
36004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36005         Update.
36006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36007         Update.
36008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36009         Update.
36010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36011         Update.
36012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36013         Update.
36014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36015         Update.
36016
36017 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36018
36019         [BZ #2550]
36020         [BZ #2570]
36021         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36022         comparisons to determine direction to adjust input.
36023         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36024         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36025         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36026         Likewise.
36027         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36028         Likewise.
36029         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36030         Likewise.
36031         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36032         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36033         Likewise.
36034         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36035         Likewise.
36036         * math/libm-test.inc (nexttoward_test): Add more tests.
36037
36038 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36039
36040         [BZ #14040]
36041         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36042         in version GLIBC_2.1, not GLIBC_2.0.
36043         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36044         Likewise.
36045
36046 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
36047
36048         [BZ #13942]
36049         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36050         (1 - x) * (1 + x).
36051         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36052         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36053         * math/libm-test.inc (acos_test): Add more tests.
36054         (asin_test): Likewise.
36055         * sysdeps/i386/fpu/libm-test-ulps: Update.
36056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36057
36058         [BZ #14034]
36059         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36060         of square root.
36061         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36062         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36063         * math/libm-test.inc (acos_test_tonearest): New function.
36064         (acos_test_towardzero): Likewise.
36065         (acos_test_downward): Likewise.
36066         (acos_test_upward): Likewise.
36067         (asin_test_tonearest): Likewise.
36068         (asin_test_towardzero): Likewise.
36069         (asin_test_downward): Likewise.
36070         (asin_test_upward): Likewise.
36071         (main): Call the new functions.
36072         * sysdeps/i386/fpu/libm-test-ulps: Update.
36073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36074
36075         [BZ #13884]
36076         [BZ #13924]
36077         * math/e_exp10.c: Include <float.h>.
36078         (__ieee754_exp10): Handle underflow here rather than multiplying
36079         large negative argument by M_LN10.
36080         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36081         of __ieee754_expf.
36082         * math/e_exp10l.c: Include <float.h>.
36083         (__ieee754_exp10l): Handle underflow here rather than multiplying
36084         large negative argument by M_LN10l.
36085         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
36086         spurious overflow exception on underflow.
36087
36088 2012-04-29  Marek Polacek  <polacek@redhat.com>
36089
36090         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36091         (__fortify_function): New macro.
36092         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36093         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36094         __extern_always_inline.
36095         * libio/bits/stdio2.h: Likewise.
36096         * libio/bits/stdio.h: Likewise.
36097         * string/string.h: Likewise.
36098         * string/bits/string3.h: Likewise.
36099         * include/stdio.h: Likewise.
36100         * stdlib/bits/stdlib.h: Likewise.
36101         * stdlib/stdlib.h: Likewise.
36102         * rt/bits/mqueue2.h: Likewise.
36103         * rt/mqueue.h: Likewise.
36104         * posix/bits/unistd.h: Likewise.
36105         * posix/unistd.h: Likewise.
36106         * io/bits/poll2.h: Likewise.
36107         * io/bits/fcntl2.h: Likewise.
36108         * io/fcntl.h: Likewise.
36109         * io/sys/poll.h: Likewise.
36110         * misc/bits/syslog.h: Likewise.
36111         * misc/bits/syslog-ldbl.h: Likewise.
36112         * misc/sys/syslog.h: Likewise.
36113         * socket/bits/socket2.h: Likewise.
36114         * socket/sys/socket.h: Likewise.
36115         * debug/tst-chk1.c: Likewise.
36116         * wcsmbs/bits/wchar2.h: Likewise.
36117         * wcsmbs/bits/wchar-ldbl.h: Likewise.
36118         * wcsmbs/wchar.h: Likewise.
36119
36120 2012-04-29  Andreas Jaeger  <aj@suse.de>
36121
36122         * Makerules (tests): Remove enable-check-abi protection.
36123         (check-abi-warn): Remove.
36124         (check-abi-%): Remove check-abi-warn usage.
36125
36126         * configure.in: Remove check-abi configure option.
36127         * configure: Regenerated.
36128         * config.make.in (enable-check-abi): Remove.
36129
36130 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
36131
36132         [BZ #14033]
36133         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36134         double functions to double *_finite functions.
36135
36136         [BZ #13941]
36137         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36138         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36139         LDBL_MIN_EXP.
36140         * stdio-common/Makefile (tests): Add tst-sprintf3.
36141         * stdio-common/tst-sprintf3.c: New file.
36142
36143         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36144         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36145
36146 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36147
36148         * conform/conformtest.pl: Remove duplicate typed-constant
36149         handling.
36150
36151 2012-04-28  David S. Miller  <davem@davemloft.net>
36152
36153         * Makerules (%.abilist): Add vpath on sysdep_dirs.
36154         (check-abi-%): Remove AWK script prerequisite and explicit
36155         abilist directory.
36156         (check-abi): Rewrite to just diff the symlist with the abilist.
36157         (config-tls, config-abi-config): Delete, no longer used.
36158         (update-abi-%): Remove AWK script and explicit abilist directory.
36159         (update-abi): Rewrite to simply compare and conditionally copy the
36160         symlist and the sysdep abilist file.  Remove update-abi-config
36161         checks.
36162         * abilist/ld.abilist: Remove.
36163         * abilist/libBrokenLocale.abilist: Remove.
36164         * abilist/libanl.abilist: Remove.
36165         * abilist/libcrypt.abilist: Remove.
36166         * abilist/libdl.abilist: Remove.
36167         * abilist/librt.abilist: Remove.
36168         * abilist/libthread_db.abilist: Remove.
36169         * abilist/libutil.abilist: Remove.
36170         * scripts/extract-abilist.awk: Remove.
36171         * scripts/merge-abilist.awk: Remove.
36172         * sysdeps/generic/libcidn.abilist: New file.
36173         * sysdeps/generic/libnss_compat.abilist: New file.
36174         * sysdeps/generic/libnss_db.abilist: New file.
36175         * sysdeps/generic/libnss_dns.abilist: New file.
36176         * sysdeps/generic/libnss_files.abilist: New file.
36177         * sysdeps/generic/libnss_hesiod.abilist: New file.
36178         * sysdeps/generic/libnss_nis.abilist: New file.
36179         * sysdeps/generic/libnss_nisplus.abilist: New file.
36180         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36181         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36182         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36183         file.
36184         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36185         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36186         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36187         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36188         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36189         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36190         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36191         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36192         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36193         file.
36194         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36195         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36196         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36197         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36198         file.
36199         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36200         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36201         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36202         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36203         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36204         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36205         file.
36206         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36207         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36208         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36209         file.
36210         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36212         New file.
36213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36214         New file.
36215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36216         New file.
36217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36218         New file.
36219         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36220         New file.
36221         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36222         New file.
36223         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36224         New file.
36225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36226         New file.
36227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36228         New file.
36229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36230         New file.
36231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36232         New file.
36233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36234         New file.
36235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36236         New file.
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36238         file.
36239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36240         New file.
36241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36242         New file.
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36244         file.
36245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36246         New file.
36247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36248         New file.
36249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36250         file.
36251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36252         New file.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36254         New file.
36255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36256         New file.
36257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36258         New file.
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36260         New file.
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36262         New file.
36263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36265         file.
36266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36267         New file.
36268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36269         file.
36270         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36271         file.
36272         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36273         file.
36274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36275         file.
36276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36277         file.
36278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36279         New file.
36280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36281         file.
36282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36283         file.
36284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36285         New file.
36286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36287         file.
36288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36290         file.
36291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36292         New file.
36293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36294         file.
36295         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36296         file.
36297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36298         file.
36299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36300         file.
36301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36302         file.
36303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36304         New file.
36305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36306         file.
36307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36308         file.
36309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36310         New file.
36311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36312         file.
36313         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36314         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36315         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36316         file.
36317         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36318         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36319         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36320         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36321         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36322         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36323         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36324         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36325         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36326         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36329         file.
36330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36331         New file.
36332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36333         file.
36334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36335         file.
36336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36337         file.
36338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36339         file.
36340         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36341         file.
36342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36343         New file.
36344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36345         New file.
36346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36347         file.
36348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36349         New file.
36350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36351         file.
36352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36354         file.
36355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36356         New file.
36357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36358         file.
36359         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36360         file.
36361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36362         file.
36363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36364         file.
36365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36366         file.
36367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36368         New file.
36369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36370         New file.
36371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36372         file.
36373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36374         New file.
36375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36376         file.
36377
36378 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36379
36380         * conform/conformtest.pl: Fix typo in handling typed-constant from
36381         allow-header.
36382
36383 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36384
36385         * README: Cut down references to pre-2.6 Linux kernels and
36386         Linuxthreads.  Update lists of configurations in libc and ports
36387         and sort alphabetically.  Say "or newer" with Linux kernel version
36388         requirements.
36389
36390         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36391
36392 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36393
36394         [BZ #887]
36395         * math/libm-test.inc (logb_test_downward): New test to expose
36396         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36397         rounding mode.
36398
36399 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36400
36401         [BZ #14027]
36402         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36403         to be done.
36404         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36405         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36406
36407 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36408
36409         * sysdeps/unix/i386/brk.S: Remove file.
36410         * sysdeps/unix/i386/dl-brk.S: Likewise.
36411         * sysdeps/unix/i386/pipe.S: Likewise.
36412         * sysdeps/unix/i386/sigreturn.S: Likewise.
36413         * sysdeps/unix/i386/syscall.S: Likewise.
36414         * sysdeps/unix/i386/vfork.S: Likewise.
36415         * sysdeps/unix/i386/wait.S: Likewise.
36416
36417         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36418         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36419
36420         * configure.in (arm*-none*): Do not allow without
36421         --enable-hacker-mode.
36422         (netbsd*): Remove case setting base_os.
36423         (386bsd*): Likewise.
36424         (freebsd*): Likewise.
36425         (bsdi*): Likewise.
36426         (osf*): Likewise.
36427         (sunos*): Likewise.
36428         (ultrix*): Likewise.
36429         (newsos*): Likewise.
36430         (dynix*): Likewise.
36431         (*bsd*): Likewise.
36432         (sysv*): Likewise.
36433         (isc*): Likewise.
36434         (esix*): Likewise.
36435         (sco*): Likewise.
36436         (minix*): Likewise.
36437         (irix4*): Likewise.
36438         (irix6*): Likewise.
36439         (solaris[2-9]*): Likewise.
36440         (none): Likewise.
36441         * configure: Regenerated.
36442
36443 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36444
36445         [BZ #11521]
36446         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36447         overflow or cancellation in calculating denominator.
36448         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36449         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36450         down expression to avoid unexpected rounding in newer GCCs.
36451         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36452
36453 2012-04-26  David S. Miller  <davem@davemloft.net>
36454
36455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36456         long-double compat symbols.
36457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36470
36471 2012-04-25  David S. Miller  <davem@davemloft.net>
36472
36473         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36474         HWCAP_* values only after the memory barriers have been defined.
36475         (atomic_full_barrier): Define.
36476         (atomic_read_barrier): Define.
36477         (atomic_write_barrier): Define.
36478
36479 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36480
36481         * shlib-versions: Add libgcc_s version information.
36482         * sysdeps/generic/libgcc_s.h: Remove.
36483         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36484         libgcc_s.h.
36485         * sysdeps/gnu/unwind-resume.c: Likewise.
36486         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36487
36488 2012-04-25  David S. Miller  <davem@davemloft.net>
36489
36490         * sysdeps/unix/sparc/brk.S: Delete.
36491         * sysdeps/unix/sparc/dl-brk.S: Delete.
36492         * sysdeps/unix/sparc/pipe.S: Delete.
36493         * sysdeps/unix/sparc/sysdep.S: Delete.
36494         * sysdeps/unix/sparc/sysdep.h: Delete.
36495         * sysdeps/unix/sparc/vfork.S: Delete.
36496         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36497         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36498         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36499         (ret_ERRVAL, r0, r1, MOVE): Define.
36500         (JUMPTARGET): Remove.
36501         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36502         sysdeps/unix/sparc/sysdep.h
36503         (ENTRY, END): Remove.
36504         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36505
36506 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36507
36508         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36509         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36510         -DIS_IN_build.
36511
36512         * timezone/README: Update upstream location and email address for
36513         tzcode and tzdata.
36514         * timezone/zdump.c: Update from tzcode 2012b.
36515         * timezone/zic.c: Likewise.
36516
36517         * configure.in (libc_cv_as_needed): Remove test.
36518         * configure: Regenerated.
36519         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36520         conditional definition.
36521         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36522         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36523         * config.make.in (have-as-needed): Remove variable.
36524
36525 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36526             Paul Pluzhnikov  <ppluzhnikov@google.com>
36527
36528         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36529         strings correctly.
36530
36531 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36532
36533         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36534         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36535         * sysdeps/sh/strlen.S: Likewise.
36536
36537 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36538
36539         * sysdeps/unix/fork.S: Remove file.
36540         * sysdeps/unix/i386/fork.S: Likewise.
36541         * sysdeps/unix/sparc/fork.S: Likewise.
36542
36543         * sysdeps/unix/system.c: Remove file.
36544         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36545
36546         * sysdeps/unix/getegid.S: Remove file.
36547         * sysdeps/unix/geteuid.S: Likewise.
36548
36549 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36550
36551         * scripts/check-localplt.awk: New file.
36552         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36553         of diff.
36554         * scripts/data/localplt-generic.data: Add a comment.
36555
36556         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36557         NODE when __dir_mkfile failed.
36558         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36559         Reported by Ludovic Courtès <ludo@gnu.org>.
36560
36561 2012-04-24  Andreas Jaeger  <aj@suse.de>
36562
36563         * Makerules (common-clean): Also remove gen-as-const-headers
36564         files.
36565
36566 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36567
36568         * Makerules (native-compile): Do not change working directory for
36569         build.  Use $(OUTPUT_OPTION) in command.
36570         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36571
36572 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36573
36574         [BZ #13886]
36575         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36576         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36577         * math/libm-test.inc (floor_test): Add more tests.
36578         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36579
36580 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36581
36582         * sysdeps/unix/getdents.c: Remove file.
36583         * sysdeps/unix/sysv/getdents.c: Likewise.
36584         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36585
36586         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36587         sysdeps/unix/mman/syscalls.list.
36588         (mmap): Likewise.
36589         (mprotect): Likewise.
36590         (msync): Likewise.
36591         (munmap): Likewise.
36592         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36593         * sysdeps/unix/mman/syscalls.list: Remove.
36594         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36595
36596         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36597         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36598         * configure: Regenerated.
36599         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36600         $(libgcc_s_suffix).
36601         * config.make.in (libgcc_s_suffix): Remove variable.
36602
36603 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36604
36605         * sysdeps/unix/sysv/gethostname.c: Move to ...
36606         * sysdeps/posix/gethostname.c: ... here.
36607
36608         * sysdeps/unix/execve.S: Remove file.
36609
36610         * sysdeps/unix/_exit.S: Remove file.
36611
36612 2012-04-23  Andreas Jaeger  <aj@suse.de>
36613
36614         [BZ #13739]
36615         * manual/Makefile: Remove make dist support, there's no
36616         need for a stand-alone documentation tar ball.
36617         (TEXI2DVI): Define always, it's not in Makeconfig.
36618         (dist): Removed.
36619         (tar-it): Removed.
36620         (edition): Removed.
36621         (glibc-doc-$(edition).tar): Removed
36622         (%.Z): Removed.
36623         (%.gz): Removed.
36624         (%.uu): Removed.
36625         (ETAGS): Remove, it's in Makeconfig.
36626         (move-if-change): Remove, it's in Makeconfig.
36627
36628 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36629
36630         [BZ #13970]
36631         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36632         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36633         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36634         (strtod_l, strtof_l, strtold_l): Remove __wur.
36635         It is not necessarily an error to ignore strtol's return value.
36636         One can reliably look at the stored endptr to decide whether
36637         the number had valid syntax.
36638
36639 2012-04-21  Andreas Jaeger  <aj@suse.de>
36640
36641         [BZ #13739]
36642         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36643
36644 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36645
36646         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36647         * sysdeps/unix/sysv/Versions: Remove file.
36648
36649 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36650
36651         [BZ #13927]
36652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36653
36654 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36655
36656         [BZ #7064]
36657         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36658         version from __vm86.
36659
36660 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36661
36662         * sysdeps/unix/common/lxstat.c: Remove file.
36663         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36664
36665         * sysdeps/unix/sysv/Makefile: Remove file.
36666
36667         * sysdeps/unix/sysv/direct.h: Remove file.
36668
36669         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36670         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36671         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36672         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36673         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36674         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36675         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36676
36677         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36678
36679         * sysdeps/unix/xmknod.c: Remove file.
36680         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36681
36682         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36683
36684         * sysdeps/unix/sysv/i386/time.S: Remove file.
36685
36686         * sysdeps/unix/fxstat.c: Remove file.
36687         * sysdeps/unix/xstat.c: Likewise.
36688         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36689
36690         * sysdeps/unix/sysv/sigaction.c: Remove file.
36691
36692         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36693         (sysdep_headers): Remove variable.
36694         [termio.h not in sysdep_headers] (generated): Likewise.
36695         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36696         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36697         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36698         * sysdeps/unix/sysv/tcflow.c: Likewise.
36699         * sysdeps/unix/sysv/tcflush.c: Likewise.
36700         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36701         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36702         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36703         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36704         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36705
36706         * sysdeps/unix/siglist.c: Remove file.
36707
36708         * sysdeps/unix/getppid.S: Remove file.
36709
36710         * sysdeps/unix/mkdir.c: Remove file.
36711         * sysdeps/unix/rmdir.c: Likewise.
36712
36713 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36714
36715         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36716         ERR_MAX value.
36717         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36718         errlist-compat value.
36719
36720 2012-04-18  David S. Miller  <davem@davemloft.net>
36721
36722         * sysdeps/generic/memcopy.h (reg_char): Delete.
36723         * debug/strcat_chk.c: Use char, not reg_char.
36724         * debug/strcpy_chk.c: Likewise.
36725         * debug/strncat_chk.c: Likewise.
36726         * debug/strncpy_chk.c: Likewise.
36727         * string/memchr.c: Likewise.
36728         * string/memrchr.c: Likewise.
36729         * string/rawmemchr.c: Likewise.
36730         * string/strcat.c: Likewise.
36731         * string/strchr.c: Likewise.
36732         * string/strchrnul.c: Likewise.
36733         * string/strcmp.c: Likewise.
36734         * string/strcpy.c: Likewise.
36735         * string/strncat.c: Likewise.
36736         * string/strncmp.c: Likewise.
36737         * string/strncpy.c: Likewise.
36738
36739 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36740
36741         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36742         __builtin_memcopy is called when src and dest ranges are known to not
36743         overlap.
36744
36745 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36746
36747         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36748         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36749         fwd_align_merge macro call.
36750         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36751         bwd_align_merge macro call.
36752         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36753
36754 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36755
36756         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36757         bwd_align_merge macros.
36758         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36759         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36760         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36761
36762 2012-04-18  David S. Miller  <davem@davemloft.net>
36763
36764         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36765
36766 2012-04-18  Andreas Jaeger  <aj@suse.de>
36767
36768         [BZ# 6794]
36769         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36770         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36771         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36772
36773         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36774         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36775         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36776
36777         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36778         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36779         Adjust for changed ldbl-128 files.
36780
36781         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36782         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36783         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36784
36785 2012-04-17  David S. Miller  <davem@davemloft.net>
36786
36787         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36788
36789 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36790
36791         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36792         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36793         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36794         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36795         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36796         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36797
36798 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36799
36800         [BZ #6794]
36801         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36802         * math/libm-test.inc: Add ilogb errno and exception tests.
36803         * math/w_ilogb.c: New file: ilogb wrapper.
36804         * math/w_ilogbf.c: New file: ilogbf wrapper.
36805         * math/w_ilogbl.c: New file: ilogbl wrapper.
36806         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36807         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36808         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36809         exception being thrown with 0.0 as argument.
36810         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36811         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36812         exception being thrown with 0.0 as argument.
36813         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36814         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36815         exception being thrown with 0.0 as argument.
36816         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36817         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36818         exception being thrown with 0.0 as argument.
36819         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36820         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36821         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36822         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36823         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36824         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36825         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36826         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36827         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36828
36829 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36830
36831         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36832         with altivec.
36833
36834 2012-04-16  Marek Polacek  <polacek@redhat.com>
36835
36836         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36837
36838 2012-04-16  Marek Polacek  <polacek@redhat.com>
36839
36840         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36841         operands of fdivp instruction.
36842
36843 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36844
36845         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36846         * elf/tst-auditmod3b.c: Likewise.
36847         * elf/tst-auditmod4b.c: Likewise.
36848         * elf/tst-auditmod5b.c: Likewise.
36849         * elf/tst-auditmod6b.c: Likewise.
36850         * elf/tst-auditmod6c.c: Likewise.
36851         * elf/tst-auditmod7b.c: Likewise.
36852         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36853         * sysdeps/x86_64/preconfigure.in: Likewise.
36854         * sysdeps/x86_64/preconfigure: Regenerated.
36855
36856 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36857
36858         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36859         __ILP32__.
36860
36861 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36862
36863         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36864         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36865
36866 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36867
36868         [BZ #13973]
36869         * locale/iso-639.def: Fix gl language name. Spotted by
36870         Yaron Shahrabani.
36871
36872 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36873
36874         [BZ #2074]
36875         * libio/libio.h (__io_write_fn): Update comment.
36876
36877 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36878
36879         [BZ #2074]
36880         * stdio.texi (Hook Functions): The user provided writer function
36881         is not allowed to return -1.
36882
36883 2012-04-11  David S. Miller  <davem@davemloft.net>
36884
36885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36886
36887 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36888
36889         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36890         Add a leading slash to rtkaio.
36891
36892 2012-04-11  Jim Meyering  <meyering@redhat.com>
36893
36894         [BZ #11959]
36895         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36896         It is not necessarily an error to ignore fwrite's return
36897         value.  One can reliably use ferror to test for errors after
36898         the fact.
36899
36900 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36901
36902         * bits/types.h (__snseconds_t): New type.
36903         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36904
36905         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36906         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36907         (__SNSECONDS_T_TYPE): Likewise.
36908         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36909         (__SNSECONDS_T_TYPE): Likewise.
36910         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36911         (__SNSECONDS_T_TYPE): Likewise.
36912
36913 2012-04-10  Andreas Jaeger  <aj@suse.de>
36914
36915         [BZ #2636]
36916         * manual/time.texi (Processor Time): Return type of times is
36917         elapsed real time since an arbitrary point in the past.
36918         (CPU Time): Move CLK_TCK from here...
36919         (Processor Time): ...to here.  Correct description.
36920         * manual/conf.texi (Constants for Sysconf): Correct description of
36921         _SC_CLK_TCK.
36922
36923 2012-04-10  David S. Miller  <davem@davemloft.net>
36924
36925         [BZ #13967]
36926         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36927         where the is a gap between DT_REL(A) and DT_JMPREL.
36928
36929 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36930
36931         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36932         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36933         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36934
36935 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36936
36937         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36938         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36939         (dl_main): Handle --inhibit-cache.
36940         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36941         _dl_inhibit_cache.
36942         * elf/dl-load.c (_dl_map_object): Use it.
36943         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36944
36945 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36946
36947         [BZ #13872]
36948         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36949         (__ieee754_powl): Saturate large exponents rather than testing for
36950         overflow of y*log2(x).
36951         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36952         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36953         exceptions.
36954
36955         [BZ #11521]
36956         * math/s_ctan.c: Include <float.h>.
36957         (__ctan): Avoid internal overflow or cancellation in calculating
36958         denominator.
36959         * math/s_ctanf.c: Likewise.
36960         * math/s_ctanl.c: Likewise.
36961         * math/s_ctanh.c: Likewise.
36962         * math/s_ctanhf.c: Likewise.
36963         * math/s_ctanhl.c: Likewise.
36964         * math/libm-test.inc (ctan_test): Add more tests.
36965         (ctanh_test): Likewise.
36966         * sysdeps/i386/fpu/libm-test-ulps: Update.
36967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36968
36969 2012-04-09  Andreas Jaeger  <aj@suse.de>
36970
36971         [BZ #6894]
36972         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36973         is an optional BSD extension.
36974
36975         [BZ #10254]
36976         * manual/stdio.texi (Opening Streams): Document additional fopen
36977         parameters.
36978
36979 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36980
36981         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36982         %eax without telling the compiler.
36983
36984 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36985
36986         [BZ # 13963]
36987         * manual/install.texi: Use sourceware.org.
36988
36989 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36990
36991         [BZ #13873]
36992         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36993         (__ieee754_pow): Generate overflow and underflow using huge*huge
36994         and tiny*tiny rather than just returning constant infinity or zero
36995         for large exponents.
36996         * math/libm-test.inc (pow_test): Require overflow exceptions for
36997         applicable cases of large exponents.
36998
36999         [BZ #706]
37000         * sysdeps/i386/fpu/e_pow.S (p10): New object.
37001         (__ieee754_pow): Use iterative multiplication algorithm only for
37002         integer exponents with absolute value below 1024.  Check for odd
37003         integer exponents when using algorithm for real exponents.
37004         * math/libm-test.inc (pow_test): Add more tests.
37005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37006
37007 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
37008
37009         [BZ #13705]
37010         * math/libm-test.inc (exp_test): Do not allow overflow exception
37011         on underflow test.
37012
37013 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
37014
37015         [BZ #13705]
37016         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37017         instead of __kernel_standard_f.
37018
37019 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
37020
37021         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37022         * sysdeps/x86_64/memset_chk.S: Likewise.
37023
37024 2012-04-08  Andreas Jaeger  <aj@suse.de>
37025
37026         [BZ #10153]
37027         * manual/startup.texi (Environment Access): Describe return value
37028         for putenv and setenv.
37029
37030         [BZ #6895]
37031         * manual/filesys.texi (Directory Entries): Add description for
37032         DT_LNK.
37033
37034         [BZ #6890]
37035         * manual/filesys.texi (Directory Entries): Clarify that it's file
37036         system not operating system in the description of DT_UNKNOWN.
37037
37038         [BZ #6578]
37039         * manual/syslog.texi (closelog): Fix reference, it's openlog.
37040
37041 2012-04-08  Stephen Compall  <s11@member.fsf.org>
37042
37043         [BZ #6649]
37044         * manual/llio.texi (Opening and Closing Files): Add cross
37045         reference to explain mode argument.
37046
37047 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
37048
37049         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37050         * sysdeps/x86_64/memset_chk.S: Likewise.
37051
37052 2012-04-07  David S. Miller  <davem@davemloft.net>
37053
37054         * elf/elf.h (R_SPARC_WDISP10): Define.
37055         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37056         R_SPARC_SIZE32.
37057         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37058         R_SPARC_SIZE64 and R_SPARC_H34.
37059
37060 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
37061
37062         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37063         conditions and remove no longer applicable assertion.
37064
37065 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37066
37067         * bits/byteswap.h: Include <features.h>.
37068         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37069         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37070
37071 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
37072
37073         * bits/byteswap.h (__bswap_16): Removed.
37074         Include <bits/byteswap-16.h> to get __bswap_16.
37075         * sysdeps/i386/bits/byteswap.h: Likewise.
37076         * sysdeps/s390/bits/byteswap.h: Likewise.
37077         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37078         * bits/byteswap-16.h: New file.
37079         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37080         * sysdeps/s390/bits/byteswap-16.h: Likewise.
37081         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37082         * string/Makefile (headers): Add bits/byteswap-16.h.
37083
37084 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37085
37086         [BZ #13895]
37087         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37088         extra indirection.
37089         * nss/Makefile (tests-static, tests): Add tst-nss-static.
37090         * nss/tst-nss-static.c: New.
37091
37092 2012-04-06  Robert Millan  <rmh@gnu.org>
37093
37094         [BZ #6486]
37095         * manual/llio.texi (File Position Primitive): lseek
37096         refers to WHENCE when it really means OFFSET.
37097
37098 2012-04-06  Andreas Jaeger  <aj@suse.de>
37099
37100         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37101         strncmp declarations.
37102
37103         * abilist/libc.abilist: Add __poll and __ppoll.
37104
37105 2012-04-05  David S. Miller  <davem@davemloft.net>
37106
37107         * scripts/check-local-headers.sh: Accept a host triplet in the
37108         path matched by the exclude regexp.
37109
37110         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37111         definition.
37112         * sysdeps/powerpc/powerpc32/dl-machine.h
37113         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37114         * sysdeps/s390/s390-32/dl-machine.h
37115         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37116         * sysdeps/sparc/sparc32/dl-machine.h
37117         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37118         * sysdeps/sparc/sparc64/dl-machine.h
37119         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37120
37121         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37122         lazy binding.
37123         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37124         undefined symbol errors.
37125
37126         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37127         DT_NEEDED entries.
37128
37129 2012-04-05  Michael Matz  <matz@suse.de>
37130
37131         [BZ #13592]
37132         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37133
37134 2012-04-05  Andreas Jaeger  <aj@suse.de>
37135
37136         [BZ #13908]
37137         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37138         comment.
37139
37140 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37141
37142         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37143         which ROUND is no valid rounding mode.
37144
37145 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37146
37147         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37148         read again.
37149         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37150
37151 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37152
37153         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37154         an exception using FPU order intentionally.
37155
37156 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37157
37158         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37159         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37160         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37161         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37162
37163 2012-04-05  Simon Josefsson  <simon@josefsson.org>
37164
37165         [BZ #12340]
37166         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37167         EINVAL when BUFLEN is too smal.
37168
37169 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37170
37171         [BZ #13553]
37172         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37173         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37174
37175 2012-04-03  Andreas Jaeger  <aj@suse.de>
37176
37177         [BZ #13938]
37178         * manual/setjmp.texi (System V contexts): Fix sentence.
37179
37180         [BZ #13926]
37181         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37182         New macro for this case.
37183         [!__GNUC__] (__bswap_64): New inline function for this case.
37184         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37185         * bits/byteswap.h: Likewise.
37186         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37187         ull, guard with __GLIBC_HAVE_LONG_LONG.
37188
37189         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37190         __GLIBC_HAVE_LONG_LONG.
37191
37192         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37193         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37194
37195 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37196
37197         [BZ #13691]
37198         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37199         inptr and inend, rather than using last_ch.
37200
37201 2012-04-02  David S. Miller  <davem@davemloft.net>
37202
37203         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37204         * stdio-common/printf-parse.h (read_int): Change return type to
37205         'int', return -1 on INT_MAX overflow.
37206         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37207         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
37208         overflows INT_MAX.  Check for overflow of in-format-string precision
37209         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
37210         SIZE_MAX not INT_MAX for integer overflow test.
37211         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37212         skip the construct in the format string but do not record anything.
37213         * stdio-common/bug22.c: Adjust to test both width/prevision
37214         INT_MAX overflow as well as total length INT_MAX overflow.  Check
37215         explicitly for proper errno values.
37216
37217 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37218
37219         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37220         CHAR_MAX.
37221         * string/test-strcmp.c [! WIDE]: Likewise.
37222         * time/tst-mktime2.c: Likewise for INT_MAX.
37223         * string/test-string.h: #include <sys/param.h> for MIN.
37224
37225         * csu/init-first.c (__libc_init_first): Call __ctype_init.
37226         * sysdeps/i386/init-first.c (init): Likewise.
37227         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37228         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37229         * sysdeps/sh/init-first.c (init): Likewise.
37230
37231 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
37232
37233         * po/ru.po: Update from translation team.
37234         * po/vi.po: Likewise.
37235
37236 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37237
37238         * resolv/nss_dns/dns-host.c: Merge copyright years.
37239
37240 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37241
37242         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37243         Optimize memcpy with prefetch if
37244         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
37245         src, dst pointers have unequal 16 byte alignments.
37246
37247 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37248
37249         [BZ #13928]
37250         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37251         from a CNAME entry and return the minimum ttl for the query.
37252         (gaih_getanswer_slice): Likewise.
37253
37254 2012-03-30  Jeff Law  <law@redhat.com>
37255
37256         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37257         due to long keys.
37258         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37259         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37260
37261         * resolv/nss_dns/dns-host.c: Update copyright year.
37262
37263 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
37264
37265         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37266         requests to save a system call.  Fix check that all bytes are sent.
37267
37268         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37269         comments for sendmmsg.
37270
37271 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37272
37273         [BZ #13691]
37274         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37275         with only 1 character between 0x0041 and 0x01b0.
37276         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37277         * wcsmbs/tst-mbsnrtowcs.c: New file.
37278
37279 2012-03-29  David S. Miller  <davem@davemloft.net>
37280
37281         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37282         small copies by hand.
37283
37284 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37285
37286         [BZ #13761]
37287         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37288         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37289         group memberships.
37290
37291 2012-03-28  David S. Miller  <davem@davemloft.net>
37292
37293         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37294         that branches into memcpy.
37295         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37297         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37298         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37299         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37300         bits.
37301         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37302         implementation too.
37303         * sysdeps/sparc/mempcpy.S: New file.
37304
37305         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37306         the IFUNC routine in the libc case.
37307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37308
37309         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37310         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37311         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37312         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37313         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37314         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37315         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37316         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37317
37318         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37319         loop to 256 bytes instead of 64 bytes and fix test signedness.
37320
37321         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37322         * sysdeps/sparc/sparc32/Makefile: rather than here...
37323         * sysdeps/sparc/sparc64/Makefile: and here.
37324
37325 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
37326
37327         * malloc/mallocbug.c: Avoid warnings about unused variables.
37328
37329 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37330
37331         [BZ #13760]
37332         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37333         in the right place. Discard and retry query if response is
37334         larger than input buffer size.
37335
37336 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37337
37338         [BZ #369]
37339         [BZ #2678]
37340         [BZ #3866]
37341         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37342         x for large integer exponent.
37343         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37344         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37345         sign of result as needed afterwards.
37346         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37347         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37348         result for underflowing pow the same as for overflow.
37349         (__kernel_standard_l): Handle powl overflow and underflow here
37350         rather than calling __kernel_standard.
37351         * math/libm-test.inc (pow_test): Add more tests.
37352
37353         [BZ #3868]
37354         [BZ #13879]
37355         [BZ #13910]
37356         [BZ #13911]
37357         [BZ #13912]
37358         [BZ #13913]
37359         [BZ #13915]
37360         [BZ #13916]
37361         [BZ #13917]
37362         [BZ #13918]
37363         [BZ #13919]
37364         [BZ #13920]
37365         [BZ #13921]
37366         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37367         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37368         (__kernel_standard_l): New function.
37369         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37370         __kernel_standard.
37371         * math/w_acosl.c (__acosl): Likewise.
37372         * math/w_asinl.c (__asinl): Likewise.
37373         * math/w_atan2l.c (__atan2l): Likewise.
37374         * math/w_atanhl.c (__atanhl): Likewise.
37375         * math/w_coshl.c (__coshl): Likewise.
37376         * math/w_exp10l.c (__exp10l): Likewise.
37377         * math/w_exp2l.c (__exp2l): Likewise.
37378         * math/w_fmodl.c (__fmodl): Likewise.
37379         * math/w_hypotl.c (__hypotl): Likewise.
37380         * math/w_j0l.c (__j0l, __y0l): Likewise.
37381         * math/w_j1l.c (__j1l, __y1l): Likewise.
37382         * math/w_jnl.c (__jnl, __ynl): Likewise.
37383         * math/w_lgammal.c (__lgammal): Likewise.
37384         * math/w_log10l.c (__log10l): Likewise.
37385         * math/w_log2l.c (__log2l): Likewise.
37386         * math/w_logl.c (__logl): Likewise.
37387         * math/w_powl.c (__powl): Likewise.
37388         * math/w_remainderl.c (__remainderl): Likewise.
37389         * math/w_scalbl.c (sysv_scalbl): Likewise.
37390         * math/w_sinhl.c (__sinhl): Likewise.
37391         * math/w_sqrtl.c (__sqrtl): Likewise.
37392         * math/w_tgammal.c (__tgammal): Likewise.
37393         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37394         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37395         * math/libm-test.inc (acos_test): Add more tests.
37396         (acosh_test): Likewise.
37397         (asin_test): Likewise.
37398         (atanh_test): Likewise.
37399         (exp_test): Likewise.
37400         (exp10_test): Likewise.
37401         (exp2_test): Likewise.
37402         (expm1_test): Likewise.
37403         (lgamma_test): Likewise.
37404         (log_test): Likewise.
37405         (log10_test): Likewise.
37406         (log1p_test): Likewise.
37407         (log2_test): Likewise.
37408         (pow_test): Do not allow some spurious overflow exceptions.
37409         (sqrt_test): Add more tests.
37410         (tgamma_test): Likewise.
37411         (y0_test): Likewise.
37412         (y1_test): Likewise.
37413         (yn_test): Likewise.
37414
37415 2012-03-27  Anton Blanchard  <anton@samba.org>
37416
37417         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37418         MAP_HUGETLB.
37419         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37420         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37421         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37422
37423 2012-03-27  David S. Miller  <davem@davemloft.net>
37424
37425         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37426
37427         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37428         have-as-vis3 check.
37429
37430 2012-03-27  Andreas Jaeger  <aj@suse.de>
37431
37432         * sysdeps/x86_64/elf/configure.in: Moved to ...
37433         * sysdeps/x86_64/configure.in: ... here.
37434         * sysdeps/x86_64/elf/start.S: Moved to ...
37435         * sysdeps/x86_64/start.S: ... here.
37436         * sysdeps/x86_64/elf/configure: Delete.
37437
37438         * sysdeps/x86_64/configure.in: Merge contents from
37439         sysdeps/i386/configure.in (without i686 check).
37440
37441         * sysdeps/i386/elf/Versions: Merge into ...
37442         * sysdeps/i386/Versions: ... this.
37443         * sysdeps/i386/elf/Versions: Delete file.
37444         * sysdeps/i386/elf/start.S: Moved to ...
37445         * sysdeps/i386/start.S: ...here.
37446         * sysdeps/i386/elf/configure.in: Merge into...
37447         * sysdeps/i386/configure.in: ...here.
37448         * sysdeps/i386/elf/configure.in: Delete file.
37449         * sysdeps/i386/elf/configure: Delete file.
37450
37451         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37452         * debug/backtracesyms.c: ... here.
37453         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37454         * debug/backtracesymsfd.c: ... here.
37455         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37456         * sysdeps/generic/ifunc-sel.h: ... here.
37457
37458         * sysdeps/unix/i386/start.c: Delete file.
37459         * sysdeps/unix/sparc/start.c: Delete file.
37460         * sysdeps/unix/start.c: Delete file.
37461
37462         * sysdeps/sh/elf/configure.in: Moved to ...
37463         * sysdeps/sh/configure.in: ... here.
37464         * sysdeps/sh/elf/start.S: Moved to ...
37465         * sysdeps/sh/start.S: ... here.
37466         * sysdeps/sh/elf/configure: Delete file.
37467
37468         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37469         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37470         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37471         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37472         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37473         * sysdeps/powerpc/powerpc64/start.S: here.
37474         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37475         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37476         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37477         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37478         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37479
37480         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37481         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37482         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37483         * sysdeps/powerpc/powerpc32/start.S: ... here.
37484         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37485         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37486         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37487
37488         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37489         * sysdeps/powerpc/ifunc-sel.h: ... here.
37490         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37491         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37492
37493         * sysdeps/sparc/elf/configure.in: Moved to ...
37494         * sysdeps/sparc/configure.in: ... here.
37495         * sysdeps/sparc/elf/configure: Delete file.
37496         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37497         * sysdeps/sparc/sparc32/start.S: ... here.
37498         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37499         * sysdeps/sparc/sparc64/start.S: ... here.
37500         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37501         * sysdeps/sparc/sparc32/Makefile: ... this.
37502         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37503         * sysdeps/sparc/sparc64/Makefile: ... this.
37504
37505         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37506         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37507         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37508         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37509         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37510         * sysdeps/s390/s390-32/setjmp.S: ... here.
37511         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37512         * sysdeps/s390/s390-32/configure.in: ... here.
37513         * sysdeps/s390/s390-32/elf/configure: Delete file.
37514         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37515         * sysdeps/s390/s390-32/start.S: ... here.
37516
37517         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37518         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37519         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37520         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37521         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37522         * sysdeps/s390/s390-64/setjmp.S: ... here.
37523         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37524         * sysdeps/s390/s390-64/configure.in: ... here
37525         * sysdeps/s390/s390-64/elf/configure: Delete file.
37526         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37527         * sysdeps/s390/s390-64/start.S: ... here.
37528         * sysdeps/s390/s390-64/elf/configure: Delete.
37529
37530         * configure.in: Remove support for elf directories in sysdeps.
37531
37532         * configure: Regenerated.
37533         * sysdeps/i386/configure: Regenerated.
37534         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37535         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37536         * sysdeps/s390/s390-32/configure: Regenerated.
37537         * sysdeps/s390/s390-64/configure: Regenerated.
37538         * sysdeps/sh/configure: Regenerated.
37539         * sysdeps/sparc/configure: Regenerated.
37540         * sysdeps/x86_64/configure: Regenerated.
37541
37542 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37543
37544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37545
37546         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37547         denormal result into account.
37548
37549 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37550
37551         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37552         Reported by Allan McRae <allan@archlinux.org>.
37553
37554 2012-03-23  Jeff Law  <law@redhat.com>
37555
37556         * nss/getnssent.c (__nss_getent): Fix typo.
37557
37558 2012-03-23  David S. Miller  <davem@davemloft.net>
37559
37560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37561
37562 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37563
37564         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37565         to pad to uint64_t for each field.
37566         (dl_tls_index): Replace unsigned long with uint64_t.
37567
37568 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37569         Paul Pluzhnikov  <ppluzhnikov@google.com>
37570
37571         [BZ #6528]
37572         * grp/Makefile (otherlibs): Don't set it.
37573         * inet/Makefile (otherlibs): Likewise.
37574         * login/Makefile (otherlibs): Likewise.
37575         * nscd/Makefile (otherlibs): Likewise.
37576         * posix/Makefile (otherlibs): Likewise.
37577         * pwd/Makefile (otherlibs): Likewise.
37578         * rt/Makefile (otherlibs): Likewise.
37579         * sunrpc/Makefile (otherlibs): Likewise.
37580         * nss/Makefile (otherlibs): Likewise.
37581         Add libnss_files to routines and static-only-routines.
37582         ($(objpfx)getent): Remove rule.
37583         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37584         static-only-routines.
37585
37586 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37587
37588         [BZ #13892]
37589         * math/s_cexp.c: Include <float.h>.
37590         (__cexp): Handle exp result overflowing not necessarily
37591         overflowing both real and imaginary parts of result.
37592         * math/s_cexpf.c: Likewise.
37593         * math/s_cexpl.c: Likewise.
37594         * math/libm-test.inc (cexp_test): Add more tests.
37595         * sysdeps/i386/fpu/libm-test-ulps: Update.
37596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37597
37598 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37599
37600         * include/link.h (ELFW): New macro.
37601         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37602         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37603
37604 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37605
37606         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37607         with uint64_t.
37608
37609 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37610
37611         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37612         declaration.
37613         (struct La_x32_retval): Likewise.
37614
37615 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37616
37617         * sysdeps/x86_64/preconfigure.in: New file.
37618         * sysdeps/x86_64/preconfigure: New generated file.
37619
37620 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37621
37622         [BZ #13824]
37623         * math/e_exp2l.c: Include <float.h>.
37624         (__ieee754_exp2l): Handle overflow and underflow cases
37625         separately.  Only pass fractional part of argument to
37626         __ieee754_expl.
37627         * math/libm-test.inc (exp2_test): Add more tests.
37628
37629         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37630         negating x to take absolute value.
37631         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37632         Likewise.
37633         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37634         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37635         Likewise.
37636         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37637         computing low part if x was negated.
37638         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37639
37640 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37641
37642         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37643         la_x32_gnu_pltexit.
37644         (pltexit): Cast int_retval to ptrdiff_t.
37645         * elf/tst-auditmod3b.c: Likewise.
37646         * elf/tst-auditmod4b.c: Likewise.
37647         * elf/tst-auditmod5b.c: Likewise.
37648         * elf/tst-auditmod6b.c: Likewise.
37649         * elf/tst-auditmod6c.c: Likewise.
37650         * elf/tst-auditmod7b.c: Likewise.
37651
37652         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37653         and x32_gnu_pltexit.
37654
37655         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37656         __ELF_NATIVE_CLASS.
37657         (La_x32_regs): New macro.
37658         (La_x32_retval): Likewise.
37659         (la_x32_gnu_pltenter): New function prototype.
37660         (la_x32_gnu_pltexit): Likewise.
37661
37662 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37663
37664         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37665         exponent.
37666
37667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37668
37669         * configure.in (libc_cv_cc_nofma): Check for option to disable
37670         generation of FMA instructions.
37671         * configure: Regenerate.
37672         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37673         * sysdeps/ieee754/dbl-64/Makefile: New file.
37674         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37675         Remove brandred-fma4.
37676         (CFLAGS-brandred-fma4.c): Remove.
37677         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37678         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37679         define.
37680         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37681         define.
37682
37683 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37684
37685         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37686         LLONG_MAX != LONG_MAX.
37687         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37688         (_fitoa_word): Likewise.
37689         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37690         LLONG_MAX != LONG_MAX.
37691         * stdio-common/_itowa.h: Include <_itoa.h>.
37692         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37693         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37694         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37695         only if not defined.
37696         (_ITOA_WORD_TYPE): Likewise.
37697         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37698         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37699
37700 2012-03-21  David S. Miller  <davem@davemloft.net>
37701
37702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37703
37704 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37705
37706         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37707         of x86_64 when setting libc_cv_slibdir, libdir and
37708         libc_cv_localedir.
37709         * sysdeps/unix/sysv/linux/configure: Regenerated.
37710
37711 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37712
37713         * manual/lang.texi (Old Varargs): Remove section.
37714         (How Variadic): Update menu.
37715         (va_start): Do not mention varargs.h.
37716
37717 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37718             Joseph Myers  <joseph@codesourcery.com>
37719
37720         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37721         link test.
37722         * configure: Regenerated.
37723
37724 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37725
37726         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37727         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37728         conformtest.pl
37729
37730 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37731
37732         * NOTES: Remove.
37733         * Makefile (files-for-dist): Remove NOTES.
37734         (NOTES): Remove rule.
37735         * README: Don't refer to NOTES.
37736         * manual/creature.texi: Don't include macros.texi.
37737         * manual/intro.texi (creature.texi): Remove comment referring to
37738         NOTES.
37739
37740         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37741         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37742         * configure: Regenerated.
37743         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37744         LIBC_TRY_CC_OPTION.
37745         (libc_cv_as_i686): Likewise.
37746         (libc_cv_cc_avx): Likewise.
37747         (libc_cv_cc_sse2avx): Likewise.
37748         (libc_cv_cc_fma4): Likewise.
37749         (libc_cv_cc_novzeroupper): Likewise.
37750         * sysdeps/i386/configure: Regenerated.
37751
37752         [BZ #13883]
37753         * sysdeps/i386/fpu/s_cexp.S: Remove.
37754         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37755         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37756         * math/libm-test.inc (cexp_test): Add more tests.
37757         * sysdeps/i386/fpu/libm-test-ulps: Update.
37758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37759
37760 2012-03-21  Allan McRae  <allan@archlinux.org>
37761
37762         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37763
37764 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37765
37766         [BZ #13871]
37767         * math/w_exp2.c: Do not include <float.h>.
37768         (o_threshold, u_threshold): Remove.
37769         (__exp2): Calculate result before checking finiteness and calling
37770         __kernel_standard.
37771         * math/w_exp2f.c: Likewise.
37772         * math/w_exp2l.c: Likewise.
37773         * math/libm-test.inc (exp2_test): Require overflow exception for
37774         1e6 input.
37775
37776         [BZ #3866]
37777         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37778         range of signed 64-bit integers before using fistpll.  Remove
37779         checks for whether integers fit in mantissa bits.
37780         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37781         the range of signed 32-bit integers before using fistpl.  Remove
37782         checks for whether integers fit in mantissa bits.
37783         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37784         (__ieee754_powl): Test for y outside the range of signed 64-bit
37785         integers before using fistpll.  Reduce 64-bit values to 63-bit
37786         ones as needed.
37787         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37788         divide-by-zero is raised for zero to large negative powers.
37789         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37790         (__ieee754_powl): Test for y outside the range of signed 64-bit
37791         integers before using fistpll.  Reduce 64-bit values to 63-bit
37792         ones as needed.
37793         * math/libm-test.inc (pow_test): Add more tests.
37794
37795 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37796
37797         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37798         <stdio-common/_itoa.h>.
37799         * debug/segfault.c: Likewise.
37800         * elf/dl-cache.c: Likewise.
37801         * elf/dl-minimal.c: Likewise.
37802         * elf/dl-misc.c: Likewise.
37803         * elf/dl-sysdep.c: Likewise.
37804         * elf/dl-version.c: Likewise.
37805         * elf/rtld.c: Likewise.
37806         * hurd/hurdsock.c: Likewise.
37807         * hurd/lookup-retry.c: Likewise.
37808         * malloc/malloc.c: Likewise.
37809         * malloc/mtrace.c: Likewise.
37810         * nscd/nscd_getgr_r.c: Likewise.
37811         * nscd/nscd_getpw_r.c: Likewise.
37812         * nscd/nscd_getserv_r.c: Likewise.
37813         * posix/getopt_init.c: Likewise.
37814         * posix/wordexp.c: Likewise.
37815         * stdio-common/_itoa.c: Likewise.
37816         * stdio-common/printf_fphex.c: Likewise.
37817         * stdio-common/vfprintf.c: Likewise.
37818         * string/_strerror.c: Likewise.
37819         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37820         * sysdeps/i386/i686/hp-timing.h: Likewise.
37821         * sysdeps/mach/_strerror.c: Likewise.
37822         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37823         * sysdeps/mach/hurd/sethostid.c: Likewise.
37824         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37825         * sysdeps/mach/xpg-strerror.c: Likewise.
37826         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37827         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37828         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37829         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37830         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37831         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37832         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37833         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37834         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37835         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37836         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37837         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37838         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37839         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37840         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37841         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37842         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37843         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37844         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37845         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37846         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37847
37848         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37849
37850         * stdio-common/_itoa.h: Moved to ...
37851         * sysdeps/generic/_itoa.h: Here.
37852
37853         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37854
37855         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37856         instead of "_itoa.h" and "_itowa.h".
37857         * stdio-common/vfprintf.: Likewise.
37858
37859 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37860
37861         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37862         <bits/wordsize.h>.
37863         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37864         (__signbit): Likwise.
37865         (llrintf): Likwise.
37866         (llrint): Likwise.
37867
37868 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37869
37870         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37871         __WORDSIZE != 64.
37872
37873 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37874
37875         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37876         OVERFLOW_EXCEPTION_OK.
37877         * math/libm-test.inc ("Philosophy"): Update comment about
37878         exception testing.
37879         (OVERFLOW_EXCEPTION): Define.
37880         (OVERFLOW_EXCEPTION_OK): Likewise.
37881         (INVALID_EXCEPTION_OK): Renumber.
37882         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37883         (IGNORE_ZERO_INF_SIGN): Likewise.
37884         (test_exceptions): Handle FE_OVERFLOW.
37885         (exp10_test): Expect overflow exceptions.
37886         (exp2_test): Likewise.
37887         (expm1_test): Likewise.
37888         (nextafter_test): Likewise.
37889         (pow_test): Likewise.
37890         (scalbn_test): Likewise.
37891         (scalbln_test): Likewise.
37892
37893 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37894
37895         * sysdeps/x86_64/bits/atomic.h
37896         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37897         64bit integer.
37898         (atomic_exchange_acq): Likewise.
37899         (__arch_exchange_and_add_body): Likewise.
37900         (__arch_add_body): Likewise.
37901         (atomic_add_negative): Likewise.
37902         (atomic_add_zero): Likewise.
37903
37904 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37905
37906         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37907         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37908
37909 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37910
37911         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37912         Check __x86_64__ instead of __WORDSIZE.
37913
37914 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37915
37916         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37917
37918 2012-03-19  David S. Miller  <davem@davemloft.net>
37919
37920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37921
37922         * sysdeps/sparc/fpu/fenv_private.h: New file.
37923         * sysdeps/sparc/fpu/math_private.h: Use it.
37924         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37925         Remove.
37926         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37927         (libc_feholdexcept_setroundl): Remove.
37928         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37929         Remove.
37930         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37931         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37932
37933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37934
37935         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37936         int64_t instead of long int.
37937         (INSERT_WORDS64): Likwise.
37938
37939 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37940
37941         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37942         _Unwind_GetCFA return to _Unwind_Ptr first.
37943
37944 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37945
37946         [BZ #13629]
37947         * math/s_clog.c: Include <float.h>.
37948         (__clog): Scale large or subnormal inputs.
37949         * math/s_clogf.c: Likewise.
37950         * math/s_clogl.c: Likewise.
37951         * math/s_clog10.c: Include <float.h>.
37952         (M_LOG10_2): Define.
37953         (__clog10): Scale large or subnormal inputs.
37954         * math/s_clog10f.c: Likewise.
37955         * math/s_clog10l.c: Likewise.
37956         * math/libm-test.inc (clog_test): Add more tests.
37957         (clog10_test): Likewise.
37958         * sysdeps/i386/fpu/libm-test-ulps: Update.
37959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37960
37961         [BZ #11451]
37962         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37963         x and y.
37964         * math/libm-test.inc (atan2_test): Add another test.
37965
37966         * Makerules (common-objdir-compile): Remove.
37967         * sysdeps/unix/Makefile (config-generated): Do not add
37968         $(unix-generated) to variable.
37969         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37970         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37971         Remove rule.
37972         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37973         Likewise.
37974         [generic bits/local_lim.h] (before-compile): Do not append to
37975         variable.
37976         [generic bits/local_lim.h] (common-generated): Likewise.
37977         [generic sys/param.h] (before-compile): Do not append to variable.
37978         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37979         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37980         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37981         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37982         include.
37983         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37984         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37985         [generic sys/param.h] ($(addprefix
37986         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37987         [generic sys/param.h] (common-generated): Do not append to
37988         variable.
37989         [generic sys/param.h] (sysdep_headers): Likewise.
37990         [generic bits/errno.h] (before-compile): Do not append to
37991         variable.
37992         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37993         rule.
37994         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37995         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37996         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37997         [generic bits/errno.h] (common-generated): Do not append to
37998         variable.
37999         [generic bits/ioctls.h] (before-compile): Do not append to
38000         variable.
38001         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38002         rule.
38003         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38004         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38005         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38006         rule.
38007         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38008         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38009         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38010         [generic bits/ioctls.h] (common-generated): Do not append to
38011         variable.
38012         [generic sys/syscall.h] (syscall.h): Remove variable.
38013         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38014         rule.
38015         [generic sys/syscall.h] (before-compile): Do not append to
38016         variable.
38017         [generic sys/syscall.h] (common-generated): Likewise.
38018         * sysdeps/unix/errnos-tmpl.c: Remove file.
38019         * sysdeps/unix/errnos.awk: Likewise.
38020         * sysdeps/unix/ioctls-tmpl.c: Likewise.
38021         * sysdeps/unix/ioctls.awk: Likewise.
38022         * sysdeps/unix/mk-local_lim.c: Likewise.
38023         * sysdeps/unix/snarf-ioctls: Likewise.
38024
38025 2012-03-19  Richard Henderson  <rth@twiddle.net>
38026
38027         * sysdeps/i386/fpu/fenv_private.h: New file.
38028         * sysdeps/i386/fpu/math_private.h: Use it.
38029         (math_opt_barrier, math_force_eval): Remove.
38030         (libc_feholdexcept_setround_53bit): Remove.
38031         (libc_feupdateenv_53bit): Remove.
38032         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38033         (math_opt_barrier, math_force_eval): Remove.
38034         (libc_feholdexcept): Remove.
38035         (libc_feholdexcept_setround): Remove.
38036         (libc_fetestexcept, libc_fesetenv): Remove.
38037         (libc_feupdateenv_test): Remove.
38038         (libc_feupdateenv, libc_feholdsetround): Remove.
38039         (libc_feresetround): Remove.
38040
38041         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38042         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38043
38044         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38045         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38046         (libc_feupdateenv_testl): New.
38047         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38048         (libc_feupdateenv_testf): New.
38049         (libc_feupdateenv): Use libc_feupdateenv_test.
38050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38051         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38052
38053         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38054         (libc_feholdsetroundf, libc_feholdsetroundl): New.
38055         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38056         (libc_feresetround_noex): New.
38057         (libc_feresetround_noexf): New.
38058         (libc_feresetround_noexl): New.
38059         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38060         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38061         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38062         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38063         SET_RESTORE_ROUND.
38064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38065         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38066         (__cos): Likewise.
38067         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38068         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38069         SET_RESTORE_ROUND_NOEX.
38070         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38071         SET_RESTORE_ROUND_NOEXF.
38072         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38073         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38074         (libc_feholdsetroundf): New.
38075         (libc_feresetround, libc_feresetroundf): New.
38076
38077         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38078         (libc_feholdexcept_setround_53bit): Convert from macro to function.
38079         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
38080
38081         * sysdeps/generic/math_private.h: Include <fenv.h>.
38082         (default_libc_feholdexcept): New.
38083         (default_libc_feholdexcept_setround): New.
38084         (default_libc_fesetenv, default_libc_feupdateenv): New.
38085         (libc_feholdexcept): Only define if undefined.
38086         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38087         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38088         (libc_feholdexcept_setroundl): Likewise.
38089         (libc_feholdexcept_setround_53bit): Likewise.
38090         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38091         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38092         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38093         (libc_feupdateenv_53bit): Likewise.
38094         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38095         (libc_feholdexcept): Convert from macro to inline function.
38096         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38097         (libc_fesetenv, libc_feupdateenv): Likewise.
38098
38099         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38100         not previously defined.
38101         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38102         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38103         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38104         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38105         * sysdeps/ieee754/flt-32/math_private.h: New file.
38106         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38107         math_private.h below SET_FLOAT_WORD.
38108         (__isnan, __isinf_ns, __finite): Remove.
38109         (__isnanf, __isinf_nsf, __finitef): Remove.
38110
38111 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
38112
38113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38114
38115 2012-03-17  David S. Miller  <davem@davemloft.net>
38116
38117         [BZ #6471]
38118         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38119         for 2.16.
38120
38121 2012-03-16  David S. Miller  <davem@davemloft.net>
38122
38123         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38124         warnings.
38125
38126         [BZ #6471]
38127         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38128         properly.
38129         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38130         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38131         sysdep_routines when subdir is sysvipc.
38132         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38133         __getshmlba helper.
38134
38135         * sysdeps/sparc/fpu/libm-test/ulps: Update.
38136
38137 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38138
38139         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38140         [__LP64__].
38141
38142 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38143
38144         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38145         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38146         (__lround): Renamed to ...
38147         (__llround): This.  Replace long int with long long int.
38148         Define lround functions as aliases of llround functions.
38149         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38150
38151 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38152
38153         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38154         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
38155         adresses to uintptr_t.  Replace "long int" and "unsigned long
38156         int" with "greg_t" on va_arg.
38157
38158 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38159
38160         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38161         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38162
38163         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38164         Move e_machine check before EI_CLASS check.  Handle x32
38165         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38166         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38167         SKIP_EM_IA_64 and include
38168         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38169
38170         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38171         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38172         (add_system_dir): New macro.
38173
38174         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38175         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38176
38177 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38178
38179         [BZ #2551]
38180         [BZ #2552]
38181         [BZ #2553]
38182         [BZ #2554]
38183         [BZ #2562]
38184         [BZ #2563]
38185         [BZ #2565]
38186         [BZ #2566]
38187         [BZ #2576]
38188         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38189         (y0): Likewise.
38190         * math/w_j0f.c (j0f): Likewise.
38191         (y0f): Likewise.
38192         * math/w_j0l.c (__j0l): Likewise.
38193         (__y0l): Likewise.
38194         * math/w_j1.c (j1): Likewise.
38195         (y1): Likewise.
38196         * math/w_j1f.c (j1f): Likewise.
38197         (y1f): Likewise.
38198         * math/w_j1l.c (__j1l): Likewise.
38199         (__y1l): Likewise.
38200         * math/w_jn.c (jn): Likewise.
38201         (yn): Likewise.
38202         * math/w_jnf.c (jnf): Likewise.
38203         (ynf): Likewise.
38204         * math/w_jnl.c (__jnl): Likewise.
38205         (__ynl): Likewise.
38206         * math/libm-test.inc (j0_test): Add more tests.
38207         (j1_test): Likewise.
38208         (jn_test): Likewise.  Add trailing semicolon to existing test.
38209         (y0_test): Likewise.
38210         (y1_test): Likewise.
38211         * sysdeps/i386/fpu/libm-test-ulps: Update.
38212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38213
38214         [BZ #13851]
38215         [BZ #13854]
38216         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38217         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38218         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38219         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38220         (__tanl): Set errno for infinite argument.
38221         * sysdeps/i386/fpu/mptan.c: Remove.
38222         * sysdeps/i386/fpu/s_tan.S: Likewise.
38223         * sysdeps/i386/fpu/s_tanl.S: Likewise.
38224         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38225         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38226         * math/libm-test.inc (tan_test): Add more tests and enable more
38227         tests for double and long double.
38228         * sysdeps/i386/fpu/libm-test-ulps: Update.
38229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38230
38231 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
38232
38233         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38234         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38235
38236 2012-03-16  Roland McGrath  <roland@hack.frob.com>
38237
38238         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38239         * configure.in: Use it for both main tree and add-ons.
38240         * configure: Regenerated.
38241
38242 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38243
38244         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38245
38246 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
38247
38248         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38249         in comment.
38250
38251         [BZ #13851]
38252         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38253         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38254         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38255         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38256         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38257         infinite argument.
38258         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38259         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38260         != 0 for prec == 2.
38261         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38262         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38263         * sysdeps/i386/fpu/s_cosl.S: Likewise.
38264         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38265         * sysdeps/i386/fpu/s_sinl.S: Likewise.
38266         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38267         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38268         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38269         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38270         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38271         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38272         * math/libm-test.inc (cos_test): Add more tests and enable more
38273         tests for long double.
38274         (sin_test): Likewise.
38275         (sincos_test): Likewise.
38276         * sysdeps/i386/fpu/libm-test-ulps: Update.
38277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38278
38279 2012-03-16  David S. Miller  <davem@davemloft.net>
38280
38281         * sysdeps/sparc/fpu/math_private.h: New file.
38282
38283 2012-03-15  David S. Miller  <davem@davemloft.net>
38284
38285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38286         file.
38287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38289         file.
38290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38296         sysdep routines.
38297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38298
38299         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38300         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38301
38302         * sysdeps/sparc/sparc-ifunc.h: New file.
38303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38304         sparc-ifunc.h
38305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38307         Likewise.
38308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38309         Likewise.
38310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38314         Likewise.
38315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38320         Likewise.
38321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38322         Likewise.
38323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38329         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38330         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38331         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38339         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38340         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38341         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38344         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38345         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38346         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38347
38348 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38349
38350         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38351         scaling.
38352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38353
38354 2012-03-15  Andreas Jaeger  <aj@suse.de>
38355
38356         [BZ #13852]
38357         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38358         ieee754/flt-32 implementation for sin, cos and sincos.
38359         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38360         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38361         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38362         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38363         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38364         ieee754/flt-32 implementation for tan.
38365
38366         * math/libm-test.inc (cos_test): Enable some large input tests for
38367         float as well
38368         (sin_test): Likewise.
38369         (sincos_test): Likewise.
38370         (tan_test): Add tests for large input.
38371
38372         * sysdeps/i386/fpu/libm-test-ulps: Update.
38373
38374 2012-03-15  Andreas Jaeger  <aj@suse.de>
38375
38376         [BZ #13658]
38377         * math/libm-test.inc (cos_test): Add more test cases.
38378         (sin_test): Likewise.
38379         (sincos_test): Likewise.
38380
38381 2012-03-15  Andreas Jaeger  <aj@suse.de>
38382
38383         [BZ #13837]
38384         * math/libm-test.inc (cos_test): Add a test case for large input
38385         value.
38386         (sin_test): Likewise.
38387         (sincos_test): Likewise.
38388
38389 2012-03-15  Andreas Jaeger  <aj@suse.de>
38390             Joseph Myers  <joseph@codesourcery.com>
38391
38392         [BZ #13658]
38393         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38394         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38395         * sysdeps/i386/fpu/branred.c: Likewise.
38396         * sysdeps/i386/fpu/dosincos.c: Likewise.
38397         * sysdeps/i386/fpu/mpa.c: Likewise.
38398         * sysdeps/i386/fpu/s_cos.S: Likewise.
38399         * sysdeps/i386/fpu/s_sin.S: Likewise.
38400         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38401         * sysdeps/i386/fpu/sincos32.c: Likewise.
38402
38403         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38404         Define.
38405         (libc_feupdateenv_53bit): Define.
38406         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38407         Define.
38408         (libc_feupdateenv_53bit): Define.
38409
38410         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38411         53 bit (without extend i386 double precision).
38412
38413         * math/libm-test.inc (sincos_test): Add tests for large input.
38414         (sin): Likewise.
38415         (cos): Likewise.
38416
38417         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38418
38419 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38420
38421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38422
38423 2012-03-15  David S. Miller  <davem@davemloft.net>
38424
38425         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38426         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38427         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38428         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38439         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38441         file.
38442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38444         file.
38445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38447         file.
38448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38450         file.
38451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38452         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38453         fmin/fmax sysdep routines.
38454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38455
38456 2012-03-14  David S. Miller  <davem@davemloft.net>
38457
38458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38459         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38462         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38463         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38464         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38465         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38475         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38476         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38477         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38479         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38480         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38481         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38482         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38483         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38484         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38485         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38486         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38487         routines.
38488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38489         file.
38490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38492         file.
38493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38495         file.
38496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38498         file.
38499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38501         file.
38502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38504         file.
38505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38506         file.
38507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38508         file.
38509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38510         file.
38511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38512         New file.
38513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38514         file.
38515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38516         file.
38517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38519         file.
38520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38522         file.
38523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38525         file.
38526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38528         VIS3 routines.
38529
38530         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38531         New file.
38532
38533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38534
38535         * sysdeps/sparc/configure.in: New file.
38536         * sysdeps/sparc/configure: Generate.
38537         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38538         * configure: Regenerate.
38539         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38540         * config.make.in (have-as-vis3): New.
38541         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38542         available use -Av9d instead of -Av9a.
38543         * sysdeps/sparc/sparc64/Makefile: Likewise.
38544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38546         New file.
38547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38548         file.
38549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38550         New file.
38551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38552         file.
38553         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38554         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38555         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38556         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38558
38559         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38560         fzeros/fnegs to load 0x80000000 into a float register instead of
38561         using the stack.
38562         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38563
38564 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38565
38566         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38567         bits/syscall.h.
38568         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38569         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38570         ($(inst_includedir)/bits/syscall.h): Remove rule.
38571         ($(objpfx)bits/syscall.d): Include instead of
38572         $(objpfx)syscall-list.d.
38573         (generated): Change syscall-list.h and syscall-list.d to
38574         bits/syscall.h and bits/syscall.d.
38575
38576 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38577
38578         [BZ #13846]
38579         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38580
38581 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38582
38583         [BZ #13841]
38584         * math/s_csqrt.c: Include <float.h>.
38585         (__csqrt): Scale large or subnormal inputs.
38586         * math/s_csqrtf.c: Likewise.
38587         * math/s_csqrtl.c: Likewise.
38588         * math/libm-test.inc (csqrt_test): Add more tests.
38589         * sysdeps/i386/fpu/libm-test-ulps: Update.
38590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38591
38592         [BZ #13840]
38593         * math/libm-test.inc (hypot_test): Add more tests.
38594
38595 2012-03-13  David S. Miller  <davem@davemloft.net>
38596
38597         [BZ #13840]
38598         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38599         double-precision for the calculation instead of scaling.
38600
38601 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38602
38603         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38604         manipulate bits before adding and subtracting TWO52[sx].
38605         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38606         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38607         Likewise.
38608         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38609
38610 2012-03-13  David S. Miller  <davem@davemloft.net>
38611
38612         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38613         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38615         rtld-global-offsets.h
38616         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38617
38618         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38619         large parameters.
38620
38621         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38622
38623         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38624         'err' in the ifdef scope in which it is actually used.
38625
38626         * nss/nss_db/db-init.c: Include string.h
38627
38628 2012-03-12  David S. Miller  <davem@davemloft.net>
38629
38630         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38631         masking out of the most significant byte of random value used.
38632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38633         Fix coding style in previous change.
38634
38635         * sysdeps/unix/sysv/linux/kernel-features.h
38636         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38637         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38638         expression.
38639         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38640         later.
38641
38642 2012-03-11  David S. Miller  <davem@davemloft.net>
38643
38644         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38645         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38646         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38647         for 'resultvar' otherwise things get truncated on 64-bit.
38648
38649         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38650         Fix masking out of the most significant byte of random value used.
38651
38652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38653
38654 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38655
38656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38657
38658 2012-03-09  David S. Miller  <davem@davemloft.net>
38659
38660         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38661         variables with appropriate CPP guards.
38662         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38663         from the frame pointer, not the stack pointer.  Correct layout
38664         comments.  Fix test on resulting framesize and the management of
38665         the outregs buffer for pltexit.  Preserve floating point return
38666         values across _dl_call_pltexit call.
38667         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38668         framesize and the management of the outregs buffer for pltexit.
38669         Preserve floating point return values across _dl_call_pltexit
38670         call.
38671         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38672         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38673         (la_sparc64_gnu_pltexit): New functions.
38674         (print_exit): Fix format string for return register value.
38675
38676 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38677
38678         * sunrpc/Makefile (others): Add rpcgen.
38679         ($(objpfx)rpcgen): Remove special build rule and dependency on
38680         libc.
38681         * sunrpc/rpcgen.c: New file.
38682
38683 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38684
38685         [BZ #13673]
38686         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38687         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38688         * sysdeps/i386/crti.S: Likewise.
38689         * sysdeps/i386/crtn.S: Likewise.
38690         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38691         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38692         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38693         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38694         * sysdeps/sh/crti.S: Likewise.
38695         * sysdeps/sh/crtn.S: Likewise.
38696         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38697
38698         [BZ #13673]
38699         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38700         with URL.
38701         * locale/programs/locfile-kw.gperf: Likewise.
38702         * locale/programs/charmap-kw.h: Regenerated.
38703         * locale/programs/locfile-kw.h: Likewise.
38704
38705         [BZ #13673]
38706         * intl/plural.y: Replace FSF snail mail address with URL.
38707         * intl/plural.c: Regenerated.
38708
38709 2012-03-09  Richard Henderson  <rth@twiddle.net>
38710
38711         * include/math_private.h: Remove file.
38712         * math/math_private.h: Move file ...
38713         * sysdeps/generic/math_private.h: ... here.
38714
38715         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38716         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38717         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38718
38719         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38720         and <math_private.h>.
38721         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38722         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38723         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38724         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38725         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38726         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38727         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38728         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38738         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38739         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38740         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38743         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38745         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38749         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38752         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38753         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38754         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38757         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38758         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38760         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38761         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38762         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38763         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38764         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38765         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38766         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38767         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38768         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38769         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38770         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38773         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38774         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38775         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38776         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38777         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38778         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38779         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38780         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38781         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38782         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38783         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38784         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38785         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38787         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38788         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38792         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38793         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38795         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38797         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38798         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38799         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38800         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38801         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38802         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38803         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38804         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38805         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38808         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38809         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38810         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38811         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38812         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38813         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38814         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38815         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38816         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38817         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38818         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38819         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38820         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38821         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38822         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38823         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38824         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38825         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38826         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38827         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38828         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38829         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38830         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38831         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38832         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38833         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38834         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38835         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38836         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38837         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38838         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38839         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38840         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38841         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38842         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38843         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38844         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38845         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38846         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38847         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38848         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38849         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38850         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38851         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38852         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38853         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38854         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38855         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38856         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38857         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38858         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38859         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38860         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38861         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38862         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38863         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38864         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38865         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38866         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38867         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38868         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38869         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38870         * sysdeps/ieee754/k_standard.c: Likewise.
38871         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38872         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38874         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38875         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38876         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38877         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38879         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38881         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38883         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38884         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38885         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38886         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38887         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38888         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38889         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38890         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38891         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38892         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38893         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38894         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38895         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38896         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38897         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38898         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38899         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38900         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38901         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38902         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38903         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38904         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38905         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38906         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38907         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38908         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38909         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38910         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38911         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38912         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38913         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38914         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38915         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38916         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38917         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38918         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38919         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38920         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38921         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38922         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38923         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38924         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38925         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38926         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38927         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38928         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38929         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38930         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38932         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38933         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38934         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38935         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38936         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38937         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38938         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38942         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38943         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38944         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38945         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38946         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38947         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38948         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38950         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38952         * sysdeps/ieee754/ldbl-128ibm/k_sinl.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_atanl.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_ctanhl.c: Likewise.
38959         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38960         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38961         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38962         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38963         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38964         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38966         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38967         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38968         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38969         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38971         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38972         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38975         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38976         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38978         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38979         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38980         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38981         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38982         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38983         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38984         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38985         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38986         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38987         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38988         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38990         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38991         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38992         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38993         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38994         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38996         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38997         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38998         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38999         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39001         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39002         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39003         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39004         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39005         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39006         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39007         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39008         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39009         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39010         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39011         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39012         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39013         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39014         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39015         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39016         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39017         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39018         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39019         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39020         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39021         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39022         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39023         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39024         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39025         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39026         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39027         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39028         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39029         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39030         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39031         * sysdeps/ieee754/s_lib_version.c: Likewise.
39032         * sysdeps/ieee754/s_matherr.c: Likewise.
39033         * sysdeps/ieee754/s_signgam.c: Likewise.
39034         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39035         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39036         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39037         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39038         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39039         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39040         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39041         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39042         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39043         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39044         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39045         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39046         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39047         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39048         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39049         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39050         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39051         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39052         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39053         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39054         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39055
39056 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39057
39058         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39059         * sunrpc/rpc_main.c: Likewise.
39060         * sunrpc/rpc_svcout.c: Likewise.
39061
39062 2012-03-09  David S. Miller  <davem@davemloft.net>
39063
39064         * include/math_private.h: New file.
39065
39066 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
39067
39068         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39069         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39070         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39071         from <bits/socket_type.h>.
39072         (enum __socket_type): Don't define here.
39073         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39074         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39075         bits/socket_type.h.
39076
39077         [BZ #13566]
39078         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39079         checking __USE_GNU.
39080
39081         * Makerules ($(inst_includedir)/%.h): New rule.
39082         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39083         (install-others): Remove variable setting.
39084         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39085
39086 2012-03-08  Richard Henderson  <rth@twiddle.net>
39087
39088         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39089         from macro to inline function; merge with the
39090         !__LIBC_INTERNAL_MATH_INLINES version.
39091         (__ieee754_sqrtf): Likewise.
39092
39093         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39094         to inline function.
39095         (__rintf, __floor, __floorf): Likewise.
39096
39097         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39098         macro to inline function.
39099         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39100
39101         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39102         not <math/math_private.h>.
39103
39104 2012-03-08  David S. Miller  <davem@davemloft.net>
39105
39106         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39107         copyright year.
39108         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39109
39110 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
39111
39112         * resolv/gai_misc.c (handle_requests): Fix struct timespec
39113         normalization.
39114         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39115         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39116
39117 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
39118
39119         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
39120         be defined individually, they must be defined as a block.  Define
39121         S for printing a string instead of hidint the different by using a
39122         macro for adding the 'l'.
39123         * stdio-common/tst-fphex-wide.c: Adjust.
39124
39125 2012-03-07  Marek Polacek  <polacek@redhat.com>
39126
39127         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39128
39129 2012-03-08  Marek Polacek  <polacek@redhat.com>
39130
39131         [BZ #13806]
39132         * stdio-common/Makefile (tests): Add tst-fphex-wide.
39133         * stdio-common/tst-fphex.c: Define a few macros to make the
39134         test reusable.  Use them.
39135         * stdio-common/tst-fphex-wide.c: New file.
39136
39137 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
39138
39139         [BZ #6911]
39140         * manual/macros.texi (gnusystems): New macro.
39141         (nongnusystems): Likewise.
39142         (gnulinuxhurdsystems): Likewise.
39143         (gnuhurdsystems): Likewise..
39144         (gnulinuxsystems): Likewise.
39145         * manual/charset.texi: Use new macros or @theglibc{} to refer to
39146         variants of the GNU system, not "GNU system".
39147         * manual/conf.texi: Likewise.
39148         * manual/errno.texi: Likewise.  Update example of errno macro
39149         expansion.
39150         * manual/filesys.texi: Likewise.
39151         (getumask): Document as specific to GNU/Hurd.
39152         * manual/install.texi: Likewise.  Reword some references to
39153         GNU/Linux.
39154         * manual/intro.texi: Likewise.
39155         * manual/io.texi: Likewise.
39156         (File Name Portability): Detail which constraints are inapplicable
39157         to all GNU systems and which are only inapplicable to GNU/Hurd.
39158         * manual/job.texi: Likewise.
39159         * manual/llio.texi: Likewise.
39160         (O_NOCTTY): Document as present on GNU/Linux.
39161         * manual/maint.texi: Likewise.
39162         * manual/memory.texi: Likewise.
39163         * manual/pattern.texi: Likewise.
39164         * manual/pipe.texi: Likewise.
39165         * manual/process.texi: Likewise.
39166         * manual/resource.texi: Likewise.
39167         (RUSAGE_CHILDREN): Remove statement about specifying a particular
39168         child on GNU/Hurd.
39169         * manual/setjmp.texi: Likewise.
39170         * manual/signal.texi: Likewise.
39171         * manual/startup.texi: Likewise.
39172         * manual/stdio.texi: Likewise.
39173         * manual/terminal.texi: Likewise.
39174         (ONLCR): Document as POSIX.
39175         (OXTABS): Document availability on GNU/Linux as XTABS.
39176         (ONOEOT): Document availability separately from other bits.
39177         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39178         * manual/time.texi: Likewise.
39179         * manual/users.texi: Likewise.
39180         * INSTALL: Regenerated.
39181         * sysdeps/gnu/errlist.c: Regenerated.
39182
39183         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39184         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39185         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
39186         puts.
39187         * configure: Regenerated.
39188
39189 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
39190
39191         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39192         default includes instead of AC_HEADER_CHECK.
39193         * sysdeps/i386/configure: Regenerated.
39194
39195         [BZ #10716]
39196         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39197         * math/s_cacoshf.c (__cacoshf): Likewise.
39198         * math/s_cacoshl.c (__cacoshl): Likewise.
39199         * math/s_casinh.c (__casinh): Set signs of result from argument.
39200         * math/s_casinhf.c (__casinhf): Likewise.
39201         * math/s_casinhl.c (__casinhl): Likewise.
39202         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39203         (casinh_test): Add more tests.
39204         * sysdeps/i386/fpu/libm-test-ulps: Update.
39205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39206
39207 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
39208
39209         * po/zh_TW.po: Update from translation team.
39210
39211         * login/Makefile (distribute): Remove variable.
39212         * catgets/Makefile: Likewise.
39213         * mach/Makefile: Likewise.
39214         * malloc/Makefile: Likewise.
39215         * misc/Makefile: Likewise.
39216         * iconv/Makefile: Likewise.
39217         * nscd/Makefile: Likewise.
39218         * hurd/Makefile: Likewise.
39219         * manual/Makefile: Likewise.
39220         * locale/Makefile: Likewise.
39221         * intl/Makefile: Likewise.
39222         * conform/Makefile: Likewise.
39223         * nss/Makefile: Likewise.
39224         * time/Makefile: Likewise.
39225         * soft-fp/Makefile: Likewise.
39226         * dirent/Makefile: Likewise.
39227         * gmon/Makefile: Likewise.
39228         * po/Makefile: Likewise.
39229         * rt/Makefile: Likewise.
39230         * socket/Makefile: Likewise.
39231         * math/Makefile: Likewise.
39232         * signal/Makefile: Likewise.
39233         * debug/Makefile: Likewise.
39234         * elf/Makefile: Likewise.
39235         * timezone/Makefile: Likewise.
39236         * stdlib/Makefile: Likewise.
39237         * iconvdata/Makefile: Likewise.
39238         * sunrpc/Makefile: Likewise.
39239         * io/Makefile: Likewise.
39240         * argp/Makefile: Likewise.
39241         * inet/Makefile: Likewise.
39242         * hesiod/Makefile: Likewise.
39243         * grp/Makefile: Likewise.
39244         * csu/Makefile: Likewise.
39245         * wctype/Makefile: Likewise.
39246         * crypt/Makefile: Likewise.
39247         * libio/Makefile: Likewise.
39248         * string/Makefile: Likewise.
39249         * nis/Makefile: Likewise.
39250         * resolv/Makefile: Likewise.
39251         * stdio-common/Makefile: Likewise.
39252         * wcsmbs/Makefile: Likewise.
39253         * dlfcn/Makefile: Likewise.
39254         * posix/Makefile: Likewise.
39255
39256         [BZ #6959]
39257         * timezone/Makefile: Don't install timezone files, just the programs
39258         and scripts.
39259
39260 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
39261
39262         * nss/databases.def: Add missing gshadow entry.
39263
39264         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
39265
39266 2012-03-06  Marek Polacek  <polacek@redhat.com>
39267
39268         [BZ #13726]
39269         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39270         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39271         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39272         * stdio-common/tst-long-dbl-fphex.c: New file.
39273
39274 2012-03-06  David S. Miller  <davem@davemloft.net>
39275
39276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39277         (set_obp_int): New function.
39278         (get_obp_int): New function.
39279         (__get_clockfreq_via_dev_openprom): Likewise.
39280         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39281         Avoid unused variable warnings on 'val' and use builtin_expect.
39282         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39283         __builtin_expect.
39284         (INLINE_CLONE_SYSCALL): Likewise.
39285
39286 2012-03-05  David S. Miller  <davem@davemloft.net>
39287
39288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39289
39290 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
39291
39292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39293
39294         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39295         only for |x| >= 40.
39296         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39297
39298 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39299
39300         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39301         Replace gettimeofday with __vdso_gettimeofday.
39302
39303         * sysdeps/unix/sysv/linux/x86_64/init-first.c
39304         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39305         __vdso_clock_gettime and __vdso_getcpu.
39306
39307         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39308         time with __vdso_time.
39309
39310 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39311
39312         * manual/lang.texi (size_t): Note types to which size_t may be
39313         equivalent with the GNU C Library, but do not describe when
39314         differences between them are significant.
39315
39316 2012-03-05  Andreas Jaeger  <aj@suse.de>
39317
39318         * sysdeps/i386/fpu/libm-test-ulps: Update.
39319
39320 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
39321
39322         [BZ #3976]
39323         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39324         (__ieee754_pow): Save and restore rounding mode and use
39325         round-to-nearest for main computations.
39326         * math/libm-test.inc (pow_test_tonearest): New function.
39327         (pow_test_towardzero): Likewise.
39328         (pow_test_downward): Likewise.
39329         (pow_test_upward): Likewise.
39330         (main): Call the new functions.
39331         * sysdeps/i386/fpu/libm-test-ulps: Update.
39332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39333
39334         [BZ #3976]
39335         * math/libm-test.inc (cosh_test_tonearest): New function.
39336         (cosh_test_towardzero): Likewise.
39337         (cosh_test_downward): Likewise.
39338         (cosh_test_upward): Likewise.
39339         (sinh_test_tonearest): Likewise.
39340         (sinh_test_towardzero): Likewise.
39341         (sinh_test_downward): Likewise.
39342         (sinh_test_upward): Likewise.
39343         (main): Call the new functions.
39344         * sysdeps/i386/fpu/libm-test-ulps: Update.
39345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39346
39347 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39348
39349         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39350         default stack guard is set in last bytes.
39351         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39352
39353 2012-03-05  Kees Cook  <keescook@chromium.org>
39354
39355         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39356
39357         [BZ #13656]
39358         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39359         possibly allocate from heap instead of stack.
39360         * stdio-common/bug-vfprintf-nargs.c: New file.
39361         * stdio-common/Makefile (tests): Add nargs overflow test.
39362
39363 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39364
39365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39366
39367 2012-03-03  Marek Polacek  <polacek@redhat.com>
39368
39369         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39370         * math/math_private.h: Likewise.
39371         * stdlib/tst-strtod.c: Likewise.
39372         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39373         * sysdeps/x86_64/bits/atomic.h: Likewise.
39374
39375 2012-03-02  David S. Miller  <davem@davemloft.net>
39376
39377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39381         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39382         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39383         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39384         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39385
39386 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39387
39388         [BZ #13792]
39389         * manual/examples/README: New file, says the example source files
39390         can be used under GPL>=2.
39391         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39392         line containing just "*/".
39393         * manual/examples/add.c: Add copyright header (GPL>=2).
39394         * manual/examples/argp-ex1.c: Likewise.
39395         * manual/examples/argp-ex2.c: Likewise.
39396         * manual/examples/argp-ex3.c: Likewise.
39397         * manual/examples/argp-ex4.c: Likewise.
39398         * manual/examples/atexit.c: Likewise.
39399         * manual/examples/db.c: Likewise.
39400         * manual/examples/dir.c: Likewise.
39401         * manual/examples/dir2.c: Likewise.
39402         * manual/examples/execinfo.c: Likewise.
39403         * manual/examples/filecli.c: Likewise.
39404         * manual/examples/filesrv.c: Likewise.
39405         * manual/examples/fmtmsgexpl.c: Likewise.
39406         * manual/examples/genpass.c: Likewise.
39407         * manual/examples/inetcli.c: Likewise.
39408         * manual/examples/inetsrv.c: Likewise.
39409         * manual/examples/isockad.c: Likewise.
39410         * manual/examples/longopt.c: Likewise.
39411         * manual/examples/memopen.c: Likewise.
39412         * manual/examples/memstrm.c: Likewise.
39413         * manual/examples/mkfsock.c: Likewise.
39414         * manual/examples/mkisock.c: Likewise.
39415         * manual/examples/mygetpass.c: Likewise.
39416         * manual/examples/pipe.c: Likewise.
39417         * manual/examples/popen.c: Likewise.
39418         * manual/examples/rprintf.c: Likewise.
39419         * manual/examples/search.c: Likewise.
39420         * manual/examples/select.c: Likewise.
39421         * manual/examples/setjmp.c: Likewise.
39422         * manual/examples/sigh1.c: Likewise.
39423         * manual/examples/sigusr.c: Likewise.
39424         * manual/examples/stpcpy.c: Likewise.
39425         * manual/examples/strdupa.c: Likewise.
39426         * manual/examples/strftim.c: Likewise.
39427         * manual/examples/strncat.c: Likewise.
39428         * manual/examples/subopt.c: Likewise.
39429         * manual/examples/swapcontext.c: Likewise.
39430         * manual/examples/termios.c: Likewise.
39431         * manual/examples/testopt.c: Likewise.
39432         * manual/examples/testpass.c: Likewise.
39433         * manual/examples/timeval_subtract.c: Likewise.
39434
39435         [BZ #13792]
39436         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39437         function to ...
39438         * manual/timeval_subtract.c.texi: ... here, new file.
39439
39440 2012-03-02  David S. Miller  <davem@davemloft.net>
39441
39442         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39443
39444 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39445
39446         [BZ #3976]
39447         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39448         (__sin): Save and restore rounding mode and use round-to-nearest
39449         for all computations.
39450         (__cos): Save and restore rounding mode and use round-to-nearest
39451         for all computations.
39452         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39453         <fenv.h>.
39454         (tan): Save and restore rounding mode and use round-to-nearest for
39455         all computations.
39456         * math/libm-test.inc (cos_test_tonearest): New function.
39457         (cos_test_towardzero): Likewise.
39458         (cos_test_downward): Likewise.
39459         (cos_test_upward): Likewise.
39460         (sin_test_tonearest): Likewise.
39461         (sin_test_towardzero): Likewise.
39462         (sin_test_downward): Likewise.
39463         (sin_test_upward): Likewise.
39464         (tan_test_tonearest): Likewise.
39465         (tan_test_towardzero): Likewise.
39466         (tan_test_downward): Likewise.
39467         (tan_test_upward): Likewise.
39468         (main): Call the new functions.
39469         * sysdeps/i386/fpu/libm-test-ulps: Update.
39470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39471
39472         [BZ #10135]
39473         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39474         small n, then large n, before computing and testing k+n.
39475         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39476         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39477         Likewise.
39478         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39479         Likewise.
39480         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39481         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39482         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39483         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39484         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39485         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39486         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39487         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39488         * math/libm-test.inc (scalbn_test): Add more tests.
39489         (scalbln_test): Likewise.
39490
39491         * manual/filesys.texi (mode_t): Describe constraints on size and
39492         signedness, not exact equivalence to a particular type.
39493         (ino_t): Likewise.
39494         (ino64_t): Likewise.
39495         (dev_t): Likewise.
39496         (nlink_t): Likewise.
39497         (blkcnt_t): Likewise.
39498         (blkcnt64_t): Likewise.
39499         * manual/llio.texi (off_t): Likewise.
39500
39501         [BZ #3976]
39502         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39503         (__ieee754_exp): Save and restore rounding mode and use
39504         round-to-nearest for all computations.
39505         * math/libm-test.inc (exp_test_tonearest): New function.
39506         (exp_test_towardzero): Likewise.
39507         (exp_test_downward): Likewise.
39508         (exp_test_upward): Likewise.
39509         (main): Call the new functions.
39510         * sysdeps/i386/fpu/libm-test-ulps: Update.
39511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39512
39513 2012-03-01  Chris Demetriou  <cgd@google.com>
39514
39515         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39516         have predictable order.
39517
39518 2012-03-01  David S. Miller  <davem@davemloft.net>
39519
39520         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39521
39522         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39523         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39524         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39525         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39526
39527         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39528         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39529         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39531         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39532         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39533         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39534         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39535         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39536
39537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39538
39539         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39540         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39541         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39542
39543         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39544         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39545         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39546         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39547         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39548         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39549         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39550         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39551         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39552         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39553         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39554         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39555         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39556         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39557         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39558         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39559         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39560         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39561         * sysdeps/sparc/elf/configure: Regenerated.
39562
39563 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39564
39565         * configure.in (AS, LD): Require binutils 2.20 or later.
39566         * configure: Regenerated.
39567         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39568         as required minimum version.
39569         * INSTALL: Regenerated.
39570
39571         [BZ #2541]
39572         [BZ #4108]
39573         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39574         before squaring exponent.
39575         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39576         bottom long double and 27 bits of top long double before squaring
39577         exponent.
39578         * math/libm-test.inc (erfc_test): Add more tests.
39579         * sysdeps/i386/fpu/libm-test-ulps: Update.
39580         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39582
39583 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39584
39585         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39586         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39587         containing bit-fields.
39588         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39589         * soft-fp/single.h (_FP_UNION_S): Likewise.
39590         * soft-fp/double.h (_FP_UNION_D): Likewise.
39591
39592 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39593
39594         [BZ #13786]
39595         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39596         not include ../strcmp.S.
39597         [USE_AS_STRNCASECMP_L]: Likewise.
39598         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39599         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39600         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39601         (__strncasecmp_l_ia32): Define as alias to
39602         __strncasecmp_l_nonascii.
39603
39604         [BZ #5794]
39605         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39606         * sysdeps/i386/fpu/libm-test-ulps: Update.
39607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39608
39609         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39611
39612 2012-02-29  Jeff Law  <law@redhat.com>
39613
39614         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39615         out of bounds read.
39616
39617 2012-02-29  Marek Polacek  <polacek@redhat.com>
39618
39619         [BZ #13706]
39620         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39621         * elf/Makefile: Add rules to run tst-unused-dep.out.
39622
39623 2012-02-28  David S. Miller  <davem@davemloft.net>
39624
39625         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39626         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39627         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39628         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39629         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39630         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39631
39632 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39633
39634         * math/libm-test.inc (llround_test): Move one test from
39635         lround_test.  Use TEST_f_L in moved test.
39636         (lround_test): Move misplaced test to llround_test.  Add testcase
39637         from bug 2561.
39638
39639 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39640
39641         * sysdeps/x86_64/fpu/e_expf.S: New file.
39642         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39643
39644 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39645
39646         [BZ #13637]
39647         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39648         of remain_len that may cause incomplete multi-byte character and
39649         false match.
39650         * posix/bug-regex33.c: New file.
39651         * posix/Makefile (tests): Add bug-regex33.
39652
39653 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39654
39655         * manual/macros.texi: New file.
39656         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39657         * manual/libc.texinfo: Include macros.texi.
39658         * manual/creatute.texi: Likewise.
39659         * manual/install.texi: Likewise.
39660         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39661         @glibcadj{} in references to the GNU C Library.
39662         * manual/charset.texi: Likewise.
39663         * manual/conf.texi: Likewise.
39664         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39665         when not using those macros.
39666         * manual/creature.texi: Likewise.
39667         * manual/crypt.texi: Likewise.
39668         * manual/errno.texi: Likewise.
39669         * manual/filesys.texi: Likewise.
39670         * manual/header.texi: Likewise.
39671         * manual/install.texi: Likewise.
39672         * manual/intro.texi: Likewise.
39673         * manual/io.texi: Likewise.
39674         * manual/job.texi: Likewise.
39675         * manual/lang.texi: Likewise.
39676         * manual/libc.texiinfo: Likewise.
39677         * manual/llio.texi: Likewise.
39678         * manual/locale.texi: Likewise.
39679         * manual/maint.texi: Likewise.
39680         * manual/math.texi: Likewise.
39681         * manual/memory.texi: Likewise.
39682         * manual/message.texi: Likewise.
39683         * manual/nss.texi: Likewise.
39684         * manual/pattern.texi: Likewise.
39685         * manual/process.texi: Likewise.
39686         * manual/resource.texi: Likewise.
39687         * manual/search.texi: Likewise.
39688         * manual/setjmp.texi: Likewise.
39689         * manual/signal.texi: Likewise.
39690         * manual/socket.texi: Likewise.
39691         * manual/startup.texi: Likewise.
39692         * manual/stdio.texi: Likewise.
39693         * manual/string.texi: Likewise.
39694         * manual/sysinfo.texi: Likewise.
39695         * manual/syslog.texi: Likewise.
39696         * manual/terminal.texi: Likewise.
39697         * manual/time.texi: Likewise.
39698         * manual/users.texi: Likewise.
39699         * INSTALL: Regenerated.
39700         * NOTES: Regenerated.
39701         * sysdeps/gnu/errlist.c: Regenerated.
39702
39703 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39704
39705         * include/dirent.h: Include <dirstream.h> before
39706         <dirent/dirent.h>.
39707
39708 2012-02-28  David S. Miller  <davem@davemloft.net>
39709
39710         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39711         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39712         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39713         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39714
39715 2012-02-27  David S. Miller  <davem@davemloft.net>
39716
39717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39719         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39720         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39721
39722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39723         frame pointer instead of stack pointer relative arg slot.
39724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39725         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39726         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39727
39728 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39729
39730         [BZ #3992]
39731         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39732
39733 2012-02-27  David S. Miller  <davem@davemloft.net>
39734
39735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39739         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39740         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39741         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39742         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39743
39744 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39745
39746         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39747         later.  Allow versions 5-9.
39748         * configure: Regenerated.
39749         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39750         required minimum version and 4.6 as recommended version.  Do not
39751         mention bugs in GCC 2.7 and 2.8.
39752         * INSTALL: Regenerated.
39753
39754 2012-02-27  David S. Miller  <davem@davemloft.net>
39755
39756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39760         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39761         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39762         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39763         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39764
39765         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39766         manipulate bits before adding and subtracting TWO112[sx].
39767         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39768
39769 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39770
39771         [BZ #13775]
39772         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39773         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39774         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39775         being in POSIX, because they are in 1003.1-2008.
39776
39777         * rt/tst-aio.c: Include <fcntl.h>.
39778         * rt/tst-aio7.c: Likewise.
39779         * rt/tst-aio64.c: Likewise.
39780
39781         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39782
39783 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39784
39785         * manual/install.texi (--with-headers): Describe headers as
39786         interface headers, not private headers.
39787         (Specific advice for GNU/Linux systems): Describe use of headers
39788         from "make headers_install", not private headers from older
39789         kernels.
39790         * INSTALL: Regenerated.
39791         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39792         Change to 2.6.19.
39793         * sysdeps/unix/sysv/linux/configure: Regenerated.
39794
39795         * manual/llio.texi (fclean): Remove documentation.
39796
39797         * manual/Makefile (libc-texi-generated): New variable.  Include
39798         version.texi.
39799         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39800         $(libc-texi-generated), not duplicated list of files.
39801         (version.texi, stamp-version): New rules.
39802         (realclean): Remove $(libc-texi-generated), not individual files
39803         from that list.  Do not remove dir-add.texinfo.
39804         * manual/libc.texinfo: Comment out uses of edition numbers and
39805         references to printed manual.  Remove last-updated dates.
39806         (EDITION): Comment out.
39807         (ISBN): Likewise.
39808         (VERSION, UPDATED): Remove.
39809         (version.texi): Include.
39810
39811 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39812
39813         * sysdeps/posix/spawni.c: Include <signal.h>.
39814         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39815         * sysdeps/pthread/aio_fsync.c: Likewise.
39816
39817 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39818
39819         * conform/Makefile (tests): Run only when not cross-compiling and
39820         when fast-check is not defined.
39821
39822         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39823         * conform/data/limits.h-data: Fixes for POSIX2008.
39824         * conform/run-conformtest.sh: Run all tests.
39825         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39826         headers.
39827         * include/bits/dlfcn.h: Likewise.
39828         * include/langinfo.h: Likewise.
39829         * include/monetary.h: Likewise.
39830         * include/sys/poll.h: Likewise.
39831
39832         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39833         for __USE_GNU.
39834         * posix/spawn.h: Define __need_sigset_t.
39835         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39836         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39837         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39838         to get sigevent_t only.
39839         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39840         only for __USE_GNU.
39841         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39842         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39843         process_vm_writev only for __USE_GNU.
39844         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39845
39846         * conform/Makefile: For now ignore errors from run-conformtest.
39847         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39848         POSIX to avoid namespace pollution.  Don't prepend headers.
39849         * conform/data/aio.h-data: Fixes for POSIX testing.
39850         * conform/data/fcntl.h-data: Likewise.
39851         * conform/data/glob.h-data: Likewise.
39852         * conform/data/grp.h-data: Likewise.
39853         * conform/data/pthread.h-data: Likewise.
39854         * conform/data/pwd.h-data: Likewise.
39855         * conform/data/signal.h-data: Likewise.
39856         * conform/data/spawn.h-data: Likewise.
39857         * conform/data/stdio.h-data: Likewise.
39858         * conform/data/stdlib.h-data: Likewise.
39859         * conform/data/stropts.h-data: Likewise.
39860         * conform/data/sys/mman.h-data: Likewise.
39861         * conform/data/sys/stat.h-data: Likewise.
39862         * conform/data/sys/types.h-data: Likewise.
39863         * conform/data/sys/wait.h-data: Likewise.
39864         * conform/data/time.h-data: Likewise.
39865         * conform/data/unistd.h-data: Likewise.
39866         * conform/data/utime.h-data: Likewise.
39867
39868         * io/sys/stat.h: fchmod was always in POSIX.
39869         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39870         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39871         * rt/aio.h: Define __need_timespec before including <time.h>.
39872         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39873         struct.  Add forward declaration of pthread_attr_t and use it in
39874         sigevent.
39875         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39877         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39878         always remove CLK_TCK definition.
39879
39880 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39881
39882         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39883
39884 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39885
39886         * conform/run-conformtest.sh: New file.
39887         * conform/Makefile: Run run-conformtest for tests.
39888         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39889         support.
39890
39891         * conform/data/uchar.h-data: New file.
39892         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39893         * conform/data/arpa/inet.h-data: Likewise.
39894         * conform/data/assert.h-data: Likewise.
39895         * conform/data/complex.h-data: Likewise.
39896         * conform/data/cpio.h-data: Likewise.
39897         * conform/data/ctype.h-data: Likewise.
39898         * conform/data/dirent.h-data: Likewise.
39899         * conform/data/dlfcn.h-data: Likewise.
39900         * conform/data/errno.h-data: Likewise.
39901         * conform/data/fcntl.h-data: Likewise.
39902         * conform/data/float.h-data: Likewise.
39903         * conform/data/fmtmsg.h-data: Likewise.
39904         * conform/data/fnmatch.h-data: Likewise.
39905         * conform/data/ftw.h-data: Likewise.
39906         * conform/data/glob.h-data: Likewise.
39907         * conform/data/grp.h-data: Likewise.
39908         * conform/data/iconv.h-data: Likewise.
39909         * conform/data/inttypes.h-data: Likewise.
39910         * conform/data/langinfo.h-data: Likewise.
39911         * conform/data/libgen.h-data: Likewise.
39912         * conform/data/limits.h-data: Likewise.
39913         * conform/data/locale.h-data: Likewise.
39914         * conform/data/math.h-data: Likewise.
39915         * conform/data/monetary.h-data: Likewise.
39916         * conform/data/mqueue.h-data: Likewise.
39917         * conform/data/ndbm.h-data: Likewise.
39918         * conform/data/net/if.h-data: Likewise.
39919         * conform/data/netdb.h-data: Likewise.
39920         * conform/data/netinet/in.h-data: Likewise.
39921         * conform/data/nl_types.h-data: Likewise.
39922         * conform/data/poll.h-data: Likewise.
39923         * conform/data/pthread.h-data: Likewise.
39924         * conform/data/pwd.h-data: Likewise.
39925         * conform/data/regex.h-data: Likewise.
39926         * conform/data/sched.h-data: Likewise.
39927         * conform/data/search.h-data: Likewise.
39928         * conform/data/semaphore.h-data: Likewise.
39929         * conform/data/setjmp.h-data: Likewise.
39930         * conform/data/signal.h-data: Likewise.
39931         * conform/data/spawn.h-data: Likewise.
39932         * conform/data/stdarg.h-data: Likewise.
39933         * conform/data/stdio.h-data: Likewise.
39934         * conform/data/stdlib.h-data: Likewise.
39935         * conform/data/string.h-data: Likewise.
39936         * conform/data/strings.h-data: Likewise.
39937         * conform/data/stropts.h-data: Likewise.
39938         * conform/data/sys/ipc.h-data: Likewise.
39939         * conform/data/sys/mman.h-data: Likewise.
39940         * conform/data/sys/msg.h-data: Likewise.
39941         * conform/data/sys/resource.h-data: Likewise.
39942         * conform/data/sys/select.h-data: Likewise.
39943         * conform/data/sys/sem.h-data: Likewise.
39944         * conform/data/sys/shm.h-data: Likewise.
39945         * conform/data/sys/socket.h-data: Likewise.
39946         * conform/data/sys/stat.h-data: Likewise.
39947         * conform/data/sys/statvfs.h-data: Likewise.
39948         * conform/data/sys/time.h-data: Likewise.
39949         * conform/data/sys/timeb.h-data: Likewise.
39950         * conform/data/sys/times.h-data: Likewise.
39951         * conform/data/sys/types.h-data: Likewise.
39952         * conform/data/sys/uio.h-data: Likewise.
39953         * conform/data/sys/un.h-data: Likewise.
39954         * conform/data/sys/utsname.h-data: Likewise.
39955         * conform/data/sys/wait.h-data: Likewise.
39956         * conform/data/syslog.h-data: Likewise.
39957         * conform/data/tar.h-data: Likewise.
39958         * conform/data/termios.h-data: Likewise.
39959         * conform/data/utime.h-data: Likewise.
39960         * conform/data/utmpx.h-data: Likewise.
39961         * conform/data/varargs.h-data: Likewise.
39962         * conform/data/wchar.h-data: Likewise.
39963         * conform/data/wctype.h-data: Likewise.
39964         * conform/data/wordexp.h-data: Likewise.
39965
39966         * include/stropts.h: New file.
39967         * include/uchar.h: New file.
39968         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39969         * include/assert.h: Likewise.
39970         * include/ctype.h: Likewise.
39971         * include/dirent.h: Likewise.
39972         * include/dlfcn.h: Likewise.
39973         * include/fcntl.h: Likewise.
39974         * include/fnmatch.h: Likewise.
39975         * include/glob.h: Likewise.
39976         * include/grp.h: Likewise.
39977         * include/libio.h: Likewise.
39978         * include/locale.h: Likewise.
39979         * include/math.h: Likewise.
39980         * include/net/if.h: Likewise.
39981         * include/netdb.h: Likewise.
39982         * include/netinet/in.h: Likewise.
39983         * include/pthread.h: Likewise.
39984         * include/pwd.h: Likewise.
39985         * include/regex.h: Likewise.
39986         * include/sched.h: Likewise.
39987         * include/search.h: Likewise.
39988         * include/setjmp.h: Likewise.
39989         * include/signal.h: Likewise.
39990         * include/stdio.h: Likewise.
39991         * include/stdlib.h: Likewise.
39992         * include/string.h: Likewise.
39993         * include/sys/cdefs.h: Likewise.
39994         * include/sys/mman.h: Likewise.
39995         * include/sys/msg.h: Likewise.
39996         * include/sys/resource.h: Likewise.
39997         * include/sys/select.h: Likewise.
39998         * include/sys/socket.h: Likewise.
39999         * include/sys/stat.h: Likewise.
40000         * include/sys/statvfs.h: Likewise.
40001         * include/sys/time.h: Likewise.
40002         * include/sys/times.h: Likewise.
40003         * include/sys/uio.h: Likewise.
40004         * include/sys/utsname.h: Likewise.
40005         * include/sys/wait.h: Likewise.
40006         * include/termios.h: Likewise.
40007         * include/time.h: Likewise.
40008         * include/ulimit.h: Likewise.
40009         * include/unistd.h: Likewise.
40010         * include/utime.h: Likewise.
40011         * include/wchar.h: Likewise.
40012         * include/wctype.h: Likewise.
40013         * include/wordexp.h: Likewise.
40014
40015         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40016
40017         * time/time.h: TIME_UTC must be a macro.
40018         Make timespec_get available for ISO C11 only as well.
40019
40020 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
40021
40022         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40023         Reported by Peng Haitao <penght@cn.fujitsu.com>.
40024
40025 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40026
40027         * configure.in: Use -o not -a in test for unsupported multi-arch.
40028
40029 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40030
40031         * manual/texinfo.tex: Update to version 2012-01-19.16.
40032
40033 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
40034
40035         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40036
40037 2012-02-24  Roland McGrath  <roland@hack.frob.com>
40038
40039         [BZ #13738]
40040         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40041         * manual/fdl-1.3.texi: New file.
40042         * manual/fdl-1.1.texi: File removed.
40043
40044         [BZ #13738]
40045         * manual/libc.texinfo (FDL_VERSION): New @set.
40046         Use it for mention of FDL in cover text.
40047         (Documentation License): Use it in @include file name.
40048
40049 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40050             Roland McGrath  <roland@hack.frob.com>
40051
40052         [BZ #5461]
40053         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40054         (not LONG_LONG_MAX and LONG_LONG_MIN.
40055         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40056         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
40057         name.
40058         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40059
40060 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40061
40062         [BZ #2547]
40063         [BZ #11365]
40064         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40065         manipulate bits before adding and subtracting TWO23[sx].
40066         * math/libm-test.inc (nearbyint_test): Add more tests.
40067
40068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40069
40070         [BZ #2548]
40071         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40072         bits before adding and subtracting TWO23[sx].
40073         * math/libm-test.inc (rint_test): Add more tests.
40074         (rint_test_tonearest): Likewise.
40075         (rint_test_towardzero): Likewise.
40076         (rint_test_downward): Likewise.
40077         (rint_test_upward: Likewise.
40078
40079 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40080
40081         [BZ #10110]
40082         * include/stdc-predef.h: New file.  Extracted from features.h.
40083         * include/features.h: Include stdc-predef.h.
40084         * Makefile (headers): Add stdc-predef.h.
40085         * CONFORMANCE (Compiler limitations): Update.
40086
40087 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
40088
40089         * manual/libc.texinfo (VERSION, UPDATED): Revert.
40090
40091 2012-02-21  David S. Miller  <davem@davemloft.net>
40092
40093         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40094         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40095
40096 2012-02-20  David S. Miller  <davem@davemloft.net>
40097
40098         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40099         using a normal save/restore sequence, rather than allocating a
40100         dummy stack frame just to store a frame pointer and restore.
40101         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40102
40103 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40104
40105         * manual/install.texi: Fix stray word in line-wrapped comment.
40106
40107 2012-02-20  David S. Miller  <davem@davemloft.net>
40108
40109         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40110         both binutils and gcc support GOTDATA.
40111
40112         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40113         "rd %pc" in the PIC register setup sequences.
40114
40115         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40116         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40117         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40118         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40119         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40120         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40121         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40122         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40124         (SYSCALL_ERROR_HANDLER): Likewise.
40125         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40126         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40127         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40128         (SYSCALL_ERROR_HANDLER): Likewise.
40129
40130         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40131         (HAVE_GCC_GOTDATA): New.
40132         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40133         relocation support in both binutils and gcc.
40134         * sysdeps/sparc/elf/configure: Regenerate.
40135
40136         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40137         * sysdeps/sparc/sparc32/elf/configure: Delete.
40138         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40139         * sysdeps/sparc/sparc64/elf/configure: Delete.
40140         * sysdeps/sparc/elf/configure.in: New file.
40141         * sysdeps/sparc/elf/configure: Generate.
40142
40143         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40144         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40145         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40146         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40147         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40148
40149 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40150
40151         * manual/install.texi: Do not mention specific glibc version
40152         numbers.
40153         * manual/libc.texinfo (VERSION, UPDATED): Update.
40154         (@copying): Use @copyright{} and range of years.
40155
40156 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
40157
40158         [BZ #13695]
40159         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40160         [crti.S not in sysdirs] (generated): Do not append.
40161         [crti.S not in sysdirs] (omit-deps): Likewise.
40162         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40163         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40164         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40165         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40166         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40167         Likewise.
40168         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40169         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40170         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40171         * csu/defs.awk: Remove file.
40172         * sysdeps/generic/initfini.c: Likewise.
40173         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40174         variable.
40175         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40176         Likewise.
40177
40178 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40179
40180         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40181         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40182         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40183         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40185         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40186         <bits/epoll.h>.
40187         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40188         (__EPOLL_PACKED): Define to empty if not defined by
40189         <bits/epoll.h>.
40190         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40192         bits/epoll.h.
40193
40194 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40195
40196         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40197         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40198         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40199         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40200         <bits/timerfd.h>.
40201         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40203         bits/timerfd.h.
40204
40205 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
40206
40207         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40208         in C locale.
40209         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40210         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40211         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40213
40214 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
40215
40216         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40217         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40218
40219 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
40220
40221         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40222         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40223         defined.
40224         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40225         Likewise.
40226         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40227         entry for 2.16.
40228
40229 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
40230
40231         * math/w_acos.c: Use non-signaling floating-point comparisons.
40232         * math/w_acosf.c: Likewise.
40233         * math/w_acosh.c: Likewise.
40234         * math/w_acoshf.c: Likewise.
40235         * math/w_acoshl.c: Likewise.
40236         * math/w_acosl.c: Likewise.
40237         * math/w_asin.c: Likewise.
40238         * math/w_asinf.c: Likewise.
40239         * math/w_asinl.c: Likewise.
40240         * math/w_atanh.c: Likewise.
40241         * math/w_atanhf.c: Likewise.
40242         * math/w_atanhl.c: Likewise.
40243         * math/w_exp2.c: Likewise.
40244         * math/w_exp2f.c: Likewise.
40245         * math/w_exp2l.c: Likewise.
40246         * math/w_j0.c: Likewise.
40247         * math/w_j0f.c: Likewise.
40248         * math/w_j0l.c: Likewise.
40249         * math/w_j1.c: Likewise.
40250         * math/w_j1f.c: Likewise.
40251         * math/w_j1l.c: Likewise.
40252         * math/w_jn.c: Likewise.
40253         * math/w_jnf.c: Likewise.
40254         * math/w_log.c: Likewise.
40255         * math/w_log10.c: Likewise.
40256         * math/w_log10f.c: Likewise.
40257         * math/w_log10l.c: Likewise.
40258         * math/w_log2.c: Likewise.
40259         * math/w_log2f.c: Likewise.
40260         * math/w_log2l.c: Likewise.
40261         * math/w_logf.c: Likewise.
40262         * math/w_logl.c: Likewise.
40263         * math/w_sqrt.c: Likewise.
40264         * math/w_sqrtf.c: Likewise.
40265         * math/w_sqrtl.c: Likewise.
40266         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40267         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40268         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40269         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40270         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40271
40272 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40273
40274         [BZ #9739]
40275         * manual/string.texi (strnlen): Use correct parameter name in
40276         equivalent expression.
40277
40278 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40279
40280         [BZ #11174]
40281         * manual/users.texi (seteuid): Consistently use neweuid for
40282         argument name.
40283
40284 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
40285
40286         [BZ #13704]
40287         * manual/nss.texi (Services in the NSS configuration): Correct
40288         list of services in example configuration file.
40289
40290 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
40291
40292         [BZ #11322]
40293         * manual/arith.texi: Remove statements about negative zero
40294         behaving identically to zero.
40295
40296 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40297
40298         [BZ #5993]
40299         * manual/install.texi: Do not document upgrading from libc5.
40300
40301 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
40302
40303         [BZ #4596]
40304         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40305
40306 2012-02-18  David S. Miller  <davem@davemloft.net>
40307
40308         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40309         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40310         %o7 across the call.
40311         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40312         instead.
40313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40314         SETUP_PIC_REG_LEAF.
40315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40316         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40317         * sysdeps/sparc/crtn.S: Likewise.
40318
40319 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
40320
40321         * aout/Makefile: Remove.
40322
40323 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
40324
40325         [BZ #13058]
40326         * manual/examples/argp-ex1.c (main): Format definition in GNU
40327         style.
40328         * manual/examples/argp-ex2.c (main): Likewise.
40329         * manual/examples/argp-ex3.c (main): Likewise.
40330         * manual/examples/argp-ex4.c (main): Likewise.
40331         * manual/examples/longopt.c (main): Use new-style prototype
40332         definition.
40333         * manual/examples/strncat.c (main): Specify return type and use
40334         (void) for arguments.
40335         * manual/examples/subopt.c (main): Use char **argv argument.
40336
40337 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40338
40339         [BZ #5077]
40340         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40341         rounding modes.
40342
40343 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40344
40345         [BZ #6907]
40346         * manual/string.texi (strchr): Change when strchrnul is
40347         recommended.
40348
40349 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40350
40351         [BZ #174]
40352         * manual/locale.texi (setlocale): Document LOCPATH.
40353
40354 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40355
40356         [BZ #10210]
40357         * manual/process.texi (execle): Move @dots{} before last argument.
40358
40359 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40360
40361         [BZ #12047]
40362         * manual/charset.texi (Generic Charset Conversion): Fix typo
40363         (LC_TYPE -> LC_CTYPE).
40364
40365 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40366
40367         [BZ #5805]
40368         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40369         (scalbnf): Likewise.
40370         (scalbnl): Likewise.
40371         (scalbln): Likewise.
40372         (scalblnf): Likewise.
40373         (scalblnl): Likewise.
40374         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40375         (vwarnx): Likewise.
40376         (verr): Likewise.
40377         (verrx): Likewise.
40378         * manual/filesys.texi (telldir): Use braces around return type.
40379         * manual/llio.texi (mmap): Add space after comma.
40380         (mmap64): Likewise.
40381         * manual/math.texi (jn): Use @var{} on parameter names.
40382         (jnf): Likewise.
40383         (jnl): Likewise.
40384         (yn): Likewise.
40385         (ynf): Likewise.
40386         (ynl): Likewise.
40387         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40388         line.
40389         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40390         "...".
40391         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40392         (sched_get_priority_max): Likewise.
40393         * manual/signal.texi (sigvec): Add space after comma.
40394         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40395         names.
40396         (if_indextoname): Likewise.
40397         (if_freenameindex): Likewise.
40398         (sendto): Use ',' instead of '.' in prototype.
40399         * manual/startup.texi (syscall): Use @dots{} instead of literal
40400         "...".
40401         * manual/stdio.texi (__fpending): Separate initial words of
40402         paragraph from @deftypefun line.
40403         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40404         "...".
40405         (vsyslog): Use @var{} on parameter names.
40406         * manual/terminal.texi (stty): Use @var{} on parameter names.
40407         * manual/users.texi (getutmp): Use @var{} on parameter names.
40408         (getutmpx): Likewise.
40409
40410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40411
40412         [BZ #6884]
40413         * manual/stdio.texi (fopen): Fix typos in description of
40414         ",ccs=STRING".
40415
40416 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40417
40418         [BZ #4026]
40419         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40420         get clock_id definition.
40421
40422 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40423
40424         [BZ #4822]
40425         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40426         (madvise): Cast every argument to void on its own.
40427
40428 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40429
40430         [BZ #9902]
40431         * manual/startup.texi (Exit Status): Fix typo.
40432
40433 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40434
40435         [BZ #10140]
40436         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40437         * manual/examples/argp-ex2.c: Likewise.
40438         * manual/examples/argp-ex3.c: Likewise.
40439
40440 2012-02-16  Richard Henderson  <rth@redhat.com>
40441
40442         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40443         * sysdeps/s390/s390-32/initfini.c: Remove.
40444         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40445         * sysdeps/s390/s390-64/initfini.c: Remove.
40446
40447 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40448
40449         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40450         compiler output for sysdeps/generic/initfini.c.
40451         * sysdeps/sh/elf/initfini.c: Remove file.
40452
40453 2012-02-16  David S. Miller  <davem@davemloft.net>
40454
40455         [BZ #11494]
40456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40457
40458         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40459         * sysdeps/sparc/crti.S: New file.
40460         * sysdeps/sparc/crtn.S: New file.
40461         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40462         * sysdeps/sparc/sparc64/Makefile: Likewise.
40463
40464 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40465
40466         [BZ #3335]
40467         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40468
40469 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40470
40471         [BZ #4822]
40472         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40473
40474         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40475         (write, read, close): Likewise.
40476         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40477
40478 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40479
40480         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40481         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40482         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40483         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40484         <bits/signalfd.h>.
40485         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40486         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40487         bits/signalfd.h.
40488
40489 2012-02-14  Marek Polacek  <polacek@redhat.com>
40490
40491         * sysdeps/x86_64/crti.S: New file.
40492         * sysdeps/x86_64/crtn.S: New file.
40493         * sysdeps/x86_64/elf/initfini.c: Remove file.
40494
40495 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40496
40497         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40498         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40499         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40500         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40501         <bits/inotify.h>.
40502         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40504         bits/inotify.h.
40505
40506 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40507
40508         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40509         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40510         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40511         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40512         <bits/eventfd.h>.
40513         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40515         bits/eventfd.h.
40516
40517 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40518
40519         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40520         __feraiseexcept instead of feraiseexcept.
40521
40522         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40523         nanosleep invocations.
40524         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40525         strings, and add error checking for a nanosleep invocations.
40526
40527 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40528
40529         Replace FSF snail mail address with URLs, as per GNU coding standards.
40530         Most of the snail mail addresses were wrong anyway, and omitting
40531         them makes the source code easier to maintain.  Almost all of the
40532         changes are to license notices and to locale LC_IDENTIFICATION
40533         addresses, except for this one:
40534         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40535         not its snail mail address.
40536
40537 2012-02-09  Richard Henderson  <rth@twiddle.net>
40538
40539         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40540         of kernel-features.h.
40541
40542         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40543
40544 2012-02-08  Marek Polacek  <polacek@redhat.com>
40545
40546         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40547         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40548         * sysdeps/gnu/_G_config.h: Likewise.
40549         * sysdeps/generic/_G_config.h: Likewise.
40550
40551 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40552
40553         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40554         tests.
40555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40556
40557         * sysdeps/powerpc/powerpc32/crti.S: New file.
40558         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40559         * sysdeps/powerpc/powerpc64/crti.S: New file.
40560         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40561
40562         * Makeconfig (have-initfini): Don't set.
40563         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40564         * configure.in (nopic_initfini): Don't substitute.
40565         * config.h.in (HAVE_INITFINI): Don't #undef.
40566         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40567         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40568
40569 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40570
40571         Support crti.S and crtn.S provided directly by architectures.
40572         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40573         [crti.S in sysdirs] (omit-deps): Likewise.
40574         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40575         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40576         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40577         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40578         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40579         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40580         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40581         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40582         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40583         compiler output for sysdeps/generic/initfini.c.
40584         * sysdeps/i386/elf/Makefile: Remove file.
40585         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40586
40587 2012-02-07  Marek Polacek  <polacek@redhat.com>
40588
40589         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40590         * sysdeps/gnu/_G_config.h: Likewise.
40591         * sysdeps/mach/hurd/_G_config.h: Likewise.
40592
40593 2012-02-07  Marek Polacek  <polacek@redhat.com>
40594
40595         * math/Makefile (tests): Add tst-CMPLX2.
40596         * math/tst-CMPLX2.c: New file.
40597
40598 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40599
40600         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40601
40602         * math/libm-test.inc (jn_test): Add missing L suffix.
40603
40604 2012-02-06  Marek Polacek  <polacek@redhat.com>
40605
40606         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40607         * sysdeps/i386/fpu/e_powf.S: Likewise.
40608         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40609         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40610         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40611         * sysdeps/i386/fpu/e_pow.S: Likewise.
40612         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40613         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40614         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40615         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40616         * sysdeps/i386/fpu/e_log2.S: Likewise.
40617         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40618         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40619         * sysdeps/i386/fpu/e_powl.S: Likewise.
40620         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40621         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40622         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40623         * sysdeps/i386/fpu/e_logl.S: Likewise.
40624         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40625         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40626         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40627         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40628         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40629         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40630         * sysdeps/i386/fpu/e_log.S: Likewise.
40631         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40632         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40633         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40634         * sysdeps/i386/fpu/e_logf.S: Likewise.
40635         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40636         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40637         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40638         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40639         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40640         * sysdeps/i386/fpu/e_log10.S: Likewise.
40641         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40642         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40643         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40644         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40645         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40646         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40647         * sysdeps/i386/asm-syntax.h: Likewise.
40648         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40649         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40650         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40651         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40652         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40653         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40654         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40655         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40656         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40657         * sysdeps/powerpc/sysdep.h: Likewise.
40658         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40659         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40660
40661 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40662
40663         [BZ #411]
40664         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40665
40666 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40667
40668         * sysdeps/i386/sysdep.h: Include <features.h>.
40669         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40670         version.
40671
40672 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40673
40674         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40675         Define.
40676         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40677         LOAD_PIC_REG_STR.
40678
40679 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40680
40681         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40682         (SETUP_PIC_REG): Use GET_PC_THUNK.
40683         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40684         macro.
40685
40686 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40687
40688         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40689         for non-PIC compilation.
40690         (SETUP_PIC_REG): Add .p2align directive.
40691         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40692         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40693         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40694         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40695         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40696         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40697         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40698         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40699         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40700         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40701         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40702         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40703         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40704         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40705         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40706         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40707         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40708         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40709         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40710         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40711         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40712         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40713         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40714         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40717         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40718         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40719         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40720         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40721         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40722         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40723         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40724         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40725         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40726         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40727         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40728         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40729         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40730         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40731         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40732
40733 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40734
40735         * math/tst-CMPLX.c: Include <stdio.h>.
40736
40737 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40738
40739         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40740         float.
40741         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40742         * sysdeps/sparc/bits/mathdef.h: Likewise.
40743
40744 2012-01-31  Marek Polacek  <polacek@redhat.com>
40745
40746         * libio/libio.h: Don't define _PARAMS.
40747         * locale/programs/config.h: Don't define PARAMS.
40748         * stdlib/strtol_l.c: Likewise.
40749         (__strtol_l): Remove PARAMS from the prototype.
40750
40751 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40752
40753         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40754         names.  Just use the correct names.  Remove unnecessary wrapper
40755         functions.
40756         * malloc/arena.c: Likewise.
40757         * malloc/hooks.c: Likewise.
40758
40759         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40760         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40761         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40762
40763 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40764
40765         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40766         into tail calls.
40767         (update_get_addr): New function.
40768         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40769         GET_ADDR_MODULE parameter.
40770
40771 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40772
40773         * crypt/cert.c: Remove __STDC__ conditionals.
40774         * crypt/crypt-entry.c: Likewise.
40775         * crypt/crypt_util.c: Likewise.
40776         * libio/filedoalloc.c: Likewise.
40777         * libio/fileops.c: Likewise.
40778         * libio/genops.c: Likewise.
40779         * libio/iofclose.c: Likewise.
40780         * libio/iofdopen.c: Likewise.
40781         * libio/iofopen.c: Likewise.
40782         * libio/iofopen64.c: Likewise.
40783         * libio/iogetdelim.c: Likewise.
40784         * libio/iopopen.c: Likewise.
40785         * libio/obprintf.c: Likewise.
40786         * libio/oldfileops.c: Likewise.
40787         * libio/oldiofclose.c: Likewise.
40788         * libio/oldiofdopen.c: Likewise.
40789         * libio/oldiofopen.c: Likewise.
40790         * libio/oldiopopen.c: Likewise.
40791         * libio/wfiledoalloc.c: Likewise.
40792         * libio/wgenops.c: Likewise.
40793         * locale/programs/xmalloc.c: Likewise.
40794         * misc/syslog.c: Likewise.
40795         * stdio-common/xbug.c: Likewise.
40796         * string/memchr.c: Likewise.
40797         * string/memcmp.c: Likewise.
40798         * string/memrchr.c: Likewise.
40799         * string/rawmemchr.c: Likewise.
40800         * sysdeps/posix/getcwd.c: Likewise.
40801         * time/strftime_l.c: Likewise.
40802
40803 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40804
40805         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40806         * config.make.in (config-cflags-sse2avx): Define.
40807         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40808         Fix typo.
40809
40810 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40811
40812         * scripts/config.guess: Update from upstream config git repository.
40813         * scripts/config.sub: Likewise.
40814
40815 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40816
40817         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40818         (EM_NUM): Update.
40819         (R_TILEPRO_*, R_TILEGX_*): New macros.
40820
40821         * scripts/firstversions.awk: Fix bug in version range handling.
40822
40823         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40824
40825         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40826
40827         * include/sys/epoll.h: New file.
40828         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40829         libc_hidden_def.
40830
40831 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40832
40833         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40834         Avoid unnecessary __WORDSIZE == 64 test.
40835         (fmaxf): Use VEX format if possible.
40836         (fmax): Likewise.
40837         (fminf): Likewise.
40838         (fmin): Likewise.
40839
40840         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40841         * math/math_private.h: Remove libc_fegetround* and
40842         libc_fesetround*.
40843         * sysdeps/i386/configure.in: Check for -msse2avx.
40844         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40845         also if SSE2AVX is defined.
40846         Remove libc_fegetround* and libc_fesetround*.
40847         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40848         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40849         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40850         of HAS_YMM_USABLE.
40851         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40852         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40853         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40854         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40855         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40856
40857         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40858
40859 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40860
40861         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40862         size is not set.
40863         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40864
40865 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40866
40867         [BZ #13618]
40868         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40869         relocation.
40870         * Makeconfig (libm): Define.
40871         * elf/Makefile: Add rules to build and run tst-relsort1.
40872         * elf/tst-relsort1.c: New file.
40873         * elf/tst-relsort1mod1.c: New file.
40874         * elf/tst-relsort1mod2.c: New file.
40875
40876 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40877
40878         * math/s_ldexp.c: Remove __STDC__ conditionals.
40879         * math/s_ldexpf.c: Likewise.
40880         * math/s_ldexpl.c: Likewise.
40881         * math/s_nextafter.c: Likewise.
40882         * math/s_nexttowardf.c: Likewise.
40883         * math/s_significand.c: Likewise.
40884         * math/s_significandf.c: Likewise.
40885         * math/s_significandl.c: Likewise.
40886         * math/w_jnl.c: Likewise.
40887         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40888         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40889         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40890         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40891         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40893         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40894         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40895         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40896         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40897         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40906         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40907         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40908         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40909         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40911         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40912         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40913         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40914         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40915         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40916         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40917         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40918         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40919         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40920         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40921         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40922         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40923         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40924         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40925         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40926         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40927         * sysdeps/ieee754/k_standard.c: Likewise.
40928         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40929         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40930         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40931         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40932         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40933         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40934         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40935         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40936         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40937         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40938         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40939         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40940         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40941         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40942         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40943         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40944         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40945         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40947         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40948         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40949         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40950         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40951         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40952         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40953         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40955         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40957         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40959         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40960         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40961         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40963         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40964         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40965         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40966         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40967         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40968         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40969         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40970         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40971         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40972         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40973         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40974         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40975         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40976         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40977         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40978         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40979         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40980         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40981         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40982         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40983         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40985         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40986         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40987         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40988         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40989         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40990         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40991         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40992         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40993         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40994         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40995         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40996         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40997         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40998         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40999         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41000         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41004         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41005         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41006         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41007         * sysdeps/ieee754/s_matherr.c: Likewise.
41008         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41009         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41012
41013 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41014
41015         * crypt/md5.h: Remove __STDC__ conditionals.
41016         * libio/libioP.h: Likewise.
41017         * locale/programs/config.h: Likewise.
41018         * sysdeps/generic/sysdep.h: Likewise.
41019         * sysdeps/i386/asm-syntax.h: Likewise.
41020         * sysdeps/s390/asm-syntax.h: Likewise.
41021         * sysdeps/unix/sysdep.h: Likewise.
41022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41024
41025 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
41026
41027         * libio/libio.h: Remove __STDC__ conditionals.
41028         * malloc/obstack.h: Likewise.
41029         * math/complex.h: Likewise.
41030         * math/math.h: Likewise.
41031         * sysdeps/generic/_G_config.h: Likewise.
41032         * sysdeps/gnu/_G_config.h: Likewise.
41033         * sysdeps/mach/hurd/_G_config.h: Likewise.
41034         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41035         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41036         * sysdeps/sparc/bits/mathdef.h: Likewise.
41037
41038 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
41039
41040         [BZ #13583]
41041         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41042         Clean up HAS_* macros.
41043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41044         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41045         possible.
41046         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41047         HAS_AVX.
41048         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41049         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41050         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41051         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41052         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41053
41054 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
41055
41056         * elf/tst-unique3.cc (gets): Remove declaration.
41057         * elf/tst-unique3lib.cc (gets): Likewise.
41058         * elf/tst-unique3lib2.cc (gets): Likewise.
41059         * elf/tst-unique4.cc (gets): Likewise.
41060
41061 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
41062
41063         * include/stdio.h: Add C++ protection.  Add gets declarations and
41064         definitions.
41065         * debug/tst-chk1.c: Don't declare gets here.
41066         * stdio-common/tst-gets.c: Likewise.
41067
41068 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41069
41070         * posix/glob: Remove directory.
41071
41072 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
41073
41074         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41075
41076 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
41077
41078         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41079         of the non-standard EPFNOSUPPORT.
41080
41081 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41082
41083         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41084         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41085         ANYWHERE set to 1 only on KERN_NO_SPACE error.
41086
41087 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
41088
41089         * wcsmbs/uchar.h: Test __STDC_VERSION__.
41090
41091 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
41092
41093         * nscd/aicache.c (addhstaiX): Do not cache negative results of
41094         transient errors.
41095         * nscd/grpcache.c (cache_addgr): Likewise.
41096         * nscd/hstcache.c (cache_addhst): Likewise.
41097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41098         * nscd/pwdcache.c (cache_addpw): Likewise.
41099         * nscd/servicescache.c (cache_addserv): Likewise.
41100
41101 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
41102
41103         * malloc/malloc.c: Various cleanups.
41104         * malloc/hooks.c: Likewise.
41105
41106         * stdlib/Makefile (tests): Add bug-fmtmsg1.
41107         * stdlib/bug-fmtmsg1.c: New file.
41108
41109         * stdlib/fmtmsg.c (init): Add missing unlock.
41110         Patch by Peng Haitao <penght@cn.fujitsu.com>.
41111
41112 2012-01-12  Marek Polacek  <polacek@redhat.com>
41113
41114         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41115         and _GNU_SOURCE.
41116
41117 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
41118
41119         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41120         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41121         macro to ensure uniqueness of label name.
41122         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41123         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41124
41125 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
41126
41127         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41128
41129         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41130         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41131         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41133
41134 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
41135
41136         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41137
41138         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41139         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41140         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41141
41142         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41143
41144         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41145         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41146         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41147         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41148
41149         * math/bits/math-finite.h: Add ldexp support.
41150
41151 2012-01-10  Marek Polacek  <polacek@redhat.com>
41152
41153         * locale/programs/localedef.h (show_archive_content): Add noreturn
41154         attribute.
41155
41156 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
41157
41158         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41159
41160 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41161
41162         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41163
41164         * io/Makefile (headers): Add bits/poll2.h.
41165
41166 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
41167
41168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41169         typo #include statement.
41170
41171 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41172
41173         * include/sys/cdefs.h: Define __attribute_alloc_size.
41174         * catgets/gencat.c: Add alloc_size attribute and apply consistently
41175         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41176         * elf/pldd.c: Likewise.
41177         * iconv/iconv_charmap.c: Likewise.
41178         * iconv/iconvconfig.c: Likewise.
41179         * iconv/strtab.c: Likewise.
41180         * locale/programs/locale.c: Likewise.
41181         * locale/programs/localedef.h: Likewise.
41182         * locale/programs/simple-hash.c: Likewise.
41183         * nscd/nscd.h: Likewise.
41184         * nss/makedb.c: Likewise.
41185         * sysdeps/generic/ldconfig.h: Likewise.
41186         * locale/programs/localedef.c: Remove xmalloc prototype.
41187         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41188
41189 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
41190
41191         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41192         appropriate.
41193
41194 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
41195
41196         * math/Makefile (tests): Add tst-CMPLX.
41197         * math/tst-CMPLX.c: New file.
41198
41199         * math/complex.h (CMPLXL): Fix typo.
41200
41201         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41202         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41203         GLIBC_2.16.
41204         * debug/tst-chk1.c: Add poll and ppoll tests.
41205         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41206         * include/sys/poll.h: Add hidden proto for ppoll.
41207         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41208         * sysdeps/mach/hurd/ppoll.c: Likewise.
41209         * io/ppoll.c: Likewise.
41210         * debug/poll_chk.c: New file.
41211         * debug/ppoll_chk.c: New file.
41212         * include/bits/poll2.h: New file.
41213         * io/bits/poll2.h: New file.
41214
41215         [BZ #1350]
41216         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41217
41218         * configure.in: static is always set to yes.  Remove.
41219         * config.make.in: Don't set build-static.
41220         * Makeconfig: Remove use of build-static.
41221         * dlfcn/Makefile: Likewise.
41222         * elf/Makefile: Likewise.
41223         * math/Makefile: Likewise.
41224         * misc/Makefile: Likewise.
41225         * nptl/Makefile: Likewise.
41226         * sysdeps/mach/hurd/Makefile: Likewise.
41227
41228         * configure.in: PWD_P is not used anymore.
41229         * config.make.in: Remove PWD_P entry.
41230
41231         * configure.in: Remove last remnants of RANLIB.
41232         No need to check for signed size_t anymore.
41233         Don't set libc_commonpagesize and libc_relro_required here for Alpha
41234         and IA-64.
41235         Remove __builtin_expect test because we require at least gcc 3.4.
41236         * aclocal.m4: Likewise.
41237
41238         * wcsmbs/mbrtoc16.c: Implement using towc function.
41239         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41240         * wcsmbs/wcsmbsload.c: Likewise.
41241         * iconv/gconv_simple.c: Likewise.
41242         * iconv/gconv_int.h: Likewise.
41243         * iconv/gconv_builtin.h: Likewise.
41244         * iconv/iconv_prog.c: Remove CHAR16 handling.
41245
41246         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41247
41248         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41249
41250         * configure.in: Remove --with-elf and --enable-bounded options.
41251         Dont set base_machine for ia64.  More non-ELF conditions removed.
41252         Remove testing and setting of leading underscore information.
41253         * config.make.in (build-bounded): Set to no.
41254         * config.h.in: Remove NO_UNDERSCORES entry.
41255         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
41256         them.
41257         * csu/start.c: Remove !NO_UNDERSCORE code.
41258         * locale/localeinfo.h: Likewise.
41259         * sysdeps/generic/machine-gmon.h: Likewise.
41260         * sysdeps/generic/sysdep.h: Likewise.
41261         * sysdeps/i386/sysdep.h: Likewise.
41262         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41263         * sysdeps/mach/sysdep.h: Likewise.
41264         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41265         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41266         * sysdeps/sh/sysdep.h: Likewise.
41267         * sysdeps/sparc/sparc32/alloca.S: Likewise.
41268         * sysdeps/unix/i386/sysdep.S: Likewise.
41269         * sysdeps/unix/sparc/start.c: Likewise.
41270         * sysdeps/unix/sparc/sysdep.S: Likewise.
41271         * sysdeps/unix/sparc/sysdep.h: Likewise.
41272         * sysdeps/unix/start.c: Likewise.
41273         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41274         * sysdeps/x86_64/sysdep.h: Likewise.
41275
41276 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
41277
41278         [BZ #13553]
41279         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41280         for non-gcc.
41281         * argp/argp-fmtstream.h: Use const instead __const.
41282         * argp/argp.h: Likewise.
41283         * assert/assert.h: Likewise.
41284         * bits/fenv.h: Likewise.
41285         * bits/sched.h: Likewise.
41286         * bits/sigset.h: Likewise.
41287         * bits/sigthread.h: Likewise.
41288         * catgets/nl_types.h: Likewise.
41289         * conform/data/pthread.h-data: Likewise.
41290         * crypt/crypt-private.h: Likewise.
41291         * crypt/crypt.h: Likewise.
41292         * crypt/crypt_util.c: Likewise.
41293         * ctype/ctype.h: Likewise.
41294         * debug/execinfo.h: Likewise.
41295         * debug/mbsnrtowcs_chk.c: Likewise.
41296         * debug/mbsrtowcs_chk.c: Likewise.
41297         * debug/wcsnrtombs_chk.c: Likewise.
41298         * debug/wcsrtombs_chk.c: Likewise.
41299         * debug/wcstombs_chk.c: Likewise.
41300         * dirent/dirent.h: Likewise.
41301         * dlfcn/dlfcn.h: Likewise.
41302         * elf/neededtest4.c: Likewise.
41303         * grp/grp.h: Likewise.
41304         * gshadow/gshadow.h: Likewise.
41305         * iconv/gconv.h: Likewise.
41306         * iconv/gconv_int.h: Likewise.
41307         * iconv/gconv_simple.c: Likewise.
41308         * iconv/iconv.h: Likewise.
41309         * iconv/loop.c: Likewise.
41310         * iconv/skeleton.c: Likewise.
41311         * include/aio.h: Likewise.
41312         * include/aliases.h: Likewise.
41313         * include/argz.h: Likewise.
41314         * include/arpa/inet.h: Likewise.
41315         * include/assert.h: Likewise.
41316         * include/dirent.h: Likewise.
41317         * include/dlfcn.h: Likewise.
41318         * include/execinfo.h: Likewise.
41319         * include/fcntl.h: Likewise.
41320         * include/fenv.h: Likewise.
41321         * include/glob.h: Likewise.
41322         * include/grp.h: Likewise.
41323         * include/libintl.h: Likewise.
41324         * include/mntent.h: Likewise.
41325         * include/netdb.h: Likewise.
41326         * include/pwd.h: Likewise.
41327         * include/rpc/netdb.h: Likewise.
41328         * include/sched.h: Likewise.
41329         * include/search.h: Likewise.
41330         * include/shadow.h: Likewise.
41331         * include/signal.h: Likewise.
41332         * include/stdio.h: Likewise.
41333         * include/stdlib.h: Likewise.
41334         * include/string.h: Likewise.
41335         * include/sys/socket.h: Likewise.
41336         * include/sys/stat.h: Likewise.
41337         * include/sys/statfs.h: Likewise.
41338         * include/sys/statvfs.h: Likewise.
41339         * include/sys/syslog.h: Likewise.
41340         * include/sys/time.h: Likewise.
41341         * include/sys/uio.h: Likewise.
41342         * include/time.h: Likewise.
41343         * include/unistd.h: Likewise.
41344         * include/utmp.h: Likewise.
41345         * include/wchar.h: Likewise.
41346         * include/wctype.h: Likewise.
41347         * inet/aliases.h: Likewise.
41348         * inet/arpa/inet.h: Likewise.
41349         * inet/netinet/ether.h: Likewise.
41350         * inet/netinet/in.h: Likewise.
41351         * intl/libintl.h: Likewise.
41352         * io/bits/fcntl2.h: Likewise.
41353         * io/fcntl.h: Likewise.
41354         * io/ftw.h: Likewise.
41355         * io/sys/poll.h: Likewise.
41356         * io/sys/stat.h: Likewise.
41357         * io/sys/statfs.h: Likewise.
41358         * io/sys/statvfs.h: Likewise.
41359         * io/utime.h: Likewise.
41360         * libio/bits/stdio.h: Likewise.
41361         * libio/bits/stdio2.h: Likewise.
41362         * libio/libio.h: Likewise.
41363         * libio/libioP.h: Likewise.
41364         * libio/stdio.h: Likewise.
41365         * locale/lc-ctype.c: Likewise.
41366         * locale/locale.h: Likewise.
41367         * login/utmp.h: Likewise.
41368         * malloc/arena.c: Likewise.
41369         * malloc/malloc.c: Likewise.
41370         * malloc/malloc.h: Likewise.
41371         * malloc/mcheck.c: Likewise.
41372         * malloc/mtrace.c: Likewise.
41373         * math/bits/mathcalls.h: Likewise.
41374         * math/fenv.h: Likewise.
41375         * math/math_private.h: Likewise.
41376         * misc/bits/error.h: Likewise.
41377         * misc/bits/syslog.h: Likewise.
41378         * misc/err.h: Likewise.
41379         * misc/error.h: Likewise.
41380         * misc/fstab.h: Likewise.
41381         * misc/mntent.h: Likewise.
41382         * misc/regexp.h: Likewise.
41383         * misc/search.h: Likewise.
41384         * misc/sgtty.h: Likewise.
41385         * misc/sys/mman.h: Likewise.
41386         * misc/sys/syslog.h: Likewise.
41387         * misc/sys/uio.h: Likewise.
41388         * misc/sys/xattr.h: Likewise.
41389         * misc/ttyent.h: Likewise.
41390         * nis/rpcsvc/ypclnt.h: Likewise.
41391         * nss/nss.h: Likewise.
41392         * posix/bits/unistd.h: Likewise.
41393         * posix/fnmatch.h: Likewise.
41394         * posix/glob.h: Likewise.
41395         * posix/sched.h: Likewise.
41396         * posix/spawn.h: Likewise.
41397         * posix/sys/wait.h: Likewise.
41398         * posix/unistd.h: Likewise.
41399         * posix/wordexp.h: Likewise.
41400         * pwd/pwd.h: Likewise.
41401         * resolv/netdb.h: Likewise.
41402         * resource/sys/resource.h: Likewise.
41403         * rt/aio.h: Likewise.
41404         * rt/bits/mqueue2.h: Likewise.
41405         * rt/mqueue.h: Likewise.
41406         * shadow/shadow.h: Likewise.
41407         * signal/signal.h: Likewise.
41408         * socket/send.c: Likewise.
41409         * socket/sendto.c: Likewise.
41410         * socket/sys/socket.h: Likewise.
41411         * stdio-common/printf.h: Likewise.
41412         * stdlib/bits/stdlib.h: Likewise.
41413         * stdlib/fmtmsg.h: Likewise.
41414         * stdlib/monetary.h: Likewise.
41415         * stdlib/stdlib.h: Likewise.
41416         * stdlib/ucontext.h: Likewise.
41417         * streams/stropts.h: Likewise.
41418         * string/argz.h: Likewise.
41419         * string/bits/string2.h: Likewise.
41420         * string/string.h: Likewise.
41421         * string/strings.h: Likewise.
41422         * sunrpc/rpc/auth.h: Likewise.
41423         * sunrpc/rpc/auth_des.h: Likewise.
41424         * sunrpc/rpc/clnt.h: Likewise.
41425         * sunrpc/rpc/netdb.h: Likewise.
41426         * sunrpc/rpc/pmap_clnt.h: Likewise.
41427         * sunrpc/rpc/xdr.h: Likewise.
41428         * sysdeps/generic/inttypes.h: Likewise.
41429         * sysdeps/generic/net/if.h: Likewise.
41430         * sysdeps/generic/sys/swap.h: Likewise.
41431         * sysdeps/gnu/net/if.h: Likewise.
41432         * sysdeps/gnu/utmpx.h: Likewise.
41433         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41434         * sysdeps/i386/i486/bits/string.h: Likewise.
41435         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41436         * sysdeps/s390/bits/string.h: Likewise.
41437         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41438         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41439         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41440         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41441         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41442         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41443         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41444         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41445         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41446         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41447         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41448         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41449         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41450         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41451         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41452         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41453         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41455         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41456         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41457         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41458         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41459         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41460         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41461         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41462         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41463         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41464         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41465         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41466         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41467         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41468         * sysvipc/sys/ipc.h: Likewise.
41469         * sysvipc/sys/msg.h: Likewise.
41470         * sysvipc/sys/sem.h: Likewise.
41471         * sysvipc/sys/shm.h: Likewise.
41472         * termios/termios.h: Likewise.
41473         * time/sys/time.h: Likewise.
41474         * time/time.h: Likewise.
41475         * wcsmbs/bits/wchar2.h: Likewise.
41476         * wcsmbs/uchar.h: Likewise.
41477         * wcsmbs/wchar.h: Likewise.
41478         * wctype/wctype.h: Likewise.
41479
41480         [BZ #13551]
41481         * Makeconfig: Remove all but ELF support including AIX support.
41482         * Makerules: Likewise.
41483         * config.h.in: Likewise.
41484         * config.make.in: Likewise.
41485         * configure: Likewise.
41486         * configure.in: Likewise.
41487         * csu/Makefile: Likewise.
41488         * csu/version.c: Likewise.
41489         * debug/Makefile: Likewise.
41490         * dlfcn/Makefile: Likewise.
41491         * elf/Makefile: Likewise.
41492         * extra-lib.mk: Likewise.
41493         * iconv/Makefile: Likewise.
41494         * include/libc-symbols.h: Likewise.
41495         * include/shlib-compat.h: Likewise.
41496         * resolv/Makefile: Likewise.
41497         * resolv/res_libc.c: Likewise.
41498         * rt/Makefile: Likewise.
41499         * sysdeps/i386/asm-syntax.h: Likewise.
41500         * sysdeps/i386/sysdep.h: Likewise.
41501         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41502         * sysdeps/mach/sysdep.h: Likewise.
41503         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41504         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41505         * sysdeps/s390/asm-syntax.h: Likewise.
41506         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41507         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41508         * sysdeps/sh/sysdep.h: Likewise.
41509         * sysdeps/unix/sparc/sysdep.h: Likewise.
41510         * sysdeps/wordsize-32/divdi3.c: Likewise.
41511         * sysdeps/x86_64/sysdep.h: Likewise.
41512
41513         * argp/Versions: Remove _argp_unlock_xxx.
41514
41515         [BZ #13559]
41516         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41517         * abilist/libBrokenLocale.abilist: Likewise.
41518         * abilist/libanl.abilist: Likewise.
41519         * abilist/libc.abilist: Likewise.
41520         * abilist/libcrypt.abilist: Likewise.
41521         * abilist/libdl.abilist: Likewise.
41522         * abilist/libm.abilist: Likewise.
41523         * abilist/libnsl.abilist: Likewise.
41524         * abilist/libpthread.abilist: Likewise.
41525         * abilist/libresolv.abilist: Likewise.
41526         * abilist/librt.abilist: Likewise.
41527         * abilist/libthread_db.abilist: Likewise.
41528         * abilist/libutil.abilist: Likewise.
41529         * abilist/libnss_db.abilist: New file.
41530
41531         * scripts/abilist.awk: Add support for indirect functions.
41532
41533         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41534
41535         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41536
41537         * shlib-versions: Remove entries for ports architectures.
41538
41539         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41540         files in ports.
41541         * elf/stackguard-macros.h: Remove support for IA-64.
41542         * elf/tst-auditmod1.c: Likewise.
41543         * sysdeps/generic/ldsodefs.h: Likewise.
41544
41545         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41546         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41547         configure files.
41548
41549         [BZ #13552]
41550         * configure.in: Remove --enable-omitfp support.
41551         * FAQ.in: Adjust.
41552         * config.make.in: Likewise.
41553         * Makeconfig: Likewise.
41554         * manual/install.texi: Likewise.
41555
41556         In case anyone cares, the IA-64 architecture could move to ports.
41557         * sysdeps/ia64/*: Removed.
41558         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41559         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41560
41561         [BZ #13555]
41562         * configure.in: Remove entries for unsupported architectures.
41563
41564         [BZ #13533]
41565         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41566         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41567         routines.
41568         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41569         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41570         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41571         fall back to using wcrtomb.
41572         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41573         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41574         renaming.
41575         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41576         * wcsmbs/tst-c16c32-1.c: New file.
41577
41578         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41579         local variable.
41580
41581         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41582
41583         * elf/tst-unique3.cc: Add explicit declaration of gets.
41584         * elf/tst-unique3lib.cc: Likewise.
41585         * elf/tst-unique3lib2.cc: Likewise.
41586         * elf/tst-unique4.cc: Likewise.
41587
41588         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41589
41590 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41591
41592         [BZ #13566]
41593         * assert/assert.h (static_assert): Don't define for C++.
41594         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41595         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41596
41597 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41598
41599         * iconv/loop.c (single loop): Fix assertion in storing of
41600         remaining bytes.
41601
41602         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41603
41604 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41605
41606         * posix/getconf.c: Update copyright year.
41607         * nss/getent.c: Likewise.
41608         * nss/makedb.c: Likewise.
41609         * iconv/iconvconfig.c: Likewise.
41610         * iconv/iconv_prog.c: Likewise.
41611         * elf/ldconfig.c: Likewise.
41612         * elf/pldd.c: Likewise.
41613         * elf/sotruss.ksh: Likewise.
41614         * catgets/gencat.c: Likewise.
41615         * csu/version.c: Likewise.
41616         * elf/ldd.bash.in: Likewise.
41617         * elf/sprof.c (print_version): Likewise.
41618         * locale/programs/locale.c: Likewise.
41619         * locale/programs/localedef.c: Likewise.
41620         * login/programs/pt_chown.c: Likewise.
41621         * nscd/nscd.c (print_version): Likewise.
41622         * debug/xtrace.sh: Likewise.
41623         * malloc/memusage.sh: Likewise.
41624         * malloc/mtrace.pl: Likewise.
41625         * debug/catchsegv.sh: Likewise.
41626
41627 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41628
41629         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41630         pure attribute.
41631
41632 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41633
41634         [BZ #13533]
41635         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41636         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41637         transformations.
41638         * iconv/gconv_int.h: Likewise.
41639         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41640         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41641         from libc for GLIBC_2.16.
41642         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41643         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41644         * wcsmbs/uchar.h: Really define mbstate_t.
41645         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41646         * wcsmbs/c16rtomb.c: New file.
41647         * wcsmbs/mbrtoc16.c: New file.
41648         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41649         for C/POSIX locale.
41650         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41651         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41652
41653         * wcsmbs/wchar.h: Add missing __restrict.
41654
41655 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41656
41657         [BZ #13532]
41658         * time/Makefile (routines): Add timespec_get.
41659         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41660         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41661         timespec for ISO C11.
41662         * time/timespec_get.c: New file.
41663         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41664         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41665
41666         [BZ #13531]
41667         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41668         * stdlib/stdlib.h: Declare aligned_alloc.
41669         * Versions.def: Add GLIBC_2.16 for libc.
41670         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41671
41672         [BZ 13527]
41673         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41674         ISO C11.
41675
41676         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41677         code.
41678
41679         [BZ #13528]
41680         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41681
41682         [BZ #13529]
41683         * assert/assert.h (static_assert): Define.
41684
41685         * version.h: Update for 2.16 development version.
41686
41687         [BZ #13526]
41688         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41689         _ISOC11_SOURCE.
41690
41691         * version.h (RELEASE): Bump for 2.15 release.
41692         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41693
41694         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41695         Patch by Marek Polacek <mpolacek@redhat.com>.
41696
41697         * bits/byteswap.h: Protect long long constants with __extension__.
41698         * sysdeps/i386/bits/byteswap.h: Likewise.
41699         * sysdeps/ia64/bits/byteswap.h: Likewise.
41700         * sysdeps/s390/bits/byteswap.h: Likewise.
41701         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41702
41703 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41704
41705         [BZ #13540]
41706         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41707         destination buffer.
41708         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41709
41710 2011-12-23  Marek Polacek  <polacek@redhat.com>
41711
41712         * elf/dl-addr.c (determine_info): Add inline keyword.
41713         * elf/tst-auditmod4b.c (check_avx): Likewise.
41714         * elf/tst-auditmod6b.c (check_avx): Likewise.
41715         * elf/tst-auditmod6c.c (check_avx): Likewise.
41716         * elf/tst-auditmod7b.c (check_avx): Likewise.
41717
41718 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41719
41720         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41721         !__SSE_MATH__.
41722
41723 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41724
41725         [BZ #13540]
41726         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41727         processing for last bytes.
41728
41729 2011-08-06  Bruno Haible  <bruno@clisp.org>
41730
41731         [BZ #13061]
41732         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41733         U+0385, not to U+1FEE.
41734
41735         [BZ #13062]
41736         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41737         entry for U+00A5 U+0301.
41738
41739 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41740
41741         [BZ #13166]
41742         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41743         buffer for the output is too small.
41744
41745         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41746         optimization.
41747
41748         [BZ #13185]
41749         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41750         SSE flags if possible.
41751
41752 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41753
41754         [BZ #13540]
41755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41756         processing for last bytes.
41757
41758 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41759
41760         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41761         (syscall-list-default-options, syscall-list-default-condition)
41762         (syscall-list-includes): Define.
41763         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41764         list of ABIs and options and #if conditions for each ABI.  Do not
41765         handle common syscalls between ABIs specially.
41766         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41767         Remove.
41768         (syscall-list-variants, syscall-list-32bit-options)
41769         (syscall-list-32bit-condition, syscall-list-64bit-options)
41770         (syscall-list-64bit-condition): Define.
41771         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41772         (syscall-list-variants, syscall-list-32bit-options)
41773         (syscall-list-32bit-condition, syscall-list-64bit-options)
41774         (syscall-list-64bit-condition): Define.
41775         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41776         Remove.
41777         (syscall-list-variants, syscall-list-32bit-options)
41778         (syscall-list-32bit-condition, syscall-list-64bit-options)
41779         (syscall-list-64bit-condition): Define.
41780         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41781         Remove.
41782         (syscall-list-variants, syscall-list-32bit-options)
41783         (syscall-list-32bit-condition, syscall-list-64bit-options)
41784         (syscall-list-64bit-condition): Define.
41785
41786 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41787
41788         * locale/iso-639.def: Add brx entry.
41789
41790         [BZ #13328]
41791         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41792         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41793
41794         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41795         __feraiseexcept_renamed.
41796
41797 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41798
41799         [BZ #13538]
41800         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41801         EPOLLET with unsigned values.
41802         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41803         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41804
41805         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41806         to large cancellation.
41807         * math/s_cacoshf.c: Likewise.
41808         * math/s_cacoshl.c: Likewise.
41809
41810 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41811
41812         [BZ #13305]
41813         [BZ #12786]
41814         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41815         * math/s_cacoshf.c: Likewise.
41816         * math/s_cacoshl.c: Likewise.
41817
41818 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41819
41820         [BZ #13439]
41821         * iconv/gconv.h: Define __GCONV_SWAP.
41822         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41823         * iconvdata/utf-16.c: Likewise.
41824         * iconvdata/utf-32.c: Likewise.
41825
41826 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41827
41828         [BZ #13524]
41829         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41830         numerator after shifting it by one limb.
41831
41832 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41833
41834         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41835         under [__USE_EXTERN_INLINES].
41836
41837 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41838
41839         [BZ #13446]
41840         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41841
41842 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41843
41844         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41845         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41846         optimized code.
41847         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41848         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41849         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41850         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41851         for strncasecmp/strncasecmp_l compilation.
41852         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41853         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41854
41855 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41856
41857         [BZ #13484]
41858         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41859         of __asm__.
41860
41861 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41862
41863         [BZ #13506]
41864         * time/tzfile.c (__tzfile_read): Check values from file header.
41865
41866 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41867
41868         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41869         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41870         * powerpc/powerpc32/dl-start.S: Likewise.
41871         * powerpc/powerpc32/elf/start.S: Likewise.
41872         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41873         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41874         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41875         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41876         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41877         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41878         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41879         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41880         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41881         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41882         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41883         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41884         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41885         * powerpc/powerpc32/memset.S: Likewise.
41886         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41887         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41888         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41889         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41890         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41891         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41892         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41893         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41894         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41895         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41896         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41897         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41898         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41899
41900 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41901
41902         * math/libm-test.inc: Added more nearbyint tests.
41903         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41904         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41905         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41906         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41907
41908 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41909
41910         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41911         FD_CLOEXEC.
41912
41913 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41914
41915         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41916         Add wcscpy-ssse3 wcscpy-c.
41917         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41918         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41919         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41920         * sysdeps/x86_64/wcschr.S: New file.
41921         * sysdeps/x86_64/wcsrchr.S: New file.
41922         * string/test-strcmp.c: Remove checking of wcscmp function for
41923         wrong alignments.
41924         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41925         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41926         wcsrchr-sse2 wcsrchr-c.
41927         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41928         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41929         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41930         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41931         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41932         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41933         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41934         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41935         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41936         * wcsmbc/wcschr.c (WCSCHR): New macro.
41937
41938 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41939
41940         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41941         * wcsmbs/test-wcsrchr.c: New file.
41942         * string/test-strrchr.c: Add wcsrchr support.
41943         (WIDE): New macro.
41944         * wcsmbs/test-wcscpy.c: New file.
41945         * string/test-strcpy.c: Add wcscpy support.
41946         (WIDE): New macro.
41947
41948 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41949
41950         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41951         the inner loop.
41952
41953 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41954
41955         [BZ #13472]
41956         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41957
41958 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41959
41960         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41961         Minor optimizations.
41962
41963         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41964         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41965         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41966
41967 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41968
41969         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41970         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41971         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41972         for gcc to avoid warnings.
41973         * inet/Makefile (tests): Add tst-checks.
41974         * inet/tst-checks.c: New file.
41975
41976         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41977         warning.
41978
41979         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41980         __wmemcmp_sse2.
41981
41982         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41983         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41984
41985         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41986
41987 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41988
41989         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41990         problem.
41991
41992         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41993
41994 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41995
41996         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41997         conditional on GCC version.
41998         (__arch_compare_and_exchange_val_8_acq)
41999         (__arch_compare_and_exchange_val_16_acq)
42000         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42001         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42002         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42003
42004 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
42005
42006         * sysdeps/sh/backtrace.c: New file.
42007
42008 2011-12-02  Andreas Schwab  <schwab@redhat.com>
42009
42010         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
42011         parenthesis.
42012
42013 2011-12-01  Andreas Schwab  <schwab@redhat.com>
42014
42015         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42016         falling back to utime.
42017
42018 2011-11-30  Andreas Schwab  <schwab@redhat.com>
42019
42020         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42021         expectations for float.
42022
42023 2011-11-29  Andreas Schwab  <schwab@redhat.com>
42024
42025         * locale/weight.h (findidx): Add parameter len.
42026         * locale/weightwc.h (findidx): Likewise.
42027         * posix/fnmatch_loop.c (FCT): Adjust caller.
42028         * posix/regcomp.c (build_equiv_class): Likewise.
42029         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42030         * posix/regexec.c (check_node_accept_bytes): Likewise.
42031         * string/strcoll_l.c (STRCOLL): Likewise.
42032         * string/strxfrm_l.c (STRXFRM): Likewise.
42033
42034 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
42035
42036         * Makefile.in: Remove CVSOPT handling.
42037         * configure.in: Remove use of AC_REVISION.
42038         * iconvdata/Makefile (distribute): No need to filter out CVS.
42039         * scripts/list-sources.sh: Remove CVS, subversion and monotone
42040         handling.
42041
42042 2011-11-16  Andreas Schwab  <schwab@redhat.com>
42043
42044         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42045         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42046         [USE_AS_STRNCASECMP_L]: Likewise.
42047         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42048         NO_TLS_DIRECT_SEG_REFS.
42049         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42050         Fix argument offsets for non-PIC.
42051         [USE_AS_STRNCASECMP_L]: Likewise.
42052         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42053         NO_TLS_DIRECT_SEG_REFS.
42054
42055 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42056
42057         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42058         O_CLOEXEC.
42059         * locale/loadlocale.c (_nl_load_locale): Likewise.
42060
42061 2011-11-15  Andreas Schwab  <schwab@redhat.com>
42062
42063         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42064         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42065         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42066         (SYSCALL_GETTIME): Set errno on error.
42067
42068         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42069         count references to noai6ai_cached.
42070
42071 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
42072
42073         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42074
42075         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42076         FD_CLOEXEC for /proc/self/maps.
42077
42078         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42079         FD_CLOEXEC for /proc/meminfo.
42080
42081         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42082         gai.conf.
42083
42084         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
42085         FD_CLOEXEC for given file.
42086
42087         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42088
42089         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42090         FD_CLOEXEC for /etc/hosts.
42091         (_gethtent): Likewise.
42092
42093         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42094
42095         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42096         cancellation and set FD_CLOEXEC for /etc/netgroup.
42097
42098         * nss/nss_files/files-key.c (search): Don't allow cancellation when
42099         reading /etc/publickey.
42100
42101         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42102         allow cancellation when reading /etc/group.
42103
42104         * nss/nss_files/files-alias.c (internal_setent): Don't allow
42105         cancellation.
42106         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
42107
42108         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42109         when using data file.
42110
42111         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42112
42113         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42114         (write_nis_obj): Use "c" and "e" in fopen.
42115
42116         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42117
42118         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42119
42120         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42121
42122         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42123
42124         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42125         locale.alias.
42126
42127         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42128
42129         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42130
42131         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42132
42133         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42134         file parsing and set FD_CLOEXEC.
42135
42136 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42137
42138         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42139
42140 2011-11-14  Andreas Schwab  <schwab@redhat.com>
42141
42142         * malloc/arena.c (arena_get2): Don't call reused_arena when
42143         _int_new_arena failed.
42144
42145 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
42146
42147         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42148         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42149         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42150         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42151         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42152         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42153         to compile strcasecmp and strncasecmp.
42154         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42155         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42156
42157         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42158
42159 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
42160
42161         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42162         locale-defines.sym to gen-as-const-headers.
42163         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42164         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42165         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42166         to compile strcasecmp and strncasecmp.
42167         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42168         strcasecmp_l and strncasecmp_l.
42169         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42170         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42171         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42172         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42173         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42174         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42175         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42176         * sysdeps/i386/i686/multiarch/strncase.S: New file.
42177         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42178         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42179         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42180
42181 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
42182
42183         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42184         result of SYSDEP_GETTIME_CPU to retval.
42185         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42186         parameter list to macro.  Remove trailing semicolon.  Adjust users.
42187
42188         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42189         variable.
42190
42191         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42192         mantissa words.
42193         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42194
42195         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42196         from unused variable.
42197
42198         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42199         DWARF definitions.
42200         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42201         for assembling.
42202
42203         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42204         over namespaces.
42205
42206         * sunrpc/rpc_prot.c (rejected): Fix case value.
42207
42208         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42209         unsigned long long int to avoid warnings in shift.
42210
42211         * posix/regex_internal.c (re_string_reconstruct): Actually use result
42212         of use of trans.
42213         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42214         variable tmp.
42215
42216         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42217         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42218         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42219
42220         * nis/nis_table.c (nis_list): Use variable of correct type for
42221         result of __follow_path call.
42222
42223 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42224
42225         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42226         of math functions ceil, trunc, floor, round, and sqrt, when
42227         avaliable on the platform.
42228         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42229         name clash.
42230         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42231         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42232         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42233
42234 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
42235
42236         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42238
42239 2011-11-11  Roland McGrath  <roland@hack.frob.com>
42240
42241         * include/unistd.h: Fix __readlink return type.
42242         Reported by Chris Metcalf <cmetcalf@tilera.com>.
42243
42244 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
42245
42246         * stdlib/ucontext.h: Undo last change for makecontext.
42247
42248 2011-11-11  Andreas Schwab  <schwab@redhat.com>
42249
42250         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42251
42252         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42253         * setjmp/setjmp.h: Mark functions as non-leaf.
42254         * setjmp/bits/setjmp2.h: Likewise.
42255         * stdlib/ucontext.h: Likewise.
42256
42257 2011-11-10  Andreas Schwab  <schwab@redhat.com>
42258
42259         * malloc/arena.c (_int_new_arena): Don't increment narenas.
42260         (reused_arena): Don't check arena limit.
42261         (arena_get2): Atomically check arena limit.
42262
42263 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
42264
42265         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42266         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42267
42268         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42269         instructions.
42270
42271 2011-11-07  Andreas Schwab  <schwab@redhat.com>
42272
42273         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42274         handler when locking.
42275
42276         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42277         Fix size of allocated buffer.
42278
42279 2011-11-04  Andreas Schwab  <schwab@redhat.com>
42280
42281         [BZ #10103]
42282         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42283         declarations for long double functions.
42284         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42285
42286         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42287
42288 2011-11-03  Andreas Schwab  <schwab@redhat.com>
42289
42290         * nscd/nscd.c (main): Don't start AVC thread until credentials are
42291         installed.
42292
42293         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42294         is disabled.
42295
42296 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42297
42298         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42299
42300 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42301
42302         * include/alloca.h (stackinfo_alloca_round): Define.
42303         (extend_alloca): Use it.
42304         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42305         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42306         here.
42307
42308         * scripts/check-local-headers.sh: Ignore libaudit.h.
42309
42310         * nscd/Makefile (extra-objs): Make recursively expanded.
42311
42312 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
42313
42314         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42315         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42316
42317         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42318         * posix/tst-rfc3484-2.c: Likewise.
42319         * posix/tst-rfc3484-3.c: Likewise.
42320
42321         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42322         process_vm_writev.
42323         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42324         process_vm_writev.
42325         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42326         process_vm_writev from libc using GLIBC_2.15 version.
42327
42328         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42329
42330 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42331
42332         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42333         stack usage.
42334
42335 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42336
42337         [BZ #13367]
42338         * nss/getent.c (initgroups_keys): Show error message in case no group
42339         names are given.
42340
42341         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42342         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42343         __bump_nl_timestamp.
42344         * nscd/connections (nscd_init): When host database is served open
42345         netlink socket and request notification about configuration changes.
42346         (main_loop_poll): Track netlink file descriptor and bump timestamp
42347         in case data becomes available.
42348         (main_loop_epoll): Likewise.
42349         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42350         (database_pers_head): Add extra_data fileds.
42351         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42352         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42353         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42354         Adjust caller.
42355         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42356         in6ai data, call __free_in6ai.
42357         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42358         Add -DHAVE_NETLINK.
42359         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42360         interface information.  Reuse previous data if netlink timestamp
42361         is not changed.
42362         (__bump_nl_timestamp): New function.
42363         (__free_in6ai): New function.
42364
42365 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42366
42367         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42368         close_not_cancel_no_status here.
42369         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42370
42371 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42372
42373         [BZ #13276]
42374         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42375         return value.
42376
42377         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42378         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42379         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42380
42381 2011-07-03  Andreas Jaeger  <aj@suse.de>
42382
42383         [BZ #10709]
42384         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42385         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42386         * math/libm-test.inc (sin_test): Add test case.
42387
42388 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42389
42390         [BZ #13337]
42391         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42392         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42393
42394         * elf/chroot_canon.c (chroot_canon): Cleanups.
42395
42396         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42397
42398         [BZ #13335]
42399         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42400         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42401
42402         * string/test-strchr.c: Make usable for strchrnul testing.
42403         * string/test-strchrnul.c: New file.
42404         * string/Makefile (strop-tests): Add strchrnul.
42405
42406         * po/it.po: Update from translation team.
42407         * po/es.po: Likewise.
42408
42409 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42410
42411         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42412         the three constants needed as parameters.  Drop the others.
42413         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42414         __m128i_strloadu_tolower.
42415         Create and initialize variable zero and use it in all the places
42416         where _mm_setzero_si128 was used.
42417
42418         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42419         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42420         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42421         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42422         anymore.
42423         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42424         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42425         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42426         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42427         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42428         __mpranred, __mptan.
42429         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42430         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42431         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42432         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42433         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42434         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42435         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42436         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42437         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42438
42439 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42440
42441         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42442         redefine if SHARED.
42443         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42444
42445         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42446         wide char related routines to wcsmbs subdir.
42447
42448 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42449
42450         [BZ #13344]
42451         * misc/sys/cdefs.h (__THROWNL): Define.
42452         * posix/unistd.h: Use __THREADNL instead of __THREAD
42453         for memory synchronization functions.
42454
42455 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42456
42457         [BZ #13349]
42458         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42459         doesn't exist.
42460         * manual/stdio.texi (Obstack Streams): Node removed.
42461
42462 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42463
42464         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42465         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42466         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42467
42468         * math/math_private.h (math_force_eval): Allow non-addressable
42469         arguments.
42470         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42471
42472 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42473
42474         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42475         file is not needed.
42476
42477         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42478         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42479         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42480         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42481         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42482         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42483         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42484         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42485         Add AVX variants.
42486         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42487         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42488         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42489         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42490         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42491         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42492         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42493         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42494         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42495         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42496         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42497         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42498         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42499         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42500         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42501         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42502         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42503         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42504         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42505
42506         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42507         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42508
42509         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42510         place.  Use VEX encoding when compiling for AVX.
42511
42512 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42513
42514         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42515         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42516
42517         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42518
42519 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42520
42521         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42522         useless if() expression.
42523         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42524         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42525         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42526         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42527         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42528         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42529         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42530         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42531         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42532         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42533         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42534         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42535         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42536         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42537         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42538         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42539         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42540         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42541         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42542
42543         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42544
42545 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42546
42547         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42548         condition.
42549         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42550
42551 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42552
42553         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42554         .text section.  Avoid duplicate constants.
42555         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42562         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42563         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42564         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42565         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42566         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42567         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42568         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42569         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42570         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42571         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42572         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42573         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42575         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42576         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42577         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42578         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42579         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42580         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42581         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42582         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42583         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42584         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42585         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42586         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42587         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42588         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42589         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42590         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42591         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42592         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42593         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42594         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42595         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42596         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42597         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42598         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42599         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42600
42601 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42602
42603         * sysdeps/x86_64/dla.h: Move to ...
42604         * sysdeps/x86_64/fpu/dla.h: ...here.
42605         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42606         situations.  Use __builtin_fma only for gcc 4.6 and up.
42607
42608         * config.make.in: Add have-mfma4 entry.
42609         * configure.in: Substitute libc_cv_cc_fma4.
42610         * math/Makefile (dbl-only-routines): Add sincostab.
42611         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42612         Use __sincostab not sincos.
42613         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42614         name is a macro.
42615         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42616         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42617         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42618         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42619         using __copysign.
42620         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42621         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42622         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42623         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42624         and __inv.
42625         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42626         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42627         __copysign.
42628         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42629         define aliases when function name is a macro.
42630         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42631         sysdeps/ieee754/dbl-64/sincos.tbl.
42632         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42633         fma4-enabled routines.
42634         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42635         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42636         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42637         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42638         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42639         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42640         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42641         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42642         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42643         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42644         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42645         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42646         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42647         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42648         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42649         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42650         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42651         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42652         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42653         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42654         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42655         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42656         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42657         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42658         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42659         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42660         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42661         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42662         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42663         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42664
42665         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42666         rename.
42667         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42672         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42673         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42675
42676 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42677
42678         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42679
42680 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42681
42682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42683
42684         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42685         prediction.
42686         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42687
42688         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42689         Remove unused variable magic_bits.
42690         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42691
42692         * string/strnlen.c: Define and use STRNLEN macro.
42693         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42694         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42695         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42696         * wcsmbs/wcslen.c: Define and use WCSLEN.
42697         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42698         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42699         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42700         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42701         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42702         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42703         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42704
42705 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42706
42707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42708         strnlen-sse2-no-bsf.
42709         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42710         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42711         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42712         Add strnlen support.
42713         (USE_AS_STRNLEN): New macro.
42714         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42715         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42716         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42717         * sysdeps/x86_64/wcslen.S: New file.
42718
42719 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42720
42721         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42722         XMM-moves are used for copying on small sizes.
42723
42724 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42725
42726         * wcsmbs/Makefile (strop-tests): Add wcschr.
42727         * wcsmbs/test-wcschr.c: New file.
42728         * string/test-strchr.c: Update.
42729         Add wcschr support.
42730         (WIDE): New macro.
42731
42732 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42733
42734         * wcsmbs/Makefile (strop-tests): Add wcslen.
42735         * wcsmbs/test-wcslen.c: New file.
42736         * string/test-strlen.c: Update.
42737         Add wcslen support.
42738         (WIDE): New macro.
42739
42740 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42741
42742         * po/it.po: Update from translation team.
42743
42744 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42745
42746         * sysdeps/x86_64/wcscmp.S: Update.
42747         Fix wrong comparison semantics.
42748         wcscmp shall use signed comparison not unsigned.
42749         Don't use substraction to avoid overflow bug.
42750         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42751         * wcsmbc/wcscmp.c: Likewise.
42752         * string/test-strcmp.c: Likewise.
42753         Add new tests to check cases with negative values.
42754
42755 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42756
42757         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42758         * sysdeps/x86_64/dla.h: ...here.  New file.
42759         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42764         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42765         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42767         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42768
42769 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42770
42771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42772         __ynl_finite aliases.
42773
42774 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42775
42776         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42777
42778         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42779         define DLA_FMA.
42780         [DLA_FMA] (EMULV): Use DLA_FMA.
42781         [DLA_FMA] (MUL12): Use EMULV.
42782         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42783         that are not needed.
42784         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42785         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42786         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42787         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42788         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42789         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42790         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42791
42792 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42793
42794         * math/s_nan.c: Undef __nan.
42795         * math/s_nanf.c: Undef __nanf.
42796         * math/s_nanl.c: Undef __nanl.
42797         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42798         "math_private.h".
42799
42800 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42801
42802         * math/s_catan.c: Add branch predictions.
42803         * math/s_catanf.c: Likewise.
42804         * math/s_catanh.c: Likewise.
42805         * math/s_catanhf.c: Likewise.
42806         * math/s_catanhl.c: Likewise.
42807         * math/s_catanl.c: Likewise.
42808         * math/s_cexp.c: Likewise.
42809         * math/s_cexpf.c: Likewise.
42810         * math/s_cexpl.c: Likewise.
42811         * math/s_clog.c: Likewise.
42812         * math/s_clog10.c: Likewise.
42813         * math/s_clog10f.c: Likewise.
42814         * math/s_clog10l.c: Likewise.
42815         * math/s_clogf.c: Likewise.
42816         * math/s_clogl.c: Likewise.
42817         * math/s_csqrt.c: Likewise.
42818         * math/s_csqrtf.c: Likewise.
42819         * math/s_csqrtl.c: Likewise.
42820         * math/s_ctanf.c: Likewise.
42821         * math/s_ctanh.c: Likewise.
42822         * math/s_ctanhf.c: Likewise.
42823         * math/s_ctanhl.c: Likewise.
42824         * math/s_ctanl.c: Likewise.
42825
42826         * math/math_private.h: Define __nan, __nanf, __nanl.
42827         * math/s_cacosh.c: Include <math_private.h>.
42828         * math/s_cacoshl.c: Likewise.
42829         * math/s_casinh.c: Likewise.
42830         * math/s_casinhf.c: Likewise.
42831         * math/s_casinhl.c: Likewise.
42832         * math/s_ccos.c: Rely entire on ccosh.
42833         * math/s_ccosf.c: Rely entire on ccoshf.
42834         * math/s_ccosl.c: Rely entirely on ccoshl.
42835         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42836         Remove tests for FE_INVALID.
42837         * math/s_ccoshf.c: Likewise.
42838         * math/s_ccoshl.c: Likewise.
42839         * math/s_csin.c: Likewise.
42840         * math/s_csinf.c: Likewise.
42841         * math/s_csinh.c Likewise.
42842         * math/s_csinhf.c: Likewise.
42843         * math/s_csinhl.c: Likewise.
42844         * math/s_csinl.c: Likewise.
42845         * math/s_ctan.c: Likewise.
42846         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42847         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42848         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42849
42850 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42851
42852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42853         compilation problems.
42854
42855         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42856         __builtin_expect.
42857
42858 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42859
42860         * sysdeps/i386/configure.in: Test for -mfma4 option.
42861         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42862         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42863         COMMON_CPUID_INDEX_80000001.
42864         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42865         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42866         use it if FMA3 is not supported.
42867         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42868
42869         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42870         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42871
42872 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42873
42874         [BZ #12892]
42875         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42876         it would create a cycle with a link time dependency.
42877
42878 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42879
42880         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42881         instruction.
42882         * string/Makefile (strop-tests): Add rawmemchr.
42883         * string/test-rawmemchr.c: New file.
42884
42885         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42886         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42887         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42888         when compiling str{,n}casecmp and when AVX is available.  Hook up
42889         new optimized code in initializers.
42890
42891 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42892
42893         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42894         __feraiseexcept instead of feraiseexcept.
42895
42896 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42897
42898         * math/math_private.h: Define defaults for libc_fetestexcept and
42899         libc_feupdateenv.
42900         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42901         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42902         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42903         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42904         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42905         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42906         libc_fetestexcept and libc_feupdateenv.
42907
42908         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42909         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42910         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42911         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42912         libc_feholdexcept_setround.
42913
42914         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42915         Add s_nearbyint-c and s_nearbyintf-c.
42916         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42917         nearbyintf inlines.
42918         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42919         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42920         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42921         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42922
42923         * math/math_private.h: Define defaults for libc_fegetround,
42924         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42925         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42926         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42927         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42928         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42929         standard functions.
42930         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42931         Remove comments and hacks for old compiler versions.
42932         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42933         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42934         libc_feholdexceptl.
42935
42936 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42937
42938         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42939         (__feraiseexcept_renamed): Add __NTH.
42940         (feraiseexcept): Add __NTH.  Rename local variables to fix
42941         namespace violations.
42942
42943 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42944
42945         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42946
42947         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42948
42949         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42950         recently added interfaces.
42951         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42952
42953         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42954         about macro parameter expansion.
42955
42956         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42957         __NO_MATH_INLINES is defined.  Cleanups.
42958
42959         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42960         and __floorf is target has SSE4.1.
42961         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42962         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42963         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42964         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42965
42966         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42967         name.
42968         (floorf): Likewise.
42969
42970         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42971
42972 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42973
42974         * misc/sys/cdefs.h: Fix last change.
42975
42976         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42977         database lookup.
42978
42979 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42980
42981         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42982
42983         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42984         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42985         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42986         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42987         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42989         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42990         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42991         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42992         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42993         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42994         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42995         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42996         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42997         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42998         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42999         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43000         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43001         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43002         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43003         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43004         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43005
43006         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43007         ceil, ceilf, floor, floorf.
43008
43009         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43010         Perform IRELATIVE relocations last.
43011
43012         * elf/do-rel.h: Add another parameter nrelative, replacing the
43013         local variable with the same name.  Change name of the function
43014         to end in Rel or Rela (uppercase).
43015         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43016         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
43017         elf_dynamic_do_##reloc function.
43018
43019 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43020
43021         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43022         is sufficient, at least on modern CPUs.
43023
43024         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43025
43026         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43027         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43028
43029         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43030         __expl_finite.
43031         * math/bits/math-finite.h: Add entries for exp.
43032         * math/e_expl.c: Add __*_finite alias.
43033         * sysdeps/i386/fpu/e_exp.S: Likewise.
43034         * sysdeps/i386/fpu/e_expf.S: Likewise.
43035         * sysdeps/i386/fpu/e_expl.c: Likewise.
43036         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43037         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43038         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43040         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43041         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43042         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43043
43044         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43045         is sufficient, at least on modern CPUs.
43046
43047         * ctype/ctype-info.c (__ctype_init): Define.
43048         * include/ctype.h (__ctype_init): Declare.
43049         (__ctype_b_loc): The variable is always initialized.
43050         (__ctype_toupper_loc): Likewise.
43051         (__ctype_tolower_loc): Likewise.
43052         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43053         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43054
43055 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
43056
43057         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43058
43059         * configure.in: Also look in $cxxmachine/include for C++ system
43060         headers.
43061
43062 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43063
43064         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43065         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43066         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43067         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
43068         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43069         (USE_AS_WMEMCMP): New macro.
43070         Fixing indents.
43071         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43072         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43073         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43074         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43075         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43076         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43077         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43078         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43079         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43080         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43081         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43082         (USE_AS_WMEMCMP): New macro.
43083         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43084         * sysdeps/string/test-memcmp.c: Update.
43085         Fix simple_wmemcmp.
43086         Add new tests.
43087         * wcsmbs/wmemcmp.c: Update.
43088         (WMEMCMP): New macro.
43089         Fix overflow bug.
43090
43091 2011-10-12  Andreas Jaeger  <aj@suse.de>
43092
43093         [BZ #13268]
43094         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43095
43096 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
43097
43098         * libio/iofwide.c (do_length): Avoid warning.
43099
43100         * ctype/ctype.h (__isctype_f): Add missing __THROW.
43101
43102 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
43103
43104         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43105
43106         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43107         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43108         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43109         * sysdeps/i386/i686/fpu/e_log.S: New file.
43110         * sysdeps/i386/i686/fpu/e_logf.S: New file.
43111         * sysdeps/i386/i686/fpu/e_logl.S: New file.
43112
43113         * ctype/ctype.h: Add support for inlined isXXX functions when
43114         compiling C++ code.
43115
43116 2011-10-14  Andreas Schwab  <schwab@redhat.com>
43117
43118         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43119
43120         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43121
43122 2011-10-13  Roland McGrath  <roland@hack.frob.com>
43123
43124         [BZ #13291]
43125         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43126
43127 2011-10-13  Andreas Schwab  <schwab@redhat.com>
43128
43129         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43130         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43131         feraiseexcept.
43132
43133         * sysdeps/x86_64/memrchr.S: Check for zero size.
43134
43135         * string/stratcliff.c: Add memrchr tests.
43136
43137 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43138
43139         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43140         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43141         rawmemchr-sse2 rawmemchr-sse2-bsf.
43142         * sysdeps/i386/i686/multiarch/memchr.S: New file.
43143         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43144         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43145         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43146         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43147         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43148         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43149         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43150         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43151         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43152         * string/memrchr.c (MEMRCHR): New macro.
43153
43154 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
43155
43156         Add integration with gcc's -ffinite-math-only and optimize wrapper
43157         functions in libm.
43158         * Versions.def: Define GLIBC_2.15 version for libm.
43159         * math/Makefile (headers): Add bits/math-finite.h.
43160         * math/bits/math-finite.h: New file.
43161         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43162         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43163         * math/e_acoshl.c: Add __*_finite alias.
43164         * math/e_acosl.c: Likewise.
43165         * math/e_asinl.c: Likewise.
43166         * math/e_atan2l.c: Likewise.
43167         * math/e_atanhl.c: Likewise.
43168         * math/e_coshl.c: Likewise.
43169         * math/e_exp10.c: Likewise.
43170         * math/e_exp10f.c: Likewise.
43171         * math/e_exp10l.c: Likewise.
43172         * math/e_exp2l.c: Likewise.
43173         * math/e_fmodl.c: Likewise.
43174         * math/e_gammal_r.c: Likewise.
43175         * math/e_hypotl.c: Likewise.
43176         * math/e_j0l.c: Likewise.
43177         * math/e_j1l.c: Likewise.
43178         * math/e_jnl.c: Likewise.
43179         * math/e_lgammal_r.c: Likewise.
43180         * math/e_log10l.c: Likewise.
43181         * math/e_log2l.c: Likewise.
43182         * math/e_logl.c: Likewise.
43183         * math/e_powl.c: Likewise.
43184         * math/e_sinhl.c: Likewise.
43185         * math/e_sqrtl.c: Likewise.
43186         * math/e_scalb.c: Completely rewritten and optimized.
43187         * math/e_scalbf.c: Likewise.
43188         * math/e_scalbl.c: Likewise.
43189         * math/w_acos.c: Likewise.
43190         * math/w_acosf.c: Likewise.
43191         * math/w_acosl.c: Likewise.
43192         * math/w_acosh.c: Likewise.
43193         * math/w_acoshf.c: Likewise.
43194         * math/w_acoshl.c: Likewise.
43195         * math/w_asin.c: Likewise.
43196         * math/w_asinf.c: Likewise.
43197         * math/w_asinl.c: Likewise.
43198         * math/w_atan2.c: Likewise.
43199         * math/w_atan2f.c: Likewise.
43200         * math/w_atan2l.c: Likewise.
43201         * math/w_atanh.c: Likewise.
43202         * math/w_atanhf.c: Likewise.
43203         * math/w_atanhl.c: Likewise.
43204         * math/w_exp10.c: Likewise.
43205         * math/w_exp10f.c: Likewise.
43206         * math/w_exp10l.c: Likewise.
43207         * math/w_fmod.c: Likewise.
43208         * math/w_fmodf.c: Likewise.
43209         * math/w_fmodl.c: Likewise.
43210         * math/w_j0.c: Likewise.
43211         * math/w_j0f.c: Likewise.
43212         * math/w_j0l.c: Likewise.
43213         * math/w_j1.c: Likewise.
43214         * math/w_j1f.c: Likewise.
43215         * math/w_j1l.c: Likewise.
43216         * math/w_jn.c: Likewise.
43217         * math/w_jnf.c: Likewise.
43218         * math/w_log.c: Likewise.
43219         * math/w_logf.c: Likewise.
43220         * math/w_logl.c: Likewise.
43221         * math/w_log10.c: Likewise.
43222         * math/w_log10f.c: Likewise.
43223         * math/w_log10l.c: Likewise.
43224         * math/w_log2.c: Likewise.
43225         * math/w_log2f.c: Likewise.
43226         * math/w_log2l.c: Likewise.
43227         * math/w_pow.c: Likewise.
43228         * math/w_powf.c: Likewise.
43229         * math/w_powl.c: Likewise.
43230         * math/w_remainder.c: Likewise.
43231         * math/w_remainderf.c: Likewise.
43232         * math/w_remainderl.c: Likewise.
43233         * math/w_scalb.c: Likewise.
43234         * math/w_scalbf.c: Likewise.
43235         * math/w_scalbl.c: Likewise.
43236         * math/w_sqrt.c: Likewise.
43237         * math/w_sqrtf.c: Likewise.
43238         * math/w_sqrtl.c: Likewise.
43239         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43240         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
43241         used.
43242         * math/math_private.h: Declare __kernel_standard_f.
43243         * math/w_cosh.c: Remove cruft and optimize a bit.
43244         * math/w_coshf.c: Likewise.
43245         * math/w_coshl.c: Likewise.
43246         * math/w_exp2.c: Likewise.
43247         * math/w_exp2f.c: Likewise.
43248         * math/w_exp2l.c: Likewise.
43249         * math/w_hypot.c: Likewise.
43250         * math/w_hypotf.c: Likewise.
43251         * math/w_hypotl.c: Likewise.
43252         * math/w_lgamma.c: Likewise.
43253         * math/w_lgamma_r.c: Likewise.
43254         * math/w_lgammaf.c: Likewise.
43255         * math/w_lgammaf_r.c: Likewise.
43256         * math/w_lgammal.c: Likewise.
43257         * math/w_lgammal_r.c: Likewise.
43258         * math/w_sinh.c: Likewise.
43259         * math/w_sinhf.c: Likewise.
43260         * math/w_sinhl.c: Likewise.
43261         * math/w_tgamma.c: Likewise.
43262         * math/w_tgammaf.c: Likewise.
43263         * math/w_tgammal.c: Likewise.
43264         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43265         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43266         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43267         Minor optimizations.  Pretty printing.  Remove cruft.
43268         * sysdeps/i386/fpu/e_acosf.S: Likewise.
43269         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43270         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43271         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43272         * sysdeps/i386/fpu/e_acosl.c: Likewise.
43273         * sysdeps/i386/fpu/e_asin.S: Likewise.
43274         * sysdeps/i386/fpu/e_asinf.S: Likewise.
43275         * sysdeps/i386/fpu/e_atan2.S: Likewise.
43276         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43277         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43278         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43279         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43280         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43281         * sysdeps/i386/fpu/e_exp10.S: Likewise.
43282         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43283         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43284         * sysdeps/i386/fpu/e_exp2.S: Likewise.
43285         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43286         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43287         * sysdeps/i386/fpu/e_fmod.S: Likewise.
43288         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43289         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43290         * sysdeps/i386/fpu/e_hypot.S: Likewise.
43291         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43292         * sysdeps/i386/fpu/e_log.S: Likewise.
43293         * sysdeps/i386/fpu/e_log10.S: Likewise.
43294         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43295         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43296         * sysdeps/i386/fpu/e_log2.S: Likewise.
43297         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43298         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43299         * sysdeps/i386/fpu/e_logf.S: Likewise.
43300         * sysdeps/i386/fpu/e_logl.S: Likewise.
43301         * sysdeps/i386/fpu/e_pow.S: Likewise.
43302         * sysdeps/i386/fpu/e_powf.S: Likewise.
43303         * sysdeps/i386/fpu/e_powl.S: Likewise.
43304         * sysdeps/i386/fpu/e_remainder.S: Likewise.
43305         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43306         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43307         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43308         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43309         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43310         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43311         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43312         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43313         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43314         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43315         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43316         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43317         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43318         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43319         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43320         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43321         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43322         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43323         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43324         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43326         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43327         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43328         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43329         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43330         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43331         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43332         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43333         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43334         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43335         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43336         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43337         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43338         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43339         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43340         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43341         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43342         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43343         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43344         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43345         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43346         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43347         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43348         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43349         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43350         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43351         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43352         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43353         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43354         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43355         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43356         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43357         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43358         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43359         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43360         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43361         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43362         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43363         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43364         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43365         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43366         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43367         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43368         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43369         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43370         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43371         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43372         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43373         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43374         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43375         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43376         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43377         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43378         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43379         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43380         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43381         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43382         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43383         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43384         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43385         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43386         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43387         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43388         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43389         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43390         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43391         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43392         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43393         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43394         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43395         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43396         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43397         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43398         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43399         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43400         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43401         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43402         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43403         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43404         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43405         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43406         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43407         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43408         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43409         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43410         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43411         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43412         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43413         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43414         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43415         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43416         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43417         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43418         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43419         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43421         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43422         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43423         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43424         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43425         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43426         (__isnanf): Likewise.
43427         (__isinf_ns): Likewise.
43428         (__isinf_nsf): Likewise.
43429         (__finite): Likewise.
43430         (__finitef): Likewise.
43431         (__ieee754_sqrt): Define as macro.
43432         (__ieee754_sqrtf): Define as macro.
43433         (__ieee754_sqrtl): Define as macro.
43434         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43435         inlined copy.
43436         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43437         __FINITE_MATH_ONLY__ consistent.
43438         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43439
43440 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43441
43442         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43443         of rawmemchr.
43444
43445         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43446
43447 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43448
43449         * po/ja.po: Update from translation team.
43450
43451 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43452
43453         * locale/programs/locarchive.c (prepare_address_space): New function.
43454         (create_archive, enlarge_archive, open_archive): Use it.
43455
43456         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43457         inside [SHARED], where it is used.
43458
43459         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43460
43461         * nss/getent.c (netgroup_keys): Remove unused variable.
43462         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43463
43464 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43465
43466         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43467         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43469         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43470         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43471         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43472         * math/Makefile (libm-calls): Add s_isinf_ns.
43473         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43474         * math/multc3.c: Likewise.
43475         * math/s_casin.c: Likewise.
43476         * math/s_casinf.c: Likewise.
43477         * math/s_casinl.c: Likewise.
43478         * math/s_ccos.c: Likewise.
43479         * math/s_ccosf.c: Likewise.
43480         * math/s_ccosl.c: Likewise.
43481         * math/s_ctan.c: Likewise.
43482         * math/s_ctanf.c: Likewise.
43483         * math/s_ctanh.c: Likewise.
43484         * math/s_ctanhf.c: Likewise.
43485         * math/s_ctanhl.c: Likewise.
43486         * math/s_ctanl.c: Likewise.
43487         * math/w_fmod.c: Likewise.
43488         * math/w_fmodf.c: Likewise.
43489         * math/w_fmodl.c: Likewise.
43490         * math/w_remainder.c: Likewise.
43491         * math/w_remainderf.c: Likewise.
43492         * math/w_remainderl.c: Likewise.
43493         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43494         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43495         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43496         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43497         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43498         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43499         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43500         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43501
43502         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43503         of the number.
43504         * stdio-common/printf_fphex.c: Likewise.
43505         * stdio-common/printf_size.c: Likewise.
43506
43507         * math/e_exp10.c: Include math_private.h using <...> not "...".
43508         * math/e_exp10f.c: Likewise.
43509         * math/e_exp10l.c: Likewise.
43510         * math/e_exp2l.c: Likewise.
43511         * math/e_j0l.c: Likewise.
43512         * math/e_j1l.c: Likewise.
43513         * math/e_jnl.c: Likewise.
43514         * math/e_lgammal_r.c: Likewise.
43515         * math/e_rem_pio2l.c: Likewise.
43516         * math/e_scalb.c: Likewise.
43517         * math/e_scalbf.c: Likewise.
43518         * math/e_scalbl.c: Likewise.
43519         * math/k_cosl.c: Likewise.
43520         * math/k_sinl.c: Likewise.
43521         * math/k_tanl.c: Likewise.
43522         * math/s_cacoshf.c: Likewise.
43523         * math/s_catan.c: Likewise.
43524         * math/s_catanf.c: Likewise.
43525         * math/s_catanh.c: Likewise.
43526         * math/s_catanhf.c: Likewise.
43527         * math/s_catanhl.c: Likewise.
43528         * math/s_catanl.c: Likewise.
43529         * math/s_ccosh.c: Likewise.
43530         * math/s_ccoshf.c: Likewise.
43531         * math/s_ccoshl.c: Likewise.
43532         * math/s_cexp.c: Likewise.
43533         * math/s_cexpf.c: Likewise.
43534         * math/s_cexpl.c: Likewise.
43535         * math/s_clog.c: Likewise.
43536         * math/s_clog10.c: Likewise.
43537         * math/s_clog10f.c: Likewise.
43538         * math/s_clog10l.c: Likewise.
43539         * math/s_clogf.c: Likewise.
43540         * math/s_clogl.c: Likewise.
43541         * math/s_csin.c: Likewise.
43542         * math/s_csinf.c: Likewise.
43543         * math/s_csinh.c: Likewise.
43544         * math/s_csinhf.c: Likewise.
43545         * math/s_csinhl.c: Likewise.
43546         * math/s_csinl.c: Likewise.
43547         * math/s_csqrt.c: Likewise.
43548         * math/s_csqrtf.c: Likewise.
43549         * math/s_csqrtl.c: Likewise.
43550         * math/s_ctan.c: Likewise.
43551         * math/s_ctanf.c: Likewise.
43552         * math/s_ctanh.c: Likewise.
43553         * math/s_ctanhf.c: Likewise.
43554         * math/s_ctanhl.c: Likewise.
43555         * math/s_ctanl.c: Likewise.
43556         * math/s_ldexp.c: Likewise.
43557         * math/s_ldexpf.c: Likewise.
43558         * math/s_ldexpl.c: Likewise.
43559         * math/s_significand.c: Likewise.
43560         * math/s_significandf.c: Likewise.
43561         * math/s_significandl.c: Likewise.
43562         * math/w_acos.c: Likewise.
43563         * math/w_acosf.c: Likewise.
43564         * math/w_acosh.c: Likewise.
43565         * math/w_acoshf.c: Likewise.
43566         * math/w_acoshl.c: Likewise.
43567         * math/w_acosl.c: Likewise.
43568         * math/w_asin.c: Likewise.
43569         * math/w_asinf.c: Likewise.
43570         * math/w_asinl.c: Likewise.
43571         * math/w_atan2.c: Likewise.
43572         * math/w_atan2f.c: Likewise.
43573         * math/w_atan2l.c: Likewise.
43574         * math/w_atanh.c: Likewise.
43575         * math/w_atanhf.c: Likewise.
43576         * math/w_atanhl.c: Likewise.
43577         * math/w_cosh.c: Likewise.
43578         * math/w_coshf.c: Likewise.
43579         * math/w_coshl.c: Likewise.
43580         * math/w_dremf.c: Likewise.
43581         * math/w_exp10.c: Likewise.
43582         * math/w_exp10f.c: Likewise.
43583         * math/w_exp10l.c: Likewise.
43584         * math/w_exp2.c: Likewise.
43585         * math/w_exp2f.c: Likewise.
43586         * math/w_fmod.c: Likewise.
43587         * math/w_fmodf.c: Likewise.
43588         * math/w_fmodl.c: Likewise.
43589         * math/w_hypot.c: Likewise.
43590         * math/w_hypotf.c: Likewise.
43591         * math/w_hypotl.c: Likewise.
43592         * math/w_j0.c: Likewise.
43593         * math/w_j0f.c: Likewise.
43594         * math/w_j0l.c: Likewise.
43595         * math/w_j1.c: Likewise.
43596         * math/w_j1f.c: Likewise.
43597         * math/w_j1l.c: Likewise.
43598         * math/w_jn.c: Likewise.
43599         * math/w_jnf.c: Likewise.
43600         * math/w_jnl.c: Likewise.
43601         * math/w_lgamma.c: Likewise.
43602         * math/w_lgamma_r.c: Likewise.
43603         * math/w_lgammaf.c: Likewise.
43604         * math/w_lgammaf_r.c: Likewise.
43605         * math/w_lgammal.c: Likewise.
43606         * math/w_lgammal_r.c: Likewise.
43607         * math/w_log.c: Likewise.
43608         * math/w_log10.c: Likewise.
43609         * math/w_log10f.c: Likewise.
43610         * math/w_log10l.c: Likewise.
43611         * math/w_log2.c: Likewise.
43612         * math/w_log2f.c: Likewise.
43613         * math/w_log2l.c: Likewise.
43614         * math/w_logf.c: Likewise.
43615         * math/w_logl.c: Likewise.
43616         * math/w_pow.c: Likewise.
43617         * math/w_powf.c: Likewise.
43618         * math/w_powl.c: Likewise.
43619         * math/w_remainder.c: Likewise.
43620         * math/w_remainderf.c: Likewise.
43621         * math/w_remainderl.c: Likewise.
43622         * math/w_scalb.c: Likewise.
43623         * math/w_scalbf.c: Likewise.
43624         * math/w_scalbl.c: Likewise.
43625         * math/w_sinh.c: Likewise.
43626         * math/w_sinhf.c: Likewise.
43627         * math/w_sinhl.c: Likewise.
43628         * math/w_sqrt.c: Likewise.
43629         * math/w_sqrtf.c: Likewise.
43630         * math/w_sqrtl.c: Likewise.
43631         * math/w_tgamma.c: Likewise.
43632         * math/w_tgammaf.c: Likewise.
43633         * math/w_tgammal.c: Likewise.
43634
43635         * po/ja.po: Update from translation team.
43636
43637 2011-09-29  Andreas Jaeger  <aj@suse.de>
43638
43639         [BZ #13179]
43640         * sunrpc/netname.c (netname2host): Fix logic.
43641
43642         [BZ #6779]
43643         [BZ #6783]
43644         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43645         correctly.
43646         * math/w_remainder.c (__remainder): Likewise.
43647         * math/w_remainderf.c (__remainderf): Likewise.
43648         * math/libm-test.inc (remainder_test): Add test cases.
43649
43650 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43651
43652         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43653         sdiv_qrnnd.
43654
43655 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43656
43657         * string/test-memcmp.c: Avoid unncessary #defines.
43658         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43659
43660 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43661
43662         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43663         Use new sse2 version for core i3 - i7 as it's faster
43664         than sse42 version.
43665         (bit_Prefer_PMINUB_for_stringop): New.
43666         * sysdeps/x86_64/rawmemchr.S: Update.
43667         Replace with faster SSE2 version.
43668         * sysdeps/x86_64/memrchr.S: New file.
43669         * sysdeps/x86_64/memchr.S: Update.
43670         Replace with faster SSE2 version.
43671
43672 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43673
43674         * elf/dl-load.c (lose): Add cast to avoid warning.
43675
43676 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43677
43678         * po/ca.po: Update from translation team.
43679
43680         * inet/getnetgrent_r.c: Hook up nscd.
43681         * nscd/Makefile (routines): Add nscd_netgroup.
43682         (nscd-modules): Add netgroupcache.
43683         (CFLAGS-netgroupcache.c): Define.
43684         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43685         (cache_search): Add const to second parameter.
43686         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43687         INNETGR.
43688         (dbs): Add netgrdb entry.
43689         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43690         (verify_persistent_db): Handle netgrdb.
43691         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43692         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43693         GETFDNETGR.
43694         (netgroup_response_header): Define.
43695         (innetgroup_response_header): Define.
43696         (datahead): Add netgroup_response_header and innetgroup_response_header
43697         elements.
43698         * nscd/nscd.conf: Add entries for netgroup cache.
43699         * nscd/nscd.h (dbtype): Add netgrdb.
43700         (_PATH_NSCD_NETGROUP_DB): Define.
43701         (netgroup_iov_disabled): Declare.
43702         (xmalloc, xcalloc, xrealloc): Move declarations here.
43703         (cache_search): Adjust prototype.
43704         Add netgroup-related prototypes.
43705         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43706         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43707         (__nscd_innetgr): Declare.
43708         * nscd/selinux.c (perms): Use access_vector_t as element type and
43709         add netgroup-related initializers.
43710         * nscd/netgroupcache.c: New file.
43711         * nscd/nscd_netgroup.c: New file.
43712         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43713         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43714         For four parameters use innetgr.
43715         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43716         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43717         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43718         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43719
43720         * nscd/connections.c (register_traced_file): Don't register file
43721         for disabled databases.
43722
43723 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43724
43725         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43726
43727         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43728         from tree and freeing node.
43729
43730 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43731
43732         * nss/nsswitch.c (__nss_database_lookup): Handle
43733         nss_parse_service_list out of memory case.
43734
43735 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43736
43737         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43738         out of memory case.
43739
43740 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43741
43742         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43743         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43744         pass it down.
43745         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43746         elf_machine_rela, elf_machine_lazy_rel.
43747         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43748         (ELF_DYNAMIC_DO_REL): Likewise.
43749         (ELF_DYNAMIC_DO_RELA): Likewise.
43750         (ELF_DYNAMIC_RELOCATE): Likewise.
43751         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43752         to ELF_DYNAMIC_DO_REL.
43753         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43754         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43755         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43756         elf_machine_rela.
43757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43758         skip_ifunc, don't call ifunc function if non-zero.
43759         (elf_machine_rela): Likewise.
43760         (elf_machine_lazy_rel): Likewise.
43761         (elf_machine_lazy_rela): Likewise.
43762         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43763         (elf_machine_lazy_rel): Likewise.
43764         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43765         Likewise.
43766         (elf_machine_lazy_rel): Likewise.
43767         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43768         Likewise.
43769         (elf_machine_lazy_rel): Likewise.
43770         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43771         (elf_machine_lazy_rel): Likewise.
43772         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43773         (elf_machine_lazy_rel): Likewise.
43774         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43775         (elf_machine_lazy_rel): Likewise.
43776         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43777         (elf_machine_lazy_rel): Likewise.
43778         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43779         (elf_machine_lazy_rel): Likewise.
43780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43781         (elf_machine_lazy_rel): Likewise.
43782
43783 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43784
43785         * nss/nss_files/files-init.c (_nss_files_init): Use static
43786         initialization for all the *_traced_file variables.
43787
43788 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43789
43790         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43791
43792 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43793
43794         [BZ #13226]
43795         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43796
43797 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43798
43799         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43800         Reread the line before reparsing it.
43801
43802 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43803
43804         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43805
43806 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43807             Maxim Kuvyrkov  <maxim@codesourcery.com>
43808             Joseph Myers  <joseph@codesourcery.com>
43809
43810         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43811         if needed for __stack_chk_guard.
43812
43813 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43814
43815         * sysdeps/posix/spawni.c (script_execute): Always define it.
43816         It will be optimized away if unused.
43817         (maybe_script_execute): New function.
43818         (__spawni): Call it.
43819
43820         * Makerules: Don't include tls.make.
43821         (config-tls): Always set to thread.
43822         * tls.make.c: File removed.
43823
43824 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43825
43826         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43827         * config.make.in (CPPFLAGS-config): New substituted variable.
43828
43829 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43830
43831         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43832
43833         [BZ #13192]
43834         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43835         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43836
43837 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43838
43839         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43840         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43841         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43842         (CALL_FAIL): Likewise.
43843         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43844         (CALL_FAIL): Macro removed.
43845         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43846
43847 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43848
43849         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43850         for __FINITE_MATH_ONLY__ == 1.
43851
43852 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43853
43854         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43855         __ieee754_sqrt instead of sqrt.
43856         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43857         __ieee754_sqrtf instead of sqrtf.
43858         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43859         __floorf instead of floorf.
43860         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43861         __floorf, __truncf instead of floorf, truncf.
43862
43863 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43864
43865         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43866
43867         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43868         __extern_always_inline.
43869         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43870         32-bit.
43871
43872 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43873
43874         * elf/rtld.c (dl_main): Also relocate in dependency order when
43875         doing symbol dependency testing.
43876
43877 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43878
43879         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43880         Always define `refsym'.
43881
43882 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43883
43884         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43885         (__FD_ELT): Renamed from __FDELT.
43886         * misc/bits/select2.h (__FD_ELT): Likewise.
43887         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43888         __FD_MASK instead of __FDELT, __FDMASK.
43889         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43890         Likewise.
43891         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43892         Likewise.
43893
43894         * elf/Makefile (gen-ldd): Fix pattern.
43895
43896         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43897         (init_tls): Likewise.
43898
43899 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43900
43901         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43902
43903 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43904
43905         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43906         `struct cmsghdr *' instead of `void *'.
43907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43908         Likewise.
43909
43910 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43911
43912         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43913         if non-absolute.
43914         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43915         ldd_rewrite_script.
43916
43917 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43918
43919         * configure.in: Remove --with-tls option.
43920         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43921         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43922         out in case it is missing.
43923         * sysdeps/ia64/elf/configure.in: Likewise.
43924         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43925         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43926         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43927         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43928         * sysdeps/sh/elf/configure.in: Likewise.
43929         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43930         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43931         * sysdeps/x86_64/elf/configure.in: Likewise.
43932         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43933         * sysdeps/mach/hurd/tls.h: Likewise.
43934
43935         [BZ #13067]
43936         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43937
43938         [BZ #13090]
43939         * configure.in: Fix use of AC_INIT.
43940
43941         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43942
43943 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43944
43945         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43946         __set_errno.
43947         * malloc/hooks.c: Likewise.
43948
43949         [BZ #11929]
43950         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43951         variables statically.
43952         (narenas): Initialize.
43953         (list_lock): Initialize.
43954         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43955         initializtion of main_arena and list_lock.  Small cleanups.
43956         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43957         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43958         Add initializers to main_arena and mp_.
43959         (malloc_state): Remove pagesize member.  Change all users to use
43960         GLRO(dl_pagesize).
43961
43962         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43963         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43964         is always initialized.
43965
43966         * malloc/malloc.c: Removed unused configurations and dead code.
43967         * malloc/arena.c: Likewise.
43968         * malloc/hooks.c: Likewise.
43969         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43970
43971         * include/tls.h: Removed.  USE___THREAD must always be defined.
43972         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43973         * elf/dl-libc.c: Likewise.
43974         * elf/dl-tsd.c: Likewise.
43975         * include/errno.h: Likewise.
43976         * include/netdb.h: Likewise.
43977         * include/resolv.h: Likewise.
43978         * inet/herrno-loc.c: Likewise.
43979         * inet/herrno.c: Likewise.
43980         * malloc/arena.c: Likewise.
43981         * malloc/hooks.c: Likewise.
43982         * malloc/malloc.c: Likewise.
43983         * resolv/res-state.c: Likewise.
43984         * resolv/res_libc.c: Likewise.
43985         * sysdeps/i386/dl-machine.h: Likewise.
43986         * sysdeps/ia64/dl-machine.h: Likewise.
43987         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43988         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43989         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43990         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43991         * sysdeps/sh/dl-machine.h: Likewise.
43992         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43993         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43994         * sysdeps/unix/i386/sysdep.S: Likewise.
43995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43996         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43997         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43999         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44001         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44002         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44005         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44006         * sysdeps/x86_64/dl-machine.h: Likewise.
44007         * tls.make.c: Likewise.
44008
44009         * configure.in: Remove --with-__thread option.  Make tests for
44010         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44011         tls_model attribute fail if no support is available.  Remove
44012         USE_IN_LIBIO.
44013         * Makeconfig: Adjust for dropped configure option.  All features are
44014         now mandatory.
44015         * Makerules: Likewise.
44016         * Versions.def: Likewise.
44017         * argp/argp-fmtstream.c: Likewise.
44018         * argp/argp-fmtstream.h: Likewise.
44019         * argp/argp-help.c: Likewise.
44020         * assert/assert.c: Likewise.
44021         * config.h.in: Likewise.
44022         * config.make.in: Likewise.
44023         * configure: Likewise.
44024         * configure.in: Likewise.
44025         * csu/Versions: Likewise.
44026         * csu/init.c: Likewise.
44027         * elf/tst-audit2.c: Likewise.
44028         * elf/tst-tls10.c: Likewise.
44029         * elf/tst-tls10.h: Likewise.
44030         * elf/tst-tls11.c: Likewise.
44031         * elf/tst-tls12.c: Likewise.
44032         * elf/tst-tls14.c: Likewise.
44033         * elf/tst-tlsmod11.c: Likewise.
44034         * elf/tst-tlsmod12.c: Likewise.
44035         * elf/tst-tlsmod13.c: Likewise.
44036         * elf/tst-tlsmod13a.c: Likewise.
44037         * elf/tst-tlsmod14a.c: Likewise.
44038         * elf/tst-tlsmod15b.c: Likewise.
44039         * elf/tst-tlsmod16a.c: Likewise.
44040         * elf/tst-tlsmod16b.c: Likewise.
44041         * elf/tst-tlsmod7.c: Likewise.
44042         * elf/tst-tlsmod8.c: Likewise.
44043         * elf/tst-tlsmod9.c: Likewise.
44044         * gmon/gmon.c: Likewise.
44045         * grp/fgetgrent_r.c: Likewise.
44046         * grp/putgrent.c: Likewise.
44047         * hurd/fopenport.c: Likewise.
44048         * include/libc-symbols.h: Likewise.
44049         * include/tls.h: Likewise.
44050         * intl/gettextP.h: Likewise.
44051         * intl/loadinfo.h: Likewise.
44052         * locale/global-locale.c: Likewise.
44053         * locale/localeinfo.h: Likewise.
44054         * mach/devstream.c: Likewise.
44055         * malloc/arena.c: Likewise.
44056         * malloc/set-freeres.c: Likewise.
44057         * misc/err.c: Likewise.
44058         * misc/getttyent.c: Likewise.
44059         * misc/mntent_r.c: Likewise.
44060         * posix/getopt.c: Likewise.
44061         * posix/wordexp.c: Likewise.
44062         * pwd/fgetpwent_r.c: Likewise.
44063         * resolv/Versions: Likewise.
44064         * resolv/res_hconf.c: Likewise.
44065         * shadow/fgetspent_r.c: Likewise.
44066         * shadow/putspent.c: Likewise.
44067         * stdio-common/printf_fphex.c: Likewise.
44068         * stdio-common/tmpfile.c: Likewise.
44069         * stdlib/abort.c: Likewise.
44070         * stdlib/fmtmsg.c: Likewise.
44071         * sunrpc/auth_unix.c: Likewise.
44072         * sunrpc/clnt_perr.c: Likewise.
44073         * sunrpc/clnt_tcp.c: Likewise.
44074         * sunrpc/clnt_udp.c: Likewise.
44075         * sunrpc/clnt_unix.c: Likewise.
44076         * sunrpc/openchild.c: Likewise.
44077         * sunrpc/svc_simple.c: Likewise.
44078         * sunrpc/svc_tcp.c: Likewise.
44079         * sunrpc/svc_udp.c: Likewise.
44080         * sunrpc/svc_unix.c: Likewise.
44081         * sunrpc/xdr.c: Likewise.
44082         * sunrpc/xdr_array.c: Likewise.
44083         * sunrpc/xdr_rec.c: Likewise.
44084         * sunrpc/xdr_ref.c: Likewise.
44085         * sunrpc/xdr_stdio.c: Likewise.
44086
44087 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44088
44089         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44090
44091 2011-07-03  Andreas Jaeger  <aj@suse.de>
44092
44093         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44094         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44095         regenerate with gen-libm-tests.pl.
44096
44097 2010-05-12  Petr Baudis  <pasky@suse.cz>
44098
44099         [BZ #11589]
44100         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44101         around j0() zero points by switching to j1().
44102         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44103         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44105         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44106
44107 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44108
44109         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44110         instead of 0.
44111         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44112         instead of 0.
44113         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44114         Patch in part by Pavel Roskin <proski@gnu.org>.
44115
44116         [BZ #13138]
44117         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44118         realloc.
44119         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
44120         Free memory block if necessary.
44121
44122         [BZ #12847]
44123         * libio/genops.c (INTDEF): For string streams the _lock pointer can
44124         be NULL.  Don't lock in this case.
44125
44126 2011-09-09  Roland McGrath  <roland@hack.frob.com>
44127
44128         * elf/elf.h (ELFOSABI_GNU): New macro.
44129         (ELFOSABI_LINUX): Define to that.
44130
44131 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
44132
44133         * string/strncat.c (strncat): Undef the symbol in case it has been
44134         defined in bits/string.h.
44135
44136 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
44137
44138         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44139
44140         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44141         link map.
44142
44143 2011-08-17  Andreas Jaeger  <aj@suse.de>
44144
44145         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44146
44147 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44148             Ian Lance Taylor  <iant@google.com>
44149
44150         * math/libm-test.inc (lround_test): New testcase.
44151         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44152
44153 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
44154
44155         * Makefile: Remove support for automatic cvs check-ins.
44156         * Makerules: Likewise.
44157         * config.make.in: Likewise.
44158         * configure.in: Likewise.
44159         * intl/Makefile: Likewise.
44160         * locale/Makefile: Likewise.
44161         * po/Makefile: Likewise.
44162         * posix/Makefile: Likewise.
44163         * sysdeps/gnu/Makefile: Likewise.
44164         * sysdeps/mach/hurd/Makefile: Likewise.
44165         * sysdeps/sparc/sparc32/Makefile: Likewise.
44166
44167         [BZ #13118]
44168         * posix/Makefile (bug-regex32-ENV): Define.
44169         Patch by John Stanley <jpsinthemix@verizon.net>.
44170
44171         * misc/Makefile (headers): Add bits/select2.h.
44172         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44173         * misc/bits/select2.h: New file.
44174         * include/bits/select2.h: New file.
44175         * debug/Makefile (routines): Add fdelt_chk.
44176         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44177         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44178         FD_ISSET.
44179         * debug/fdelt_chk.c: New file.
44180
44181         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
44182         * wcsmbs/test-wmemcmp.c: Likewise.
44183         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44184         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44185
44186 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44187
44188         * string/Makefile (strop-tests): Add memcmp.
44189         * string/test-wmemcmp.c: New file.
44190         * string/test-memcmp.c: Add wmemcmp support.
44191
44192 2011-09-08  Roland McGrath  <roland@hack.frob.com>
44193
44194         [BZ #13153]
44195         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44196         2011-07-19 change.
44197
44198         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44199         garbage value in a __mach_port_mod_refs call in the cases of the
44200         task-self and thread-self ports.
44201
44202 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44203
44204         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44205
44206 2011-09-08  Andreas Schwab  <schwab@redhat.com>
44207
44208         * elf/dl-load.c (lose): Check for non-null L.
44209
44210 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44211
44212         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44213
44214         * elf/dl-libc.c (dlerror_run): Pass back error code from
44215         dl_catch_error.
44216
44217         [BZ #13123]
44218         * elf/dl-load.c (lose): Free l_origin if it is valid.
44219
44220         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44221         names.
44222         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44223         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44224         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44225         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44226         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44227         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44228
44229 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44230
44231         * sysdeps/powerpc/fpu/e_hypot.c: New file.
44232         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44233         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44234         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44235         * sysdeps/powerpc/fpu/k_cosf.c: New file.
44236         * sysdeps/powerpc/fpu/k_sinf.c: New file.
44237         * sysdeps/powerpc/fpu/s_cosf.c: New file.
44238         * sysdeps/powerpc/fpu/s_sinf.c: New file.
44239         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44240         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44241
44242 2011-08-15  Alan Modra  <amodra@gmail.com>
44243
44244         [BZ #13092]
44245         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44246         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44247         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
44248         ppc_mcount to static-only-routines.
44249         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44250         __mcount_internal.
44251         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44252         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
44253
44254 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
44255
44256         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44257         for finite and infinity parameters.
44258
44259 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
44260
44261         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44262         and add nop instructions for throughput optimization.
44263         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44264
44265 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
44266
44267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44268         aligned copy for power7 with vector-scalar instructions.
44269         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44270
44271 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
44272
44273         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44274         AVX check.
44275
44276 2011-09-07  Andreas Schwab  <schwab@redhat.com>
44277
44278         [BZ #13144]
44279         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44280         last change.
44281
44282 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
44283
44284         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44285         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44286         syscall wrapper around clock_gettime in __vdso_clock_gettime.
44287         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44288         clock_gettime.
44289
44290 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44291
44292         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44293         Forgot to demangle the pointer.
44294
44295         * sysdeps/i386/sysdep.h: Define atom_text_section.
44296         * sysdeps/x86_64/sysdep.h: Likewise.
44297         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44298         section with atom_text_section.
44299         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44300         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44301         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44302         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44303         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44304
44305         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44306         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44307         already be defined.  Change to take two parameters and don't assign
44308         result to variable.  Adjust all users.
44309         Define INTERNAL_GETTIME if not already defined.
44310         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44311         call.
44312         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44313         HAVE_CLOCK_GETTIME_VSYSCALL.
44314         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44315
44316         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44317         gettimeofday vsyscall, just use time.
44318
44319 2011-09-06  Andreas Schwab  <schwab@redhat.com>
44320
44321         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44322         <errno.h>.
44323
44324 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
44325
44326         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44327         syscall on x86-64.
44328         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44329         syscall.
44330         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44331         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44332         syscall if possible.
44333
44334 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44335
44336         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44337         e_ident.  Don't pass to find_mapsXX.
44338         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44339
44340 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44341
44342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44343         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44344         * sysdeps/x86_64/multiarch/strchr.S: Update.
44345         Check bit_slow_BSF bit.
44346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44347         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44348         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44349
44350 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44351
44352         [BZ #13134]
44353         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44354         before glibc 2.15.
44355         (tryshell): Define.
44356         (__spawni): Change last parameter to be flag.  Test
44357         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44358         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44359         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44360         * posix/spawni.c: Likewise.
44361         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44362         * posix/spawnp.c: Likewise.  Change normal version to use
44363         SPAWN_XFLAGS_USE_PATH.
44364         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44365         SPAWN_XFLAGS_TRY_SHELL.
44366
44367         [BZ #13150]
44368         * posix/glob.h: Remove gcc 1.x support.
44369
44370         [BZ #13068]
44371         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44372
44373 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44374
44375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44376         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44377         strrchr-sse2-bsf
44378         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44379         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44380         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44381         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44382         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44384
44385 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44386
44387         * sysdeps/x86_64/wcscmp.S: New file.
44388
44389         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44390         wcscmp-c wcscmp-sse2
44391         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44392         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44393         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44394         * wcsmbs/wcscmp.c: Allow renaming.
44395
44396 2011-09-05  David S. Miller  <davem@davemloft.net>
44397
44398         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44399         stack slot, rather than the struct return pointer slot.
44400         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44401         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44403         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44404
44405 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44406
44407         * po/ja.po: Update from translation team.
44408
44409         [BZ #13144]
44410         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44411         kernel in 64-bit binaries.
44412
44413 2011-09-01  David S. Miller  <davem@davemloft.net>
44414
44415         * elf/elf.h (HWCAP_SPARC_*): Move to..
44416         * sysdeps/sparc/sysdep.h: this new file and add new values.
44417         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44418         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44419         _DL_HWCAP_COUNT to 24.
44420         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44421         entries.
44422         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44423         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44424         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44426         instead of magic constants.
44427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44428
44429 2011-08-31  David S. Miller  <davem@davemloft.net>
44430
44431         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44433         Reimplement to do errno handling inline.
44434         (SYSCALL_ERROR_HANDLER): New macro.
44435         (__SYSCALL_STRING): Do not do errno handling in asm.
44436         (__CLONE_SYSCALL_STRING): Delete.
44437         (__INTERNAL_SYSCALL_STRING): Delete.
44438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44439         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44440         (PSEUDO): Reimplement to do errno handling inline.
44441         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44442         (SYSCALL_ERROR_HANDLER): New macro.
44443         (__SYSCALL_STRING): Do not do errno handling in asm.
44444         (__CLONE_SYSCALL_STRING): Delete.
44445         (__INTERNAL_SYSCALL_STRING): Delete.
44446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44447         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44448         i386.
44449         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44450         (inline_syscall*): Add 'err' argument.
44451         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44452         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44453         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44454         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44455
44456         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44457         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44458
44459 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44460
44461         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44462
44463 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44464
44465         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44466         directive.
44467
44468 2011-08-24  David S. Miller  <davem@davemloft.net>
44469
44470         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44471
44472 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44473
44474         * elf/Makefile: Add rules to build and run unload8 test.
44475         * elf/unload8.c: New file.
44476         * elf/unload8mod1.c: New file.
44477         * elf/unload8mod1x.c: New file.
44478         * elf/unload8mod2.c: New file.
44479         * elf/unload8mod3.c: New file.
44480
44481         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44482         it wasn't used.
44483
44484 2011-08-23  David S. Miller  <davem@davemloft.net>
44485
44486         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44487         subtract stack bias.
44488         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44489         %sp not %fp in calculations.
44490         (_JMPBUF_UNWINDS_ADJ): Likewise.
44491
44492         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44493         (aio_suspend): Call it to force an exception region around the
44494         AIO_MISC_WAIT() invocation.
44495
44496 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44497
44498         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44499         backslash.
44500
44501 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44502
44503         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44504         protection macro.
44505         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44506         and <dl-machine.h>.
44507         (Elf64_FuncDesc): Remove.
44508
44509 2011-08-22  David S. Miller  <davem@davemloft.net>
44510
44511         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44512         sigaltstack check, add missing cfi directives.
44513         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44514         missing cfi directives, and sigaltstack handling.
44515
44516 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44517
44518         [BZ #11724]
44519         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44520         object is seen twice.
44521         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44522
44523         * elf/Makefile (distribute): Add tst-initorder2.c.
44524         (tests): Add tst-initorder2.
44525         (modules-names): Add tst-initorder2a tst-initorder2b
44526         tst-initorder2c tst-initorder2d.  Add rules to build them.
44527         ($(objpfx)tst-initorder2.out): New rule.
44528         * elf/tst-initorder2.c: New file.
44529         * elf/tst-initorder2.exp: New file.
44530
44531 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44532
44533         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44534
44535         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44536         dependencies back to end of function.
44537
44538         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44539         $(elfobjdir)/ld.so.
44540
44541 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44542
44543         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44544         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44545         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44546         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44547         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44548         of __vdso_gettimeofday.
44549         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44550         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44551         attribute_hidden.
44552         (_libc_vdso_platform_setup): Remove initialization of
44553         __vdso_gettimeofday and __vdso_time.
44554
44555 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44556
44557         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44558         and fgetc_unlocked.
44559         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44560         getc_unlocked.
44561
44562         * elf/dl-open.c (add_to_global): Report additions to the global scope
44563         for LD_DEBUG=scopes.
44564         (dl_open_worker): Also print scope of newly loaded dependencies.
44565         (_dl_show_scope): Indicate if there is no scope.
44566
44567         [BZ #13114]
44568         * stdio-common/Makefile (tests): Add bug24.
44569         * stdio-common/bug24.c: New file.
44570
44571 2011-08-19  Andreas Jaeger  <aj@suse.de>
44572
44573         [BZ #13114]
44574         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44575         non-existant file when using close-on-exec mode.
44576
44577 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44578
44579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44580         the very first instruction.
44581
44582         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44583         the CFI state in the end.
44584         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44585         inclusion of dl-trampoline.h.
44586         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44587
44588 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44589
44590         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44591         expectations for long double.
44592
44593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44594         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44595
44596 2011-08-14  David S. Miller  <davem@davemloft.net>
44597
44598         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44599         artificual limit depends upon the system page size.
44600
44601 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44602
44603         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44604         * resolv/Makefile: Define CFLAGS-libresolv.
44605
44606 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44607
44608         * nss/makedb.c (compute_tables): Make variables used in nested
44609         function static.
44610
44611 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44612
44613         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44614         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44615         if buffer was too small.
44616
44617         * elf/pldd.c (main): Attach to all threads in the process.
44618         Rewrite /proc handling to use *at functions.
44619
44620 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44621
44622         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44623         specifies first scope to show.
44624         (dl_open_worker): Update callers.  Move printing scope of new
44625         object to before the relocation.
44626         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44627         * sysdeps/generic/ldsodefs.h: Update declaration.
44628
44629         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44630         string for the scope number.
44631
44632 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44633
44634         * nscd/servicescache.c (cache_addserv): Make sure written is always
44635         initialized.
44636
44637 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44638
44639         * sysdeps/i386/i486/bits/atomic.h
44640         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44641         statement expression, so as to suppress "set but not used" warning.
44642         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44643
44644         * string/strncat.c (STRNCAT): Use prototype definition.
44645
44646         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44647         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44648         -Iprograms here.
44649         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44650         (localedef-modules): Add localedef.
44651         (locale-modules): Add locale.
44652
44653         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44654         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44655         to avoid a warning.
44656
44657 2011-08-14  David S. Miller  <davem@davemloft.net>
44658
44659         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44660         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44661
44662 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44663
44664         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44665         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44666         * elf/rtld.c (dl_main): Set l_name of vDSO.
44667         Call _dl_show_scope when DL_DEBUG_SCOPES.
44668         (process_dl_debug): Recognize scopes flag and also set it for all.
44669         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44670         Declare _dl_show_scope.
44671
44672         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44673         (do_dlopen): Pass caller_dlopen to dl_open.
44674         (__libc_dlopen_mode): Initialize caller_dlopen.
44675
44676         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44677         of libc.  Make tolower call locale-independent.  Optimize a bit by
44678         using isdigit instead of isalnum.
44679         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44680
44681 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44682
44683         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44684         was a dependency or dynamically loaded.
44685
44686 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44687
44688         * intl/l10nflist.c: Allow architecture-specific pop function.
44689         * sysdeps/x86_64/l10nflist.c: New file.
44690
44691         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44692         classification.
44693
44694 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44695
44696         * include/dirent.h: Add libc_hidden_proto for scandirat and
44697         scandirat64.  Don't declare __scandirat64.
44698         * dirent/scandirat.c: Add libc_hidden_def.
44699         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44700         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44701
44702 2011-08-10  David S. Miller  <davem@davemloft.net>
44703
44704         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44705         enum.
44706         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44707         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44708         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44709
44710 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44711
44712         * Versions.def [libc]: Add GLIBC_2.15.
44713         * dirent/Makefile (routines): Add scandirat and scandirat64.
44714         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44715         GLIBC_2.15.
44716         * dirent/dirent.h: Declare scandirat and scandirat64.
44717         * dirent/scandirat.c: New file.
44718         * dirent/scandirat64.c: New file.
44719         * sysdeps/wordsize-64/scandirat.c: New file.
44720         * sysdeps/wordsize-64/scandirat64.c: New file.
44721         * dirent/opendir.c: Define opendirat.
44722         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44723         using scandirat.
44724         * dirent/scandir64.c: Adjust for scandir.c change.
44725         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44726         __scandirat64, and __scandir_cancel_handler.
44727         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44728         additional parameter and use openat instead of open (outside of ld.so).
44729         Add new __opendir as wrapper around __opendirat.
44730         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44731         here without requiring old scandirat implementation.
44732
44733 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44734
44735         * dirent/scandir.c (cancel_handler): Renamed to
44736         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44737         defined.  Adjust users.
44738         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44739         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44740
44741 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44742
44743         * string/test-string.h (IMPL): Use __STRING to expand name and then
44744         stringify it.
44745
44746         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44747         of cleanups.
44748
44749 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44750
44751         * string/Makefile: Update.
44752         (strop-tests): Append strncat.
44753         * string/test-wcscmp.c: New file.
44754         New comprehensive test for wcscmp.
44755         * string/test-strcmp.c: Update.
44756         (WIDE): New define.
44757
44758 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44759
44760         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44761         line.
44762
44763 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44764
44765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44766         encoding to ACE if AI_IDN.
44767
44768 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44769
44770         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44771         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44772
44773 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44774
44775         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44776         Fix overflow bug in strncat.
44777         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44778
44779         * string/test-strncat.c: Update.
44780         Add new tests for checking overflow bugs.
44781
44782 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44783
44784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44785         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44786         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44787         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44788         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44789         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44790         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44791         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44792         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44793
44794         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44795         (USE_AS_STRCAT): Define.
44796         Add strcat and strncat support.
44797         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44798
44799 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44800
44801         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44802         __n bigger than INT_MAX+1.
44803         (__strncmp_g): Likewise.
44804
44805 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44806
44807         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44808         * libio/stido.h: Likewise.
44809
44810         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44811         (AF_NFC): Define.
44812         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44813         (AF_NFC): Define.
44814
44815         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44816         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44817         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44818         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44819         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44820
44821         [BZ #13021]
44822         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44823         installed.
44824
44825         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44826         typo.
44827         (_dl_x86_64_save_sse): Likewise.
44828
44829 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44830
44831         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44832         OSXSAVE.
44833         (_dl_x86_64_save_sse): Likewise.
44834
44835         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44836
44837         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44838
44839 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44840
44841         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44842         change.
44843         (_dl_x86_64_save_sse): Use correct AVX check.
44844
44845 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44846
44847         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44848         bug in strncpy/strncat.
44849         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44850
44851 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44852
44853         * string/tester.c (test_strcat): Add tests for different alignments
44854         of source and destination.
44855         (test_strncat): Likewise.
44856
44857 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44858
44859         [BZ #12852]
44860         * posix/glob.c (glob): Check passed in values before using them in
44861         expressions to avoid some overflows.
44862         (glob_in_dir): Likewise.
44863
44864         [BZ #13007]
44865         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44866         check for AVX enablement so that we don't crash with old kernels and
44867         new hardware.
44868         * elf/tst-audit4.c: Add same checks here.
44869         * elf/tst-audit6.c: Likewise.
44870
44871         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44872
44873 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44874
44875         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44876
44877 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44878
44879         * po/cs.po: Update from translation team.
44880         * po/bg.po: Likewise.
44881
44882 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44883
44884         * misc/sys/cdefs.h: Add support for const attribute.
44885         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44886         to gnu_dev_{major,minor,makedev} functions.
44887
44888 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44889
44890         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44891
44892 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44893
44894         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44895         strlen results.
44896
44897 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44898
44899         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44900         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44901         register in order to avoid conflicts with the soft frame pointer
44902         being held in r11 when necessary.
44903         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44904         (INTERNAL_VSYSCALL_NCS): Likewise.
44905
44906 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44907
44908         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44909         * elf/dl-fini.c (_dl_fini): Adjust caller.
44910         * elf/dl-close.c (_dl_close_worker): Likewise.
44911         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44912
44913 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44914
44915         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44916         "aux_cache->nlibs < 0".
44917
44918         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44919         in the reload-count case.
44920
44921 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44922
44923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44924         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44925         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44926         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44927         * sysdeps/x86_64/multiarch/strcat.S: New file.
44928         * sysdeps/x86_64/multiarch/strncat.S: New file.
44929         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44930         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44931         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44932         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44933         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44934         (USE_AS_STRCAT): Define.
44935         Add strcat and strncat support.
44936         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44937         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44938         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44939         * string/strncat.c: Update.
44940         (USE_AS_STRNCAT): Define.
44941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44942         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44943         and i7.
44944         * sysdeps/x86_64/multiarch/init-arch.h
44945         (bit_Prefer_PMINUB_for_stringop): New.
44946         (index_Prefer_PMINUB_for_stringop): Likewise.
44947         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44948         bit_Prefer_PMINUB_for_stringop.
44949
44950 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44951
44952         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44953         buffer64.
44954         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44955         of casting of buffer.
44956         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44957         buffer32 and buffer64.
44958         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44959         writes instead of casting of buffer.
44960         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44961         buffer32.
44962         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44963         casting of buffer.
44964
44965 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44966
44967         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44968
44969 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44970
44971         * nscd/nscd.c (termination_handler): Don't do anything for a database
44972         if it has not yet been initialized.
44973
44974 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44975
44976         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44977
44978 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44979
44980         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44981
44982 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44983
44984         * po/nl.po: Update from translation team.
44985         * po/sv.po: Likewise.
44986
44987 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44988
44989         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44990         now disallowed by GCC.
44991
44992         * configure.in (use-default-link): Default to yes if a test -shared
44993         link meets our qualifications.
44994         * configure: Regenerated.
44995
44996         * config.make.in (output-format): New variable.
44997         * configure.in: Check for ld --print-output-format support.
44998         * configure: Regenerated.
44999         * Makerules ($(common-objpfx)format.lds)
45000         [$(output-format) != unknown]: Just use $(output-format),
45001         instead of the linker-script munging.
45002
45003 2011-07-14  Roland McGrath  <roland@hack.frob.com>
45004
45005         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45006         of $(common-objpfx)shlib.lds.
45007         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45008
45009         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45010         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45011
45012         * configure.in (-z relro check): Adjust test code to add a large
45013         writable data section after it.
45014         * configure: Regenerated.
45015
45016 2011-07-11  Roland McGrath  <roland@hack.frob.com>
45017
45018         * configure.in (-z relro check): Fix test code to make the variable
45019         truly const.
45020         * configure: Regenerated.
45021
45022 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
45023
45024         * nscd/nscd.h (struct traced_file): Define.
45025         (struct database_dyn): Remove inotify_descr, reset_res, and filename
45026         elements.  Add traced_files.
45027         (inotify_fd): Declare.
45028         (register_traced_file): Declare.
45029         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45030         (inotify_fd): Export.
45031         (resolv_conf_descr): Remove.
45032         (nscd_init): Move inotify descriptor creation to main.
45033         Don't register files for notification here.
45034         (register_traced_file): New function.
45035         (invalidate_cache): Don't use reset_res to determine whether to call
45036         res_init, go through the list of registered files.
45037         (main_loop_poll): The inotify descriptors are now stored in the
45038         structures for the traced files.
45039         (main_loop_epoll): Likewise
45040         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
45041         to __nss_disable_nscd.
45042         * nscd/cache.c (prune_cache): There is no single inotify descriptor
45043         for a database anymore.  Check the records for all the registered
45044         files instead.
45045         * nss/Makefile (libnss_files-routines): Add files-init.
45046         (libnss_db-routines): Add db-init.
45047         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45048         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45049         * nss/nss_db/db-init.c: New file.
45050         * nss/nss_files/files-init.c: New file.
45051         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
45052         __nss_lookup_function.
45053         (__nss_lookup_function): Call nss_load_library.
45054         (nss_load_all_libraries): New function.
45055         (__nss_disable_nscd): Take parameter with callback function for files
45056         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
45057         used for the cached services.
45058         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45059         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45060         options for features to all the files in nscd.
45061
45062         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45063
45064 2011-07-10  Roland McGrath  <roland@hack.frob.com>
45065
45066         * csu/elf-init.c (__libc_csu_init): Comment typo.
45067
45068 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
45069
45070         * po/pl.po: Update from translation team.
45071         * po/ja.po: Likewise.
45072         * po/ru.po: Likewise.
45073         * po/ko.po: Likewise.
45074         * po/fr.po: Likewise.
45075
45076 2011-07-09  Roland McGrath  <roland@hack.frob.com>
45077
45078         * configure.in (.ctors/.dtors header and trailer check):
45079         Use an empirical test on a built program.
45080         * configure: Regenerated.
45081
45082         * configure.in (-z relro check): Use an empirical test on a built DSO.
45083         Detect, but do not require, on ia64.
45084         * configure: Regenerated.
45085
45086         * configure.in (READELF): Find it with AC_CHECK_TOOL.
45087         Update tests that use readelf to use $READELF instead.
45088         * configure: Regenerated.
45089
45090 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
45091
45092         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45093         if the result is not used.
45094
45095 2011-07-05  Andreas Jaeger  <aj@suse.de>
45096
45097         [BZ#9696]
45098         * stdlib/tst-strtod.c: Add testcase.
45099
45100 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
45101
45102         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45103         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45104         The latter has a higher limit.  Take additional parameter to pass to
45105         the new function.
45106         (__pathconf): Pass file to __statfs_link_max.
45107         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45108         __statfs_link_max.
45109         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45110         __statfs_link_max.
45111
45112         [BZ #12868]
45113         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45114         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45115         Handle Lustre.
45116         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45117         (__statfs_filesize_max): Likewise.
45118         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45119
45120 2011-07-05  Andreas Jaeger  <aj@suse.de>
45121
45122         * resolv/res_comp.c (dn_skipname): Remove unused variable.
45123
45124 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
45125
45126         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45127         `status' variable.
45128         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45129         Likewise.
45130
45131 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
45132
45133         * Makefile (strop-tests): Add strncat.
45134         * string/test-strncat.c: New file.
45135
45136 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
45137
45138         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45139
45140 2011-06-21  Andreas Jaeger  <aj@suse.de>
45141
45142         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45143         Copy rule from iconvdata/Makefile.
45144
45145 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45146
45147         [BZ #12922]
45148         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45149         but no long options are defined, just return 'W'.
45150
45151 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
45152
45153         [BZ #9696]
45154         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45155
45156 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
45157
45158         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45159         netgroups to read.
45160         (innetgr): Likewise.
45161
45162 2011-07-05  Roland McGrath  <roland@hack.frob.com>
45163
45164         * config.make.in (install_root): Default to $(DESTDIR).
45165
45166 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
45167
45168         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45169
45170 2011-07-02  Roland McGrath  <roland@hack.frob.com>
45171
45172         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45173
45174         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45175         containing directory rather than embedding absolute directory names.
45176
45177         * scripts/check-local-headers.sh: Rewritten using awk.
45178         Match by word, not by line.  Print error messages for matches.
45179         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45180
45181         * Makerules [shlib-lds-flags empty]:
45182         ($(common-objpfx)libc_pic.opts): New target.
45183         ($(common-objpfx)libc_pic.os.clean): New target.
45184         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45185
45186         * config.make.in (OBJCOPY): New variable.
45187         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45188         * configure: Regenerated.
45189
45190         * config.make.in (use-default-link): New variable.
45191         * configure.in (use_default_link): Grok --with-default-link to set it.
45192         * configure: Regenerated.
45193         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45194         (shlib-lds, shlib-lds-flags): Define to empty.
45195
45196         * Makerules (shlib-lds): New variable.
45197         (shlib-lds-flags): New variable.
45198         (build-shlib, build-moduile, build-module-asneeded): Use it.
45199         ($(common-objpfx)libc.so): Use $(shlib-lds).
45200         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45201         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45202
45203         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45204         DT_FLAGS/DT_FLAGS_1 with zero flags.
45205
45206         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45207         linker script munging.
45208
45209 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
45210
45211         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45212         as 128-bit value.
45213         * crypt/sha512.c (sha512_process_block): Perform total addition using
45214         128-bit if possible.
45215         (__sha512_finish_ctx): Likewise.
45216         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45217         as 64-bit value.
45218         * crypt/sha256.c (SWAP64): Define.
45219         (sha256_process_block): Perform total addition using 64-bit if
45220         possible.
45221         (__sha256_finish_ctx): Likewise.
45222
45223 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
45224
45225         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
45226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45227         * nscd/hstcache.c (cache_addhst): Likewise.
45228         * nscd/grpcache.c (cache_addgr): Likewise.
45229         * nscd/aicache.c (addhstaiX): Likewise
45230         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45231
45232 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
45233
45234         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45235         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45236         * nscd/hstcache.c (cache_addhst): Likewise.
45237         * nscd/grpcache.c (cache_addgr): Likewise.
45238         * nscd/aicache.c (addhstaiX): Likewise
45239
45240 2011-07-01  Andreas Schwab  <schwab@redhat.com>
45241
45242         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45243         domain only when needed.
45244
45245 2011-06-30  Andreas Schwab  <schwab@redhat.com>
45246
45247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45248         is always restored.
45249
45250 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
45251
45252         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45253         are re-adding the entry.
45254         * nscd/servicescache.c (cache_addserv): Likewise.
45255
45256 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
45257
45258         * sysdeps/generic/dl-irel.h: fix protection against multiple
45259         inclusions.
45260         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45261
45262 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
45263
45264         [BZ #12935]
45265         * malloc/memusage.sh: Fix quoting in message.
45266         * debug/xtrace.sh: Likewise.
45267
45268         * configure.in: Remove support for --experimental-malloc option, make
45269         it the default.
45270         * config.make.in: Likewise.
45271         * malloc/Makefile: Likewise.
45272
45273 2011-06-27  Andreas Schwab  <schwab@redhat.com>
45274
45275         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45276         two-byte characters.
45277
45278 2011-06-27  Roland McGrath  <roland@hack.frob.com>
45279
45280         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45281         AC_CACHE_CHECK invocation.
45282         * configure: Regenerated.
45283
45284         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45285
45286 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
45287
45288         [BZ #12350]
45289         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
45290         bit from old_res_options.
45291
45292         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45293
45294         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45295         value type for setfct.
45296
45297 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
45298
45299         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45300         __gettimeofday instead of gettimeofday.
45301
45302 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
45303
45304         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45305
45306 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
45307
45308         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45309
45310         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45311         info.
45312
45313 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45314
45315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45316         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45317         strcpy-sse2-unaligned strncpy-sse2-unaligned
45318         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45319         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45320         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45321         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45322         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45323         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45324         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45325         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45326         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45327         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45328         (STRCPY): Support SSE2 and SSSE3 versions.
45329
45330 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45331
45332         [BZ #12874]
45333         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45334         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45335         kernels which artificially limit size of requests.
45336
45337 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45338
45339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45340         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45341         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45342         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45343         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45344         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45345         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45346         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45348         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45349         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45350         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45351         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45352         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45353         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45355         Enable unaligned load optimization for Intel Core i3, i5 and i7
45356         processors.
45357         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45358         Define.
45359         (index_Fast_Unaligned_Load): Define.
45360         (HAS_FAST_UNALIGNED_LOAD): Define.
45361
45362 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45363
45364         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45365
45366 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45367
45368         [BZ #12907]
45369         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45370         until it is clear that the information is realy needed.
45371         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45372
45373 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45374
45375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45376
45377 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45378
45379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45380         /sys/devices/system/cpu/online if it is usable.
45381
45382         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45383         reading the information from the /proc filesystem to once a second.
45384
45385 2011-06-21  Andreas Jaeger  <aj@suse.de>
45386
45387         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45388         NULL after inclusion of kernel headers.
45389
45390 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45391
45392         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45393         calls to internal_setent.
45394
45395         [BZ #12885]
45396         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45397         addresses using gethostbyname4_r ignore IPv4 addresses.
45398
45399         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45400         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45401
45402         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45403
45404 2011-06-20  David S. Miller  <davem@davemloft.net>
45405
45406         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45407         inclusions.
45408         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45409
45410         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45411         (elf_irel): Use it.
45412         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45413         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45414         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45415         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45416         * sysdeps/x86_64/dl-irel.h: Likewise.
45417
45418         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45419         * elf/dl-sym.c: Likewise.
45420
45421 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45422
45423         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45424         need to dereference resplen2.
45425
45426 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45427
45428         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45429
45430 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45431
45432         * Makeconfig: Define vardbdir and inst_vardbdir.
45433         * nss/Makefile: Add rules to install db-Makefile.
45434
45435         * nss/nss_db/db-XXX.c: Cleanup.
45436
45437         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45438         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45439         GLIBC_PRIVATE.
45440         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45441         * nss/makedb.c: Implement -g option to specify that value strings
45442         are generated and should not be added to table iterated over for
45443         get*ent calls.
45444         * nss/nss_db/db-initgroups.c: New file.
45445
45446         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45447         interface.
45448
45449         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45450         (internal_getgrouplist): Adjust to name change.
45451         Update use_initgroups_entry if this is not the first call.
45452         * nss/databases.def: Add initgroups entry.
45453
45454         * nss/makedb.c (compute_tables): Check result of multiple hash table
45455         sizes to minimize maximum chain length.
45456
45457 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45458
45459         * Versions.def: Add entry for libnss_db.
45460         * shlib-versions: Likewise.
45461         * nss/Makefile: Add rules to build libnss_db.
45462         * nss/Versions: Add libnss_db information.  Organize libnss_files
45463         entries better.
45464         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45465         makedb progra.  Some minor improvements to generate smaller files.
45466         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45467         here from...
45468         * nss/makedb.c: ...here.
45469         Improve database format to be smaller and require less memory at
45470         runtime.
45471         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45472         db anymore.
45473         * nss/nss_db/db-netgrp.c: Likewise.
45474         * nss/nss_db/db-open.c: Likewise.
45475         * nss/nss_files/flies-XXX.x: Adjust comments.
45476         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45477         * nss/nss_files/files-grp.c: Likewise.
45478         * nss/nss_files/files-hosts.c: Likewise.
45479         * nss/nss_files/files-network.c: Likewise.
45480         * nss/nss_files/files-proto.c: Likewise.
45481         * nss/nss_files/files-pwd.c: Likewise.
45482         * nss/nss_files/files-rpc.c: Likewise.
45483         * nss/nss_files/files-service.c: Likewise.
45484         * nss/nss_files/files-sgrp.c: Likewise.
45485         * nss/nss_files/files-spwd.c: Likewise.
45486         * nss/nss_db/db-alias.c: Removed.
45487         * nss/nss_db/dummy-db.h: Removed.
45488
45489 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45490
45491         * nss/makedb.c: Rewritten to not use database library.
45492         * nss/Makefile: Update to build new makedb program.
45493
45494 2011-06-14  Andreas Jaeger  <aj@suse.de>
45495
45496         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45497         memset declaration.
45498
45499 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45500
45501         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45502         tmpbuf.
45503
45504 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45505
45506         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45507         * elf/Makefile ($(objpfx)ld.so): Likewise.
45508
45509         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45510         Don't list ld.so twice in dependencies.
45511
45512         * posix/bug-regex31.c: Include <stdlib.h>.
45513
45514         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45515
45516         * nis/nss_compat/compat-spwd.c
45517         (getspent_next_nss_netgr): Remove unused variable.
45518         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45519
45520         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45521         nonmembers" output to use the right array.
45522
45523         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45524
45525         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45526
45527         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45528         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45529         * catgets/gencat.c (read_input_file): Likewise.
45530         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45531
45532         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45533         variable definition inside #if's controlling its use.
45534
45535         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45536
45537         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45538
45539         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45540
45541         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45542         unreachable code.
45543
45544         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45545
45546         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45547         * configure: Regenerated.
45548
45549         * Makerules: Revert last change.
45550         * elf/Makefile: Likewise.
45551
45552 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45553
45554         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45555         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45556         (reloc-link): Likewise.
45557
45558 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45559
45560         * elf/Makefile: Add rules to build pldd.
45561         * elf/pldd.c: New file.
45562         * elf/pldd-xx.c: New file.
45563
45564 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45565
45566         * version.h: Update for 2.15 development version.
45567
45568 2011-06-07  David S. Miller  <davem@davemloft.net>
45569
45570         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45571         ifuncs.
45572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45573         elf_machine_lazy_rel): Likewise.
45574         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45576         elf_machine_lazy_rel): Likewise.
45577         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45578         dl_hwcap via passed in argument.
45579         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45580         Likewise.
45581
45582 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45583
45584         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45585
45586 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45587
45588         [BZ #12849]
45589         * manual/fdl-1.1.texi: New file, verbatim from:
45590         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45591         * manual/lgpl-2.1.texi: New file, verbatim from:
45592         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45593         * manual/Makefile (licenses): New variable, list those new file names.
45594         (texis): Use it.
45595         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45596
45597         * manual/fdl.texi: File removed.
45598         * manual/lesser.texi: File removed.
45599         * manual/libc.texinfo (Copying, Documentation License):
45600         Use new @include file names, put @appendix directive before @include.
45601
45602 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45603
45604         [BZ #12841]
45605         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45606         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45607         (mq_open): Add __NTH.
45608
45609 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45610
45611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45612         Assume Intel Core i3/i5/i7 processor if AVX is available.
45613
45614 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45615
45616         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45617         typo.
45618
45619 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45620
45621         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45622         memory.  Use alloca_account.  Fix memory leak when retrying.
45623
45624 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45625
45626         * version.h (RELEASE): Bump for 2.14 release.
45627         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45628
45629         * config.make.in (RANLIB): Remove entry.
45630
45631 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45632
45633         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45634         (libc.pot): Work around missing support for .ksh extension in xgettext.
45635
45636         [BZ #12684]
45637         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45638         if both request failed.
45639         (send_dg): In case of server errors clear resplen or *resplen2.
45640
45641         [BZ #12454]
45642         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45643         when there are multiple maps.
45644         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45645         (_dl_fini): Remove test here.
45646
45647         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45648
45649 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45650
45651         [BZ #12350]
45652         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45653         bit from old_res_options.
45654         (gaih_inet): Likewise.
45655
45656         [BZ #11099]
45657         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45658         as signed.
45659
45660         * resolv/res_init.c (res_setoptions): Make the code more compact.
45661
45662         [BZ #11558]
45663         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45664         set RES_USEVC.
45665
45666         [BZ #11634]
45667         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45668
45669         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45670
45671         [BZ #11781]
45672         * malloc/malloc.h: Declare malloc hook variables as volatile.
45673
45674         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45675         in last patch.
45676
45677         [BZ #11799]
45678         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45679         raise in the comment.
45680         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45681         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45682         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45683
45684 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45685
45686         [BZ #12811]
45687         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45688         grow the buffers more if it already has to be sufficient.
45689         (build_wcs_upper_buffer): Likewise.
45690         * posix/regexec.c (check_matching): Likewise.
45691         (clean_state_log_if_needed): Likewise.
45692         (extend_buffers): Don't enlarge buffers beyond size of the input
45693         buffer.
45694         Patches mostly by Emil Wojak <emil@wojak.eu>.
45695         * posix/bug-regex32.c: New file.
45696         * posix/Makefile (tests): Add bug-regex32.
45697
45698         * locale/findlocale.c (_nl_find_locale): Return right away if
45699         _nl_explode_name failed.
45700         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45701
45702         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45703
45704         * debug/xtrace.sh: Unify messages.
45705         * malloc/memusage.sh: Likewise.
45706
45707         [BZ #12813]
45708         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45709         time symbol from vDSO.  Substitute with vsyscall if not available.
45710         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45711         __vdso_time.
45712
45713         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45714         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45715         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45716         Add sendmmsg and internal_sendmmsg.
45717         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45718         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45719         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45720
45721         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45722         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45723         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45724
45725 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45726
45727         [BZ #12813]
45728         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45729         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45730         available.
45731         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45732         __vdso_getcpu.
45733
45734         [BZ #12814]
45735         * iconvdata/Makefile (tests): Add bug-iconv9.
45736         * iconvdata/bug-iconv9.c: New file.
45737
45738 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45739
45740         [BZ #12814]
45741         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45742
45743 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45744
45745         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45746         (struct user_regs_struct): Change intcs field back to cs.
45747
45748 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45749
45750         * po/ja.po: Update from translation team.
45751
45752 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45753
45754         [BZ #12795]
45755         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45756         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45757
45758 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45759
45760         * stdlib/longlong.h: Update from GCC.
45761
45762 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45763
45764         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45765         parameter name.
45766         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45767         Add parameter name.
45768         (__sysconf): Pass it down.
45769
45770 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45771
45772         [BZ #12671]
45773         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45774         some situations.
45775         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45776         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45777         add in in __libc_use_alloca calls.  Adjust callers.
45778         (glob): Use malloc in some situations.
45779
45780         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45781         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45782         pltexit.
45783
45784 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45785
45786         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45787         and CLOCK_BOOTTIME_ALARM.
45788
45789         [BZ #12782]
45790         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45791         is returned.
45792
45793         * string/_strerror.c (__strerror_r): Print negative errors as signed
45794         numbers.
45795
45796         [BZ #12777]
45797         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45798         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45799         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45800
45801         * configure.in: Fix typo in redirection and correct removal of test
45802         files in two cases.
45803
45804         [BZ #12788]
45805         * locale/setlocale.c (new_composite_name): Fix test to check for
45806         identical name of all categories.
45807
45808         [BZ #12792]
45809         * libio/filedoalloc.c (local_isatty): New function.
45810         (_IO_file_doallocate): Use local_isatty.
45811         * stdio-common/perror.c (perror): In case a new stream is used
45812         forward the stream error.
45813         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45814         error flag.
45815
45816 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45817
45818         [BZ #11869]
45819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45820         alloca.
45821         * include/alloca.h (extend_alloca_account): Define.
45822
45823         [BZ #11857]
45824         * posix/regex.h: Fix comments with documentation of user-accessible
45825         fields after compilation and describe correct free'ing of pattern
45826         after re_compile_pattern.
45827         Patch by Reuben Thomas <rrt@sc3d.org>.
45828
45829 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45830
45831         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45832         and -mno-altivec to prevent the compiler from using Altivec and/or
45833         VSX instructions when the corresponding registers are not available.
45834
45835 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45836
45837         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45838
45839 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45840
45841         * libio/freopen.c (freopen): Use __dup2, not dup2.
45842         * libio/freopen64.c (freopen64): Likewise.
45843
45844 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45845
45846         [BZ #12775]
45847         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45848         * math/Makefile (tests): Add test-powl.
45849         (CFLAGS-test-powl.c): Define.
45850         * math/test-powl.c: New file.
45851
45852 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45853
45854         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45855
45856 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45857
45858         [BZ #11837]
45859         * iconvdata/gb18030.c: Update to GB18020-2005.
45860
45861 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45862
45863         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45864         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45865         Patch by Aharon Robbins <arnold@skeeve.com>.
45866
45867         [BZ #11892]
45868         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45869         on the stack.
45870
45871         [BZ #11895]
45872         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45873         through underflows.
45874
45875         [BZ #12766]
45876         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45877         point to strings before performing equality test for error_one_per_line
45878         mode.
45879
45880         [BZ #11697]
45881         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45882
45883         [BZ #11820]
45884         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45885         (struct user_fpregs_struct): Avoid __uint*_t types.
45886
45887         [BZ #6420]
45888         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45889         symbol info.  Use it instead of calling _dl_addr locally.
45890         (lock_and_info): New function.
45891         (tr_freehook): Call lock_and_info and pass symbol info as additional
45892         parameter to tr_where.
45893         (tr_mallochook): Likewise.
45894         (tr_reallochook): Likewise.
45895         (tr_memalignhook): Likewise.
45896
45897         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45898         used and couldn't be at all thread-safe.
45899
45900 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45901
45902         * libio/freopen.c (freopen): Don't close old file descriptor
45903         before the new one is opened.  Instead dup the new file descriptor
45904         to the old one after the new stream is created.
45905         * libio/freopen64.c (freopen64): Likewise.
45906         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45907         * libio/fileops.c (_IO_new_file_close_it): Handle new
45908         _IO_FLAGS2_NOCLOSE flag.
45909         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45910         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45911         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45912         _IO_FLAGS2_NOCLOSE flag.
45913         * include/unistd.h: Add hidden_proto for dup3.
45914         Define __have_dup3.
45915         * io/dup3.c: Define hidden symbol.
45916         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45917
45918         [BZ #7101]
45919         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45920         when an incomplete long option is used.
45921         * posix/tst-getopt_long1.c: New file.
45922         * posix/Makefile (tests): Add tst-getopt_long1.
45923
45924         [BZ #10138]
45925         * scripts/config.guess: Update from autoconf-2.68.
45926         * scripts/config.sub: Likewise.
45927
45928         [BZ #10157]
45929         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45930         tests into ...
45931         (has_cpuclock): ...this.  New function.
45932         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45933         macro here based on has_cpuclock code.
45934
45935         [BZ #10149]
45936         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45937         First byte (not low byte) is now always NUL.
45938         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45939
45940         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45941         Use non-cancelable interfaces.
45942
45943         [BZ #9809]
45944         * locale/iso-639.def: Add entry for Sorani.
45945
45946         [BZ #11901]
45947         * include/stdlib.h: Move include protection to the right place.
45948         Define abort_msg_s.  Declare __abort_msg with it.
45949         * stdlib/abort.c (__abort_msg): Adjust type.
45950         * assert/assert.c (__assert_fail_base): New function.  Majority
45951         of code from __assert_fail.  Allocate memory for __abort_msg with
45952         mmap.
45953         (__assert_fail): Now call __assert_fail_base.
45954         * assert/assert-perr.c: Remove bulk of implementation.  Use
45955         __assert_fail_base.
45956         * include/assert.hL Declare __assert_fail_base.
45957         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45958         mmap.
45959         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45960
45961 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45962
45963         [BZ #11952]
45964         [BZ #12453]
45965         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45966         until all modules are registered in the DTV.
45967         * elf/Makefile: Add rules to build and run tst-tls19.
45968         * elf/tst-tls19.c: New file.
45969         * elf/tst-tls19mod1.c: New file.
45970         * elf/tst-tls19mod2.c: New file.
45971         * elf/tst-tls19mod3.c: New file.
45972         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45973
45974         [BZ #12083]
45975         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45976         correctly.
45977
45978         [BZ #12601]
45979         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45980         two-byte sequence errors.
45981         * iconvdata/Makefile (tests): Add bug-iconv8.
45982         * iconvdata/bug-iconv8.c: New file.
45983
45984         [BZ #12626]
45985         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45986         buf2 definition.
45987
45988         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45989
45990         [BZ #12432]
45991         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45992         (dummy_getcfa): New function.
45993         (init): Get _Unwind_GetCFA address, use dummy if not found.
45994         (backtrace_helper): In recursion check, also check whether CFA changes.
45995         (__backtrace): Completely initialize arg.
45996
45997         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45998         storing incomplete byte sequence in state object.  Avoid testing for
45999         guaranteed too small input if we know there is enough data available.
46000
46001 2011-05-11  Andreas Schwab  <schwab@redhat.com>
46002
46003         * Makeconfig (+link-pie): Indent.
46004         * Rules (binaries-pie): Define if $(have-fpie) and
46005         $(build-shared).
46006         (binaries-shared): Also filter out $(binaries-pie).
46007         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46008         * nscd/Makefile (others-pie): Add nscd.
46009         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46010         ($(objpfx)nscd): Remove command override.
46011         * login/Makefile (others-pie): Add pt_chown.
46012         ($(objpfx)pt_chown): Remove command override.
46013         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46014         remove command overrides.
46015
46016 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
46017
46018         * libio/tst_putwc.c: Fix error messages.
46019
46020         [BZ #12724]
46021         * libio/fileops.c (_IO_new_file_close_it): Always flush when
46022         currently writing and seek to current position when not.
46023         * libio/Makefile (tests): Add bug-fclose1.
46024         * libio/bug-fclose1.c: New file.
46025
46026 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
46027
46028         [BZ #12511]
46029         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46030         don't set DF_1_NODELETE here.
46031         (do_lookup_x): When entering new entry test for copy relocation
46032         and if necessary set DF_1_NODELETE flag.
46033         * elf/tst-unique4.cc: New file.
46034         * elf/tst-unique4.h: New file.
46035         * elf/tst-unique4lib.cc: New file.
46036         * elf/Makefile: Add rules to build and run tst-unique4.
46037         Patch by Piotr Bury <pbury@goahead.com>.
46038
46039 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
46040
46041         [BZ #12052]
46042         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46043
46044         [BZ #12625]
46045         * misc/mntent_r.c (addmntent): Flush the stream after the output
46046
46047         [BZ #12393]
46048         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46049         (is_trusted_path_normalize): Skip initial colon.  Append slash
46050         to empty buffer.  Duplicate is_trusted_path code but allow
46051         constructed patch to be prefix.
46052         (is_dst): Allow $ORIGIN followed by /.
46053         (_dl_dst_substitute): Correct clearing of check_for_trusted.
46054         Correct testing of result of is_trusted_path_normalize
46055         (decompose_rpath): Fix warning.
46056
46057 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
46058
46059         [BZ #11257]
46060         * grp/initgroups.c (internal_getgrouplist): When we found the service
46061         list through the initgroups entry in nsswitch.conf do not always
46062         continue on a successful lookup.  Don't always use the
46063         __nss_group_database value if it is set.
46064         * nss/nsswitch.conf (initgroups): Change action for successful db
46065         lookup to continue for compatibility.
46066
46067 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
46068
46069         [BZ #11532]
46070         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46071         and CP774 modules.
46072         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46073         and CP774 modules.
46074         * iconvdata/tst-tables.sh: Likewise.
46075         * iconvdata/cp770.c: New file.
46076         * iconvdata/cp771.c: New file.
46077         * iconvdata/cp772.c: New file.
46078         * iconvdata/cp773.c: New file.
46079         * iconvdata/cp774.c: New file.
46080         * iconvdata/testdata/CP770: New file.
46081         * iconvdata/testdata/CP770..UTF8: New file.
46082         * iconvdata/testdata/CP771: New file.
46083         * iconvdata/testdata/CP771..UTF8: New file.
46084         * iconvdata/testdata/CP772: New file.
46085         * iconvdata/testdata/CP772..UTF8: New file.
46086         * iconvdata/testdata/CP773: New file.
46087         * iconvdata/testdata/CP773..UTF8: New file.
46088         * iconvdata/testdata/CP774: New file.
46089         * iconvdata/testdata/CP774..UTF8: New file.
46090
46091         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46092         END CHARMAP line.
46093         * iconvdata/gen-8bit-gap.sh: Likewise.
46094         * iconvdata/gen-8bit.sh: Likewise.
46095
46096         * locale/iso-639.def: Add ary entry.
46097
46098         [BZ #11258]
46099         * locale/C-translit.h.in: Add U20A1 transliteration.
46100
46101         [BZ #12178]
46102         * locale/iso-639.def: Add wae entry.
46103         Patch by Kevin Bortis <bortis@translate-wae.ch>.
46104
46105         [BZ #12545]
46106         * locale/programs/localedef.c (construct_output_path): Use ssize_t
46107         for n.
46108
46109         [BZ #12711]
46110         * locale/C-translit.h.in: Add entry for U20B9.
46111         Patch by pravin.d.s@gmail.com.
46112
46113 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
46114
46115         [BZ #12713]
46116         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46117         ENAMETOOLONG use generic getcwd.
46118         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
46119         in rtld.  Use *stat64.
46120         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46121         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46122         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46123         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46124         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46125         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46126         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46127         __fstatat64 macros.
46128         * include/dirent.h: Add libc_hidden_proto for rewinddir.
46129         * dirent/rewinddir.c: Add libc_hidden_def.
46130         * sysdeps/mach/hurd/rewinddir.c: Likewise.
46131         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
46132
46133         * include/dirent.h (__alloc_dir): Add flags parameter.
46134         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46135         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46136         __alloc_dir.
46137         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
46138         from fdopendir if O_CLOEXEC is already set.
46139
46140 2011-03-15  Alan Modra  <amodra@gmail.com>
46141
46142         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46143         l_tls_firstbyte_offset non-zero.  Save padding offset in
46144         l_tls_firstbyte_offset for later use.
46145         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46146         freeing static tls block.
46147
46148 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
46149
46150         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46151         where #ifdef was intended.  The intent is to prevent ARG_MAX from
46152         being defined by the kernel headers.
46153
46154 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
46155
46156         [BZ #12734]
46157         * resolv/resolv.h: Define RES_NOTLDQUERY.
46158         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46159         no-tld-query and set RES_NOTLDQUERY.
46160         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46161         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46162         modern BIND to search name as TLD unless forbidden.
46163
46164 2011-05-07  Petr Baudis  <pasky@suse.cz>
46165             Ulrich Drepper  <drepper@gmail.com>
46166
46167         [BZ #12393]
46168         * elf/dl-load.c (fillin_rpath): Move trusted path check...
46169         (is_trusted_path): ...to here.
46170         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46171         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46172         using is_trusted_path_normalize() in setuid scripts.
46173
46174 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46175
46176         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46177         __BEGIN/__END_DECLS.
46178
46179 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
46180
46181         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46182         NSS_STATUS_NOTFOUND if no record was found.
46183
46184 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46185
46186         * sunrpc/Makefile (headers): Add rpc/netdb.h.
46187         (headers-not-in-tirpc): Remove rpc/netdb.h
46188         * resolv/netdb.h: Revert last change.
46189
46190 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46191
46192         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46193         circular dependency between libgcc.a and libc.a.
46194
46195 2011-05-05  Andreas Schwab  <schwab@redhat.com>
46196
46197         * resolv/netdb.h: Don't include <rpc/netdb.h>.
46198         * nis/Makefile: Don't install rpcsvc/*.
46199         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46200         instead of <rpc/types.h>.
46201         (MAXHOSTNAMELEN): Define.
46202
46203 2011-05-03  Andreas Schwab  <schwab@redhat.com>
46204
46205         * elf/ldconfig.c (add_dir): Don't crash on empty path.
46206
46207 2011-04-28  Maciej Babinski  <mbabinski@google.com>
46208
46209         [BZ #12714]
46210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46211         gethostbyname4_r when IPv6 results are possible.
46212
46213 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
46214
46215         [BZ #12723]
46216         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46217         _PC_PIPE_BUF handling.
46218
46219 2011-04-30  Bruno Haible  <bruno@clisp.org>
46220
46221         [BZ #12717]
46222         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46223         * resolv/netdb.h (getnameinfo): Change type of flags parameter
46224         to 'int'.
46225         * inet/getnameinfo.c (getnameinfo): Likewise.
46226
46227 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
46228
46229         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46230         to groups setting in database lookup.
46231         * nss/nsswitch.conf: Add initgroups entry.
46232
46233 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
46234
46235         [BZ #12685]
46236         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46237         mode string.
46238         Patch by Eric Blake <eblake@redhat.com>.
46239
46240 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
46241
46242         * sunrpc/Makefile (need-export-routines): Add svc_run.
46243         (routines): Remove svc_run.
46244         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46245         * sunrpc/clnt_perr.c (clnt_perrno): Export.
46246         * sunrpc/svc_run.c (svc_run): Likewise.
46247         * sunrpc/svc_udp.c (svcudp_create): Likewise.
46248
46249 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
46250
46251         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46252         problem in reallocation in last patch.
46253
46254 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
46255
46256         * sunrpc/Makefile: Move inclusion of Rules.
46257
46258 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46259
46260         * nss/nss_files/files-initgroups.c: New file.
46261         * nss/Makefile (libnss_files-routines): Add files-initgroups.
46262         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46263         _nss_files_initgroups_dyn.
46264
46265 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
46266
46267         * elf/elf.h (R_ARM_IRELATIVE): Define.
46268
46269 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
46270
46271         * po/ru.po: Update from translation team.
46272
46273 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46274
46275         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46276         dependencies.
46277
46278 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
46279
46280         [BZ #12653]
46281         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46282         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46283         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46286
46287 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
46288
46289         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46290         differing bytes.
46291         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46292         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46293         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46294
46295 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
46296
46297         [BZ #12420]
46298         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46299         storing it.
46300         * stdlib/bug-getcontext.c: New file.
46301         * stdlib/Makefile: Add rules to build and run bug-getcontext.
46302
46303 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46304
46305         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46306         instructions into .machine "z9-109".
46307         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46308         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46309
46310 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46311
46312         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46313         between environment variables and auxiliary vector.
46314
46315 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
46316
46317         * Makefile: Add rules to build linkobj/libc.so.
46318         * include/libc-symbols.h: Define libc_hidden_nolink.
46319         * include/rpc/auth.h: Mark functions which are to be hidden.
46320         * include/rpc/auth_des.h: Likewise.
46321         * include/rpc/auth_unix.h: Likewise.
46322         * include/rpc/clnt.h: Likewise.
46323         * include/rpc/des_crypt.h: Likewise.
46324         * include/rpc/key_prot.h: Likewise.
46325         * include/rpc/pmap_clnt.h: Likewise.
46326         * include/rpc/pmap_prot.h: Likewise.
46327         * include/rpc/pmap_rmt.h: Likewise.
46328         * include/rpc/rpc_msg.h: Likewise.
46329         * include/rpc/svc.h: Likewise.
46330         * include/rpc/svc_auth.h: Likewise.
46331         * include/rpc/xdr.h: Likewise.
46332         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46333         * nss/Makefile: Likewise.
46334         * sunrpc/Makefile: Don't install headers.  Build library with normal
46335         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46336         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46337         for the compat linking library.  Remove use of INTDEF/INTUSE.
46338         * sunrpc/auth_none.c: Likewise.
46339         * sunrpc/auth_unix.c: Likewise.
46340         * sunrpc/authdes_prot.c: Likewise.
46341         * sunrpc/authuxprot.c: Likewise.
46342         * sunrpc/clnt_gen.c: Likewise.
46343         * sunrpc/clnt_perr.c: Likewise.
46344         * sunrpc/clnt_raw.c: Likewise.
46345         * sunrpc/clnt_simp.c: Likewise.
46346         * sunrpc/clnt_tcp.c: Likewise.
46347         * sunrpc/clnt_udp.c: Likewise.
46348         * sunrpc/clnt_unix.c: Likewise.
46349         * sunrpc/des_crypt.c: Likewise.
46350         * sunrpc/des_soft.c: Likewise.
46351         * sunrpc/get_myaddr.c: Likewise.
46352         * sunrpc/key_call.c: Likewise.
46353         * sunrpc/key_prot.c: Likewise.
46354         * sunrpc/netname.c: Likewise.
46355         * sunrpc/pm_getmaps.c: Likewise.
46356         * sunrpc/pm_getport.c: Likewise.
46357         * sunrpc/pmap_clnt.c: Likewise.
46358         * sunrpc/pmap_prot.c: Likewise.
46359         * sunrpc/pmap_prot2.c: Likewise.
46360         * sunrpc/pmap_rmt.c: Likewise.
46361         * sunrpc/publickey.c: Likewise.
46362         * sunrpc/rpc_cmsg.c: Likewise.
46363         * sunrpc/rpc_common.c: Likewise.
46364         * sunrpc/rpc_dtable.c: Likewise.
46365         * sunrpc/rpc_prot.c: Likewise.
46366         * sunrpc/rpc_thread.c: Likewise.
46367         * sunrpc/rtime.c: Likewise.
46368         * sunrpc/svc.c: Likewise.
46369         * sunrpc/svc_auth.c: Likewise.
46370         * sunrpc/svc_authux.c: Likewise.
46371         * sunrpc/svc_raw.c: Likewise.
46372         * sunrpc/svc_run.c: Likewise.
46373         * sunrpc/svc_simple.c: Likewise.
46374         * sunrpc/svc_tcp.c: Likewise.
46375         * sunrpc/svc_udp.c: Likewise.
46376         * sunrpc/svc_unix.c: Likewise.
46377         * sunrpc/svcauth_des.c: Likewise.
46378         * sunrpc/xcrypt.c: Likewise.
46379         * sunrpc/xdr.c: Likewise.
46380         * sunrpc/xdr_array.c: Likewise.
46381         * sunrpc/xdr_float.c: Likewise.
46382         * sunrpc/xdr_intXX_t.c: Likewise.
46383         * sunrpc/xdr_mem.c: Likewise.
46384         * sunrpc/xdr_rec.c: Likewise.
46385         * sunrpc/xdr_ref.c: Likewise.
46386         * sunrpc/xdr_sizeof.c: Likewise.
46387         * sunrpc/xdr_stdio.c: Likewise.
46388
46389 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46390
46391         [BZ #12650]
46392         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46393         * sysdeps/ia64/dl-tls.h: Likewise.
46394         * sysdeps/powerpc/dl-tls.h: Likewise.
46395         * sysdeps/s390/dl-tls.h: Likewise.
46396         * sysdeps/sh/dl-tls.h: Likewise.
46397         * sysdeps/sparc/dl-tls.h: Likewise.
46398         * sysdeps/x86_64/dl-tls.h: Likewise.
46399         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46400
46401 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46402
46403         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46404         rpath element also skip the following colon.
46405         (expand_dynamic_string_token): Add is_path parameter and pass
46406         down to DL_DST_REQUIRED and _dl_dst_substitute.
46407         (decompose_rpath): Call expand_dynamic_string_token with
46408         non-zero is_path.  Ignore empty rpaths.
46409         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46410         with zero is_path.
46411
46412 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46413
46414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46415         Make cancelable.
46416
46417 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46418
46419         [BZ #12655]
46420         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46421         Patch by Filipe David Manana <fdmanana@apache.org>.
46422
46423 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46424
46425         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46426         Maintain aligned stack.
46427         (CHECK_RSP): Remove unused macro.
46428
46429 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46430
46431         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46432         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46433
46434 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46435
46436         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46437
46438         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46439
46440 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46441
46442         [BZ #12518]
46443         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46444         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46445         * sysdeps/x86_64/memmove.c: New file.
46446         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46447         (memcpy): Renamed to ...
46448         (__new_memcpy): This.
46449         (memcpy): Provide GLIBC_2_14 memcpy.
46450         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46451         (memcpy): Provide GLIBC_2_2_5 memcpy.
46452
46453 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46454
46455         [BZ #12631]
46456         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46457
46458 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46459
46460         * misc/syncfs.c: New file.
46461         * misc/Makefile (routines): Add syncfs.
46462         * posix/unistd.h: Declare syncfs.
46463         * sysdeps/unix/syscalls.list: Add syncfs.
46464
46465 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46466
46467         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46468         open_by_handle_at.
46469         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46470         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46472         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46474         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46475         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46476
46477 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46478
46479         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46480         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46481         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46483         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46484         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46485         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46486
46487         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46488         sync_file_range.c with -fexceptions.
46489         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46490         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46491         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46492         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46493         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46494         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46495         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46496         sync_file_range as cancellation point
46497         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46498         now a wrapper around __call_sync_file_range with cancellation handling.
46499         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46500         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46501         function name to __call_sync_file_range.
46502         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46503         Add call_sync_file_range.
46504
46505 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46506
46507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46508         bits/timex.h.
46509
46510 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46511
46512         * iconv/iconv.h: Fix typo in comment.
46513         * io/fcntl.h: Likewise.
46514         * libio/stdio.h: Likewise.
46515         * posix/spawn.h: Likewise.
46516         * posix/unistd.h: Likewise.
46517         * stdlib/stdlib.h: Likewise.
46518         * time/time.h: Likewise.
46519         * wcsmbs/wchar.h: Likewise.
46520
46521         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46522         open_by_handle): Add.
46523         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46524         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46525         Augment a few comments.
46526         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46528         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46530         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46531         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46532         open_by_handle.
46533
46534         * io/fcntl.h (AT_EMPTY_PATH): Define.
46535
46536 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46537
46538         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46539         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46540         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46541         to...
46542         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46543         * Versions.def: Add GLIBC_2.14.
46544         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46545         Export.
46546
46547 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46548
46549         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46550         round counter.
46551         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46552
46553 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46554
46555         [BZ #12597]
46556         * string/test-strncmp.c (do_page_test): New function.
46557         (check2): Likewise.
46558         (test_main): Call check2.
46559         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46560
46561 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46562
46563         [BZ #12587]
46564         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46565         Handle cache information in CPU leaf 4.
46566         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46567
46568 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46569
46570         [BZ #12583]
46571         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46572         character representation.
46573         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46574
46575 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46576
46577         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46578         END(__isnan) to END(__isnanf) to match function entry point/label
46579         EALIGN(__isnanf,...).
46580
46581 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46582
46583         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46584
46585 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46586
46587         [BZ #12510]
46588         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46589         copy from the symbol referenced in the relocation to initialize the
46590         used variable.
46591         Patch by Piotr Bury <pbury@goahead.com>.
46592         * elf/Makefile: Add rules to build and tst-unique3.
46593         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46594         * elf/tst-unique3.cc: New file.
46595         * elf/tst-unique3.h: New file.
46596         * elf/tst-unique3lib.cc: New file.
46597         * elf/tst-unique3lib2.cc: New file.
46598
46599         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46600
46601 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46602
46603         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46604         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46605         to _start.
46606
46607 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46608
46609         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46610         to-be-loaded object along a path to loader is ld.so.
46611
46612 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46613             Ulrich Drepper  <drepper@gmail.com>
46614
46615         * sysdeps/x86_64/memset.S: After aligning destination, code
46616         branches to different locations depending on the value of
46617         misalignment, when multiarch is enabled. Fix this.
46618
46619 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46620
46621         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46622         Set _x86_64_preferred_memory_instruction for AMD processsors.
46623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46624         Set bit_Prefer_SSE_for_memop for AMD processors.
46625
46626 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46627
46628         * libio/fmemopen.c (fmemopen): Optimize a bit.
46629
46630 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46631
46632         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46633
46634 2011-03-03  Roland McGrath  <roland@redhat.com>
46635
46636         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46637
46638 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46639
46640         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46641         __bzero_ultra1 instead of __memset_ultra1.
46642
46643 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46644             Ulrich Drepper  <drepper@gmail.com>
46645
46646         [BZ #12509]
46647         * include/link.h (struct link_map): Add l_orig_initfini.
46648         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46649         returning unsuccessfully.
46650         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46651         close of a file loaded at startup, restore the original l_initfini
46652         list.
46653         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46654         list, store the pointer.
46655         * elf/Makefile ($(objpfx)noload-mem): New rule.
46656         (noload-ENV): Define.
46657         (tests): Add $(objpfx)noload-mem.
46658         * elf/noload.c: Include <memcheck.h>.
46659         (main): Call mtrace.  Close all opened handles.
46660
46661 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46662
46663         [BZ #12454]
46664         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46665         dependencies are missing.
46666
46667 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46668
46669         Fix __if_freereq crash: Unlike the generic version which uses free,
46670         Hurd needs munmap.
46671         * sysdeps/mach/hurd/ifreq.h: New file.
46672
46673 2011-01-27  Petr Baudis  <pasky@suse.cz>
46674             Ulrich Drepper  <drepper@gmail.com>
46675
46676         [BZ 12445]#
46677         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46678         to extend_alloca().
46679         * stdio-common/bug23.c: New file.
46680         * stdio-common/Makefile (tests): Add bug23.
46681
46682 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46683             Ulrich Drepper  <drepper@gmail.com>
46684
46685         [BZ #12489]
46686         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46687         before performing relro protection.  At old place add assertion
46688         to make sure nothing changed.
46689
46690 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46691             Glauber de Oliveira Costa  <glommer@gmail.com>
46692
46693         * elf/elf.h: Add new ARM TLS relocs.
46694
46695 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46696
46697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46698         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46699         cast from r3.
46700         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46701         'tests' variable.
46702         * sysdeps/wordsize-64/tst-writev.c: New file.
46703
46704 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46705
46706         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46707         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46708         insns in _dl_start to prevent a TOC reference before relocs are
46709         resolved.
46710
46711 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46712
46713         [BZ #12469]
46714         * Makeconfig: Remove RANLIB definition.
46715         * Makerules: Don't use RANLIB.
46716         * aclocal.m4: Remove ranlib test.
46717         * configure.in: No need to check for ranlib.
46718         * elf/rtld-Rules: Don't use RANLIB.
46719
46720 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46721
46722         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46723         protection macro.
46724         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46725         inclusion protection macro.
46726
46727         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46728         SIGRTMIN and SIGRTMAX and print information in that case only when
46729         SIGRTMIN is defined.
46730
46731 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46732
46733         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46734         arginfo fn returning -1.
46735
46736         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46737         and thousands string is zero terminated.
46738
46739 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46740
46741         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46742         sysdeps/unix/sysv/linux/bits/socket.h.
46743
46744 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46745
46746         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46747         (__CPU_COUNT): Remove old macros.
46748         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46749         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46750         (__CPU_ALLOC, __CPU_FREE): Add macros.
46751         (__sched_cpualloc, __sched_cpufree): Add declarations.
46752
46753 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46754
46755         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46756         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46757         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46758         (readdhstai): Return value of addhstaiX call.
46759         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46760         (addgrbyX): Return value returned by cache_addgr.
46761         (readdgrbyname): Return value returned by addgrbyX.
46762         (readdgrbygid): Likewise.
46763         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46764         (addpwbyX): Return value returned by cache_addpw.
46765         (readdpwbyname): Return value returned by addhstbyX.
46766         (readdpwbyuid): Likewise.
46767         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46768         (addservbyX): Return value returned by cache_addserv.
46769         (readdservbyname): Return value returned by addservbyX:
46770         (readdservbyport): Likewise.
46771         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46772         (addhstbyX): Return value returned by cache_addhst.
46773         (readdhstbyname): Return value returned by addhstbyX.
46774         (readdhstbyaddr): Likewise.
46775         (readdhstbynamev6): Likewise.
46776         (readdhstbyaddrv6): Likewise.
46777         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46778         (readdinitgroups): Return value returned by addinitgroupsX.
46779         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46780         (prune_cache): Keep track of timeout value of re-added entries.
46781         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46782         * nscd/nscd.h: Adjust prototypes of readd* functions.
46783
46784 2011-02-04  Roland McGrath  <roland@redhat.com>
46785
46786         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46787         (nis_stats): Likewise.
46788         * nis/nis_modify.c (nis_modify): Likewise.
46789         * nis/nis_remove.c (nis_remove): Likewise.
46790         * nis/nis_add.c (nis_add): Likewise.
46791
46792         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46793
46794         * posix/fnmatch_loop.c: Add some consts.
46795
46796         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46797
46798 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46799
46800         [BZ #12460]
46801         * config.make.in (config-cflags-novzeroupper): Define.
46802         * configure.in: Substitute libc_cv_cc_novzeroupper.
46803         * elf/Makefile (AVX-CFLAGS): Define.
46804         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46805         (CFLAGS-tst-auditmod4a.c): Likewise.
46806         (CFLAGS-tst-auditmod4b.c): Likewise.
46807         (CFLAGS-tst-auditmod6b.c): Likewise.
46808         (CFLAGS-tst-auditmod6c.c): Likewise.
46809         (CFLAGS-tst-auditmod7b.c): Likewise.
46810         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46811
46812 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46813
46814         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46815         function to the callback.
46816         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46817
46818 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46819
46820         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46821         of errno.
46822
46823 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46824
46825         [BZ #11724]
46826         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46827         of constructors.
46828         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46829         of destructors.
46830         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46831
46832         [BZ #11724]
46833         * elf/Makefile: Add rules to build and run new test.
46834         * elf/tst-initorder.c: New file.
46835         * elf/tst-initorder.exp: New file.
46836         * elf/tst-initordera1.c: New file.
46837         * elf/tst-initordera2.c: New file.
46838         * elf/tst-initordera3.c: New file.
46839         * elf/tst-initordera4.c: New file.
46840         * elf/tst-initorderb1.c: New file.
46841         * elf/tst-initorderb2.c: New file.
46842         * elf/tst-order-a1.c: New file.
46843         * elf/tst-order-a2.c: New file.
46844         * elf/tst-order-a3.c: New file.
46845         * elf/tst-order-a4.c: New file.
46846         * elf/tst-order-b1.c: New file.
46847         * elf/tst-order-b2.c: New file.
46848         * elf/tst-order-main.c: New file.
46849         New test case by George Gensure <werkt0@gmail.com>.
46850
46851 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46852
46853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46854         decoding ACE if AI_CANONIDN.
46855
46856 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46857
46858         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46859
46860 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46861
46862         * version.h (RELEASE): Bump for 2.13 release.
46863         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46864
46865         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46866
46867         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46868         MADV_NOHUGEPAGE.
46869         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46870         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46871         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46872         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46873         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46874         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46875
46876         * posix/getconf.c: Update copyright year.
46877         * catgets/gencat.c: Likewise.
46878         * csu/version.c: Likewise.
46879         * debug/catchsegv.sh: Likewise.
46880         * debug/xtrace.sh: Likewise.
46881         * elf/ldconfig.c: Likewise.
46882         * elf/ldd.bash.in: Likewise.
46883         * elf/sprof.c (print_version): Likewise.
46884         * iconv/iconv_prog.c: Likewise.
46885         * iconv/iconvconfig.c: Likewise.
46886         * locale/programs/locale.c: Likewise.
46887         * locale/programs/localedef.c: Likewise.
46888         * malloc/memusage.sh: Likewise.
46889         * malloc/mtrace.pl: Likewise.
46890         * nscd/nscd.c (print_version): Likewise.
46891         * nss/getent.c: Likewise.
46892
46893         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46894         PF_CAIF, and PF_ALG.
46895         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46896
46897 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46898
46899         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46900         (modules-names): Use them.
46901         (ifunc-test-modules, ifunc-pie-tests): Define.
46902         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46903         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46904         (test-extras): Likewise.
46905         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46906         $(compile-command.c).
46907         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46908         (all-built-dso): Define.
46909         (check-textrel.out, check-execstack.out): Depend on it.
46910
46911         * configure.in: Don't override --enable-multi-arch.
46912
46913 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46914
46915         [BZ #6812]
46916         * nscd/hstcache.c (tryagain): Define.
46917         (cache_addhst): Return tryagain not notfound for temporary errors.
46918         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46919         failed.
46920
46921 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46922
46923         [BZ #10563]
46924         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46925         to make the syscall.
46926         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46927
46928         [BZ #12378]
46929         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46930         and fall back to matching as normal character if the string ends before
46931         the matching ']' is found.  This is what POSIX requires.
46932         * posix/testfnm.c: Adjust test result.
46933         * posix/globtest.sh: Adjust test result.  Add new test.
46934         * posix/tst-fnmatch.input: Likewise.
46935         * posix/tst-fnmatch2.c: Add new test.
46936
46937 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46938
46939         * elf/Makefile (check-execstack): Revert last change.  Depend on
46940         check-execstack.h.
46941         (check-execstack.h): New target.
46942         (generated): Add check-execstack.h.
46943         * elf/check-execstack.c: Include "check-execstack.h".
46944         (main): Revert last change.
46945         (handle_file): Return zero if GNU_STACK is absent and
46946         DEFAULT_STACK_PERMS doesn't include PF_X.
46947
46948 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46949
46950         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46951         in child fails because the descriptor is already closed.
46952         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46953         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46954         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46955
46956         [BZ #12397]
46957         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46958         syscall.
46959
46960         [BZ #10484]
46961         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46962         temporary buffer used to handle multi lookups locally.
46963         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46964
46965 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46966
46967         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46968         loader is ld.so.
46969
46970 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46971
46972         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46973         alignment for SSE2.
46974
46975 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46976
46977         [BZ #12394]
46978         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46979         characters.  When rounding increased number of integer digits recompute
46980         number of groups.
46981         * stdio-common/tst-grouping.c: New file.
46982         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46983
46984 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46985
46986         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46987         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46988
46989         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46990         void.
46991         * bits/select.h: Likewise.
46992
46993 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46994
46995         * po/ja.po: Update from translation team.
46996
46997 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46998
46999         [BZ #11155]
47000         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47001         implementation just like for lxstat, fxstatat, et al.
47002
47003 2010-12-27  Jim Meyering  <meyering@redhat.com>
47004
47005         [BZ #12348]
47006         * posix/regexec.c (build_trtable): Return failure indication upon
47007         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
47008
47009 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
47010
47011         [BZ #12201]
47012         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47013         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47014         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47015         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47016
47017         [BZ #12207]
47018         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47019
47020         [BZ #12204]
47021         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47022         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47023
47024 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
47025
47026         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47027         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47028         script has SORT_BY_INIT_PRIORITY.
47029         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47030         NO_CTORS_DTORS_SECTIONS is defined.
47031         * elf/soinit.c: Likewise.
47032         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47033         NO_CTORS_DTORS_SECTIONS is defined.
47034         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47035         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47036         * sysdeps/sh/init-first.c: Likewise.
47037         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47038
47039 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
47040
47041         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47042         always use the slow path.
47043
47044 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
47045
47046         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47047         similar rule which adds the sysdep directories to the header search in
47048         order to pick up the correct platform stackinfo.h.
47049         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47050         perform test if it is, otherwise return successfully without testing.
47051         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47052         DEFAULT_STACK_PERMS define in stackinfo.h.
47053         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47054         defined in stackinfo.h.
47055         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47056         DEFAULT_STACK_PERMS defined in stackinfo.h.
47057         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47058         * sysdeps/ia64/stackinfo.h: Likewise.
47059         * sysdeps/s390/stackinfo.h: Likewise.
47060         * sysdeps/sh/stackinfo.h: Likewise.
47061         * sysdeps/sparc/stackinfo.h: Likewise.
47062         * sysdeps/x86_64/stackinfo.h: Likewise.
47063         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47064         PF_X for powerpc64.  Retain PF_X for powerpc32.
47065
47066 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
47067
47068         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47069         accurately.
47070         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47071         GETDENTS_64BIT_ALIGNED.
47072
47073 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
47074
47075         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47076
47077 2010-12-10  Andreas Schwab  <schwab@redhat.com>
47078
47079         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47080         _GNU_SOURCE.
47081
47082         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47083         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47084         Remove __restrict.
47085         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47086         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47087
47088 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
47089
47090         [BZ #11655]
47091         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47092         are initialized.
47093
47094 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
47095
47096         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47097
47098 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
47099
47100         * po/it.po: Update from translation team.
47101
47102 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
47103
47104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47105         unused codes.
47106
47107 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
47108
47109         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47110
47111 2010-11-24  Andreas Schwab  <schwab@redhat.com>
47112
47113         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47114         specially.
47115         (gaih_getanswer_slice): Likewise.
47116
47117 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
47118
47119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47120
47121 2010-05-31  Petr Baudis  <pasky@suse.cz>
47122
47123         [BZ #11149]
47124         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47125         silently even in the chroot mode.
47126
47127 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
47128
47129         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47130         last patch a bit.  Pretty printing
47131
47132 2010-05-31  Petr Baudis <pasky@suse.cz>
47133
47134         [BZ #10085]
47135         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47136         initialization of skip_initgroups_dyn.
47137
47138 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
47139
47140         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47141         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47142
47143 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
47144
47145         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47146
47147 2010-11-11  Andreas Schwab  <schwab@redhat.com>
47148
47149         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47150         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47151         (tst-fnmatch-ENV): Set MALLOC_TRACE.
47152         ($(objpfx)tst-fnmatch-mem): New rule.
47153         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47154         * posix/tst-fnmatch.c (main): Call mtrace.
47155
47156 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
47157
47158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47159         Support Intel processor model 6 and model 0x2c.
47160
47161 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
47162
47163         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47164           signed comparison.
47165
47166 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
47167
47168         [BZ #12205]
47169         * string/test-strncasecmp.c (check_result): New function.
47170         (do_one_test): Use it.
47171         (check1): New function.
47172         (test_main): Use it.
47173         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47174         Support strcasecmp and strncasecmp.
47175
47176 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
47177
47178         [BZ #12194]
47179         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47180         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47181
47182 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47183
47184         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47185         IFUNC support.
47186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47187         memset-x86-64.
47188         * sysdeps/x86_64/multiarch/bzero.S: New file.
47189         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47190         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47191         * sysdeps/x86_64/multiarch/memset.S: New file.
47192         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47194         Set bit_Prefer_SSE_for_memop for Intel processors.
47195         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47196         Define.
47197         (index_Prefer_SSE_for_memop): Define.
47198         (HAS_PREFER_SSE_FOR_MEMOP): Define.
47199
47200 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
47201
47202         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47203         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47204
47205 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
47206
47207         [BZ #12191]
47208         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47209         (__x86_64_raw_data_cache_size_half): Likewise.
47210         (__x86_64_raw_shared_cache_size): Likewise.
47211         (__x86_64_raw_shared_cache_size_half): Likewise.
47212
47213         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47214         (__x86_64_raw_data_cache_size_half): Likewise.
47215         (__x86_64_raw_shared_cache_size): Likewise.
47216         (__x86_64_raw_shared_cache_size_half): Likewise.
47217         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47218         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47219         and __x86_64_raw_shared_cache_size_half.  Round
47220         __x86_64_data_cache_size_half, __x86_64_data_cache_size
47221         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47222         to multiple of 256 bytes.
47223
47224 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
47225
47226         [BZ #12167]
47227         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47228         of inacessible symlinks.  Verify result of symlink before returning it.
47229         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47230         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47231
47232 2010-10-28  Erich Ritz  <erichritz@gmail.com>
47233
47234         * math/math.h (isinf): Fix typo in comment.
47235
47236 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
47237
47238         * po/da.po: Update from translation team.
47239
47240 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
47241
47242         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47243         is added to the list.
47244
47245 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47246             Ulrich Drepper  <drepper@gmail.com>
47247
47248         * elf/dl-object.c (_dl_new_object): Don't append the new object to
47249         the global list here.  Move code to...
47250         (_dl_add_to_namespace_list): ...here.  New function.
47251         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47252         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47253         * elf/dl-load.c (lose): Don't remove the element from the list.
47254         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47255         (_dl_map_object): Likewise.
47256
47257 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
47258
47259         [BZ #12159]
47260         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47261         into all bytes of SSE register.
47262         Patch by Richard Li <richardpku@gmail.com>.
47263
47264 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
47265
47266         [BZ #12140]
47267         * malloc/malloc.c (_int_free): Fill correct number of bytes when
47268         perturbing.
47269
47270 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
47271
47272         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47273         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47274         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47275         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47277         submachine.
47278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47279
47280 2010-10-22  Andreas Schwab  <schwab@redhat.com>
47281
47282         * include/dlfcn.h (__RTLD_SECURE): Define.
47283         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
47284         mode & __RTLD_SECURE instead.
47285         (open_path): Rename preloaded parameter to secure.
47286         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47287         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47288         * elf/dl-deps.c (openaux): Likewise.
47289         * elf/rtld.c (struct map_args): Remove is_preloaded.
47290         (map_doit): Don't use it.
47291         (dl_main): Likewise.
47292         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47293         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47294
47295 2010-09-09  Andreas Schwab  <schwab@redhat.com>
47296
47297         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47298         (sysd-rules-targets): Remove duplicates.
47299         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47300         rtld-%.$o dependency.
47301
47302 2010-10-18  Andreas Schwab  <schwab@redhat.com>
47303
47304         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47305         _dl_map_object do it.
47306
47307 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
47308
47309         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47310         fast fma builtins, define the macros in the C99 standard.
47311         (FP_FAST_FMAF): Likewise.
47312         (FP_FAST_FMAL): Likewise.
47313         * sysdeps/x86_64/bits/mathdef.h: Likewise.
47314
47315         * bits/mathdef.h: Update copyright year.
47316         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47317
47318 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
47319
47320         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47321         builtins, define the macros in the C99 standard.
47322         (FP_FAST_FMAF): Likewise.
47323         (FP_FAST_FMAL): Likewise.
47324         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47325         multiply/add.
47326         (FP_FAST_FMAF): Likewise.
47327
47328 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47329
47330         [BZ #3268]
47331         * math/libm-test.inc (fma_test): Some new testcases.
47332         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47333         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47334         y and infinite z.  Do multiplication by C already in long double.
47335         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47336         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47337         y and infinite z.  Do bitwise or of inexact bit into u.d.
47338         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47339         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47340         * sysdeps/i386/fpu/s_fma.S: Removed.
47341         * sysdeps/i386/fpu/s_fmal.S: Removed.
47342
47343 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47344
47345         [BZ #3268]
47346         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47347         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47348         computation is not scheduled after fetestexcept.  Fix value
47349         of minimum denormal long double.
47350
47351 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47352
47353         [BZ #3268]
47354         * math/libm-test.inc (fma_test): Add some more tests.
47355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47356         correctly.
47357
47358 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47359
47360         * scripts/data/localplt-s390-linux-gnu.data: New file.
47361         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47362
47363 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47364
47365         [BZ #3268]
47366         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47367         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47368         instead of dbl-64.
47369         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47370         inlines.
47371         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47372         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47373         if one of x and y is very large and the other is subnormal.
47374         * sysdeps/s390/fpu/s_fmaf.c: New file.
47375         * sysdeps/s390/fpu/s_fma.c: New file.
47376         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47377         * sysdeps/powerpc/fpu/s_fma.S: New file.
47378         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47379         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47380         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47381
47382 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47383
47384         [BZ #3268]
47385         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47386         fma tests.
47387         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47388         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47389         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47390         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47391         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47392         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47393         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47394
47395 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47396
47397         [BZ #12078]
47398         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47399         * posix/bug-regex31.input: Add test case.
47400
47401 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47402
47403         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47404         * posix/bug-regex31.input: New file.
47405
47406         [BZ #12078]
47407         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47408         (parse_sub_exp): Fix last change, use postorder.
47409
47410         * posix/bug-regex31.c: New file.
47411         * posix/Makefile: Add rules to build and run bug-regex31.
47412
47413         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47414
47415         [BZ #12078]
47416         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47417
47418         [BZ #12108]
47419         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47420         to have entries in sys_siglist.
47421
47422         [BZ #12093]
47423         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47424         be NULL.
47425
47426 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47427
47428         [BZ #3268]
47429         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47430         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47431         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47432         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47433         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47434         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47435         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47436         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47437         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47438         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47439         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47440         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47441         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47442         * math/ftestexcept.c (fetestexcept): Likewise.
47443         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47444         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47445         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47446         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47447         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47448         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47449         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47450
47451 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47452
47453         [BZ #12107]
47454         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47455         newline.
47456
47457 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47458
47459         * string/bug-strstr1.c: New file.
47460         * string/Makefile: Add rules to build and run bug-strstr1.
47461
47462 2010-10-05  Eric Blake  <eblake@redhat.com>
47463
47464         [BZ #12092]
47465         * string/str-two-way.h (two_way_long_needle): Always clear memory
47466         when skipping input due to the shift table.
47467
47468 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47469
47470         [BZ #12005]
47471         * malloc/mcheck.c: Handle large requests.
47472
47473         [BZ #12077]
47474         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47475         for strncmp and strncasecmp.
47476         * string/stratcliff.c: Add tests for strcmp and strncmp.
47477         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47478
47479 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47480
47481         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47482         __set_fpscr.
47483
47484 2010-09-30  Andreas Jaeger  <aj@suse.de>
47485
47486         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47487         (CGROUP_SUPER_MAGIC): Define.
47488         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47489         Handle btrfs and cgroup file systems.
47490         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47491         Likewise.
47492
47493 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47494
47495         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47496         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47497
47498 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47499
47500         [BZ #12067]
47501         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47502         trying to locate the ELF header.
47503
47504 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47505
47506         [BZ #11611]
47507         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47508         Mask out sign-bit copies when constructing f_fsid.
47509
47510 2010-09-24  Petr Baudis <pasky@suse.cz>
47511
47512         * debug/stack_chk_fail_local.c: Add missing licence exception.
47513         * debug/warning-nop.c: Likewise.
47514
47515 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47516
47517         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47518         implementing getdents64 using getdents syscall, set d_type if
47519         __ASSUME_GETDENTS32_D_TYPE.
47520
47521 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47522
47523         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47524         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47525
47526 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47527
47528         [BZ #12037]
47529         * posix/unistd.h: Undo change of feature selection for ftruncate from
47530         2010-01-11.
47531
47532 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47533
47534         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47535         detection.
47536
47537 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47538
47539         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47540         fanotify_mark.
47541         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47542
47543 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47544
47545         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47546         variables after CHECK_SP call.
47547         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47548
47549 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47550             Ulrich Drepper  <drepper@redhat.com>
47551
47552         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47553         re-relocationg ld.so.
47554         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47555         _dl_init_paths call.
47556         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47557         here anymore.
47558
47559 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47560
47561         * resolv/res_init.c (__res_vinit): Count the default server we added.
47562
47563 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47564             Ulrich Drepper  <drepper@redhat.com>
47565
47566         [BZ #11968]
47567         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47568         (____longjmp_chk): Use %ebx for saving value across system call.
47569         Add unwind info.
47570
47571 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47572
47573         * manual/Makefile: Don't mix pattern rules with normal rules.
47574
47575 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47576
47577         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47578         operation.
47579         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47580         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47581         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47582         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47583         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47584         Likewise.
47585
47586 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47587
47588         [BZ #11979]
47589         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47590         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47591
47592 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47593
47594         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47595         * sysdeps/x86_64/addmul_1.S: Likewise.
47596         * sysdeps/x86_64/lshift.S: Likewise.
47597         * sysdeps/x86_64/mul_1.S: Likewise.
47598         * sysdeps/x86_64/rshift.S: Likewise.
47599         * sysdeps/x86_64/sub_n.S: Likewise.
47600         * sysdeps/x86_64/submul_1.S: Likewise.
47601
47602 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47603
47604         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47605         Define __sched_param instead of SCHED_* and sched_param when
47606         <bits/sched.h> is included with __need_schedparam defined.
47607         * bits/sched.h [__need_schedparam]
47608         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47609         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47610         (__defined_schedparam): Define to 1.
47611         (__sched_param): New structure, identical to sched_param.
47612         (__need_schedparam): Undefine.
47613
47614 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47615
47616         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47617         (epoll_create1): Declare.
47618
47619         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47620
47621 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47622
47623         [BZ #7066]
47624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47625         shifting retval into place.
47626
47627 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47628
47629         * nis/rpcsvc/nis.h: Update copyright notice.
47630         * nis/rpcsvc/nis.x: Likewise.
47631         * nis/rpcsvc/nis_callback.h: Likewise.
47632         * nis/rpcsvc/nis_callback.x: Likewise.
47633         * nis/rpcsvc/nis_object.x: Likewise.
47634         * nis/rpcsvc/nis_tags.h: Likewise.
47635         * nis/rpcsvc/yp.h: Likewise.
47636         * nis/rpcsvc/yp.x: Likewise.
47637         * nis/rpcsvc/ypupd.h: Likewise.
47638         * nis/yp_xdr.c: Likewise.
47639         * nis/ypupdate_xdr.c: Likewise.
47640
47641         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47642         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47643         (pmap_getport): Use __libc_rpc_getport.
47644         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47645         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47646         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47647
47648 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47649
47650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47651         fanotify_mark.
47652
47653 2010-08-27  Roland McGrath  <roland@redhat.com>
47654
47655         * sysdeps/i386/i686/multiarch/Makefile
47656         (CFLAGS-varshift.c): New variable.
47657
47658 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47659
47660         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47661         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47662
47663         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47664
47665         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47666
47667 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47668
47669         * sysdeps/x86_64/strlen.S: Unroll the loop.
47670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47671         strlen-sse2 strlen-sse2-bsf.
47672         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47673         __strlen_no_bsf if bit_Slow_BSF is set.
47674         (__strlen_sse42): Removed.
47675         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47676         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47677
47678 2010-08-25  Roland McGrath  <roland@redhat.com>
47679
47680         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47681         * sysdeps/x86_64/multiarch/varshift.c: New file.
47682         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47683         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47684         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47685         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47686
47687 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47688
47689         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47690         strlen-sse2 strlen-sse2-bsf.
47691         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47692         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47693         (__strlen_sse2): Removed.
47694         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47695         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47697         bit_Slow_BSF for Atom.
47698         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47699         (index_Slow_BSF): Define.
47700         (HAS_SLOW_BSF): Define.
47701
47702 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47703
47704         [BZ #10851]
47705         * resolv/res_init.c (__res_vinit): When no server address at all
47706         is given default to loopback.
47707
47708 2010-08-24  Roland McGrath  <roland@redhat.com>
47709
47710         * configure.in: Remove config-name.h generation.
47711         * configure: Regenerated.
47712         * config-name.in: File removed.
47713         * scripts/config-uname.sh: New file.
47714         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47715         ($(objdir)config-name.h): New target.
47716
47717         * sunrpc/rpc_parse.h: Avoid nested comment.
47718
47719 2010-08-24  Richard Henderson  <rth@redhat.com>
47720             Ulrich Drepper  <drepper@redhat.com>
47721             H.J. Lu  <hongjiu.lu@intel.com>
47722
47723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47725         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47726         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47727         _mm_alignr_epi8 with _mm_loadu_si128.
47728         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47729         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47730         (__m128i_shift_right): Removed.
47731         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47732         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47733         * sysdeps/x86_64/multiarch/varshift.h: New file.
47734         * sysdeps/x86_64/multiarch/varshift.S: New file.
47735
47736 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47737
47738         * configure.in: Move assembler checks to before sysdep dir checking.
47739
47740 2010-08-20  Petr Baudis  <pasky@suse.cz>
47741
47742         * LICENSES: Sync the sunrpc license.
47743
47744 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47745
47746         * sunrpc/auth_des.c: Update copyright notice once again.
47747         * sunrpc/auth_none.c: Likewise.
47748         * sunrpc/auth_unix.c: Likewise.
47749         * sunrpc/authdes_prot.c: Likewise.
47750         * sunrpc/authuxprot.c: Likewise.
47751         * sunrpc/bindrsvprt.c: Likewise.
47752         * sunrpc/clnt_gen.c: Likewise.
47753         * sunrpc/clnt_perr.c: Likewise.
47754         * sunrpc/clnt_raw.c: Likewise.
47755         * sunrpc/clnt_simp.c: Likewise.
47756         * sunrpc/clnt_tcp.c: Likewise.
47757         * sunrpc/clnt_udp.c: Likewise.
47758         * sunrpc/clnt_unix.c: Likewise.
47759         * sunrpc/des_crypt.c: Likewise.
47760         * sunrpc/des_soft.c: Likewise.
47761         * sunrpc/get_myaddr.c: Likewise.
47762         * sunrpc/getrpcport.c: Likewise.
47763         * sunrpc/key_call.c: Likewise.
47764         * sunrpc/key_prot.c: Likewise.
47765         * sunrpc/openchild.c: Likewise.
47766         * sunrpc/pm_getmaps.c: Likewise.
47767         * sunrpc/pm_getport.c: Likewise.
47768         * sunrpc/pmap_clnt.c: Likewise.
47769         * sunrpc/pmap_prot.c: Likewise.
47770         * sunrpc/pmap_prot2.c: Likewise.
47771         * sunrpc/pmap_rmt.c: Likewise.
47772         * sunrpc/rpc/auth.h: Likewise.
47773         * sunrpc/rpc/auth_unix.h: Likewise.
47774         * sunrpc/rpc/clnt.h: Likewise.
47775         * sunrpc/rpc/des_crypt.h: Likewise.
47776         * sunrpc/rpc/key_prot.h: Likewise.
47777         * sunrpc/rpc/netdb.h: Likewise.
47778         * sunrpc/rpc/pmap_clnt.h: Likewise.
47779         * sunrpc/rpc/pmap_prot.h: Likewise.
47780         * sunrpc/rpc/pmap_rmt.h: Likewise.
47781         * sunrpc/rpc/rpc.h: Likewise.
47782         * sunrpc/rpc/rpc_des.h: Likewise.
47783         * sunrpc/rpc/rpc_msg.h: Likewise.
47784         * sunrpc/rpc/svc.h: Likewise.
47785         * sunrpc/rpc/svc_auth.h: Likewise.
47786         * sunrpc/rpc/types.h: Likewise.
47787         * sunrpc/rpc/xdr.h: Likewise.
47788         * sunrpc/rpc_clntout.c: Likewise.
47789         * sunrpc/rpc_cmsg.c: Likewise.
47790         * sunrpc/rpc_common.c: Likewise.
47791         * sunrpc/rpc_cout.c: Likewise.
47792         * sunrpc/rpc_dtable.c: Likewise.
47793         * sunrpc/rpc_hout.c: Likewise.
47794         * sunrpc/rpc_main.c: Likewise.
47795         * sunrpc/rpc_parse.c: Likewise.
47796         * sunrpc/rpc_parse.h: Likewise.
47797         * sunrpc/rpc_prot.c: Likewise.
47798         * sunrpc/rpc_sample.c: Likewise.
47799         * sunrpc/rpc_scan.c: Likewise.
47800         * sunrpc/rpc_scan.h: Likewise.
47801         * sunrpc/rpc_svcout.c: Likewise.
47802         * sunrpc/rpc_tblout.c: Likewise.
47803         * sunrpc/rpc_util.c: Likewise.
47804         * sunrpc/rpc_util.h: Likewise.
47805         * sunrpc/rpcinfo.c: Likewise.
47806         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47807         * sunrpc/rpcsvc/key_prot.x: Likewise.
47808         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47809         * sunrpc/rpcsvc/mount.x: Likewise.
47810         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47811         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47812         * sunrpc/rpcsvc/rex.x: Likewise.
47813         * sunrpc/rpcsvc/rstat.x: Likewise.
47814         * sunrpc/rpcsvc/rusers.x: Likewise.
47815         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47816         * sunrpc/rpcsvc/spray.x: Likewise.
47817         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47818         * sunrpc/rtime.c: Likewise.
47819         * sunrpc/svc.c: Likewise.
47820         * sunrpc/svc_auth.c: Likewise.
47821         * sunrpc/svc_authux.c: Likewise.
47822         * sunrpc/svc_raw.c: Likewise.
47823         * sunrpc/svc_run.c: Likewise.
47824         * sunrpc/svc_simple.c: Likewise.
47825         * sunrpc/svc_tcp.c: Likewise.
47826         * sunrpc/svc_udp.c: Likewise.
47827         * sunrpc/svc_unix.c: Likewise.
47828         * sunrpc/svcauth_des.c: Likewise.
47829         * sunrpc/xcrypt.c: Likewise.
47830         * sunrpc/xdr.c: Likewise.
47831         * sunrpc/xdr_array.c: Likewise.
47832         * sunrpc/xdr_float.c: Likewise.
47833         * sunrpc/xdr_mem.c: Likewise.
47834         * sunrpc/xdr_rec.c: Likewise.
47835         * sunrpc/xdr_ref.c: Likewise.
47836         * sunrpc/xdr_sizeof.c: Likewise.
47837         * sunrpc/xdr_stdio.c: Likewise.
47838
47839         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47840         handling.
47841
47842 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47843
47844         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47845
47846 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47847
47848         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47849         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47850         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47851         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47852         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47853         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47854         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47855         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47856         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47857         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47858         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47859         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47860         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47861         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47862
47863 2010-07-26  Anton Blanchard  <anton@samba.org>
47864
47865         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47866         * malloc/arena.c (heap_trim): Likewise.
47867
47868 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47869
47870         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47871         here.  Not...
47872         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47873         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47874
47875 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47876
47877         * sysdeps/i386/elf/Makefile: New file.
47878
47879 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47880
47881         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47882         from fanotify_init.
47883         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47885
47886 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47887
47888         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47889         of strncasecmp_l.
47890         * sysdeps/multiarch/strcmp.S: Likewise.
47891
47892 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47893
47894         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47895         strncase_l-nonascii.
47896         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47897         Add strncase_l-ssse3.
47898         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47899         * sysdeps/x86_64/strcmp.S: Likewise.
47900         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47901         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47902         * sysdeps/x86_64/strncase.S: New file.
47903         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47904         * sysdeps/x86_64/strncase_l.S: New file.
47905         * string/Makefile (strop-tests): Add strncasecmp.
47906         * string/test-strncasecmp.c: New file.
47907
47908         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47909         warning.
47910
47911         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47912         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47913
47914 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47915
47916         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47917
47918 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47919
47920         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47921         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47922         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47923
47924 2010-05-01  Alan Modra  <amodra@gmail.com>
47925
47926         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47927         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47928         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47929         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47930         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47931         tidying.  Don't tail-call __sigjmp_save for static lib.
47932         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47933         save location.
47934         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47935         (CALL_MCOUNT): Add eh info, and nop after bl.
47936         (TAIL_CALL_SYSCALL_ERROR): New macro.
47937         (PSEUDO_RET): Use it.
47938         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47939         Correct save location of integer regs and cr.
47940         (_dl_profile_resolve): Correct cr save location.  Delete nops
47941         after bl when SHARED.  Reduce cfi size a little by better
47942         placement of cfi directives.
47943         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47944         make a stack frame.  Instead use parm save area as a temp.
47945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47946         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47948         Don't make a stack frame for parent, use parm save area.
47949         Increase child stack frame to 112 bytes.  Don't save unused reg,
47950         and adjust reg usage.  Set up cfi on error recovery and
47951         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47953         (__makecontext): Add dummy nop after jump to exit.
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47955         Use correct parm save area and cr save, reduce stack frame.
47956         Correct cfi for possible PSEUDO_RET frame setup.
47957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47958         Branch to local label emitted by PSEUDO_RET rather than
47959         __syscall_error.
47960
47961 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47962
47963         [BZ #11904]
47964         * locale/programs/locale.c (print_assignment): New function.
47965         (show_locale_vars): Use it.
47966
47967 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47968
47969         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47970         field.
47971         (struct statfs64): Likewise.
47972         (_STATFS_F_FLAGS): Define.
47973         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47974         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47975         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47976         (ST_VALID): Define locally.
47977         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47978         __statvfs_getflags, use the provided value.
47979         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47980         __ASSUME_STATFS_F_FLAGS.
47981
47982         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47983
47984         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47985         Add sys/fanotify.h.
47986         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47987         fanotify_mask for GLIBC_2.13.
47988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47989         fanotify_init and fanotify_mark.
47990         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47991         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47992
47993         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47994         Add prlimit.
47995         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47996         prlimit64 for GLIBC_2.13.
47997         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47998         prlimit64.
47999         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48000         syscall.
48001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48002         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48003         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48004         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48005         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
48006         add prlimit alias.
48007         * sysdeps/unix/sysv/linux/prlimit.c: New file.
48008
48009         [BZ #11903]
48010         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48011         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48012
48013         * nss/Makefile: Add rules to build and run tst-nss-test1.
48014         * shlib-versions: Add entry for libnss_test1.
48015         * nss/nss_test1.c: New file.
48016         * nss/tst-nss-test1.c: New file.
48017
48018         * nss/nsswitch.c (__nss_database_custom): Define new variable.
48019         (__nss_configure_lookup): Set appropriate entry in
48020         __nss_configure_lookup to true.
48021         * nss/nsswitch.h: Define enum with indeces of databases in
48022         databases and __nss_database_custom arrays.  Declare
48023         __nss_database_custom.
48024         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48025         to avoid using nscd when custom rules are installed.
48026         * nss/getXXbyYY_r.c: Likewise.
48027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48028
48029         * nss/nss_files/files-parse.c: Whitespace fixes.
48030
48031 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
48032
48033         [BZ #11883]
48034         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48035         * posix/fnmatch_loop.c: Likewise.
48036
48037 2010-07-17  Andi Kleen  <ak@linux.intel.com>
48038
48039         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48040         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48041         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48042         * Versions.def [GLIBC_2.13]: Add.
48043
48044 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
48045
48046         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48047         Also fail if tpwd after pwuid call is NULL.
48048
48049 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48050
48051         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48052         when converting to ms.
48053
48054 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48055
48056         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48057         EOPNOTSUPP errors with ENOTTY.
48058         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48059         EOPNOTSUPP errors with ENOTTY.
48060
48061 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
48062
48063         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48064         Add strcasecmp_l-ssse3.
48065         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48066         strcasecmp.
48067         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48068         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48069         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48070
48071 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
48072
48073         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48074
48075         * string/Makefile (strop-tests): Add strcasecmp.
48076         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48077         strcasecmp_l-nonascii.
48078         (gen-as-const-headers): Add locale-defines.sym.
48079         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48080         * sysdeps/x86_64/strcasecmp.S: New file.
48081         * sysdeps/x86_64/strcasecmp_l.S: New file.
48082         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48083         * sysdeps/x86_64/locale-defines.sym: New file.
48084         * string/test-strcasecmp.c: New file.
48085
48086         * string/test-strcasestr.c: Test both ends of the range of characters.
48087         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48088
48089 2010-07-29  Roland McGrath  <roland@redhat.com>
48090
48091         [BZ #11856]
48092         * manual/locale.texi (Yes-or-No Questions): Fix example code.
48093
48094 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
48095
48096         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48097         for ld.so.
48098
48099 2010-07-27  Andreas Schwab  <schwab@redhat.com>
48100
48101         * manual/memory.texi (Malloc Tunable Parameters): Document
48102         M_PERTURB.
48103
48104 2010-07-26  Roland McGrath  <roland@redhat.com>
48105
48106         [BZ #11840]
48107         * configure.in (-fgnu89-inline check): Set and substitute
48108         gnu89_inline, not libc_cv_gnu89_inline.
48109         * configure: Regenerated.
48110         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48111
48112 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
48113
48114         * string/test-strnlen.c: New file.
48115         * string/Makefile (strop-tests): Add strnlen.
48116         * string/tester.c (test_strnlen): Add a few more test cases.
48117         * string/tst-strlen.c: Better error reporting.
48118
48119         * sysdeps/x86_64/strnlen.S: New file.
48120
48121 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
48122
48123         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48124         lower-latency instructions.
48125
48126 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
48127
48128         * string/test-strcasestr.c: New file.
48129         * string/test-strstr.c: New file.
48130         * string/Makefile (strop-tests): Add strstr and strcasestr.
48131         * string/str-two-way.h: Don't undefine MAX.
48132         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48133
48134 2010-07-21  Andreas Schwab  <schwab@redhat.com>
48135
48136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48137         strcasestr-nonascii.
48138         (CFLAGS-strcasestr-nonascii.c): Define.
48139         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48140         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48141         Remove unused attribute.
48142
48143 2010-07-20  Roland McGrath  <roland@redhat.com>
48144
48145         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48146         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
48147         ld.so.cache was broken.  With it, there is no way to disable dsocaps
48148         like LD_HWCAP_MASK can disable hwcaps.
48149
48150 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48151
48152         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48153
48154 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
48155
48156         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48157         call in strcasestr.
48158         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48159         __strcasestr_sse42_nonascii.
48160         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48161         strcasestr-nonascii.c.
48162         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48163
48164 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
48165
48166         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48167         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48168         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48169         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48170
48171 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
48172
48173         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48174         fcntl.
48175
48176 2010-07-06  Andreas Schwab  <schwab@redhat.com>
48177
48178         [BZ #11577]
48179         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48180         dl_signal_cerror.
48181
48182 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
48183
48184         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48185         _PC_PIPE_BUF using F_GETPIPE_SZ.
48186
48187 2010-07-05  Roland McGrath  <roland@redhat.com>
48188
48189         * manual/arith.texi (Rounding Functions): Fix rint description
48190         implicit in round description.
48191
48192 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
48193
48194         * elf/Makefile: Fix linking for a few tests to make recent linker
48195         happy.
48196
48197 2010-06-30  Andreas Schwab  <schwab@redhat.com>
48198
48199         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48200         $(common-objpfx)libc_nonshared.a.
48201
48202 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
48203
48204         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48205         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48206         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48207         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48208         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48209         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48210         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48211         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48226         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48227         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48228         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48229         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48230         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48231         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48232         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48233         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48234         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48235         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48236         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48237         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48252
48253 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
48254
48255         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48256         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
48257         * string/memmove.c (memmove): Renamed to ...
48258         (MEMMOVE): ...this.  Default to memmove.
48259         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48260         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48261         (END_CHK): Define.
48262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48263         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48264         mempcpy-ssse3-back memmove-ssse3-back.
48265         * sysdeps/x86_64/multiarch/bcopy.S: New file .
48266         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48267         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48268         * sysdeps/x86_64/multiarch/memcpy.S: New file.
48269         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48270         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48271         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48272         * sysdeps/x86_64/multiarch/memmove.c: New file.
48273         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48274         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48275         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48276         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48277         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48278         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48279         Define.
48280         (index_Fast_Copy_Backward): Define.
48281         (HAS_ARCH_FEATURE): Define.
48282         (HAS_FAST_REP_STRING): Define.
48283         (HAS_FAST_COPY_BACKWARD): Define.
48284
48285 2010-06-21  Andreas Schwab  <schwab@redhat.com>
48286
48287         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48288         Restore proper fallback handling.
48289
48290 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
48291
48292         [BZ #11701]
48293         * posix/group_member.c (__group_member): Correct checking loop.
48294
48295         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48296         OOM in getpwuid_r correctly.  Return error number when the caller
48297         should return, otherwise -1.
48298         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48299         call returning > 0 value.
48300         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48301
48302 2010-06-07  Andreas Schwab  <schwab@redhat.com>
48303
48304         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48305         libc_nonshared.a from targets in modules-names.
48306
48307 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
48308
48309         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48310         requires it.
48311
48312 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
48313
48314         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48315         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48316         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48317         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48318
48319 2010-06-02  Andreas Schwab  <schwab@redhat.com>
48320
48321         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48322
48323 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
48324
48325         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48326         and F_GETPIPE_SZ.
48327         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48328         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48329         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48330         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48331         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48332         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48333
48334 2010-06-14  Roland McGrath  <roland@redhat.com>
48335
48336         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48337
48338 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48339
48340         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48341         __REDIRECT followed by __THROW.
48342         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48343         * posix/getopt.h (getopt): Likewise.
48344
48345 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48346
48347         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48348         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48349         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48350         in AT_FLAGS.
48351         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48352         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48353
48354 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48355
48356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48357
48358 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48359
48360         [BZ #11640]
48361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48362         Properly check family and model.
48363
48364 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48365
48366         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48367
48368 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48369
48370         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48371
48372 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48373
48374         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48375         symbol reference.
48376
48377 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48378
48379         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48380         symbol reference.
48381
48382 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48383
48384         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48385         and internal_recvmmsg.
48386         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48387         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48388         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48389         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48390
48391         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48392         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48393         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48394
48395 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48396
48397         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48398
48399 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48400
48401         POWER7 optimizations.
48402         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48403         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48404
48405 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48406
48407         * version.h: Update for 2.13 development version.
48408
48409 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48410
48411         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48412         exceptions.  Return 0.
48413
48414 2010-05-07  Roland McGrath  <roland@redhat.com>
48415
48416         * elf/ldconfig.c (main): Add a const.
48417
48418 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48419
48420         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48421         (args_options): Add no-idn option.
48422         (ahosts_keys_int): Add idn_flags to ai_flags.
48423         (parse_option): Handle 'i' option to clear idn_flags.
48424
48425         * malloc/malloc.c (_int_free): Possible race in the most recently
48426         added check.  Only act on the data if no current modification
48427         happened.
48428
48429 See ChangeLog.17 for earlier changes.