902544d51d56031a711c91103cb6380223db3e72
[kopensolaris-gnu/glibc.git] / ChangeLog
1 2006-02-08  Ulrich Drepper  <drepper@redhat.com>
2
3         * sysdeps/unix/sysv/linux/bits/sched.h: Declare unshare.
4         * sysdeps/unix/sysv/linux/Versions [libc, GLIBC_2.4]: Export
5         unshare.
6         * sysdeps/unix/sysv/linux/syscalls.list: Add unshare syscall.
7
8         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Add some
9         preprocessor magic so that the compiler won't see the prototypes
10         for the functions we are defining as stubs.
11
12 2006-02-05  Ulrich Drepper  <drepper@redhat.com>
13
14         * io/ftw.c (ftw_startup): Use fchdir to return to original
15         directory for FTW_CHDIR.
16
17 2006-02-03  Ulrich Drepper  <drepper@redhat.com>
18
19         * manual/stdio.texi (Formatted Output Functions): Fix make_message
20         example.  Patch by NIIBE Yutaka <gniibe@m17n.org>.
21
22 2006-02-03  Roland McGrath  <roland@redhat.com>
23
24         [BZ #2268]
25         * sysdeps/posix/profil.c (__profil): Use __profile_frequency to choose
26         timer interval, don't assume smallest possible interval is it.
27
28 2006-02-03  Jakub Jelinek  <jakub@redhat.com>
29
30         * sysdeps/powerpc/fpu/bits/fenvinline.h (fegetround): Make asm
31         volatile.
32
33         * stdlib/bits/stdlib-ldbl.h (qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r):
34         Guard with [__USE_SVID || __USE_XOPEN_EXTENDED].
35
36         * math/math.h [__LDBL_COMPAT && __USE_ISOC99] (nexttowardl): New
37         prototype.
38
39         * math/math.h (__nldbl_nexttowardf): Put __THROW before
40         __attribute__ ((__const__)).
41         (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
42         followed by __THROW.
43
44 2006-02-02  Ulrich Drepper  <drepper@redhat.com>
45
46         * sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
47         (futimesat): If file is NULL use __futimes.
48         * include/sys/time.h: Declare __futimes.
49
50 2006-02-02  Roland McGrath  <roland@redhat.com>
51
52         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
53         fstat check for ENOENT that should be EBADF as for ENOTDIR, and also
54         check for missing /proc the same way.
55
56         * include/errno.h [__cplusplus]: Avoid extra header magic for C++.
57
58         * manual/install.texi (Tools for Compilation): Require gcc 3.4,
59         recommend 4.1, advise 4.0 for powerpc64, and note 4.1 required for
60         powerpc, s390{x,} with new long double.
61         * INSTALL: Regenerated.
62
63         * timezone/private.h: Update from tzcode2006a.
64         * timezone/scheck.c: Likewise.
65         * timezone/asia: Update from tzdata2006a.
66         * timezone/northamerica: Likewise.
67         * timezone/zone.tab: Likewise.
68
69         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): New variable.
70         (CFLAGS-mcount.c): Use it instead of -msoft-float.
71         * sysdeps/powerpc/powerpc64/elf/Makefile
72         (CFLAGS-dl-runtime.os, CFLAGS-dl-lookup.os, CFLAGS-dl-misc.os,
73         CFLAGS-rtld-mempcpy.os, CFLAGS-rtld-memmove.os, CFLAGS-rtld-memchr.os,
74         CFLAGS-rtld-strnlen.os): Likewise.
75
76 2006-02-01  Roland McGrath  <roland@redhat.com>
77
78         * sysdeps/ieee754/ldbl-opt/Makefile (sysdep-CFLAGS): Avoid adding
79         -mlong-double-128 when it's already there.
80
81 2006-02-01  Roland McGrath  <roland@frob.com>
82
83         * mach/Machrules ($(objpfx)%.uh, $(objpfx)%.__h): Use static pattern
84         rules for these, not implicit rules.
85         ($(objpfx)%.h): Likewise.
86         Reported by Thomas Schwinge <tschwinge@gnu.org>.
87
88 2006-02-01  Jakub Jelinek  <jakub@redhat.com>
89
90         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol
91         even for libm.
92
93         * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove
94         __LDBL_REDIR_DECL.
95
96         * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the
97         same #if condition as corresponding __BEGIN_NAMESPACE_C99.
98         (scalb): Don't define only if __USE_ISOC99.
99
100         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
101         * sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
102
103 2006-01-19  Thomas Schwinge  <tschwinge@gnu.org>
104
105         * libio/genops.c: Include <stdbool.h>.
106
107 2006-02-01  Ulrich Drepper  <drepper@redhat.com>
108
109         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add
110         some more entries.
111         * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_02_known): Likewise.
112
113 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
114
115         * sysdeps/unix/sysv/linux/alpha/fpu/Implies: New file.
116         * sysdeps/alpha/fpu/s_ceil.c: Include math_ldbl_opt.h, add
117         compat_symbol if LONG_DOUBLE_COMPAT.
118         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
119         * sysdeps/alpha/fpu/s_fabs.c: Likewise.
120         * sysdeps/alpha/fpu/s_floor.c: Likewise.
121         * sysdeps/alpha/fpu/s_rint.c: Likewise.
122         * sysdeps/alpha/soft-fp/e_sqrtl.c: New file.
123         * sysdeps/alpha/Implies: Add ieee754/ldbl-128.
124
125         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: New file.
126         * sysdeps/unix/sysv/linux/alpha/Implies: Add ieee754/ldbl-64-128,
127         ieee754/ldbl-opt.
128         * sysdeps/alpha/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
129         * sysdeps/unix/sysv/linux/alpha/nldbl-abi.h: New file.
130         * sysdeps/unix/sysv/linux/alpha/Makefile
131         [$(subdir) = math] (libm-routines): Add multc3, divtc3.
132
133         * math/divtc3.c: New file.
134         * math/multc3.c: New file.
135         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile
136         [$(subdir) = math] (libm-routines): Add multc3, divtc3.
137
138         * sysdeps/unix/sysv/linux/sparc/sparc32/fpu/Implies: New file.
139         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include math.h and
140         math_ldbl_opt.h.
141         (fabsl): Use long_double_symbol instead of weak_alias.
142         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Include math.h and
143         math_ldbl_opt.h.
144         [LONG_DOUBLE_COMPAT] (fabsl): Add compat_symbol.
145
146 2006-01-31  Martin Schwidefsky  <schwidefsky@de.ibm.com>
147             Jakub Jelinek  <jakub@redhat.com>
148
149         * sysdeps/unix/sysv/linux/s390/Implies: New file.
150         * sysdeps/unix/sysv/linux/s390/fpu/Implies: New file.
151         * sysdeps/unix/sysv/linux/s390/nldbl-abi.h: New file.
152         * sysdeps/s390/fpu/bits/mathinline.h (signbitl, sqrtl): New inlines.
153         * sysdeps/s390/bits/mathdef.h: New file.
154         * sysdeps/s390/fpu/e_sqrtl.c: New file.
155         * sysdeps/s390/s390-32/bits/wordsize.h (__LONG_DOUBLE_MATH_OPTIONAL,
156         __NO_LONG_DOUBLE_MATH): Define.
157         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
158         * sysdeps/s390/Implies: Add ieee754/ldbl-128.
159         * sysdeps/s390/ldbl2mpn.c: File removed.
160         * sysdeps/s390/fpu/libm-test-ulps: Updated.
161
162 2006-01-31  Roland McGrath  <roland@redhat.com>
163
164         * sysdeps/alpha/fpu/bits/mathdef.h: Moved to ...
165         * sysdeps/alpha/bits/mathdef.h: ... here.
166         * sysdeps/i386/fpu/bits/mathdef.h: Moved to ...
167         * sysdeps/i386/bits/mathdef.h: ... here.
168         * sysdeps/mips/fpu/bits/mathdef.h: Moved to ...
169         * sysdeps/mips/bits/mathdef.h: ... here.
170         * sysdeps/m68k/fpu/bits/mathdef.h: Moved to ...
171         * sysdeps/m68k/bits/mathdef.h: ... here.
172         * sysdeps/powerpc/fpu/bits/mathdef.h: Moved to ...
173         * sysdeps/powerpc/bits/mathdef.h: ... here.
174         * sysdeps/sparc/fpu/bits/mathdef.h: Moved to ...
175         * sysdeps/sparc/bits/mathdef.h: ... here.
176         * sysdeps/ia64/fpu/bits/mathdef.h: Moved to ...
177         * sysdeps/ia64/bits/mathdef.h: ... here.
178         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Moved to ...
179         * sysdeps/sh/sh4/bits/mathdef.h: ... here.
180         * sysdeps/x86_64/fpu/bits/mathdef.h: Moved to ...
181         * sysdeps/x86_64/bits/mathdef.h: ... here.
182
183 2006-01-31  Jakub Jelinek  <jakub@redhat.com>
184
185         * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64]
186         (__fxstatat64): Add libc_hidden_ver.
187         * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64):
188         Likewise.
189
190         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h
191         include.
192
193 2006-01-31  Roland McGrath  <roland@redhat.com>
194
195         * sysdeps/powerpc/fpu/libm-test-ulps: Update by Jakub.
196
197         * inet/rcmd.c (iruserfopen): Remove redundant initialization.
198         From Bernhard Fischer <rep.nop@aon.at>.
199
200         * posix/regcomp.c (calc_eclosure_iter): Remove dead variables.
201         Reported by Mike Frysinger <vapier@gentoo.org>.
202
203 2006-01-30  Steven Munroe  <sjmunroe@us.ibm.com>
204
205         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Correct index
206         for __sincosl_table.
207         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
208         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
209
210         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Correct sign of 0.0.
211         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
212
213         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: New file.
214         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: New file.
215         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: New file.
216
217 2006-01-29  Daniel Jacobowitz  <dan@codesourcery.com>
218
219         * sysdeps/unix/sysv/linux/mips/bits/errno.h (ECANCELED,
220         EOWNERDEAD, ENOTRECOVERABLE): Define.
221
222         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MADV_REMOVE): Define.
223
224         * sysdeps/mips/dl-machine.h (RTLD_START): Correct offsets for
225         N64.
226
227         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct msghdr): Use
228         size_t for msg_controllen.
229         (__cmsg_nxthdr): Correct test.
230         (__SCM_CONNECT): Delete.
231
232 2006-01-30  Alexandre Oliva  <aoliva@redhat.com>
233             Roland McGrath  <roland@redhat.com>
234
235         * configure.in (fno_unit_at_a_time): Set to
236         -fno-toplevel-reorder if the compiler supports it.
237         Otherwise use -fno-unit-at-a-time unconditionally.
238         * configure: Regenerated.
239
240 2006-01-30  Jakub Jelinek  <jakub@redhat.com>
241
242         * sysdeps/powerpc/fpu/libm-test-ulps: Merge ulps with older
243         libm-test-ulps rather than overwrite it.  Remove excessively high ulps.
244
245 2006-01-29  Joseph S. Myers  <joseph@codesourcery.com>
246
247         * soft-fp/double.h (FP_CMP_UNORD_D): Also define in
248         [_FP_W_TYPE_SIZE >= 64] case.
249         * soft-fp/extended.h (FP_CMP_UNORD_E): Likewise.
250         * soft-fp/quad.h (FP_CMP_UNORD_Q): Likewise.
251
252 2006-01-27  Dwayne Grant McConnell  <decimal@us.ibm.com>
253             Jakub Jelinek  <jakub@redhat.com>
254             Roland McGrath  <roland@redhat.com>
255             Steven Munroe  <sjmunroe@us.ibm.com>
256             Alan Modra  <amodra@bigpond.net.au>
257
258         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Comment fix.
259         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
260         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
261
262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
263
264         * math/libm-test.inc (check_float_internal): Allow ulp <= 0.5.
265         (erfc_test): Don't run erfcl (27.0L) test if erfcl (27.0L) is
266         denormal.
267         [TEST_LDOUBLE] (ceil_test, floor_test, llrint_test, llround_test,
268         rint_test, round_test, trunc_test): Add new tests.
269
270         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: New file.
271         * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: New file.
272         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S: New file.
273         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: New file.
274         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: New file.
275         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: New file.
276         * sysdeps/powerpc/powerpc32/fpu/s_isnan.c: New file.
277
278         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: New file.
279         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: New file.
280         * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: New file.
281         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: New file.
282         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: New file.
283         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: New file.
284         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: New file.
285         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: New file.
286         * sysdeps/powerpc/powerpc64/fpu/s_isnan.c: New file.
287         * sysdeps/powerpc/powerpc64/fpu/s_llrintl.S: New file.
288         * sysdeps/powerpc/powerpc64/fpu/s_llroundl.S: New file.
289         * sysdeps/powerpc/powerpc64/fpu/s_lrintl.S: New file.
290         * sysdeps/powerpc/powerpc64/fpu/s_lroundl.S: New file.
291         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: New file.
292         * sysdeps/powerpc/powerpc64/fpu/s_rintl.S: New file.
293         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: New file.
294         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: New file.
295
296         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: New file.
298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: New file.
299         * sysdeps/unix/sysv/linux/powerpc/configure.in: New file.
300         * sysdeps/unix/sysv/linux/powerpc/configure: New file.
301         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
302         (__LONG_DOUBLE_MATH_OPTIONAL): Define.
303         (__NO_LONG_DOUBLE_MATH): Define.
304         * sysdeps/unix/sysv/linux/powerpc/nldbl-abi.h: New file.
305         * sysdeps/powerpc/fpu/s_isnan.c: Include math_ldbl_opt.h.
306         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include math_ldbl_opt.h.
307         [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
308         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include math_ldbl_opt.h.
309         [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
310         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include math_ldbl_opt.h.
311         [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
312         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include math_ldbl_opt.h.
313         [LONG_DOUBLE_COMPAT] (llrintl, lrintl): Add compatibility symbols.
314         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include math_ldbl_opt.h.
315         [LONG_DOUBLE_COMPAT] (llroundl, lroundl): Add compatibility symbols.
316         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include math_ldbl_opt.h.
317         [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
318         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include math_ldbl_opt.h.
319         [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
320         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include math_ldbl_opt.h.
321         [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
322         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include math_ldbl_opt.h.
323         [LONG_DOUBLE_COMPAT] (ceill): Add compatibility symbols.
324         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include math_ldbl_opt.h.
325         [LONG_DOUBLE_COMPAT] (copysignl): Add compatibility symbols.
326         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include math_ldbl_opt.h.
327         [LONG_DOUBLE_COMPAT] (floorl): Add compatibility symbols.
328         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include math_ldbl_opt.h.
329         [LONG_DOUBLE_COMPAT] (lrintl): Add compatibility symbols.
330         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include math_ldbl_opt.h.
331         [LONG_DOUBLE_COMPAT] (llrintl): Add compatibility symbols.
332         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include math_ldbl_opt.h.
333         [LONG_DOUBLE_COMPAT] (lroundl): Add compatibility symbols.
334         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include math_ldbl_opt.h.
335         [LONG_DOUBLE_COMPAT] (rintl): Add compatibility symbols.
336         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include math_ldbl_opt.h.
337         [LONG_DOUBLE_COMPAT] (roundl): Add compatibility symbols.
338         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include math_ldbl_opt.h.
339         [LONG_DOUBLE_COMPAT] (truncl): Add compatibility symbols.
340
341         * misc/qefgcvt_r.c [LDBL_MIN_10_EXP == -291] (FLOAT_MIN_10_NORM): New.
342
343         * sysdeps/powerpc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
344         * sysdeps/powerpc/Implies: Add ieee754/ldbl-128ibm.
345         * sysdeps/powerpc/powerpc32/Implies: Remove powerpc/soft-fp.
346         * sysdeps/ieee754/ldbl-128ibm/Makefile: New file.
347         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: New file.
348         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: New file.
349         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: New file.
350         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: New file.
351         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: New file.
352         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: New file.
353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: New file.
354         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: New file.
355         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: New file.
356         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: New file.
357         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: New file.
358         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: New file.
359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: New file.
360         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: New file.
361         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: New file.
362         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: New file.
363         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: New file.
364         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: New file.
365         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: New file.
366         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: New file.
367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: New file.
368         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: New file.
369         * sysdeps/ieee754/ldbl-128ibm/ieee754.h: New file.
370         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: New file.
371         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: New file.
372         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: New file.
373         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: New file.
374         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: New file.
375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: New file.
376         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: New file.
377         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: New file.
378         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: New file.
379         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: New file.
380         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: New file.
381         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: New file.
382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: New file.
383         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: New file.
384         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: New file.
385         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: New file.
386         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: New file.
387         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: New file.
388         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: New file.
389         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: New file.
390         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: New file.
391         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: New file.
392         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: New file.
393         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: New file.
394         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: New file.
395         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: New file.
396         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: New file.
397         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: New file.
398         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: New file.
399         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: New file.
400         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: New file.
401         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: New file.
402         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: New file.
403         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: New file.
404         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: New file.
405         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: New file.
406         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: New file.
407         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: New file.
408         * sysdeps/ieee754/ldbl-128ibm/t_sincosl.c: New file.
409         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: New file.
410         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: New file.
411         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: New file.
412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: New file.
413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: New file.
414         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: New file.
415         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: New file.
416         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: New file.
417         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: New file.
418         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: New file.
419
420         * sysdeps/ieee754/ldbl-128/e_powl.c: Fix old comment.
421
422 2006-01-22  Aurelien Jarno  <aurelien@aurel32.net>
423
424         * sysdeps/gnu/errlist-compat.awk: Reduce required number of symbols in
425         sanity check.
426
427 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
428
429         * sysdeps/unix/sysv/linux/renameat.c (__atfct_seterrno_2): Correctly
430         return EBADF for non-existing file descriptors.
431         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Likewise.
432         * io/tst-openat.c (do_test): Add some more tests.
433         * io/tst-faccessat.c (do_test): Likewise.
434         * io/tst-renameat.c (do_test): Likewise.
435         * io/tst-fstatat.c (do_test): Likewise.
436         * io/tst-fchmodat.c (do_test): Likewise.
437         * io/tst-fchownat.c (do_test): Likewise.
438
439 2006-01-21  Roland McGrath  <roland@redhat.com>
440
441         * sysdeps/unix/sysv/linux/faccessat.c: Move RESULT defn inside block.
442
443         * misc/tst-pselect.c: Include <unistd.h>.
444
445         * time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
446
447         * stdlib/fpioconst.c: Fix whitespace typo.
448
449 2006-01-20  Jakub Jelinek  <jakub@redhat.com>
450
451         * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: Moved to...
452         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: ... here.  New file.
453         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (long_double_symbol_1): For
454         C define again using _weak_alias, for assembler use weak_alias.
455
456         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: New file.
457         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: New file.
458         * sysdeps/powerpc/fpu/bits/mathinline.h (__CPU_HAS_FSQRT): New macro.
459         (__ieee754_sqrt, __ieee754_sqrtf): Use it.
460
461 2006-01-21  Ulrich Drepper  <drepper@redhat.com>
462
463         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Allow actual
464         system call code to be redefined in macro CALL_PSELECT6.
465         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=misc]
466         (sysdep_routines): Add call_pselect6.
467         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: New file.
468         * sysdeps/unix/sysv/linux/i386/pselect.c: New file.
469         * misc/Makefile (tests): Add tst-pselect.
470         * misc/tst-pselect.c: New file.
471
472 2006-01-20  Roland McGrath  <roland@frob.com>
473
474         * sysdeps/mach/hurd/ppoll.c: New file.
475
476 2006-01-20  Ulrich Drepper  <drepper@redhat.com>
477
478         * sysdeps/unix/sysv/linux/pselect.c: Fix typo in declaration.
479
480         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Cast k_dev
481         value to unsigned int to match kernel.
482
483         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Try using the
484         syscall in more cases.
485
486         * io/Makefile (tests): Add tst-symlinkat, tst-linkat, tst-readlinkat,
487         tst-mkdirat, tst-mknodat, and tst-mkfifoat.
488         * io/tst-symlinkat.c: New file.
489         * io/tst-linkat.c: New file.
490         * io/tst-readlinkat.c: New file.
491         * io/tst-mkdirat.c: New file.
492         * io/tst-mknodat.c: New file.
493         * io/tst-mkfifoat.c: New file.
494
495         * dirent/Makefile (tests): Add tst-fdopendir2.
496         * dirent/tst-fdopendir2.c: New file.
497
498 2006-01-20  Alexandre Oliva  <aoliva@redhat.com>
499
500         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
501         (sigcontext_struct) [__WORDSIZE == 32]: Define.
502
503 2006-01-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
504
505         * sysdeps/sh/sh4/__longjmp.S: Demangle also r14 and r15.
506         * sysdeps/sh/sh3/__longjmp.S: Likewise.
507         * sysdeps/sh/sh4/setjmp.S: Mangle also r14 and r15.
508         * sysdeps/sh/sh3/setjmp.S: Likewise.
509         * sysdeps/unix/sysv/linux/sh/sysdep.h [__ASSEMBLER__]
510         (PTR_MANGLE): Add temporary register as the second parameter.
511         (PTR_DEMANGLE): Likewize.
512         (PTR_MANGLE2, PTR_DEMANGLE2): Define.
513
514 2006-01-19  Ulrich Drepper  <drepper@redhat.com>
515
516         * include/fcntl.h: Declare __have_atfcts.
517         * sysdeps/unix/sysv/linux/faccessat.c: Use syscall if available.
518         * sysdeps/unix/sysv/linux/fchmodat.c: Likewise.
519         * sysdeps/unix/sysv/linux/fchownat.c: Likewise.
520         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
521         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
522         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
523         * sysdeps/unix/sysv/linux/openat.c: Likewise.
524         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
525         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
526         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
527         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
528         * sysdeps/unix/sysv/linux/xmknodat.c: Likewise.
529         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
530         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PSELECT,
531         __ASSUME_PPOLL, and __ASSUME_ATFCTS if possible.
532
533         * io/ppoll.c: New file.
534         * io/Makefile (routines): Add ppoll.
535         (CFLAGS-ppoll.c): Define.
536         * io/Versions: Export ppoll for GLIBC_2.4.
537         * io/sys/poll.h: Declare ppoll.
538         * sysdeps/unix/sysv/linux/ppoll.c: New file.
539
540         * misc/pselect.c: Make it possible to include this file to define
541         the generic code as a static function.
542         * sysdeps/unix/sysv/linux/pselect.c: New file.
543
544 2006-01-19  Jakub Jelinek  <jakub@redhat.com>
545
546         * misc/pselect.c (__pselect): Remove static.
547         Include sysdep-cancel.h again.  Add LIBC_CANCEL_HANDLED ().
548
549 2006-01-18  Roland McGrath  <roland@redhat.com>
550
551         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h [__ASSEMBLER__]: Don't
552         include problematic headers for assembler.
553
554         * Makerules ($(+sysdir_pfx)sysd-rules): Don't emit m_%.c rules,
555         instead emit m_%.o compilation rules from s_%.? source files.
556         * math/Makefile ($(objpfx)m_%$o: s_%.c): New rule using o-iterator.
557
558 2006-01-18  Ulrich Drepper  <drepper@redhat.com>
559
560         * misc/pselect.c (__pselect): No need to enable async cancellation
561         here.  This is done in select.
562
563         * sysdeps/unix/sysv/linux/fxstatat.c [STAT_IS_KERNEL_STAT]
564         (__fxstatat): Correct handling of invalid vers values.
565
566         [BZ #2173]
567         * libio/fileops.c (_IO_new_file_fopen): If ,ccs= is given, also
568         set vtable to the wide vtable.
569         * libio/tst-fopenloc2.c: New file.
570         * libio/Makefile (tests): Add tst-fopenloc2.
571
572 2006-01-18  Roland McGrath  <roland@redhat.com>
573
574         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: Restore
575         attribute_hidden here.
576
577         * sysdeps/sparc/sparc64/Makefile (long-double-fcts): Move this ...
578         * sysdeps/sparc/Makefile (long-double-fcts): ... to here.
579
580 2006-01-18  Jakub Jelinek  <jakub@redhat.com>
581
582         * elf/dl-deps.c (_dl_map_object_deps): In case of failure also make a
583         copy of objname string.
584
585 2006-01-16  Roland McGrath  <roland@redhat.com>
586
587         * Makerules ($(+sysdir_pfx)sysd-rules): Emit pattern rules to install
588         into $(inst_includedir)/%.h from sysdirs.
589         [headers]: Change static pattern rule for installing
590         $(headers) to do only those not matching %.h.
591         ($(inst_includedir)/%.h: $(objpfx)%.h): Add this pattern rule instead.
592         ($(inst_includedir)/%.h: %.h): Likewise.
593         ($(inst_includedir)/%.h: $(..)include/%.h): Likewise.
594
595         * Makefile ($(inst_includedir)/gnu/stubs.h):
596         Add $(make-target-directory).
597
598         * stdlib/Makefile (headers): Restore headers removed in last change.
599
600 2006-01-16  Jakub Jelinek  <jakub@redhat.com>
601
602         * math/e_exp2l.c: Don't include stdio.h, errno.h, stub-tag.h, include
603         math_private.h.
604         (__ieee754_exp2l): Compute for now as expl (M_LN2l * x)
605         instead of failing.
606         (exp2l): Remove stub_warning.
607
608 2006-01-15  Jakub Jelinek  <jakub@redhat.com>
609
610         * io/tst-faccessat.c (do_test): Don't fail if geteuid () == 0.
611
612 2006-01-16  Ulrich Drepper  <drepper@redhat.com>
613
614         * sysdeps/unix/sysv/linux/kernel-features.h: Define
615         __ASSUME_TMPFS_NAME.
616         * sysdeps/unix/sysv/linux/shm_open.c [__ASSUME_TMPFS_NAME]
617         (where_is_shmfs): Don't test for obsolete shm filesystem name.
618
619         * sysdeps/unix/sysv/linux/getsysstats.c: Don't search for proc
620         mount point.  We assume procfs is mounted at /proc in many other
621         places already.
622
623 2006-01-15  Andreas Jaeger  <aj@suse.de>
624
625         [BZ #1950]
626         * posix/regex_internal.c (re_string_reconstruct): Adjust for
627         build_wcs_upper_buffer change.
628         (build_wcs_upper_buffer): Change return type.
629
630         [BZ #2153]
631         * math/s_cacosh.c (__cacosh): Do not return a negative
632         value. Patch by Wes Loewer <wjltemp-temp01@yahoo.com>.
633         * math/s_cacoshl.c (__cacoshl): Likewise.
634         * math/s_cacoshf.c (__cacoshf): Likewise.
635         * math/libm-test.inc (cacosh_test): Adjust for change.
636
637         * sysdeps/alpha/fpu/libm-test-ulps: Adopt for cacosh test change.
638         * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
639         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
640         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
641         * sysdeps/m68k/fpu/libm-test-ulps: Likewise.
642         * sysdeps/mips/fpu/libm-test-ulps: Likewise.
643         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
644         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
646         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
647         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
648         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
649
650         [BZ #2079]
651         * libio/fputwc_u.c (fputwc_unlocked): Fix return value.
652         * libio/getwc_u.c (__getwc_unlocked): Likewise.
653         * libio/wfileops.c (_IO_wdo_write): Likewise.
654
655         [BZ #2078]
656         * libio/fputwc.c (fputwc): Use proper type for result.
657         * libio/ioungetwc.c (ungetwc): Likewise.
658
659 2006-01-14  Ulrich Drepper  <drepper@redhat.com>
660
661         * sysdeps/unix/sysv/linux/bits/sched.h: Define SCHED_BATCH.
662
663 2006-01-14  Roland McGrath  <roland@redhat.com>
664
665         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
666         attribute_hidden here.
667         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
668         attribute_hidden here.
669         * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
670         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
671         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
672         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
673         * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.
674
675         * sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
676         verify __LONG_DOUBLE_128__ predefine.
677         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
678
679         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_HIDDEN): Removed.
680         (NLDBL_DECL): Rewritten.
681         Remove __THROW from NLDBL_DECL uses.
682         Use NLDBL_DECL for __vstrfmon_l.
683         (__nldbl___vsyslog_chk): Restore missing decl.
684         * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: Restore attribute_hidden.
685
686 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
687
688         * misc/sys/cdefs.h (__LDBL_REDIR1_DECL): Define.
689         (__LDBL_REDIR_DECL): Stringize __nldbl and name.
690         * stdlib/bits/monetary-ldbl.h: Remove pastos from wchar-ldbl.h.
691         (strfmon, strfmon_l): Add __LDBL_REDIR_DECL.
692         * stdlib/bits/stdlib-ldbl.h (strtold, strtold_l, __strtold_internal,
693         qecvt, qfcvt, qgcvt, qecvt_r, qfcvt_r): Use __LDBL_REDIR1_DECL
694         instead of __LDBL_REDIR_DECL.
695         * wcsmbs/bits/wchar-ldbl.h: Remove stale #if.
696         (__LDBL_REDIR_WCHAR): Remove.
697         (fwprintf, wprintf, swprintf, vfwprintf, vwprintf, vswprintf,
698         fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf): Use
699         __LDBL_REDIR_DECL instead of __LDBL_REDIR_WCHAR.
700         (wcstold, wcstold_l, __wcstold_internal): Add __LDBL_REDIR1_DECL.
701         * wcsmbs/wchar.h: Include bits/wchar-ldbl.h after bits/wchar2.h
702         instead of before it.
703         (wcstold inline): Move #ifndef __LDBL_COMPAT before
704         extern keyword.
705         * libio/bits/stdio-ldbl.h (__snprintf_chk, __vsnprintf_chk): Add
706         __LDBL_REDIR_DECL.
707         * misc/bits/syslog-ldbl.h (vsyslog): Protect with #ifdef __USE_BSD.
708         (__syslog_chk, __vsyslog_chk): Add __LDBL_REDIR_DECL.
709
710 2006-01-14  Roland McGrath  <roland@redhat.com>
711
712         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Fix typo.
713         (NLDBL_HIDDEN): New macro.
714         (NLDBL_DECL): Use it in place of attribute_hidden.
715
716         * misc/efgcvt.c: Include <math_ldbl_opt.h> instead of <shlib-compat.h>.
717         * misc/efgcvt_r.c: Likewise.
718
719         * sysdeps/unix/sysv/linux/sparc/sparc32/nldbl-abi.h: New file.
720         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: #include <nldbl-abi.h>
721         to define LONG_DOUBLE_COMPAT_VERSION.  Use that in place of
722         NLDBL_VERSION.
723         * sysdeps/ieee754/ldbl-opt/Versions: Include <nldbl-abi.h>.
724         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Revert last change.
725
726 2006-01-14  Jakub Jelinek  <jakub@redhat.com>
727
728         * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New
729         prototype.
730         (nexttowardf): Redirect to __nldbl_nexttowardf.
731         (nexttoward): Redirect to nextafter.
732         (__MATHDECL_2, __MATHDECL_1): Redirect *l functions to
733         non-*l versions if __LONG_DOUBLE_MATH_OPTIONAL and
734         __NO_LONG_DOUBLE_MATH.
735         * math/complex.h (__MATHDECL_1): Likewise.
736         * math/bits/mathcalls.h (nexttoward): Don't prototype if
737         __LDBL_COMPAT.
738         * misc/sys/cdefs.h: Include <bits/wordsize.h>.
739         (__LDBL_COMPAT, __LDBL_REDIR1, __LDBL_REDIR, __LDBL_REDIR1_NTH,
740         __LDBL_REDIR_NTH, __LDBL_REDIR_DECL): New macros.
741
742         * libio/bits/stdio-ldbl.h: New file.
743         * libio/Makefile (headers): Add it.
744         * libio/stdio.h [__LDBL_COMPAT]: #include it.
745         * libio/bits/libio-ldbl.h: New file.
746         * libio/Makefile (headers): Add it.
747         * libio/libio.h [__LDBL_COMPAT]: #include it.
748         * libio/libioP.h: Include <math_ldbl_opt.h>.
749         * include/wchar.h (__fwprintf, __vfwprintf): Fix commented out
750         attribute.
751         (__vfwprintf_chk): New prototype.  Add libc_hidden_proto.
752         * wcsmbs/bits/wchar-ldbl.h: New file.
753         * wcsmbs/Makefile (headers): Add it.
754         * wcsmbs/wchar.h [__LDBL_COMPAT]: #include it.
755         * wcsmbs/bits/wchar2.h (__vswprintf_alias): Removed.
756         (vswprintf): Define as a macro rather than inline function.
757         * stdio-common/bits/printf-ldbl.h: New file.
758         * stdio-common/Makefile (headers): Add it.
759         * stdio-common/printf.h [__LDBL_COMPAT]: #include it.
760         * libio/fwprintf.c: Include libioP.h.
761         (fwprintf): Use ldbl_weak_alias instead of weak_alias.
762         * libio/fwscanf.c: Include libioP.h.
763         (fwscanf): Rename to __fwscanf and add ldbl_strong_alias.
764         * libio/iovdprintf.c (vdprintf): Use ldbl_weak_alias instead of
765         weak_alias.
766         * libio/iovsprintf.c (_IO_vsprintf): Rename to __IO_vsprintf,
767         add ldbl_strong_alias and use INTDEF2 instead of INTDEF.
768         (vsprintf): Use ldbl_weak_alias instead of weak_alias.
769         * libio/iovsscanf.c (__vsscanf, vsscanf): Use ldbl_weak_alias
770         instead of weak_alias.
771         * libio/iovswscanf.c (vswscanf): Rename to __vswscanf,
772         add ldbl_strong_alias and use ldbl_hidden_def instead of
773         libc_hidden_def.
774         * libio/obprintf.c (obstack_printf, obstack_vprintf): Use
775         ldbl_weak_alias instead of weak_alias.
776         * libio/swprintf.c: Include libioP.h.
777         (swprintf): Rename to __swprintf and add ldbl_strong_alias.
778         * libio/swscanf.c: Include libioP.h.
779         (swscanf): Rename to __swscanf and add ldbl_strong_alias.
780         * libio/vasprintf.c (vasprintf): Use ldbl_weak_alias instead of
781         weak_alias.
782         * libio/vscanf.c (vscanf): Use ldbl_weak_alias instead of
783         weak_alias.
784         * libio/vsnprintf.c (__vsnprintf, vsnprintf): Use ldbl_weak_alias
785         instead of weak_alias.
786         * libio/vswprintf.c (__vswprintf): Remove alias.
787         (vswprintf): Use ldbl_weak_alias instead of weak_alias.
788         * libio/vwprintf.c: Include libioP.h.
789         (vwprintf): Rename to __vwprintf and add ldbl_strong_alias.
790         * libio/vwscanf.c (vwscanf): Rename to __vwscanf and add
791         ldbl_strong_alias.
792         * libio/wprintf.c: Include libioP.h.
793         (wprintf): Rename to __wprintf and add ldbl_strong_alias.
794         * libio/wscanf.c: Include libioP.h.
795         (wscanf): Rename to __wscanf and add ldbl_strong_alias.
796         * stdio-common/asprintf.c (__asprintf): Rename to ___asprintf, add
797         ldbl_strong_alias and use INTDEF2 instead of INTDEF.
798         (asprintf): Use ldbl_weak_alias instead of weak_alias.
799         * stdio-common/dprintf.c (dprintf): Rename to __dprintf, add
800         ldbl_strong_alias and use ldbl_hidden_def instead of
801         libc_hidden_def.
802         * stdio-common/fprintf.c: Include libioP.h.
803         (fprintf): Rename to __fprintf, add ldbl_strong_alias and
804         use ldbl_hidden_def instead of libc_hidden_def.
805         (_IO_fprintf): Use ldbl_weak_alias instead of weak_alias.
806         * stdio-common/fscanf.c: Include libioP.h.
807         (fscanf): Rename to __fscanf and add ldbl_strong_alias.
808         * stdio-common/printf.c: Include libioP.h.
809         (printf): Rename to __printf and add ldbl_strong_alias.
810         (_IO_printf): Use ldbl_strong_alias instead of strong_alias.
811         * stdio-common/printf_fp.c (__printf_fp): Rename to __printf_fp, add
812         ldbl_strong_alias and use ldbl_hidden_def instead of
813         libc_hidden_def.
814         * stdio-common/printf_size.c (printf_size): Rename to __printf_size
815         and add ldbl_strong_alias.
816         * stdio-common/scanf.c (scanf): Rename to __scanf and add
817         ldbl_strong_alias.
818         * stdio-common/snprintf.c (snprintf): Use ldbl_weak_alias instead of
819         weak_alias.
820         * stdio-common/sprintf.c (sprintf): Rename to __sprintf, add
821         ldbl_strong_alias and use ldbl_hidden_def instead of
822         libc_hidden_def.
823         (_IO_sprintf): Use ldbl_strong_alias instead of strong_alias.
824         * stdio-common/sscanf.c: Include libioP.h instead of iolibio.h.
825         (sscanf): Rename to __sscanf and add ldbl_strong_alias.
826         * stdio-common/vfprintf.c (vfprintf): Define to
827         _IO_vfprintf_internal.  Use ldbl_strong_alias instead.  Use
828         ldbl_hidden_def instead of libc_hidden_def.
829         (_IO_vfprintf_internal): Clear is_long_double if __ldbl_is_dbl,
830         handle the argument as double if it is non-zero.
831         (vfwprintf): Use ldbl_weak_alias instead of weak_alias.
832         (_IO_vfprintf): Add ldbl_strong_alias.
833         * stdio-common/vfscanf.c (_IO_vfscanf): Rename to
834         _IO_vfscanf_internal, don't use strtold if __ldbl_is_dbl, add
835         ldbl_strong_alias.
836         (vfwscanf): Use ldbl_weak_alias instead of weak_alias.
837         (__vfscanf): Rename to ___vfscanf, add ldbl_strong_alias and
838         use ldbl_hidden_def instead of libc_hidden_def.
839         (vfscanf): Use ldbl_weak_alias instead of weak_alias.
840         * stdio-common/vprintf.c: Include libioP.h.
841         (vprintf): Rename to __vprintf and add ldbl_strong_alias.
842         * debug/fprintf_chk.c (__fprintf_chk): Rename to ___fprintf_chk
843         and add ldbl_strong_alias.
844         * debug/printf_chk.c (__printf_chk): Rename to ___printf_chk
845         and add ldbl_strong_alias.
846         * debug/snprintf_chk.c: Include libioP.h.
847         (__snprintf_chk): Rename to ___snprintf_chk and add ldbl_strong_alias.
848         * debug/sprintf_chk.c: Include libioP.h.
849         (__sprintf_chk): Rename to ___sprintf_chk and add ldbl_strong_alias.
850         * debug/vfprintf_chk.c (__vfprintf_chk): Rename to ___vfprintf_chk,
851         add ldbl_strong_alias and use ldbl_hidden_def instead of
852         libc_hidden_def.
853         * debug/vfwprintf_chk.c (__vfwprintf_chk): Add libc_hidden_def.
854         * debug/vprintf_chk.c (__vprintf_chk): Rename to ___vprintf_chk
855         and add ldbl_strong_alias.
856         * debug/vsnprintf_chk.c (__vsnprintf_chk): Rename to ___vsnprintf_chk,
857         add ldbl_strong_alias and use ldbl_hidden_def instead of
858         libc_hidden_def.
859         * debug/vsprintf_chk.c (__vsprintf_chk): Rename to ___vsprintf_chk,
860         add ldbl_strong_alias and use ldbl_hidden_def instead of
861         libc_hidden_def.
862
863         * stdlib/stdlib.h (strtold): Don't define inline if [!__LDBL_COMPAT].
864         * wcsmbs/wchar.h (wcstold): Likewise.
865         * stdlib/strtod_l.c: Include math_ldbl_opt.h.
866         (____STRTOF_INTERNAL): Define.
867         (INTERNAL (__STRTOF)): Rename to ____STRTOF_INTERNAL.
868         (__STRTOF): Call ____STRTOF_INTERNAL instead.
869         [LONG_DOUBLE_COMPAT] (strtold_l, wcstold_l, __strtold_l, __wcstold_l):
870         Add compatibility symbols.
871         * stdlib/strtod.c: Include math_ldbl_opt.h.
872         [LONG_DOUBLE_COMPAT] (strtold, wcstold, __strtold_internal,
873         __wcstold_internal): Add compatibility symbols.
874         * stdlib/strtold.c: Include bits/wordsize.h, wchar.h.
875         (NEW, NEW1): Define.
876         (__new_strtold, __new_wcstold): New prototypes.
877         (____new_strtold_internal, ____new_wcstold_internal): Likewise.
878         Add libc_hidden_proto.
879         (STRTOF): Define to NEW (*told).
880         [__LONG_DOUBLE_MATH_OPTIONAL] (wcstold, strtold): Add
881         long_double_symbol.
882         [__LONG_DOUBLE_MATH_OPTIONAL] (__wcstold_internal,
883         __strtold_internal): Likewise. Add libc_hidden_ver.
884
885         * stdlib/bits/stdlib-ldbl.h: New file.
886         * stdlib/Makefile (headers): Add it.
887         * stdlib/stdlib.h [__LDBL_COMPAT]: #include it.
888         * include/stdlib.h (ecvt_r, fcvt_r, qecvt_r, qfcvt_r): Remove
889         libc_hidden_proto.
890         (__ecvt, __fcvt, __gcvt, __ecvt_r, __fcvt_r, __qecvt, __qfcvt,
891         __qgcvt, __qecvt_r, __qfcvt_r): New prototypes.
892         * misc/efgcvt_r.c: Include shlib-compat.h.
893         (LONG_DOUBLE_CVT): Define.
894         (__APPEND, __APPEND2): Define.
895         (*fcvt_r): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
896         (*ecvt_r): Likewise.
897         (cvt_symbol): Define.  Use it on fcvt_r and ecvt_r.
898         * misc/efgcvt.c: Include shlib-compat.h.
899         (LONG_DOUBLE_CVT): Define.
900         (__APPEND, __APPEND2): Define.
901         (fcvt): Use __APPEND instead of APPEND.  Remove libc_hidden_def.
902         (ecvt, gcvt): Likewise.
903         (cvt_symbol): Define.  Use it on fcvt, ecvt and gcvt.
904
905         * stdlib/bits/monetary-ldbl.h: New file.
906         * stdlib/Makefile (headers): Add it.
907         * stdlib/monetary.h [__LDBL_COMPAT]: #include it.
908         * stdlib/strfmon.c: Include math_ldbl_opt.h.
909         (strfmon): Rename to __strfmon and add ldbl_strong_alias.
910         * stdlib/strfmon_l.c: Remove all traces of [!USE_IN_LIBIO].
911         (__vstrfmon_l): Don't set is_long_double if __ldbl_is_dbl.
912         (__strfmon_l): Rename to ___strfmon_l and add ldbl_strong_alias.
913         (strfmon_l): Use ldbl_weak_alias instead of weak_alias.
914
915         * misc/bits/syslog-ldbl.h: New file.
916         * misc/Makefile (headers): Add it.
917         * misc/sys/syslog.h [__LDBL_COMPAT]: #include it.
918         * misc/syslog.c: Include math_ldbl_opt.h.
919         (syslog): Rename to __syslog and add ldbl_strong_alias,
920         use ldbl_hidden_def instead of libc_hidden_def.
921         (vsyslog): Rename to __vsyslog and add ldbl_strong_alias,
922         use ldbl_hidden_def instead of libc_hidden_def.
923
924         * sysdeps/generic/math_ldbl_opt.h: New file.
925         * math/w_j1l.c (j1l, y1l): Rename to __ prefixed variants.
926         Add weak_alias.
927         * math/w_j0l.c (j0l, y0l): Likewise.
928         * math/w_jnl.c (jnl, ynl): Likewise.
929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c
930         (__nexttowardl): Remove strong_alias.
931         (nexttowardl): Remove weak_alias.
932         * sysdeps/ieee754/ldbl-96/s_erfl.c
933         (__erfl, __erfcl): Remove strong_alias.
934         (erfl, erfcl): Remove weak_alias.
935
936         * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: New file.
937         * sysdeps/ieee754/ldbl-64-128/s_atanl.c: New file.
938         * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: New file.
939         * sysdeps/ieee754/ldbl-64-128/s_ceill.c: New file.
940         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: New file.
941         * sysdeps/ieee754/ldbl-64-128/s_cosl.c: New file.
942         * sysdeps/ieee754/ldbl-64-128/s_erfl.c: New file.
943         * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: New file.
944         * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: New file.
945         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: New file.
946         * sysdeps/ieee754/ldbl-64-128/s_floorl.c: New file.
947         * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: New file.
948         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: New file.
949         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: New file.
950         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: New file.
951         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: New file.
952         * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: New file.
953         * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: New file.
954         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: New file.
955         * sysdeps/ieee754/ldbl-64-128/s_logbl.c: New file.
956         * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: New file.
957         * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: New file.
958         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: New file.
959         * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: New file.
960         * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c: New file.
961         * sysdeps/ieee754/ldbl-64-128/s_nexttoward.c: New file.
962         * sysdeps/ieee754/ldbl-64-128/s_nexttowardf.c: New file.
963         * sysdeps/ieee754/ldbl-64-128/s_nexttowardfd.c: New file.
964         * sysdeps/ieee754/ldbl-64-128/s_remquol.c: New file.
965         * sysdeps/ieee754/ldbl-64-128/s_rintl.c: New file.
966         * sysdeps/ieee754/ldbl-64-128/s_roundl.c: New file.
967         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: New file.
968         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: New file.
969         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: New file.
970         * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: New file.
971         * sysdeps/ieee754/ldbl-64-128/s_sinl.c: New file.
972         * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: New file.
973         * sysdeps/ieee754/ldbl-64-128/s_tanl.c: New file.
974         * sysdeps/ieee754/ldbl-64-128/s_truncl.c: New file.
975         * sysdeps/ieee754/ldbl-64-128/strtold_l.c: New file.
976         * sysdeps/ieee754/ldbl-64-128/w_expl.c: New file.
977         * sysdeps/ieee754/ldbl-opt/configure.in: New file.
978         * sysdeps/ieee754/ldbl-opt/configure: New file.
979         * sysdeps/ieee754/ldbl-opt/Makefile: New file.
980         * sysdeps/ieee754/ldbl-opt/Versions: New file.
981         * sysdeps/ieee754/ldbl-opt/cabs.c: New file.
982         * sysdeps/ieee754/ldbl-opt/cabsl.c: New file.
983         * sysdeps/ieee754/ldbl-opt/carg.c: New file.
984         * sysdeps/ieee754/ldbl-opt/cargl.c: New file.
985         * sysdeps/ieee754/ldbl-opt/cimag.c: New file.
986         * sysdeps/ieee754/ldbl-opt/cimagl.c: New file.
987         * sysdeps/ieee754/ldbl-opt/conj.c: New file.
988         * sysdeps/ieee754/ldbl-opt/conjl.c: New file.
989         * sysdeps/ieee754/ldbl-opt/creal.c: New file.
990         * sysdeps/ieee754/ldbl-opt/creall.c: New file.
991         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: New file.
992         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: New file.
993         * sysdeps/ieee754/ldbl-opt/nldbl-acos.c: New file.
994         * sysdeps/ieee754/ldbl-opt/nldbl-acosh.c: New file.
995         * sysdeps/ieee754/ldbl-opt/nldbl-asin.c: New file.
996         * sysdeps/ieee754/ldbl-opt/nldbl-asinh.c: New file.
997         * sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c: New file.
998         * sysdeps/ieee754/ldbl-opt/nldbl-atan.c: New file.
999         * sysdeps/ieee754/ldbl-opt/nldbl-atan2.c: New file.
1000         * sysdeps/ieee754/ldbl-opt/nldbl-atanh.c: New file.
1001         * sysdeps/ieee754/ldbl-opt/nldbl-cabs.c: New file.
1002         * sysdeps/ieee754/ldbl-opt/nldbl-cacos.c: New file.
1003         * sysdeps/ieee754/ldbl-opt/nldbl-cacosh.c: New file.
1004         * sysdeps/ieee754/ldbl-opt/nldbl-carg.c: New file.
1005         * sysdeps/ieee754/ldbl-opt/nldbl-casin.c: New file.
1006         * sysdeps/ieee754/ldbl-opt/nldbl-casinh.c: New file.
1007         * sysdeps/ieee754/ldbl-opt/nldbl-catan.c: New file.
1008         * sysdeps/ieee754/ldbl-opt/nldbl-catanh.c: New file.
1009         * sysdeps/ieee754/ldbl-opt/nldbl-cbrt.c: New file.
1010         * sysdeps/ieee754/ldbl-opt/nldbl-ccos.c: New file.
1011         * sysdeps/ieee754/ldbl-opt/nldbl-ccosh.c: New file.
1012         * sysdeps/ieee754/ldbl-opt/nldbl-ceil.c: New file.
1013         * sysdeps/ieee754/ldbl-opt/nldbl-cexp.c: New file.
1014         * sysdeps/ieee754/ldbl-opt/nldbl-cimag.c: New file.
1015         * sysdeps/ieee754/ldbl-opt/nldbl-clog.c: New file.
1016         * sysdeps/ieee754/ldbl-opt/nldbl-clog10.c: New file.
1017         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: New file.
1018         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: New file.
1019         * sysdeps/ieee754/ldbl-opt/nldbl-conj.c: New file.
1020         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c: New file.
1021         * sysdeps/ieee754/ldbl-opt/nldbl-cos.c: New file.
1022         * sysdeps/ieee754/ldbl-opt/nldbl-cosh.c: New file.
1023         * sysdeps/ieee754/ldbl-opt/nldbl-cpow.c: New file.
1024         * sysdeps/ieee754/ldbl-opt/nldbl-cproj.c: New file.
1025         * sysdeps/ieee754/ldbl-opt/nldbl-creal.c: New file.
1026         * sysdeps/ieee754/ldbl-opt/nldbl-csin.c: New file.
1027         * sysdeps/ieee754/ldbl-opt/nldbl-csinh.c: New file.
1028         * sysdeps/ieee754/ldbl-opt/nldbl-csqrt.c: New file.
1029         * sysdeps/ieee754/ldbl-opt/nldbl-ctan.c: New file.
1030         * sysdeps/ieee754/ldbl-opt/nldbl-ctanh.c: New file.
1031         * sysdeps/ieee754/ldbl-opt/nldbl-dprintf.c: New file.
1032         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: New file.
1033         * sysdeps/ieee754/ldbl-opt/nldbl-erf.c: New file.
1034         * sysdeps/ieee754/ldbl-opt/nldbl-erfc.c: New file.
1035         * sysdeps/ieee754/ldbl-opt/nldbl-exp.c: New file.
1036         * sysdeps/ieee754/ldbl-opt/nldbl-exp10.c: New file.
1037         * sysdeps/ieee754/ldbl-opt/nldbl-exp2.c: New file.
1038         * sysdeps/ieee754/ldbl-opt/nldbl-expm1.c: New file.
1039         * sysdeps/ieee754/ldbl-opt/nldbl-fabs.c: New file.
1040         * sysdeps/ieee754/ldbl-opt/nldbl-fdim.c: New file.
1041         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: New file.
1042         * sysdeps/ieee754/ldbl-opt/nldbl-floor.c: New file.
1043         * sysdeps/ieee754/ldbl-opt/nldbl-fma.c: New file.
1044         * sysdeps/ieee754/ldbl-opt/nldbl-fmax.c: New file.
1045         * sysdeps/ieee754/ldbl-opt/nldbl-fmin.c: New file.
1046         * sysdeps/ieee754/ldbl-opt/nldbl-fmod.c: New file.
1047         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c: New file.
1048         * sysdeps/ieee754/ldbl-opt/nldbl-fprintf_chk.c: New file.
1049         * sysdeps/ieee754/ldbl-opt/nldbl-frexp.c: New file.
1050         * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c: New file.
1051         * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf.c: New file.
1052         * sysdeps/ieee754/ldbl-opt/nldbl-fwprintf_chk.c: New file.
1053         * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c: New file.
1054         * sysdeps/ieee754/ldbl-opt/nldbl-gamma.c: New file.
1055         * sysdeps/ieee754/ldbl-opt/nldbl-hypot.c: New file.
1056         * sysdeps/ieee754/ldbl-opt/nldbl-ilogb.c: New file.
1057         * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c: New file.
1058         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: New file.
1059         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: New file.
1060         * sysdeps/ieee754/ldbl-opt/nldbl-j0.c: New file.
1061         * sysdeps/ieee754/ldbl-opt/nldbl-j1.c: New file.
1062         * sysdeps/ieee754/ldbl-opt/nldbl-jn.c: New file.
1063         * sysdeps/ieee754/ldbl-opt/nldbl-ldexp.c: New file.
1064         * sysdeps/ieee754/ldbl-opt/nldbl-lgamma.c: New file.
1065         * sysdeps/ieee754/ldbl-opt/nldbl-lgamma_r.c: New file.
1066         * sysdeps/ieee754/ldbl-opt/nldbl-llrint.c: New file.
1067         * sysdeps/ieee754/ldbl-opt/nldbl-llround.c: New file.
1068         * sysdeps/ieee754/ldbl-opt/nldbl-log.c: New file.
1069         * sysdeps/ieee754/ldbl-opt/nldbl-log10.c: New file.
1070         * sysdeps/ieee754/ldbl-opt/nldbl-log1p.c: New file.
1071         * sysdeps/ieee754/ldbl-opt/nldbl-log2.c: New file.
1072         * sysdeps/ieee754/ldbl-opt/nldbl-logb.c: New file.
1073         * sysdeps/ieee754/ldbl-opt/nldbl-lrint.c: New file.
1074         * sysdeps/ieee754/ldbl-opt/nldbl-lround.c: New file.
1075         * sysdeps/ieee754/ldbl-opt/nldbl-modf.c: New file.
1076         * sysdeps/ieee754/ldbl-opt/nldbl-nan.c: New file.
1077         * sysdeps/ieee754/ldbl-opt/nldbl-nearbyint.c: New file.
1078         * sysdeps/ieee754/ldbl-opt/nldbl-nextafter.c: New file.
1079         * sysdeps/ieee754/ldbl-opt/nldbl-nexttoward.c: New file.
1080         * sysdeps/ieee754/ldbl-opt/nldbl-nexttowardf.c: New file.
1081         * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf.c: New file.
1082         * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf.c: New file.
1083         * sysdeps/ieee754/ldbl-opt/nldbl-pow.c: New file.
1084         * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: New file.
1085         * sysdeps/ieee754/ldbl-opt/nldbl-printf.c: New file.
1086         * sysdeps/ieee754/ldbl-opt/nldbl-printf_chk.c: New file.
1087         * sysdeps/ieee754/ldbl-opt/nldbl-printf_fp.c: New file.
1088         * sysdeps/ieee754/ldbl-opt/nldbl-printf_size.c: New file.
1089         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c: New file.
1090         * sysdeps/ieee754/ldbl-opt/nldbl-qecvt_r.c: New file.
1091         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c: New file.
1092         * sysdeps/ieee754/ldbl-opt/nldbl-qfcvt_r.c: New file.
1093         * sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c: New file.
1094         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c: New file.
1095         * sysdeps/ieee754/ldbl-opt/nldbl-remquo.c: New file.
1096         * sysdeps/ieee754/ldbl-opt/nldbl-rint.c: New file.
1097         * sysdeps/ieee754/ldbl-opt/nldbl-round.c: New file.
1098         * sysdeps/ieee754/ldbl-opt/nldbl-scalb.c: New file.
1099         * sysdeps/ieee754/ldbl-opt/nldbl-scalbln.c: New file.
1100         * sysdeps/ieee754/ldbl-opt/nldbl-scalbn.c: New file.
1101         * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c: New file.
1102         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: New file.
1103         * sysdeps/ieee754/ldbl-opt/nldbl-significand.c: New file.
1104         * sysdeps/ieee754/ldbl-opt/nldbl-sin.c: New file.
1105         * sysdeps/ieee754/ldbl-opt/nldbl-sincos.c: New file.
1106         * sysdeps/ieee754/ldbl-opt/nldbl-sinh.c: New file.
1107         * sysdeps/ieee754/ldbl-opt/nldbl-snprintf.c: New file.
1108         * sysdeps/ieee754/ldbl-opt/nldbl-snprintf_chk.c: New file.
1109         * sysdeps/ieee754/ldbl-opt/nldbl-sprintf.c: New file.
1110         * sysdeps/ieee754/ldbl-opt/nldbl-sprintf_chk.c: New file.
1111         * sysdeps/ieee754/ldbl-opt/nldbl-sqrt.c: New file.
1112         * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c: New file.
1113         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon.c: New file.
1114         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c: New file.
1115         * sysdeps/ieee754/ldbl-opt/nldbl-strtold.c: New file.
1116         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: New file.
1117         * sysdeps/ieee754/ldbl-opt/nldbl-strtoldint.c: New file.
1118         * sysdeps/ieee754/ldbl-opt/nldbl-swprintf.c: New file.
1119         * sysdeps/ieee754/ldbl-opt/nldbl-swprintf_chk.c: New file.
1120         * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c: New file.
1121         * sysdeps/ieee754/ldbl-opt/nldbl-syslog.c: New file.
1122         * sysdeps/ieee754/ldbl-opt/nldbl-syslog_chk.c: New file.
1123         * sysdeps/ieee754/ldbl-opt/nldbl-tan.c: New file.
1124         * sysdeps/ieee754/ldbl-opt/nldbl-tanh.c: New file.
1125         * sysdeps/ieee754/ldbl-opt/nldbl-tgamma.c: New file.
1126         * sysdeps/ieee754/ldbl-opt/nldbl-trunc.c: New file.
1127         * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf.c: New file.
1128         * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf.c: New file.
1129         * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf.c: New file.
1130         * sysdeps/ieee754/ldbl-opt/nldbl-vfprintf_chk.c: New file.
1131         * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c: New file.
1132         * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf.c: New file.
1133         * sysdeps/ieee754/ldbl-opt/nldbl-vfwprintf_chk.c: New file.
1134         * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c: New file.
1135         * sysdeps/ieee754/ldbl-opt/nldbl-vprintf.c: New file.
1136         * sysdeps/ieee754/ldbl-opt/nldbl-vprintf_chk.c: New file.
1137         * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c: New file.
1138         * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf.c: New file.
1139         * sysdeps/ieee754/ldbl-opt/nldbl-vsnprintf_chk.c: New file.
1140         * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf.c: New file.
1141         * sysdeps/ieee754/ldbl-opt/nldbl-vsprintf_chk.c: New file.
1142         * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c: New file.
1143         * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf.c: New file.
1144         * sysdeps/ieee754/ldbl-opt/nldbl-vswprintf_chk.c: New file.
1145         * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c: New file.
1146         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c: New file.
1147         * sysdeps/ieee754/ldbl-opt/nldbl-vsyslog_chk.c: New file.
1148         * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf.c: New file.
1149         * sysdeps/ieee754/ldbl-opt/nldbl-vwprintf_chk.c: New file.
1150         * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c: New file.
1151         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold.c: New file.
1152         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c: New file.
1153         * sysdeps/ieee754/ldbl-opt/nldbl-wcstoldint.c: New file.
1154         * sysdeps/ieee754/ldbl-opt/nldbl-wprintf.c: New file.
1155         * sysdeps/ieee754/ldbl-opt/nldbl-wprintf_chk.c: New file.
1156         * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c: New file.
1157         * sysdeps/ieee754/ldbl-opt/nldbl-y0.c: New file.
1158         * sysdeps/ieee754/ldbl-opt/nldbl-y1.c: New file.
1159         * sysdeps/ieee754/ldbl-opt/nldbl-yn.c: New file.
1160         * sysdeps/ieee754/ldbl-opt/s_asinh.c: New file.
1161         * sysdeps/ieee754/ldbl-opt/s_atan.c: New file.
1162         * sysdeps/ieee754/ldbl-opt/s_cacos.c: New file.
1163         * sysdeps/ieee754/ldbl-opt/s_cacosh.c: New file.
1164         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: New file.
1165         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: New file.
1166         * sysdeps/ieee754/ldbl-opt/s_casin.c: New file.
1167         * sysdeps/ieee754/ldbl-opt/s_casinh.c: New file.
1168         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: New file.
1169         * sysdeps/ieee754/ldbl-opt/s_casinl.c: New file.
1170         * sysdeps/ieee754/ldbl-opt/s_catan.c: New file.
1171         * sysdeps/ieee754/ldbl-opt/s_catanh.c: New file.
1172         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: New file.
1173         * sysdeps/ieee754/ldbl-opt/s_catanl.c: New file.
1174         * sysdeps/ieee754/ldbl-opt/s_cbrt.c: New file.
1175         * sysdeps/ieee754/ldbl-opt/s_ccos.c: New file.
1176         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: New file.
1177         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: New file.
1178         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: New file.
1179         * sysdeps/ieee754/ldbl-opt/s_ceil.c: New file.
1180         * sysdeps/ieee754/ldbl-opt/s_cexp.c: New file.
1181         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: New file.
1182         * sysdeps/ieee754/ldbl-opt/s_clog.c: New file.
1183         * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
1184         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: New file.
1185         * sysdeps/ieee754/ldbl-opt/s_clogl.c: New file.
1186         * sysdeps/ieee754/ldbl-opt/s_copysign.c: New file.
1187         * sysdeps/ieee754/ldbl-opt/s_cpow.c: New file.
1188         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: New file.
1189         * sysdeps/ieee754/ldbl-opt/s_cproj.c: New file.
1190         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: New file.
1191         * sysdeps/ieee754/ldbl-opt/s_csin.c: New file.
1192         * sysdeps/ieee754/ldbl-opt/s_csinh.c: New file.
1193         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: New file.
1194         * sysdeps/ieee754/ldbl-opt/s_csinl.c: New file.
1195         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: New file.
1196         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: New file.
1197         * sysdeps/ieee754/ldbl-opt/s_ctan.c: New file.
1198         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: New file.
1199         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: New file.
1200         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: New file.
1201         * sysdeps/ieee754/ldbl-opt/s_erf.c: New file.
1202         * sysdeps/ieee754/ldbl-opt/s_expm1.c: New file.
1203         * sysdeps/ieee754/ldbl-opt/s_fabs.c: New file.
1204         * sysdeps/ieee754/ldbl-opt/s_fdim.c: New file.
1205         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: New file.
1206         * sysdeps/ieee754/ldbl-opt/s_finite.c: New file.
1207         * sysdeps/ieee754/ldbl-opt/s_floor.c: New file.
1208         * sysdeps/ieee754/ldbl-opt/s_fma.c: New file.
1209         * sysdeps/ieee754/ldbl-opt/s_fmal.c: New file.
1210         * sysdeps/ieee754/ldbl-opt/s_fmax.c: New file.
1211         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: New file.
1212         * sysdeps/ieee754/ldbl-opt/s_fmin.c: New file.
1213         * sysdeps/ieee754/ldbl-opt/s_fminl.c: New file.
1214         * sysdeps/ieee754/ldbl-opt/s_frexp.c: New file.
1215         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: New file.
1216         * sysdeps/ieee754/ldbl-opt/s_isinf.c: New file.
1217         * sysdeps/ieee754/ldbl-opt/s_isnan.c: New file.
1218         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: New file.
1219         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: New file.
1220         * sysdeps/ieee754/ldbl-opt/s_llrint.c: New file.
1221         * sysdeps/ieee754/ldbl-opt/s_llround.c: New file.
1222         * sysdeps/ieee754/ldbl-opt/s_log1p.c: New file.
1223         * sysdeps/ieee754/ldbl-opt/s_logb.c: New file.
1224         * sysdeps/ieee754/ldbl-opt/s_lrint.c: New file.
1225         * sysdeps/ieee754/ldbl-opt/s_lround.c: New file.
1226         * sysdeps/ieee754/ldbl-opt/s_modf.c: New file.
1227         * sysdeps/ieee754/ldbl-opt/s_nan.c: New file.
1228         * sysdeps/ieee754/ldbl-opt/s_nanl.c: New file.
1229         * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: New file.
1230         * sysdeps/ieee754/ldbl-opt/s_nextafter.c: New file.
1231         * sysdeps/ieee754/ldbl-opt/s_remquo.c: New file.
1232         * sysdeps/ieee754/ldbl-opt/s_rint.c: New file.
1233         * sysdeps/ieee754/ldbl-opt/s_round.c: New file.
1234         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: New file.
1235         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: New file.
1236         * sysdeps/ieee754/ldbl-opt/s_significand.c: New file.
1237         * sysdeps/ieee754/ldbl-opt/s_significandl.c: New file.
1238         * sysdeps/ieee754/ldbl-opt/s_sin.c: New file.
1239         * sysdeps/ieee754/ldbl-opt/s_sincos.c: New file.
1240         * sysdeps/ieee754/ldbl-opt/s_tan.c: New file.
1241         * sysdeps/ieee754/ldbl-opt/s_tanh.c: New file.
1242         * sysdeps/ieee754/ldbl-opt/s_trunc.c: New file.
1243         * sysdeps/ieee754/ldbl-opt/w_acos.c: New file.
1244         * sysdeps/ieee754/ldbl-opt/w_acosh.c: New file.
1245         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: New file.
1246         * sysdeps/ieee754/ldbl-opt/w_acosl.c: New file.
1247         * sysdeps/ieee754/ldbl-opt/w_asin.c: New file.
1248         * sysdeps/ieee754/ldbl-opt/w_asinl.c: New file.
1249         * sysdeps/ieee754/ldbl-opt/w_atan2.c: New file.
1250         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: New file.
1251         * sysdeps/ieee754/ldbl-opt/w_atanh.c: New file.
1252         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: New file.
1253         * sysdeps/ieee754/ldbl-opt/w_cosh.c: New file.
1254         * sysdeps/ieee754/ldbl-opt/w_coshl.c: New file.
1255         * sysdeps/ieee754/ldbl-opt/w_drem.c: New file.
1256         * sysdeps/ieee754/ldbl-opt/w_dreml.c: New file.
1257         * sysdeps/ieee754/ldbl-opt/w_exp.c: New file.
1258         * sysdeps/ieee754/ldbl-opt/w_exp10.c: New file.
1259         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: New file.
1260         * sysdeps/ieee754/ldbl-opt/w_fmod.c: New file.
1261         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: New file.
1262         * sysdeps/ieee754/ldbl-opt/w_hypot.c: New file.
1263         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: New file.
1264         * sysdeps/ieee754/ldbl-opt/w_j0.c: New file.
1265         * sysdeps/ieee754/ldbl-opt/w_j0l.c: New file.
1266         * sysdeps/ieee754/ldbl-opt/w_j1.c: New file.
1267         * sysdeps/ieee754/ldbl-opt/w_j1l.c: New file.
1268         * sysdeps/ieee754/ldbl-opt/w_jn.c: New file.
1269         * sysdeps/ieee754/ldbl-opt/w_jnl.c: New file.
1270         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: New file.
1271         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: New file.
1272         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: New file.
1273         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: New file.
1274         * sysdeps/ieee754/ldbl-opt/w_log.c: New file.
1275         * sysdeps/ieee754/ldbl-opt/w_log10.c: New file.
1276         * sysdeps/ieee754/ldbl-opt/w_log10l.c: New file.
1277         * sysdeps/ieee754/ldbl-opt/w_log2.c: New file.
1278         * sysdeps/ieee754/ldbl-opt/w_log2l.c: New file.
1279         * sysdeps/ieee754/ldbl-opt/w_logl.c: New file.
1280         * sysdeps/ieee754/ldbl-opt/w_pow.c: New file.
1281         * sysdeps/ieee754/ldbl-opt/w_powl.c: New file.
1282         * sysdeps/ieee754/ldbl-opt/w_remainder.c: New file.
1283         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: New file.
1284         * sysdeps/ieee754/ldbl-opt/w_scalb.c: New file.
1285         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: New file.
1286         * sysdeps/ieee754/ldbl-opt/w_sinh.c: New file.
1287         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: New file.
1288         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: New file.
1289         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: New file.
1290         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: New file.
1291         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: New file.
1292
1293         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: New file.
1294         * sysdeps/unix/sysv/linux/sparc/sparc32/Implies: New file.
1295         * sysdeps/sparc/sparc32/Implies: Move ldbl-128 first and flt-32
1296         after dbl-64.
1297         * sysdeps/unix/sysv/linux/sparc/sparc32/Versions (NLDBL_VERSION):
1298         %define this to to GLIBC_2.4.
1299         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1300         * sysdeps/sparc/sparc32/fpu/s_fabs.c: New file.
1301         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: New file.
1302         * sysdeps/sparc/sparc32/fpu/s_fabsl.c: New file.
1303         * sysdeps/sparc/sparc32/soft-fp/q_qtoui.c: Removed.
1304         * sysdeps/sparc/sparc32/soft-fp/q_qtoux.c: Removed.
1305         * sysdeps/sparc/sparc32/soft-fp/q_qtox.c: Removed.
1306         * sysdeps/sparc/sparc32/soft-fp/q_uitoq.c: Removed.
1307         * sysdeps/sparc/sparc32/soft-fp/q_uxtoq.c: Removed.
1308         * sysdeps/sparc/sparc32/soft-fp/q_xtoq.c: Removed.
1309         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: New file.
1310         * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: New file.
1311         * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: New file.
1312         * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: New file.
1313         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: New file.
1314         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: New file.
1315         * sysdeps/sparc/sparc32/soft-fp/Versions: New file.
1316         * sysdeps/sparc/fpu/bits/mathinline.h (__unordered_cmp,
1317         __unordered_v9cmp): Define differently depending on
1318         -m32 -mlong-double-{64,128}.
1319         (__signbitl, sqrtl, __ieee754_sqrtl): New inlines.
1320         * sysdeps/sparc/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Remove.
1321         * sysdeps/sparc/sparc32/soft-fp/Makefile (sparc32-quad-routines):
1322         Set.
1323         (sysdep-routines): Add sparc32-quad-routines.
1324         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Include stdlib.h.
1325         (FP_HANDLE_EXCEPTIONS): Call ___Q_simulate_exceptions as a normal
1326         function.
1327         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): New
1328         alias to _Q_sqrt.
1329         * sysdeps/sparc/sparc32/soft-fp/q_div.c (_Q_div): Fix a typo.
1330         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Include stdlib.h.
1331         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
1332
1333         * libio/libio.h (_IO_vfscanf, _IO_vfprintf): Remove __THROW.
1334         (_IO_vfwscanf, _IO_vfwprintf): Likewise.
1335         * libio/libioP.h (_IO_vdprintf): Likewise.
1336
1337 2006-01-13  Richard Henderson  <rth@redhat.com>
1338
1339         * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE, PTR_MANGLE2,
1340         PTR_DEMANGLE, PTR_DEMANGLE2): Move ...
1341         * sysdeps/unix/alpha/sysdep.h: ... here.
1342         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Define __GI___fxstatat64.
1343
1344 2006-01-13  Andreas Jaeger  <aj@suse.de>
1345
1346         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (ELF_NVRREG): Fix
1347         value for PowerPC64.
1348
1349 2006-01-12  Roland McGrath  <roland@redhat.com>
1350
1351         * sysdeps/s390/jmpbuf-offsets.h: New file.
1352         * sysdeps/s390/jmpbuf-unwind.h: Include it.
1353
1354         * sysdeps/alpha/__longjmp.S: Include <jmpbuf-offsets.h>
1355         instead of <bits/setjmp.h>.
1356         * sysdeps/alpha/setjmp.S: Likewise.
1357         * sysdeps/i386/__longjmp.S: Likewise.
1358         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1359         * sysdeps/i386/bsd-setjmp.S: Likewise.
1360         * sysdeps/i386/setjmp.S: Likewise.
1361         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1362         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1363         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S:
1364         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1365         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1366         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1367         * sysdeps/sh/sh3/setjmp.S: Likewise.
1368         * sysdeps/sh/sh4/setjmp.S: Likewise.
1369         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1370         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
1371         * sysdeps/x86_64/__longjmp.S: Likewise.
1372         * sysdeps/x86_64/setjmp.S: Likewise.
1373         * sysdeps/mach/hurd/i386/longjmp-ts.c: Include <jmpbuf-offsets.h>.
1374         * sysdeps/mach/hurd/powerpc/longjmp-ts.c: Likewise.
1375         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
1376         * sysdeps/alpha/jmpbuf-unwind.h: Likewise.
1377         * sysdeps/hppa/jmpbuf-unwind.h: Likewise.
1378         * sysdeps/i386/jmpbuf-unwind.h: Likewise.
1379         * sysdeps/powerpc/jmpbuf-unwind.h: Likewise.
1380         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: Likewise.
1381         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Likewise.
1382         * sysdeps/x86_64/jmpbuf-unwind.h: Likewise.
1383         * setjmp/jmpbuf-offsets.h: File removed.
1384         * include/bits/setjmp.h: File removed.
1385
1386 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
1387
1388         * libio/wmemstream.c: New file.
1389         * libio/stdio.h: Declare open_wmemstream.
1390         * libio/Versions: Export open_wmemstream for GLIBC_2.4.
1391         * libio/Makefile (routines): Add wmemstream.
1392         (tests): Add tst-memstream1, tst-memstream2, tst-wmemstream2, and
1393         tst-wmemstream2.
1394         * libio/tst-memstream1.c: New file.
1395         * libio/tst-memstream2.c: New file.
1396         * libio/tst-wmemstream1.c: New file.
1397         * libio/tst-wmemstream2.c: New file.
1398
1399         * libio/memstream.c (_IO_mem_sync): Remove useless call to
1400         _IO_default_sync.
1401
1402         * elf/check-textrel.c: Add missing argument.
1403
1404         * Makerules: Define build-module-asneeded.
1405         * iconvdata/extra-module.mk: Use build-module-asneeded.
1406         needed.
1407
1408 2006-01-09  Richard Henderson  <rth@redhat.com>
1409
1410         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on ld.so.
1411         * sysdeps/alpha/__longjmp.S: Use PTR_DEMANGLE.
1412         * sysdeps/alpha/setjmp.S: Likewise.  Avoid __sigjmp_save for rtld;
1413         tailcall in libc.so.
1414         * sysdeps/unix/sysv/linux/alpha/sysdep.h (PTR_MANGLE): Define.
1415         (PTR_MANGLE2): Define.
1416
1417 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
1418
1419         * elf/check-localplt.c: New file.
1420         * elf/Makefile: Add rules to build and run check-localplt.
1421         * scripts/data/localplt-x86_64-linux-gnu.data: New file.
1422         * scripts/data/localplt-i386-linux-gnu.data: New file.
1423
1424         * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64.
1425         * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for
1426         __fxstatat64.
1427         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add
1428         __GI___fxstatat64 alias.
1429
1430         * libio/memstream.c (_IO_mem_finish): Fix potential memory leak if
1431         realloc fails.
1432
1433         * include/sched.h: Add libc_hidden_proto for __sched_yield.
1434
1435         * libio/genops.c (_IO_unbuffer_write): Give concurrently running
1436         threads the chance to work correctly by trying to lock the stream.
1437         If this does not work, proceed without locking.
1438
1439 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
1440
1441         * libio/genops.c (_IO_unbuffer_write): Don't always free the
1442         buffer.  This is not necessary except in debug mode.  If we don't
1443         free the buffer but the FILE structure to a list.
1444         (buffer_free): New function.  Free buffers or tell _IO_unbuffer_write
1445         to do so.
1446         * libio/libio.h (struct _IO_FILE): Add new members to keep track
1447         of which buffers have to be freed.
1448
1449         * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache
1450         is NULL.
1451
1452 2005-10-14  Paul Eggert  <eggert@cs.ucla.edu>
1453
1454         * malloc/obstack.c: Fix old comments.  Update FSF snail mail address.
1455         * malloc/obstack.h: Likewise.
1456
1457         [BZ #321]
1458         Fix portability bugs encountered when porting to Itanium.
1459         * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
1460         assume that the "contents" member is suitably aligned.  It is
1461         not, for some hosts and alignments: e.g., Itanium, long-double.
1462         * malloc/obstack.c (_obstack_begin, _obstack_begin_1,
1463         _obstack_newchunk): Likewise.
1464         * malloc/obstack.c: Include <stddef.h>, for size_t.
1465         Include <inttypes.h>, <stdint.h> if needed and available.
1466         (DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
1467         Use C89 offsetof rather than K&R trick.
1468         Use the maximum alignment of uintmax_t, long double, void *
1469         rather than the alignment of double.
1470         (union fooround): Use uintmax_t, long double, void * members
1471         rather than just long and double.
1472
1473         [BZ #321]
1474         Fix portability bugs encountered when porting to the IBM iSeries,
1475         where pointers are 256 bits wide and no integers are that wide.
1476         * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
1477         All uses changed to:
1478         (__BPTR_ALIGN, __PTR_ALIGN): New macros.
1479         (struct _obstack_chunk.temp): Change from int to a union
1480         of pointer and int.  All uses changed.
1481
1482         [BZ #321]
1483         * malloc/obstack.c (print_and_abort) [!_LIBC]:
1484         Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
1485         [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
1486
1487 2006-01-10  Derek Price  <derek@ximbiot.com>
1488             Paul Eggert  <eggert@cs.ucla.edu>
1489
1490         [BZ #1060]
1491         * posix/glob.c: Assume freestanding C89 compiler.  Simplify cruft that
1492         may be replaced with GNULIB modules.  Make no attempt to find 64-bit
1493         versions of file access functions directly when [!_LIBC].
1494         Don't define GLOB_* macros here.
1495         (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New
1496         macros to abstract dirent->d_type access.
1497         (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf
1498         access.
1499
1500 2006-01-10  Roland McGrath  <roland@redhat.com>
1501
1502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1503         (PTR_MANGLE): Fix cast.
1504
1505         * timezone/test-tz.c: Revert last change, updating to match
1506         tzdata2005r definition of "MST".
1507
1508 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
1509
1510         * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is
1511         defined.
1512
1513 2006-01-10  Andreas Jaeger  <aj@suse.de>
1514
1515         * include/time.h: Use normal comments.
1516
1517 2006-01-10  Thomas Schwinge  <tschwinge@gnu.org>
1518
1519         * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
1520         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
1521
1522 2006-01-10  Jakub Jelinek  <jakub@redhat.com>
1523
1524         * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
1525         vswprintf recursively.
1526
1527 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
1528
1529         * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
1530
1531 2006-01-10  Roland McGrath  <roland@redhat.com>
1532
1533         * include/bits/setjmp.h: New file.
1534         * setjmp/jmpbuf-offsets.h: New file.
1535         * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ...
1536         * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file.
1537         * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ...
1538         * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file.
1539         * sysdeps/i386/bits/setjmp.h: Move JB_* macros ...
1540         * sysdeps/i386/jmpbuf-offsets.h: ... here, new file.
1541         * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed.
1542         * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ...
1543         * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file.
1544         * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros.
1545         * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ...
1546         * sysdeps/sh/jmpbuf-offsets.h: ... here, new file.
1547         * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ...
1548         * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file.
1549         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros.
1550         * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ...
1551         * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
1552
1553         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1554         * sysdeps/powerpc/jmpbuf-unwind.h: ... here.
1555         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1556         * sysdeps/alpha/jmpbuf-unwind.h: ... here.
1557         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1558         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here.
1559         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1560         * sysdeps/i386/jmpbuf-unwind.h: ... here.
1561         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1562         * sysdeps/x86_64/jmpbuf-unwind.h: ... here.
1563         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1564         * sysdeps/sh/jmpbuf-unwind.h: ... here.
1565         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1566         * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file.
1567         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1568         * sysdeps/mips/jmpbuf-unwind.h: ... here.
1569         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1570         * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file.
1571         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
1572         * sysdeps/s390/jmpbuf-unwind.h: ... here.
1573         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
1574         Move macro ...
1575         * sysdeps/ia64/jmpbuf-unwind.h: ... here.
1576         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS):
1577         Move macro ...
1578         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here.
1579
1580         * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
1581         * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/.
1582         * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
1583         * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/.
1584         * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/.
1585         * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/.
1586         * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/.
1587         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/.
1588         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/.
1589         * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
1590
1591         * sysdeps/linkmap.h: File removed.
1592
1593 2006-01-07  Carlos O'Donell  <carlos@systemhalted.org>
1594
1595         * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations
1596         by using LR and RR. Add %sr0 to iitlbp.
1597
1598 2006-01-09  Roland McGrath  <roland@redhat.com>
1599
1600         * timezone/private.h: Update from tzcode2005r.
1601         * timezone/tzfile.h: Likewise.
1602         * timezone/zdump.c: Likewise.
1603         * timezone/zic.c: Likewise.
1604         * timezone/africa: Update from tzdata2005r.
1605         * timezone/antarctica: Likewise.
1606         * timezone/asia: Likewise.
1607         * timezone/australasia: Likewise.
1608         * timezone/backward: Likewise.
1609         * timezone/europe: Likewise.
1610         * timezone/northamerica: Likewise.
1611         * timezone/southamerica: Likewise.
1612         * timezone/systemv: Likewise.
1613
1614         * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,
1615         so we depend on $(objpfx)reldepmod6.so as intended.
1616
1617 2006-01-09  Ulrich Drepper  <drepper@redhat.com>
1618
1619         [BZ #2126]
1620         * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is
1621         returned.
1622         * sysdeps/i386/strtok.S: Likewise.
1623         * sysdeps/x86_64/strtok.S: Likewise.
1624         * string/Makefile (tests): Add bug-strtok1.
1625         * string/bug-strtok1.c: New file.
1626
1627         * elf/check-textrel.c (AB): Also check for writable and executable
1628         segments.
1629
1630         * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
1631         const variables, gas produces garbage.
1632         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
1633         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1634         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1635
1636 2006-01-09  Jakub Jelinek  <jakub@redhat.com>
1637
1638         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
1639         stack bias to mc_fp field.
1640
1641         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
1642         (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec.
1643         (struct kernel_stat64): New type.
1644         (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1,
1645         _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4,
1646         _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2,
1647         _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2,
1648         _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4,
1649         _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2):
1650         Remove.
1651         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.
1652         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c:
1653         Use i386/fxstatat.c.
1654         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
1655         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file.
1656         * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat,
1657         struct stat64): Add nsec resolution for 64-bit code like already done
1658         for 32-bit code.
1659         * sysdeps/unix/sysv/linux/kernel-features.h
1660         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
1661         for sparc64.
1662         (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12
1663         kernels.
1664
1665         * scripts/data/c++-types-sparc-linux-gnu.data: New file.
1666         * scripts/data/c++-types-sparc64-linux-gnu.data: New file.
1667         * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
1668
1669 2006-01-08  Roland McGrath  <roland@redhat.com>
1670
1671         [BZ #1535]
1672         * sysdeps/unix/get_child_max.c: New file.
1673         * posix/get_child_max.c: New file.
1674         * posix/Makefile (routines): Add it.
1675         * include/sys/sysinfo.h (__get_child_max): Declare it.
1676         * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
1677
1678         * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use
1679         fcntl64 syscall instead.
1680
1681         * stdio-common/tst-fmemopen2.c (do_test): Add a cast.
1682         * stdio-common/printf-parsemb.c (__find_specmb): Likewise.
1683
1684         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
1685         #include for kernel-features.h.
1686         * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
1687         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
1688         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
1689         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
1690         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
1691         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
1692         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
1693         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
1694         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
1695         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
1696         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
1697         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
1698         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
1699         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1700         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1701         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1702         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1703         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1704         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1705         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1706         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1707         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1708         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1709         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1710         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
1711         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1712         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
1713         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
1714         * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
1715         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1716         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1717         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1718         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1719         * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
1720         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
1721         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1722         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
1723         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1724         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1725         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1726         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1727         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1728         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
1729         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1730         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1731         * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
1732         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1733         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1734         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1735         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
1736         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1737         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
1738         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1739         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1740         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1741         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1742         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1743         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1744         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1745         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1746         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1747         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1748         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1749         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1750         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
1751         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1752         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1753         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1754         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1755         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
1756         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
1757         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1758         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1759         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1760         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1761         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1762         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1763         * sysdeps/unix/sysv/linux/opendir.c: Likewise.
1764         * sysdeps/unix/sysv/linux/poll.c: Likewise.
1765         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
1767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
1774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1782         * sysdeps/unix/sysv/linux/pread.c: Likewise.
1783         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1784         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1785         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1786         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1787         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1788         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
1789         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1790         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1791         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
1792         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
1793         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1794         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1795         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1796         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1797         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1798         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
1799         * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
1800         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1801         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1802         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1803         * sysdeps/unix/sysv/linux/utimes.c: Likewise.
1804         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1805         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1806
1807 2006-01-07  Roland McGrath  <roland@redhat.com>
1808
1809         * po/libc.pot: Regenerated.
1810
1811         * po/.cvsignore: List libc.pot.files, and not any .pot names.
1812
1813         * manual/maint.texi (Porting): Don't mention Dist files.
1814         * sysdeps/alpha/soft-fp/Dist: File removed.
1815         * sysdeps/alpha/Dist: File removed.
1816         * sysdeps/i386/i686/Dist: File removed.
1817         * sysdeps/i386/soft-fp/Dist: File removed.
1818         * sysdeps/i386/Dist: File removed.
1819         * sysdeps/mips/soft-fp/Dist: File removed.
1820         * sysdeps/mips/mips64/soft-fp/Dist: File removed.
1821         * sysdeps/mips/mips64/Dist: File removed.
1822         * sysdeps/mips/Dist: File removed.
1823         * sysdeps/wordsize-32/Dist: File removed.
1824         * sysdeps/m68k/fpu/switch/Dist: File removed.
1825         * sysdeps/m68k/fpu/Dist: File removed.
1826         * sysdeps/powerpc/powerpc64/Dist: File removed.
1827         * sysdeps/powerpc/soft-fp/Dist: File removed.
1828         * sysdeps/powerpc/powerpc32/fpu/Dist: File removed.
1829         * sysdeps/powerpc/powerpc32/Dist: File removed.
1830         * sysdeps/powerpc/fpu/Dist: File removed.
1831         * sysdeps/powerpc/Dist: File removed.
1832         * sysdeps/unix/common/Dist: File removed.
1833         * sysdeps/unix/bsd/bsd4.4/Dist: File removed.
1834         * sysdeps/unix/bsd/Dist: File removed.
1835         * sysdeps/unix/sysv/linux/alpha/Dist: File removed.
1836         * sysdeps/unix/sysv/linux/i386/Dist: File removed.
1837         * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed.
1838         * sysdeps/unix/sysv/linux/mips/Dist: File removed.
1839         * sysdeps/unix/sysv/linux/m68k/Dist: File removed.
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed.
1841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed.
1842         * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed.
1843         * sysdeps/unix/sysv/linux/powerpc/Dist: File removed.
1844         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed.
1845         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed.
1846         * sysdeps/unix/sysv/linux/sparc/Dist: File removed.
1847         * sysdeps/unix/sysv/linux/ia64/Dist: File removed.
1848         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed.
1849         * sysdeps/unix/sysv/linux/s390/Dist: File removed.
1850         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed.
1851         * sysdeps/unix/sysv/linux/sh/Dist: File removed.
1852         * sysdeps/unix/sysv/linux/x86_64/Dist: File removed.
1853         * sysdeps/unix/sysv/linux/hppa/Dist: File removed.
1854         * sysdeps/unix/sysv/linux/Dist: File removed.
1855         * sysdeps/unix/sysv/Dist: File removed.
1856         * sysdeps/unix/Dist: File removed.
1857         * sysdeps/generic/Dist: File removed.
1858         * sysdeps/sparc/sparc32/soft-fp/Dist: File removed.
1859         * sysdeps/sparc/sparc32/sparcv9/Dist: File removed.
1860         * sysdeps/sparc/sparc32/sparcv8/Dist: File removed.
1861         * sysdeps/sparc/sparc32/Dist: File removed.
1862         * sysdeps/sparc/sparc64/soft-fp/Dist: File removed.
1863         * sysdeps/sparc/sparc64/Dist: File removed.
1864         * sysdeps/sparc/Dist: File removed.
1865         * sysdeps/gnu/Dist: File removed.
1866         * sysdeps/ia64/fpu/Dist: File removed.
1867         * sysdeps/ia64/Dist: File removed.
1868         * sysdeps/mach/mips/Dist: File removed.
1869         * sysdeps/mach/hurd/alpha/Dist: File removed.
1870         * sysdeps/mach/hurd/i386/Dist: File removed.
1871         * sysdeps/mach/hurd/mips/Dist: File removed.
1872         * sysdeps/mach/hurd/powerpc/Dist: File removed.
1873         * sysdeps/mach/hurd/Dist: File removed.
1874         * sysdeps/s390/s390-64/Dist: File removed.
1875         * sysdeps/s390/Dist: File removed.
1876         * sysdeps/s390/s390-32/Dist: File removed.
1877         * sysdeps/sh/Dist: File removed.
1878         * sysdeps/posix/Dist: File removed.
1879         * sysdeps/ieee754/dbl-64/Dist: File removed.
1880         * sysdeps/ieee754/ldbl-128/Dist: File removed.
1881         * sysdeps/ieee754/flt-32/Dist: File removed.
1882         * sysdeps/ieee754/Dist: File removed.
1883         * sysdeps/x86_64/soft-fp/Dist: File removed.
1884         * sysdeps/x86_64/Dist: File removed.
1885         * sysdeps/hppa/Dist: File removed.
1886
1887         * Makerules (common-clean): Don't remove distinfo file.
1888         ($(objpfx)distinfo): Target removed.
1889         * manual/Makefile (mostlyclean): Don't remove distinfo file.
1890         (glibc-targets): Remove echo-distinfo.
1891
1892         * scripts/list-sources.sh: New file.
1893         * Makefile (TAGS): New target.
1894         * po/Makefile (libc.pot, libc.pot.files): New targets.
1895         * Makeconfig (XGETTEXT): New variable.
1896         * Makerules ($(..)po/%.pot): Rule removed.
1897         (TAGS): Target removed.
1898         * Rules (subdir_TAGS): Target removed.
1899         * MakeTAGS: File removed.
1900
1901         * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE.
1902         * Makeconfig ($(all-Depend-files)): New targets with no-op commands.
1903
1904 2004-08-03  Marco Gerards  <marco@gnu.org>
1905
1906         [BZ #2119]
1907         * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
1908
1909 2006-01-07  Ulrich Drepper  <drepper@redhat.com>
1910
1911         * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
1912
1913 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
1914
1915         * elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
1916
1917 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
1918
1919         * sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
1920
1921         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
1922         _dl_profile_resolve): Add CFI directives for stack and LR save.
1923         Save LR in LRSAVE of previous frame per ABI.
1924         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
1925         for LR save.
1926         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
1928         (__makecontext, __novec_makecontext): Likewise.
1929         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
1930         for LR save to register.
1931         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1932         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1933         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1934         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
1935         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1936         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1937         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1938         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1939         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1940         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1941         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
1942         for stack.
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1944         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
1945         and LR save.
1946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1948         Likewise.
1949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1950         Likewise.
1951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1952         Likewise.
1953         * sysdeps/powerpc/powerpc32/fpu/s_lround.S:  Likewise.  Don't use
1954         negative stack addressing.
1955
1956         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1957         _dl_profile_resolve): Add CFI directives for stack and LR save.
1958         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
1959         for stack.
1960         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
1961         directives for stack and LR save.
1962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
1963         directives for stack.
1964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
1965         directives for stack.
1966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1967         (__getcontext, __novec_getcontext): Add CFI directives for stack
1968         and LR save.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1970         (__makecontext): Add CFI directives for stack and LR save.
1971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1972         (__setcontext, __novec_setcontext): Add CFI directives for stack
1973         and LR save.
1974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1975         (__swapcontext, __novec_swapcontext):  Add CFI directives for stack
1976         and LR save.
1977
1978 2006-01-06  Jakub Jelinek  <jakub@redhat.com>
1979
1980         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
1981         (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
1982         the need of .register directive for it.
1983         * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
1984         2047 instead of 0 in the test on sparc64.
1985
1986 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
1987
1988         * scripts/check-c++-types.sh: Add more pthread types.
1989         * scripts/data//c++-types-i386-linux-gnu.data: Adjust.
1990         * scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
1991         * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
1992         * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
1993         * scripts/data//c++-types-s390-linux-gnu.data: Likewise.
1994         * scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
1995         * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
1996
1997         * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
1998         Adjust for private->__private rename in tcbhead_t.
1999
2000         [BZ #2114]
2001         * ncsd/aicache.c: Don't use sendfile for records on the stack.
2002         * nscd/grpcache.c: Likewise.
2003         * nscd/hstcache.c: Likewise.
2004         * nscd/initgrcache.c: Likewise.
2005         * nscd/pwdcache.c: Likewise.
2006         Patch by dmueller@suse.com.
2007
2008         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
2009         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
2010         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
2011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2012         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2013         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2014         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2015         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
2016
2017 2006-01-06  Roland McGrath  <roland@redhat.com>
2018
2019         * Makeconfig (+gnu-stabs): Remove ancient cruft.
2020
2021         [BZ #2103]
2022         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
2023         name (was typo ARPHDR_HWX25).
2024         (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
2025         (ARPHRD_VOID, ARPHRD_NONE): New macros.
2026
2027         * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
2028
2029         * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
2030         * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
2031         * io/faccessat.c: New file.
2032         * sysdeps/unix/sysv/linux/faccessat.c: New file.
2033         * io/Makefile (routines): Add faccessat.
2034         * io/Versions (libc: GLIBC_2.4): Likewise.
2035         * io/tst-faccessat.c: New file.
2036         * io/Makefile (tests): Add it.
2037
2038         * scripts/check-local-headers.sh: Revert last change.
2039
2040         * io/euidaccess.c: Add eaccess as an alias.
2041         * sysdeps/mach/hurd/euidaccess.c: Likewise.
2042         * sysdeps/posix/euidaccess.c: Likewise.
2043         * posix/unistd.h [__USE_GNU]: Declare eaccess.
2044         * io/Versions (libc: GLIBC_2.4): Add eaccess.
2045
2046 2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
2047
2048         * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
2049         floatunsisf, floatundisf.
2050         (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
2051         (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
2052         * soft-fp/op-common.h (_FP_CMP_UNORD): Define.
2053         * soft-fp/single.h (FP_CMP_UNORD_S): Define.
2054         * soft-fp/double.h (FP_CMP_UNORD_D): Define.
2055         * soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
2056         * soft-fp/extended.h (FP_CMP_UNORD_E): Define.
2057         * soft-fp/unordsf2.c: New file.
2058         * soft-fp/unorddf2.c: New file.
2059         * soft-fp/unordtf2.c: New file.
2060         * soft-fp/floatunsisf.c: New file.
2061         * soft-fp/floatundisf.c: New file.
2062         * soft-fp/floatunsidf.c: New file.
2063         * soft-fp/floatundidf.c: New file.
2064         * soft-fp/floatunsitf.c: New file.
2065         * soft-fp/floatunditf.c: New file.
2066
2067         * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
2068         __builtin_clzl and __builtin_clzll.
2069
2070 2006-01-05  Mike Frysinger  <vapier@gentoo.org>
2071
2072         * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
2073
2074 2006-01-05  Jakub Jelinek  <jakub@redhat.com>
2075
2076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
2077         Only define for 2.6.12+ on s390{,x}.
2078         (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
2079         and only for 2.6.11+ on s390{,x}.
2080
2081 2006-01-05  Ulrich Drepper  <drepper@redhat.com>
2082
2083         * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
2084         (struct waitlist): Don't add cond.
2085         * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
2086         (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
2087         * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
2088         use condvar, use AIO_MISC_WAIT.
2089         * sysdeps/pthread/lio_listio.c: Likewise.
2090         * rt/Makefile (tests): Add tst-aio9 and tst-aio10.
2091         * rt/tst-aio9.c: New file.
2092         * rt/tst-aio10.c: New file.
2093
2094         * rt/tst-aio3.c: The thread is now supposed to be created.
2095
2096 2006-01-05  Roland McGrath  <roland@redhat.com>
2097
2098         * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
2099         it or _GNU_SOURCE is defined.
2100         * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
2101         [__USE_GNU].
2102         * libio/stdio.h: Likewise.
2103         * posix/unistd.h: Likewise.
2104         * time/sys/time.h: Likewise.
2105         * io/sys/stat.h: Likewise.
2106
2107         * io/sys/stat.h [__USE_GNU]: Declare fchmodat.
2108         * io/fchmodat.c: New file.
2109         * io/Makefile (routines): Add fchmodat.
2110         * io/Versions (libc: GLIBC_2.4): Likewise.
2111         * sysdeps/unix/sysv/linux/fchmodat.c: New file.
2112         * io/tst-fchmodat.c: New file.
2113         * io/Makefile (tests): Add it.
2114
2115 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
2116
2117         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
2118         directive to ENTRY macros.
2119         (END): Add cfi_endproc directive to END macro.
2120         * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
2121         directive to ENTRY macros.
2122         (END, END_GEN_TB): Add cfi_endproc directive to END macros.
2123         * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
2124         _dl_start_user and _dl_main_dispatch.
2125         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
2126         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
2127         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2128         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2129         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2130         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
2132         cfi_startproc and cfi_endproc.
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2134
2135 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
2136
2137         * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
2138         * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
2139         failed I/O, and a result pointer, set value to -1.
2140         * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
2141         * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
2142         wait list to local variable result.  If nonzero afterwards, set errno
2143         to EIO.  For LIO_NOWAIT set result to NULL.
2144         * rt/Makefile (tests): Add tst-aio8.
2145         * rt/tst-aio8.c: New file.
2146
2147 2005-12-25  Kristian Van Der Vliet  <vanders@liqwyd.com>
2148
2149         * abi-tags (*-.*-syllable.*): New match, with ABI value 5.
2150         * elf/cache.c (print_entry): Match the Syllable ABI tag.
2151
2152 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
2153
2154         * include/stdlib.h: Make even more C++ compliant.
2155
2156 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
2157
2158         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
2159         __SYSCALL_CLOBBERS.
2160
2161 2006-01-03  H.J. Lu  <hongjiu.lu@intel.com>
2162
2163         * configure.in (HAVE_LIBAUDIT): Check
2164         audit_log_user_avc_message instead of audit_log_avc.
2165
2166 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
2167
2168         * sysdeps/ieee754/bits/nan.h: Fix typo.
2169
2170 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
2171
2172         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
2173
2174         * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
2175         define.
2176
2177         * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
2178         {,u}atomic*_t typedefs.
2179         (__sparc32_atomic_do_lock): Add __volatile and memory clobber.
2180         (__sparc32_atomic_do_unlock): Add memory barrier.
2181         (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
2182         [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
2183         (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
2184         __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
2185         __v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
2186         atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
2187         atomic_exchange_24_rel): Define.
2188         [SHARED] (atomic_exchange_and_add): Define.
2189         [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
2190         [!SHARED] (_dl_hwcap): New weak decl.
2191         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
2192         atomic_compare_and_exchange_val_24_acq): Define.
2193         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
2194         atomic_compare_and_exchange_val_24_acq): Define.
2195
2196 2006-01-03  Ulrich Drepper  <drepper@redhat.com>
2197
2198         lio_listio should emit an event for each individual request in
2199         addition to the global event.
2200         * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
2201         lio_listio_internal.  Remove mode parameter check.  Only set sigevent
2202         type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
2203         (__lio_listio_21): New function.  Compatiblity version which sets
2204         LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
2205         (__lio_listio_item_notify): New function.
2206         * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
2207         __lio_listio_item_notify macros.
2208         * sysdeps/pthread/Versions: New file.
2209         * rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
2210         * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
2211         * Versions.def: Add GLIBC_2.4 for librt.
2212
2213         * rt/Versions: Whitespace fix.
2214         * sysdeps/pthread/aio_misc.c: Likewise.
2215
2216         * nscd/connections.c (nscd_init): Remove if block which should
2217         have been removed as part of the -S option removal.
2218
2219 2006-01-03  Andreas Jaeger  <aj@suse.de>
2220
2221         * scripts/check-local-headers.sh: Allow $includedir/c++.
2222
2223 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
2224
2225         * posix/unistd.h (ctermid): Remove __nonnull attribute.
2226
2227 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
2228
2229         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
2230         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
2231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
2232         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
2233         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
2234         (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
2235         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
2236         and %o7.
2237         * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
2238         and %o7.
2239
2240 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
2241
2242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
2243         Define.
2244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
2245         Likewise.
2246         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
2247         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
2248         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
2249         * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
2250         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
2251         * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
2252
2253         * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
2254         struct tag to make C++ happy.
2255
2256 2006-01-02  Ulrich Drepper  <drepper@redhat.com>
2257
2258         * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
2259         the include list.
2260
2261 2006-01-01  Ulrich Drepper  <drepper@redhat.com>
2262
2263         * posix/getconf.c: Update copyright year.
2264         * nss/getent.c: Likewise.
2265         * iconv/iconvconfig.c: Likewise.
2266         * iconv/iconv_prog.c: Likewise.
2267         * elf/ldconfig.c: Likewise.
2268         * catgets/gencat.c: Likewise.
2269         * csu/version.c: Likewise.
2270         * elf/ldd.bash.in: Likewise.
2271         * elf/sprof.c (print_version): Likewise.
2272         * locale/programs/locale.c: Likewise.
2273         * locale/programs/localedef.c: Likewise.
2274         * nscd/nscd.c (print_version): Likewise.
2275         * debug/xtrace.sh: Likewise.
2276         * malloc/memusage.sh: Likewise.
2277         * malloc/mtrace.pl: Likewise.
2278         * debug/catchsegv.sh: Likewise.
2279
2280 2005-12-31  Andreas Jaeger  <aj@suse.de>
2281
2282         [BZ #1395]
2283         * manual/filesys.texi (Symbolic Links): Fix description of
2284         canonicalize_file_name based on patch by Oskar Liljeblad
2285         <oskar@osk.mine.nu>.
2286
2287 2005-12-29  Andreas Jaeger  <aj@suse.de>
2288
2289         * resolv/res_debug.c (latlon2ul): Use ISO C function definition.
2290         (precsize_aton): Likewise.
2291         (precsize_ntoa): Likewise.
2292
2293         * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
2294         (gethostbyname2): Likewise.
2295         (gethostbyaddr): Likewise.
2296         (getanswer): Use ISO C function definition.
2297
2298 2005-12-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2299
2300         * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
2301         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2302         * sysdeps/sh/_mcount.S: Add cfi instrumentation.
2303         * sysdeps/unix/sh/sysdep.S: Likewise.
2304         * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
2305         * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
2306         cfi_startproc and cfi_endproc.
2307         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
2308         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
2309         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2310         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2311         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2312         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2313         * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
2314
2315 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
2316
2317         * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
2318         value doesn't survive in a registers when the function returns.
2319         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2320         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2321
2322 2005-12-30  Jakub Jelinek  <jakub@redhat.com>
2323
2324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
2325         PTR_MANGLE2.
2326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
2327         PTR_MANGLE2 and PTR_DEMANGLE2.
2328         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
2329         * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
2330         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2331         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2332
2333 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
2334
2335         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
2336         Don't use _demangle parameter for now.
2337
2338         [BZ #2080]
2339         * libio/iogetwline.c (_IO_getwline_info): Move return to correct
2340         location.
2341
2342         * nscd/connections.c: Remove last remnants of -S option support.
2343         * nscd/nscd.c: Likewise.
2344         * nscd/nscd.h: Likewise.
2345
2346 2005-12-30  Andreas Jaeger  <aj@suse.de>
2347
2348         [BZ #1067]
2349         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
2350         for 64-bit mips kernel.
2351
2352 2005-12-08  Steven Munroe  <sjmunroe@us.ibm.com>
2353             Tom Gall <tom_gall@vnet.ibm.com>
2354
2355         * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
2356         * sysdeps/powerpc/elf/libc-start.c: Move this...
2357         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
2358         * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
2359         * sysdeps/powerpc/powerpc32/hp-timing.h: New file.
2360         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
2361         * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
2362         is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
2363         INTERNAL_SYSCALL and INLINE_SYSCALL respectively.  Otherwise include
2364         <bits/libc-vdso.h>.  Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
2365         of the normal versions throughout the code.
2366         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
2367         HAVE_CLOCK_GETTIME_VSYSCALL is defined.
2368         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
2369         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
2370         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
2371         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
2372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
2373         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
2374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
2375         INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
2376         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
2377         and HAVE_CLOCK_GETTIME_VSYSCALL.
2378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2379
2380 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
2381
2382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
2383         Define PTR_DEMANGLE2.
2384         * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
2385         mangle r1.
2386         * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
2387         demangle r1.
2388         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
2389         r0 and r1.
2390         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
2391         Demangle r0 and r1.
2392
2393         * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
2394         mangle r1.
2395         * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
2396         demangle  r1.
2397
2398 2005-12-26  Steven Munroe  <sjmunroe@us.ibm.com>
2399
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
2401         Move common function to...
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2403         New file.
2404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
2405         Move common function to...
2406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2407         New file.
2408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
2409         Move common function to...
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2411         New file.
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
2413         (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
2414         _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
2415         Remove unrelated stack frame defines.
2416
2417 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
2418
2419         * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
2420         Defining as macro as before the last change.
2421
2422         * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
2423         include the named file.
2424         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2425         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2426         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2427         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2428         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2429         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2430
2431 2005-12-29  Roland McGrath  <roland@frob.com>
2432
2433         * sysdeps/mach/hurd/errno.c: New file.
2434
2435         * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
2436
2437         * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
2438
2439         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
2440         * hurd/report-wait.c (_S_msg_report_wait): Likewise.
2441
2442         * include/sys/xattr.h: New file.
2443
2444 2005-12-28  Roland McGrath  <roland@redhat.com>
2445
2446         * hurd/sigunwind.c: Include <stdint.h>.
2447         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
2448
2449 2005-12-28  Ulrich Drepper  <drepper@redhat.com>
2450
2451         * nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
2452         Don't do anything if audit_fd is invalid.
2453         (audit_init): Don't complain if kernel support is missing.
2454         Patch by Steve Grubb <sgrubb@redhat.com>.
2455
2456         * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
2457         pointer.  Add CFI.
2458         * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
2459         * sysdeps/i386/bsd-setjmp.S: Likewise.
2460         * sysdeps/i386/setjmp.S: Likewise.
2461
2462         * sysdeps/x86_64/__longjmp.S: No need to make sure return value is
2463         != 0, the caller did that.
2464
2465 2005-12-27  Roland McGrath  <roland@redhat.com>
2466
2467         * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
2468         mangled values in %rbp and %rsp registers and by wrong cfi.
2469
2470         * config.make.in (c++-sysincludes): New substituted variable.
2471         * configure.in (CXX_SYSINCLUDES): New substituted variable.
2472         * configure: Regenerated.
2473         * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
2474
2475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2476         (PTR_MANGLE): Fix cast.
2477
2478         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
2479         DEMANGLE, and pass SP value through it.
2480         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2481         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2482         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2483         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2484         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2485         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2486         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2487         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2488         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
2489         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
2490         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
2491         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
2492         demangler function to _JMPBUF_UNWINDS.
2493         * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
2494         (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
2495
2496         * posix/tst-execle1.c (do_test): Add a const.
2497         * posix/tst-execle2.c (do_test): Likewise.
2498
2499         * posix/transbug.c (run_test): Add some casts.
2500         * posix/bug-regex22.c (main): Likewise.
2501         * posix/bug-regex5.c (main): Likewise.
2502         * wcsmbs/tst-mbsrtowcs.c (main): Likewise.
2503         * string/test-strspn.c (do_test, do_random_tests): Likewise.
2504         * string/test-strrchr.c (do_test, do_random_tests): Likewise.
2505         * string/test-strlen.c (do_random_tests): Likewise.
2506         * string/test-strpbrk.c (do_test, do_random_tests): Likewise.
2507         * string/test-strcmp.c (do_random_tests): Likewise.
2508         * string/test-strchr.c (do_test, do_random_tests): Likewise.
2509         * string/test-strcat.c (do_test, do_random_tests): Likewise.
2510         * string/test-strncpy.c (do_random_tests): Likewise.
2511         * string/test-strcpy.c (do_test, do_random_tests): Likewise.
2512         * string/test-memccpy.c (do_test): Likewise.
2513         * string/test-memmove.c (do_test, do_random_tests): Likewise.
2514         * string/test-memcpy.c (do_test, do_random_tests): Likewise.
2515         * string/test-memcmp.c (do_test, do_random_tests): Likewise.
2516         * string/test-memchr.c (do_test, do_random_tests): Likewise.
2517         * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
2518         * stdio-common/tst-fgets.c (do_test): Add a cast.
2519         * iconvdata/bug-iconv4.c (xiconv): Add a cast.
2520
2521         * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.
2522
2523         * resolv/herror.c (herror): Remove unused extern decl.
2524
2525         * libio/obprintf.c: Include "strfile.h".
2526
2527         * elf/order2mod2.c (init): Cast ignored value to void.
2528
2529 2005-12-27  Ulrich Drepper  <drepper@redhat.com>
2530
2531         * elf/tst-tls13.c (do_test): Avoid using the library path when
2532         looking for tst-tlsmod13a.so.
2533
2534         * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
2535         double math to generate NaN results.
2536
2537         * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
2538         and ENOTRECOVERABLE if not already defined.
2539         * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.
2540
2541 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
2542
2543         * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
2544         entry for up to 138 errnos.
2545
2546 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
2547
2548         * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
2549         before calling it.
2550
2551 2005-12-27  David S. Miller  <davem@sunset.davemloft.net>
2552
2553         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
2554         entry for up to 134 errnos.
2555
2556 2005-12-26  Ulrich Drepper  <drepper@redhat.com>
2557
2558         * Versions.def: Add GLIBC_2.4 for libpthread.
2559
2560 2005-12-25  Ulrich Drepper  <drepper@redhat.com>
2561
2562         * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
2563         that $(..)/bits is not found early.
2564
2565 2005-12-24  Ulrich Drepper  <drepper@redhat.com>
2566
2567         * manual/errno.texi: Add new Linux errno codes.
2568         * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
2569         for up to 132 errnos.
2570         * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
2571         ENOTRECOVERABLE if not already defined.
2572
2573 2005-12-23  Ulrich Drepper  <drepper@redhat.com>
2574
2575         [BZ #1566]
2576         * sysdeps/i386/i586/memusage.h: New file.
2577         * sysdeps/i386/memusage.h: Don't define GETTIME.
2578
2579 2005-12-22  Ulrich Drepper  <drepper@redhat.com>
2580
2581         [BZ #1499]
2582         * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr.
2583         (openlog_internal): Adjust for this change.
2584
2585         * Makeconfig: Define CXXFLAGS.  Split out warnings from +gccwarn which
2586         are not understood by the C++ compiler.
2587         * Makerules: Add rules to build C++ code for test cases.
2588         * include/stdlib.h: Protect for inclusion in C++ code.
2589         * include/time.h: Likewise.
2590
2591 2005-12-22  Roland McGrath  <roland@redhat.com>
2592
2593         * Makerules [gen-as-const-headers] (tests): Add one test per .sym
2594         file, not just one.
2595         ($(objpfx)test-as-const.c): Target replaced with ...
2596         ($(objpfx)test-as-const-%.c): ... this pattern rule.
2597         (generated): Add those files.
2598
2599 2005-12-22  Ulrich Drepper  <drepper@redhat.com>
2600
2601         * test-skeleton.c (timeout_handler): Rewrite ts initialization for
2602         C++ compatibility.
2603
2604         * sysdeps/x86_64/__longjmp.S: Also protect SP and BP.
2605         * sysdeps/x86_64/setjmp.S: Likewise.
2606
2607 2005-12-21  Roland McGrath  <roland@redhat.com>
2608
2609         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
2610         * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
2611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
2612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
2613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
2615         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
2616         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
2617         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
2618         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
2619         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
2620         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
2621         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
2622         * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
2623         * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
2624         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
2625         (gen-as-const-headers): Add it.
2626         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2627         * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
2628         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
2629         * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
2630         * stdlib/tst-ucontext-off.c: File removed.
2631         * stdlib/Makefile (tests): Remove it.
2632
2633         * scripts/gen-as-const.awk: Support generating a test program.
2634         * Makerules [gen-as-const-headers] (tests): Add test-as-const.
2635         [gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
2636
2637         * sysdeps/generic/bits: Subdirectory and all files moved to ...
2638         * bits: ... here, new subdirectory.
2639         * Makeconfig (+includes): Reordered includes to put build and sysdeps
2640         dirs first after $(..)include, $(sysincludes) last.
2641
2642         [BZ #2066]
2643         * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later
2644         malloc fails.
2645
2646 2005-12-21  Jakub Jelinek  <jakub@redhat.com>
2647
2648         * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
2649
2650 2005-12-21  Roland McGrath  <roland@redhat.com>
2651
2652         * sysdeps/mach/hurd/ifreq.c: Add missing #includes.
2653
2654         * elf/cache.c: Use <> rather than "" #includes.
2655         * elf/chroot_canon.c: Likewise.
2656         * elf/dl-lookup.c: Likewise.
2657         * elf/ldconfig.c: Likewise.
2658         * elf/readlib.c: Likewise.
2659         * elf/rtld.c: Likewise.
2660         * gmon/mcount.c: Likewise.
2661         * hurd/hurdfault.c: Likewise.
2662         * hurd/hurdsig.c: Likewise.
2663         * hurd/report-wait.c: Likewise.
2664         * hurd/sigunwind.c: Likewise.
2665         * mach/setup-thread.c: Likewise.
2666         * rt/aio_read64.c: Likewise.
2667         * rt/aio_sigqueue.c: Likewise.
2668         * rt/aio_write64.c: Likewise.
2669         * soft-fp/soft-fp.h: Likewise.
2670         * stdio-common/tmpfile64.c: Likewise.
2671         * sysdeps/mach/hurd/fork.c: Likewise.
2672         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
2673         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
2674         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
2675         * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
2676         * sysdeps/posix/sprofil.c: Likewise.
2677         * sysdeps/pthread/aio_cancel.c: Likewise.
2678         * sysdeps/pthread/aio_fsync.c: Likewise.
2679         * sysdeps/pthread/aio_read64.c: Likewise.
2680         * sysdeps/pthread/aio_read.c: Likewise.
2681         * sysdeps/pthread/aio_suspend.c: Likewise.
2682         * sysdeps/pthread/aio_write64.c: Likewise.
2683         * sysdeps/pthread/aio_write.c: Likewise.
2684         * sysdeps/pthread/lio_listio64.c: Likewise.
2685         * sysdeps/pthread/lio_listio.c: Likewise.
2686         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
2687         * sysdeps/unix/sysv/tcflow.c: Likewise.
2688
2689         * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
2690
2691         * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
2692
2693         * csu/dso_handle.c (__dso_handle): Add const to pointer type too.
2694
2695 2005-12-21  Ulrich Drepper  <drepper@redhat.com>
2696
2697         * iconv/gconv_conf.c: Initialize empty_path_elem.
2698
2699         * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
2700         * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
2701         * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
2702         up in .rodata.
2703         * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
2704         end up in .rodata.
2705         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2706         * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
2707         end up in .rodata.
2708
2709 2005-12-21  Thorsten Kukuk  <kukuk@suse.de>
2710
2711         * elf/readlib.c: Fix include of readelflib.c.
2712
2713 2005-12-21  Ulrich Drepper  <drepper@redhat.com>
2714
2715         [BZ #1962]
2716         * io/fts.c (fts_open): Change type of len to size_t.
2717         (fts_build): Remove cast in call to fts_alloc.
2718         (fts_alloc): Change third parameter's type to size_t.
2719
2720         [BZ #1960]
2721         * io/fts.c (fts_open): Avoid function call in MAX macro use.
2722
2723 2005-12-20  Ulrich Drepper  <drepper@redhat.com>
2724
2725         * locale/xlocale.c (_nl_C_locobj): Mark as const.
2726         * include/locale.h: Define _nl_C_locobj_ptr.
2727         * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer
2728         to _nl_C_locobj because we also need a cast.
2729         * iconv/gconv_conf.c: Likewise.
2730         * iconv/gconv_int.h: Likewise.
2731         * iconv/gconv_open.c: Likewise.
2732         * locale/duplocale.c: Likewise.
2733         * locale/freelocale.c: Likewise.
2734         * locale/newlocale.c: Likewise.
2735         * misc/syslog.c: Likewise.
2736         * stdlib/strtod_l.c: Likewise.
2737         * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2738
2739         * csu/dso_handle.c (__dso_handle): Mark as const.
2740
2741         * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
2742         * intl/plural-exp.h: Adjust declaration of
2743         __gettext_germanic_plural.
2744
2745         * resolv/herror.c (h_errlist): Mark as const.
2746         (h_nerr): Likewise.
2747
2748 2005-12-15  Thomas Schwinge  <tschwinge@gnu.org>
2749
2750         [BZ #2061]
2751         * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
2752
2753 2005-12-20  Roland McGrath  <roland@redhat.com>
2754
2755         * sysdeps/unix/sysv/linux/ifreq.h: File removed.
2756         * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here.
2757
2758         * sysdeps/mach/hurd/ifreq.h: File removed.
2759         (__ifreq): Function moved to ...
2760         * sysdeps/mach/hurd/ifreq.c: ... here, new file.
2761
2762 2005-12-20  Ulrich Drepper  <drepper@redhat.com>
2763
2764         * sunrpc/clnt_unix.c (unix_ops): Mark as const.
2765         * sunrpc/auth_des.c (authdes_ops): Likewise.
2766         * sunrpc/svc_raw.c (server_ops): Likewise.
2767         * sunrpc/clnt_udp.c (udp_ops): Likewise.
2768         * sunrpc/clnt_tcp.c (tcp_ops): Likewise.
2769         * sunrpc/clnt_raw.c (client_ops): Likewise.
2770         * sunrpc/auth_unix.c (auth_unix_ops): Likewise.
2771         * sunrpc/auth_none.c (ops): Likewise.
2772
2773         * nss/nsswitch.c (databases): Mark as const.  Change name field
2774         into array.
2775         * nss/databases.def: Add warning.
2776
2777         * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
2778         mark const.
2779         (cmd): Mark as const.
2780         (parse_line): Mark c as pointer to const.
2781
2782         * misc/getusershell.c (initshells): Remove unnecessary tests.
2783         (endusershell): Likewise.
2784         (okshells): Mark as const.
2785
2786         * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
2787         * sysdeps/posix/gai_strerror-strs.h: New file.
2788         * sysdeps/posix/Dist: New file.
2789
2790         * sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
2791         * locale/loadlocale.c (_nl_value_types): Likewise.
2792         * iconv/gconv_conf.c (builtin_aliases): Likewise.
2793         * iconv/gconv_open.c (internal_trans_names): Likewise.
2794
2795 2005-12-19  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2796
2797         * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
2798         (PTR_MANGLE, PTR_DEMANGLE): Define.
2799         (SYSCALL_ERROR_HANDLER): Fix typo.
2800         * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined.
2801         * sysdeps/sh/sh3/__longjmp.S: Likewise.
2802         * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined.
2803         * sysdeps/sh/sh3/setjmp.S: Likewise.
2804
2805 2005-12-20  Jakub Jelinek  <jakub@redhat.com>
2806
2807         * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
2808
2809         * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
2810         use sysdeps/unix/time.c implementation.
2811
2812 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
2813
2814         [BZ #1955]
2815         * timezone/zic.c (tofile;): Fix typo in symlink creation.
2816         Patch by Phil Estes <pestes@us.ibm.com>.
2817
2818         [BZ #1952]
2819         * sysdeps/unix/sysv/linux/time.c: New file.
2820         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry.
2821
2822 2005-12-15  Thomas Schwinge  <tschwinge@gnu.org>
2823
2824         * io/xmknodat.c: Include <stddef.h>.
2825         * misc/futimesat.c: Remove weak_alias and correct stub_warning.
2826         * stdio-common/renameat.c (renameat): Fix typo.
2827
2828 2005-12-16  Thorsten Kukuk  <kukuk@suse.de>
2829
2830         [BZ #1978]
2831         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2832         Map more filesystem types to a string.
2833         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC.
2834
2835 2005-12-19  Jakub Jelinek  <jakub@redhat.com>
2836
2837         * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the
2838         programs subdirectory.
2839
2840         * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use
2841         PTR_DEMANGLE for PC if defined.
2842         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
2843         Likewise.
2844         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise.
2845         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with
2846         THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined.
2847         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
2848         * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use
2849         PTR_MANGLE for PC if defined.
2850         * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise.
2851         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2852         Avoid call to __sigjmp_save if IS_IN_rtld.
2853         * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
2854         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
2855         * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
2856         * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise.
2857         * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
2858         Define.
2859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h.
2860         (PTR_MANGLE, PTR_DEMANGLE): Define.
2861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h
2862         (PTR_MANGLE, PTR_DEMANGLE): Define.
2863         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h.
2864         (PTR_MANGLE, PTR_DEMANGLE): Define.
2865         (SYSCALL_ERROR_HANDLER): Add missing semicolons.
2866         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h.
2867         (PTR_MANGLE, PTR_DEMANGLE): Define.
2868         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add
2869         SYSCALL_ERROR_HANDLER.
2870
2871 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
2872
2873         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS.
2874         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2875         Patch by Clint Adams.
2876
2877 2005-12-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
2878
2879         * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and
2880         dependent definitions from the kernel header to sys/user.h and
2881         remove the #include of asm/user.h.
2882
2883 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
2884
2885         * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
2886         used when generating errlist-compat.c.
2887
2888 2005-12-18  Ulrich Drepper  <drepper@redhat.com>
2889
2890         * iconv/gconv.c: Demangle pointers before use if necessary.
2891         * iconv/gconv_cache.c: Likewise.
2892         * iconv/skeleton.c: Likewise.
2893         * libio/iofwide.c: Likewise.
2894         * wcsmbs/btowc.c: Likewise.
2895         * wcsmbs/mbrtowc.c: Likewise.
2896         * wcsmbs/mbsnrtowcs.c: Likewise.
2897         * wcsmbs/mbsrtowcs_l.c: Likewise.
2898         * wcsmbs/wcrtomb.c: Likewise.
2899         * wcsmbs/wcsnrtombs.c: Likewise.
2900         * wcsmbs/wcsrtombs.c: Likewise.
2901         * wcsmbs/wctob.c: Likewise.
2902         * iconv_gconv_db.c: Likewise.  After init functions returns mangle
2903         btowc pointer if necessary.
2904         * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
2905
2906         * iconv/gconv_builtin.c (builtin_map): Change type of size
2907         information fields to int8_t.
2908
2909         * libio/iofwide.c (__libio_codecvt): Mark as const.
2910         (__libio_translit): Likewise.
2911         * libio/libioP.h (__libio_codecvt): Adjust declaraction.
2912
2913         * wcsmbs/wcsmbsload.c (to_wc): Mark as const.
2914         (to_mb): Likewise.
2915
2916 2005-12-18  Richard Henderson  <rth@redhat.com>
2917
2918         * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
2919
2920 2005-12-18  Ulrich Drepper  <drepper@redhat.com>
2921
2922         * iconv/gconv_builtin.c: Mark map with attribute_relro.
2923
2924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
2925         version for inside ld.so.
2926
2927         * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
2928
2929         * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid
2930         call to __sigjmp_save.
2931         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2932
2933         * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer.  Fill in
2934         flavor field last and protect with memory barrier.
2935         * stdlib/on_exit.c: Likewise.
2936         * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before
2937         using it.
2938         * stdlib/exit.c: Likewise.
2939
2940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
2941         PTR_DEMANGLE for C code in libc.
2942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2943
2944 2005-12-17  Ulrich Drepper  <drepper@redhat.com>
2945
2946         * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.
2947         * elf/rtld.c: Define __pointer_chk_guard_local and if necessary
2948         __pointer_chk_guard.
2949         (_rtld_global_ro): Initialize _dl_pointer_guard.
2950         (dl_main): Initialize __pointer_chk_guard_local and either
2951         __pointer_chk_guard or TLS value if necessary.
2952         (process_envvars): Recognize and handle LD_POINTER_GUARD.
2953         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard.
2954         * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined.
2955         * sysdeps/x86_64/__longjmp.S: Likewise.
2956         * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined.
2957         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2958         * sysdeps/i386/setjmp.S: Likewise.
2959         [IS_IN_rtld]: Avoid call to __sigjmp_save.
2960         * sysdeps/i386/setjmp.S: Likewise.
2961         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
2962         PTR_DEMANGLE.
2963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2964
2965         * sysdeps/i386/elf/setjmp.S: Removed.
2966         * sysdeps/i386/elf/bsd-setjmp.S: Removed.
2967
2968         * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
2969         setjmp.
2970         * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
2971         * elf/dl-minimal.c (longjmp): Remove definition.
2972
2973         * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
2974
2975 2005-12-14  Thorsten Kukuk  <kukuk@suse.de>
2976
2977         * nscd/Makefile: Don't build nscd_nischeck.
2978         * nscd/nscd_nischeck.c: Removed.
2979
2980 2005-12-15  Ulrich Drepper  <drepper@redhat.com>
2981
2982         * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
2983         separate function __atfct_seterrno_2.
2984         * include/fcntl.h: Declare __atfct_seterrno_2.
2985         * posix/unistd.h: Declare linkat, symlinkat, readlinkat.
2986         * io/Makefile (routines): Add linkat, symlinkat, readlinkat.
2987         * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat.
2988         * io/linkat.c: New file.
2989         * io/readlinkat.c: New file.
2990         * io/symlinkat.c: New file.
2991         * sysdeps/unix/sysv/linux/linkat.c: New file.
2992         * sysdeps/unix/sysv/linux/readlinkat.c: New file.
2993         * sysdeps/unix/sysv/linux/symlinkat.c: New file.
2994
2995 2005-12-15  Roland McGrath  <roland@redhat.com>
2996
2997         [BZ #1997]
2998         * manual/stdio.texi (String Streams): For open_memstream, elaborate a
2999         little on malloc reference.
3000
3001         * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
3002         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3003         * sysdeps/alpha/fpu/s_casinf.c: Likewise.
3004         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3005         * sysdeps/alpha/fpu/s_catanf.c: Likewise.
3006         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3007         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3008         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3009         * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
3010         * sysdeps/alpha/fpu/s_clog10f.c: Likewise.
3011         * sysdeps/alpha/fpu/s_clogf.c: Likewise.
3012         * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
3013         * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
3014         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3015         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3016         * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
3017         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3018         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3019         * sysdeps/alpha/libc-tls.c: Likewise.
3020         * sysdeps/gnu/glob64.c: Likewise.
3021         * sysdeps/gnu/updwtmp.c: Likewise.
3022         * sysdeps/gnu/utmp_file.c: Likewise.
3023         * sysdeps/i386/bzero.c: Likewise.
3024         * sysdeps/i386/ffs.c: Likewise.
3025         * sysdeps/i386/i686/ffs.c: Likewise.
3026         * sysdeps/i386/memset.c: Likewise.
3027         * sysdeps/ia64/fpu/printf_fphex.c: Likewise.
3028         * sysdeps/ia64/libc-tls.c: Likewise.
3029         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3030         * sysdeps/m68k/ffs.c: Likewise.
3031         * sysdeps/mach/hurd/getdents.c: Likewise.
3032         * sysdeps/mach/hurd/init-posix.c: Likewise.
3033         * sysdeps/mach/msync.c: Likewise.
3034         * sysdeps/mips/libc-tls.c: Likewise.
3035         * sysdeps/posix/profil.c: Likewise.
3036         * sysdeps/posix/shm_open.c: Likewise.
3037         * sysdeps/posix/shm_unlink.c: Likewise.
3038         * sysdeps/posix/sprofil.c: Likewise.
3039         * sysdeps/powerpc/ffs.c: Likewise.
3040         * sysdeps/rs6000/ffs.c: Likewise.
3041         * sysdeps/s390/libc-tls.c: Likewise.
3042         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3043         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
3044         * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise.
3045         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
3046         * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
3047         * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
3048         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3049         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3050         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3051         * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
3052         * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise.
3053         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
3054         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
3055         * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise.
3056         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
3057         * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise.
3058         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
3059         * sysdeps/unix/sysv/linux/mq_close.c: Likewise.
3060         * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise.
3061         * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
3062         * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
3063         * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
3064         * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
3065         * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise.
3066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3068         * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise.
3069         * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise.
3070         * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.
3071         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3072         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
3073         * sysdeps/unix/sysv/linux/sigstack.c: Likewise.
3074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
3075         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3076         * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise.
3077         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
3078         * sysdeps/unix/sysv/linux/vfork.c: Likewise.
3079         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
3080
3081         * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
3082
3083 2005-12-13  Ulrich Drepper  <drepper@redhat.com>
3084
3085         * locale/programs/charmap-kw.h: Regenerated with new gperf.
3086         * locale/programs/locfile-kw.h: Likewise.
3087
3088         * Makeconfig (+includes): Look in current directory late.
3089         * Makerules: Add rules from rules before the rules for the current
3090         directory.
3091         * sysdeps/generic/__longjmp.c: Moved to...
3092         * setjmp/__longjmp.c: ...here.
3093         * sysdeps/generic/_exit.c: Moved to...
3094         * posix/_exit.c: ...here.
3095         * sysdeps/generic/_strerror.c: Moved to...
3096         * string/_strerror.c: ...here.
3097         * sysdeps/generic/abort.c: Moved to...
3098         * stdlib/abort.c: ...here.
3099         * sysdeps/generic/accept.c: Moved to...
3100         * socket/accept.c: ...here.
3101         * sysdeps/generic/access.c: Moved to...
3102         * io/access.c: ...here.
3103         * sysdeps/generic/acct.c: Moved to...
3104         * misc/acct.c: ...here.
3105         * sysdeps/generic/add_n.c: Moved to...
3106         * stdlib/add_n.c: ...here.
3107         * sysdeps/generic/addmul_1.c: Moved to...
3108         * stdlib/addmul_1.c: ...here.
3109         * sysdeps/generic/adjtime.c: Moved to...
3110         * time/adjtime.c: ...here.
3111         * sysdeps/generic/aio_cancel.c: Moved to...
3112         * rt/aio_cancel.c: ...here.
3113         * sysdeps/generic/aio_fsync.c: Moved to...
3114         * rt/aio_fsync.c: ...here.
3115         * sysdeps/generic/aio_misc.c: Moved to...
3116         * rt/aio_misc.c: ...here.
3117         * sysdeps/generic/aio_notify.c: Moved to...
3118         * rt/aio_notify.c: ...here.
3119         * sysdeps/generic/aio_read.c: Moved to...
3120         * rt/aio_read.c: ...here.
3121         * sysdeps/generic/aio_read64.c: Moved to...
3122         * rt/aio_read64.c: ...here.
3123         * sysdeps/generic/aio_sigqueue.c: Moved to...
3124         * rt/aio_sigqueue.c: ...here.
3125         * sysdeps/generic/aio_suspend.c: Moved to...
3126         * rt/aio_suspend.c: ...here.
3127         * sysdeps/generic/aio_write.c: Moved to...
3128         * rt/aio_write.c: ...here.
3129         * sysdeps/generic/aio_write64.c: Moved to...
3130         * rt/aio_write64.c: ...here.
3131         * sysdeps/generic/alarm.c: Moved to...
3132         * posix/alarm.c: ...here.
3133         * sysdeps/generic/allocrtsig.c: Moved to...
3134         * signal/allocrtsig.c: ...here.
3135         * sysdeps/generic/alphasort64.c: Moved to...
3136         * dirent/alphasort64.c: ...here.
3137         * sysdeps/generic/backtrace.c: Moved to...
3138         * debug/backtrace.c: ...here.
3139         * sysdeps/generic/backtracesyms.c: Moved to...
3140         * debug/backtracesyms.c: ...here.
3141         * sysdeps/generic/backtracesymsfd.c: Moved to...
3142         * debug/backtracesymsfd.c: ...here.
3143         * sysdeps/generic/bb_init_func.c: Moved to...
3144         * gmon/bb_init_func.c: ...here.
3145         * sysdeps/generic/bcopy.c: Moved to...
3146         * string/bcopy.c: ...here.
3147         * sysdeps/generic/bind.c: Moved to...
3148         * socket/bind.c: ...here.
3149         * sysdeps/generic/brdinit.c: Moved to...
3150         * bare/brdinit.c: ...here.
3151         * sysdeps/generic/brk.c: Moved to...
3152         * misc/brk.c: ...here.
3153         * sysdeps/generic/bsd-_setjmp.c: Moved to...
3154         * setjmp/bsd-_setjmp.c: ...here.
3155         * sysdeps/generic/bsd-setjmp.c: Moved to...
3156         * setjmp/bsd-setjmp.c: ...here.
3157         * sysdeps/generic/bzero.c: Moved to...
3158         * string/bzero.c: ...here.
3159         * sysdeps/generic/cabsf.c: Moved to...
3160         * math/cabsf.c: ...here.
3161         * sysdeps/generic/cargf.c: Moved to...
3162         * math/cargf.c: ...here.
3163         * sysdeps/generic/chdir.c: Moved to...
3164         * io/chdir.c: ...here.
3165         * sysdeps/generic/check_fds.c: Moved to...
3166         * csu/check_fds.c: ...here.
3167         * sysdeps/generic/check_pf.c: Moved to...
3168         * inet/check_pf.c: ...here.
3169         * sysdeps/generic/chflags.c: Moved to...
3170         * misc/chflags.c: ...here.
3171         * sysdeps/generic/chmod.c: Moved to...
3172         * io/chmod.c: ...here.
3173         * sysdeps/generic/chown.c: Moved to...
3174         * io/chown.c: ...here.
3175         * sysdeps/generic/chroot.c: Moved to...
3176         * misc/chroot.c: ...here.
3177         * sysdeps/generic/cimagf.c: Moved to...
3178         * math/cimagf.c: ...here.
3179         * sysdeps/generic/clock.c: Moved to...
3180         * time/clock.c: ...here.
3181         * sysdeps/generic/clock_getcpuclockid.c: Moved to...
3182         * rt/clock_getcpuclockid.c: ...here.
3183         * sysdeps/generic/clock_getres.c: Moved to...
3184         * rt/clock_getres.c: ...here.
3185         * sysdeps/generic/clock_gettime.c: Moved to...
3186         * rt/clock_gettime.c: ...here.
3187         * sysdeps/generic/clock_nanosleep.c: Moved to...
3188         * rt/clock_nanosleep.c: ...here.
3189         * sysdeps/generic/clock_settime.c: Moved to...
3190         * rt/clock_settime.c: ...here.
3191         * sysdeps/generic/close.c: Moved to...
3192         * io/close.c: ...here.
3193         * sysdeps/generic/closedir.c: Moved to...
3194         * dirent/closedir.c: ...here.
3195         * sysdeps/generic/cmp.c: Moved to...
3196         * stdlib/cmp.c: ...here.
3197         * sysdeps/generic/conjf.c: Moved to...
3198         * math/conjf.c: ...here.
3199         * sysdeps/generic/connect.c: Moved to...
3200         * socket/connect.c: ...here.
3201         * sysdeps/generic/console.c: Moved to...
3202         * bare/console.c: ...here.
3203         * sysdeps/generic/crealf.c: Moved to...
3204         * math/crealf.c: ...here.
3205         * sysdeps/generic/creat.c: Moved to...
3206         * io/creat.c: ...here.
3207         * sysdeps/generic/creat64.c: Moved to...
3208         * io/creat64.c: ...here.
3209         * sysdeps/generic/ctermid.c: Moved to...
3210         * stdio-common/ctermid.c: ...here.
3211         * sysdeps/generic/cuserid.c: Moved to...
3212         * stdio-common/cuserid.c: ...here.
3213         * sysdeps/generic/dbl2mpn.c: Moved to...
3214         * stdlib/dbl2mpn.c: ...here.
3215         * sysdeps/generic/dirfd.c: Moved to...
3216         * dirent/dirfd.c: ...here.
3217         * sysdeps/generic/div.c: Moved to...
3218         * stdlib/div.c: ...here.
3219         * sysdeps/generic/divmod_1.c: Moved to...
3220         * stdlib/divmod_1.c: ...here.
3221         * sysdeps/generic/divrem.c: Moved to...
3222         * stdlib/divrem.c: ...here.
3223         * sysdeps/generic/dl-brk.c: Moved to...
3224         * elf/dl-brk.c: ...here.
3225         * sysdeps/generic/dl-cache.c: Moved to...
3226         * elf/dl-cache.c: ...here.
3227         * sysdeps/generic/dl-environ.c: Moved to...
3228         * elf/dl-environ.c: ...here.
3229         * sysdeps/generic/dl-execstack.c: Moved to...
3230         * elf/dl-execstack.c: ...here.
3231         * sysdeps/generic/dl-fptr.c: Moved to...
3232         * elf/dl-fptr.c: ...here.
3233         * sysdeps/generic/dl-origin.c: Moved to...
3234         * elf/dl-origin.c: ...here.
3235         * sysdeps/generic/dl-sbrk.c: Moved to...
3236         * elf/dl-sbrk.c: ...here.
3237         * sysdeps/generic/dl-symaddr.c: Moved to...
3238         * elf/dl-symaddr.c: ...here.
3239         * sysdeps/generic/dl-sysdep.c: Moved to...
3240         * elf/dl-sysdep.c: ...here.
3241         * sysdeps/generic/dl-tls.c: Moved to...
3242         * elf/dl-tls.c: ...here.
3243         * sysdeps/generic/dl-trampoline.c: Moved to...
3244         * elf/dl-trampoline.c: ...here.
3245         * sysdeps/generic/dup.c: Moved to...
3246         * io/dup.c: ...here.
3247         * sysdeps/generic/dup2.c: Moved to...
3248         * io/dup2.c: ...here.
3249         * sysdeps/generic/e_acoshl.c: Moved to...
3250         * math/e_acoshl.c: ...here.
3251         * sysdeps/generic/e_acosl.c: Moved to...
3252         * math/e_acosl.c: ...here.
3253         * sysdeps/generic/e_asinl.c: Moved to...
3254         * math/e_asinl.c: ...here.
3255         * sysdeps/generic/e_atan2l.c: Moved to...
3256         * math/e_atan2l.c: ...here.
3257         * sysdeps/generic/e_atanhl.c: Moved to...
3258         * math/e_atanhl.c: ...here.
3259         * sysdeps/generic/e_coshl.c: Moved to...
3260         * math/e_coshl.c: ...here.
3261         * sysdeps/generic/e_exp10.c: Moved to...
3262         * math/e_exp10.c: ...here.
3263         * sysdeps/generic/e_exp10f.c: Moved to...
3264         * math/e_exp10f.c: ...here.
3265         * sysdeps/generic/e_exp10l.c: Moved to...
3266         * math/e_exp10l.c: ...here.
3267         * sysdeps/generic/e_exp2l.c: Moved to...
3268         * math/e_exp2l.c: ...here.
3269         * sysdeps/generic/e_expl.c: Moved to...
3270         * math/e_expl.c: ...here.
3271         * sysdeps/generic/e_fmodl.c: Moved to...
3272         * math/e_fmodl.c: ...here.
3273         * sysdeps/generic/e_gammal_r.c: Moved to...
3274         * math/e_gammal_r.c: ...here.
3275         * sysdeps/generic/e_hypotl.c: Moved to...
3276         * math/e_hypotl.c: ...here.
3277         * sysdeps/generic/e_j0l.c: Moved to...
3278         * math/e_j0l.c: ...here.
3279         * sysdeps/generic/e_j1l.c: Moved to...
3280         * math/e_j1l.c: ...here.
3281         * sysdeps/generic/e_jnl.c: Moved to...
3282         * math/e_jnl.c: ...here.
3283         * sysdeps/generic/e_lgammal_r.c: Moved to...
3284         * math/e_lgammal_r.c: ...here.
3285         * sysdeps/generic/e_log10l.c: Moved to...
3286         * math/e_log10l.c: ...here.
3287         * sysdeps/generic/e_log2l.c: Moved to...
3288         * math/e_log2l.c: ...here.
3289         * sysdeps/generic/e_logl.c: Moved to...
3290         * math/e_logl.c: ...here.
3291         * sysdeps/generic/e_powl.c: Moved to...
3292         * math/e_powl.c: ...here.
3293         * sysdeps/generic/e_rem_pio2l.c: Moved to...
3294         * math/e_rem_pio2l.c: ...here.
3295         * sysdeps/generic/e_scalb.c: Moved to...
3296         * math/e_scalb.c: ...here.
3297         * sysdeps/generic/e_scalbf.c: Moved to...
3298         * math/e_scalbf.c: ...here.
3299         * sysdeps/generic/e_scalbl.c: Moved to...
3300         * math/e_scalbl.c: ...here.
3301         * sysdeps/generic/e_sinhl.c: Moved to...
3302         * math/e_sinhl.c: ...here.
3303         * sysdeps/generic/e_sqrtl.c: Moved to...
3304         * math/e_sqrtl.c: ...here.
3305         * sysdeps/generic/enbl-secure.c: Moved to...
3306         * elf/enbl-secure.c: ...here.
3307         * sysdeps/generic/endutxent.c: Moved to...
3308         * login/endutxent.c: ...here.
3309         * sysdeps/generic/environ.c: Moved to...
3310         * posix/environ.c: ...here.
3311         * sysdeps/generic/errlist.c: Moved to...
3312         * stdio-common/errlist.c: ...here.
3313         * sysdeps/generic/errno-loc.c: Moved to...
3314         * csu/errno-loc.c: ...here.
3315         * sysdeps/generic/errno-loc.c: Moved to...
3316         * csu/errno-loc.c: ...here.
3317         * sysdeps/generic/errno.c: Moved to...
3318         * csu/errno.c: ...here.
3319         * sysdeps/generic/euidaccess.c: Moved to...
3320         * io/euidaccess.c: ...here.
3321         * sysdeps/generic/exc2signal.c: Moved to...
3322         * hurd/exc2signal.c: ...here.
3323         * sysdeps/generic/execve.c: Moved to...
3324         * posix/execve.c: ...here.
3325         * sysdeps/generic/fattach.c: Moved to...
3326         * streams/fattach.c: ...here.
3327         * sysdeps/generic/fchdir.c: Moved to...
3328         * io/fchdir.c: ...here.
3329         * sysdeps/generic/fchflags.c: Moved to...
3330         * misc/fchflags.c: ...here.
3331         * sysdeps/generic/fchmod.c: Moved to...
3332         * io/fchmod.c: ...here.
3333         * sysdeps/generic/fchown.c: Moved to...
3334         * io/fchown.c: ...here.
3335         * sysdeps/generic/fchownat.c: Moved to...
3336         * io/fchownat.c: ...here.
3337         * sysdeps/generic/fclrexcpt.c: Moved to...
3338         * math/fclrexcpt.c: ...here.
3339         * sysdeps/generic/fcntl.c: Moved to...
3340         * io/fcntl.c: ...here.
3341         * sysdeps/generic/fdatasync.c: Moved to...
3342         * misc/fdatasync.c: ...here.
3343         * sysdeps/generic/fdetach.c: Moved to...
3344         * streams/fdetach.c: ...here.
3345         * sysdeps/generic/fdopendir.c: Moved to...
3346         * dirent/fdopendir.c: ...here.
3347         * sysdeps/generic/fedisblxcpt.c: Moved to...
3348         * math/fedisblxcpt.c: ...here.
3349         * sysdeps/generic/feenablxcpt.c: Moved to...
3350         * math/feenablxcpt.c: ...here.
3351         * sysdeps/generic/fegetenv.c: Moved to...
3352         * math/fegetenv.c: ...here.
3353         * sysdeps/generic/fegetexcept.c: Moved to...
3354         * math/fegetexcept.c: ...here.
3355         * sysdeps/generic/fegetround.c: Moved to...
3356         * math/fegetround.c: ...here.
3357         * sysdeps/generic/feholdexcpt.c: Moved to...
3358         * math/feholdexcpt.c: ...here.
3359         * sysdeps/generic/fesetenv.c: Moved to...
3360         * math/fesetenv.c: ...here.
3361         * sysdeps/generic/fesetround.c: Moved to...
3362         * math/fesetround.c: ...here.
3363         * sysdeps/generic/feupdateenv.c: Moved to...
3364         * math/feupdateenv.c: ...here.
3365         * sysdeps/generic/fexecve.c: Moved to...
3366         * posix/fexecve.c: ...here.
3367         * sysdeps/generic/ffs.c: Moved to...
3368         * string/ffs.c: ...here.
3369         * sysdeps/generic/ffsll.c: Moved to...
3370         * string/ffsll.c: ...here.
3371         * sysdeps/generic/fgetexcptflg.c: Moved to...
3372         * math/fgetexcptflg.c: ...here.
3373         * sysdeps/generic/fgetxattr.c: Moved to...
3374         * misc/fgetxattr.c: ...here.
3375         * sysdeps/generic/flistxattr.c: Moved to...
3376         * misc/flistxattr.c: ...here.
3377         * sysdeps/generic/flock.c: Moved to...
3378         * io/flock.c: ...here.
3379         * sysdeps/generic/flockfile.c: Moved to...
3380         * stdio-common/flockfile.c: ...here.
3381         * sysdeps/generic/fork.c: Moved to...
3382         * posix/fork.c: ...here.
3383         * sysdeps/generic/fpathconf.c: Moved to...
3384         * posix/fpathconf.c: ...here.
3385         * sysdeps/generic/fpu_control.c: Moved to...
3386         * math/fpu_control.c: ...here.
3387         * sysdeps/generic/fraiseexcpt.c: Moved to...
3388         * math/fraiseexcpt.c: ...here.
3389         * sysdeps/generic/fremovexattr.c: Moved to...
3390         * misc/fremovexattr.c: ...here.
3391         * sysdeps/generic/fsetexcptflg.c: Moved to...
3392         * math/fsetexcptflg.c: ...here.
3393         * sysdeps/generic/fsetxattr.c: Moved to...
3394         * misc/fsetxattr.c: ...here.
3395         * sysdeps/generic/fstatfs.c: Moved to...
3396         * io/fstatfs.c: ...here.
3397         * sysdeps/generic/fstatfs64.c: Moved to...
3398         * io/fstatfs64.c: ...here.
3399         * sysdeps/generic/fstatvfs.c: Moved to...
3400         * io/fstatvfs.c: ...here.
3401         * sysdeps/generic/fstatvfs64.c: Moved to...
3402         * io/fstatvfs64.c: ...here.
3403         * sysdeps/generic/fsync.c: Moved to...
3404         * misc/fsync.c: ...here.
3405         * sysdeps/generic/ftestexcept.c: Moved to...
3406         * math/ftestexcept.c: ...here.
3407         * sysdeps/generic/ftime.c: Moved to...
3408         * time/ftime.c: ...here.
3409         * sysdeps/generic/ftruncate.c: Moved to...
3410         * misc/ftruncate.c: ...here.
3411         * sysdeps/generic/ftruncate64.c: Moved to...
3412         * misc/ftruncate64.c: ...here.
3413         * sysdeps/generic/ftrylockfile.c: Moved to...
3414         * stdio-common/ftrylockfile.c: ...here.
3415         * sysdeps/generic/funlockfile.c: Moved to...
3416         * stdio-common/funlockfile.c: ...here.
3417         * sysdeps/generic/futimes.c: Moved to...
3418         * misc/futimes.c: ...here.
3419         * sysdeps/generic/futimesat.c: Moved to...
3420         * misc/futimesat.c: ...here.
3421         * sysdeps/generic/fxstat.c: Moved to...
3422         * io/fxstat.c: ...here.
3423         * sysdeps/generic/fxstat64.c: Moved to...
3424         * io/fxstat64.c: ...here.
3425         * sysdeps/generic/fxstatat.c: