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