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