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