845ce14fd0349d5a30966b214c95dcddfaed43bf
[platform/upstream/glibc.git] / ChangeLog
1 2006-01-11  Ulrich Drepper  <drepper@redhat.com>
2
3         * elf/check-localplt.c: New file.
4         * elf/Makefile: Add rules to build and run check-localplt.
5         * scripts/data/localplt-x86_64-linux-gnu.data: New file.
6         * scripts/data/localplt-i386-linux-gnu.data: New file.
7
8         * include/sys/stat.h: Add libc_hidden_proto for __fxstatat64.
9         * sysdeps/unix/sysv/linux/fxstatat64.c: Add libc_hidden_def for
10         __fxstatat64.
11         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Add
12         __GI___fxstatat64 alias.
13
14         * libio/memstream.c (_IO_mem_finish): Fix potential memory leak of
15         realloc fails.
16
17         * include/sched.h: Add libc_hidden_proto for __sched_yield.
18
19         * libio/genops.c (_IO_unbuffer_write): Give concurrently running
20         threads the chance to work correctly by trying to lock the stream.
21         If this does not work, proceed without locking.
22
23 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
24
25         * libio/genops.c (_IO_unbuffer_write): Don't always free the
26         buffer.  This is not necessary except in debug mode.  If we don't
27         free the buffer but the FILE structure to a list.
28         (buffer_free): New function.  Free buffers or tell _IO_unbuffer_write
29         to do so.
30         * libio/libio.h (struct _IO_FILE): Add new members to keep track
31         of which buffers have to be freed.
32
33         * iconv/gconv_cache.c (free_mem): Don't call munmap if gconv_cache
34         is NULL.
35
36 2005-10-14  Paul Eggert  <eggert@cs.ucla.edu>
37
38         * malloc/obstack.c: Fix old comments.  Update FSF snail mail address.
39         * malloc/obstack.h: Likewise.
40
41         [BZ #321]
42         Fix portability bugs encountered when porting to Itanium.
43         * malloc/obstack.h (obstack_empty_p, obstack_finish): Do not
44         assume that the "contents" member is suitably aligned.  It is
45         not, for some hosts and alignments: e.g., Itanium, long-double.
46         * malloc/obstack.c (_obstack_begin, _obstack_begin_1,
47         _obstack_newchunk): Likewise.
48         * malloc/obstack.c: Include <stddef.h>, for size_t.
49         Include <inttypes.h>, <stdint.h> if needed and available.
50         (DEFAULT_ALIGNMENT): Now an enum constant, not a macro.
51         Use C89 offsetof rather than K&R trick.
52         Use the maximum alignment of uintmax_t, long double, void *
53         rather than the alignment of double.
54         (union fooround): Use uintmax_t, long double, void * members
55         rather than just long and double.
56
57         [BZ #321]
58         Fix portability bugs encountered when porting to the IBM iSeries,
59         where pointers are 256 bits wide and no integers are that wide.
60         * malloc/obstack.h (__PTR_TO_INT, __INT_TO_PTR): Remove.
61         All uses changed to:
62         (__BPTR_ALIGN, __PTR_ALIGN): New macros.
63         (struct _obstack_chunk.temp): Change from int to a union
64         of pointer and int.  All uses changed.
65
66         [BZ #321]
67         * malloc/obstack.c (print_and_abort) [!_LIBC]:
68         Call fprintf (stderr, ...), not __fxprintf (NULL, ...).
69         [_LIBC && USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed.
70
71 2006-01-10  Derek Price  <derek@ximbiot.com>
72             Paul Eggert  <eggert@cs.ucla.edu>
73
74         [BZ #1060]
75         * posix/glob.c: Assume freestanding C89 compiler.  Simplify cruft that
76         may be replaced with GNULIB modules.  Make no attempt to find 64-bit
77         versions of file access functions directly when [!_LIBC].
78         Don't define GLOB_* macros here.
79         (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK, DIRENT_MIGHT_BE_DIR): New
80         macros to abstract dirent->d_type access.
81         (GETPW_R_SIZE_MAX, GET_LOGIN_NAME_MAX): New macros to abstract sysconf
82         access.
83
84 2006-01-10  Roland McGrath  <roland@redhat.com>
85
86         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
87         (PTR_MANGLE): Fix cast.
88
89         * timezone/test-tz.c: Revert last change, updating to match
90         tzdata2005r definition of "MST".
91
92 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
93
94         * include/bits/setjmp.h: Don't include jmpbuf-offsets.h if _ISOMAC is
95         defined.
96
97 2006-01-10  Andreas Jaeger  <aj@suse.de>
98
99         * include/time.h: Use normal comments.
100
101 2006-01-10  Thomas Schwinge  <tschwinge@gnu.org>
102
103         * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>.
104         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
105
106 2006-01-10  Jakub Jelinek  <jakub@redhat.com>
107
108         * wcsmbs/bits/wchar2.h (vswprintf): Call __vswprintf_alias rather than
109         vswprintf recursively.
110
111 2006-01-10  Ulrich Drepper  <drepper@redhat.com>
112
113         * sysdeps/x86_64/bits/setjmp.h: Add back accidently removed #endif.
114
115 2006-01-10  Roland McGrath  <roland@redhat.com>
116
117         * include/bits/setjmp.h: New file.
118         * setjmp/jmpbuf-offsets.h: New file.
119         * sysdeps/alpha/bits/setjmp.h: Move JB_* macros ...
120         * sysdeps/alpha/jmpbuf-offsets.h: ... here, new file.
121         * sysdeps/hppa/bits/setjmp.h (JB_SP): Macro moved ...
122         * sysdeps/hppa/jmpbuf-offsets.h: ... here, new file.
123         * sysdeps/i386/bits/setjmp.h: Move JB_* macros ...
124         * sysdeps/i386/jmpbuf-offsets.h: ... here, new file.
125         * sysdeps/mips/bits/setjmp.h (JB_PC): Macro removed.
126         * sysdeps/powerpc/bits/setjmp.h: Move JB_* macros ...
127         * sysdeps/powerpc/jmpbuf-offsets.h: ... here, new file.
128         * sysdeps/s390/bits/setjmp.h: Remove __JB_* macros.
129         * sysdeps/sh/bits/setjmp.h (JB_SIZE): Macro moved ...
130         * sysdeps/sh/jmpbuf-offsets.h: ... here, new file.
131         * sysdeps/sparc/sparc32/bits/setjmp.h: Move JB_* macros ...
132         * sysdeps/sparc/sparc32/jmpbuf-offsets.h: ... here, new file.
133         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Remove JB_* macros.
134         * sysdeps/x86_64/bits/setjmp.h: Move JB_* macros ...
135         * sysdeps/x86_64/jmpbuf-offsets.h: ... here, new file.
136
137         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
138         * sysdeps/powerpc/jmpbuf-unwind.h: ... here.
139         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
140         * sysdeps/alpha/jmpbuf-unwind.h: ... here.
141         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
142         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: ... here.
143         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
144         * sysdeps/i386/jmpbuf-unwind.h: ... here.
145         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
146         * sysdeps/x86_64/jmpbuf-unwind.h: ... here.
147         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
148         * sysdeps/sh/jmpbuf-unwind.h: ... here.
149         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
150         * sysdeps/hppa/jmpbuf-unwind.h: ... here, new file.
151         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
152         * sysdeps/mips/jmpbuf-unwind.h: ... here.
153         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
154         * sysdeps/m68k/jmpbuf-unwind.h: ... here, new file.
155         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Move macro ...
156         * sysdeps/s390/jmpbuf-unwind.h: ... here.
157         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
158         Move macro ...
159         * sysdeps/ia64/jmpbuf-unwind.h: ... here.
160         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS):
161         Move macro ...
162         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: ... here.
163
164         * sysdeps/alpha/jmpbuf-unwind.h: New file, moved from nptl/.
165         * sysdeps/i386/jmpbuf-unwind.h: New file, moved from nptl/.
166         * sysdeps/ia64/jmpbuf-unwind.h: New file, moved from nptl/.
167         * sysdeps/mips/jmpbuf-unwind.h: New file, moved from nptl/.
168         * sysdeps/powerpc/jmpbuf-unwind.h: New file, moved from nptl/.
169         * sysdeps/s390/jmpbuf-unwind.h: New file, moved from nptl/.
170         * sysdeps/sh/jmpbuf-unwind.h: New file, moved from nptl/.
171         * sysdeps/sparc/sparc32/jmpbuf-unwind.h: New file, moved from nptl/.
172         * sysdeps/sparc/sparc64/jmpbuf-unwind.h: New file, moved from nptl/.
173         * sysdeps/x86_64/jmpbuf-unwind.h: New file, moved from nptl/.
174
175         * sysdeps/linkmap.h: File removed.
176
177 2006-01-07  Carlos O'Donell  <carlos@systemhalted.org>
178
179         * sysdeps/hppa/elf/start.S (_start): Use PLABEL32 relocations
180         by using LR and RR. Add %sr0 to iitlbp.
181
182 2006-01-09  Roland McGrath  <roland@redhat.com>
183
184         * timezone/private.h: Update from tzcode2005r.
185         * timezone/tzfile.h: Likewise.
186         * timezone/zdump.c: Likewise.
187         * timezone/zic.c: Likewise.
188         * timezone/africa: Update from tzdata2005r.
189         * timezone/antarctica: Likewise.
190         * timezone/asia: Likewise.
191         * timezone/australasia: Likewise.
192         * timezone/backward: Likewise.
193         * timezone/europe: Likewise.
194         * timezone/northamerica: Likewise.
195         * timezone/southamerica: Likewise.
196         * timezone/systemv: Likewise.
197
198         * elf/Makefile ($(objpfx)reldep5.out): Fix dependency typo,
199         so we depend on $(objpfx)reldepmod6.so as intended.
200
201 2006-01-09  Ulrich Drepper  <drepper@redhat.com>
202
203         [BZ #2126]
204         * sysdeps/i386/i686/strtok.S: Store pointer to NUL byte if NULL is
205         returned.
206         * sysdeps/i386/strtok.S: Likewise.
207         * sysdeps/x86_64/strtok.S: Likewise.
208         * string/Makefile (tests): Add bug-strtok1.
209         * string/bug-strtok1.c: New file.
210
211         * elf/check-textrel.c (AB): Also check for writable and executable
212         segments.
213
214         * sysdeps/ieee754/dbl-64/e_exp2.c: Remove section attribute from
215         const variables, gas produces garbage.
216         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
217         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
218         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
219
220 2006-01-09  Jakub Jelinek  <jakub@redhat.com>
221
222         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h (_JMPBUF_UNWINDS): Add
223         stack bias to mc_fp field.
224
225         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h
226         (struct kernel_stat): Rename st_[amc]time fields to st_[amc]time_sec.
227         (struct kernel_stat64): New type.
228         (_HAVE___UNUSED1, _HAVE___UNUSED2, _HAVE_STAT___UNUSED1,
229         _HAVE_STAT___UNUSED2, _HAVE_STAT___UNUSED3, _HAVE_STAT___UNUSED4,
230         _HAVE_STAT___UNUSED5, _HAVE_STAT___PAD1, _HAVE_STAT___PAD2,
231         _HAVE_STAT64___UNUSED1, _HAVE_STAT64___UNUSED2,
232         _HAVE_STAT64___UNUSED3, _HAVE_STAT64___UNUSED4,
233         _HAVE_STAT64___UNUSED5, _HAVE_STAT64___PAD1, _HAVE_STAT64___PAD2):
234         Remove.
235         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Use i386/xstat.c.
236         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c:
237         Use i386/fxstatat.c.
238         * sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: Use i386/lxstat.c.
239         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: New file.
240         * sysdeps/unix/sysv/linux/sparc/bits/stat.h (struct stat,
241         struct stat64): Add nsec resolution for 64-bit code like already done
242         for 32-bit code.
243         * sysdeps/unix/sysv/linux/kernel-features.h
244         (__ASSUME_TRUNCATE64_SYSCALL, __ASSUME_MMAP2_SYSCALL): Don't define
245         for sparc64.
246         (__ASSUME_STAT64_SYSCALL): Only define for sparc64 for >= 2.6.12
247         kernels.
248
249         * scripts/data/c++-types-sparc-linux-gnu.data: New file.
250         * scripts/data/c++-types-sparc64-linux-gnu.data: New file.
251         * scripts/data/c++-types-alpha-linux-gnu.data: Adjust.
252
253 2006-01-08  Roland McGrath  <roland@redhat.com>
254
255         [BZ #1535]
256         * sysdeps/unix/get_child_max.c: New file.
257         * posix/get_child_max.c: New file.
258         * posix/Makefile (routines): Add it.
259         * include/sys/sysinfo.h (__get_child_max): Declare it.
260         * sysdeps/posix/sysconf.c (__sysconf) [! CHILD_MAX]: Use it.
261
262         * sysdeps/unix/sysv/linux/futimes.c [!__NR_fcntl && __NR_fcntl64]: Use
263         fcntl64 syscall instead.
264
265         * stdio-common/tst-fmemopen2.c (do_test): Add a cast.
266         * stdio-common/printf-parsemb.c (__find_specmb): Likewise.
267
268         * sysdeps/unix/sysv/linux/alpha/adjtime.c: Use <> instead of "" in
269         #include for kernel-features.h.
270         * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: Likewise.
271         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.c: Likewise.
272         * sysdeps/unix/sysv/linux/alpha/getitimer.S: Likewise.
273         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
274         * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
275         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
276         * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
277         * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
278         * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
279         * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
280         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
281         * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
282         * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
283         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
284         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
285         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
286         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
287         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
288         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
289         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
290         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
291         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
292         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
293         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
294         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
295         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
296         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
297         * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
298         * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
299         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
300         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
301         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
302         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
303         * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
304         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
305         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
306         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
307         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
308         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
309         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
310         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
311         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
312         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
313         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
314         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
315         * sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
316         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
317         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
318         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
319         * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
320         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
321         * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
322         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
323         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
324         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
325         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
326         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
327         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
328         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
329         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
330         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
331         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
332         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
333         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
334         * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
335         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
336         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
337         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
338         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
339         * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
340         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Likewise.
341         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
342         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
343         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
344         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
345         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
346         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
347         * sysdeps/unix/sysv/linux/opendir.c: Likewise.
348         * sysdeps/unix/sysv/linux/poll.c: Likewise.
349         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Likewise.
351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.c: Likewise.
358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
366         * sysdeps/unix/sysv/linux/pread.c: Likewise.
367         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
368         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
369         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
370         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
371         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
372         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
373         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
374         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
375         * sysdeps/unix/sysv/linux/setegid.c: Likewise.
376         * sysdeps/unix/sysv/linux/seteuid.c: Likewise.
377         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
378         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
379         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
380         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
381         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
382         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Likewise.
383         * sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
384         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
385         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
386         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
387         * sysdeps/unix/sysv/linux/utimes.c: Likewise.
388         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
389         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
390
391 2006-01-07  Roland McGrath  <roland@redhat.com>
392
393         * po/libc.pot: Regenerated.
394
395         * po/.cvsignore: List libc.pot.files, and not any .pot names.
396
397         * manual/maint.texi (Porting): Don't mention Dist files.
398         * sysdeps/alpha/soft-fp/Dist: File removed.
399         * sysdeps/alpha/Dist: File removed.
400         * sysdeps/i386/i686/Dist: File removed.
401         * sysdeps/i386/soft-fp/Dist: File removed.
402         * sysdeps/i386/Dist: File removed.
403         * sysdeps/mips/soft-fp/Dist: File removed.
404         * sysdeps/mips/mips64/soft-fp/Dist: File removed.
405         * sysdeps/mips/mips64/Dist: File removed.
406         * sysdeps/mips/Dist: File removed.
407         * sysdeps/wordsize-32/Dist: File removed.
408         * sysdeps/m68k/fpu/switch/Dist: File removed.
409         * sysdeps/m68k/fpu/Dist: File removed.
410         * sysdeps/powerpc/powerpc64/Dist: File removed.
411         * sysdeps/powerpc/soft-fp/Dist: File removed.
412         * sysdeps/powerpc/powerpc32/fpu/Dist: File removed.
413         * sysdeps/powerpc/powerpc32/Dist: File removed.
414         * sysdeps/powerpc/fpu/Dist: File removed.
415         * sysdeps/powerpc/Dist: File removed.
416         * sysdeps/unix/common/Dist: File removed.
417         * sysdeps/unix/bsd/bsd4.4/Dist: File removed.
418         * sysdeps/unix/bsd/Dist: File removed.
419         * sysdeps/unix/sysv/linux/alpha/Dist: File removed.
420         * sysdeps/unix/sysv/linux/i386/Dist: File removed.
421         * sysdeps/unix/sysv/linux/mips/mips64/Dist: File removed.
422         * sysdeps/unix/sysv/linux/mips/Dist: File removed.
423         * sysdeps/unix/sysv/linux/m68k/Dist: File removed.
424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: File removed.
425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: File removed.
426         * sysdeps/unix/sysv/linux/powerpc/aix/Dist: File removed.
427         * sysdeps/unix/sysv/linux/powerpc/Dist: File removed.
428         * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: File removed.
429         * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: File removed.
430         * sysdeps/unix/sysv/linux/sparc/Dist: File removed.
431         * sysdeps/unix/sysv/linux/ia64/Dist: File removed.
432         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: File removed.
433         * sysdeps/unix/sysv/linux/s390/Dist: File removed.
434         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: File removed.
435         * sysdeps/unix/sysv/linux/sh/Dist: File removed.
436         * sysdeps/unix/sysv/linux/x86_64/Dist: File removed.
437         * sysdeps/unix/sysv/linux/hppa/Dist: File removed.
438         * sysdeps/unix/sysv/linux/Dist: File removed.
439         * sysdeps/unix/sysv/Dist: File removed.
440         * sysdeps/unix/Dist: File removed.
441         * sysdeps/generic/Dist: File removed.
442         * sysdeps/sparc/sparc32/soft-fp/Dist: File removed.
443         * sysdeps/sparc/sparc32/sparcv9/Dist: File removed.
444         * sysdeps/sparc/sparc32/sparcv8/Dist: File removed.
445         * sysdeps/sparc/sparc32/Dist: File removed.
446         * sysdeps/sparc/sparc64/soft-fp/Dist: File removed.
447         * sysdeps/sparc/sparc64/Dist: File removed.
448         * sysdeps/sparc/Dist: File removed.
449         * sysdeps/gnu/Dist: File removed.
450         * sysdeps/ia64/fpu/Dist: File removed.
451         * sysdeps/ia64/Dist: File removed.
452         * sysdeps/mach/mips/Dist: File removed.
453         * sysdeps/mach/hurd/alpha/Dist: File removed.
454         * sysdeps/mach/hurd/i386/Dist: File removed.
455         * sysdeps/mach/hurd/mips/Dist: File removed.
456         * sysdeps/mach/hurd/powerpc/Dist: File removed.
457         * sysdeps/mach/hurd/Dist: File removed.
458         * sysdeps/s390/s390-64/Dist: File removed.
459         * sysdeps/s390/Dist: File removed.
460         * sysdeps/s390/s390-32/Dist: File removed.
461         * sysdeps/sh/Dist: File removed.
462         * sysdeps/posix/Dist: File removed.
463         * sysdeps/ieee754/dbl-64/Dist: File removed.
464         * sysdeps/ieee754/ldbl-128/Dist: File removed.
465         * sysdeps/ieee754/flt-32/Dist: File removed.
466         * sysdeps/ieee754/Dist: File removed.
467         * sysdeps/x86_64/soft-fp/Dist: File removed.
468         * sysdeps/x86_64/Dist: File removed.
469         * sysdeps/hppa/Dist: File removed.
470
471         * Makerules (common-clean): Don't remove distinfo file.
472         ($(objpfx)distinfo): Target removed.
473         * manual/Makefile (mostlyclean): Don't remove distinfo file.
474         (glibc-targets): Remove echo-distinfo.
475
476         * scripts/list-sources.sh: New file.
477         * Makefile (TAGS): New target.
478         * po/Makefile (libc.pot, libc.pot.files): New targets.
479         * Makeconfig (XGETTEXT): New variable.
480         * Makerules ($(..)po/%.pot): Rule removed.
481         (TAGS): Target removed.
482         * Rules (subdir_TAGS): Target removed.
483         * MakeTAGS: File removed.
484
485         * Makefile (iconvdata/% localedata/% po/% manual/%): Depend on FORCE.
486         * Makeconfig ($(all-Depend-files)): New targets with no-op commands.
487
488 2004-08-03  Marco Gerards  <marco@gnu.org>
489
490         [BZ #2119]
491         * sysdeps/mach/hurd/bits/ioctls.h (SIOCGIFHWADDR): New macro.
492
493 2006-01-07  Ulrich Drepper  <drepper@redhat.com>
494
495         * stdio-common/tstdiomisc.c (F): Use NAN to get NaN value.
496
497 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
498
499         * elf/tst-tls8.c (do_test): Use $ORIGIN in module names.
500
501 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
502
503         * sysdeps/generic/sysdep.h (cfi_same_value): Define macro.
504
505         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_runtime_resolve,
506         _dl_profile_resolve): Add CFI directives for stack and LR save.
507         Save LR in LRSAVE of previous frame per ABI.
508         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Add CFI directives
509         for LR save.
510         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
512         (__makecontext, __novec_makecontext): Likewise.
513         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Add CFI directive
514         for LR save to register.
515         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
516         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
517         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
518         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
519         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
520         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
521         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
522         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
523         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
524         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
525         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Add CFI directive
526         for stack.
527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
528         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Add CFI directives for stack
529         and LR save.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
532         Likewise.
533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
534         Likewise.
535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
536         Likewise.
537         * sysdeps/powerpc/powerpc32/fpu/s_lround.S:  Likewise.  Don't use
538         negative stack addressing.
539
540         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
541         _dl_profile_resolve): Add CFI directives for stack and LR save.
542         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Add CFI directives
543         for stack.
544         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Add CFI
545         directives for stack and LR save.
546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Add CFI
547         directives for stack.
548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone): Add CFI
549         directives for stack.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
551         (__getcontext, __novec_getcontext): Add CFI directives for stack
552         and LR save.
553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
554         (__makecontext): Add CFI directives for stack and LR save.
555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
556         (__setcontext, __novec_setcontext): Add CFI directives for stack
557         and LR save.
558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
559         (__swapcontext, __novec_swapcontext):  Add CFI directives for stack
560         and LR save.
561
562 2006-01-06  Jakub Jelinek  <jakub@redhat.com>
563
564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include tls.h.
565         (SYSCALL_ERROR_HANDLER_ENTRY): Use %g4 instead of %g2, to avoid
566         the need of .register directive for it.
567         * configure.in (libc_cv_asm_cfi_directives): Use CFI rel offset
568         2047 instead of 0 in the test on sparc64.
569
570 2006-01-06  Ulrich Drepper  <drepper@redhat.com>
571
572         * scripts/check-c++-types.sh: Add more pthread types.
573         * scripts/data//c++-types-i386-linux-gnu.data: Adjust.
574         * scripts/data//c++-types-ia64-linux-gnu.data: Likewise.
575         * scripts/data//c++-types-powerpc-linux-gnu.data: Likewise.
576         * scripts/data//c++-types-powerpc64-linux-gnu.data: Likewise.
577         * scripts/data//c++-types-s390-linux-gnu.data: Likewise.
578         * scripts/data//c++-types-s390x-linux-gnu.data: Likewise.
579         * scripts/data//c++-types-x86_64-linux-gnu.data: Likewise.
580
581         * sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL_NCS):
582         Adjust for private->__private rename in tcbhead_t.
583
584         [BZ #2114]
585         * ncsd/aicache.c: Don't use sendfile for records on the stack.
586         * nscd/grpcache.c: Likewise.
587         * nscd/hstcache.c: Likewise.
588         * nscd/initgrcache.c: Likewise.
589         * nscd/pwdcache.c: Likewise.
590         Patch by dmueller@suse.com.
591
592         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Define MADV_REMOVE.
593         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
594         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
596         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
597         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
598         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
599         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
600
601 2006-01-06  Roland McGrath  <roland@redhat.com>
602
603         * Makeconfig (+gnu-stabs): Remove ancient cruft.
604
605         [BZ #2103]
606         * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_HWX25): Corrected macro
607         name (was typo ARPHDR_HWX25).
608         (ARPHRD_IEEE80211_PRISM, ARPHRD_IEEE80211_RADIOTAP): New macros.
609         (ARPHRD_VOID, ARPHRD_NONE): New macros.
610
611         * sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
612
613         * io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
614         * posix/unistd.h [__USE_ATFILE]: Declare faccessat.
615         * io/faccessat.c: New file.
616         * sysdeps/unix/sysv/linux/faccessat.c: New file.
617         * io/Makefile (routines): Add faccessat.
618         * io/Versions (libc: GLIBC_2.4): Likewise.
619         * io/tst-faccessat.c: New file.
620         * io/Makefile (tests): Add it.
621
622         * scripts/check-local-headers.sh: Revert last change.
623
624         * io/euidaccess.c: Add eaccess as an alias.
625         * sysdeps/mach/hurd/euidaccess.c: Likewise.
626         * sysdeps/posix/euidaccess.c: Likewise.
627         * posix/unistd.h [__USE_GNU]: Declare eaccess.
628         * io/Versions (libc: GLIBC_2.4): Add eaccess.
629
630 2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
631
632         * soft-fp/Makefile (gcc-single-routines): Add unordsf2,
633         floatunsisf, floatundisf.
634         (gcc-double-routines): Add unorddf2, floatunsidf, floatundidf.
635         (gcc-quad-routines): Add unordtf2, floatunsitf, floatunditf.
636         * soft-fp/op-common.h (_FP_CMP_UNORD): Define.
637         * soft-fp/single.h (FP_CMP_UNORD_S): Define.
638         * soft-fp/double.h (FP_CMP_UNORD_D): Define.
639         * soft-fp/quad.h (FP_CMP_UNORD_Q): Define.
640         * soft-fp/extended.h (FP_CMP_UNORD_E): Define.
641         * soft-fp/unordsf2.c: New file.
642         * soft-fp/unorddf2.c: New file.
643         * soft-fp/unordtf2.c: New file.
644         * soft-fp/floatunsisf.c: New file.
645         * soft-fp/floatundisf.c: New file.
646         * soft-fp/floatunsidf.c: New file.
647         * soft-fp/floatundidf.c: New file.
648         * soft-fp/floatunsitf.c: New file.
649         * soft-fp/floatunditf.c: New file.
650
651         * soft-fp/op-common.h (__FP_CLZ): Define using __builtin_clz,
652         __builtin_clzl and __builtin_clzll.
653
654 2006-01-05  Mike Frysinger  <vapier@gentoo.org>
655
656         * include/alloca.h (extend_alloca): Fix typoed name 'extern_alloca'.
657
658 2006-01-05  Jakub Jelinek  <jakub@redhat.com>
659
660         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_WAITID_SYSCALL):
661         Only define for 2.6.12+ on s390{,x}.
662         (__ASSUME_GETDENTS32_D_TYPE): Only define for 2.6.8+ on most arches
663         and only for 2.6.11+ on s390{,x}.
664
665 2006-01-05  Ulrich Drepper  <drepper@redhat.com>
666
667         * sysdeps/pthread/aio_misc.h [!DONT_USE_BOOTSTRAP_MAP]
668         (struct waitlist): Don't add cond.
669         * sysdeps/pthread/aio_notify.c [!DONT_USE_BOOTSTRAP_MAP]
670         (__aio_notify): Use AIO_MISC_NOTIFY instead of pthread_cond_signal.
671         * sysdeps/pthread/aio_suspend.c [!DONT_USE_BOOTSTRAP_MAP]: Don't
672         use condvar, use AIO_MISC_WAIT.
673         * sysdeps/pthread/lio_listio.c: Likewise.
674         * rt/Makefile (tests): Add tst-aio9 and tst-aio10.
675         * rt/tst-aio9.c: New file.
676         * rt/tst-aio10.c: New file.
677
678         * rt/tst-aio3.c: The thread is now supposed to be created.
679
680 2006-01-05  Roland McGrath  <roland@redhat.com>
681
682         * include/features.h: Grok _ATFILE_SOURCE and define __USE_ATFILE when
683         it or _GNU_SOURCE is defined.
684         * io/fcntl.h: Protect *at and AT_* with [__USE_ATFILE] instead of
685         [__USE_GNU].
686         * libio/stdio.h: Likewise.
687         * posix/unistd.h: Likewise.
688         * time/sys/time.h: Likewise.
689         * io/sys/stat.h: Likewise.
690
691         * io/sys/stat.h [__USE_GNU]: Declare fchmodat.
692         * io/fchmodat.c: New file.
693         * io/Makefile (routines): Add fchmodat.
694         * io/Versions (libc: GLIBC_2.4): Likewise.
695         * sysdeps/unix/sysv/linux/fchmodat.c: New file.
696         * io/tst-fchmodat.c: New file.
697         * io/Makefile (tests): Add it.
698
699 2006-01-03  Steven Munroe  <sjmunroe@us.ibm.com>
700
701         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
702         directive to ENTRY macros.
703         (END): Add cfi_endproc directive to END macro.
704         * sysdeps/powerpc/powerpc64/sysdep.h (ENTRY, EALIGN): Add cfi_startproc
705         directive to ENTRY macros.
706         (END, END_GEN_TB): Add cfi_endproc directive to END macros.
707         * sysdeps/powerpc/powerpc32/dl-start.S: Remove ENTRY()s for
708         _dl_start_user and _dl_main_dispatch.
709         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Use END macro.
710         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Use Likewise.
711         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
712         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
713         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
714         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Remove redundant
716         cfi_startproc and cfi_endproc.
717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
718
719 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
720
721         * sysdeps/pthread/aio_misc.h (struct waitlist): Add result member.
722         * sysdeps/pthread/aio_notify.c (__aio_notify): For synchronous waiters,
723         failed I/O, and a result pointer, set value to -1.
724         * sysdeps/pthread/aio_suspend.c: Initialize result pointer to NULL.
725         * sysdeps/pthread/lio_listio.c: For LIO_WAIT, point result pointer in
726         wait list to local variable result.  If nonzero afterwards, set errno
727         to EIO.  For LIO_NOWAIT set result to NULL.
728         * rt/Makefile (tests): Add tst-aio8.
729         * rt/tst-aio8.c: New file.
730
731 2005-12-25  Kristian Van Der Vliet  <vanders@liqwyd.com>
732
733         * abi-tags (*-.*-syllable.*): New match, with ABI value 5.
734         * elf/cache.c (print_entry): Match the Syllable ABI tag.
735
736 2006-01-04  Ulrich Drepper  <drepper@redhat.com>
737
738         * include/stdlib.h: Make even more C++ compliant.
739
740 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
741
742         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
743         __SYSCALL_CLOBBERS.
744
745 2006-01-03  H.J. Lu  <hongjiu.lu@intel.com>
746
747         * configure.in (HAVE_LIBAUDIT): Check
748         audit_log_user_avc_message instead of audit_log_avc.
749
750 2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>
751
752         * sysdeps/ieee754/bits/nan.h: Fix typo.
753
754 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
755
756         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
757
758         * sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
759         define.
760
761         * sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
762         {,u}atomic*_t typedefs.
763         (__sparc32_atomic_do_lock): Add __volatile and memory clobber.
764         (__sparc32_atomic_do_unlock): Add memory barrier.
765         (__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
766         [!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
767         (__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
768         __v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
769         __v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
770         atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
771         atomic_exchange_24_rel): Define.
772         [SHARED] (atomic_exchange_and_add): Define.
773         [!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
774         [!SHARED] (_dl_hwcap): New weak decl.
775         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
776         atomic_compare_and_exchange_val_24_acq): Define.
777         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
778         atomic_compare_and_exchange_val_24_acq): Define.
779
780 2006-01-03  Ulrich Drepper  <drepper@redhat.com>
781
782         lio_listio should emit an event for each individual request in
783         addition to the global event.
784         * sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
785         lio_listio_internal.  Remove mode parameter check.  Only set sigevent
786         type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
787         (__lio_listio_21): New function.  Compatiblity version which sets
788         LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
789         (__lio_listio_item_notify): New function.
790         * sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
791         __lio_listio_item_notify macros.
792         * sysdeps/pthread/Versions: New file.
793         * rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
794         * include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
795         * Versions.def: Add GLIBC_2.4 for librt.
796
797         * rt/Versions: Whitespace fix.
798         * sysdeps/pthread/aio_misc.c: Likewise.
799
800         * nscd/connections.c (nscd_init): Remove if block which should
801         have been removed as part of the -S option removal.
802
803 2006-01-03  Andreas Jaeger  <aj@suse.de>
804
805         * scripts/check-local-headers.sh: Allow $includedir/c++.
806
807 2006-01-03  Jakub Jelinek  <jakub@redhat.com>
808
809         * posix/unistd.h (ctermid): Remove __nonnull attribute.
810
811 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
812
813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,
814         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
816         PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
817         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
818         (_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
819         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
820         and %o7.
821         * sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
822         and %o7.
823
824 2006-01-02  Jakub Jelinek  <jakub@redhat.com>
825
826         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
827         Define.
828         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
829         Likewise.
830         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
831         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
832         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
833         * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
834         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
835         * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
836
837         * sysdeps/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
838         struct tag to make C++ happy.
839
840 2006-01-02  Ulrich Drepper  <drepper@redhat.com>
841
842         * posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
843         the include list.
844
845 2006-01-01  Ulrich Drepper  <drepper@redhat.com>
846
847         * posix/getconf.c: Update copyright year.
848         * nss/getent.c: Likewise.
849         * iconv/iconvconfig.c: Likewise.
850         * iconv/iconv_prog.c: Likewise.
851         * elf/ldconfig.c: Likewise.
852         * catgets/gencat.c: Likewise.
853         * csu/version.c: Likewise.
854         * elf/ldd.bash.in: Likewise.
855         * elf/sprof.c (print_version): Likewise.
856         * locale/programs/locale.c: Likewise.
857         * locale/programs/localedef.c: Likewise.
858         * nscd/nscd.c (print_version): Likewise.
859         * debug/xtrace.sh: Likewise.
860         * malloc/memusage.sh: Likewise.
861         * malloc/mtrace.pl: Likewise.
862         * debug/catchsegv.sh: Likewise.
863
864 2005-12-31  Andreas Jaeger  <aj@suse.de>
865
866         [BZ #1395]
867         * manual/filesys.texi (Symbolic Links): Fix description of
868         canonicalize_file_name based on patch by Oskar Liljeblad
869         <oskar@osk.mine.nu>.
870
871 2005-12-29  Andreas Jaeger  <aj@suse.de>
872
873         * resolv/res_debug.c (latlon2ul): Use ISO C function definition.
874         (precsize_aton): Likewise.
875         (precsize_ntoa): Likewise.
876
877         * resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
878         (gethostbyname2): Likewise.
879         (gethostbyaddr): Likewise.
880         (getanswer): Use ISO C function definition.
881
882 2005-12-29  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
883
884         * sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
885         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
886         * sysdeps/sh/_mcount.S: Add cfi instrumentation.
887         * sysdeps/unix/sh/sysdep.S: Likewise.
888         * sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
889         * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
890         cfi_startproc and cfi_endproc.
891         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
892         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
893         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
894         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
895         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
896         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
897         * sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.
898
899 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
900
901         * sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
902         value doesn't survive in a registers when the function returns.
903         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
904         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
905
906 2005-12-30  Jakub Jelinek  <jakub@redhat.com>
907
908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
909         PTR_MANGLE2.
910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
911         PTR_MANGLE2 and PTR_DEMANGLE2.
912         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
913         * sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
914         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
915         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
916
917 2005-12-30  Ulrich Drepper  <drepper@redhat.com>
918
919         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
920         Don't use _demangle parameter for now.
921
922         [BZ #2080]
923         * libio/iogetwline.c (_IO_getwline_info): Move return to correct
924         location.
925
926         * nscd/connections.c: Remove last remnants of -S option support.
927         * nscd/nscd.c: Likewise.
928         * nscd/nscd.h: Likewise.
929
930 2005-12-30  Andreas Jaeger  <aj@suse.de>
931
932         [BZ #1067]
933         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
934         for 64-bit mips kernel.
935
936 2005-12-08  Steven Munroe  <sjmunroe@us.ibm.com>
937             Tom Gall <tom_gall@vnet.ibm.com>
938
939         * elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
940         * sysdeps/powerpc/elf/libc-start.c: Move this...
941         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
942         * sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
943         * sysdeps/powerpc/powerpc32/hp-timing.h: New file.
944         * sysdeps/unix/sysv/linux/powerpc/Versions: New file.
945         * sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
946         is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
947         INTERNAL_SYSCALL and INLINE_SYSCALL respectively.  Otherwise include
948         <bits/libc-vdso.h>.  Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
949         of the normal versions throughout the code.
950         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
951         HAVE_CLOCK_GETTIME_VSYSCALL is defined.
952         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
953         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
954         * sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
955         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
957         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
959         INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
960         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
961         and HAVE_CLOCK_GETTIME_VSYSCALL.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
963
964 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
965
966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
967         Define PTR_DEMANGLE2.
968         * sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
969         mangle r1.
970         * sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
971         demangle r1.
972         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
973         r0 and r1.
974         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
975         Demangle r0 and r1.
976
977         * sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
978         mangle r1.
979         * sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
980         demangle  r1.
981
982 2005-12-26  Steven Munroe  <sjmunroe@us.ibm.com>
983
984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
985         Move common function to...
986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
987         New file.
988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
989         Move common function to...
990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
991         New file.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
993         Move common function to...
994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
995         New file.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
997         (_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
998         _FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
999         Remove unrelated stack frame defines.
1000
1001 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
1002
1003         * stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
1004         Defining as macro as before the last change.
1005
1006         * sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
1007         include the named file.
1008         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1009         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1010         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1011         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1012         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1013         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1014
1015 2005-12-29  Roland McGrath  <roland@frob.com>
1016
1017         * sysdeps/mach/hurd/errno.c: New file.
1018
1019         * sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.
1020
1021         * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
1022
1023         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
1024         * hurd/report-wait.c (_S_msg_report_wait): Likewise.
1025
1026         * include/sys/xattr.h: New file.
1027
1028 2005-12-28  Roland McGrath  <roland@redhat.com>
1029
1030         * hurd/sigunwind.c: Include <stdint.h>.
1031         * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
1032
1033 2005-12-28  Ulrich Drepper  <drepper@redhat.com>
1034
1035         * nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
1036         Don't do anything if audit_fd is invalid.
1037         (audit_init): Don't complain if kernel support is missing.
1038         Patch by Steve Grubb <sgrubb@redhat.com>.
1039
1040         * sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
1041         pointer.  Add CFI.
1042         * sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
1043         * sysdeps/i386/bsd-setjmp.S: Likewise.
1044         * sysdeps/i386/setjmp.S: Likewise.
1045
1046         * sysdeps/x86_64/__longjmp.S: No need to make sure return value is
1047         != 0, the caller did that.
1048
1049 2005-12-27  Roland McGrath  <roland@redhat.com>
1050
1051         * sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
1052         mangled values in %rbp and %rsp registers and by wrong cfi.
1053
1054         * config.make.in (c++-sysincludes): New substituted variable.
1055         * configure.in (CXX_SYSINCLUDES): New substituted variable.
1056         * configure: Regenerated.
1057         * Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.
1058
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1060         (PTR_MANGLE): Fix cast.
1061
1062         * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
1063         DEMANGLE, and pass SP value through it.
1064         * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1065         * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1066         * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1067         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1068         * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1069         * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1070         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1071         * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1072         * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
1073         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
1074         * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
1075         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
1076         demangler function to _JMPBUF_UNWINDS.
1077         * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
1078         (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
1079
1080         * posix/tst-execle1.c (do_test): Add a const.
1081         * posix/tst-execle2.c (do_test): Likewise.
1082
1083         * posix/transbug.c (run_test): Add some casts.
1084         * posix/bug-regex22.c (main): Likewise.
1085         * posix/bug-regex5.c (main): Likewise.
1086         * wcsmbs/tst-mbsrtowcs.c (main): Likewise.
1087         * string/test-strspn.c (do_test, do_random_tests): Likewise.
1088         * string/test-strrchr.c (do_test, do_random_tests): Likewise.
1089         * string/test-strlen.c (do_random_tests): Likewise.
1090         * string/test-strpbrk.c (do_test, do_random_tests): Likewise.
1091         * string/test-strcmp.c (do_random_tests): Likewise.
1092         * string/test-strchr.c (do_test, do_random_tests): Likewise.
1093         * string/test-strcat.c (do_test, do_random_tests): Likewise.
1094         * string/test-strncpy.c (do_random_tests): Likewise.
1095         * string/test-strcpy.c (do_test, do_random_tests): Likewise.
1096         * string/test-memccpy.c (do_test): Likewise.
1097         * string/test-memmove.c (do_test, do_random_tests): Likewise.
1098         * string/test-memcpy.c (do_test, do_random_tests): Likewise.
1099         * string/test-memcmp.c (do_test, do_random_tests): Likewise.
1100         * string/test-memchr.c (do_test, do_random_tests): Likewise.
1101         * dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
1102         * stdio-common/tst-fgets.c (do_test): Add a cast.
1103         * iconvdata/bug-iconv4.c (xiconv): Add a cast.
1104
1105         * locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.
1106
1107         * resolv/herror.c (herror): Remove unused extern decl.
1108
1109         * libio/obprintf.c: Include "strfile.h".
1110
1111         * elf/order2mod2.c (init): Cast ignored value to void.
1112
1113 2005-12-27  Ulrich Drepper  <drepper@redhat.com>
1114
1115         * elf/tst-tls13.c (do_test): Avoid using the library path when
1116         looking for tst-tlsmod13a.so.
1117
1118         * stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long
1119         double math to generate NaN results.
1120
1121         * sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
1122         and ENOTRECOVERABLE if not already defined.
1123         * sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.
1124
1125 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
1126
1127         * sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
1128         entry for up to 138 errnos.
1129
1130 2005-12-27  Jakub Jelinek  <jakub@redhat.com>
1131
1132         * iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
1133         before calling it.
1134
1135 2005-12-27  David S. Miller  <davem@sunset.davemloft.net>
1136
1137         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
1138         entry for up to 134 errnos.
1139
1140 2005-12-26  Ulrich Drepper  <drepper@redhat.com>
1141
1142         * Versions.def: Add GLIBC_2.4 for libpthread.
1143
1144 2005-12-25  Ulrich Drepper  <drepper@redhat.com>
1145
1146         * stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
1147         that $(..)/bits is not found early.
1148
1149 2005-12-24  Ulrich Drepper  <drepper@redhat.com>
1150
1151         * manual/errno.texi: Add new Linux errno codes.
1152         * sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
1153         for up to 132 errnos.
1154         * sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
1155         ENOTRECOVERABLE if not already defined.
1156
1157 2005-12-23  Ulrich Drepper  <drepper@redhat.com>
1158
1159         [BZ #1566]
1160         * sysdeps/i386/i586/memusage.h: New file.
1161         * sysdeps/i386/memusage.h: Don't define GETTIME.
1162
1163 2005-12-22  Ulrich Drepper  <drepper@redhat.com>
1164
1165         [BZ #1499]
1166         * misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr.
1167         (openlog_internal): Adjust for this change.
1168
1169         * Makeconfig: Define CXXFLAGS.  Split out warnings from +gccwarn which
1170         are not understood by the C++ compiler.
1171         * Makerules: Add rules to build C++ code for test cases.
1172         * include/stdlib.h: Protect for inclusion in C++ code.
1173         * include/time.h: Likewise.
1174
1175 2005-12-22  Roland McGrath  <roland@redhat.com>
1176
1177         * Makerules [gen-as-const-headers] (tests): Add one test per .sym
1178         file, not just one.
1179         ($(objpfx)test-as-const.c): Target replaced with ...
1180         ($(objpfx)test-as-const-%.c): ... this pattern rule.
1181         (generated): Add those files.
1182
1183 2005-12-22  Ulrich Drepper  <drepper@redhat.com>
1184
1185         * test-skeleton.c (timeout_handler): Rewrite ts initialization for
1186         C++ compatibility.
1187
1188         * sysdeps/x86_64/__longjmp.S: Also protect SP and BP.
1189         * sysdeps/x86_64/setjmp.S: Likewise.
1190
1191 2005-12-21  Roland McGrath  <roland@redhat.com>
1192
1193         * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
1194         * sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
1195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
1196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
1197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
1198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
1199         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
1200         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
1201         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
1202         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
1203         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
1204         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
1205         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
1206         * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
1207         * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
1208         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
1209         (gen-as-const-headers): Add it.
1210         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1211         * sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
1212         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1213         * sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
1214         * stdlib/tst-ucontext-off.c: File removed.
1215         * stdlib/Makefile (tests): Remove it.
1216
1217         * scripts/gen-as-const.awk: Support generating a test program.
1218         * Makerules [gen-as-const-headers] (tests): Add test-as-const.
1219         [gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
1220
1221         * sysdeps/generic/bits: Subdirectory and all files moved to ...
1222         * bits: ... here, new subdirectory.
1223         * Makeconfig (+includes): Reordered includes to put build and sysdeps
1224         dirs first after $(..)include, $(sysincludes) last.
1225
1226         [BZ #2066]
1227         * intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later
1228         malloc fails.
1229
1230 2005-12-21  Jakub Jelinek  <jakub@redhat.com>
1231
1232         * sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
1233
1234 2005-12-21  Roland McGrath  <roland@redhat.com>
1235
1236         * sysdeps/mach/hurd/ifreq.c: Add missing #includes.
1237
1238         * elf/cache.c: Use <> rather than "" #includes.
1239         * elf/chroot_canon.c: Likewise.
1240         * elf/dl-lookup.c: Likewise.
1241         * elf/ldconfig.c: Likewise.
1242         * elf/readlib.c: Likewise.
1243         * elf/rtld.c: Likewise.
1244         * gmon/mcount.c: Likewise.
1245         * hurd/hurdfault.c: Likewise.
1246         * hurd/hurdsig.c: Likewise.
1247         * hurd/report-wait.c: Likewise.
1248         * hurd/sigunwind.c: Likewise.
1249         * mach/setup-thread.c: Likewise.
1250         * rt/aio_read64.c: Likewise.
1251         * rt/aio_sigqueue.c: Likewise.
1252         * rt/aio_write64.c: Likewise.
1253         * soft-fp/soft-fp.h: Likewise.
1254         * stdio-common/tmpfile64.c: Likewise.
1255         * sysdeps/mach/hurd/fork.c: Likewise.
1256         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
1257         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1258         * sysdeps/mach/hurd/mips/trampoline.c: Likewise.
1259         * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
1260         * sysdeps/posix/sprofil.c: Likewise.
1261         * sysdeps/pthread/aio_cancel.c: Likewise.
1262         * sysdeps/pthread/aio_fsync.c: Likewise.
1263         * sysdeps/pthread/aio_read64.c: Likewise.
1264         * sysdeps/pthread/aio_read.c: Likewise.
1265         * sysdeps/pthread/aio_suspend.c: Likewise.
1266         * sysdeps/pthread/aio_write64.c: Likewise.
1267         * sysdeps/pthread/aio_write.c: Likewise.
1268         * sysdeps/pthread/lio_listio64.c: Likewise.
1269         * sysdeps/pthread/lio_listio.c: Likewise.
1270         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1271         * sysdeps/unix/sysv/tcflow.c: Likewise.
1272
1273         * sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
1274
1275         * elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.
1276
1277         * csu/dso_handle.c (__dso_handle): Add const to pointer type too.
1278
1279 2005-12-21  Ulrich Drepper  <drepper@redhat.com>
1280
1281         * iconv/gconv_conf.c: Initialize empty_path_elem.
1282
1283         * sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
1284         * sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
1285         * sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
1286         up in .rodata.
1287         * sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
1288         end up in .rodata.
1289         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1290         * sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
1291         end up in .rodata.
1292
1293 2005-12-21  Thorsten Kukuk  <kukuk@suse.de>
1294
1295         * elf/readlib.c: Fix include of readelflib.c.
1296
1297 2005-12-21  Ulrich Drepper  <drepper@redhat.com>
1298
1299         [BZ #1962]
1300         * io/fts.c (fts_open): Change type of len to size_t.
1301         (fts_build): Remove cast in call to fts_alloc.
1302         (fts_alloc): Change third parameter's type to size_t.
1303
1304         [BZ #1960]
1305         * io/fts.c (fts_open): Avoid function call in MAX macro use.
1306
1307 2005-12-20  Ulrich Drepper  <drepper@redhat.com>
1308
1309         * locale/xlocale.c (_nl_C_locobj): Mark as const.
1310         * include/locale.h: Define _nl_C_locobj_ptr.
1311         * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer
1312         to _nl_C_locobj because we also need a cast.
1313         * iconv/gconv_conf.c: Likewise.
1314         * iconv/gconv_int.h: Likewise.
1315         * iconv/gconv_open.c: Likewise.
1316         * locale/duplocale.c: Likewise.
1317         * locale/freelocale.c: Likewise.
1318         * locale/newlocale.c: Likewise.
1319         * misc/syslog.c: Likewise.
1320         * stdlib/strtod_l.c: Likewise.
1321         * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
1322
1323         * csu/dso_handle.c (__dso_handle): Mark as const.
1324
1325         * intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
1326         * intl/plural-exp.h: Adjust declaration of
1327         __gettext_germanic_plural.
1328
1329         * resolv/herror.c (h_errlist): Mark as const.
1330         (h_nerr): Likewise.
1331
1332 2005-12-15  Thomas Schwinge  <tschwinge@gnu.org>
1333
1334         [BZ #2061]
1335         * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
1336
1337 2005-12-20  Roland McGrath  <roland@redhat.com>
1338
1339         * sysdeps/unix/sysv/linux/ifreq.h: File removed.
1340         * sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here.
1341
1342         * sysdeps/mach/hurd/ifreq.h: File removed.
1343         (__ifreq): Function moved to ...
1344         * sysdeps/mach/hurd/ifreq.c: ... here, new file.
1345
1346 2005-12-20  Ulrich Drepper  <drepper@redhat.com>
1347
1348         * sunrpc/clnt_unix.c (unix_ops): Mark as const.
1349         * sunrpc/auth_des.c (authdes_ops): Likewise.
1350         * sunrpc/svc_raw.c (server_ops): Likewise.
1351         * sunrpc/clnt_udp.c (udp_ops): Likewise.
1352         * sunrpc/clnt_tcp.c (tcp_ops): Likewise.
1353         * sunrpc/clnt_raw.c (client_ops): Likewise.
1354         * sunrpc/auth_unix.c (auth_unix_ops): Likewise.
1355         * sunrpc/auth_none.c (ops): Likewise.
1356
1357         * nss/nsswitch.c (databases): Mark as const.  Change name field
1358         into array.
1359         * nss/databases.def: Add warning.
1360
1361         * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
1362         mark const.
1363         (cmd): Mark as const.
1364         (parse_line): Mark c as pointer to const.
1365
1366         * misc/getusershell.c (initshells): Remove unnecessary tests.
1367         (endusershell): Likewise.
1368         (okshells): Mark as const.
1369
1370         * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
1371         * sysdeps/posix/gai_strerror-strs.h: New file.
1372         * sysdeps/posix/Dist: New file.
1373
1374         * sysdeps/posix/getaddrinfo.c (gaih): Mark as const.
1375         * locale/loadlocale.c (_nl_value_types): Likewise.
1376         * iconv/gconv_conf.c (builtin_aliases): Likewise.
1377         * iconv/gconv_open.c (internal_trans_names): Likewise.
1378
1379 2005-12-19  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1380
1381         * sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
1382         (PTR_MANGLE, PTR_DEMANGLE): Define.
1383         (SYSCALL_ERROR_HANDLER): Fix typo.
1384         * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined.
1385         * sysdeps/sh/sh3/__longjmp.S: Likewise.
1386         * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined.
1387         * sysdeps/sh/sh3/setjmp.S: Likewise.
1388
1389 2005-12-20  Jakub Jelinek  <jakub@redhat.com>
1390
1391         * sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
1392
1393         * sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
1394         use sysdeps/unix/time.c implementation.
1395
1396 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
1397
1398         [BZ #1955]
1399         * timezone/zic.c (tofile;): Fix typo in symlink creation.
1400         Patch by Phil Estes <pestes@us.ibm.com>.
1401
1402         [BZ #1952]
1403         * sysdeps/unix/sysv/linux/time.c: New file.
1404         * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry.
1405
1406 2005-12-15  Thomas Schwinge  <tschwinge@gnu.org>
1407
1408         * io/xmknodat.c: Include <stddef.h>.
1409         * misc/futimesat.c: Remove weak_alias and correct stub_warning.
1410         * stdio-common/renameat.c (renameat): Fix typo.
1411
1412 2005-12-16  Thorsten Kukuk  <kukuk@suse.de>
1413
1414         [BZ #1978]
1415         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1416         Map more filesystem types to a string.
1417         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC.
1418
1419 2005-12-19  Jakub Jelinek  <jakub@redhat.com>
1420
1421         * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the
1422         programs subdirectory.
1423
1424         * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use
1425         PTR_DEMANGLE for PC if defined.
1426         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp):
1427         Likewise.
1428         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise.
1429         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with
1430         THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined.
1431         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
1432         * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use
1433         PTR_MANGLE for PC if defined.
1434         * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise.
1435         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1436         Avoid call to __sigjmp_save if IS_IN_rtld.
1437         * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise.
1438         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise.
1439         * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise.
1440         * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise.
1441         * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE):
1442         Define.
1443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h.
1444         (PTR_MANGLE, PTR_DEMANGLE): Define.
1445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h
1446         (PTR_MANGLE, PTR_DEMANGLE): Define.
1447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h.
1448         (PTR_MANGLE, PTR_DEMANGLE): Define.
1449         (SYSCALL_ERROR_HANDLER): Add missing semicolons.
1450         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h.
1451         (PTR_MANGLE, PTR_DEMANGLE): Define.
1452         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add
1453         SYSCALL_ERROR_HANDLER.
1454
1455 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
1456
1457         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS.
1458         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1459         Patch by Clint Adams.
1460
1461 2005-12-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
1462
1463         * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and
1464         dependent definitions from the kernel header to sys/user.h and
1465         remove the #include of asm/user.h.
1466
1467 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
1468
1469         * sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
1470         used when generating errlist-compat.c.
1471
1472 2005-12-18  Ulrich Drepper  <drepper@redhat.com>
1473
1474         * iconv/gconv.c: Demangle pointers before use if necessary.
1475         * iconv/gconv_cache.c: Likewise.
1476         * iconv/skeleton.c: Likewise.
1477         * libio/iofwide.c: Likewise.
1478         * wcsmbs/btowc.c: Likewise.
1479         * wcsmbs/mbrtowc.c: Likewise.
1480         * wcsmbs/mbsnrtowcs.c: Likewise.
1481         * wcsmbs/mbsrtowcs_l.c: Likewise.
1482         * wcsmbs/wcrtomb.c: Likewise.
1483         * wcsmbs/wcsnrtombs.c: Likewise.
1484         * wcsmbs/wcsrtombs.c: Likewise.
1485         * wcsmbs/wctob.c: Likewise.
1486         * iconv_gconv_db.c: Likewise.  After init functions returns mangle
1487         btowc pointer if necessary.
1488         * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
1489
1490         * iconv/gconv_builtin.c (builtin_map): Change type of size
1491         information fields to int8_t.
1492
1493         * libio/iofwide.c (__libio_codecvt): Mark as const.
1494         (__libio_translit): Likewise.
1495         * libio/libioP.h (__libio_codecvt): Adjust declaraction.
1496
1497         * wcsmbs/wcsmbsload.c (to_wc): Mark as const.
1498         (to_mb): Likewise.
1499
1500 2005-12-18  Richard Henderson  <rth@redhat.com>
1501
1502         * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
1503
1504 2005-12-18  Ulrich Drepper  <drepper@redhat.com>
1505
1506         * iconv/gconv_builtin.c: Mark map with attribute_relro.
1507
1508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
1509         version for inside ld.so.
1510
1511         * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
1512
1513         * sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid
1514         call to __sigjmp_save.
1515         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1516
1517         * stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer.  Fill in
1518         flavor field last and protect with memory barrier.
1519         * stdlib/on_exit.c: Likewise.
1520         * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before
1521         using it.
1522         * stdlib/exit.c: Likewise.
1523
1524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
1525         PTR_DEMANGLE for C code in libc.
1526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1527
1528 2005-12-17  Ulrich Drepper  <drepper@redhat.com>
1529
1530         * elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.
1531         * elf/rtld.c: Define __pointer_chk_guard_local and if necessary
1532         __pointer_chk_guard.
1533         (_rtld_global_ro): Initialize _dl_pointer_guard.
1534         (dl_main): Initialize __pointer_chk_guard_local and either
1535         __pointer_chk_guard or TLS value if necessary.
1536         (process_envvars): Recognize and handle LD_POINTER_GUARD.
1537         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard.
1538         * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined.
1539         * sysdeps/x86_64/__longjmp.S: Likewise.
1540         * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined.
1541         * sysdeps/i386/bsd-_setjmp.S: Likewise.
1542         * sysdeps/i386/setjmp.S: Likewise.
1543         [IS_IN_rtld]: Avoid call to __sigjmp_save.
1544         * sysdeps/i386/setjmp.S: Likewise.
1545         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
1546         PTR_DEMANGLE.
1547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1548
1549         * sysdeps/i386/elf/setjmp.S: Removed.
1550         * sysdeps/i386/elf/bsd-setjmp.S: Removed.
1551
1552         * elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
1553         setjmp.
1554         * elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
1555         * elf/dl-minimal.c (longjmp): Remove definition.
1556
1557         * sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
1558
1559 2005-12-14  Thorsten Kukuk  <kukuk@suse.de>
1560
1561         * nscd/Makefile: Don't build nscd_nischeck.
1562         * nscd/nscd_nischeck.c: Removed.
1563
1564 2005-12-15  Ulrich Drepper  <drepper@redhat.com>
1565
1566         * sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
1567         separate function __atfct_seterrno_2.
1568         * include/fcntl.h: Declare __atfct_seterrno_2.
1569         * posix/unistd.h: Declare linkat, symlinkat, readlinkat.
1570         * io/Makefile (routines): Add linkat, symlinkat, readlinkat.
1571         * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat.
1572         * io/linkat.c: New file.
1573         * io/readlinkat.c: New file.
1574         * io/symlinkat.c: New file.
1575         * sysdeps/unix/sysv/linux/linkat.c: New file.
1576         * sysdeps/unix/sysv/linux/readlinkat.c: New file.
1577         * sysdeps/unix/sysv/linux/symlinkat.c: New file.
1578
1579 2005-12-15  Roland McGrath  <roland@redhat.com>
1580
1581         [BZ #1997]
1582         * manual/stdio.texi (String Streams): For open_memstream, elaborate a
1583         little on malloc reference.
1584
1585         * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
1586         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1587         * sysdeps/alpha/fpu/s_casinf.c: Likewise.
1588         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1589         * sysdeps/alpha/fpu/s_catanf.c: Likewise.
1590         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1591         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1592         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1593         * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
1594         * sysdeps/alpha/fpu/s_clog10f.c: Likewise.
1595         * sysdeps/alpha/fpu/s_clogf.c: Likewise.
1596         * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
1597         * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
1598         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1599         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1600         * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
1601         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1602         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1603         * sysdeps/alpha/libc-tls.c: Likewise.
1604         * sysdeps/gnu/glob64.c: Likewise.
1605         * sysdeps/gnu/updwtmp.c: Likewise.
1606         * sysdeps/gnu/utmp_file.c: Likewise.
1607         * sysdeps/i386/bzero.c: Likewise.
1608         * sysdeps/i386/ffs.c: Likewise.
1609         * sysdeps/i386/i686/ffs.c: Likewise.
1610         * sysdeps/i386/memset.c: Likewise.
1611         * sysdeps/ia64/fpu/printf_fphex.c: Likewise.
1612         * sysdeps/ia64/libc-tls.c: Likewise.
1613         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1614         * sysdeps/m68k/ffs.c: Likewise.
1615         * sysdeps/mach/hurd/getdents.c: Likewise.
1616         * sysdeps/mach/hurd/init-posix.c: Likewise.
1617         * sysdeps/mach/msync.c: Likewise.
1618         * sysdeps/mips/libc-tls.c: Likewise.
1619         * sysdeps/posix/profil.c: Likewise.
1620         * sysdeps/posix/shm_open.c: Likewise.
1621         * sysdeps/posix/shm_unlink.c: Likewise.
1622         * sysdeps/posix/sprofil.c: Likewise.
1623         * sysdeps/powerpc/ffs.c: Likewise.
1624         * sysdeps/rs6000/ffs.c: Likewise.
1625         * sysdeps/s390/libc-tls.c: Likewise.
1626         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1627         * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
1628         * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise.
1629         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
1630         * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise.
1631         * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
1632         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1633         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1634         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1635         * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
1636         * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise.
1637         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1638         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1639         * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise.
1640         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1641         * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise.
1642         * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
1643         * sysdeps/unix/sysv/linux/mq_close.c: Likewise.
1644         * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise.
1645         * sysdeps/unix/sysv/linux/mq_notify.c: Likewise.
1646         * sysdeps/unix/sysv/linux/mq_open.c: Likewise.
1647         * sysdeps/unix/sysv/linux/mq_receive.c: Likewise.
1648         * sysdeps/unix/sysv/linux/mq_send.c: Likewise.
1649         * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise.
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1652         * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise.
1653         * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise.
1654         * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise.
1655         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1656         * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
1657         * sysdeps/unix/sysv/linux/sigstack.c: Likewise.
1658         * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
1659         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1660         * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise.
1661         * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
1662         * sysdeps/unix/sysv/linux/vfork.c: Likewise.
1663         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
1664
1665         * sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
1666
1667 2005-12-13  Ulrich Drepper  <drepper@redhat.com>
1668
1669         * locale/programs/charmap-kw.h: Regenerated with new gperf.
1670         * locale/programs/locfile-kw.h: Likewise.
1671
1672         * Makeconfig (+includes): Look in current directory late.
1673         * Makerules: Add rules from rules before the rules for the current
1674         directory.
1675         * sysdeps/generic/__longjmp.c: Moved to...
1676         * setjmp/__longjmp.c: ...here.
1677         * sysdeps/generic/_exit.c: Moved to...
1678         * posix/_exit.c: ...here.
1679         * sysdeps/generic/_strerror.c: Moved to...
1680         * string/_strerror.c: ...here.
1681         * sysdeps/generic/abort.c: Moved to...
1682         * stdlib/abort.c: ...here.
1683         * sysdeps/generic/accept.c: Moved to...
1684         * socket/accept.c: ...here.
1685         * sysdeps/generic/access.c: Moved to...
1686         * io/access.c: ...here.
1687         * sysdeps/generic/acct.c: Moved to...
1688         * misc/acct.c: ...here.
1689         * sysdeps/generic/add_n.c: Moved to...
1690         * stdlib/add_n.c: ...here.
1691         * sysdeps/generic/addmul_1.c: Moved to...
1692         * stdlib/addmul_1.c: ...here.
1693         * sysdeps/generic/adjtime.c: Moved to...
1694         * time/adjtime.c: ...here.
1695         * sysdeps/generic/aio_cancel.c: Moved to...
1696         * rt/aio_cancel.c: ...here.
1697         * sysdeps/generic/aio_fsync.c: Moved to...
1698         * rt/aio_fsync.c: ...here.
1699         * sysdeps/generic/aio_misc.c: Moved to...
1700         * rt/aio_misc.c: ...here.
1701         * sysdeps/generic/aio_notify.c: Moved to...
1702         * rt/aio_notify.c: ...here.
1703         * sysdeps/generic/aio_read.c: Moved to...
1704         * rt/aio_read.c: ...here.
1705         * sysdeps/generic/aio_read64.c: Moved to...
1706         * rt/aio_read64.c: ...here.
1707         * sysdeps/generic/aio_sigqueue.c: Moved to...
1708         * rt/aio_sigqueue.c: ...here.
1709         * sysdeps/generic/aio_suspend.c: Moved to...
1710         * rt/aio_suspend.c: ...here.
1711         * sysdeps/generic/aio_write.c: Moved to...
1712         * rt/aio_write.c: ...here.
1713         * sysdeps/generic/aio_write64.c: Moved to...
1714         * rt/aio_write64.c: ...here.
1715         * sysdeps/generic/alarm.c: Moved to...
1716         * posix/alarm.c: ...here.
1717         * sysdeps/generic/allocrtsig.c: Moved to...
1718         * signal/allocrtsig.c: ...here.
1719         * sysdeps/generic/alphasort64.c: Moved to...
1720         * dirent/alphasort64.c: ...here.
1721         * sysdeps/generic/backtrace.c: Moved to...
1722         * debug/backtrace.c: ...here.
1723         * sysdeps/generic/backtracesyms.c: Moved to...
1724         * debug/backtracesyms.c: ...here.
1725         * sysdeps/generic/backtracesymsfd.c: Moved to...
1726         * debug/backtracesymsfd.c: ...here.
1727         * sysdeps/generic/bb_init_func.c: Moved to...
1728         * gmon/bb_init_func.c: ...here.
1729         * sysdeps/generic/bcopy.c: Moved to...
1730         * string/bcopy.c: ...here.
1731         * sysdeps/generic/bind.c: Moved to...
1732         * socket/bind.c: ...here.
1733         * sysdeps/generic/brdinit.c: Moved to...
1734         * bare/brdinit.c: ...here.
1735         * sysdeps/generic/brk.c: Moved to...
1736         * misc/brk.c: ...here.
1737         * sysdeps/generic/bsd-_setjmp.c: Moved to...
1738         * setjmp/bsd-_setjmp.c: ...here.
1739         * sysdeps/generic/bsd-setjmp.c: Moved to...
1740         * setjmp/bsd-setjmp.c: ...here.
1741         * sysdeps/generic/bzero.c: Moved to...
1742         * string/bzero.c: ...here.
1743         * sysdeps/generic/cabsf.c: Moved to...
1744         * math/cabsf.c: ...here.
1745         * sysdeps/generic/cargf.c: Moved to...
1746         * math/cargf.c: ...here.
1747         * sysdeps/generic/chdir.c: Moved to...
1748         * io/chdir.c: ...here.
1749         * sysdeps/generic/check_fds.c: Moved to...
1750         * csu/check_fds.c: ...here.
1751         * sysdeps/generic/check_pf.c: Moved to...
1752         * inet/check_pf.c: ...here.
1753         * sysdeps/generic/chflags.c: Moved to...
1754         * misc/chflags.c: ...here.
1755         * sysdeps/generic/chmod.c: Moved to...
1756         * io/chmod.c: ...here.
1757         * sysdeps/generic/chown.c: Moved to...
1758         * io/chown.c: ...here.
1759         * sysdeps/generic/chroot.c: Moved to...
1760         * misc/chroot.c: ...here.
1761         * sysdeps/generic/cimagf.c: Moved to...
1762         * math/cimagf.c: ...here.
1763         * sysdeps/generic/clock.c: Moved to...
1764         * time/clock.c: ...here.
1765         * sysdeps/generic/clock_getcpuclockid.c: Moved to...
1766         * rt/clock_getcpuclockid.c: ...here.
1767         * sysdeps/generic/clock_getres.c: Moved to...
1768         * rt/clock_getres.c: ...here.
1769         * sysdeps/generic/clock_gettime.c: Moved to...
1770         * rt/clock_gettime.c: ...here.
1771         * sysdeps/generic/clock_nanosleep.c: Moved to...
1772         * rt/clock_nanosleep.c: ...here.
1773         * sysdeps/generic/clock_settime.c: Moved to...
1774         * rt/clock_settime.c: ...here.
1775         * sysdeps/generic/close.c: Moved to...
1776         * io/close.c: ...here.
1777         * sysdeps/generic/closedir.c: Moved to...
1778         * dirent/closedir.c: ...here.
1779         * sysdeps/generic/cmp.c: Moved to...
1780         * stdlib/cmp.c: ...here.
1781         * sysdeps/generic/conjf.c: Moved to...
1782         * math/conjf.c: ...here.
1783         * sysdeps/generic/connect.c: Moved to...
1784         * socket/connect.c: ...here.
1785         * sysdeps/generic/console.c: Moved to...
1786         * bare/console.c: ...here.
1787         * sysdeps/generic/crealf.c: Moved to...
1788         * math/crealf.c: ...here.
1789         * sysdeps/generic/creat.c: Moved to...
1790         * io/creat.c: ...here.
1791         * sysdeps/generic/creat64.c: Moved to...
1792         * io/creat64.c: ...here.
1793         * sysdeps/generic/ctermid.c: Moved to...
1794         * stdio-common/ctermid.c: ...here.
1795         * sysdeps/generic/cuserid.c: Moved to...
1796         * stdio-common/cuserid.c: ...here.
1797         * sysdeps/generic/dbl2mpn.c: Moved to...
1798         * stdlib/dbl2mpn.c: ...here.
1799         * sysdeps/generic/dirfd.c: Moved to...
1800         * dirent/dirfd.c: ...here.
1801         * sysdeps/generic/div.c: Moved to...
1802         * stdlib/div.c: ...here.
1803         * sysdeps/generic/divmod_1.c: Moved to...
1804         * stdlib/divmod_1.c: ...here.
1805         * sysdeps/generic/divrem.c: Moved to...
1806         * stdlib/divrem.c: ...here.
1807         * sysdeps/generic/dl-brk.c: Moved to...
1808         * elf/dl-brk.c: ...here.
1809         * sysdeps/generic/dl-cache.c: Moved to...
1810         * elf/dl-cache.c: ...here.
1811         * sysdeps/generic/dl-environ.c: Moved to...
1812         * elf/dl-environ.c: ...here.
1813         * sysdeps/generic/dl-execstack.c: Moved to...
1814         * elf/dl-execstack.c: ...here.
1815         * sysdeps/generic/dl-fptr.c: Moved to...
1816         * elf/dl-fptr.c: ...here.
1817         * sysdeps/generic/dl-origin.c: Moved to...
1818         * elf/dl-origin.c: ...here.
1819         * sysdeps/generic/dl-sbrk.c: Moved to...
1820         * elf/dl-sbrk.c: ...here.
1821         * sysdeps/generic/dl-symaddr.c: Moved to...
1822         * elf/dl-symaddr.c: ...here.
1823         * sysdeps/generic/dl-sysdep.c: Moved to...
1824         * elf/dl-sysdep.c: ...here.
1825         * sysdeps/generic/dl-tls.c: Moved to...
1826         * elf/dl-tls.c: ...here.
1827         * sysdeps/generic/dl-trampoline.c: Moved to...
1828         * elf/dl-trampoline.c: ...here.
1829         * sysdeps/generic/dup.c: Moved to...
1830         * io/dup.c: ...here.
1831         * sysdeps/generic/dup2.c: Moved to...
1832         * io/dup2.c: ...here.
1833         * sysdeps/generic/e_acoshl.c: Moved to...
1834         * math/e_acoshl.c: ...here.
1835         * sysdeps/generic/e_acosl.c: Moved to...
1836         * math/e_acosl.c: ...here.
1837         * sysdeps/generic/e_asinl.c: Moved to...
1838         * math/e_asinl.c: ...here.
1839         * sysdeps/generic/e_atan2l.c: Moved to...
1840         * math/e_atan2l.c: ...here.
1841         * sysdeps/generic/e_atanhl.c: Moved to...
1842         * math/e_atanhl.c: ...here.
1843         * sysdeps/generic/e_coshl.c: Moved to...
1844         * math/e_coshl.c: ...here.
1845         * sysdeps/generic/e_exp10.c: Moved to...
1846         * math/e_exp10.c: ...here.
1847         * sysdeps/generic/e_exp10f.c: Moved to...
1848         * math/e_exp10f.c: ...here.
1849         * sysdeps/generic/e_exp10l.c: Moved to...
1850         * math/e_exp10l.c: ...here.
1851         * sysdeps/generic/e_exp2l.c: Moved to...
1852         * math/e_exp2l.c: ...here.
1853         * sysdeps/generic/e_expl.c: Moved to...
1854         * math/e_expl.c: ...here.
1855         * sysdeps/generic/e_fmodl.c: Moved to...
1856         * math/e_fmodl.c: ...here.
1857         * sysdeps/generic/e_gammal_r.c: Moved to...
1858         * math/e_gammal_r.c: ...here.
1859         * sysdeps/generic/e_hypotl.c: Moved to...
1860         * math/e_hypotl.c: ...here.
1861         * sysdeps/generic/e_j0l.c: Moved to...
1862         * math/e_j0l.c: ...here.
1863         * sysdeps/generic/e_j1l.c: Moved to...
1864         * math/e_j1l.c: ...here.
1865         * sysdeps/generic/e_jnl.c: Moved to...
1866         * math/e_jnl.c: ...here.
1867         * sysdeps/generic/e_lgammal_r.c: Moved to...
1868         * math/e_lgammal_r.c: ...here.
1869         * sysdeps/generic/e_log10l.c: Moved to...
1870         * math/e_log10l.c: ...here.
1871         * sysdeps/generic/e_log2l.c: Moved to...
1872         * math/e_log2l.c: ...here.
1873         * sysdeps/generic/e_logl.c: Moved to...
1874         * math/e_logl.c: ...here.
1875         * sysdeps/generic/e_powl.c: Moved to...
1876         * math/e_powl.c: ...here.
1877         * sysdeps/generic/e_rem_pio2l.c: Moved to...
1878         * math/e_rem_pio2l.c: ...here.
1879         * sysdeps/generic/e_scalb.c: Moved to...
1880         * math/e_scalb.c: ...here.
1881         * sysdeps/generic/e_scalbf.c: Moved to...
1882         * math/e_scalbf.c: ...here.
1883         * sysdeps/generic/e_scalbl.c: Moved to...
1884         * math/e_scalbl.c: ...here.
1885         * sysdeps/generic/e_sinhl.c: Moved to...
1886         * math/e_sinhl.c: ...here.
1887         * sysdeps/generic/e_sqrtl.c: Moved to...
1888         * math/e_sqrtl.c: ...here.
1889         * sysdeps/generic/enbl-secure.c: Moved to...
1890         * elf/enbl-secure.c: ...here.
1891         * sysdeps/generic/endutxent.c: Moved to...
1892         * login/endutxent.c: ...here.
1893         * sysdeps/generic/environ.c: Moved to...
1894         * posix/environ.c: ...here.
1895         * sysdeps/generic/errlist.c: Moved to...
1896         * stdio-common/errlist.c: ...here.
1897         * sysdeps/generic/errno-loc.c: Moved to...
1898         * csu/errno-loc.c: ...here.
1899         * sysdeps/generic/errno-loc.c: Moved to...
1900         * csu/errno-loc.c: ...here.
1901         * sysdeps/generic/errno.c: Moved to...
1902         * csu/errno.c: ...here.
1903         * sysdeps/generic/euidaccess.c: Moved to...
1904         * io/euidaccess.c: ...here.
1905         * sysdeps/generic/exc2signal.c: Moved to...
1906         * hurd/exc2signal.c: ...here.
1907         * sysdeps/generic/execve.c: Moved to...
1908         * posix/execve.c: ...here.
1909         * sysdeps/generic/fattach.c: Moved to...
1910         * streams/fattach.c: ...here.
1911         * sysdeps/generic/fchdir.c: Moved to...
1912         * io/fchdir.c: ...here.
1913         * sysdeps/generic/fchflags.c: Moved to...
1914         * misc/fchflags.c: ...here.
1915         * sysdeps/generic/fchmod.c: Moved to...
1916         * io/fchmod.c: ...here.
1917         * sysdeps/generic/fchown.c: Moved to...
1918         * io/fchown.c: ...here.
1919         * sysdeps/generic/fchownat.c: Moved to...
1920         * io/fchownat.c: ...here.
1921         * sysdeps/generic/fclrexcpt.c: Moved to...
1922         * math/fclrexcpt.c: ...here.
1923         * sysdeps/generic/fcntl.c: Moved to...
1924         * io/fcntl.c: ...here.
1925         * sysdeps/generic/fdatasync.c: Moved to...
1926         * misc/fdatasync.c: ...here.
1927         * sysdeps/generic/fdetach.c: Moved to...
1928         * streams/fdetach.c: ...here.
1929         * sysdeps/generic/fdopendir.c: Moved to...
1930         * dirent/fdopendir.c: ...here.
1931         * sysdeps/generic/fedisblxcpt.c: Moved to...
1932         * math/fedisblxcpt.c: ...here.
1933         * sysdeps/generic/feenablxcpt.c: Moved to...
1934         * math/feenablxcpt.c: ...here.
1935         * sysdeps/generic/fegetenv.c: Moved to...
1936         * math/fegetenv.c: ...here.
1937         * sysdeps/generic/fegetexcept.c: Moved to...
1938         * math/fegetexcept.c: ...here.
1939         * sysdeps/generic/fegetround.c: Moved to...
1940         * math/fegetround.c: ...here.
1941         * sysdeps/generic/feholdexcpt.c: Moved to...
1942         * math/feholdexcpt.c: ...here.
1943         * sysdeps/generic/fesetenv.c: Moved to...
1944         * math/fesetenv.c: ...here.
1945         * sysdeps/generic/fesetround.c: Moved to...
1946         * math/fesetround.c: ...here.
1947         * sysdeps/generic/feupdateenv.c: Moved to...
1948         * math/feupdateenv.c: ...here.
1949         * sysdeps/generic/fexecve.c: Moved to...
1950         * posix/fexecve.c: ...here.
1951         * sysdeps/generic/ffs.c: Moved to...
1952         * string/ffs.c: ...here.
1953         * sysdeps/generic/ffsll.c: Moved to...
1954         * string/ffsll.c: ...here.
1955         * sysdeps/generic/fgetexcptflg.c: Moved to...
1956         * math/fgetexcptflg.c: ...here.
1957         * sysdeps/generic/fgetxattr.c: Moved to...
1958         * misc/fgetxattr.c: ...here.
1959         * sysdeps/generic/flistxattr.c: Moved to...
1960         * misc/flistxattr.c: ...here.
1961         * sysdeps/generic/flock.c: Moved to...
1962         * io/flock.c: ...here.
1963         * sysdeps/generic/flockfile.c: Moved to...
1964         * stdio-common/flockfile.c: ...here.
1965         * sysdeps/generic/fork.c: Moved to...
1966         * posix/fork.c: ...here.
1967         * sysdeps/generic/fpathconf.c: Moved to...
1968         * posix/fpathconf.c: ...here.
1969         * sysdeps/generic/fpu_control.c: Moved to...
1970         * math/fpu_control.c: ...here.
1971         * sysdeps/generic/fraiseexcpt.c: Moved to...
1972         * math/fraiseexcpt.c: ...here.
1973         * sysdeps/generic/fremovexattr.c: Moved to...
1974         * misc/fremovexattr.c: ...here.
1975         * sysdeps/generic/fsetexcptflg.c: Moved to...
1976         * math/fsetexcptflg.c: ...here.
1977         * sysdeps/generic/fsetxattr.c: Moved to...
1978         * misc/fsetxattr.c: ...here.
1979         * sysdeps/generic/fstatfs.c: Moved to...
1980         * io/fstatfs.c: ...here.
1981         * sysdeps/generic/fstatfs64.c: Moved to...
1982         * io/fstatfs64.c: ...here.
1983         * sysdeps/generic/fstatvfs.c: Moved to...
1984         * io/fstatvfs.c: ...here.
1985         * sysdeps/generic/fstatvfs64.c: Moved to...
1986         * io/fstatvfs64.c: ...here.
1987         * sysdeps/generic/fsync.c: Moved to...
1988         * misc/fsync.c: ...here.
1989         * sysdeps/generic/ftestexcept.c: Moved to...
1990         * math/ftestexcept.c: ...here.
1991         * sysdeps/generic/ftime.c: Moved to...
1992         * time/ftime.c: ...here.
1993         * sysdeps/generic/ftruncate.c: Moved to...
1994         * misc/ftruncate.c: ...here.
1995         * sysdeps/generic/ftruncate64.c: Moved to...
1996         * misc/ftruncate64.c: ...here.
1997         * sysdeps/generic/ftrylockfile.c: Moved to...
1998         * stdio-common/ftrylockfile.c: ...here.
1999         * sysdeps/generic/funlockfile.c: Moved to...
2000         * stdio-common/funlockfile.c: ...here.
2001         * sysdeps/generic/futimes.c: Moved to...
2002         * misc/futimes.c: ...here.
2003         * sysdeps/generic/futimesat.c: Moved to...
2004         * misc/futimesat.c: ...here.
2005         * sysdeps/generic/fxstat.c: Moved to...
2006         * io/fxstat.c: ...here.
2007         * sysdeps/generic/fxstat64.c: Moved to...
2008         * io/fxstat64.c: ...here.
2009         * sysdeps/generic/fxstatat.c: Moved to...
2010         * io/fxstatat.c: ...here.
2011         * sysdeps/generic/fxstatat64.c: Moved to...
2012         * io/fxstatat64.c: ...here.
2013         * sysdeps/generic/gai_sigqueue.c: Moved to...
2014         * resolv/gai_sigqueue.c: ...here.
2015         * sysdeps/generic/gai_strerror.c: Moved to...
2016         * posix/gai_strerror.c: ...here.
2017         * sysdeps/generic/get_clockfreq.c: Moved to...
2018         * rt/get_clockfreq.c: ...here.
2019         * sysdeps/generic/getaddrinfo.c: Moved to...
2020         * posix/getaddrinfo.c: ...here.
2021         * sysdeps/generic/getclktck.c: Moved to...
2022         * misc/getclktck.c: ...here.
2023         * sysdeps/generic/getcontext.c: Moved to...
2024         * stdlib/getcontext.c: ...here.
2025         * sysdeps/generic/getcwd.c: Moved to...
2026         * io/getcwd.c: ...here.
2027         * sysdeps/generic/getdents.c: Moved to...
2028         * dirent/getdents.c: ...here.
2029         * sysdeps/generic/getdents64.c: Moved to...
2030         * dirent/getdents64.c: ...here.
2031         * sysdeps/generic/getdomain.c: Moved to...
2032         * misc/getdomain.c: ...here.
2033         * sysdeps/generic/getdtsz.c: Moved to...
2034         * misc/getdtsz.c: ...here.
2035         * sysdeps/generic/getegid.c: Moved to...
2036         * posix/getegid.c: ...here.
2037         * sysdeps/generic/getenv.c: Moved to...
2038         * stdlib/getenv.c: ...here.
2039         * sysdeps/generic/geteuid.c: Moved to...
2040         * posix/geteuid.c: ...here.
2041         * sysdeps/generic/getgid.c: Moved to...
2042         * posix/getgid.c: ...here.
2043         * sysdeps/generic/getgroups.c: Moved to...
2044         * posix/getgroups.c: ...here.
2045         * sysdeps/generic/gethostid.c: Moved to...
2046         * misc/gethostid.c: ...here.
2047         * sysdeps/generic/gethostname.c: Moved to...
2048         * misc/gethostname.c: ...here.
2049         * sysdeps/generic/getipv4sourcefilter.c: Moved to...
2050         * inet/getipv4sourcefilter.c: ...here.
2051         * sysdeps/generic/getitimer.c: Moved to...
2052         * time/getitimer.c: ...here.
2053         * sysdeps/generic/getloadavg.c: Moved to...
2054         * misc/getloadavg.c: ...here.
2055         * sysdeps/generic/getlogin.c: Moved to...
2056         * posix/getlogin.c: ...here.
2057         * sysdeps/generic/getlogin_r.c: Moved to...
2058         * posix/getlogin_r.c: ...here.
2059         * sysdeps/generic/getmsg.c: Moved to...
2060         * streams/getmsg.c: ...here.
2061         * sysdeps/generic/getpagesize.c: Moved to...
2062         * misc/getpagesize.c: ...here.
2063         * sysdeps/generic/getpeername.c: Moved to...
2064         * socket/getpeername.c: ...here.
2065         * sysdeps/generic/getpgid.c: Moved to...
2066         * posix/getpgid.c: ...here.
2067         * sysdeps/generic/getpgrp.c: Moved to...
2068         * posix/getpgrp.c: ...here.
2069         * sysdeps/generic/getpid.c: Moved to...
2070         * posix/getpid.c: ...here.
2071         * sysdeps/generic/getpmsg.c: Moved to...
2072         * streams/getpmsg.c: ...here.
2073         * sysdeps/generic/getppid.c: Moved to...
2074         * posix/getppid.c: ...here.
2075         * sysdeps/generic/getpriority.c: Moved to...
2076         * resource/getpriority.c: ...here.
2077         * sysdeps/generic/getpt.c: Moved to...
2078         * login/getpt.c: ...here.
2079         * sysdeps/generic/getresgid.c: Moved to...
2080         * posix/getresgid.c: ...here.
2081         * sysdeps/generic/getresuid.c: Moved to...
2082         * posix/getresuid.c: ...here.
2083         * sysdeps/generic/getrlimit.c: Moved to...
2084         * resource/getrlimit.c: ...here.
2085         * sysdeps/generic/getrlimit64.c: Moved to...
2086         * resource/getrlimit64.c: ...here.
2087         * sysdeps/generic/getrusage.c: Moved to...
2088         * resource/getrusage.c: ...here.
2089         * sysdeps/generic/getsid.c: Moved to...
2090         * posix/getsid.c: ...here.
2091         * sysdeps/generic/getsockname.c: Moved to...
2092         * socket/getsockname.c: ...here.
2093         * sysdeps/generic/getsockopt.c: Moved to...
2094         * socket/getsockopt.c: ...here.
2095         * sysdeps/generic/getsourcefilter.c: Moved to...
2096         * inet/getsourcefilter.c: ...here.
2097         * sysdeps/generic/getsysstats.c: Moved to...
2098         * misc/getsysstats.c: ...here.
2099         * sysdeps/generic/gettimeofday.c: Moved to...
2100         * time/gettimeofday.c: ...here.
2101         * sysdeps/generic/getuid.c: Moved to...
2102         * posix/getuid.c: ...here.
2103         * sysdeps/generic/getutmp.c: Moved to...
2104         * login/getutmp.c: ...here.
2105         * sysdeps/generic/getutmpx.c: Moved to...
2106         * login/getutmpx.c: ...here.
2107         * sysdeps/generic/getutxent.c: Moved to...
2108         * login/getutxent.c: ...here.
2109         * sysdeps/generic/getutxid.c: Moved to...
2110         * login/getutxid.c: ...here.
2111         * sysdeps/generic/getutxline.c: Moved to...
2112         * login/getutxline.c: ...here.
2113         * sysdeps/generic/getxattr.c: Moved to...
2114         * misc/getxattr.c: ...here.
2115         * sysdeps/generic/glob.c: Moved to...
2116         * posix/glob.c: ...here.
2117         * sysdeps/generic/glob64.c: Moved to...
2118         * posix/glob64.c: ...here.
2119         * sysdeps/generic/grantpt.c: Moved to...
2120         * login/grantpt.c: ...here.
2121         * sysdeps/generic/group_member.c: Moved to...
2122         * posix/group_member.c: ...here.
2123         * sysdeps/generic/gtty.c: Moved to...
2124         * misc/gtty.c: ...here.
2125         * sysdeps/generic/herrno-loc.c: Moved to...
2126         * inet/herrno-loc.c: ...here.
2127         * sysdeps/generic/htonl.c: Moved to...
2128         * inet/htonl.c: ...here.
2129         * sysdeps/generic/htons.c: Moved to...
2130         * inet/htons.c: ...here.
2131         * sysdeps/generic/if_index.c: Moved to...
2132         * inet/if_index.c: ...here.
2133         * sysdeps/generic/ifaddrs.c: Moved to...
2134         * inet/ifaddrs.c: ...here.
2135         * sysdeps/generic/ifreq.c: Moved to...
2136         * inet/ifreq.c: ...here.
2137         * sysdeps/generic/init-first.c: Moved to...
2138         * csu/init-first.c: ...here.
2139         * sysdeps/generic/init-posix.c: Moved to...
2140         * posix/init-posix.c: ...here.
2141         * sysdeps/generic/inlines.c: Moved to...
2142         * stdlib/inlines.c: ...here.
2143         * sysdeps/generic/ioctl.c: Moved to...
2144         * misc/ioctl.c: ...here.
2145         * sysdeps/generic/isastream.c: Moved to...
2146         * streams/isastream.c: ...here.
2147         * sysdeps/generic/isatty.c: Moved to...
2148         * io/isatty.c: ...here.
2149         * sysdeps/generic/isfdtype.c: Moved to...
2150         * socket/isfdtype.c: ...here.
2151         * sysdeps/generic/jmp-unwind.c: Moved to...
2152         * setjmp/jmp-unwind.c: ...here.
2153         * sysdeps/generic/k_cosl.c: Moved to...
2154         * math/k_cosl.c: ...here.
2155         * sysdeps/generic/k_rem_pio2l.c: Moved to...
2156         * math/k_rem_pio2l.c: ...here.
2157         * sysdeps/generic/k_sincosl.c: Moved to...
2158         * math/k_sincosl.c: ...here.
2159         * sysdeps/generic/k_sinl.c: Moved to...
2160         * math/k_sinl.c: ...here.
2161         * sysdeps/generic/k_tanl.c: Moved to...
2162         * math/k_tanl.c: ...here.
2163         * sysdeps/generic/kill.c: Moved to...
2164         * signal/kill.c: ...here.
2165         * sysdeps/generic/killpg.c: Moved to...
2166         * signal/killpg.c: ...here.
2167         * sysdeps/generic/labs.c: Moved to...
2168         * stdlib/labs.c: ...here.
2169         * sysdeps/generic/lchmod.c: Moved to...
2170         * io/lchmod.c: ...here.
2171         * sysdeps/generic/lchown.c: Moved to...
2172         * io/lchown.c: ...here.
2173         * sysdeps/generic/ldbl2mpn.c: Moved to...
2174         * stdlib/ldbl2mpn.c: ...here.
2175         * sysdeps/generic/ldiv.c: Moved to...
2176         * stdlib/ldiv.c: ...here.
2177         * sysdeps/generic/lgetxattr.c: Moved to...
2178         * misc/lgetxattr.c: ...here.
2179         * sysdeps/generic/libc-start.c: Moved to...
2180         * csu/libc-start.c: ...here.
2181         * sysdeps/generic/libc-tls.c: Moved to...
2182         * csu/libc-tls.c: ...here.
2183         * sysdeps/generic/libc_fatal.c: Moved to...
2184         * libio/libc_fatal.c: ...here.
2185         * sysdeps/generic/link.c: Moved to...
2186         * io/link.c: ...here.
2187         * sysdeps/generic/lio_listio.c: Moved to...
2188         * rt/lio_listio.c: ...here.
2189         * sysdeps/generic/lio_listio64.c: Moved to...
2190         * rt/lio_listio64.c: ...here.
2191         * sysdeps/generic/listen.c: Moved to...
2192         * socket/listen.c: ...here.
2193         * sysdeps/generic/listxattr.c: Moved to...
2194         * misc/listxattr.c: ...here.
2195         * sysdeps/generic/llabs.c: Moved to...
2196         * stdlib/llabs.c: ...here.
2197         * sysdeps/generic/lldiv.c: Moved to...
2198         * stdlib/lldiv.c: ...here.
2199         * sysdeps/generic/llistxattr.c: Moved to...
2200         * misc/llistxattr.c: ...here.
2201         * sysdeps/generic/lockf.c: Moved to...
2202         * io/lockf.c: ...here.
2203         * sysdeps/generic/lockf64.c: Moved to...
2204         * io/lockf64.c: ...here.
2205         * sysdeps/generic/longjmp-ts.c: Moved to...
2206         * hurd/longjmp-ts.c: ...here.
2207         * sysdeps/generic/longjmp.c: Moved to...
2208         * setjmp/longjmp.c: ...here.
2209         * sysdeps/generic/lremovexattr.c: Moved to...
2210         * misc/lremovexattr.c: ...here.
2211         * sysdeps/generic/lseek.c: Moved to...
2212         * misc/lseek.c: ...here.
2213         * sysdeps/generic/lseek64.c: Moved to...
2214         * io/lseek64.c: ...here.
2215         * sysdeps/generic/lsetxattr.c: Moved to...
2216         * misc/lsetxattr.c: ...here.
2217         * sysdeps/generic/lshift.c: Moved to...
2218         * stdlib/lshift.c: ...here.
2219         * sysdeps/generic/lutimes.c: Moved to...
2220         * misc/lutimes.c: ...here.
2221         * sysdeps/generic/lxstat.c: Moved to...
2222         * io/lxstat.c: ...here.
2223         * sysdeps/generic/lxstat64.c: Moved to...
2224         * io/lxstat64.c: ...here.
2225         * sysdeps/generic/madvise.c: Moved to...
2226         * misc/madvise.c: ...here.
2227         * sysdeps/generic/makecontext.c: Moved to...
2228         * stdlib/makecontext.c: ...here.
2229         * sysdeps/generic/memccpy.c: Moved to...
2230         * string/memccpy.c: ...here.
2231         * sysdeps/generic/memchr.c: Moved to...
2232         * string/memchr.c: ...here.
2233         * sysdeps/generic/memcmp.c: Moved to...
2234         * string/memcmp.c: ...here.
2235         * sysdeps/generic/memcpy.c: Moved to...
2236         * string/memcpy.c: ...here.
2237         * sysdeps/generic/memcpy_chk.c: Moved to...
2238         * debug/memcpy_chk.c: ...here.
2239         * sysdeps/generic/memmem.c: Moved to...
2240         * string/memmem.c: ...here.
2241         * sysdeps/generic/memmove.c: Moved to...
2242         * string/memmove.c: ...here.
2243         * sysdeps/generic/memmove_chk.c: Moved to...
2244         * debug/memmove_chk.c: ...here.
2245         * sysdeps/generic/mempcpy.c: Moved to...
2246         * string/mempcpy.c: ...here.
2247         * sysdeps/generic/mempcpy_chk.c: Moved to...
2248         * debug/mempcpy_chk.c: ...here.
2249         * sysdeps/generic/memrchr.c: Moved to...
2250         * string/memrchr.c: ...here.
2251         * sysdeps/generic/memset.c: Moved to...
2252         * string/memset.c: ...here.
2253         * sysdeps/generic/memset_chk.c: Moved to...
2254         * debug/memset_chk.c: ...here.
2255         * sysdeps/generic/mig-reply.c: Moved to...
2256         * mach/mig-reply.c: ...here.
2257         * sysdeps/generic/mincore.c: Moved to...
2258         * misc/mincore.c: ...here.
2259         * sysdeps/generic/mkdir.c: Moved to...
2260         * io/mkdir.c: ...here.
2261         * sysdeps/generic/mkdirat.c: Moved to...
2262         * io/mkdirat.c: ...here.
2263         * sysdeps/generic/mkfifo.c: Moved to...
2264         * io/mkfifo.c: ...here.
2265         * sysdeps/generic/mkfifoat.c: Moved to...
2266         * io/mkfifoat.c: ...here.
2267         * sysdeps/generic/mknod.c: Moved to...
2268         * io/mknod.c: ...here.
2269         * sysdeps/generic/mknodat.c: Moved to...
2270         * io/mknodat.c: ...here.
2271         * sysdeps/generic/mlock.c: Moved to...
2272         * misc/mlock.c: ...here.
2273         * sysdeps/generic/mlockall.c: Moved to...
2274         * misc/mlockall.c: ...here.
2275         * sysdeps/generic/mmap.c: Moved to...
2276         * misc/mmap.c: ...here.
2277         * sysdeps/generic/mmap64.c: Moved to...
2278         * misc/mmap64.c: ...here.
2279         * sysdeps/generic/mod_1.c: Moved to...
2280         * stdlib/mod_1.c: ...here.
2281         * sysdeps/generic/morecore.c: Moved to...
2282         * malloc/morecore.c: ...here.
2283         * sysdeps/generic/mp_clz_tab.c: Moved to...
2284         * stdlib/mp_clz_tab.c: ...here.
2285         * sysdeps/generic/mpn2dbl.c: Moved to...
2286         * stdlib/mpn2dbl.c: ...here.
2287         * sysdeps/generic/mpn2flt.c: Moved to...
2288         * stdlib/mpn2flt.c: ...here.
2289         * sysdeps/generic/mpn2ldbl.c: Moved to...
2290         * stdlib/mpn2ldbl.c: ...here.
2291         * sysdeps/generic/mprotect.c: Moved to...
2292         * misc/mprotect.c: ...here.
2293         * sysdeps/generic/mq_close.c: Moved to...
2294         * rt/mq_close.c: ...here.
2295         * sysdeps/generic/mq_getattr.c: Moved to...
2296         * rt/mq_getattr.c: ...here.
2297         * sysdeps/generic/mq_notify.c: Moved to...
2298         * rt/mq_notify.c: ...here.
2299         * sysdeps/generic/mq_open.c: Moved to...
2300         * rt/mq_open.c: ...here.
2301         * sysdeps/generic/mq_receive.c: Moved to...
2302         * rt/mq_receive.c: ...here.
2303         * sysdeps/generic/mq_send.c: Moved to...
2304         * rt/mq_send.c: ...here.
2305         * sysdeps/generic/mq_setattr.c: Moved to...
2306         * rt/mq_setattr.c: ...here.
2307         * sysdeps/generic/mq_timedreceive.c: Moved to...
2308         * rt/mq_timedreceive.c: ...here.
2309         * sysdeps/generic/mq_timedsend.c: Moved to...
2310         * rt/mq_timedsend.c: ...here.
2311         * sysdeps/generic/mq_unlink.c: Moved to...
2312         * rt/mq_unlink.c: ...here.
2313         * sysdeps/generic/msgctl.c: Moved to...
2314         * sysvipc/msgctl.c: ...here.
2315         * sysdeps/generic/msgget.c: Moved to...
2316         * sysvipc/msgget.c: ...here.
2317         * sysdeps/generic/msgrcv.c: Moved to...
2318         * sysvipc/msgrcv.c: ...here.
2319         * sysdeps/generic/msgsnd.c: Moved to...
2320         * sysvipc/msgsnd.c: ...here.
2321         * sysdeps/generic/msync.c: Moved to...
2322         * misc/msync.c: ...here.
2323         * sysdeps/generic/mul.c: Moved to...
2324         * stdlib/mul.c: ...here.
2325         * sysdeps/generic/mul_1.c: Moved to...
2326         * stdlib/mul_1.c: ...here.
2327         * sysdeps/generic/mul_n.c: Moved to...
2328         * stdlib/mul_n.c: ...here.
2329         * sysdeps/generic/munlock.c: Moved to...
2330         * misc/munlock.c: ...here.
2331         * sysdeps/generic/munlockall.c: Moved to...
2332         * misc/munlockall.c: ...here.
2333         * sysdeps/generic/munmap.c: Moved to...
2334         * misc/munmap.c: ...here.
2335         * sysdeps/generic/nanosleep.c: Moved to...
2336         * posix/nanosleep.c: ...here.
2337         * sysdeps/generic/nice.c: Moved to...
2338         * resource/nice.c: ...here.
2339         * sysdeps/generic/nscd_setup_thread.c: Moved to...
2340         * nscd/nscd_setup_thread.c: ...here.
2341         * sysdeps/generic/open.c: Moved to...
2342         * io/open.c: ...here.
2343         * sysdeps/generic/open64.c: Moved to...
2344         * io/open64.c: ...here.
2345         * sysdeps/generic/openat.c: Moved to...
2346         * io/openat.c: ...here.
2347         * sysdeps/generic/openat64.c: Moved to...
2348         * io/openat64.c: ...here.
2349         * sysdeps/generic/opendir.c: Moved to...
2350         * dirent/opendir.c: ...here.
2351         * sysdeps/generic/opensock.c: Moved to...
2352         * socket/opensock.c: ...here.
2353         * sysdeps/generic/pathconf.c: Moved to...
2354         * posix/pathconf.c: ...here.
2355         * sysdeps/generic/pause.c: Moved to...
2356         * posix/pause.c: ...here.
2357         * sysdeps/generic/pipe.c: Moved to...
2358         * io/pipe.c: ...here.
2359         * sysdeps/generic/poll.c: Moved to...
2360         * io/poll.c: ...here.
2361         * sysdeps/generic/posix_fadvise.c: Moved to...
2362         * io/posix_fadvise.c: ...here.
2363         * sysdeps/generic/posix_fadvise64.c: Moved to...
2364         * io/posix_fadvise64.c: ...here.
2365         * sysdeps/generic/posix_fallocate.c: Moved to...
2366         * io/posix_fallocate.c: ...here.
2367         * sysdeps/generic/posix_fallocate64.c: Moved to...
2368         * io/posix_fallocate64.c: ...here.
2369         * sysdeps/generic/posix_madvise.c: Moved to...
2370         * posix/posix_madvise.c: ...here.
2371         * sysdeps/generic/pread.c: Moved to...
2372         * posix/pread.c: ...here.
2373         * sysdeps/generic/pread64.c: Moved to...
2374         * posix/pread64.c: ...here.
2375         * sysdeps/generic/printf_fphex.c: Moved to...
2376         * stdio-common/printf_fphex.c: ...here.
2377         * sysdeps/generic/prof-freq.c: Moved to...
2378         * gmon/prof-freq.c: ...here.
2379         * sysdeps/generic/profil.c: Moved to...
2380         * gmon/profil.c: ...here.
2381         * sysdeps/generic/pselect.c: Moved to...
2382         * misc/pselect.c: ...here.
2383         * sysdeps/generic/ptrace.c: Moved to...
2384         * misc/ptrace.c: ...here.
2385         * sysdeps/generic/ptsname.c: Moved to...
2386         * login/ptsname.c: ...here.
2387         * sysdeps/generic/putenv.c: Moved to...
2388         * stdlib/putenv.c: ...here.
2389         * sysdeps/generic/putmsg.c: Moved to...
2390         * streams/putmsg.c: ...here.
2391         * sysdeps/generic/putpmsg.c: Moved to...
2392         * streams/putpmsg.c: ...here.
2393         * sysdeps/generic/pututxline.c: Moved to...
2394         * login/pututxline.c: ...here.
2395         * sysdeps/generic/pwrite.c: Moved to...
2396         * posix/pwrite.c: ...here.
2397         * sysdeps/generic/pwrite64.c: Moved to...
2398         * posix/pwrite64.c: ...here.
2399         * sysdeps/generic/raise.c: Moved to...
2400         * signal/raise.c: ...here.
2401         * sysdeps/generic/rawmemchr.c: Moved to...
2402         * string/rawmemchr.c: ...here.
2403         * sysdeps/generic/read.c: Moved to...
2404         * io/read.c: ...here.
2405         * sysdeps/generic/readdir.c: Moved to...
2406         * dirent/readdir.c: ...here.
2407         * sysdeps/generic/readdir64.c: Moved to...
2408         * dirent/readdir64.c: ...here.
2409         * sysdeps/generic/readdir64_r.c: Moved to...
2410         * dirent/readdir64_r.c: ...here.
2411         * sysdeps/generic/readdir_r.c: Moved to...
2412         * dirent/readdir_r.c: ...here.
2413         * sysdeps/generic/readelflib.c: Moved to...
2414         * elf/readelflib.c: ...here.
2415         * sysdeps/generic/readlink.c: Moved to...
2416         * io/readlink.c: ...here.
2417         * sysdeps/generic/readonly-area.c: Moved to...
2418         * debug/readonly-area.c: ...here.
2419         * sysdeps/generic/readv.c: Moved to...
2420         * misc/readv.c: ...here.
2421         * sysdeps/generic/reboot.c: Moved to...
2422         * misc/reboot.c: ...here.
2423         * sysdeps/generic/recv.c: Moved to...
2424         * socket/recv.c: ...here.
2425         * sysdeps/generic/recvfrom.c: Moved to...
2426         * socket/recvfrom.c: ...here.
2427         * sysdeps/generic/recvmsg.c: Moved to...
2428         * socket/recvmsg.c: ...here.
2429         * sysdeps/generic/remap_file_pages.c: Moved to...
2430         * misc/remap_file_pages.c: ...here.
2431         * sysdeps/generic/remove.c: Moved to...
2432         * stdio-common/remove.c: ...here.
2433         * sysdeps/generic/removexattr.c: Moved to...
2434         * misc/removexattr.c: ...here.
2435         * sysdeps/generic/rename.c: Moved to...
2436         * stdio-common/rename.c: ...here.
2437         * sysdeps/generic/renameat.c: Moved to...
2438         * stdio-common/renameat.c: ...here.
2439         * sysdeps/generic/res-state.c: Moved to...
2440         * resolv/res-state.c: ...here.
2441         * sysdeps/generic/revoke.c: Moved to...
2442         * misc/revoke.c: ...here.
2443         * sysdeps/generic/rewinddir.c: Moved to...
2444         * dirent/rewinddir.c: ...here.
2445         * sysdeps/generic/rmdir.c: Moved to...
2446         * io/rmdir.c: ...here.
2447         * sysdeps/generic/rshift.c: Moved to...
2448         * stdlib/rshift.c: ...here.
2449         * sysdeps/generic/s_asinhl.c: Moved to...
2450         * math/s_asinhl.c: ...here.
2451         * sysdeps/generic/s_atanl.c: Moved to...
2452         * math/s_atanl.c: ...here.
2453         * sysdeps/generic/s_cacos.c: Moved to...
2454         * math/s_cacos.c: ...here.
2455         * sysdeps/generic/s_cacosf.c: Moved to...
2456         * math/s_cacosf.c: ...here.
2457         * sysdeps/generic/s_cacosh.c: Moved to...
2458         * math/s_cacosh.c: ...here.
2459         * sysdeps/generic/s_cacoshf.c: Moved to...
2460         * math/s_cacoshf.c: ...here.
2461         * sysdeps/generic/s_cacoshl.c: Moved to...
2462         * math/s_cacoshl.c: ...here.
2463         * sysdeps/generic/s_cacosl.c: Moved to...
2464         * math/s_cacosl.c: ...here.
2465         * sysdeps/generic/s_casin.c: Moved to...
2466         * math/s_casin.c: ...here.
2467         * sysdeps/generic/s_casinf.c: Moved to...
2468         * math/s_casinf.c: ...here.
2469         * sysdeps/generic/s_casinh.c: Moved to...
2470         * math/s_casinh.c: ...here.
2471         * sysdeps/generic/s_casinhf.c: Moved to...
2472         * math/s_casinhf.c: ...here.
2473         * sysdeps/generic/s_casinhl.c: Moved to...
2474         * math/s_casinhl.c: ...here.
2475         * sysdeps/generic/s_casinl.c: Moved to...
2476         * math/s_casinl.c: ...here.
2477         * sysdeps/generic/s_catan.c: Moved to...
2478         * math/s_catan.c: ...here.
2479         * sysdeps/generic/s_catanf.c: Moved to...
2480         * math/s_catanf.c: ...here.
2481         * sysdeps/generic/s_catanh.c: Moved to...
2482         * math/s_catanh.c: ...here.
2483         * sysdeps/generic/s_catanhf.c: Moved to...
2484         * math/s_catanhf.c: ...here.
2485         * sysdeps/generic/s_catanhl.c: Moved to...
2486         * math/s_catanhl.c: ...here.
2487         * sysdeps/generic/s_catanl.c: Moved to...
2488         * math/s_catanl.c: ...here.
2489         * sysdeps/generic/s_cbrtl.c: Moved to...
2490         * math/s_cbrtl.c: ...here.
2491         * sysdeps/generic/s_ccos.c: Moved to...
2492         * math/s_ccos.c: ...here.
2493         * sysdeps/generic/s_ccosf.c: Moved to...
2494         * math/s_ccosf.c: ...here.
2495         * sysdeps/generic/s_ccosh.c: Moved to...
2496         * math/s_ccosh.c: ...here.
2497         * sysdeps/generic/s_ccoshf.c: Moved to...
2498         * math/s_ccoshf.c: ...here.
2499         * sysdeps/generic/s_ccoshl.c: Moved to...
2500         * math/s_ccoshl.c: ...here.
2501         * sysdeps/generic/s_ccosl.c: Moved to...
2502         * math/s_ccosl.c: ...here.
2503         * sysdeps/generic/s_cexp.c: Moved to...
2504         * math/s_cexp.c: ...here.
2505         * sysdeps/generic/s_cexpf.c: Moved to...
2506         * math/s_cexpf.c: ...here.
2507         * sysdeps/generic/s_cexpl.c: Moved to...
2508         * math/s_cexpl.c: ...here.
2509         * sysdeps/generic/s_clog.c: Moved to...
2510         * math/s_clog.c: ...here.
2511         * sysdeps/generic/s_clog10.c: Moved to...
2512         * math/s_clog10.c: ...here.
2513         * sysdeps/generic/s_clog10f.c: Moved to...
2514         * math/s_clog10f.c: ...here.
2515         * sysdeps/generic/s_clog10l.c: Moved to...
2516         * math/s_clog10l.c: ...here.
2517         * sysdeps/generic/s_clogf.c: Moved to...
2518         * math/s_clogf.c: ...here.
2519         * sysdeps/generic/s_clogl.c: Moved to...
2520         * math/s_clogl.c: ...here.
2521         * sysdeps/generic/s_cpow.c: Moved to...
2522         * math/s_cpow.c: ...here.
2523         * sysdeps/generic/s_cpowf.c: Moved to...
2524         * math/s_cpowf.c: ...here.
2525         * sysdeps/generic/s_cpowl.c: Moved to...
2526         * math/s_cpowl.c: ...here.
2527         * sysdeps/generic/s_cproj.c: Moved to...
2528         * math/s_cproj.c: ...here.
2529         * sysdeps/generic/s_cprojf.c: Moved to...
2530         * math/s_cprojf.c: ...here.
2531         * sysdeps/generic/s_cprojl.c: Moved to...
2532         * math/s_cprojl.c: ...here.
2533         * sysdeps/generic/s_csin.c: Moved to...
2534         * math/s_csin.c: ...here.
2535         * sysdeps/generic/s_csinf.c: Moved to...
2536         * math/s_csinf.c: ...here.
2537         * sysdeps/generic/s_csinh.c: Moved to...
2538         * math/s_csinh.c: ...here.
2539         * sysdeps/generic/s_csinhf.c: Moved to...
2540         * math/s_csinhf.c: ...here.
2541         * sysdeps/generic/s_csinhl.c: Moved to...
2542         * math/s_csinhl.c: ...here.
2543         * sysdeps/generic/s_csinl.c: Moved to...
2544         * math/s_csinl.c: ...here.
2545         * sysdeps/generic/s_csqrt.c: Moved to...
2546         * math/s_csqrt.c: ...here.
2547         * sysdeps/generic/s_csqrtf.c: Moved to...
2548         * math/s_csqrtf.c: ...here.
2549         * sysdeps/generic/s_csqrtl.c: Moved to...
2550         * math/s_csqrtl.c: ...here.
2551         * sysdeps/generic/s_ctan.c: Moved to...
2552         * math/s_ctan.c: ...here.
2553         * sysdeps/generic/s_ctanf.c: Moved to...
2554         * math/s_ctanf.c: ...here.
2555         * sysdeps/generic/s_ctanh.c: Moved to...
2556         * math/s_ctanh.c: ...here.
2557         * sysdeps/generic/s_ctanhf.c: Moved to...
2558         * math/s_ctanhf.c: ...here.
2559         * sysdeps/generic/s_ctanhl.c: Moved to...
2560         * math/s_ctanhl.c: ...here.
2561         * sysdeps/generic/s_ctanl.c: Moved to...
2562         * math/s_ctanl.c: ...here.
2563         * sysdeps/generic/s_erfl.c: Moved to...
2564         * math/s_erfl.c: ...here.
2565         * sysdeps/generic/s_expm1l.c: Moved to...
2566         * math/s_expm1l.c: ...here.
2567         * sysdeps/generic/s_fdim.c: Moved to...
2568         * math/s_fdim.c: ...here.
2569         * sysdeps/generic/s_fdimf.c: Moved to...
2570         * math/s_fdimf.c: ...here.
2571         * sysdeps/generic/s_fdiml.c: Moved to...
2572         * math/s_fdiml.c: ...here.
2573         * sysdeps/generic/s_fma.c: Moved to...
2574         * math/s_fma.c: ...here.
2575         * sysdeps/generic/s_fmaf.c: Moved to...
2576         * math/s_fmaf.c: ...here.
2577         * sysdeps/generic/s_fmal.c: Moved to...
2578         * math/s_fmal.c: ...here.
2579         * sysdeps/generic/s_fmax.c: Moved to...
2580         * math/s_fmax.c: ...here.
2581         * sysdeps/generic/s_fmaxf.c: Moved to...
2582         * math/s_fmaxf.c: ...here.
2583         * sysdeps/generic/s_fmaxl.c: Moved to...
2584         * math/s_fmaxl.c: ...here.
2585         * sysdeps/generic/s_fmin.c: Moved to...
2586         * math/s_fmin.c: ...here.
2587         * sysdeps/generic/s_fminf.c: Moved to...
2588         * math/s_fminf.c: ...here.
2589         * sysdeps/generic/s_fminl.c: Moved to...
2590         * math/s_fminl.c: ...here.
2591         * sysdeps/generic/s_ldexp.c: Moved to...
2592         * math/s_ldexp.c: ...here.
2593         * sysdeps/generic/s_ldexpf.c: Moved to...
2594         * math/s_ldexpf.c: ...here.
2595         * sysdeps/generic/s_ldexpl.c: Moved to...
2596         * math/s_ldexpl.c: ...here.
2597         * sysdeps/generic/s_log1pl.c: Moved to...
2598         * math/s_log1pl.c: ...here.
2599         * sysdeps/generic/s_nan.c: Moved to...
2600         * math/s_nan.c: ...here.
2601         * sysdeps/generic/s_nanf.c: Moved to...
2602         * math/s_nanf.c: ...here.
2603         * sysdeps/generic/s_nanl.c: Moved to...
2604         * math/s_nanl.c: ...here.
2605         * sysdeps/generic/s_nextafter.c: Moved to...
2606         * math/s_nextafter.c: ...here.
2607         * sysdeps/generic/s_nexttowardf.c: Moved to...
2608         * math/s_nexttowardf.c: ...here.
2609         * sysdeps/generic/s_nexttowardl.c: Moved to...
2610         * math/s_nexttowardl.c: ...here.
2611         * sysdeps/generic/s_significand.c: Moved to...
2612         * math/s_significand.c: ...here.
2613         * sysdeps/generic/s_significandf.c: Moved to...
2614         * math/s_significandf.c: ...here.
2615         * sysdeps/generic/s_significandl.c: Moved to...
2616         * math/s_significandl.c: ...here.
2617         * sysdeps/generic/s_tanhl.c: Moved to...
2618         * math/s_tanhl.c: ...here.
2619         * sysdeps/generic/sbrk.c: Moved to...
2620         * misc/sbrk.c: ...here.
2621         * sysdeps/generic/scandir64.c: Moved to...
2622         * dirent/scandir64.c: ...here.
2623         * sysdeps/generic/sched_getaffinity.c: Moved to...
2624         * posix/sched_getaffinity.c: ...here.
2625         * sysdeps/generic/sched_getp.c: Moved to...
2626         * posix/sched_getp.c: ...here.
2627         * sysdeps/generic/sched_gets.c: Moved to...
2628         * posix/sched_gets.c: ...here.
2629         * sysdeps/generic/sched_primax.c: Moved to...
2630         * posix/sched_primax.c: ...here.
2631         * sysdeps/generic/sched_primin.c: Moved to...
2632         * posix/sched_primin.c: ...here.
2633         * sysdeps/generic/sched_rr_gi.c: Moved to...
2634         * posix/sched_rr_gi.c: ...here.
2635         * sysdeps/generic/sched_setaffinity.c: Moved to...
2636         * posix/sched_setaffinity.c: ...here.
2637         * sysdeps/generic/sched_setp.c: Moved to...
2638         * posix/sched_setp.c: ...here.
2639         * sysdeps/generic/sched_sets.c: Moved to...
2640         * posix/sched_sets.c: ...here.
2641         * sysdeps/generic/sched_yield.c: Moved to...
2642         * posix/sched_yield.c: ...here.
2643         * sysdeps/generic/seekdir.c: Moved to...
2644         * dirent/seekdir.c: ...here.
2645         * sysdeps/generic/segfault.c: Moved to...
2646         * debug/segfault.c: ...here.
2647         * sysdeps/generic/select.c: Moved to...
2648         * misc/select.c: ...here.
2649         * sysdeps/generic/semctl.c: Moved to...
2650         * sysvipc/semctl.c: ...here.
2651         * sysdeps/generic/semget.c: Moved to...
2652         * sysvipc/semget.c: ...here.
2653         * sysdeps/generic/semop.c: Moved to...
2654         * sysvipc/semop.c: ...here.
2655         * sysdeps/generic/semtimedop.c: Moved to...
2656         * sysvipc/semtimedop.c: ...here.
2657         * sysdeps/generic/send.c: Moved to...
2658         * socket/send.c: ...here.
2659         * sysdeps/generic/sendfile.c: Moved to...
2660         * io/sendfile.c: ...here.
2661         * sysdeps/generic/sendfile64.c: Moved to...
2662         * io/sendfile64.c: ...here.
2663         * sysdeps/generic/sendmsg.c: Moved to...
2664         * socket/sendmsg.c: ...here.
2665         * sysdeps/generic/sendto.c: Moved to...
2666         * socket/sendto.c: ...here.
2667         * sysdeps/generic/setcontext.c: Moved to...
2668         * stdlib/setcontext.c: ...here.
2669         * sysdeps/generic/setdomain.c: Moved to...
2670         * misc/setdomain.c: ...here.
2671         * sysdeps/generic/setegid.c: Moved to...
2672         * misc/setegid.c: ...here.
2673         * sysdeps/generic/setenv.c: Moved to...
2674         * stdlib/setenv.c: ...here.
2675         * sysdeps/generic/seteuid.c: Moved to...
2676         * misc/seteuid.c: ...here.
2677         * sysdeps/generic/setfpucw.c: Moved to...
2678         * math/setfpucw.c: ...here.
2679         * sysdeps/generic/setgid.c: Moved to...
2680         * posix/setgid.c: ...here.
2681         * sysdeps/generic/setgroups.c: Moved to...
2682         * grp/setgroups.c: ...here.
2683         * sysdeps/generic/sethostid.c: Moved to...
2684         * misc/sethostid.c: ...here.
2685         * sysdeps/generic/sethostname.c: Moved to...
2686         * misc/sethostname.c: ...here.
2687         * sysdeps/generic/setipv4sourcefilter.c: Moved to...
2688         * inet/setipv4sourcefilter.c: ...here.
2689         * sysdeps/generic/setitimer.c: Moved to...
2690         * time/setitimer.c: ...here.
2691         * sysdeps/generic/setjmp.c: Moved to...
2692         * setjmp/setjmp.c: ...here.
2693         * sysdeps/generic/setlogin.c: Moved to...
2694         * posix/setlogin.c: ...here.
2695         * sysdeps/generic/setpgid.c: Moved to...
2696         * posix/setpgid.c: ...here.
2697         * sysdeps/generic/setpgrp.c: Moved to...
2698         * posix/setpgrp.c: ...here.
2699         * sysdeps/generic/setpriority.c: Moved to...
2700         * resource/setpriority.c: ...here.
2701         * sysdeps/generic/setregid.c: Moved to...
2702         * misc/setregid.c: ...here.
2703         * sysdeps/generic/setresgid.c: Moved to...
2704         * posix/setresgid.c: ...here.
2705         * sysdeps/generic/setresuid.c: Moved to...
2706         * posix/setresuid.c: ...here.
2707         * sysdeps/generic/setreuid.c: Moved to...
2708         * misc/setreuid.c: ...here.
2709         * sysdeps/generic/setrlimit.c: Moved to...
2710         * resource/setrlimit.c: ...here.
2711         * sysdeps/generic/setrlimit64.c: Moved to...
2712         * resource/setrlimit64.c: ...here.
2713         * sysdeps/generic/setsid.c: Moved to...
2714         * posix/setsid.c: ...here.
2715         * sysdeps/generic/setsockopt.c: Moved to...
2716         * socket/setsockopt.c: ...here.
2717         * sysdeps/generic/setsourcefilter.c: Moved to...
2718         * inet/setsourcefilter.c: ...here.
2719         * sysdeps/generic/settimeofday.c: Moved to...
2720         * time/settimeofday.c: ...here.
2721         * sysdeps/generic/setuid.c: Moved to...
2722         * posix/setuid.c: ...here.
2723         * sysdeps/generic/setutxent.c: Moved to...
2724         * login/setutxent.c: ...here.
2725         * sysdeps/generic/setxattr.c: Moved to...
2726         * misc/setxattr.c: ...here.
2727         * sysdeps/generic/shm_open.c: Moved to...
2728         * rt/shm_open.c: ...here.
2729         * sysdeps/generic/shm_unlink.c: Moved to...
2730         * rt/shm_unlink.c: ...here.
2731         * sysdeps/generic/shmat.c: Moved to...
2732         * sysvipc/shmat.c: ...here.
2733         * sysdeps/generic/shmctl.c: Moved to...
2734         * sysvipc/shmctl.c: ...here.
2735         * sysdeps/generic/shmdt.c: Moved to...
2736         * sysvipc/shmdt.c: ...here.
2737         * sysdeps/generic/shmget.c: Moved to...
2738         * sysvipc/shmget.c: ...here.
2739         * sysdeps/generic/shutdown.c: Moved to...
2740         * socket/shutdown.c: ...here.
2741         * sysdeps/generic/sigaction.c: Moved to...
2742         * signal/sigaction.c: ...here.
2743         * sysdeps/generic/sigaltstack.c: Moved to...
2744         * signal/sigaltstack.c: ...here.
2745         * sysdeps/generic/sigblock.c: Moved to...
2746         * signal/sigblock.c: ...here.
2747         * sysdeps/generic/sigfillset.c: Moved to...
2748         * signal/sigfillset.c: ...here.
2749         * sysdeps/generic/sigignore.c: Moved to...
2750         * signal/sigignore.c: ...here.
2751         * sysdeps/generic/sigintr.c: Moved to...
2752         * signal/sigintr.c: ...here.
2753         * sysdeps/generic/sigjmp.c: Moved to...
2754         * setjmp/sigjmp.c: ...here.
2755         * sysdeps/generic/siglist.c: Moved to...
2756         * stdio-common/siglist.c: ...here.
2757         * sysdeps/generic/signal.c: Moved to...
2758         * signal/signal.c: ...here.
2759         * sysdeps/generic/sigpause.c: Moved to...
2760         * signal/sigpause.c: ...here.
2761         * sysdeps/generic/sigpending.c: Moved to...
2762         * signal/sigpending.c: ...here.
2763         * sysdeps/generic/sigprocmask.c: Moved to...
2764         * signal/sigprocmask.c: ...here.
2765         * sysdeps/generic/sigqueue.c: Moved to...
2766         * signal/sigqueue.c: ...here.
2767         * sysdeps/generic/sigreturn.c: Moved to...
2768         * signal/sigreturn.c: ...here.
2769         * sysdeps/generic/sigset.c: Moved to...
2770         * signal/sigset.c: ...here.
2771         * sysdeps/generic/sigsetmask.c: Moved to...
2772         * signal/sigsetmask.c: ...here.
2773         * sysdeps/generic/sigstack.c: Moved to...
2774         * signal/sigstack.c: ...here.
2775         * sysdeps/generic/sigsuspend.c: Moved to...
2776         * signal/sigsuspend.c: ...here.
2777         * sysdeps/generic/sigtimedwait.c: Moved to...
2778         * signal/sigtimedwait.c: ...here.
2779         * sysdeps/generic/sigvec.c: Moved to...
2780         * signal/sigvec.c: ...here.
2781         * sysdeps/generic/sigwait.c: Moved to...
2782         * signal/sigwait.c: ...here.
2783         * sysdeps/generic/sigwaitinfo.c: Moved to...
2784         * signal/sigwaitinfo.c: ...here.
2785         * sysdeps/generic/sleep.c: Moved to...
2786         * posix/sleep.c: ...here.
2787         * sysdeps/generic/sockatmark.c: Moved to...
2788         * socket/sockatmark.c: ...here.
2789         * sysdeps/generic/socket.c: Moved to...
2790         * socket/socket.c: ...here.
2791         * sysdeps/generic/socketpair.c: Moved to...
2792         * socket/socketpair.c: ...here.
2793         * sysdeps/generic/spawni.c: Moved to...
2794         * posix/spawni.c: ...here.
2795         * sysdeps/generic/speed.c: Moved to...
2796         * termios/speed.c: ...here.
2797         * sysdeps/generic/sprofil.c: Moved to...
2798         * gmon/sprofil.c: ...here.
2799         * sysdeps/generic/sstk.c: Moved to...
2800         * misc/sstk.c: ...here.
2801         * sysdeps/generic/start.c: Moved to...
2802         * csu/start.c: ...here.
2803         * sysdeps/generic/statfs.c: Moved to...
2804         * io/statfs.c: ...here.
2805         * sysdeps/generic/statfs64.c: Moved to...
2806         * io/statfs64.c: ...here.
2807         * sysdeps/generic/statvfs.c: Moved to...
2808         * io/statvfs.c: ...here.
2809         * sysdeps/generic/statvfs64.c: Moved to...
2810         * io/statvfs64.c: ...here.
2811         * sysdeps/generic/stime.c: Moved to...
2812         * time/stime.c: ...here.
2813         * sysdeps/generic/stpcpy.c: Moved to...
2814         * string/stpcpy.c: ...here.
2815         * sysdeps/generic/stpcpy_chk.c: Moved to...
2816         * debug/stpcpy_chk.c: ...here.
2817         * sysdeps/generic/stpncpy.c: Moved to...
2818         * string/stpncpy.c: ...here.
2819         * sysdeps/generic/stpncpy_chk.c: Moved to...
2820         * debug/stpncpy_chk.c: ...here.
2821         * sysdeps/generic/strcasecmp.c: Moved to...
2822         * string/strcasecmp.c: ...here.
2823         * sysdeps/generic/strcasecmp_l.c: Moved to...
2824         * string/strcasecmp_l.c: ...here.
2825         * sysdeps/generic/strcasestr.c: Moved to...
2826         * string/strcasestr.c: ...here.
2827         * sysdeps/generic/strcat.c: Moved to...
2828         * string/strcat.c: ...here.
2829         * sysdeps/generic/strcat_chk.c: Moved to...
2830         * debug/strcat_chk.c: ...here.
2831         * sysdeps/generic/strchr.c: Moved to...
2832         * string/strchr.c: ...here.
2833         * sysdeps/generic/strchrnul.c: Moved to...
2834         * string/strchrnul.c: ...here.
2835         * sysdeps/generic/strcmp.c: Moved to...
2836         * string/strcmp.c: ...here.
2837         * sysdeps/generic/strcpy.c: Moved to...
2838         * string/strcpy.c: ...here.
2839         * sysdeps/generic/strcpy_chk.c: Moved to...
2840         * debug/strcpy_chk.c: ...here.
2841         * sysdeps/generic/strcspn.c: Moved to...
2842         * string/strcspn.c: ...here.
2843         * sysdeps/generic/string-inlines.c: Moved to...
2844         * string/string-inlines.c: ...here.
2845         * sysdeps/generic/strlen.c: Moved to...
2846         * string/strlen.c: ...here.
2847         * sysdeps/generic/strncase.c: Moved to...
2848         * string/strncase.c: ...here.
2849         * sysdeps/generic/strncase_l.c: Moved to...
2850         * string/strncase_l.c: ...here.
2851         * sysdeps/generic/strncat.c: Moved to...
2852         * string/strncat.c: ...here.
2853         * sysdeps/generic/strncat_chk.c: Moved to...
2854         * debug/strncat_chk.c: ...here.
2855         * sysdeps/generic/strncmp.c: Moved to...
2856         * string/strncmp.c: ...here.
2857         * sysdeps/generic/strncpy.c: Moved to...
2858         * string/strncpy.c: ...here.
2859         * sysdeps/generic/strncpy_chk.c: Moved to...
2860         * debug/strncpy_chk.c: ...here.
2861         * sysdeps/generic/strnlen.c: Moved to...
2862         * string/strnlen.c: ...here.
2863         * sysdeps/generic/strpbrk.c: Moved to...
2864         * string/strpbrk.c: ...here.
2865         * sysdeps/generic/strrchr.c: Moved to...
2866         * string/strrchr.c: ...here.
2867         * sysdeps/generic/strsep.c: Moved to...
2868         * string/strsep.c: ...here.
2869         * sysdeps/generic/strspn.c: Moved to...
2870         * string/strspn.c: ...here.
2871         * sysdeps/generic/strstr.c: Moved to...
2872         * string/strstr.c: ...here.
2873         * sysdeps/generic/strtoimax.c: Moved to...
2874         * stdlib/strtoimax.c: ...here.
2875         * sysdeps/generic/strtok.c: Moved to...
2876         * string/strtok.c: ...here.
2877         * sysdeps/generic/strtok_r.c: Moved to...
2878         * string/strtok_r.c: ...here.
2879         * sysdeps/generic/strtol.c: Moved to...
2880         * stdlib/strtol.c: ...here.
2881         * sysdeps/generic/strtol_l.c: Moved to...
2882         * stdlib/strtol_l.c: ...here.
2883         * sysdeps/generic/strtold_l.c: Moved to...
2884         * stdlib/strtold_l.c: ...here.
2885         * sysdeps/generic/strtoll.c: Moved to...
2886         * stdlib/strtoll.c: ...here.
2887         * sysdeps/generic/strtoll_l.c: Moved to...
2888         * stdlib/strtoll_l.c: ...here.
2889         * sysdeps/generic/strtoul.c: Moved to...
2890         * stdlib/strtoul.c: ...here.
2891         * sysdeps/generic/strtoul_l.c: Moved to...
2892         * stdlib/strtoul_l.c: ...here.
2893         * sysdeps/generic/strtoull.c: Moved to...
2894         * stdlib/strtoull.c: ...here.
2895         * sysdeps/generic/strtoull_l.c: Moved to...
2896         * stdlib/strtoull_l.c: ...here.
2897         * sysdeps/generic/strtoumax.c: Moved to...
2898         * stdlib/strtoumax.c: ...here.
2899         * sysdeps/generic/strtsupp.c: Moved to...
2900         * bare/strtsupp.c: ...here.
2901         * sysdeps/generic/stty.c: Moved to...
2902         * misc/stty.c: ...here.
2903         * sysdeps/generic/sub_n.c: Moved to...
2904         * stdlib/sub_n.c: ...here.
2905         * sysdeps/generic/submul_1.c: Moved to...
2906         * stdlib/submul_1.c: ...here.
2907         * sysdeps/generic/swapcontext.c: Moved to...
2908         * stdlib/swapcontext.c: ...here.
2909         * sysdeps/generic/swapoff.c: Moved to...
2910         * misc/swapoff.c: ...here.
2911         * sysdeps/generic/swapon.c: Moved to...
2912         * misc/swapon.c: ...here.
2913         * sysdeps/generic/symlink.c: Moved to...
2914         * io/symlink.c: ...here.
2915         * sysdeps/generic/sync.c: Moved to...
2916         * misc/sync.c: ...here.
2917         * sysdeps/generic/syscall.c: Moved to...
2918         * misc/syscall.c: ...here.
2919         * sysdeps/generic/sysconf.c: Moved to...
2920         * posix/sysconf.c: ...here.
2921         * sysdeps/generic/sysdep.c: Moved to...
2922         * csu/sysdep.c: ...here.
2923         * sysdeps/generic/syslog.c: Moved to...
2924         * misc/syslog.c: ...here.
2925         * sysdeps/generic/system.c: Moved to...
2926         * stdlib/system.c: ...here.
2927         * sysdeps/generic/sysv_signal.c: Moved to...
2928         * signal/sysv_signal.c: ...here.
2929         * sysdeps/generic/t_sincosl.c: Moved to...
2930         * math/t_sincosl.c: ...here.
2931         * sysdeps/generic/tcdrain.c: Moved to...
2932         * termios/tcdrain.c: ...here.
2933         * sysdeps/generic/tcflow.c: Moved to...
2934         * termios/tcflow.c: ...here.
2935         * sysdeps/generic/tcflush.c: Moved to...
2936         * termios/tcflush.c: ...here.
2937         * sysdeps/generic/tcgetattr.c: Moved to...
2938         * termios/tcgetattr.c: ...here.
2939         * sysdeps/generic/tcgetpgrp.c: Moved to...
2940         * termios/tcgetpgrp.c: ...here.
2941         * sysdeps/generic/tcsendbrk.c: Moved to...
2942         * termios/tcsendbrk.c: ...here.
2943         * sysdeps/generic/tcsetattr.c: Moved to...
2944         * termios/tcsetattr.c: ...here.
2945         * sysdeps/generic/tcsetpgrp.c: Moved to...
2946         * termios/tcsetpgrp.c: ...here.
2947         * sysdeps/generic/telldir.c: Moved to...
2948         * dirent/telldir.c: ...here.
2949         * sysdeps/generic/tempname.c: Moved to...
2950         * stdio-common/tempname.c: ...here.
2951         * sysdeps/generic/time.c: Moved to...
2952         * time/time.c: ...here.
2953         * sysdeps/generic/timer_create.c: Moved to...
2954         * rt/timer_create.c: ...here.
2955         * sysdeps/generic/timer_delete.c: Moved to...
2956         * rt/timer_delete.c: ...here.
2957         * sysdeps/generic/timer_getoverr.c: Moved to...
2958         * rt/timer_getoverr.c: ...here.
2959         * sysdeps/generic/timer_gettime.c: Moved to...
2960         * rt/timer_gettime.c: ...here.
2961         * sysdeps/generic/timer_settime.c: Moved to...
2962         * rt/timer_settime.c: ...here.
2963         * sysdeps/generic/times.c: Moved to...
2964         * posix/times.c: ...here.
2965         * sysdeps/generic/tmpfile.c: Moved to...
2966         * stdio-common/tmpfile.c: ...here.
2967         * sysdeps/generic/tmpfile64.c: Moved to...
2968         * stdio-common/tmpfile64.c: ...here.
2969         * sysdeps/generic/trampoline.c: Moved to...
2970         * hurd/trampoline.c: ...here.
2971         * sysdeps/generic/truncate.c: Moved to...
2972         * misc/truncate.c: ...here.
2973         * sysdeps/generic/truncate64.c: Moved to...
2974         * misc/truncate64.c: ...here.
2975         * sysdeps/generic/tst-timer.c: Moved to...
2976         * rt/tst-timer.c: ...here.
2977         * sysdeps/generic/ttyname.c: Moved to...
2978         * io/ttyname.c: ...here.
2979         * sysdeps/generic/ttyname_r.c: Moved to...
2980         * io/ttyname_r.c: ...here.
2981         * sysdeps/generic/ualarm.c: Moved to...
2982         * misc/ualarm.c: ...here.
2983         * sysdeps/generic/udiv_qrnnd.c: Moved to...
2984         * stdlib/udiv_qrnnd.c: ...here.
2985         * sysdeps/generic/ulimit.c: Moved to...
2986         * resource/ulimit.c: ...here.
2987         * sysdeps/generic/umask.c: Moved to...
2988         * io/umask.c: ...here.
2989         * sysdeps/generic/uname.c: Moved to...
2990         * posix/uname.c: ...here.
2991         * sysdeps/generic/unlink.c: Moved to...
2992         * io/unlink.c: ...here.
2993         * sysdeps/generic/unlinkat.c: Moved to...
2994         * io/unlinkat.c: ...here.
2995         * sysdeps/generic/unlockpt.c: Moved to...
2996         * login/unlockpt.c: ...here.
2997         * sysdeps/generic/updwtmp.c: Moved to...
2998         * login/updwtmp.c: ...here.
2999         * sysdeps/generic/updwtmpx.c: Moved to...
3000         * login/updwtmpx.c: ...here.
3001         * sysdeps/generic/usleep.c: Moved to...
3002         * misc/usleep.c: ...here.
3003         * sysdeps/generic/ustat.c: Moved to...
3004         * misc/ustat.c: ...here.
3005         * sysdeps/generic/utime.c: Moved to...
3006         * io/utime.c: ...here.
3007         * sysdeps/generic/utimes.c: Moved to...
3008         * misc/utimes.c: ...here.
3009         * sysdeps/generic/utmp_file.c: Moved to...
3010         * login/utmp_file.c: ...here.
3011         * sysdeps/generic/utmpxname.c: Moved to...
3012         * login/utmpxname.c: ...here.
3013         * sysdeps/generic/versionsort64.c: Moved to...
3014         * dirent/versionsort64.c: ...here.
3015         * sysdeps/generic/vfork.c: Moved to...
3016         * posix/vfork.c: ...here.
3017         * sysdeps/generic/vhangup.c: Moved to...
3018         * misc/vhangup.c: ...here.
3019         * sysdeps/generic/vlimit.c: Moved to...
3020         * resource/vlimit.c: ...here.
3021         * sysdeps/generic/vtimes.c: Moved to...
3022         * resource/vtimes.c: ...here.
3023         * sysdeps/generic/w_acos.c: Moved to...
3024         * math/w_acos.c: ...here.
3025         * sysdeps/generic/w_acosf.c: Moved to...
3026         * math/w_acosf.c: ...here.
3027         * sysdeps/generic/w_acosh.c: Moved to...
3028         * math/w_acosh.c: ...here.
3029         * sysdeps/generic/w_acoshf.c: Moved to...
3030         * math/w_acoshf.c: ...here.
3031         * sysdeps/generic/w_acoshl.c: Moved to...
3032         * math/w_acoshl.c: ...here.
3033         * sysdeps/generic/w_acosl.c: Moved to...
3034         * math/w_acosl.c: ...here.
3035         * sysdeps/generic/w_asin.c: Moved to...
3036         * math/w_asin.c: ...here.
3037         * sysdeps/generic/w_asinf.c: Moved to...
3038         * math/w_asinf.c: ...here.
3039         * sysdeps/generic/w_asinl.c: Moved to...
3040         * math/w_asinl.c: ...here.
3041         * sysdeps/generic/w_atan2.c: Moved to...
3042         * math/w_atan2.c: ...here.
3043         * sysdeps/generic/w_atan2f.c: Moved to...
3044         * math/w_atan2f.c: ...here.
3045         * sysdeps/generic/w_atan2l.c: Moved to...
3046         * math/w_atan2l.c: ...here.
3047         * sysdeps/generic/w_atanh.c: Moved to...
3048         * math/w_atanh.c: ...here.
3049         * sysdeps/generic/w_atanhf.c: Moved to...
3050         * math/w_atanhf.c: ...here.
3051         * sysdeps/generic/w_atanhl.c: Moved to...
3052         * math/w_atanhl.c: ...here.
3053         * sysdeps/generic/w_cosh.c: Moved to...
3054         * math/w_cosh.c: ...here.
3055         * sysdeps/generic/w_coshf.c: Moved to...
3056         * math/w_coshf.c: ...here.
3057         * sysdeps/generic/w_coshl.c: Moved to...
3058         * math/w_coshl.c: ...here.
3059         * sysdeps/generic/w_drem.c: Moved to...
3060         * math/w_drem.c: ...here.
3061         * sysdeps/generic/w_dremf.c: Moved to...
3062         * math/w_dremf.c: ...here.
3063         * sysdeps/generic/w_dreml.c: Moved to...
3064         * math/w_dreml.c: ...here.
3065         * sysdeps/generic/w_exp10.c: Moved to...
3066         * math/w_exp10.c: ...here.
3067         * sysdeps/generic/w_exp10f.c: Moved to...
3068         * math/w_exp10f.c: ...here.
3069         * sysdeps/generic/w_exp10l.c: Moved to...
3070         * math/w_exp10l.c: ...here.
3071         * sysdeps/generic/w_exp2.c: Moved to...
3072         * math/w_exp2.c: ...here.
3073         * sysdeps/generic/w_exp2f.c: Moved to...
3074         * math/w_exp2f.c: ...here.
3075         * sysdeps/generic/w_exp2l.c: Moved to...
3076         * math/w_exp2l.c: ...here.
3077         * sysdeps/generic/w_expl.c: Moved to...
3078         * math/w_expl.c: ...here.
3079         * sysdeps/generic/w_fmod.c: Moved to...
3080         * math/w_fmod.c: ...here.
3081         * sysdeps/generic/w_fmodf.c: Moved to...
3082         * math/w_fmodf.c: ...here.
3083         * sysdeps/generic/w_fmodl.c: Moved to...
3084         * math/w_fmodl.c: ...here.
3085         * sysdeps/generic/w_hypot.c: Moved to...
3086         * math/w_hypot.c: ...here.
3087         * sysdeps/generic/w_hypotf.c: Moved to...
3088         * math/w_hypotf.c: ...here.
3089         * sysdeps/generic/w_hypotl.c: Moved to...
3090         * math/w_hypotl.c: ...here.
3091         * sysdeps/generic/w_j0.c: Moved to...
3092         * math/w_j0.c: ...here.
3093         * sysdeps/generic/w_j0f.c: Moved to...
3094         * math/w_j0f.c: ...here.
3095         * sysdeps/generic/w_j0l.c: Moved to...
3096         * math/w_j0l.c: ...here.
3097         * sysdeps/generic/w_j1.c: Moved to...
3098         * math/w_j1.c: ...here.
3099         * sysdeps/generic/w_j1f.c: Moved to...
3100         * math/w_j1f.c: ...here.
3101         * sysdeps/generic/w_j1l.c: Moved to...
3102         * math/w_j1l.c: ...here.
3103         * sysdeps/generic/w_jn.c: Moved to...
3104         * math/w_jn.c: ...here.
3105         * sysdeps/generic/w_jnf.c: Moved to...
3106         * math/w_jnf.c: ...here.
3107         * sysdeps/generic/w_jnl.c: Moved to...
3108         * math/w_jnl.c: ...here.
3109         * sysdeps/generic/w_lgamma.c: Moved to...
3110         * math/w_lgamma.c: ...here.
3111         * sysdeps/generic/w_lgamma_r.c: Moved to...
3112         * math/w_lgamma_r.c: ...here.
3113         * sysdeps/generic/w_lgammaf.c: Moved to...
3114         * math/w_lgammaf.c: ...here.
3115         * sysdeps/generic/w_lgammaf_r.c: Moved to...
3116         * math/w_lgammaf_r.c: ...here.
3117         * sysdeps/generic/w_lgammal.c: Moved to...
3118         * math/w_lgammal.c: ...here.
3119         * sysdeps/generic/w_lgammal_r.c: Moved to...
3120         * math/w_lgammal_r.c: ...here.
3121         * sysdeps/generic/w_log.c: Moved to...
3122         * math/w_log.c: ...here.
3123         * sysdeps/generic/w_log10.c: Moved to...
3124         * math/w_log10.c: ...here.
3125         * sysdeps/generic/w_log10f.c: Moved to...
3126         * math/w_log10f.c: ...here.
3127         * sysdeps/generic/w_log10l.c: Moved to...
3128         * math/w_log10l.c: ...here.
3129         * sysdeps/generic/w_log2.c: Moved to...
3130         * math/w_log2.c: ...here.
3131         * sysdeps/generic/w_log2f.c: Moved to...
3132         * math/w_log2f.c: ...here.
3133         * sysdeps/generic/w_log2l.c: Moved to...
3134         * math/w_log2l.c: ...here.
3135         * sysdeps/generic/w_logf.c: Moved to...
3136         * math/w_logf.c: ...here.
3137         * sysdeps/generic/w_logl.c: Moved to...
3138         * math/w_logl.c: ...here.
3139         * sysdeps/generic/w_pow.c: Moved to...
3140         * math/w_pow.c: ...here.
3141         * sysdeps/generic/w_powf.c: Moved to...
3142         * math/w_powf.c: ...here.
3143         * sysdeps/generic/w_powl.c: Moved to...
3144         * math/w_powl.c: ...here.
3145         * sysdeps/generic/w_remainder.c: Moved to...
3146         * math/w_remainder.c: ...here.
3147         * sysdeps/generic/w_remainderf.c: Moved to...
3148         * math/w_remainderf.c: ...here.
3149         * sysdeps/generic/w_remainderl.c: Moved to...
3150         * math/w_remainderl.c: ...here.
3151         * sysdeps/generic/w_scalb.c: Moved to...
3152         * math/w_scalb.c: ...here.
3153         * sysdeps/generic/w_scalbf.c: Moved to...
3154         * math/w_scalbf.c: ...here.
3155         * sysdeps/generic/w_scalbl.c: Moved to...
3156         * math/w_scalbl.c: ...here.
3157         * sysdeps/generic/w_sinh.c: Moved to...
3158         * math/w_sinh.c: ...here.
3159         * sysdeps/generic/w_sinhf.c: Moved to...
3160         * math/w_sinhf.c: ...here.
3161         * sysdeps/generic/w_sinhl.c: Moved to...
3162         * math/w_sinhl.c: ...here.
3163         * sysdeps/generic/w_sqrt.c: Moved to...
3164         * math/w_sqrt.c: ...here.
3165         * sysdeps/generic/w_sqrtf.c: Moved to...
3166         * math/w_sqrtf.c: ...here.
3167         * sysdeps/generic/w_sqrtl.c: Moved to...
3168         * math/w_sqrtl.c: ...here.
3169         * sysdeps/generic/w_tgamma.c: Moved to...
3170         * math/w_tgamma.c: ...here.
3171         * sysdeps/generic/w_tgammaf.c: Moved to...
3172         * math/w_tgammaf.c: ...here.
3173         * sysdeps/generic/w_tgammal.c: Moved to...
3174         * math/w_tgammal.c: ...here.
3175         * sysdeps/generic/wait.c: Moved to...
3176         * posix/wait.c: ...here.
3177         * sysdeps/generic/wait3.c: Moved to...
3178         * posix/wait3.c: ...here.
3179         * sysdeps/generic/wait4.c: Moved to...
3180         * posix/wait4.c: ...here.
3181         * sysdeps/generic/waitid.c: Moved to...
3182         * posix/waitid.c: ...here.
3183         * sysdeps/generic/waitpid.c: Moved to...
3184         * posix/waitpid.c: ...here.
3185         * sysdeps/generic/wcstoimax.c: Moved to...
3186         * stdlib/wcstoimax.c: ...here.
3187         * sysdeps/generic/wcstol.c: Moved to...
3188         * wcsmbs/wcstol.c: ...here.
3189         * sysdeps/generic/wcstol_l.c: Moved to...
3190         * wcsmbs/wcstol_l.c: ...here.
3191         * sysdeps/generic/wcstoll.c: Moved to...
3192         * wcsmbs/wcstoll.c: ...here.
3193         * sysdeps/generic/wcstoll_l.c: Moved to...
3194         * wcsmbs/wcstoll_l.c: ...here.
3195         * sysdeps/generic/wcstoul.c: Moved to...
3196         * wcsmbs/wcstoul.c: ...here.
3197         * sysdeps/generic/wcstoul_l.c: Moved to...
3198         * wcsmbs/wcstoul_l.c: ...here.
3199         * sysdeps/generic/wcstoull.c: Moved to...
3200         * wcsmbs/wcstoull.c: ...here.
3201         * sysdeps/generic/wcstoull_l.c: Moved to...
3202         * wcsmbs/wcstoull_l.c: ...here.
3203         * sysdeps/generic/wcstoumax.c: Moved to...
3204         * stdlib/wcstoumax.c: ...here.
3205         * sysdeps/generic/wordcopy.c: Moved to...
3206         * string/wordcopy.c: ...here.
3207         * sysdeps/generic/wordexp.c: Moved to...
3208         * posix/wordexp.c: ...here.
3209         * sysdeps/generic/write.c: Moved to...
3210         * io/write.c: ...here.
3211         * sysdeps/generic/writev.c: Moved to...
3212         * misc/writev.c: ...here.
3213         * sysdeps/generic/xmknod.c: Moved to...
3214         * io/xmknod.c: ...here.
3215         * sysdeps/generic/xmknodat.c: Moved to...
3216         * io/xmknodat.c: ...here.
3217         * sysdeps/generic/xpg-strerror.c: Moved to...
3218         * string/xpg-strerror.c: ...here.
3219         * sysdeps/generic/xstat.c: Moved to...
3220         * io/xstat.c: ...here.
3221         * sysdeps/generic/xstat64.c: Moved to...
3222         * io/xstat64.c: ...here.
3223         * catgets/gencat.c: Use "config.h" to refer to the local config.h file.
3224         * stdlib/stdtod_l.c: Use "..." for gmp-impl.h and longlong.h headers.
3225         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust for files moving
3226         out of sysdeps/generic.
3227         * sysdeps/ieee754/ldbl-96/strtold_l.c: Likewise.
3228         * sysdeps/powerpc/elf/libc-start.c: Likewise.
3229         * sysdeps/unix/sysv/linux/dl-sbrk.c: Likewise.
3230         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3231         * sysdeps/unix/sysv/linux/segfault.c: Likewise.
3232         * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
3233         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3234         * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
3235         * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
3236         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3237         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3238         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Likewise.
3239         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3240         * sysdeps/wordsize-32/llabs.c: Likewise.
3241         * sysdeps/wordsize-32/lldiv.c: Likewise.
3242         * sysdeps/wordsize-64/glob.c: Likewise.
3243         * sysdeps/wordsize-64/labs.c: Likewise.
3244         * sysdeps/wordsize-64/ldiv.c: Likewise.
3245         * sysdeps/wordsize-64/strtol.c: Likewise.
3246         * sysdeps/wordsize-64/strtol_l.c: Likewise.
3247         * sysdeps/wordsize-64/strtoul.c: Likewise.
3248         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
3249         * sysdeps/wordsize-64/wcstol.c: Likewise.
3250         * sysdeps/wordsize-64/wcstol_l.c: Likewise.
3251         * sysdeps/wordsize-64/wcstoul.c: Likewise.
3252         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
3253         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3254         * wcsmbs/Makefile (strtox-CFLAGS): remove -I../stdlib.
3255         (CPPFLAGS-wcstold_l.c): Add -I../stdlib.
3256
3257 2005-12-13  Roland McGrath  <roland@redhat.com>
3258
3259         * sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
3260
3261 2005-12-13  Ulrich Drepper  <drepper@redhat.com>
3262
3263         * sysdeps/generic/signame.c: Removed.
3264         * sysdeps/generic/signame.h: Removed.
3265         * sysdeps/generic/configure.in: Removed.
3266         * sysdeps/generic/Dist: Remove these files.
3267
3268         * sysdeps/generic/det_endian.c: Removed.
3269         * sysdeps/generic/Makefile: Remove rule to build it.
3270         * sysdeps/generic/Dist: Don't distribute it.
3271
3272 2005-12-13  Roland McGrath  <roland@redhat.com>
3273
3274         * sysdeps/powerpc/dl-procinfo.c: New file.
3275         * sysdeps/powerpc/dl-procinfo.h: New file.
3276
3277 2005-12-12  Ulrich Drepper  <drepper@redhat.com>
3278
3279         * io/sys/stat.h: Add restrict to fstatat declarations.
3280
3281 2005-12-10  Ulrich Drepper  <drepper@redhat.com>
3282
3283         * posix/regex_internal.h: Include <stdint.h> if available.
3284
3285 2005-12-06  Paolo Bonzini  <bonzini@gnu.org>
3286
3287         * posix/regex_internal.h (SIZE_MAX): Provide a default definition.
3288
3289 2005-12-08  Ulrich Drepper  <drepper@redhat.com>
3290
3291         * nis/nis_call.c (inetstr2int): Optimize.
3292
3293 2005-12-08  Jakub Jelinek  <jakub@redhat.com>
3294
3295         * nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,
3296         ->clnt cannot be != NULL.
3297         (__do_niscall): No need to use __nisbind_destroy, __nisbind_next
3298         did it.
3299         (__nisbind_connect): use_auth is already TRUE, otherwise we would
3300         not be here.
3301
3302         * nis/nis_lookup.c (nis_lookup): Remove unnecessary
3303         __nisbind_destroy calls.  __nisbind_next does all that.
3304
3305         * nis/ypclnt.c (yp_update): Before trying default authentication,
3306         free DES descriptor.
3307
3308 2005-12-07  Jakub Jelinek  <jakub@redhat.com>
3309
3310         * nis/nis_table.c (nis_list): Fix memory handling in error case.
3311
3312 2005-12-07  Ulrich Drepper  <drepper@redhat.com>
3313
3314         * nis/nis_table.c (nis_list): Remove have_tablepath, just use the
3315         pointer value itself.
3316
3317 2005-12-06  Ulrich Drepper  <drepper@redhat.com>
3318
3319         * catgets/gencat.c: Use GPL, not LGPL.
3320         * elf/cache.c: Likewise.
3321         * elf/chroot_canon.c: Likewise.
3322         * elf/ldconfig.c: Likewise.
3323         * elf/readlib.c: Likewise.
3324         * iconv/dummy-repertoire.c: Likewise.
3325         * iconv/iconv_charmap.c: Likewise.
3326         * iconv/iconv_prog.c: Likewise.
3327         * iconv/iconvconfig.c: Likewise.
3328         * locale/programs/3level.h: Likewise.
3329         * locale/programs/charmap-dir.c: Likewise.
3330         * locale/programs/charmap-dir.h: Likewise.
3331         * locale/programs/charmap-kw.gperf: Likewise.
3332         * locale/programs/charmap.c: Likewise.
3333         * locale/programs/charmap.h: Likewise.
3334         * locale/programs/config.h: Likewise.
3335         * locale/programs/ld-address.c: Likewise.
3336         * locale/programs/ld-collate.c: Likewise.
3337         * locale/programs/ld-ctype.c: Likewise.
3338         * locale/programs/ld-identification.c: Likewise.
3339         * locale/programs/ld-measurement.c: Likewise.
3340         * locale/programs/ld-messages.c: Likewise.
3341         * locale/programs/ld-monetary.c: Likewise.
3342         * locale/programs/ld-name.c: Likewise.
3343         * locale/programs/ld-numeric.c: Likewise.
3344         * locale/programs/ld-paper.c: Likewise.
3345         * locale/programs/ld-telephone.c: Likewise.
3346         * locale/programs/ld-time.c: Likewise.
3347         * locale/programs/linereader.c: Likewise.
3348         * locale/programs/linereader.h: Likewise.
3349         * locale/programs/locale-spec.c: Likewise.
3350         * locale/programs/locale.c: Likewise.
3351         * locale/programs/localedef.c: Likewise.
3352         * locale/programs/localedef.h: Likewise.
3353         * locale/programs/locarchive.c: Likewise.
3354         * locale/programs/locfile-kw.gperf: Likewise.
3355         * locale/programs/locfile-token.h: Likewise.
3356         * locale/programs/locfile.c: Likewise.
3357         * locale/programs/locfile.h: Likewise.
3358         * locale/programs/repertoire.c: Likewise.
3359         * locale/programs/repertoire.h: Likewise.
3360         * locale/programs/simple-hash.c: Likewise.
3361         * locale/programs/simple-hash.h: Likewise.
3362         * locale/programs/xmalloc.c: Likewise.
3363         * locale/programs/xstrdup.c: Likewise.
3364         * malloc/memusagestat.c: Likewise.
3365         * nscd/aicache.c: Likewise.
3366         * nscd/cache.c: Likewise.
3367         * nscd/connections.c: Likewise.
3368         * nscd/dbg_log.c: Likewise.
3369         * nscd/gai.c: Likewise.
3370         * nscd/getgrgid_r.c: Likewise.
3371         * nscd/getgrnam_r.c: Likewise.
3372         * nscd/gethstbyad_r.c: Likewise.
3373         * nscd/gethstbynm2_r.c: Likewise.
3374         * nscd/getpwnam_r.c: Likewise.
3375         * nscd/getpwuid_r.c: Likewise.
3376         * nscd/grpcache.c: Likewise.
3377         * nscd/hstcache.c: Likewise.
3378         * nscd/initgrcache.c: Likewise.
3379         * nscd/mem.c: Likewise.
3380         * nscd/nscd.c: Likewise.
3381         * nscd/nscd_conf.c: Likewise.
3382         * nscd/pwdcache.c: Likewise.
3383         * posix/getconf.c: Likewise.
3384         * sysdeps/generic/nscd_setup_thread.c: Likewise.
3385         * sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.
3386
3387         * sunrpc/auth_des.c (authdes_pk_create): If conversation key
3388         cannot be created, free memory.
3389         Reported by rprasad@vmware.com.
3390
3391 2005-11-15  Mike Frysinger  <vapier@gentoo.org>
3392
3393         * sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor
3394         protection and allow pthread.h to include bits/setjmp.h as well as
3395         setjmp.h.
3396         * sysdeps/m68k/bits/setjmp.h: Likewise.
3397         * sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h
3398         are allow to include bits/setjmp.h.
3399         * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs
3400         cast of address.
3401         * sysdeps/sh/bits/setjmp.h: Likewise.
3402
3403 2005-11-12  Jim Meyering  <jim@meyering.net>
3404
3405         * sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter
3406         to be pointer to const.
3407         * include/dirent.h: Update decl.
3408
3409 2005-12-05  Roland McGrath  <roland@redhat.com>
3410
3411         * hurd/hurdmalloc.c: Remove $ tag $ magic.
3412         * mach/err_kern.sub: Likewise.
3413         * mach/err_server.sub: Likewise.
3414         * mach/err_us.sub: Likewise.
3415         * mach/error_compat.c: Likewise.
3416         * mach/errorlib.h: Likewise.
3417         * mach/errstring.c: Likewise.
3418         * mach/mach/error.h: Likewise.
3419         * mach/mach_error.c: Likewise.
3420         * mach/mach_error.h: Likewise.
3421         * mach/msg-destroy.c: Likewise.
3422         * mach/msgserver.c: Likewise.
3423         * sysdeps/mach/sys/reboot.h: Likewise.
3424
3425         * sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
3426
3427 2005-11-28  Jakub Jelinek  <jakub@redhat.com>
3428
3429         * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
3430         initialized.  Reported by John Reiser <jreiser@BitWagon.com>.
3431
3432 2005-12-05  Daniel Jacobowitz  <dan@codesourcery.com>
3433
3434         * stdlib/longlong.h: Update from GCC.
3435
3436 2005-12-04  Joseph S. Myers  <joseph@codesourcery.com>
3437
3438         * soft-fp/soft-fp.h: Include <stdlib.h>.
3439
3440         * soft-fp/floatdisf.c (__floatdisf): Return float.
3441
3442 2005-12-05  Roland McGrath  <roland@redhat.com>
3443
3444         * sysdeps/unix/sysv/linux/kernel-features.h
3445         (__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.
3446
3447 2005-12-03  Ulrich Drepper  <drepper@redhat.com>
3448
3449         * nis/nis_table.c (nis_list): Optimize freeing and reallocation of
3450         result record.
3451
3452         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
3453         Better sized buffers.  Correct error case handling.
3454         * nis/nis_error.c (nis_sperror_r): Let snprintf determine whether
3455         there is an overflow.
3456         * nis/nss_nisplus/nisplus-service.c: Fix locking to use
3457         _nss_create_tablename.  Avoid unnecessary copying, remove
3458         unnecessary variables, general cleanup.
3459         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
3460         * nis/nss_nisplus/nisplus-proto.c: Likewise..
3461         * nis/nss_nisplus/nisplus-network.c: Fix locking to use
3462         _nss_create_tablename.  Avoid unnecessary copying, general cleanup.
3463         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
3464         Removed.
3465         Fix locking to use _nss_create_tablename.  Avoid unnecessary copying,
3466         general cleanup.
3467         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
3468         Correctly construct request.
3469         Fix locking to use _nss_create_tablename.  Avoid unnecessary copying,
3470         general cleanup.
3471         * nis/nss_nisplus/nisplus-alias.c: Fix locking to use
3472         _nss_create_tablename.  Avoid unnecessary copying, general cleanup.
3473         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent):
3474         Rewrite to use snprintf.
3475         * nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
3476         Likewise.
3477
3478 2005-12-02  Ulrich Drepper  <drepper@redhat.com>
3479
3480         * nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):
3481         Renamed from _nss_create_tablename.  Export from file (but not DSO).
3482         (pwd_tablename_val): Renamed from tablename_val, mark hidden.
3483         (pwd_tablename_len): Renamed from tablename_len, mark hidden.
3484         Change all users.
3485         * nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed.
3486         Use _nss_pwd_create_tablename now.  Use pwd_tablename_val and
3487         pwd_tablename_len.  Remove unnecessary variables, general cleanup.
3488
3489         * nis/nss_nisplus/nisplus-pwd.c: Fix locking to use
3490         _nss_create_tablename.  Avoid unnecessary copying, remove
3491         unnecessary variables, general cleanup.
3492         * nis/nss_nisplus/nisplus-grp.c: Likewise.
3493
3494         * io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.
3495         (static-only-routines): Add mknodat.
3496         * io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat.
3497         * io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat.
3498         Define mknodat inline function.
3499         * include/sys/stat.h: Add hidden proto for __xmknodat.
3500         * sysdeps/generic/mkdirat.c: New file.
3501         * sysdeps/generic/mkfifoat.c: New file.
3502         * sysdeps/generic/mknodat.c: New file.
3503         * sysdeps/generic/xmknodat.c: New file.
3504         * sysdeps/unix/mkfifoat.c: New file.
3505         * sysdeps/unix/sysv/linux/mkdirat.c: New file.
3506         * sysdeps/unix/sysv/linux/xmknodat.c: New file.
3507
3508         * sysdeps/generic/xmknod.c: Add one more parameter check.
3509
3510 2005-11-28  Andreas Jaeger  <aj@suse.de>
3511
3512         * sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added,
3513         Patch by René Rebe <rene@exactcode.de>.
3514
3515 2005-11-27  Ulrich Drepper  <drepper@redhat.com>
3516
3517         * sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are
3518         multiple return records but only one address.
3519
3520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.
3521
3522 2005-11-27  Roland McGrath  <roland@redhat.com>
3523
3524         * sysdeps/unix/sysv/linux/fchownat.c: Include alloca.h, sysdep.h.
3525         Reported by René Rebe <rene@exactcode.de>.
3526
3527 2005-11-27  Ulrich Drepper  <drepper@redhat.com>
3528
3529         * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Don't cache
3530         euid and egid.
3531
3532         * nis/nis_table.c (nis_list): Add more free calls in error cases.
3533
3534 2005-11-26  Richard Henderson  <rth@redhat.com>
3535
3536         * sysdeps/alpha/strncmp.S: Don't read too much data when pointers
3537         are co-aligned, and count is aligned with the end of the word.
3538
3539 2005-11-26  Ulrich Drepper  <drepper@redhat.com>
3540
3541         * nis/nis_lookup.c (nis_lookup): Mark RPCTIMEOUT as const.  Pretty
3542         printing.
3543
3544         * nis/nis_table.c (__create_ib_request): Use strdupa instead of
3545         variable size array.
3546         (RPCTIMEOUT): Mark as const.
3547
3548         * nis/ypclnt.c (yp_bind_ypbindprog): Initialize clnt_saddr by hand.
3549         (ypdomainname): Renamed from __ypdomainname.  No need for initializer.
3550         (ypbindlist): Renamed from __ypbindlist.
3551         (do_ypcall): Check memory allocation suceeded before calling
3552         yp_bind_ypbindprog.
3553         (yperr_string): Reduce size of function by using only one gettext call.
3554         (ypbinderr_string): Likewise.
3555         (yp_match): Free response in case memory for return value cannot be
3556         allocated.
3557         (yp_first): Likewise.
3558         (yp_next): Likewise.
3559         (do_ypcall_tr): New function which translates error codes as well.
3560         (yp_match, yp_next, yp_master, yp_order, yp_maplist): Use it.
3561         (yp_all): Correct test for invalid parameter.
3562         Pretty printing.
3563         (RPCTIMEOUT, UDPTIMEOUT): Mark as const.
3564
3565 2005-11-25  Richard Henderson  <rth@redhat.com>
3566
3567         * sysdeps/unix/sysv/linux/alpha/fxstatat.c (__fxstatat): Fix typo.
3568         (__fxstatat64): Alias from __fxstatat; remove other cnp errors.
3569         * sysdeps/unix/sysv/linux/alpha/sigaction.c: Include sys/cdefs.h
3570         and stddef.h.
3571         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MREMAP_FIXED): Define.
3572
3573 2005-11-25  Ulrich Drepper  <drepper@redhat.com>
3574
3575         * Makeconfig (+cflags): Add -fmerge-all-constants by default.
3576
3577         [BZ #1912]
3578         * nss/function.def: Add entry to use gethostbyname2 for files.
3579
3580 2005-11-25  Thorsten Kukuk  <kukuk@suse.de>
3581
3582         * sysdeps/unix/sysv/linux/fxstatat64.c: Include string.h.
3583
3584 2005-11-25  Ulrich Drepper  <drepper@redhat.com>
3585
3586         [BZ #1926]
3587         * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Change
3588         return value type to match expected type.
3589
3590         [BZ #1925]
3591         * nis/ypclnt.c (yp_order): Correct test for invalid parameter.
3592
3593 2005-11-24  Ulrich Drepper  <drepper@redhat.com>
3594
3595         * scripts/check-c++-types.sh: Improve comments.
3596
3597         * scripts/check-local-headers.sh: New file.
3598         * Makefile (tests): Run check-local-headers.sh.
3599
3600 2005-11-23  Thorsten Kukuk  <kukuk@suse.de>
3601
3602         * include/sys/sendfile.h: New file.
3603
3604 2005-11-24  Andreas Schwab  <schwab@suse.de>
3605
3606         * time/sys/time.h: Remove nonnull attribute from futimesat.
3607
3608 2005-11-22  Ulrich Drepper  <drepper@redhat.com>
3609
3610         * nscd/connections.c (sendfileall): Define.
3611         (handle_request): Use it instead of sendfile call.
3612         * nscd/nscd-client.h: Declare sendfileall.
3613         * nscd/aicache.c: Use sendfileall instead of sendfile.
3614         * nscd/grpcache.c: Likewise.
3615         * nscd/hstcache.c: Likewise.
3616         * nscd/initgrcache.c: Likewise.
3617         * nscd/pwdcache.c: Likewise.
3618
3619         [BZ #1908]
3620         * manual/install.texi (Tools for Compilation): Require gawk.
3621
3622 2005-11-22  Jakub Jelinek  <jakub@redhat.com>
3623
3624         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3625         unused is_static field from slotinfo array.
3626
3627 2005-11-21  Jakub Jelinek  <jakub@redhat.com>
3628
3629         * sunrpc/bindrsvprt.c (bindresvport): Wrap around to startport
3630         in the loop if port is bigger than endport, initially set to
3631         ENDPORT.  When changing startport, set endport and port
3632         appropriately.
3633
3634 2005-11-21  Ulrich Drepper  <drepper@redhat.com>
3635
3636         * Makefile.in: Remove RCS ID line.
3637         * config-name.in: Likewise.
3638         * config.make.in: Likewise.
3639         * malloc/arena.c: Likewise.
3640         * malloc/hooks.c: Likewise.
3641         * malloc/malloc.c: Likewise.
3642         * manual/dir: Likewise.
3643         * math/math_private.h: Likewise.
3644         * resolv/gethnamaddr.c: Likewise.
3645         * scripts/mkinstalldirs: Likewise.
3646         * sunrpc/rpc_clntout.c: Likewise.
3647         * sunrpc/rpc_cout.c: Likewise.
3648         * sunrpc/rpc_hout.c: Likewise.
3649         * sunrpc/rpc_main.c: Likewise.
3650         * sunrpc/rpc_parse.c: Likewise.
3651         * sunrpc/rpc_sample.c: Likewise.
3652         * sunrpc/rpc_scan.c: Likewise.
3653         * sunrpc/rpc_svcout.c: Likewise.
3654         * sunrpc/rpc_tblout.c: Likewise.
3655         * sunrpc/rpc_util.c: Likewise.
3656         * sysdeps/unix/sysv/linux/sys/quote.h: Likewise.
3657
3658         * nscd/nscd_helper.c: Pretty printing.
3659
3660 2005-11-19  Roland McGrath  <roland@redhat.com>
3661
3662         * elf/elf.h: Revert last change.
3663
3664 2005-11-19  Jakub Jelinek  <jakub@redhat.com>
3665
3666         * sysdeps/unix/sysv/linux/ia64/bits/shm.h (shmatt_t): New type.
3667         (struct shmid_ds): Use it for shm_nattch field.
3668
3669 2005-11-18  Jakub Jelinek  <jakub@redhat.com>
3670
3671         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): If FILE is NULL,
3672         set access and modification times of the file referenced by FD.
3673         * sysdeps/generic/futimesat.c (futimesat): Don't return EINVAL if
3674         FILE is NULL.  Don't check FD if FILE is absolute path.
3675
3676 2005-11-19  Ulrich Drepper  <drepper@redhat.com>
3677
3678         * nscd/nscd_gethst_r.c (nscd_gethst_r): Avoid unnecesary read call
3679         if there are no aliases.
3680
3681         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-connections.c,
3682         CFLAGS-pwdcache.c, CFLAGS-grpcache.c, CFLAGS-hstcache.c,
3683         CFLAGS-aicache.c, CFLAGS-initgrcache.c): Add -DHAVE_SENDFILE.
3684         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
3685         Define.
3686         * nscd/pwdcache.c [HAVE_SENDFILE]: Include <sys/sendfile.h> and
3687         <kernel-features.h>.
3688         [HAVE_SENDFILE] (cache_addpw): Use sendfile to transmit positive
3689         result.
3690         * nscd/grpcache.c: Likewise.
3691         * nscd/hstcache.c: Likewise.
3692         * nscd/aicache.c: Likewise.
3693         * nscd/initgrcache.c: Likewise.
3694         * nscd/connectionc.c: Likewise.
3695
3696 2005-11-18  Andreas Schwab  <schwab@suse.de>
3697
3698         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Remove useless alias.
3699
3700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Handle
3701         NO_WEAK_ALIAS.
3702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3703
3704 2005-11-18  Paul Brook  <paul@codesourcery.com>
3705
3706         * sysdeps/unix/sysv/linux/m68k/bits/mman.h (MREMAP_FIXED): New macro.
3707
3708         * nscd/grpcache.c: Include <sys/socket.h>.
3709         * nscd/nscd_stat.c: Likewise.
3710         * nscd/pwdcache.c: Likewise.
3711         * sysdeps/unix/sysv/linux/unlinkat.c: Include <stdlib.h>, <sysdep.h>.
3712
3713 2005-11-17  Ulrich Drepper  <drepper@redhat.com>
3714
3715         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Define SHM_NORESERVE.
3716         * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
3717         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3718         * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
3719         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
3720         * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
3721         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3722         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3723
3724 2005-11-17  Steven Munroe  <sjmunroe@us.ibm.com>
3725
3726         [BZ #1877]
3727         * string/test-strncmp.c (do_test_limit): Handle zero length and
3728         non-zero align values.
3729         (test_main): Correct do_test_limit tests for 64-bit.
3730
3731 2005-11-15  Steven Munroe  <sjmunroe@us.ibm.com>
3732
3733         * sysdeps/powerpc/sysdep.h (PPC_FEATURE_HAS_SPE,
3734         PPC_FEATURE_HAS_EFP_SINGLE, PPC_FEATURE_HAS_EFP_DOUBLE,
3735         PPC_FEATURE_NO_TB, PPC_FEATURE_POWER4, PPC_FEATURE_POWER5,
3736         PPC_FEATURE_POWER5_PLUS, PPC_FEATURE_CELL, PPC_FEATURE_970):
3737         Define to match 2.6.15 kernel.
3738
3739         * sysdeps/powerpc/fpu/e_sqrt.c: Remove dl-procinfo.h include.
3740         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3741         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3742
3743 2005-11-17  Roland McGrath  <roland@redhat.com>
3744
3745         * elf/elf.h (R_PPC64_ADDR30): Renamed to R_PPC64_REL30.
3746
3747 2005-11-17  Jakub Jelinek  <jakub@redhat.com>
3748
3749         * io/sys/stat.h (fstatat): If __REDIRECT_NTH isn't defined,
3750         define fstatat to fstatat64.
3751
3752 2005-11-17  Steven Munroe  <sjmunroe@us.ibm.com>
3753
3754         [BZ #1877]
3755         * string/test-strncmp.c (do_test_limit): New function.
3756         (do_test) Add cast to eliminate compiler warnings.
3757         (do_random_tests) Add cast to eliminate compiler warnings.
3758         (test_main) Add do_test_limit tests.
3759         * sysdeps/powerpc/powerpc32/strncmp.S: Test length before unaligned
3760         load.
3761         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3762
3763 2005-11-17  Ulrich Drepper  <drepper@redhat.com>
3764
3765         * include/resolv.h: Include <stdbool.h>.
3766         Patch by Paul Brook.
3767
3768         * io/sys/stat.h: Use __const not const in fstatat prototypes.
3769
3770 2005-11-08  H.J. Lu  <hongjiu.lu@intel.com>
3771
3772         * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to
3773         -Din_divdi3_c.
3774         * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is defined.
3775
3776 2005-11-16  Jakub Jelinek  <jakub@redhat.com>
3777
3778         * sysdeps/unix/sysv/linux/fchownat.c: Include string.h.
3779         * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
3780         * sysdeps/unix/sysv/linux/i386/fchownat.c: Likewise.
3781         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Likewise.
3782         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3783         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Likewise.
3784         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3785         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Likewise.
3786
3787 2005-11-16  Ulrich Drepper  <drepper@redhat.com>
3788
3789         * iconvdata/Makefile (modules): Add ISO_11548-1.
3790         (distribute): Add iso_11548-1.c.
3791         * iconvdata/gconv-modules: Add entries for ISO 11548-1.
3792         * iconvdata/TESTS: Add entry for ISO 11548-1.
3793
3794         [BZ 1872]
3795         * iconvdata/iso_11548-1.c: New file.
3796         * iconvdata/testdata/ISO_11548-1: New file.
3797         * iconvdata/testdata/ISO_11548-1..UTF8: New file.
3798         Patch by Samuel Thibault <samuel.thibault@ens-lyon.org>.
3799
3800 2005-11-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3801
3802         * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Remove incorrect &.
3803
3804 2005-11-15  Ulrich Drepper  <drepper@redhat.com>
3805
3806         [BZ 1865]
3807         * inet/netinet/icmp6.h: More updates for RFC3542.
3808         * inet/netinet/ip6.h: Likewise.
3809         * sysdeps/unix/sysv/linux/bits/in.h: Adjust for current kernel sources.
3810         Patch by David L Stevens <dlstevens@us.ibm.com>.
3811
3812         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3813         Return -1 on failure.
3814         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3815         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise..
3816         * sysdeps/unix/sysv/linux/fxstatat64.c [__ASSUME_STAT64_SYSCALL]
3817         (__fxstatat64): Handle errors.
3818
3819         * io/sys/poll.h: Add comment explaining poll is a cancellation  point.
3820
3821         * sysdeps/unix/sysv/linux/syscalls.list (epoll_wait): Align with
3822         poll, make cancelable.
3823         * sysdeps/unix/sysv/linux/sys/epoll.h: Add comment explaining
3824         epoll_wait is a cancellation point.
3825
3826 2005-11-15  Jakub Jelinek  <jakub@redhat.com>
3827
3828         * io/sys/stat.h (fstatat): Don't use __THROW together with
3829         __REDIRECT_NTH.
3830
3831 2005-11-14  Ulrich Drepper  <drepper@redhat.com>
3832
3833         * elf/dl-open.c [!SHARED]: Remove _dl_tls_static_size definition.
3834         * sysdeps/generic/libc-tls.c: Initialize _dl_tls_static_size here.
3835
3836 2005-11-11  Ulrich Drepper  <drepper@redhat.com>
3837
3838         * io/Makefile (routines): Add fstatat, fstatat64, fxstatat, fxstatat64,
3839         fchownat, and unlinkat.
3840         (static-only-routines): Add fstatat and fstatat64.
3841         (tests): Add tst-unlinkat, tst-fstatat, tst-futimesat, tst-renameat,
3842         and tst-fchownat.
3843         * io/Versions [GLIBC_2.4]: Add fchownat, __fxstatat, __fxstatat64,
3844         and unlinkat.
3845         * io/fcntl.h: Define AT_FDCWD, AT_SYMLINK_NOFOLLOW, and AT_REMOVEDIR.
3846         * io/fstatat.c: New file.
3847         * io/fstatat64.c: New file.
3848         * io/sys/stat.h: Declare fstatat, fstatat64, __fxstatat, __fxstatat64
3849         and define fstatat and fstatat64 inline functions.
3850         * libio/stdio.h: Declare renameat.
3851         * misc/Makefile (routines): Add futimesat.
3852         * misc/Versions [GLIBC_2.4]: Add futimesat.
3853         * posix/unistd.h: Declare fchownat and unlinkat.
3854         * stdio-common/Makefile (routines): Add renameat.
3855         * stdio-common/Versions [GLIBC_2.4]: Add renameat.
3856         * sysdeps/generic/fchownat.c: New file.
3857         * sysdeps/generic/futimesat.c: New file.
3858         * sysdeps/generic/fxstatat.c: New file.
3859         * sysdeps/generic/fxstatat64.c: New file.
3860         * sysdeps/generic/renameat.c: New file.
3861         * sysdeps/generic/unlinkat.c: New file.
3862         * sysdeps/unix/sysv/linux/fchownat.c: New file.
3863         * sysdeps/unix/sysv/linux/futimesat.c: New file.
3864         * sysdeps/unix/sysv/linux/fxstatat.c: New file.
3865         * sysdeps/unix/sysv/linux/fxstatat64.c: New file.
3866         * sysdeps/unix/sysv/linux/renameat.c: New file.
3867         * sysdeps/unix/sysv/linux/unlinkat.c: New file.
3868         * sysdeps/unix/sysv/linux/alpha/fxstatat.c: New file.
3869         * sysdeps/unix/sysv/linux/i386/fchownat.c: New file.
3870         * sysdeps/unix/sysv/linux/i386/fxstatat.c: New file.
3871         * sysdeps/unix/sysv/linux/m68k/fchownat.c: New file.
3872         * sysdeps/unix/sysv/linux/m68k/fxstatat.c: New file.
3873         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: New file.
3874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstatat.c: New file.
3875         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: New file.
3876         * sysdeps/unix/sysv/linux/s390/s390-32/fxstatat.c: New file.
3877         * sysdeps/unix/sysv/linux/sh/fchownat.c: New file.
3878         * sysdeps/unix/sysv/linux/sh/fxstatat.c: New file.
3879         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: New file.
3880         * sysdeps/unix/sysv/linux/sparc/sparc32/fxstatat.c: New file.
3881         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstatat.c: New file.
3882         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: New file.
3883         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat64.c: New file.
3884         * time/sys/time.h: Declare futimesat.
3885         * include/fcntl.h: Declare __atfct_seterrno.
3886         * sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): New function.
3887         Split out from openat code and called.
3888         (do_test): Allow openat to fail with ENOSYS.  Handle AT_FDCWD.
3889         * sysdeps/generic/openat.c: Handle AT_FDCWD.
3890         * sysdeps/generic/openat64.c: Likewise.
3891         * io/tst-unlinkat.c: New file.
3892         * io/tst-fstatat.c: New file.
3893         * io/tst-futimesat.c: New file.
3894         * io/tst-renameat.c: New file.
3895         * io/tst-fchownat.c: New file.
3896         * io/tst-openat.c: Don't fail if openat is not implemented.
3897
3898         * sysdeps/unix/sysv/linux/powerpc/chown.c: Don't provide backward
3899         compatibility code if new kernel is guaranteed.
3900
3901         * time/sys/time.h: Add a few nonnull attributes.
3902
3903 2005-11-09  Ulrich Drepper  <drepper@redhat.com>
3904
3905         * io/fcntl.h: Declare openat and openat64.
3906         * io/Makefile (routines): Add openat and openat64.
3907         (tests): Add tst-openat.
3908         * io/Versions: Add openat and openat64 for GLIBC_2.4.
3909         * sysdeps/generic/openat.c: New file.
3910         * sysdeps/generic/openat64.c: New file.
3911         * sysdeps/unix/sysv/linux/openat.c: New file.
3912         * sysdeps/unix/sysv/linux/openat64.c: New file.
3913         * io/tst-openat.c: New file.
3914
3915         * sysdeps/generic/check_fds.c (check_one_fd): For writable
3916         descriptors, use /dev/full.
3917         (__libc_check_standard_fds): Reverse modes so that common operations on
3918         the descriptors fail.
3919         * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.
3920
3921 2005-11-07  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
3922
3923         * elf/elf.h (R_M32R_REL32): New macro.
3924
3925 2005-11-05  Marcus Brinkmann  <marcus@gnu.org>
3926
3927         * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro.
3928         (S_ISPARE): Unset the S_IMMAP0 flag.
3929
3930 2005-11-07  Roland McGrath  <roland@redhat.com>
3931
3932         * configure.in: Grok --with-cpu=CPU option.  If given, search for
3933         sysdeps/.../machine/CPU subdirs, and give error if none are found.
3934         * configure: Regenerated.
3935         * config.make.in (with-cpu): New substituted variable.
3936         * Makeconfig (+cflags): Add -mcpu=$(with-cpu) if set.
3937
3938         * malloc/malloc.c (munmap_chunk): Suppress warnings from last change.
3939
3940         * sysdeps/unix/bsd/sun: Directory and all subdirectories removed,
3941         saved in ports repository.
3942         * sysdeps/unix/sysv/linux/tcflush.c: Rewritten.
3943         * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
3944
3945 2005-11-06  Ulrich Drepper  <drepper@redhat.com>
3946
3947         * malloc/malloc.c (munmap_chunk): Add sanity checks.
3948
3949         * sysdeps/pthread/configure: Fix comment.
3950
3951 2005-11-05  Ulrich Drepper  <drepper@redhat.com>
3952
3953         * configure.in: Remove gnu_as definition and everything using it.
3954         * config.make.in: Remove gnu-as.
3955         * config.h.in: Remove HAVE_GNU_AS.
3956
3957         * configure.in: Remove gnu_ld definition and everything using it.
3958         * config.h.in: Remove HAVE_GNU_LD.
3959         * config.make.in: Remove gnu-ld.
3960         * csu/Makefile: Remove use of gnu-ld.
3961         * csu/munch.awk: Removed.
3962         * csu/munch-tmpl.c: Removed.
3963         * include/libc-symbols.h: Remove use of HAVE_GNU_LD.
3964         * posix/execl.c: Likewise.
3965         * posix/execv.c: Likewise.
3966         * stdio-common/psignal.c: Likewise.
3967         * stdlib/exit.c: Likewise.
3968         * string/strsignal.c: Likewise.
3969         * string/tester.c: Likewise.
3970         * sysdeps/generic/errlist.c: Likewise.
3971         * sysdeps/generic/getenv.c: Likewise.
3972         * sysdeps/generic/getgroups.c: Likewise.
3973         * sysdeps/generic/init-posix.c: Likewise.
3974         * sysdeps/posix/gettimeofday.c: Likewise.
3975         * sysdeps/posix/system.c: Likewise.
3976         * sysdeps/unix/bsd/init-posix.c: Likewise.
3977         * sysdeps/unix/bsd/ulimit.c: Likewise.
3978         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
3979         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
3980         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
3981         * sysdeps/unix/i386/brk.S: Likewise.
3982         * sysdeps/unix/sparc/brk.S: Likewise.
3983
3984         * configure.in: Remove test for support for subtracting local labels.
3985         * config.h.in: Remove HAVE_SUBTRACT_LOCAL_LABELS.
3986         * stdio-common/vfprintf.c: Remove test of
3987         HAVE_SUBTRACT_LOCAL_LABELS.
3988
3989         * configure.in: If init_array/fini_array support is not available,
3990         bail out.
3991         * config.h.in: Remove trace of optional init_array/fini_array support.
3992         * config.make.in: Likewise.
3993         * csu/elf-init.c: Likewise.
3994         * dlfcn/dlfcn.c: Likewise.
3995         * elf/soinit.c: Likewise.
3996         * sysdeps/ia64/elf/initfinit.c: Likewise.
3997
3998 2005-11-04  Roland McGrath  <roland@redhat.com>
3999
4000         * sysdeps/i386/configure.in (libc_mtune_example): Variable removed.
4001         * sysdeps/i386/configure: Regenerated.
4002
4003         [BZ #1089]
4004         * configure.in: Change order of add-on sysdeps directories,
4005         so they are interleaved with main sysdeps directories.
4006         * configure: Regenerated.
4007
4008 2005-11-03  Roland McGrath  <roland@redhat.com>
4009
4010         * NEWS: Synch with 2.3 branch updates.
4011
4012 2005-11-03  Ulrich Drepper  <drepper@redhat.com>
4013
4014         * sunrpc/svc.c (svc_getreq_poll): Fix inefficient loop test.
4015
4016 2005-11-03  Roland McGrath  <roland@redhat.com>
4017
4018         [BZ #1548]
4019         * sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask,
4020         make sure constant is long.
4021         From Jay Lan <jlan@engr.sgi.com>.
4022
4023 2005-11-03  Ulrich Drepper  <drepper@redhat.com>
4024
4025         [BZ #1774]
4026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use simple
4027         gethostbyname2 lookup if AI_V4MAPPED|AI_ALL is set.
4028
4029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid alloca when possible
4030         while looking for scope delimiter.
4031         Some pretty printing.
4032
4033 2005-10-31  Steven Munroe  <sjmunroe@us.ibm.com>
4034
4035         * sysdeps/powerpc/powerpc64/Makefile
4036         (sysdep_routines, elide-routines.os): Add hp-timing.
4037         * sysdeps/powerpc/powerpc64/hp-timing.c: New file.
4038         * sysdeps/powerpc/powerpc64/hp-timing.h: New file.
4039         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: New file.
4040
4041 2005-10-31  Ulrich Drepper  <drepper@redhat.com>
4042
4043         * resolv/res_init.c (__res_iclose): New function.  Broken out of
4044         res_nclose.  Take addition parameter which determines whether
4045         addresses should be freed.
4046         (res_nclose): Call __res_iclose.
4047         (res_thread_freeres): Likewise.
4048         * resolv/res_data.c (res_close): Call __res_iclose.
4049         * resolv/res_libc.c (res_init): No need to separately free the
4050         addresses.
4051         (__res_maybe_init): Likewise.
4052         * resolv/res_send.c: Use __res_iclose instead of res_nclose.
4053         * resolv/Versions [GLIBC_PRIVATE]: Add __res_iclose.
4054         * include/resolv.h: Declare __res_iclose.
4055         Add libc_hidden_proto for __res_iclose.
4056         * hesiod/hesiod.c (__hesiod_res_set): No need to free name server
4057         addresses here again.
4058
4059         [BZ #1579]
4060         * debug/execinfo.h: Change backtrace_symbols_fd comment.
4061
4062 2005-10-24  H.J. Lu  <hongjiu.lu@intel.com>
4063
4064         * sysdeps/ia64/fpu/libm-symbols.h (WEAK_LIBM_ENTRY): Add "__"
4065         prefix to LOCAL_LIBM_ENTRY.
4066         (WEAK_LIBM_END): Add "__" prefix to LOCAL_LIBM_END.
4067
4068 2005-10-26  Jakub Jelinek  <jakub@redhat.com>
4069
4070         * elf/dl-conflict.c (_dl_resolve_conflicts): Use _dl_debug_printf
4071         instead of _dl_printf to print conflict processing debug message.
4072         Reported by John Reiser <jreiser@BitWagon.com>.
4073
4074 2005-10-30  Ulrich Drepper  <drepper@redhat.com>
4075
4076         * misc/hsearch_r.c (hsearch_r): Remove duplicate test.
4077         Patch by Chris Caputo <ccaputo@alt.net>.
4078
4079 2005-10-28  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4080
4081         * sysdeps/unix/sh/sysdep.S: Remove unnecessary weak_alias.
4082         * sysdeps/unix/sysv/linux/sh/socket.S: Honor NO_WEAK_ALIAS.
4083
4084 2005-10-28  Thorsten Kukuk  <kukuk@suse.de>
4085
4086         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey): Fix off
4087         by one error.
4088
4089 2005-10-24  Roland McGrath  <roland@redhat.com>
4090
4091         [BZ #1534]
4092         * include/string.h: Use libc_hidden_proto for strnlen,
4093         not libc_hidden_builtin_proto.
4094
4095 2005-10-23  Ulrich Drepper  <drepper@redhat.com>
4096
4097         * rt/mqueue.h: Cleanups.
4098
4099 2005-10-22  Roland McGrath  <roland@redhat.com>
4100
4101         [BZ #1254]
4102         * sysdeps/mach/hurd/getpeername.c (__getpeername): Fix last change.
4103         From Samuel Thibault <samuel.thibault@ens-lyon.org>.
4104
4105 2005-10-17  Thomas Schwinge  <tschwinge@gnu.org>
4106
4107         [BZ #1252]
4108         * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue.
4109         * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
4110
4111 2005-10-20  Ulrich Drepper  <drepper@redhat.com>
4112
4113         * iconvdata/ibm1364.h (__ucs4_to_ibm1364sb): Fix one mapping.
4114         * iconvdata/ibm1388.h (__ucs4_to_ibm1388sb): Likewise.
4115         * iconvdata/testdata/IBM1364: Add missing valid input.
4116         * iconvdata/testdata/IBM1388: Likewise.
4117         * iconvdata/testdata/IBM1364..UTF8: Adjust appropriately.
4118         * iconvdata/testdata/IBM1388..UTF8: Likewise.
4119         Patch by Masahide Washizawa <washi@jp.ibm.com>.
4120
4121 2005-08-23  GOTO Masanori  <gotom@debian.or.jp>
4122
4123         [BZ #1498]
4124         * sysdeps/alpha/remqu.S: Return the correct result when the same
4125         dividend and divisor are provided, and they're negative numbers.
4126         * sysdeps/alpha/divqu.S: Likewise.
4127
4128 2005-10-18  Steven Munroe  <sjmunroe@us.ibm.com>
4129
4130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h (TESTS):
4131         Define.
4132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h (TESTS):
4133         Likewise.
4134
4135 2005-10-19  Ulrich Drepper  <drepper@redhat.com>
4136
4137         * iconvdata/Makefile (modules): Add IBM1364, IBM1371, IBM1388, IBM1390,
4138         and IBM1399.
4139         (distribute): Add ibm1364.c, ibm1364.h, ibm1371.c, ibm1371.h,
4140         ibm1388.c, ibm1388.h, ibm1390.c, ibm1390.h, ibm1399.c, and ibm1399.h.
4141         * iconvdata/TESTS: Add entries for IBM1364, IBM1371, IBM1388, IBM1390,
4142         and IBM1399.
4143         * iconvdata/gconv-modules: Likewise.
4144         * iconvdata/ibm1364.c: New file.
4145         * iconvdata/ibm1364.h: New file.
4146         * iconvdata/ibm1371.c: New file.
4147         * iconvdata/ibm1371.h: New file.
4148         * iconvdata/ibm1388.c: New file.
4149         * iconvdata/ibm1388.h: New file.
4150         * iconvdata/ibm1390.c: New file.
4151         * iconvdata/ibm1390.h: New file.
4152         * iconvdata/ibm1399.c: New file.
4153         * iconvdata/ibm1399.h: New file.
4154         * iconvdata/testdata/IBM1364: New file.
4155         * iconvdata/testdata/IBM1364..UTF8: New file.
4156         * iconvdata/testdata/IBM1371: New file.
4157         * iconvdata/testdata/IBM1371..UTF8: New file.
4158         * iconvdata/testdata/IBM1388: New file.
4159         * iconvdata/testdata/IBM1388..UTF8: New file
4160         * iconvdata/testdata/IBM1390: New file.
4161         * iconvdata/testdata/IBM1390..UTF8: New file.
4162         * iconvdata/testdata/IBM1399: New file.
4163         * iconvdata/testdata/IBM1399..UTF8: New file.
4164         Original patch by Masahide Washizawa <washi@jp.ibm.com>.
4165
4166 2005-10-17  Roland McGrath  <roland@redhat.com>
4167
4168         * elf/dl-load.c (MAP_COPY): When undefined, define to
4169         MAP_PRIVATE|MAP_DENYWRITE instead of just MAP_PRIVATE.
4170         (_dl_map_object_from_fd): Don't use MAP_DENYWRITE explicitly.
4171
4172 2005-10-17  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4173
4174         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h (SC_STSZ, TESTS):
4175         Define.
4176         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h (SC_STSZ, TESTS):
4177         Likewise.
4178
4179 2005-10-17  Ulrich Drepper  <drepper@redhat.com>
4180
4181         * libio/oldfileops.c (_IO_old_file_xsputn): Fix last patch.
4182         Return EOF not 0.
4183
4184         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Also
4185         allow EACCES errors when opening /proc for now.
4186
4187         * wctype/wcfuncs.c: Don't use expensive wide char lookups in isw*
4188         functions if character is in ASCII range.
4189         * wctype/wcfuncs_l.c: Likewise.
4190
4191 2005-05-03  Robert Millan  <robertmh@gnu.org>
4192
4193         * abi-tags (.*-.*-knetbsd.*-gnu.*): New match, with ABI value 4.
4194         * elf/cache.c (print_entry): Match the kNetBSD ABI tag.
4195
4196 2005-10-16  Alfred M. Szmidt  <ams@gnu.org>
4197
4198         * sysdeps/generic/bits/mman.h
4199         [__USE_GNU] (MREMAP_MAYMOVE, REMAP_FIXED): New macros.
4200
4201 2005-10-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4202
4203         * sysdeps/unix/sysv/linux/sh/makecontext.S: New file.
4204         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: New file.
4205         * sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: New file.
4206         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: New file.
4207         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: New file.
4208         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: New file.
4209         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: New file.
4210         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: New file.
4211         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: New file.
4212         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Removed.
4213         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: New file.
4214         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: New file.
4215
4216 2005-09-13  Jakub Jelinek  <jakub@redhat.com>
4217
4218         [BZ #1228]
4219         * include/limits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Make sure these
4220         are defined for -D_GNU_SOURCE or -D_ISOC99_SOURCE even when not
4221         -std=c99.
4222
4223 2005-10-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4224
4225         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MREMAP_FIXED.
4226
4227 2005-08-05  Alfred M. Szmidt  <ams@gnu.org>
4228
4229         [BZ #1252]
4230         * sysdeps/mach/hurd/setitimer.c (restart_itimer): Move static fn
4231         forward decl out of function body.
4232         * sysdeps/mach/hurd/profil.c: Likewise.
4233
4234 2005-10-16  Roland McGrath  <roland@frob.com>
4235
4236         [BZ #1254]
4237         * sysdeps/mach/hurd/getpeername.c (__getpeername): Respect *LEN
4238         byte limit when setting ADDR->sa_family.
4239         Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
4240
4241         [BZ #1253]
4242         * sysdeps/mach/hurd/dl-sysdep.h
4243         [SHARED] (DL_ARGV_NOT_RELRO): New macro.
4244
4245         [BZ #1253]
4246         * sysdeps/mach/hurd/i386/init-first.c (init): Make cast kosher.
4247         (_hurd_stack_setup): Don't declare with arguments and ellipsis.
4248         Use __builtin_frame_address and __builtin_return_address.
4249         (_dl_init_first): Likewise.
4250
4251         [BZ #1249]
4252         * sysdeps/mach/hurd/i386/init-first.c (_cthread_init_routine): Declare
4253         as weak extern.
4254         (init): Check for it being undefined.
4255
4256 2005-10-16  Daniel Jacobowitz  <dan@codesourcery.com>
4257             Roland McGrath  <roland@redhat.com>
4258
4259         * Makerules [module-names] (extra-modules-build): New variable.
4260         ($(extra-modules-build:%=$(objpfx)%.so)): New static pattern rule.
4261         Depend on libc.so and libc_nonshared.a.
4262         * dlfcn/Makefile ($(test-modules)): Remove static pattern rule.
4263         * elf/Makefile (modules-names-nobuild): New variable, add filtmod1.
4264         ($(test-modules)): Remove static pattern rule.
4265
4266 2005-10-15  Thomas Schwinge  <tschwinge@gnu.org>
4267
4268         * include/dirent.h: Include <stdbool.h>.
4269         * sysdeps/mach/hurd/fdopendir.c: Include <fcntl.h>.
4270         (fdopendir): Correct argument to _hurd_fd_get().
4271         * sysdeps/mach/hurd/opendir.c (__opendir): Remove stray `}'.
4272
4273 2005-08-20  Paul Eggert  <eggert@cs.ucla.edu>
4274
4275         [BZ #1224]
4276         * posix/regcomp.c (init_word_char, duplicate_node_closure,
4277         fetch_token, peek_token_bracket, build_range_exp,
4278         build_collating_symbol): Remove forward decls; no longer needed
4279         now that we use prototypes.
4280
4281 2005-10-15  Ulrich Drepper  <drepper@redhat.com>
4282
4283         [BZ #1221]
4284         * posix/regex_internal.h: Remove last traces of
4285         RE_NO_INTERNAL_PROTOTYPES.
4286
4287         [BZ #968]
4288         * string/strxfrm_l.c (STRXFRM): Fix exit conditions of two loops.
4289
4290         * sysdeps/unix/fdopendir.c (fdopendir): Make sure descriptor
4291         allows reading.
4292
4293         * wcsmbs/tst-mbrtowc2.c: Use de_DE.UTF-8 instead of en_US.UTF-8.
4294         * wcsmbs/Makefile: Define tst-mbrtowc2-ENV.
4295
4296         * posix/regexec.c: Finish prototyping of static functions.
4297         * posix/regex_internal.c: Likewise.
4298
4299 2005-10-14  Roland McGrath  <roland@frob.com>
4300
4301         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): New function, broken
4302         out of ...
4303         (__opendir): ... here.  Call it.
4304         * sysdeps/mach/hurd/fdopendir.c: New file.
4305
4306 2005-10-14  Ulrich Drepper  <drepper@redhat.com>
4307
4308         [BZ #865]
4309         * math/tgmath.h: Correctly determine result type for
4310         __TGMATH_BINARY_REAL_ONLY,
4311         __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
4312         __TGMATH_TERNARY_REAL_ONLY, and __TGMATH_BINARY_REAL_IMAG.
4313
4314 2005-09-17  Andreas Jaeger  <aj@suse.de>
4315
4316         [BZ #865]
4317         * math/test-tgmath-int.c: New file.
4318         * math/Makefile (tests): Add test-tgmath-int.
4319
4320 2005-10-14  Ulrich Drepper  <drepper@redhat.com>
4321
4322         [BZ #804]
4323         * malloc/tst-mtrace.sh: Work around for bootstraping.
4324
4325         * locale/programs/ld-collate.c (collate_output): Fix counting of
4326         elements.  Don't limit table size.  Use correct secondary hash
4327         function.
4328         * locale/localeinfo.h (LIMAGIC): Change value returned for LC_COLLATE.
4329         * posix/fnmatch_loop.c: Adjust for changed secondary hash function.
4330         * posix/regcomp.c: Likewise.
4331
4332         * time/asctime.c (asctime_internal): Use __snprintf instead of
4333         snprintf to avoid PLT entry.
4334
4335         * sysdeps/unix/opendir.c (__opendir): Pass extra argument to
4336         __alloc_dir.
4337         (__alloc_dir): Only close descriptor on error if new parameter is true.
4338         * sysdeps/unix/fdopendir.c (fdopendir): Pass extra argument to
4339         __alloc_dir.  Don't close fd on error.
4340         * include/dirent.h (__alloc_dir): Adjust prototype.
4341
4342         * stdlib/Makefile (tests): Add tst-ucontext-off.
4343         * stdlib/tst-ucontext-off.c: New file.
4344         * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h (TESTS): Define.
4345         * sysdeps/unix/sysv/linux/i386/ucontext_i.h (TESTS): Likewise.
4346
4347         [BZ #1468]
4348         * sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: Fix values for
4349         oFPREGS, oSIGMASK, oFPREGSMEM, and oMXCSR.
4350         Patch by Nicholas Miell <nmiell@comcast.net>.
4351
4352         [BZ #1460]
4353         * time/asctime.c (asctime_internal): New function, derived from
4354         asctime_r.  Takes additional parameter which is the buffer length.
4355         Use snprintf instead sprintf, if it overflows, fail.
4356         (asctime_r): Call asctime_internal with 26 as buffer length.
4357         (asctime): Call asctime_internal with length of internal buffer.
4358         * time/Makefile (tests): Add bug-asctime_r.
4359         * time/bug-asctime_r.c: New file.
4360
4361         [BZ #1459]
4362         * time/asctime.c (__asctime_r): Check for tm_year computation to
4363         overflow and fail in this case.
4364         * time/Makefile (tests): Add bug-asctime.
4365         * time/bug-asctime.c: New file.
4366
4367         [BZ #1458]
4368         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MREMAP_FIXED.
4369         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
4370         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4371         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4372         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4373         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4374         * misc/sys/mman.h: Add ellipsis after last parameter of mremap and
4375         adjust leading comment.
4376         * sysdeps/unix/sysv/linux/syscalls.list: Add pointer parameter to
4377         mremap syscall.
4378         * include/sys/mman.h (__mremap): Add ellipsis.
4379         * malloc/memusage.c: Adjust mremap wrapper for optional additional
4380         parameter.
4381
4382 2005-10-13  Ulrich Drepper  <drepper@redhat.com>
4383
4384         [BZ #1405]
4385         * libio/iogetdelim.c (_IO_getdelim): Fix truncation of return
4386         value.  Avoid overflow in computation.
4387
4388         [BZ #1373]
4389         * argp/argp.h: Remove __NTH for __argp_usage inline function.
4390
4391 2005-08-26  Paul Eggert  <eggert@cs.ucla.edu>
4392
4393         [BZ #1248]
4394         * posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
4395         bitset_mask, re_string_allocate, re_string_construct,
4396         re_string_reconstruct, re_string_destruct, re_string_elem_size_at,
4397         re_string_char_size_at, re_string_wchar_at, re_string_peek_byte_case,
4398         re_string_fetch_byte_case, re_node_set_alloc, re_node_set_init_1,
4399         re_node_set_init_2, re_node_set_init_copy, re_node_set_add_intersect,
4400         re_node_set_init_union, re_node_set_merge, re_node_set_insert,
4401         re_node_set_insert_last, re_node_set_compare, re_node_set_contains,
4402         re_node_set_remove_at, re_dfa_add_node, re_acquire_state,
4403         re_acquire_state_context): Remove unnecessary forward decls.
4404         (re_string_char_size_at, re_string_wchar_at, re_string_elem_size_at):
4405         Put __attribute at function definition, now that the function decl
4406         has been removed.
4407         * posix/regex_internal.c (re_string_peek_byte_case,
4408         re_string_fetch_byte_case, re_node_set_compare, re_node_set_contains):
4409         Likewise.
4410
4411 2005-08-23  Paul Eggert  <eggert@cs.ucla.edu>
4412
4413         [BZ #1231]
4414         * posix/regex_internal.c (re_string_skip_chars, register_state,
4415         calc_state_hash): Remove forward decls.
4416         * posix/regexec.c (acquire_init_state_context, check_halt_node_context,
4417         proceed_next_node, pop_fail_stack, sub_epsilon_src_nodes,
4418         clean_state_log_if_needed): Likewise.
4419
4420 2005-10-13  Ulrich Drepper  <drepper@redhat.com>
4421
4422         * posix/regex.c: No need to use K&R definitions for static functions.
4423         * posix/regex_internal.c: Likewise.
4424         * posix/regcomp.c: Likewise.
4425
4426         [BZ #1466]
4427         * sysdeps/generic/s_csqrt.c (__csqrt): For zero real part, return
4428         principal square root.
4429         * sysdeps/generic/s_csqrtf.c (__csqrtf): Likewise.
4430         * sysdeps/generic/s_csqrtl.c (__csqrtl): Likewise.
4431         * math/libm-test.inc (csqrt_test): Add test for returning
4432         principal value.
4433
4434         * include/features.h: Define _POSIX_C_SOURCE to 200112 for
4435         _XOPEN_SOURCE == 600.
4436
4437 2005-10-12  Ulrich Drepper  <drepper@redhat.com>
4438
4439         * malloc/malloc.c (_int_free): Fail if block size is obviously wrong.
4440
4441         * include/malloc.h: Remove _int_new_arena prototype.
4442         * malloc/arena.c (_int_new_arena): Move definition ahead of
4443         arena_get2 and make static.
4444
4445         Correctly implement M_MXFAST.
4446         * malloc/malloc.c (struct malloc_state): Replace max_fast with flags
4447         fields.
4448         (global_max_fast): New variable.
4449         (set_max_fast): Change to not require arena parameter and to modify
4450         global_max_fast.  Change all callers.
4451         (get_max_fast): New macro.  Use this instead of directly accessing
4452         now removed max_fast arena member.
4453         (have_fastchunks): Use flags instead of max_fast.
4454         (clear_fastchunks): Likewise.
4455         (set_fastchunks): Likewise.
4456         (contiguous): Likewise.
4457         (noncontiguous): Likewise.
4458         (set_noncontiguous): Likewise.
4459         (set_contiguous): Likewise.
4460         (malloc_init_state): Explicitly set FASTCHUNKS_BIT.  Call set_max_fast
4461         only for main arena.
4462         * malloc/hooks.c (public_sET_STATe): Adjust set_max_fast use.
4463
4464 2005-10-10  Daniel Jacobowitz  <dan@codesourcery.com>
4465
4466         * sysdeps/generic/bits/byteswap.h (__bswap_constant_16): New macro.
4467         (__bswap_16): Use it.
4468         (__bswap_constant_32): New macro.
4469         (__bswap_32): Use it.
4470
4471 2005-10-10  Ulrich Drepper  <drepper@redhat.com>
4472
4473         * malloc/arena.c (ptmalloc_unlock_all2): Reset atfork_recursive_cntr.
4474
4475 2005-10-08  Jakub Jelinek  <jakub@redhat.com>
4476
4477         * nss/getent.c (hosts_keys): Pass INADDRSZ as size rather
4478         than IN6ADDRSZ to AF_INET gethostbyaddr.
4479
4480 2005-10-07  Roland McGrath  <roland@redhat.com>
4481
4482         [BZ #1438]
4483         * include/features.h: Make tests on _FORTIFY_SOURCE and __OPTIMIZE__
4484         friendly to -Wundef.
4485         (__USE_FORTIFY_LEVEL): Always define it, to 0 if nothing else.
4486
4487 2005-10-06  Ulrich Drepper  <drepper@redhat.com>
4488
4489         * sysdeps/unix/sysv/linux/readonly-area.c: Allow fopen to fail because
4490         the file does not exist.
4491
4492 2005-10-05  Simon Josefsson  <jas@extundo.com>
4493
4494         [BZ #1423]
4495         * crypt/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): New macros.
4496
4497 2005-10-05  Roland McGrath  <roland@redhat.com>
4498
4499         * crypt/Makefile (distribute): Remove duplicate defn.
4500
4501         * sysdeps/generic/ldsodefs.h (struct audit_ifaces):
4502         Use ARCH_PLTENTER_MEMBERS and ARCH_PLTEXIT_MEMBERS macros if defined.
4503         * elf/tst-auditmod1.c: Include <tst-audit.h> to define more
4504         architecture-specific code.
4505         * sysdeps/generic/tst-audit.h: New file.
4506         * elf/Makefile (distribute): Add it.
4507
4508 2005-10-05  Daniel Jacobowitz  <dan@codesourcery.com>
4509
4510         * elf/elf.h (R_ARM_TLS_DTPMOD32, R_ARM_TLS_DTPOFF32,
4511         R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
4512         R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros.
4513
4514 2005-10-03  Roland McGrath  <roland@redhat.com>
4515
4516         * sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
4517
4518 2005-09-30  Ulrich Drepper  <drepper@redhat.com>
4519
4520         * posix/regex.h: Pretty printing.
4521         Clean up namespace a bit.
4522
4523 2005-09-30  Jakub Jelinek  <jakub@redhat.com>
4524
4525         * posix/regexec.c (update_cur_sifted_state, check_arrival,
4526         check_arrival_add_next_nodes): Avoid using uninitialized variable.
4527
4528         * malloc/memusage.c (dest): Fix a bunch of warnings on 32-bit arches.
4529
4530         * sysdeps/i386/fpu/libm-test-ulps: Update for GCC 4.0.x.
4531
4532 2005-09-29  Ulrich Drepper  <drepper@redhat.com>
4533
4534         * iconvdata/Makefile (modules): Add IBM803, IBM901, IBM902, IBM921,
4535         IBM1008, IBM1008_420, IBM1097, IBM1112, IBM1123, IBM1130, IBM1140,
4536         IBM1141, IBM1142, IBM1143, IBM1144, IBM1145, IBM1146, IBM1147, IBM1148,
4537         IBM1149, IBM1166, IBM1167, IBM4517, IBM4899, IBM4909, IBM4971,
4538         IBM5347, IBM9030, IBM9066, IBM9448, IBM12712, IBM16804.
4539         (distribute): Add ibm803.c, ibm803.h, ibm901.c, ibm901.h, ibm902.c,
4540         ibm902.h, ibm921.c, ibm921.h, ibm1008.c, ibm1008.h, ibm1008_420.c,
4541         ibm1097.c, ibm1097.h, ibm1112.c, ibm1112.h, ibm1123.c, ibm1123.h,
4542         ibm1130.c, ibm1130.h, ibm1140.c, ibm1140.h, ibm1141.c, ibm1141.h,
4543         ibm1142.c, ibm1142.h, ibm1143.c, ibm1143.h, ibm1144.c, ibm1144.h,
4544         ibm1145.c, ibm1145.h, ibm1146.c, ibm1146.h, ibm1147.c, ibm1147.h,
4545         ibm1148.c, ibm1148.h, ibm1149.c, ibm1149.h, ibm1166.c, ibm1166.h,
4546         ibm1167.c, ibm1167.h, ibm4517.c, ibm4517.h, ibm4899.c, ibm4899.h,
4547         ibm4909.c, ibm4909.h, ibm4971.c, ibm4971.h, ibm5347.c, ibm5347.h,
4548         ibm9030.c, ibm9030.h, ibm9066.c, ibm9066.h, ibm9448.c, ibm9448.h,
4549         ibm12712.c, ibm12712.h, ibm16804.c, ibm16804.h.
4550         * iconvdata/TESTS: Add entries for new modules.
4551         * iconvdata/gconv-modules: Likewise.
4552         * iconvdata/ibm803.c: New file.
4553         * iconvdata/ibm803.h: New file.
4554         * iconvdata/ibm901.c: New file.
4555         * iconvdata/ibm901.h: New file.
4556         * iconvdata/ibm902.c: New file.
4557         * iconvdata/ibm902.h: New file.
4558         * iconvdata/ibm921.c: New file.
4559         * iconvdata/ibm921.h: New file.
4560         * iconvdata/ibm1008.c: New file.
4561         * iconvdata/ibm1008.h: New file.
4562         * iconvdata/ibm1008_420.c: New file.
4563         * iconvdata/ibm1097.c: New file.
4564         * iconvdata/ibm1097.h: New file.
4565         * iconvdata/ibm1112.c: New file.
4566         * iconvdata/ibm1112.h: New file.
4567         * iconvdata/ibm1123.c: New file.
4568         * iconvdata/ibm1123.h: New file.
4569         * iconvdata/ibm1130.c: New file.
4570         * iconvdata/ibm1130.h: New file.
4571         * iconvdata/ibm1140.c: New file.
4572         * iconvdata/ibm1140.h: New file.
4573         * iconvdata/ibm1141.c: New file.
4574         * iconvdata/ibm1141.h: New file.
4575         * iconvdata/ibm1142.c: New file.
4576         * iconvdata/ibm1142.h: New file.
4577         * iconvdata/ibm1143.c: New file.
4578         * iconvdata/ibm1143.h: New file.
4579         * iconvdata/ibm1144.c: New file.
4580         * iconvdata/ibm1144.h: New file.
4581         * iconvdata/ibm1145.c: New file.
4582         * iconvdata/ibm1145.h: New file.
4583         * iconvdata/ibm1146.c: New file.
4584         * iconvdata/ibm1146.h: New file.
4585         * iconvdata/ibm1147.c: New file.
4586         * iconvdata/ibm1147.h: New file.
4587         * iconvdata/ibm1148.c: New file.
4588         * iconvdata/ibm1148.h: New file.
4589         * iconvdata/ibm1149.c: New file.
4590         * iconvdata/ibm1149.h: New file.
4591         * iconvdata/ibm1166.c: New file.
4592         * iconvdata/ibm1166.h: New file.
4593         * iconvdata/ibm1167.c: New file.
4594         * iconvdata/ibm1167.h: New file.
4595         * iconvdata/ibm4517.c: New file.
4596         * iconvdata/ibm4517.h: New file.
4597         * iconvdata/ibm4899.c: New file.
4598         * iconvdata/ibm4899.h: New file.
4599         * iconvdata/ibm4909.c: New file.
4600         * iconvdata/ibm4909.h: New file.
4601         * iconvdata/ibm4971.c: New file.
4602         * iconvdata/ibm4971.h: New file.
4603         * iconvdata/ibm5347.c: New file.
4604         * iconvdata/ibm5347.h: New file.
4605         * iconvdata/ibm9030.c: New file.
4606         * iconvdata/ibm9030.h: New file.
4607         * iconvdata/ibm9066.c: New file.
4608         * iconvdata/ibm9066.h: New file.
4609         * iconvdata/ibm9448.c: New file.
4610         * iconvdata/ibm9448.h: New file.
4611         * iconvdata/ibm12712.c: New file.
4612         * iconvdata/ibm12712.h: New file.
4613         * iconvdata/ibm16804.c: New file.
4614         * iconvdata/ibm16804.h: New file.
4615         * iconvdata/testdata/IBM803: New file.
4616         * iconvdata/testdata/IBM803..UTF8: New file.
4617         * iconvdata/testdata/IBM901: New file.
4618         * iconvdata/testdata/IBM901..UTF8: New file.
4619         * iconvdata/testdata/IBM902: New file.
4620         * iconvdata/testdata/IBM902..UTF8: New file.
4621         * iconvdata/testdata/IBM921: New file.
4622         * iconvdata/testdata/IBM921..UTF8: New file.
4623         * iconvdata/testdata/IBM1008: New file.
4624         * iconvdata/testdata/IBM1008..UTF8: New file.
4625         * iconvdata/testdata/IBM1097: New file.
4626         * iconvdata/testdata/IBM1097..UTF8: New file.
4627         * iconvdata/testdata/IBM1112: New file.
4628         * iconvdata/testdata/IBM1112..UTF8: New file.
4629         * iconvdata/testdata/IBM1123: New file.
4630         * iconvdata/testdata/IBM1123..UTF8: New file.
4631         * iconvdata/testdata/IBM1130: New file.
4632         * iconvdata/testdata/IBM1130..UTF8: New file.
4633         * iconvdata/testdata/IBM1140: New file.
4634         * iconvdata/testdata/IBM1140..UTF8: New file.
4635         * iconvdata/testdata/IBM1141: New file.
4636         * iconvdata/testdata/IBM1141..UTF8: New file.
4637         * iconvdata/testdata/IBM1142: New file.
4638         * iconvdata/testdata/IBM1142..UTF8: New file.
4639         * iconvdata/testdata/IBM1143: New file.
4640         * iconvdata/testdata/IBM1143..UTF8: New file.
4641         * iconvdata/testdata/IBM1144: New file.
4642         * iconvdata/testdata/IBM1144..UTF8: New file.
4643         * iconvdata/testdata/IBM1145: New file.
4644         * iconvdata/testdata/IBM1145..UTF8: New file.
4645         * iconvdata/testdata/IBM1146: New file.
4646         * iconvdata/testdata/IBM1146..UTF8: New file.
4647         * iconvdata/testdata/IBM1147: New file.
4648         * iconvdata/testdata/IBM1147..UTF8: New file.
4649         * iconvdata/testdata/IBM1148: New file.
4650         * iconvdata/testdata/IBM1148..UTF8: New file.
4651         * iconvdata/testdata/IBM1149: New file.
4652         * iconvdata/testdata/IBM1149..UTF8: New file.
4653         * iconvdata/testdata/IBM1166: New file.
4654         * iconvdata/testdata/IBM1166..UTF8: New file.
4655         * iconvdata/testdata/IBM1167: New file.
4656         * iconvdata/testdata/IBM1167..UTF8: New file.
4657         * iconvdata/testdata/IBM4517: New file.
4658         * iconvdata/testdata/IBM4517..UTF8: New file.
4659         * iconvdata/testdata/IBM4899: New file.
4660         * iconvdata/testdata/IBM4899..UTF8: New file.
4661         * iconvdata/testdata/IBM4909: New file.
4662         * iconvdata/testdata/IBM4909..UTF8: New file.
4663         * iconvdata/testdata/IBM4971: New file.
4664         * iconvdata/testdata/IBM4971..UTF8: New file.
4665         * iconvdata/testdata/IBM5347: New file.
4666         * iconvdata/testdata/IBM5347..UTF8: New file.
4667         * iconvdata/testdata/IBM9030: New file.
4668         * iconvdata/testdata/IBM9030..UTF8: New file.
4669         * iconvdata/testdata/IBM9066: New file.
4670         * iconvdata/testdata/IBM9066..UTF8: New file.
4671         * iconvdata/testdata/IBM9448: New file.
4672         * iconvdata/testdata/IBM9448..UTF8: New file.
4673         * iconvdata/testdata/IBM12712: New file.
4674         * iconvdata/testdata/IBM12712..UTF8: New file.
4675         * iconvdata/testdata/IBM16804: New file.
4676         * iconvdata/testdata/IBM16804..UTF8: New file.
4677         Patch by Masahide WASHIZAWA <washi@jp.ibm.com>.
4678
4679         * iconvdata/run-iconv-test.sh: Run ASCII->encoding->ASCII suntzus
4680         test only if $subset is N.
4681
4682 2005-09-29  Roland McGrath  <roland@redhat.com>
4683
4684         [BZ #1392]
4685         * posix/sys/wait.h [!__GNUC__ || __cplusplus] (__WAIT_INT): Use const.
4686
4687 2005-09-29  Alfred M. Szmidt  <ams@gnu.org>
4688
4689         * elf/rtld.c [DL_ARGV_NOT_RELRO] (_dl_argc, _dl_skip_args):
4690         Don't use attribute_relro.
4691
4692 2005-09-29  Roland McGrath  <roland@redhat.com>
4693
4694         [BZ #1392]
4695         * posix/sys/wait.h (__WAIT_INT): Rewrite using an initializer,
4696         in case __typeof yields a const-qualified type.
4697
4698 2005-09-28  Ulrich Drepper  <drepper@redhat.com>
4699
4700         * dirent/dirent.h: Declare fdopendir.
4701         * dirent/Versions: Export fdopendir for GLIBC_2.4.
4702         * dirent/Makefile (routines): Add fdopendir.
4703         (tests): Add tst-fdopendir.
4704         * dirent/tst-fdopendir.c: New file.
4705         * include/dirent.h: Declare __alloc_dir.
4706         * sysdeps/generic/fdopendir.c: New file.
4707         * sysdeps/unix/fdopendir.c: New file.
4708         * sysdeps/unix/opendir.c: Split off back part of opendir into new
4709         function __alloc_dir.
4710
4711 2005-09-26  Steven Munroe  <sjmunroe@us.ibm.com>
4712
4713         [BZ #1384]
4714         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust expected y1, y1f, yn,
4715         ynf results.
4716
4717 2005-09-06  Paul Eggert  <eggert@cs.ucla.edu>
4718             Ulrich Drepper  <drepper@redhat.com>
4719
4720         [BZ #1302]
4721         Change bitset word type from unsigned int to unsigned long int,
4722         as this has better performance on typical 64-bit hosts.  Change
4723         bitset type name to bitset_t.
4724         * posix/regcomp.c (build_equiv_class, build_charclass):
4725         (build_range_exp, build_collating_symbol):
4726         Prefer bitset_t to re_bitset_ptr_t in prototypes, when the actual
4727         argument is a bitset.  This is merely a style issue, but it makes
4728         it clearer that an entire array is expected.
4729         (re_compile_fastmap_iter, init_dfa, init_word_char, optimize_subexps,
4730         lower_subexp): Adjust for new bitset_t definition.
4731         (lower_subexp, parse_bracket_exp, built_charclass_op): Likewise.
4732         * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain,
4733         bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise.
4734         * posix/regexec.c (check_dst_limits_calc_pos_1,
4735         check_subexp_matching_top, build_trtable, group_nodes_into_DFAstates):
4736         Likewise.
4737         * posix/regcomp.c (utf8_sb_map): Don't assume initializer
4738         == 0xffffffff.
4739         * posix/regex_internal.h (BITSET_WORD_BITS): Renamed from UINT_BITS.
4740         All uses changed.
4741         (BITSET_WORDS): Renamed from BITSET_UINTS.  All uses changed.
4742         (bitset_word_t): New type, replacing 'unsigned int' for bitset uses.
4743         All uses changed.
4744         (BITSET_WORD_MAX): New macro.
4745         (bitset_set, bitset_clear, bitset_contain, bitset_empty,
4746         (bitset_set_all, bitset_copy):  Adjust for bitset_t change.
4747         (bitset_empty, bitset_copy):
4748         Prefer sizeof (bitset_t) to multiplying it out ourselves.
4749         (bitset_not_merge): Remove; unused.
4750         (bitset_contain): Return bool, not unsigned int with one bit on.
4751         All callers changed.
4752         * posix/regexec.c (build_trtable): Don't assume bitset_t has no
4753         stricter alignment than re_node_set; do this by defining a new
4754         internal type struct dests_alloc and using it to allocate memory.
4755
4756 2005-09-27  Ulrich Drepper  <drepper@redhat.com>
4757
4758         [BZ #1230]
4759         * stdlib/strtod_l.c (STRNCASECMP): Always use C locale object.
4760         (TOLOWER_C): Define.  Use it when recognizing inf and nan.
4761         * stdlib/Makefile (tests): Add bug-strtod2.
4762         * stdlib/bug-strtod2.c: New file.
4763
4764 2005-09-21  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
4765
4766         [BZ #1361]
4767         * argp/argp-fmtstream.h [HAVE_CONFIG_H]: Do not #include <config.h>.
4768         * argp/argp-eexst.c, argp/argp-fmtstream.c, argp/argp-fs-xinl.c,
4769         argp/argp-xinl.c: Fix up whitespace.
4770
4771 2005-09-27  Ulrich Drepper  <drepper@redhat.com>
4772
4773         [BZ #1158]
4774         * stdlib/cxa_atexit.c (__new_exitfn): Rewrite to preserve order in
4775         which the functions were registered.
4776         * dlfcn/Makefile: Add rules to build and run bug-atexit1 and
4777         bug-atexit2.
4778         * dlfcn/bug-atexit1.c: New file.
4779         * dlfcn/bug-atexit1-lib.c: New file.
4780         * dlfcn/bug-atexit2.c: New file.
4781         * dlfcn/bug-atexit2-lib.c: New file.
4782
4783         [BZ #1078]
4784         * libio/fileops.c (_IO_new_file_xsputn): Determine amount of
4785         available space in non-line-buffered buffer correctly.
4786         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4787         * stdio-common/Makefile (tests): Add tst-fwrite.
4788         * stdio-common/tst-fwrite.c: New file.
4789
4790 2005-09-26  Ulrich Drepper  <drepper@redhat.com>
4791
4792         [BZ #838]
4793         * malloc/arena.c (ptmalloc_lock_all): If global lock already taken
4794         by the same thread, just bump the counter.
4795         (ptmalloc_unlock_all): If counter for recursive locks hasn't reached
4796         zero, don't do anything else.
4797         * malloc/Makefile (tests): Add tst-mallocfork.
4798         * malloc/tst-mallocfork.c: New file.
4799
4800         [BZ #808]
4801         * malloc/malloc.c (_int_realloc): Make error message clearer.
4802
4803         [BZ #713]
4804         * libio/iofgets.c: Treat N==1 correctly.
4805         * libio/iofgets_u.c: Likewise.
4806         * libio/iofgetws.c: Likewise.
4807         * libio/iofgetws_u.c: Likewise.
4808         * stdio-common/Makefile (tests): Add tst-fgets.
4809         * stdio-common/tst-fgets.c: New file.
4810
4811 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
4812
4813         [BZ #652]
4814         * posix/getconf.c: Add new option -a to print the names of
4815         the current system configuration variables to stdout.
4816         Based on patch from Josh Aas <josha@sgi.com>.
4817
4818 2005-09-26  Ulrich Drepper  <drepper@redhat.com>
4819
4820         [BZ #644]
4821         * sysdeps/posix/getaddrinfo.c (fls): New function.
4822         (gaih_inet): Don't use ffs, use fls.  Convert address to native byte
4823         order first.
4824         * posix/Makefile (tests): Add tst-rfc3484.
4825         * posix/tst-rfc3484.c: New file.
4826
4827         [BZ #627]
4828         * libio/iofclose.c (_IO_new_fclose): Unlock the internal lock
4829         before destroying it as part of the _IO_FINISH call.
4830         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4831
4832         [BZ #524]
4833         * sysdeps/posix/getaddrinfo.c (match_prefix): Fix matching loop if
4834         number of bits is multiple of 8.
4835         Patch by Fredrik Tolf <fredrik@dolda2000.com>.
4836
4837         [BZ #516]
4838         * elf/dl-load.c: Report failed loading due to ELF class mismatch
4839         with better words.
4840
4841         [BZ #162]
4842         * manual/llio.texi (Waiting for I/O): Correct description of read
4843         conditions reported by select.
4844
4845 2005-09-24  Jakub Jelinek  <jakub@redhat.com>
4846
4847         * inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.
4848         Return 1 only if result == 1.  Patch by Benoit Capelle.
4849
4850 2005-09-25  Ulrich Drepper  <drepper@redhat.com>
4851
4852         [BZ #278]
4853         * manual/stdio.texi (Hook Functions): Correct type of position
4854         parameter of seeker and fix fallout of the change in the text.
4855
4856         [BZ #714]
4857         * iconv/loop.c [!STORE_REST] (SINGLE): Correctly record number of
4858         left-over bytes and store them correctly.
4859         * wcsmbs/tst-mbrtowc2.c: New file.
4860         * wcsmbs/Makefile (tests): Add tst-mbrtowc2.
4861
4862 2005-09-24  Roland McGrath  <roland@redhat.com>
4863
4864         * sysdeps/unix/sysv/i386/signal.S: Removed, saved in ports repository.
4865         * sysdeps/unix/sysv/i386/sigreturn.S: Likewise.
4866
4867 2005-09-24  Ulrich Drepper  <drepper@redhat.com>
4868
4869         [BZ #545]
4870         * locale/iso-639.def: More updates from the current spec.
4871
4872         * locale/programs/ld-address.c (address_finish): Produce better
4873         error messages for invalid lang_ab use.
4874
4875         * locale/iso-639.def: Add a few updates from current spec.
4876
4877 2005-09-23  Ulrich Drepper  <drepper@redhat.com>
4878
4879         [BZ #704]
4880         * locale/iso-4217.def: Replace MGF with MGA.
4881
4882         * iconvdata/jis0208.c (__jisx0208_from_ucs4_lat1): Reduce size of
4883         array.
4884         * iconvdata/jis0208.h (ucs4_to_jisx0208): Adjust access.
4885
4886 2004-08-13  GOTO Masanori  <gotom@debian.or.jp>
4887
4888         [BZ #395]
4889         * iconvdata/jis0208.c: Remove 0x005C mapping from
4890         __jisx0208_from_ucs4_lat1.
4891         Reported by Fumitoshi UKAI <ukai@debian.or.jp>
4892
4893 2005-09-23  Ulrich Drepper  <drepper@redhat.com>
4894
4895         [BZ #394]
4896         * libio/fmemopen.c (fmemopen_write): Return 0 instead of -1 if
4897         nothing can be written.
4898         * libio/iofopncook.c (_IO_cookie_write): If something went wrong,
4899         set error bit.
4900
4901 2005-09-22  Ulrich Drepper  <drepper@redhat.com>
4902
4903         [BZ #281]
4904         * posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
4905         * posix/regcomp.c: Remove unnecessary uses of
4906         unsigned RE_TRANSLATE_TYPE.
4907         * posix/regex_internal.h: Likewise.
4908         * posix/regex_internal.c: Likewise.
4909         * posix/regexexec.c: Likewise.
4910         Based on a patch by Stepan Kasal <kasal@ucw.cz>.
4911
4912         [BZ #1035]
4913         * locale/iso-4217.def: Replace TRL entry with TRY for new Turkish Lira.
4914
4915         [BZ #1363]
4916         * nscd/nscd_getpw_r.c (nscd_getpw_r): Remove incorrectly C&Ped
4917         free call in code handling detection of GC runs.
4918
4919 2005-09-22  Roland McGrath  <roland@redhat.com>
4920
4921         * elf/dl-tsd.c (__libc_dl_error_tsd): Use attribute_tls_model_ie for
4922         static __thread variable.
4923         From Alexandre Oliva <aoliva@redhat.com>
4924
4925         * Makefile ($(objpfx)c++-types-check.out): Use $<, not $^, in command.
4926         Reported by Alexandre Oliva <aoliva@redhat.com>.
4927
4928 2005-09-20  Jakub Jelinek  <jakub@redhat.com>
4929
4930         * nscd/dbg_log.c (init_logfile): Use fopen64 rather than fopen.
4931
4932 2005-09-20  Roland McGrath  <roland@redhat.com>
4933
4934         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use execv, not execl.
4935
4936         [BZ #1346]
4937         * elf/dl-load.c (_dl_map_object_from_fd) [HAVE_Z_RELRO]: Do relro
4938         magic on __stack_prot only if [SHARED].  Skip mprotect if __stack_prot
4939         lies outside the page-rounded-down relro region.
4940
4941 2005-09-19  Richard Henderson  <rth@redhat.com>
4942
4943         [BZ #1358]
4944         * sysdeps/unix/alpha/sysdep.h (inline_syscall1): Copy argument(s)
4945         to a temporary first.
4946         (inline_syscall2, inline_syscall3, inline_syscall4): Likewise.
4947         (inline_syscall5, inline_syscall6): Likewise.
4948
4949         * sysdeps/alpha/ldiv.S (lldiv): Add alias.
4950
4951 2005-09-17  Ulrich Drepper  <drepper@redhat.com>
4952
4953         [BZ #1010]
4954         * sysdeps/unix/sockatmark.c (sockatmark): Use SIOCATMARK correctly.
4955
4956         [BZ #1053]
4957         * debug/xtrace.sh: Add missing escape character in -? match.
4958         Patch by Peter Breitenlohner <peb@mppmu.mpg.de>.
4959
4960         [BZ #1051]
4961         * wctype/wctype.h: Remove stray __END_NAMESPACE_C99.
4962         * stdlib/stdlib.h: Use __END_NAMESPACE_STD instead of
4963         __END_NAMESPACE_C99 in one place.
4964         * scripts/begin-end-check.pl: New file.
4965         Patch by Ralph Loader <suckfish@ihug.co.nz>.
4966         * Makefile: Add rules to run scripts/begin-end-check.pl.
4967
4968 2005-09-17  Andreas Jaeger  <aj@suse.de>
4969
4970         * timezone/zdump.c: Include ctype.h.
4971
4972 2005-09-16  Andreas Jaeger  <aj@suse.de>
4973
4974         [BZ #1047]
4975         * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file.
4976
4977 2005-09-16  Maciej W. Rozycki  <macro@linux-mips.org>
4978
4979         [BZ #933]
4980         * sysdeps/unix/sysv/linux/mips/brk.c (__brk): Load the number of
4981         the syscall immediately before invocation.
4982         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Likewise.
4983         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall): Likewise.
4984
4985         * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl): Use
4986         macros to handle GP.
4987         * sysdeps/unix/sysv/linux/mips/mips64/syscall.S (syscall):
4988         Likewise.  Update inaccurate comments.
4989
4990 2005-09-13  Ulrich Drepper  <drepper@redhat.com>
4991
4992         * sysdeps/posix/spawni.c (__spawni): Automatically recognize some
4993         more cases when we can use vfork.
4994
4995 2005-08-29  Thomas Schwinge  <schwinge@nic-nac-project.de>
4996
4997         [BZ #1261]
4998         * manual/memory.texi (Hooks for Malloc): Correct prototype of
4999         my_init_hook and definition of my_free_hook.
5000
5001 2005-09-12  Roland McGrath  <roland@redhat.com>
5002
5003         [BZ #1331]
5004         * malloc/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
5005         macro argument.
5006         Reported by Matej Vela <vela@debian.org>.
5007
5008 2005-09-12  Jakub Jelinek  <jakub@redhat.com>
5009
5010         * malloc/malloc.c (struct malloc_chunk): Fix comment typo.
5011         (public_cALLOc): For mmapped chunks and perturb_byte != 0,
5012         don't clear SIZE_SZ bytes more than should be cleared.
5013
5014 2005-09-09  Jakub Jelinek  <jakub@redhat.com>
5015
5016         * inet/getnetgrent_r.c: Include assert.
5017         (setup): Remove FUNC_NAME and ALL arguments, assume they are always
5018         "setnetgrent" and 1.
5019         (endnetgrent_hook): New function.
5020         (internal_endnetgrent): Use it.
5021         (__internal_setnetgrent_reuse): Use it.  Adjust setup caller.
5022         If status is NSS_STATUS_SUCCESS, yet action is continue, call
5023         endnetgrent hook.
5024         (internal_getnetgrent_r): Use __nss_lookup_function rather than
5025         setup.  Recompute getfct pointer after successful
5026         __internal_setnetgrent_reuse.  Don't use __nss_next.
5027         (innetgr): Use __nss_lookup_function instead of __nss_lookup.
5028         Adjust setup caller.
5029         * nss/nss_files/files-netgrp.c (_nss_files_endnetgrent): Always clear
5030         data_size and cursor.  Add libnss_files_hidden_proto and
5031         libnss_files_hidden_def.
5032         (_nss_files_setnetgrent): Call _nss_files_endnetgrent on failure.
5033         * nis/nss_nis/nis-netgrp.c (internal_endnetgrent): Always clear
5034         data_size and cursor.
5035         (_nss_nis_setnetgrent): Don't call internal_endnetgrent.
5036         (_nss_nis_getnetgrent_r): Remove result->cursor == NULL handling.
5037         * nis/nss_nisplus/nisplus-netgrp.c (internal_endnetgrent): Always clear
5038         data_size and position.
5039         (_nss_nisplus_setnetgrent): Don't call internal_endnetgrent.
5040
5041 2005-09-09  Ulrich Drepper  <drepper@redhat.com>
5042
5043         * nss/getent.c (netgroup_keys): Call endnetgrent.
5044         (main): Call mtrace.
5045
5046         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): We don't
5047         need locking for the stream.  Use feof_unlocked.
5048
5049 2005-09-09  Jakub Jelinek  <jakub@redhat.com>
5050
5051         [BZ #1318]
5052         * locale/loadarchive.c (_nl_load_locale_from_archive): Free
5053         normalized_codeset even if p was already normalized.
5054         Reported by Jaroslav Snajdr <jsnajdr@kerio.com>.
5055
5056 2005-09-08  Roland McGrath  <roland@redhat.com>
5057
5058         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Decode DSOCAPS
5059         properly, first byte is bit number in mask.  Skip disabled caps.
5060
5061 2005-07-11  Derek R. Price  <derek@ximbiot.com>
5062
5063         [BZ #1061]
5064         * sysdeps/generic/glob.c (glob): Only a 0 return from
5065         getlogin_r means success, according to POSIX 1003.2.
5066
5067 2005-06-23  Paul Eggert  <eggert@cs.ucla.edu>
5068
5069         [BZ #1033]
5070         * time/mktime.c: Import from gnulib.
5071         The following macros are now consistent with other gnulib code.
5072         This does not change mktime's behavior.
5073         (TYPE_IS_INTEGER): New macro.
5074         (time_t_is_integer): Use it.
5075         (TYPE_TWOS_COMPLEMENT): New macro.
5076         (twos_complement_arithmetic): Use it.
5077         (TYPE_ONES_COMPLEMENT): New macro.
5078         (TYPE_MINIMUM, TYPE_MAXIMUM): Now supports signed-magnitude.
5079         mktime doesn't use this, but the code now matches other gnulib code.
5080         (ranged_convert): Pacify GCC 4.0 in a different way, which
5081         generates a few bytes less code.
5082         (ranged_convert, __mktime_internal): When calling a function via a
5083         pointer P, use P () rather than (*P) (), as we now assume C89 or
5084         better.
5085
5086 2005-09-07  Alexandre Oliva  <aoliva@redhat.com>
5087
5088         * timezone/test-tz.c: Update to match tzdata2005m.
5089         * timezone/tst-timezone.c: Likewise.
5090
5091 2005-09-07  Ulrich Drepper  <drepper@redhat.com>
5092
5093         * posix/regexec.c (find_recover_state): Remove unnecessary
5094         initialization.
5095         (transit_state_bkref): Make DFA a const pointer.
5096         (get_subexp): Likewise.
5097         (check_arrival): Likewise.
5098         (update_cur_sifted_state): Likewise.
5099         (re_search_internal): Likewise.
5100         (prune_impossible_nodes): Likewise.
5101         (acquire_init_state_context): Likewise.
5102         (proceed_next_node): Likewise.
5103         (set_regs): Likewise.
5104         (free_fail_stack_return): Likewise.
5105         (check_arrival_expand_ecl): Mark DFA parameter as const.
5106         (check_arrival_expand_ecl_sub): Likewise.
5107         (check_subexp_limits): Likewise.
5108         (sub_epsilon_src_nodes):  Likewise.
5109         (add_epsilon_src_nodes):  Likewise.
5110         (merge_state_array): Likewise.
5111         (update_regs): Likewise.
5112         (build_trtable): Likewise.
5113         (sift_states_backward): Mark MCTX parameter as const.
5114         (build_sifted_states): Likewise.
5115         (update_cur_sifted_state): Likewise.
5116         (sift_states_mkref): Likewise.
5117         (check_arrival_expand_ecl): Mark eclosure as const.
5118         (check_dst_limits_calc_pos_1): Likewise.
5119         * posix/regex_internal.h (re_match_context_t): Make dfa a const
5120         pointer.
5121
5122 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5123
5124         * timezone/africa: Update from tzdata2005m.
5125         * timezone/asia: Likewise.
5126         * timezone/australasia: Likewise.
5127         * timezone/backward: Likewise.
5128         * timezone/europe: Likewise.
5129         * timezone/northamerica: Likewise.
5130         * timezone/southamerica: Likewise.
5131         * timezone/zone.tab: Likewise.
5132         * timezone/zdump.c: Update from tzcode2005m.
5133
5134         * posix/regexec.c (merge_state_with_log): Define dfa as const pointer.
5135         (transit_state_sb): Likewise.
5136         (transit_state_mb): Likewise.
5137         (sift_states_iter_mb): Likewise.
5138         (check_arrival_add_next_nodes): Likewise.
5139         (check_node_accept_bytes): Change first parameter to pointer-to-const.
5140         [_LIBC] (re_search_2_stub): Use mempcpy.
5141
5142         * posix/regex_internal.c (re_string_reconstruct): Avoid calling
5143         mbrtowc for very simple UTF-8 case.
5144
5145 2005-09-01  Paul Eggert  <eggert@cs.ucla.edu>
5146
5147         * posix/regex_internal.c (build_wcs_upper_buffer): Fix portability
5148         bugs in int versus size_t comparisons.
5149
5150 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5151
5152         * posix/regex_internal.c (re_acquire_state): Make DFA pointer arg
5153         a pointer-to-const.
5154         (re_acquire_state_context): Likewise.
5155         * posix/regex_internal.h: Adjust prototypes.
5156
5157 2005-08-31  Jim Meyering  <jim@meyering.net>
5158
5159         * posix/regcomp.c (search_duplicated_node): Make first pointer arg
5160         a pointer-to-const.
5161         * posix/regex_internal.c (create_ci_newstate, create_cd_newstate,
5162         register_state): Likewise.
5163         * posix/regexec.c (search_cur_bkref_entry, check_dst_limits):
5164         (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos):
5165         (group_nodes_into_DFAstates): Likewise.
5166
5167 2005-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5168
5169         * posix/regexec.c (re_search_internal): Simplify update of
5170         rm_so and rm_eo by replacing "if (A == B) A += C - B;"
5171         with the equivalent of "if (A == B) A = C;".
5172
5173 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5174
5175         * posix/regcomp.c (re_compile_internal): Change third parameter type
5176         to size_t.
5177         (init_dfa): Likewise.  Make sure that arithmetic on pat_len doesn't
5178         overflow.
5179         * posix/regex_internal.h (struct re_dfa_t): Change type of nodes_alloc
5180         and nodes_len to size_t.
5181         * posix/regex_internal.c (re_dfa_add_node): Use size_t as type for
5182         new_nodes_alloc.  Check for overflow.
5183
5184 2005-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5185
5186         * posix/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
5187         (optimize_subexps, lower_subexp):
5188         Don't assume 1<<31 has defined behavior on hosts with 32-bit int,
5189         since the signed shift might overflow.  Use 1u<<31 instead.
5190         * posix/regex_internal.h (bitset_set, bitset_clear, bitset_contain):
5191         Likewise.
5192         * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise.
5193         (check_subexp_matching_top): Likewise.
5194         * posix/regcomp.c (optimize_subexps, lower_subexp):
5195         Use CHAR_BIT rather than 8, for clarity.
5196         * posix/regexec.c (check_dst_limits_calc_pos_1):
5197         (check_subexp_matching_top): Likewise.
5198         * posix/regcomp.c (init_dfa): Make table_size unsigned, so that we
5199         don't have to worry about portability issues when shifting it left.
5200         Remove no-longer-needed test for table_size > 0.
5201         * posix/regcomp.c (parse_sub_exp): Do not shift more bits than there
5202         are in a word, as the resulting behavior is undefined.
5203         * posix/regexec.c (check_dst_limits_calc_pos_1): Likewise;
5204         in one case, a <= should have been an <, and in another case the
5205         whole test was missing.
5206         * posix/regex_internal.h (BYTE_BITS): Remove.  All uses changed to
5207         the standard name CHAR_BIT.
5208
5209         * posix/regex_internal.h (re_sub_match_top_t): Remove unused member
5210         next_last_offset.
5211         (struct re_dfa_t): Remove unused member states_alloc.
5212         * posix/regcomp.c (init_dfa): Don't initialize unused members.
5213
5214 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
5215
5216         * posix/regexec.c (set_regs): Don't alloca with an unbounded size.
5217
5218         alloca modernization/simplification for regex.
5219         * posix/regex.c: Remove portability cruft for alloca.  This no longer
5220         needs to be at the start of the file, and can be moved into
5221         regex_internal.h and simplified.
5222         * posix/regex_internal.h: Include <alloca.h>.
5223         (__libc_use_alloca) [!defined _LIBC]: New macro.
5224         * posix/regexec.c (build_trtable): Remove "#ifdef _LIBC",
5225         since the code now works outside glibc.
5226
5227 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5228
5229         * include/regex.h: Remove use of _RE_ARGS.
5230
5231 2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
5232
5233         * posix/regexec.c (find_recover_state): Change "err" to "*err".
5234
5235 2005-08-24  Paul Eggert  <eggert@cs.ucla.edu>
5236
5237         * posix/regcomp.c (regerror): Pointer args are 'restrict',
5238         as per POSIX.
5239         * posix/regex.h (regerror): Likewise.
5240         * manual/pattern.texi (POSIX Regexp Compilation): Likewise.
5241         Similarly for regcomp and regexec.  Also, first 2 args of regexec
5242         and 2nd arg of regerror are const.
5243
5244         * posix/regex.c: Do not include <sys/types.h>, as POSIX no longer
5245         requires this.  (The code never needed it.)
5246
5247 2005-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5248
5249         * posix/regexec.c (sift_states_bkref): re_node_set_insert returns
5250         int, not reg_errcode_t.
5251
5252         * posix/regex_internal.c (calc_state_hash): Put 'inline' before type,
5253         since some broken compilers warn about it otherwise.
5254
5255         * posix/regcomp.c (create_initial_state): Remove duplicate decl.
5256
5257 2005-08-20  Paul Eggert  <eggert@cs.ucla.edu>
5258
5259         * posix/regex.h (_RE_ARGS): Remove.  No longer needed, since we assume
5260         C89 or better.  All uses removed.
5261
5262 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5263
5264         * posix/regex.c: Prevent using C++ compilers.
5265
5266 2005-08-19  Paul Eggert  <eggert@cs.ucla.edu>
5267
5268         * posix/regcomp.c (duplicate_node): Return new index, not an error
5269         code, and let the caller return REG_ESPACE if out of space.  This
5270         removes an uninitialied-variable warning with GCC 4.0.1, and also
5271         avoids taking the address of a local variable.  All callers
5272         changed.
5273
5274 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5275
5276         * include/time.h (__strptime_internal): Rename parameter to avoid
5277         bogus compiler warning.
5278
5279 2005-08-19  Jim Meyering  <jim@meyering.net>
5280
5281         * posix/regexec.c (proceed_next_node): Redo local variables to
5282         avoid GCC shadowing warnings.
5283
5284 2005-09-06  Ulrich Drepper  <drepper@redhat.com>
5285
5286         * posix/regex_internal.c (re_acquire_state): Minor code rearrangement.
5287         (re_acquire_state_context): Likewise.
5288
5289 2005-08-19  Paul Eggert  <eggert@cs.ucla.edu>
5290
5291         * posix/regex_internal.c (re_string_realloc_buffers):
5292         (re_node_set_insert, re_node_set_insert_last, re_dfa_add_node):
5293         Rename local variables to avoid GCC shadowing warnings.
5294
5295 2005-07-08  Eric Blake  <ebb9@byu.net>
5296             Paul Eggert  <eggert@cs.ucla.edu>
5297
5298         * posix/regcomp.c (init_dfa): Store __btowc value in wint_t, not
5299         wchar_t.  Remove now-unnecessary cast.
5300         (build_range_exp): Likewise.
5301
5302 2005-08-31  Bob Wilson  <bob.wilson@acm.org>
5303
5304         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf):  Remove the
5305         exponent bias from the increment value for scaling by 2^60.
5306
5307 2005-09-05  Alexandre Oliva  <aoliva@redhat.com>
5308
5309         * configure.in: Compile source test file with -fPIC for -shared.
5310
5311 2005-09-04  Ulrich Drepper  <drepper@redhat.com>
5312
5313         * iconv/skeleton.c: Eliminate DEFINE_DIRECTION_OBJECTS macro use,
5314         it wasn't used.  Remove use of from_object and to_object variable,
5315         replace with some constants.  Adjust users.
5316
5317         * sysdeps/i386/bits/string.h: Removed.
5318
5319         * stdio-common/Makefile (tests): Add tst-put-error.
5320         * stdio-common/tst-put-error.c: New file.
5321         * libio/fileops.c (_IO_new_file_xsputn): If overflow fails and no more
5322         data would have to be written signal error.
5323         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5324
5325         * libio/fileops.c (_IO_new_file_overflow): Use NULL not 0.
5326
5327 2005-09-02  Ulrich Drepper  <drepper@redhat.com>
5328
5329         * elf/dl-load.c (_dl_map_object_from_fd): No need to change
5330         protection of memory used for the last segment.
5331
5332 2005-08-22  Robert Millan  <robertmh@gnu.org>
5333
5334         * sysdeps/mach/hurd/nfs/nfs.h: Move to ...
5335         * sysdeps/generic/nfs/nfs.h: ... here.
5336
5337 2005-09-01  Ulrich Drepper  <drepper@redhat.com>
5338
5339         * libio/stdio.h: Remove __wur from ungetc, sscanf, and vsscanf.
5340         Add __wur to feof{,_unlocked}, ferror{,_unlocked},
5341         fileno{,_unlocked}, and popen.
5342
5343 2005-08-30  Ulrich Drepper  <drepper@redhat.com>
5344
5345         * sysdeps/ieee754/flt-32/e_hypotf.c [!__STDC__]: Fix function name.
5346
5347 2005-08-01  Bob Wilson  <bob.wilson@acm.org>
5348             Richard Sandiford  <richard@codesourcery.com>
5349
5350         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Add missing
5351         exponent bias to the value for 2^126.
5352
5353 2005-08-30  Jakub Jelinek  <jakub@redhat.com>
5354             Alan Modra  <amodra@bigpond.net.au>
5355
5356         * elf/dl-addr.c (_dl_addr): Use DL_ADDR_SYM_MATCH macro.
5357         * sysdeps/generic/ldsodefs.h (DL_ADDR_SYM_MATCH): Define.
5358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h: New file.
5359
5360 2005-08-23  Ulrich Drepper  <drepper@redhat.com>
5361
5362         * nscd/nscd.c (main): Use error while process isn't running in the
5363         background, not dbg_log.
5364         * nscd/nscd_conf.c (nscd_parse_file): Likewise.
5365         Mark messages with _().  Unify testing for database name.
5366
5367         * nscd/connection.c (DEFAULT_DATASIZE_PER_BUCKET): Move to nscd.h.
5368         (dbs): Initialize max_db_size fields.
5369         (nscd_init): When mapping the database, use max_db_size as the
5370         mapping size even if it is bigger than the file size.
5371         * nscd/mem.c (mempool_alloc): When resizing the file make sure the
5372         limit in max_db_size is not exceeded.  Don't use mremap, just
5373         posix_fallocate is enough (according to Linus).  Use posix_fallocate
5374         correctly.
5375         * nscd/nscd.conf: Add max-db-size parameters.
5376         * nscd/nscd.h (struct database_dyn): Add max_db_size field.
5377         Define DEFAULT_MAX_DB_SIZE and DEFAULT_DATASIZE_PER_BUCKET.
5378         Temporarily define TEMP_FAILURE_RETRY_VAL here.
5379         * nscd/nscd_conf.c (nscd_parse_file): Parse max-db-size parameter
5380         and add sanity checks for it.
5381
5382         * nscd/aicache.c (addhstaiX): Use send with MSG_NOSIGNAL not write to
5383         send reply.
5384         * nscd/connection.c (writeall): Likewise.
5385         (handle_request): Likewise.
5386         * nscd/grpcache.c (cache_addgr): Likewise.
5387         * nscd/hstcache.c (cache_addhst): Likewise.
5388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5389         * nscd/nscd.c (parse_opt): Likewise.
5390         * nscd/nscd_stat.c (send_stats): Likewise.
5391         (receive_print_stats): Likewise.
5392         * nscd/pwdcache.c (cache_addpw): Likewise.
5393
5394         * sysdeps/unix/sysv/linux/Versions: Export inotify_* syscalls.
5395
5396 2005-08-22  Jakub Jelinek  <jakub@redhat.com>
5397
5398         * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by
5399         sizeof (wchar_t) rather than multiplying __len by sizeof (wchar_t).
5400         Pass __bos (__dst) / sizeof (wchar_t) to the *_chk routine.
5401         * wcsmbs/bits/wchar2.h (mbsrtowcs, mbsnrtowcs): Likewise.
5402         * debug/mbsnrtowcs_chk.c (__mbsnrtowcs_chk): Don't multiply
5403         len by sizeof (wchar_t).
5404         * debug/mbsrtowcs_chk.c (__mbsrtowcs_chk): Likewise.
5405         * debug/mbstowcs_chk.c (__mbstowcs_chk): Likewise.
5406         Fix type of SRC argument.  Pass &SRC rather than SRC to
5407         __mbsrtowcs.
5408         * debug/wcstombs_chk.c (__wcstombs_chk): Pass &SRC rather than SRC
5409         to __wcsrtombs.
5410         * debug/tst-chk1.c: Include assert.h.
5411         (do_test): Change enough array from VLA into a fixed size array.
5412         Assert that MB_CUR_MAX is <= sizeof (enough).  Use FAIL () macro
5413         instead of print error details.  Add several new tests.
5414         Kill some unused variable warnings.
5415
5416 2005-08-21  Ulrich Drepper  <drepper@redhat.com>
5417
5418         * resolv/res_send.c (Aerror): Fix printing IP address.
5419
5420         * resolv/res_send.c (send_vc): Pass correct sockaddr size to connect.
5421
5422 2005-08-19  H.J. Lu  <hongjiu.lu@intel.com>
5423
5424         * sysdeps/ia64/fpu/libm_error.c (__libm_error_support): Don't abort.
5425
5426 2005-08-17  Robert Love  <rml@novell.com>
5427
5428         * sysdeps/unix/sysv/linux/sys/inotify.h: Add IN_MOVE_SELF event.
5429
5430 2005-08-19  Bruno Haible  <bruno@clisp.org>
5431
5432         * intl/localealias.c (read_alias_file): In case of failure, close the
5433         file descriptor and sort the array before returning.
5434
5435 2005-08-19  Ulrich Drepper  <drepper@redhat.com>
5436
5437         * malloc/Makefile: Link libmemusage.so with ld.so.
5438         * malloc/memusage.c: Use atomic operations for all counter and size
5439          computations.  Handle thread stacks.
5440         * sysdeps/generic/memusage.h: Define memusage_cntr_t and
5441         memusage_size_t.
5442         * sysdeps/i386/i686/memusage.h: New file.
5443         * include/atomic.h: Define atomic_max and atomic_min.
5444
5445         * debug/tst-chk1.c: Add tests for mbstowcs and wcstombs.
5446
5447 2005-08-17  Paul Eggert  <eggert@cs.ucla.edu>
5448
5449         [BZ #1207]
5450         * posix/regex.h: Remove spurious space-before-tab.  From gnulib.
5451
5452 2005-08-16  Ulrich Drepper  <drepper@redhat.com>
5453
5454         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5455         sys/inotify.h.
5456         * sysdeps/unix/sysv/linux/sys/inotify.h: New file.
5457         * sysdeps/unix/sysv/linux/syscalls.list: Add inotify syscalls.
5458
5459         * nscd/cache.c (prune_cache): Add more debug output.  Only for
5460         debug level 3 and higher and very verbose.
5461
5462         * nscd/cache.c (prune_cache): Use stat64 not stat.
5463         * nscd/connections.c (nscd_init): Likewise.
5464
5465 2005-08-10  Sergio Gelato  <Sergio.Gelato@astro.su.se>
5466
5467         [BZ #1188]
5468         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Change assert check
5469         from (len > 0) to (len >= 0).
5470
5471 2005-08-16  Ulrich Drepper  <drepper@redhat.com>
5472
5473         * nis/nis_xdr.c (_xdr_nis_result): Fix type of res variable.
5474         Reported by Thomas Schwinge.
5475
5476 2005-08-15  Jakub Jelinek  <jakub@redhat.com>
5477
5478         * nis/nis_subr.c (nis_leaf_of_r): Handle buflen == 0 correctly.
5479
5480 2005-08-16  Ulrich Drepper  <drepper@redhat.com>
5481
5482         * nss/getent.c (more_help): Use open_memstream instead of handling
5483         memory allocation ourselves.
5484
5485 2005-08-16  Jay Fenlason  <fenlason@redhat.com>
5486
5487         * nss/getent.c (parse_options): change the -s option to support
5488         {database}:{search} to override /etc/resolv.conf for only the
5489         specified database.
5490
5491 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
5492
5493         * nscd/connections.c (main_loop_epoll): Pass NULL as event
5494         argument for epoll_ctl(EPOLL_CTL_DEL) calls.
5495
5496         * nscd/nscd_stat.c (receive_print_stats): Really print values of
5497         thread number, paranoia, and restart interval the server is using.
5498
5499         * argp/argp-help.c: Use _IO_vasprintf instead of vasprintf.
5500         * include/stdio.h: Add libc_hidden_proto for __vfprintf_chk.
5501         * debug/vfprintf_chk.c: Add libc_hidden_def.
5502
5503 2005-08-08  Roland McGrath  <roland@redhat.com>
5504
5505         * argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
5506         (__argp_failure): Likewise.
5507
5508 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
5509
5510         * nscd/cache.c (cache_add): Commit hash table and header to disk.
5511
5512         * nscd/mem.c (mempool_alloc): Use posix_fallocate instead of ftruncate.
5513         * nscd/connections.c (nscd_init): Likewise.
5514
5515 2005-08-08  Jakub Jelinek  <jakub@redhat.com>
5516
5517         * stdio-common/fxprintf.c: Include libioP.h.
5518
5519         * posix/bits/unistd.h (confstr, getgroups, ttyname_r, gethostname,
5520         getdomainname): Add __NTH.
5521         * stdlib/bits/stdlib.h (ptsname_r, wctomb, mbstowcs, wcstombs):
5522         Likewise.
5523         (realpath): Likewise.  Use __const instead of const.  Add __restrict
5524         keywords.
5525         * socket/bits/socket2.h (recvfrom): Add __restrict keyword to __buf.
5526         * wcsmbs/bits/wchar2.h (wmemcpy, wmemmove, wmempcpy, wmemset,
5527         wcscpy, wcpcpy, wcsncpy, wcpncpy, wcscat, wcsncat, vswprintf, wcrtomb,
5528         mbsrtowcs, wcsrtombs, mbsnrtowcs, wcsnrtombs): Add __NTH.
5529         * string/bits/string3.h (__memset_ichk): Likewise.
5530         (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk, __strcpy_ichk,
5531         __stpcpy_ichk, __strncpy_ichk, stpncpy, __strcat_ichk,
5532         __strncat_ichk): Likewise.  Use __const instead of const.
5533         (__stpncpy_chk): Use __const instead of const.
5534         (__stpncpy_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5535
5536 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
5537             Jakub Jelinek  <jakub@redhat.com>
5538
5539         * nscd/mem.c (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): Move
5540         definitions to...
5541         * nscd/nscd.h (BLOCK_ALIGN_LOG, BLOCK_ALIGN, BLOCK_ALIGN_M1): ...here.
5542         * nscd/connections.c (usekey): New enum.
5543         (check_use, verify_persistent_db): New functions.
5544         (nscd_init): If persistent database is corrupted, unlink it and
5545         recreate rather than falling back to non-persistent database.
5546         Call verify_persistent_db.  Avoid overflows in total computation.
5547
5548 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
5549
5550         * iconvdata/utf-16.c (PREPARE_LOOP): Minor cleanups to make code
5551         better readable.  Avoid passing var to loop function, it's not
5552         necessary at all.
5553
5554 2005-08-07  Ulrich Drepper  <drepper@redhat.com>
5555
5556         * elf/elf.h (DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO
5557         definition.
5558
5559 2005-08-05  Ulrich Drepper  <drepper@redhat.com>
5560
5561         * timezone/checktab.awk: Update from tzcode2005k.
5562         * timezone/private.h: Likewise.
5563         * timezone/scheck.c: Likewise.
5564         * timezone/tzselect.ksh: Likewise.
5565         * timezone/zdump.c: Likewise.
5566         * timezone/zic.c: Likewise.
5567         * timezone/africa: Update from tzdata2005k.
5568         * timezone/antarctica: Likewise.
5569         * timezone/asia: Likewise.
5570         * timezone/australasia: Likewise.
5571         * timezone/europe: Likewise.
5572         * timezone/iso3166.tab: Likewise.
5573         * timezone/leapseconds: Likewise.
5574         * timezone/northamerica: Likewise.
5575         * timezone/solar87: Likewise.
5576         * timezone/solar88: Likewise.
5577         * timezone/solar89: Likewise.
5578         * timezone/southamerica: Likewise.
5579         * timezone/zone.tab: Likewise.
5580
5581 2005-08-05  Roland McGrath  <roland@frob.com>
5582
5583         [BZ #1251]
5584         * mach/shortcut.awk: Ignore `weak_alias' lines.
5585         Reported by Alfred M. Szmidt <ams@gnu.org>.
5586
5587         [BZ #1250]
5588         * sysdeps/mach/hurd/mig-reply.c (reply_port): Don't use ?: as lvalue.
5589         Reported by Alfred M. Szmidt <ams@gnu.org>.
5590
5591 2005-08-03  Dwayne Grant McConnell  <dgm69@us.ibm.com>
5592
5593         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s):
5594         Use +=, not =, to append.  Remove duplicate flags.
5595         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5596         Likewise.  Fix comments.
5597
5598 2005-08-01  Ulrich Drepper  <drepper@redhat.com>
5599
5600         * sysdeps/unix/sysv/linux/sigwait.c (do_sigwait): Restart system
5601         call if it returned EINTR.
5602
5603 2005-07-31  Ulrich Drepper  <drepper@redhat.com>
5604
5605         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Move
5606         helper variable into .data.rel.ro.  Simplify the code.  Extend
5607         comment to explain prelinking.
5608
5609 2005-07-31  Andreas Jaeger  <aj@suse.de>
5610
5611         * include/bits/syslog.h: New file.
5612
5613 2005-07-30  Ulrich Drepper  <drepper@redhat.com>
5614
5615         * elf/dl-load.c [__WORDSIZE==64] (FILEBUF_SIZE): Adjust the value
5616         up.  We have more program header entries now and the note section
5617         was normally not loaded.
5618
5619         * nis/nis_subr.c: Some minor code cleanups.
5620
5621 2005-07-29  Ulrich Drepper  <drepper@redhat.com>
5622
5623         * misc/bits/syslog.h: New file.
5624         * misc/sys/syslog.h: Include <bits/syslog.h> for fortification.
5625         * misc/Makefile (headers): Add bits/syslog.h.
5626         * include/sys/syslog.h: Add __vsyslog_chk prototype and hidden_proto.
5627         * sysdeps/generic/syslog.c: Change vsyslog function to __vsyslog_chk.
5628         Call __vfprintf_chk if necessary.  Make vsyslog a wrapper.  Add
5629         __syslog_chk.
5630         * misc/Versions: Export __syslog_chk and __vsyslog_chk.
5631
5632 2005-07-28  Thomas Schwinge  <schwinge@nic-nac-project.de>
5633
5634         [BZ #1137]
5635         * misc/error.c [_LIBC]: Include <stdbool.h> and <stdint.h>.
5636
5637 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
5638
5639         * nis/nis_xdr.c: Help gcc to avoid generating unnecessary wrapper
5640         functions.
5641
5642 2005-07-28  Jakub Jelinek  <jakub@redhat.com>
5643
5644         * stdio-common/fxprintf.c (__fxprintf): Add INTUSE to _IO_vfprintf
5645         call.
5646         * gmon/gmon.c (write_gmon): Use __snprintf rather than snprintf.
5647
5648 2005-07-28  Ulrich Drepper  <drepper@redhat.com>
5649
5650         * nis/nis_file.c: Rewrite the two pairs of functions into wrappers
5651         around a pair of new, generalized functions.  22% size reduction.
5652
5653 2005-07-27  Ulrich Drepper  <drepper@redhat.com>
5654
5655         * nis/nis_xdr.c: Remove unnecessary cast which might hide bugs.
5656         Rearrange code.  This reduces the code size 10%.
5657
5658 2005-07-26  Jakub Jelinek  <jakub@redhat.com>
5659
5660         * misc/error.c (error_tail): Fix a comment typo.
5661
5662 2005-07-25  Ulrich Drepper  <drepper@redhat.com>
5663
5664         * po/zh_TW.po: Update from translation team.
5665
5666         * debug/mbstowcs_chk.c: New file.
5667         * debug/wcstombs_chk.c: New file.
5668         * debug/Makefile (routines): Add mbstowcs_chk and wcstombs_chk.
5669         * debug/Versions: Add __mbstowcs_chk and __wcstombs_chk.
5670         * stdlib/bits/stdlib.h: Add definitions for mbstowcs and wcstombs.
5671
5672         * wcsmbs/bits/wchar2.h (mbsrtowcs): Pretty printing.
5673
5674 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
5675
5676         * string/test-memset.c (test_main): Use negative byte value in
5677         test.
5678
5679         * string/test-memset.c (do_one_test): Compare effect of call, not
5680         only return value.
5681         Add a few casts to avoid warnings.
5682
5683 2005-07-24  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
5684
5685         * sysdeps/sh/memset.S (memset): Correct 2nd argument handling.
5686
5687 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
5688
5689         [BZ #1125]
5690         * posix/Makefile (tests): Add tst-execvp4.
5691         * posix/tst-execvp4.c: New file.
5692
5693 2005-07-24  Jakub Jelinek  <jakub@redhat.com>
5694
5695         [BZ #1125]
5696         * posix/execvp.c (execvp): Change path_malloc to
5697         char *, free that pointer on failure.
5698
5699 2005-07-24  Ulrich Drepper  <drepper@redhat.com>
5700
5701         * wcsmbs/bits/wchar2.h: Use __FILE not FILE.
5702         * wcsmbs/Makefile: Add rules to build and run tst-wchar-h.
5703         * wcsmbs/tst-wchar-h.c: New file.
5704
5705 2005-07-22  Ulrich Drepper  <drepper@redhat.com>
5706
5707         * stdio-common/fxprintf.c (__fxprintf): Define variable more local.
5708
5709 2005-07-22  Jakub Jelinek  <jakub@redhat.com>
5710
5711         * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
5712         __gnuc_va_list rather than _G_va_list.
5713
5714 2005-07-22  Roland McGrath  <roland@redhat.com>
5715
5716         [BZ #869]
5717         * Makerules ($(objpfx)stubs): Fix last change.
5718
5719 2005-07-21  Roland McGrath  <roland@redhat.com>
5720
5721         * nscd/Makefile ($(objpfx)nscd): Pass $(nscd-cflags) to $(LINK.o).
5722
5723         * stdlib/Makefile (headers): Move bits/wchar.h to ...
5724         * wcsmbs/Makefile (headers): ... here.  Add bits/wchar2.h too.
5725
5726 2005-07-21  Jakub Jelinek  <jakub@redhat.com>
5727
5728         * wcsmbs/bits/wchar2.h (swprintf): Remove format argument.
5729         * debug/tst-chk1.c (do_test): Add test for swprintf with format
5730         being the last argument.
5731
5732 2005-07-21  Thorsten Kukuk  <kukuk@suse.de>
5733
5734         * debug/getgroups_chk.c (__getgroups_chk): Fix return value.
5735
5736         * stdio-common/fxprintf.c: Include string.h.
5737
5738 2005-07-20  Ulrich Drepper  <drepper@redhat.com>
5739
5740         [BZ #1138]
5741         * sysdeps/x86_64/fpu/libm-test-ulps: Adjust expected atan2f results.
5742         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5743         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5744
5745 2005-07-20  Bob Wilson  <bob.wilson@acm.org>
5746             Darin Petkov  <darin@tensilica.com>
5747
5748         [BZ #1138]
5749         * sysdeps/ieee754/flt-32/e_atan2f.c (pi_lo): Correct exponent value.
5750
5751 2005-07-20  Jakub Jelinek  <jakub@redhat.com>
5752
5753         * include/stdio.h (__fxprintf): Remove wfmt argument.
5754         * stdio-common/fxprintf.c: Include assert.h, ctype.h and wchar.h.
5755         (__fxprintf): Remove wfmt argument, create wfmt format string on
5756         the fly from fmt.
5757         * argp/argp-fmtstream.c: Adjust all __fxprintf callers.
5758         * argp/argp-help.c: Likewise.
5759         * assert/assert-perr.c: Likewise.
5760         * assert/assert.c: Likewise.
5761         * gmon/gmon.c: Likewise.
5762         * inet/rcmd.c: Likewise.
5763         * malloc/obstack.c: Likewise.
5764         * misc/error.c: Likewise.
5765         * misc/getpass.c: Likewise.
5766         * posix/getopt.c: Likewise.
5767         * resolv/res_hconf.c: Likewise.
5768         * stdio-common/perror.c: Likewise.
5769         * stdio-common/psignal.c: Likewise.
5770         * stdlib/fmtmsg.c: Likewise.
5771         * sunrpc/auth_unix.c: Likewise.
5772         * sunrpc/clnt_perr.c: Likewise.
5773         * sunrpc/clnt_tcp.c: Likewise.
5774         * sunrpc/clnt_udp.c: Likewise.
5775         * sunrpc/clnt_unix.c: Likewise.
5776         * sunrpc/svc_simple.c: Likewise.
5777         * sunrpc/svc_tcp.c: Likewise.
5778         * sunrpc/svc_udp.c: Likewise.
5779         * sunrpc/svc_unix.c: Likewise.
5780         * sunrpc/xdr.c: Likewise.
5781         * sunrpc/xdr_array.c: Likewise.
5782         * sunrpc/xdr_rec.c: Likewise.
5783         * sunrpc/xdr_ref.c: Likewise.
5784         * sysdeps/generic/wordexp.c: Likewise.
5785
5786 2005-07-20  Ulrich Drepper  <drepper@redhat.com>
5787
5788         * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs,
5789         wcsrtombs, mbsnrtowcs, and wcsnrtombs.
5790         * debug/Makefile (routines): Add wcrtomb_chk, mbsrtowcs_chk,
5791         wcsrtombs_chk, mbsnrtowcs_chk, and wcsnrtombs_chk.
5792         * debug/Versions: Add __wcrtomb_chk, __mbsrtowcs_chk,
5793         __wcsrtombs_chk, __mbsnrtowcs_chk, and __wcsnrtombs_chk.
5794         * debug/tst-chk1.c: Add tests for new functions.
5795         * debug/mbsnrtowcs_chk.c: New file.
5796         * debug/mbsrtowcs_chk.c: New file.
5797         * debug/wcrtomb_chk.c: New file.
5798         * debug/wcsnrtombs_chk.c: New file.
5799         * debug/wcsrtombs_chk.c: New file.
5800
5801 2005-07-19  Ulrich Drepper  <drepper@redhat.com>
5802
5803         * stdio-common/Makefile (aux): Add fxprintf.
5804         * stdio-common/fxprintf.c: New file.
5805         * include/stdio.h: Add declaration for __fxprintf.
5806         * argp/argp-fmtstream.c: Use __fxprintf instead of inline stream
5807         orientation test and two separate function calls.
5808         * argp/argp-help.c: Likewise.
5809         * assert/assert-perr.c: Likewise.
5810         * assert/assert.c: Likewise.
5811         * gmon/gmon.c: Likewise.
5812         * inet/rcmd.c: Likewise.
5813         * malloc/obstack.c: Likewise.
5814         * misc/error.c: Likewise.
5815         * misc/getpass.c: Likewise.
5816         * posix/getopt.c: Likewise.
5817         * resolv/res_hconf.c: Likewise.
5818         * stdio-common/perror.c: Likewise.
5819         * stdio-common/psignal.c: Likewise.
5820         * stdlib/fmtmsg.c: Likewise.
5821         * sunrpc/auth_unix.c: Likewise.
5822         * sunrpc/clnt_perr.c: Likewise.
5823         * sunrpc/clnt_tcp.c: Likewise.
5824         * sunrpc/clnt_udp.c: Likewise.
5825         * sunrpc/clnt_unix.c: Likewise.
5826         * sunrpc/svc_simple.c: Likewise.
5827         * sunrpc/svc_tcp.c: Likewise.
5828         * sunrpc/svc_udp.c: Likewise.
5829         * sunrpc/svc_unix.c: Likewise.
5830         * sunrpc/xdr.c: Likewise.
5831         * sunrpc/xdr_array.c: Likewise.
5832         * sunrpc/xdr_rec.c: Likewise.
5833         * sunrpc/xdr_ref.c: Likewise.
5834         * sysdeps/generic/wordexp.c: Likewise.
5835
5836         [BZ #1137]
5837         * misc/Makefile: Add rules to build and run tst-error1.
5838         * misc/tst-error1.c: New file.
5839         * misc/error.c: Fix memory leak and possibly endless loop.
5840
5841         * configure.in: Check for -fstack-protector gcc option.
5842         * config.make.in (have-ssp): Add template.
5843         * nscd/Makefile (nscd-cflags): Add -fstack-protector if supported.
5844
5845         * nscd/nscd.c (main): Don't ignore result of chdir call.
5846
5847 2005-07-18  Roland McGrath  <roland@redhat.com>
5848
5849         [BZ #869]
5850         * Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
5851         objdump command line.
5852
5853 2005-07-18  Ulrich Drepper  <drepper@redhat.com>
5854
5855         * nscd/Makefile (nscd-cflags): Add _FORTIFY_SOURCE.
5856
5857         * nscd/connections.c: Fix a few wur warnings.
5858
5859         [BZ #1113]
5860         * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID
5861         length.  Patch by Ivan Gyurdiev <ivg2@cornell.edu>.
5862
5863         * debug/confstr_chk.c: New file.
5864         * debug/getdomainname_chk.c: New file.
5865         * debug/getgroups_chk.c: New file.
5866         * debug/gethostname_chk.c: New file.
5867         * debug/getlogin_r_chk.c: New file.
5868         * debug/ttyname_r_chk.c: New file.
5869         * posix/bits/unistd.h: Add definitions for new debug versions.
5870         * debug/tst-chk1.c: Add tests for new functions.
5871         * debug/Versions: Export new functions.
5872         * debug/Makefile (routines): Add new files.
5873
5874         * stdlib/bits/stdlib.h: Fix typo.
5875
5876 2005-07-13  Thorsten Kukuk  <kukuk@suse.de>
5877
5878         * manual/Makefile (libc/index.html): Depend on dir-add.texi.
5879
5880 2005-07-15  Ulrich Drepper  <drepper@redhat.com>
5881
5882         * stdlib/bits/stdlib.h: Use __REDIRECT_NTH instead of __REDIRECT
5883         where necessary.
5884         * wcsmbs/bits/wchar2.h: Likewise.
5885
5886 2005-07-15  Andreas Jaeger  <aj@suse.de>
5887
5888         * debug/Makefile (tst-lfschk3-ENV): New, set locale.
5889         (tst-lfschk2-ENV): New.
5890         (tst-lfschk1-ENV): New.
5891         (tst-chk3-ENV): New.
5892         (tst-chk2-ENV): New.
5893         (tst-chk1-ENV): New.
5894
5895         [BZ #1079]
5896         * include/stdlib.h: Remove malloc attribute from __posix_memalign.
5897         * stdlib/stdlib.h: Likewise.
5898
5899 2005-07-15  Ulrich Drepper  <drepper@redhat.com>
5900
5901         * wcsmbs/bits/wchar2.h: New file.
5902         * include/bits/wchar2.h: New file.
5903         * wcsmbs/wchar.h: Include <bits/wchar2.h> if fortification is
5904         requested.
5905         * wcsmbs/wcsncpy.c: Add __wcsncpy alias.
5906         * string/bits/string3.h: Add fortified stpncpy definitions.
5907         * sysdeps/generic/stpncpy_chk.c: New file.
5908         * libio/vswprintf.c: Move _IO_wstrnfile definition to strfile.h.
5909         Export _IO_wstrn_jumps.
5910         * libio/strfile.h: Define _IO_wstrnfile and declare _IO_wstrn_jumps.
5911         * include/wchar.h: Declare __wcsncpy and __vswprintf_chk.
5912         * debug/fgetws_chk.c: New file.
5913         * debug/fgetws_u_chk.c: New file.
5914         * debug/fwprintf_chk.c: New file.
5915         * debug/swprintf_chk.c: New file.
5916         * debug/vfwprintf_chk.c: New file.
5917         * debug/vswprintf_chk.c: New file.
5918         * debug/vwprintf_chk.c: New file.
5919         * debug/wcpcpy_chk.c: New file.
5920         * debug/wcpncpy_chk.c: New file.
5921         * debug/wcscat_chk.c: New file.
5922         * debug/wcscpy_chk.c: New file.
5923         * debug/wcsncat_chk.c: New file.
5924         * debug/wcsncpy_chk.c: New file.
5925         * debug/wmemcpy_chk.c: New file.
5926         * debug/wmemmove_chk.c: New file.
5927         * debug/wmempcpy_chk.c: New file.
5928         * debug/wmemset_chk.c: New file.
5929         * debug/wprintf_chk.c: New file.
5930         * debug/tst-chk1.c: Add tests for new functions.
5931         * debug/Versions: Export new functions.
5932         * debug/Makefile (routines): Add new functions.
5933
5934 2005-07-13  Ulrich Drepper  <drepper@redhat.com>
5935
5936         * nscd/nscd_helper.c: Add a few __builtin_expect.
5937
5938         [BZ #1080]
5939         * nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
5940         * nscd/nscd_helper.c (wait_on_socket): New function.
5941         (get_mapping): Use wait_on_socket instead of poll.  The former handles
5942         EINTR of poll correctly.
5943         (__nscd_open_socket): Likewise.
5944         (get_mapping): Make sure BUF is aligned correctly.
5945         (get_mapping): Use munmap on correct pointer.
5946
5947 2005-07-12  Ulrich Drepper  <drepper@redhat.com>
5948
5949         * include/libc-symbols.h: Define macros for librt hidden symbols.
5950         * include/time.h: Add librt_hidden_proto definition for clock_gettime.
5951         * sysdeps/generic/clock_gettime.c: Add librt_hidden_def.
5952         * sysdeps/unix/clock_gettime.c: Likewise.
5953
5954         * stdlib/bits/stdlib.h: New file.
5955         * stdlib/stdlib.h: Include <bits/stdlib.h> if fortification is
5956         requested.
5957         * Makefile (headers): Add bits/stdlib.h.
5958         * include/bits/stdlib.h: New file.
5959         * debug/Depend: New file.
5960         * debug/ptsname_r_chk.c: New file.
5961         * debug/realpath_chk.c: New file.
5962         * debug/wctomb_chk.c: New file.
5963         * debug/Makefile (routines): Add ptsname_r_chk, realpath_chk, and
5964         wctomb_chk.
5965         * debug/Versions: Export __ptsname_r_chk, __realpath_chk, and
5966         __wctomb_chk.
5967         * debug/tst-chk1.c: Add tests for __ptsname_r_chk, __realpath_chk, and
5968         __wctomb_chk.
5969
5970 2005-07-12  Jakub Jelinek  <jakub@redhat.com>
5971
5972         [BZ #1106]
5973         * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Include not-cancel.h.
5974         (has_cpuclock): Use open_not_cancel_2 instead of open, read_not_cancel
5975         instead of read and close_not_cancel_no_status instead of close.
5976
5977         [BZ #1106]
5978         * sysdeps/s390/s390-64/bcopy.S (__bcopy): Use
5979         HIDDEN_BUILTIN_JUMPTARGET to jump to memmove.
5980
5981 2005-06-27  Carlos O'Donell  <carlos@systemhalted.org>
5982
5983         * posix/regcomp.c (re_compile_internal): Call __libc_lock_init
5984         after init_dfa.
5985
5986 2005-07-08  Ulrich Drepper  <drepper@redhat.com>
5987
5988         * sysdeps/x86_64/fpu/s_sincosl.S: Use retq not ret.  Remove
5989         alignment.
5990         * sysdeps/x86_64/fpu/s_sincos.S: New file.
5991
5992         * include/fenv.h: Add libm_hidden_proto for fesetround and
5993         feholdexcept.
5994         * sysdeps/alpha/fpu/feholdexcpt.c: Add libm_hidden_def.
5995         * sysdeps/alpha/fpu/fesetround.c: Likewise.
5996         * sysdeps/generic/feholdexcpt.c: Likewise.
5997         * sysdeps/generic/fesetround.c: Likewise.
5998         * sysdeps/i386/fpu/feholdexcpt.c: Likewise.
5999         * sysdeps/i386/fpu/fesetround.c: Likewise.
6000         * sysdeps/ia64/fpu/feholdexcpt.c: Likewise.
6001         * sysdeps/ia64/fpu/fesetround.c: Likewise.
6002         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6003         * sysdeps/powerpc/fpu/fesetround.c: Likewise.
6004         * sysdeps/s390/fpu/feholdexcpt.c: Likewise.
6005         * sysdeps/s390/fpu/fesetround.c: Likewise.
6006         * sysdeps/sh/sh4/fpu/feholdexcpt.c: Likewise.
6007         * sysdeps/sh/sh4/fpu/fesetround.c: Likewise.
6008         * sysdeps/sparc/fpu/feholdexcpt.c: Likewise.
6009         * sysdeps/sparc/fpu/fesetround.c: Likewise.
6010         * sysdeps/x86_64/fpu/feholdexcpt.c: Likewise.
6011         * sysdeps/x86_64/fpu/fesetround.c: Likewise.
6012         * sysdeps/generic/s_significand.c (__significand): Use __ilogb not
6013         ilogb.
6014         * sysdeps/generic/s_significandf.c (__significandf): Use __ilogbf
6015         not ilogbf.
6016         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use __sin and
6017         __cos, not sin and cos.
6018
6019 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
6020
6021         * resolv/res_send.c (send_dg): Recognize referral results and
6022         treat them as server errors.
6023         Based on a patch by Jason Vas Dias <jvdias@redhat.com>.
6024
6025 2005-07-08  Carlos O'Donell  <carlos@systemhalted.org>
6026
6027         * sysdeps/hppa/setjmp.S (__sigsetjmp): Use %r1 not %r19.
6028
6029         * sysdeps/hppa/add_n.s (__mpn_add_n): Use sr0 or r0, not 0.
6030         * sysdeps/hppa/lshift.s (__mpn_lshift): Likewise.
6031         * sysdeps/hppa/rshift.s (__mpn_rshift): Likewise.
6032         * sysdeps/hppa/sub_n.s (__mpn_sub_n): Likewise.
6033         * sysdeps/hppa/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
6034         * sysdeps/hppa/hppa1.1/udiv_qrnnd.s (__udiv_qrnnd): Likewise.
6035
6036 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
6037
6038         * sysdeps/generic/s_ctanh.c (__ctanh): Handle case of zero den better.
6039         * sysdeps/generic/s_ctanhf.c (__ctanhf): Likewise.
6040         * sysdeps/generic/s_ctanhl.c (__ctanhl): Likewise.
6041         * sysdeps/generic/s_ctan.c (__ctan): Likewise.
6042         * sysdeps/generic/s_ctanf.c (__ctanf): Likewise.
6043         * sysdeps/generic/s_ctanl.c (__ctanl): Likewise.
6044
6045 2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
6046
6047         [BZ #974]
6048         * csu/elf-init.c (__preinit_array_start): Take int, char **, char **.
6049         (__preinit_array_end): Likewise.
6050         (__init_array_start): Likewise.
6051         (__init_array_end): Likewise.
6052         (__libc_csu_init): Take int argc, char **argv, char **envp.
6053         Call preinit_array and init_array with argc, argv, envp.
6054         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Remove
6055         INIT_MAIN_ARGS.
6056         * sysdeps/powerpc/elf/libc-start.c (INIT_MAIN_ARGS): Removed.
6057         * elf/Makefile (distribute): Add tst-array5.c, tst-array5-static.c,
6058         tst-array5dep.c, and tst-array5.exp.
6059         (tests): Add tst-array5.
6060         (tests-static): Add tst-array5-static.
6061         ($(objpfx)tst-array5): New target.
6062         ($(objpfx)tst-array5.out): Likewise.
6063         ($(objpfx)tst-array5-static.out): Likewise.
6064         * elf/tst-array5-static.c: New file.
6065         * elf/tst-array5-static.exp: Likewise.
6066         * elf/tst-array5.c: Likewise.
6067         * elf/tst-array5.exp: Likewise.
6068         * elf/tst-array5dep.c: Likewise.
6069
6070 2005-07-07  Ulrich Drepper  <drepper@redhat.com>
6071
6072         * sysdeps/unix/sysv/linux/bits/sched.h: Adjust clone prototype.
6073
6074 2005-07-05  Jakub Jelinek  <jakub@redhat.com>
6075
6076         * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
6077         Reported by Ulrich Weigand <uweigand@de.ibm.com>.
6078
6079         * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
6080
6081 2005-07-06  Ulrich Drepper  <drepper@redhat.com>
6082
6083         * elf/dl-error.c (_dl_signal_error): When testing for executable
6084         being relocated, take into account that nothing might even be loaded.
6085
6086         * elf/dl-reloc.c [PROF] (_dl_relocate_object): Define
6087         consider_profiling always to zero.  Don't count of compiler to
6088         remove unreached if block.
6089         * sysdeps/x86_64/dl-trampoline.S [PROF] (_dl_runtime_profile):
6090         Don't compile.
6091         * sysdeps/i386/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
6092         * sysdeps/ia64/dl-trampoline.S [PROF] (_dl_runtime_profile): Likewise.
6093         * sysdeps/s390/s390-64/dl-trampoline.S [PROF] (_dl_runtime_profile):
6094         Likewise.
6095         * sysdeps/s390/s390-32/dl-trampoline.S [PROF] (_dl_runtime_profile):
6096         Likewise.
6097         * sysdeps/powerpc/powerpc64/dl-trampoline.S [PROF]
6098         (_dl_profile_resolve): Likewise.
6099         * sysdeps/powerpc/powerpc32/dl-trampoline.S [PROF]
6100         (_dl_profile_resolve): Likewise.
6101         * gmon/Makefile: Add rules to build and run tst-profile-static.
6102         * gmon/tst-profile-static.c: New file.
6103         * Makeconfig (+link-static): Allow passing program-specific flags.
6104
6105 2005-07-05  Thorsten Kukuk  <kukuk@suse.de>
6106
6107         [BZ #1111]
6108         * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Check if NSS
6109         module provides getgrgid_r.
6110         (getgrnam_plusgroup): Preserve original return value.
6111         * nis/nss_compat/compat-pwd.c (getpwnam_plususer): Preserve
6112         original return value.
6113         * nis/nss_compat/compat-spwd.c (getspnam_plususer): Likewise.
6114
6115 2005-07-05  Ulrich Drepper  <drepper@redhat.com>
6116
6117         [BZ #1101]
6118         * posix/regex_internal.c (build_wcs_buffer): Use MB_LEN_MAX not
6119         MB_CUR_MAX.
6120         (build_wcs_upper_buffer): Likewise.
6121
6122         * csu/elf-init.c (__libc_csu_fini): Pretty printing.
6123
6124 2005-07-02  Roland McGrath  <roland@redhat.com>
6125
6126         * NEWS: Note LinuxThreads removal.
6127         * manual/install.texi (Installation): Don't mention linuxthreads.
6128         (Configuring and compiling): Don't use linuxthreads as example.
6129
6130         * sysdeps/unix/sysv/linux/configure.in: Check for nptl add-on only,
6131         not linuxthreads.
6132         * sysdeps/unix/sysv/linux/configure: Regenerated.
6133         * resolv/Depend: Add nptl.
6134         * rt/Depend: Likewise.
6135
6136         * linuxthreads, linuxthreads_db: Directories removed (preserved in
6137         ports repository).
6138
6139 2005-06-27  Jakub Jelinek  <jj@ultra.linux.cz>
6140
6141         [BZ #1037]
6142         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: -mv8 is deprecated,
6143         use -mcpu=v8.
6144
6145 2005-06-16  Jakub Jelinek  <jakub@redhat.com>
6146
6147         [BZ #1016]
6148         * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
6149
6150 2005-06-23  Thorsten Kukuk  <kukuk@suse.de>
6151
6152         [BZ #1109]
6153         * nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
6154         with own translation.
6155
6156 2005-06-25  Jakub Jelinek  <jakub@redhat.com>
6157
6158         [BZ #1097]
6159         * sunrpc/xdr.c (xdr_hyper, xdr_u_hyper): When decoding, cast
6160         t2 to uint32_t instead of ulong.
6161         * sunrpc/Makefile (tests): Add tst-xdrmem.
6162         * sunrpc/tst-xdrmem.c: New test.
6163
6164         * Versions.def (ld): Add GLIBC_2.4.
6165         * configure.in: Add --enable-stackguard-randomization option.
6166         (ENABLE_STACKGUARD_RANDOMIZE): New define.
6167         * config.h.in (ENABLE_STACKGUARD_RANDOMIZE): Add.
6168         * sysdeps/unix/sysv/linux/dl-osinfo.h: Include stdint.h.
6169         (_dl_setup_stack_chk_guard): New inline function.
6170         * sysdeps/generic/dl-osinfo.h: Include stdint.h.
6171         (_dl_setup_stack_chk_guard): New inline function.
6172         * elf/rtld.c (__stack_chk_guard): New variable.
6173         (dl_main): Remove all traces of TLS_INIT_TP_EXPENSIVE.
6174         Set __stack_chk_guard to _dl_setup_stack_chk_guard (),
6175         use THREAD_SET_STACK_GUARD if defined.
6176         * elf/Versions (ld): Export __stack_chk_guard@@GLIBC_2.4.
6177         * sysdeps/generic/libc-start.c (__stack_chk_guard): New variable.
6178         (__libc_start_main): Set __stack_chk_guard to
6179         _dl_setup_stack_chk_guard (), use THREAD_SET_STACK_GUARD if defined.
6180         * sysdeps/generic/libc-tls.c (__libc_setup_tls): Remove all
6181         traces of TLS_INIT_TP_EXPENSIVE.
6182         * debug/Versions (libc): Export __stack_chk_fail@@GLIBC_2.4.
6183         * debug/Makefile (routines): Add stack_chk_fail.
6184         (static-only-routines): Add stack_chk_fail_local.
6185         * debug/stack_chk_fail_local.c: New file.
6186         * debug/stack_chk_fail.c: New file.
6187         * elf/Makefile: Add rules to build and run tst-stackguard1{,-static}
6188         tests.
6189         * elf/tst-stackguard1.c: New file.
6190         * elf/tst-stackguard1-static.c: New file.
6191         * elf/stackguard-macros.h: New file.
6192
6193 2005-06-21  Ulrich Drepper  <drepper@redhat.com>
6194
6195         * resource/Makefile (tests): Add tst-getrlimit.
6196         * resource/tst-getrlimit.c: New file.
6197
6198         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTPRIO): Fix typo.
6199         * sysdeps/unix/sysv/linux/alpha/bits/resource.h: Likewise.
6200         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6201
6202 2005-06-20  Ulrich Drepper  <drepper@redhat.com>
6203
6204         * nscd/nscd.init: Get more in line with lsb3.
6205         * nscd/nscd.c: Adjust some error codes to fit in better with lsb3.
6206         * nscd/connections.c: Likewise.
6207
6208 2005-06-20  Jakub Jelinek  <jakub@redhat.com>
6209
6210         [BZ #653]
6211         * sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
6212         _LINUX_QUOTA_VERSION >= 2.
6213         (_LINUX_QUOTA_VERSION): Define if not yet defined.
6214
6215         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_NICE,
6216         RLIMIT_RTPRIO): Add.
6217         (RLIMIT_NLIMITS): Adjust.
6218         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIMIT_NICE,
6219         RLIMIT_RTPRIO): Add.
6220         (RLIMIT_NLIMITS): Adjust.
6221         * sysdeps/unix/sysv/linux/mips/bits/resource.h (RLIMIT_NICE,
6222         RLIMIT_RTPRIO): Add.
6223         (RLIMIT_NLIMITS): Adjust.
6224         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIMIT_NICE,
6225         RLIMIT_RTPRIO): Add.
6226         (RLIMIT_NLIMITS): Adjust.
6227
6228 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
6229
6230         [BZ #1106]
6231         * time/mktime.c: Always include <string.h> for prototype of
6232         implicitly used memcpy.
6233
6234         [BZ #1104]
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6236         (truncate64): Use __truncate, not truncate.
6237         (__have_no_truncate64): Renamed from have_no_truncate64.
6238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6239         (__have_no_truncate64): Renamed from have_no_truncate64.
6240
6241         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ulps for complex
6242         float functions for gcc 4.
6243
6244 2005-06-10  Jakub Jelinek  <jakub@redhat.com>
6245
6246         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
6247         Handle prelinked libraries and binaries with new style PLT.
6248
6249 2005-06-07  Jakub Jelinek  <jakub@redhat.com>
6250
6251         * elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
6252         R_PPC_REL16_HA): Define.
6253
6254 2005-06-14  Alan Modra  <amodra@bigpond.net.au>
6255
6256         * config.h.in (HAVE_ASM_PPC_REL16): Add.
6257         * elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
6258         * elf/tls-macros.h (PowerPC32): Include config.h.  Add variants of
6259         TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
6260         * sysdeps/powerpc/powerpc32/configure.in: New file,
6261         * sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
6262         * sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
6263         (ppc_got): New inline function.
6264         (elf_machine_dynamic): Use ppc_got.  Add attribute const.
6265         (elf_machine_load_address): Add attribute const.  Don't use int vars.
6266         Use bcl rather than bl to save trashing branch target stack.  Use
6267         elf_machine_dynamic rather than duplicating code here.
6268         (elf_machine_runtime_setup): New inline function replacing define.
6269         Handle new PLT.
6270         (elf_machine_fixup_plt): Handle new PLT.
6271         (elf_machine_rela): Likewise.
6272         * sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
6273         (CALL_MCOUNT): Don't set up counter vars.
6274         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
6275         * sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
6276         define when HAVE_ASM_PPC_REL16.
6277         (_start): Add HAVE_ASM_PPC_REL16 code.
6278         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
6279         into the GOT when HAVE_ASM_PPC_REL16.
6280         * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
6281         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
6282         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
6283         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6284         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6285         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6286         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
6287         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6288         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6289         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6290         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6291         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6292         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6293         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6297         (__getcontext): Likewise.
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6299         (__setcontext): Likewise.
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6301         (__swapcontext): Likewise.
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
6303         Comment.
6304         (__socket): Bomb if NARGS >= 7.  Invoke CGOTSETUP and CGOTRESTORE.
6305
6306 2005-06-17  Ulrich Drepper  <drepper@redhat.com>
6307
6308         [BZ #1106]
6309         * sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
6310         to use __GI_memset.
6311         * sysdeps/posix/signal.c: Likewise.
6312         * sysdeps/posix/sigset.c: Likewise.
6313         * sysdeps/posix/sysv_signal.c: Likewise.
6314         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6315         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
6316         * sysdeps/unix/sysv/linux/system.c: Likewise.
6317
6318 2005-06-15  Jakub Jelinek  <jakub@redhat.com>
6319
6320         [BZ #1088]
6321         * hesiod/hesiod.c (hesiod_init): Don't check for ctx->classes[0] == 0
6322         or both classes equal here.
6323         (parse_config_file): If both classes are equal, clear the second one.
6324
6325 2005-06-08  Karl Kelley  <kekelley@iastate.edu>
6326
6327         [BZ #1088]
6328         * hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
6329         * hesiod/hesiod.c (hesiod_init): Initialize classes.  Fail if no
6330         valid classes were given or if both are equal.
6331         (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN
6332         and C_HS order.
6333         (parse_config_file): Handle classes keyword.
6334         * hesiod/README.hesiod: Mention addition of the classes keyword.
6335
6336 2005-06-14  Ulrich Drepper  <drepper@redhat.com>
6337
6338         [BZ #1085]
6339         * configure.in: Add test for availability of libaudit.
6340         * config.h.in: Define HAVE_LIBAUDIT.
6341         * config.make.in: Define have-libaudit.
6342         * nscd/Makefile: If libaudit is available, link nscd with it.
6343         * nscd/selinux.c: If HAVE_LIBAUDIT is defined, log using libaudit.
6344         Patch by Steve Grubb <sgrubb@redhat.com>.
6345
6346         * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64.
6347         * sysdeps/posix/posix_fallocate64.c: Likewise.
6348         * include/string.h: Use libc_hidden_proto for strnlen.
6349         * sysdeps/generic/strnlen.c: Add libc_hidden_def.
6350         * include/libintl.h: Use libc_hidden_proto for __dcgettext.
6351         * intl/dcgettext.c: Add libc_hidden_def.
6352         * include/execinfo.h: Add libc_hidden_proto for __backtrace and
6353         __backtrace_symbols_fd.
6354         * sysdeps/generic/backtrace.c: Add libc_hidden_def.
6355         * sysdeps/generic/backtracesymsfd.c: Likewise.
6356         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6357         * sysdeps/i386/backtrace.c: Likewise.
6358         * sysdeps/ia64/backtrace.c: Likewise.
6359         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6360         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6361         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6362         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6363
6364 2005-06-13  Ulrich Drepper  <drepper@redhat.com>
6365
6366         * sysdeps/unix/clock_gettime.c (clock_gettime): Implement case
6367         where HANDLED_REALTIME is not defined.  [BZ #966]
6368
6369 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
6370
6371         [BZ #1096]
6372         * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_sendreq,
6373         __netlink_receive): Remove prototypes.
6374         (__netlink_request): New prototype.
6375         * sysdeps/unix/sysv/linux/ifaddrs.c: Include <alloca.h> and
6376         <stdint.h>.
6377         (__netlink_sendreq): Make static.
6378         (__netlink_receive): Rename to...
6379         (__netlink_request): ... this.  Add type argument, call
6380         __netlink_sendreq.  If MSG_TRUNC is set after recvmsg, retry
6381         with a bigger buffer.  Don't record buffers that contain no
6382         messages we are expecting.
6383         (getifaddrs): Use __netlink_request instead of __netlink_sendreq
6384         and __netlink_receive pairs.  Formatting.
6385         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex_netlink): Use
6386         __netlink_request instead of __netlink_sendreq and __netlink_receive
6387         pair.
6388
6389 2005-06-13  Thorsten Kukuk  <kukuk@suse.de>
6390
6391         * sysdeps/unix/sysv/linux/netinet/if_tr.h: Don't include kernel
6392         headers, instead copy important structs/defines.
6393
6394 2005-06-13  Jakub Jelinek  <jakub@redhat.com>
6395
6396         * elf/rtld.c (dl_main): Move DT_DEBUG setup before first
6397         _dl_debug_state call.
6398
6399 2005-06-12  Ulrich Drepper  <drepper@redhat.com>
6400
6401         * elf/dl-error.c (_dl_signal_error): Store information about use of
6402         real malloc in the catch object.
6403         (_dl_catch_error): Forward information about malloc use to caller
6404         in new parameter.
6405         (_dl_out_of_memory): Make static.
6406         * elf/dl-deps.c: Adjust callers of _dl_catch_error.
6407         * elf/dl-libc.c: Likewise.
6408         * elf/dl-open.c: Likewise.
6409         * elf/rtld.c: Likewise.
6410         Add new --audit option.
6411         * sysdeps/generic/ldsodefs.h: Remove _dl_out_of_memory declaration.
6412         (rtld_global_ro._dl_signal_error): Add new parameter.
6413         * include/dlfcn.h (_dl_catch_error): Add new parameter.
6414         * dlfcn/dlfcn.c (_dlerror_run): Pass additional parameter to
6415         _dl_catch_error.  Only free if the returned newly value says so.
6416
6417 2005-06-01  Roland McGrath  <roland@redhat.com>
6418
6419         [BZ #959]
6420         * posix/tst-mmap.c (main): Fill the test file with enough data for the
6421         page size.
6422
6423 2005-05-30  Jakub Jelinek  <jakub@redhat.com>
6424
6425         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): If
6426         GLRO(dl_osversion) has been already set to a value smaller than
6427         _dl_discover_osversion (), don't overwrite it here.
6428
6429 2005-05-24  Thomas Schwinge  <schwinge@nic-nac-project.de>
6430
6431         * sysdeps/mach/i386/syscall.S (syscall): Call END.
6432
6433 2005-05-28  Richard Henderson  <rth@redhat.com>
6434
6435         * elf/elf.h (DT_ALPHA_PLTRO, DT_ALPHA_NUM): New.
6436         * sysdeps/alpha/dl-dtprocnum.h: New file.
6437         * sysdeps/alpha/dl-machine.h (DT_ALPHA): New.
6438         (elf_machine_load_address): Simplify to rely on gprel relocations.
6439         (elf_machine_runtime_setup): Handle DT_ALPHA_PLTRO plt format.
6440         Remove thread safety workaround for binutils 2.6.
6441         (elf_machine_fixup_plt): Handle DT_ALPHA_PLTRO plt format.
6442         * sysdeps/alpha/dl-trampoline.S (_dl_runtime_resolve_new): New.
6443         (_dl_runtime_profile_new): New.
6444         (_dl_runtime_resolve_old): Rename from _dl_runtime_resolve.
6445         (_dl_runtime_profile_old): Rename from _dl_runtime_profile.  Fix
6446         typo in _dl_call_pltexit argument loading.
6447
6448         * sysdeps/alpha/div_libc.h (funcnoplt): New.
6449         * sysdeps/alpha/divl.S: Use it.
6450         * sysdeps/alpha/divq.S: Likewise
6451         * sysdeps/alpha/divqu.S: Likewise.
6452         * sysdeps/alpha/reml.S: Likewise.
6453         * sysdeps/alpha/remq.S: Likewise.
6454         * sysdeps/alpha/remqu.S: Likewise.
6455
6456 2005-05-26  Andreas Schwab  <schwab@suse.de>
6457
6458         * locale/Makefile (CFLAGS-loadlocale.c): Don't define.
6459
6460 2005-05-26  Ulrich Drepper  <drepper@redhat.com>
6461
6462         * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h (O_DIRECT): Fix value.
6463         Reported by Colin Gibbs <colin@gibbsonline.net>.  [BZ #954]
6464
6465 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
6466
6467         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Corrent
6468         _dl_hwcap access in PIC && !SHARED case.
6469         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6470
6471 2005-05-25  Dwayne Grant McConnell  <dgm69@us.ibm.com>
6472
6473         * gmon/gmon.c: Add space in weak_alias use.
6474         * linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6475         * sysdeps/alpha/htonl.S: Likewise.
6476         * sysdeps/alpha/htons.S: Likewise.
6477         * sysdeps/alpha/elf/start.S: Likewise.
6478         * sysdeps/i386/i386-mcount.S: Likewise.
6479         * sysdeps/ia64/strchr.S: Likewise.
6480         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
6481         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
6482         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
6483         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
6484         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
6485         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
6486         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
6487         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
6488         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
6489         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
6490         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
6491         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
6492         * sysdeps/mach/hurd/readdir64_r.c: Likewise.
6493         * sysdeps/mach/hurd/sigaltstack.c: Likewise.
6494         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6495         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6496         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6497         * sysdeps/powerpc/fpu/s_fabs.S: Likewise.
6498         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6499         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6500         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6501         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6502         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6503         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6504         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6505         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6506         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6507         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6508         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6509         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6510         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6511         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6512         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6513         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6514         * sysdeps/sparc/sparc32/memset.S: Likewise.
6515         * sysdeps/sparc/sparc32/stpcpy.S: Likewise.
6516         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6517         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6518         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
6519         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6520         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6521         * sysdeps/sparc/sparc64/memset.S: Likewise.
6522         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6523         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6524         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6525         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6526         * sysdeps/sparc/sparc64/sparcv9b/memcpy.S: Likewise.
6527         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6528         * sysdeps/unix/sysv/linux/alpha/getcontext.S: Likewise.
6529         * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6530         * sysdeps/unix/sysv/linux/alpha/setcontext.S: Likewise.
6531         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Likewise.
6532         * sysdeps/unix/sysv/linux/alpha/swapcontext.S: Likewise.
6533         * sysdeps/unix/sysv/linux/alpha/syscall.S: Likewise.
6534         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6535         * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
6536         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6537         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6538         * sysdeps/unix/sysv/linux/i386/makecontext.S: Likewise.
6539         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6540         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6541         * sysdeps/unix/sysv/linux/ia64/getcontext.S: Likewise.
6542         * sysdeps/unix/sysv/linux/ia64/setcontext.S: Likewise.
6543         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6544         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6546         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6547         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6548         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6549         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6550         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6551         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6552         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6553         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6554         * sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S: Likewise.
6555         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
6556         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
6557         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Likewise.
6558         * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
6559         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6560         * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Likewise.
6561         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6562         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6563         * sysdeps/x86_64/_mcount.S: Likewise.
6564
6565 2005-05-24  Roland McGrath  <roland@redhat.com>
6566
6567         * sysdeps/unix/sysv/linux/i386/sysdep.h
6568         (SETUP_PIC_REG, LOAD_PIC_REG): Move these macros ...
6569         * sysdeps/i386/sysdep.h [PIC]: ... to here.
6570
6571 2005-05-23  Roland McGrath  <roland@redhat.com>
6572
6573         * sysdeps/arm, sysdeps/unix/arm, sysdeps/unix/sysv/linux/arm:
6574         Subdirectories moved to ports repository.
6575         * configure.in (base_machine): Remove arm* and thumb* patterns.
6576         * shlib-versions (arm.*-.*-linux.*): Remove this pattern.
6577
6578 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
6579
6580         [BZ #1086]
6581         * sunrpc/bindrsvprt.c (LOWPORT): Apparently some mountd
6582         implementations are broken and don't accept ports < 512.
6583
6584 2005-05-22  Dmitry V. Levin  <ldv@altlinux.org>
6585
6586         [BZ #961]
6587         * io/sys/sendfile.h: Remove __nonnull from sendfile and sendfile64
6588         declarations.
6589
6590 2005-05-23  Ulrich Drepper  <drepper@redhat.com>
6591
6592         [BZ #1086]
6593         * sunrpc/pm_getport.c (__get_socket): New function.
6594         (pmap_getport): Use it to open a non-reserved socket to the portmapper
6595         for TCP.
6596         * include/rpc/pmap_clnt.h (__get_socket): Declare.
6597         * sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
6598         non-reserved socket for the portmapper.
6599         Based on a patch by Steve Dickson <steved@redhat.com>.
6600
6601         [BZ #1086]
6602         * sunrpc/bindrsvprt.c (bindresvport): Try harder to find a port.
6603         If we tried looking at the usual range without success extend the
6604         range to even lower ports.
6605
6606         * sysdeps/unix/clock_gettime.c (clock_gettime): Revert last patch.
6607
6608 2005-05-22  Andreas Schwab  <schwab@suse.de>
6609
6610         * elf/rtld.c: Include <dl-osinfo.h>.
6611
6612 2005-05-17  Alan Modra  <amodra@bigpond.net.au>
6613
6614         * sysdeps/powerpc/powerpc32/sysdep.h (PSEUDO_RET): Don't use
6615         JUMPTARGET.  Instead append @local to __syscall_error.
6616         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Delete all occurrences
6617         of JUMPTARGET.  Instead append @local to labels.
6618         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6619         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6620         * sysdeps/powerpc/powerpc32/ppc-mcount.S: Likewise.
6621         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Likewise.
6626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6629
6630         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Use float constants.
6631         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6632         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Likewise.
6633         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6634         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.  Use one GOT
6635         slot to access both constants.
6636         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6637         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6638
6639         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (TWO52.0): Delete.
6640         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (TWO23.0): Delete.
6641         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (TWO52.0): Delete.
6642         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (TWO23.0): Delete.
6643         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Comment typo.
6644         (NEGZERO.0, POINTFIVE.0): Delete.
6645         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (TWO52.0): Delete.
6646         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (TWO23.0): Delete.
6647         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Code in .text.
6648         (TWO52.0, POINTFIVE.0): Delete.
6649         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Code in .text.
6650         (TWO23.0, POINTFIVE.0): Delete.
6651         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Code in .text.
6652         (TWO52.0): Delete.
6653         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Code in .text.
6654         (TWO23.0): Delete.
6655         * sysdeps/powerpc/powerpc32/memset.S (memset): Formatting.
6656
6657 2005-05-19  Richard Henderson  <rth@redhat.com>
6658
6659         * sysdeps/unix/clock_gettime.c (clock_gettime): Fix typo around
6660         CLOCK_REALTIME.
6661
6662         * sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_bool_32_acq,
6663         __arch_compare_and_exchange_bool_64_acq,
6664         __arch_compare_and_exchange_val_32_acq,
6665         __arch_compare_and_exchange_val_64_acq, atomic_exchange_and_add):
6666         Use __sync builtin without _si or _di suffix.
6667
6668 2005-05-19  Jakub Jelinek  <jakub@redhat.com>
6669
6670         [BZ #955]
6671         * iconvdata/ibm939.c (BODY): Avoid segfaults with input characters
6672         <UFFFF> and above.
6673
6674 2005-05-17  Andreas Schwab  <schwab@suse.de>
6675
6676         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6677         (clock_getcpuclockid): Always return a defined value.
6678
6679 2005-05-17  Neal H. Walfield  <neal@gnu.org>
6680
6681         [BZ #1350]
6682         * sysdeps/posix/getaddrinfo.c (gaih_local): Check [_HAVE_SA_LEN]
6683         instead of [SALEN].
6684         (gaih_inet): Likewise.
6685
6686 2005-05-11  Ulrich Drepper  <drepper@redhat.com>
6687
6688         * elf/elf.h (Elf32_auxv_t): Make cross-compile safe.
6689         (Elf64_auxv_t): Likewise.
6690         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
6691         removal of a_ptr element in ElfXX_auxv_t.
6692         * elf/dl-support.c (_dl_aux_init): Likewise.
6693
6694 2005-05-09  Daniel Jacobowitz  <dan@codesourcery.com>
6695
6696         * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>.
6697         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6698
6699 2005-05-09  Alan Modra  <amodra@bigpond.net.au>
6700
6701         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6702         .pushsection/.popsection in place of .section/.previous.
6703
6704 2005-05-08  Ulrich Drepper  <drepper@redhat.com>
6705
6706         * MakeTAGS: Make xgettext not look into test cases.
6707
6708         * MakeTAGS: Make sure translations in error calls are marked with
6709         c-format by xgettext.
6710
6711 2005-05-07  Ulrich Drepper  <drepper@redhat.com>
6712
6713         * intl/libintl.h: Always use __attribute_format_arg__ for gettext
6714         functions since gcc sometimes forgets the attribute for the
6715         standard functions.
6716
6717 2005-05-06  Jakub Jelinek  <jakub@redhat.com>
6718
6719         [BZ #934]
6720         * posix/regex_internal.h: Include bits/libc-lock.h or define dummy
6721         __libc_lock_* macros if not _LIBC.
6722         (struct re_dfa_t): Add lock.
6723         * posix/regcomp.c (re_compile_internal): Add __libc_lock_init.
6724         * posix/regexec.c (regexec, re_search_stub): Add locking.
6725
6726 2005-05-04  Jakub Jelinek  <jakub@redhat.com>
6727
6728         * intl/Makefile (tst-gettext[45].out): Pass also $(run-program-prefix)
6729         as argument to the scripts.
6730         * intl/tst-gettext2.sh: Use mkdir -p instead of test -d + mkdir.
6731         * intl/tst-gettext4.sh: Likewise.  Use run_program_prefix argument.
6732         * intl/tst-gettext5.sh: Likewise.
6733
6734         * intl/tst-translit.sh: Add mkdir -p.
6735
6736         * sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Use
6737         .ifndef/.endif to allow use of this macro more than once per .S
6738         file.
6739         (LOAD_PIC_REG): New macro.
6740         * sysdeps/unix/sysv/linux/i386/makecontext.S: Add call frame
6741         information.
6742         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6743         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6744         * sysdeps/i386/fpu/s_asinh.S: Use LOAD_PIC_REG macro.  Add call frame
6745         information.
6746         * sysdeps/i386/fpu/e_log10f.S: Likewise.
6747         * sysdeps/i386/fpu/s_expm1.S: Likewise.
6748         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6749         * sysdeps/i386/fpu/e_log2l.S: Likewise.
6750         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6751         * sysdeps/i386/fpu/s_lrint.S: Likewise.
6752         * sysdeps/i386/fpu/s_llrint.S: Likewise.
6753         * sysdeps/i386/fpu/s_ilogbf.S: Likewise.
6754         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6755         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6756         * sysdeps/i386/fpu/e_log.S: Likewise.
6757         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6758         * sysdeps/i386/fpu/s_lrintl.S: Likewise.
6759         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6760         * sysdeps/i386/fpu/e_scalb.S: Likewise.
6761         * sysdeps/i386/fpu/s_log1p.S: Likewise.
6762         * sysdeps/i386/fpu/s_nearbyintl.S: Likewise.
6763         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6764         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6765         * sysdeps/i386/fpu/s_nearbyintf.S: Likewise.
6766         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6767         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6768         * sysdeps/i386/fpu/s_lrintf.S: Likewise.
6769         * sysdeps/i386/fpu/e_acosh.S: Likewise.
6770         * sysdeps/i386/fpu/s_cexp.S: Likewise.
6771         * sysdeps/i386/fpu/s_ilogbl.S: Likewise.
6772         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6773         * sysdeps/i386/fpu/e_powl.S: Likewise.
6774         * sysdeps/i386/fpu/e_powf.S: Likewise.
6775         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6776         * sysdeps/i386/fpu/e_logl.S: Likewise.
6777         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6778         * sysdeps/i386/fpu/s_frexp.S: Likewise.
6779         * sysdeps/i386/fpu/e_pow.S: Likewise.
6780         * sysdeps/i386/fpu/e_logf.S: Likewise.
6781         * sysdeps/i386/fpu/e_log2.S: Likewise.
6782         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6783         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6784         * sysdeps/i386/fpu/s_llrintf.S: Likewise.
6785         * sysdeps/i386/fpu/s_ilogb.S: Likewise.
6786         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6787         * sysdeps/i386/fpu/e_atanh.S: Likewise.
6788         * sysdeps/i386/fpu/e_log10.S: Likewise.
6789         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6790         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6791         * sysdeps/i386/fpu/s_llrintl.S: Likewise.
6792         * sysdeps/i386/fpu/e_log10l.S: Likewise.
6793         * sysdeps/i386/fpu/s_nearbyint.S: Likewise.
6794         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6795         * sysdeps/i386/fpu/e_log2f.S: Likewise.
6796         * sysdeps/i386/addmul_1.S: Various fixes to cfi handling.
6797         * sysdeps/i386/mul_1.S: Likewise.
6798         * sysdeps/i386/strtok.S: Likewise.
6799         * sysdeps/i386/sub_n.S: Likewise.
6800         * sysdeps/i386/submul_1.S: Likewise.
6801         * sysdeps/i386/i586/addmul_1.S: Likewise.
6802         * sysdeps/i386/i586/memcpy.S: Likewise.
6803         * sysdeps/i386/i586/mul_1.S: Likewise.
6804         * sysdeps/i386/i586/rshift.S: Likewise.
6805         * sysdeps/i386/i586/sub_n.S: Likewise.
6806         * sysdeps/i386/i586/submul_1.S: Likewise.
6807         * sysdeps/i386/i686/memcmp.S: Likewise.
6808         * sysdeps/i386/i686/memmove.S: Likewise.
6809         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6810         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6811         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6812         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6813
6814 2005-05-03  Ulrich Drepper  <drepper@redhat.com>
6815
6816         * sysdeps/i386/add_n.S: Add call frame information.
6817         * sysdeps/i386/addmul_1.S: Likewise.
6818         * sysdeps/i386/bsd-setjmp.S: Likewise.
6819         * sysdeps/i386/lshift.S: Likewise.
6820         * sysdeps/i386/memchr.S: Likewise.
6821         * sysdeps/i386/memcmp.S: Likewise.
6822         * sysdeps/i386/mul_1.S: Likewise.
6823         * sysdeps/i386/rawmemchr.S: Likewise.
6824         * sysdeps/i386/rshift.S: Likewise.
6825         * sysdeps/i386/stpncpy.S: Likewise.
6826         * sysdeps/i386/strchr.S: Likewise.
6827         * sysdeps/i386/strchrnul.S: Likewise.
6828         * sysdeps/i386/strcspn.S: Likewise.
6829         * sysdeps/i386/strpbrk.S: Likewise.
6830         * sysdeps/i386/strrchr.S: Likewise.
6831         * sysdeps/i386/strspn.S: Likewise.
6832         * sysdeps/i386/strtok.S: Likewise.
6833         * sysdeps/i386/sub_n.S: Likewise.
6834         * sysdeps/i386/submul_1.S: Likewise.
6835         * sysdeps/i386/elf/bsd-setjmp.S: Likewise.
6836         * sysdeps/i386/i486/strcat.S: Likewise.
6837         * sysdeps/i386/i586/add_n.S: Likewise.
6838         * sysdeps/i386/i586/addmul_1.S: Likewise.
6839         * sysdeps/i386/i586/lshift.S: Likewise.
6840         * sysdeps/i386/i586/memcpy.S: Likewise.
6841         * sysdeps/i386/i586/memset.S: Likewise.
6842         * sysdeps/i386/i586/mul_1.S: Likewise.
6843         * sysdeps/i386/i586/rshift.S: Likewise.
6844         * sysdeps/i386/i586/strchr.S: Likewise.
6845         * sysdeps/i386/i586/strcpy.S: Likewise.
6846         * sysdeps/i386/i586/sub_n.S: Likewise.
6847         * sysdeps/i386/i586/submul_1.S: Likewise.
6848         * sysdeps/i386/i686/add_n.S: Likewise.
6849         * sysdeps/i386/i686/memcmp.S: Likewise.
6850         * sysdeps/i386/i686/memmove.S: Likewise.
6851         * sysdeps/i386/i686/mempcpy.S: Likewise.
6852         * sysdeps/i386/i686/memset.S: Likewise.
6853         * sysdeps/i386/i686/strtok.S: Likewise.
6854         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6855         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6856         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6857         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
6858         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6859         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6860
6861         * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
6862
6863         * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available
6864         on ppc in 2.6.12.
6865
6866 2005-04-29  Jakub Jelinek  <jakub@redhat.com>
6867
6868         [BZ #1083]
6869         * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,
6870         call ftruncate if offset is bigger than current size.  Make sure
6871         the file is offset + len bytes long if that is more than current size.
6872         Don't overwrite previous content of the file.
6873         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6874         Likewise.
6875
6876 2005-05-02  Roland McGrath  <roland@redhat.com>
6877
6878         [BZ #924]
6879         * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
6880
6881 2005-04-29  Roland McGrath  <roland@redhat.com>
6882
6883         * timezone/africa: Update from tzdata2005i.
6884         * timezone/asia: Likewise.
6885         * timezone/northamerica: Likewise.
6886         * timezone/yearistype: Likewise.
6887
6888         * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
6889
6890 2005-04-29  Ulrich Drepper  <drepper@redhat.com>
6891
6892         [BZ #1093]
6893         * nis/nis_table.c: Fix realloc handling.
6894         * nis/nis_removemember.c: Likewise.
6895
6896 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
6897
6898         [BZ #798]
6899         * nscd/Makefile: Help losers who use --with-headers.
6900
6901 2005-04-28  Roland McGrath  <roland@redhat.com>
6902
6903         [BZ #796]
6904         * sysdeps/unix/sysv/linux/dl-sysdep.h: New file.
6905         Define NEED_DL_SYSINFO_DSO for all platforms.
6906
6907         * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection.
6908         * sysdeps/alpha/dl-sysdep.h: Likewise.
6909         Use #include_next instead of duplicating generic file's contents.
6910         * sysdeps/ia64/dl-sysdep.h: Likewise.
6911         * sysdeps/sparc/dl-sysdep.h: Likewise.
6912
6913 2005-03-22  Steven Munroe  <sjmunroe@us.ibm.com>
6914
6915         * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
6916
6917 2005-03-07  Steven Munroe  <sjmunroe@us.ibm.com>
6918
6919         [BZ #781]
6920         * sysdeps/unix/sysv/linux/kernel-features.h
6921         (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1.
6922         (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1.
6923         (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting
6924         with 2.6.1.
6925         (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
6926
6927 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
6928
6929         * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.
6930         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6931         * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate
6932         cfi_startproc and cfi_endproc.
6933
6934         * configure.in: Remove ultrasparc names.
6935
6936         * sysdeps/i386/i686/memcmp.S: Move misplaced END.
6937
6938 2005-03-27  Bruno Haible  <bruno@clisp.org>
6939
6940         Make it possible for multiple threads to use gettext() in different
6941         locales.
6942         * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro.
6943         (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename
6944         field.
6945         (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields.
6946         (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in
6947         search and newp.
6948
6949         * intl/tst-gettext4.c: New file.
6950         * intl/tst-gettext4.sh: New file.
6951         * intl/tst-gettext4-de.po: New file.
6952         * intl/tst-gettext4-fr.po: New file.
6953         * intl/tst-gettext5.c: New file.
6954         * intl/tst-gettext5.sh: New file.
6955         * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po,
6956         tst-gettext4-fr.po, tst-gettext5.sh.
6957         (multithread-test-srcs): New variable.
6958         (test-srcs): Add its contents.
6959         (tests): Depend on tst-gettext4.out, tst-gettext5.out.
6960         (tst-gettext4.out, tst-gettext5.out): New rules.
6961         (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables.
6962         Add rule for linking the multithread-test-srcs with the appropriate
6963         thread-library.
6964
6965 2005-04-28  Ulrich Drepper  <drepper@redhat.com>
6966
6967         * po/rw.po: New file.  From translation team.
6968
6969         * scripts/config.guess: Update from upstream.
6970         * scripts/config.sub: Likewise.
6971
6972 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
6973
6974         [BZ #1094]
6975         * nscd/connections.c (nscd_run): Use time() value in prune_cache
6976         call, not timeout value, since the latter might be from another clock.
6977
6978 2005-04-27  Roland McGrath  <roland@redhat.com>
6979
6980         [BZ #877]
6981         * posix/unistd.h: Remove __nonnull from acct decl.
6982
6983         * rt/tst-cpuclock1.c: New file.
6984         * rt/tst-cpuclock2.c: New file.
6985         * rt/tst-cputimer1.c: New file.
6986         * rt/tst-cputimer2.c: New file.
6987         * rt/tst-cputimer3.c: New file.
6988         * rt/Makefile (tests): Add them.
6989
6990         * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file.
6991         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file.
6992         * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c
6993         (HAS_CPUCLOCK): New macro.
6994         (clock_getcpuclockid): Function removed.
6995         #include the new linux file to define it instead.
6996         * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime):
6997         New function, broken out of ...
6998         (clock_gettime) [HP_TIMING_AVAIL]: ... here.  Call it.
6999         (realtime_gettime): New function, broken out of ...
7000         (clock_gettime) [! HANDLED_REALTIME]: ... here.  Call it.
7001         (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case.
7002         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro.
7003         (SYSDEP_GETTIME_CPUTIME): New macro.
7004         (SYSDEP_GETTIME): Use both.
7005         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken
7006         out of ...
7007         (SYSDEP_GETTIME): ... here.  Use it.
7008         [__NR_clock_gettime] (HANDLED_CPUTIME): Define it.
7009         (SYSDEP_GETTIME_CPUTIME): New macro.  Handle CPU timers by trying
7010         kernel support and falling back to hp-timing code.
7011         * sysdeps/posix/clock_getres.c
7012         [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ...
7013         (clock_getres) [HP_TIMING_AVAIL]: ... here.  Call it.
7014         (realtime_getres): New function, broken out of ...
7015         (clock_getres) [! HANDLED_REALTIME]: ... here.  Call it.
7016         (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case.
7017         * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro.
7018         (SYSDEP_GETRES_CPUTIME): New macro.
7019         (SYSDEP_GETRES): Use both.
7020         [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken
7021         out of ...
7022         (SYSDEP_GETRES): ... here.  Use it.
7023         [__NR_clock_getres] (HANDLED_CPUTIME): Define it.
7024         (SYSDEP_GETRES_CPUTIME): New macro.  Handle CPU timers by trying
7025         kernel support and falling back to hp-timing code.
7026         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle
7027         CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially,
7028         translating to the kernel clockid_t for our own process/thread clock.
7029
7030 2005-04-27  Ulrich Drepper  <drepper@redhat.com>
7031
7032         * stdlib/test-canon.c: Make doesExist a directory and add more tests
7033         for the new error case.
7034
7035 2004-06-02  Dmitry V. Levin  <ldv@altlinux.org>
7036             Ranjani Murthy <ranmur@gmail.com>
7037
7038         * stdlib/canonicalize.c (__realpath): Change realpath(3) to
7039         return NULL and set errno to ENOTDIR for such pathnames like
7040         "/path/to/existing-non-directory/".
7041
7042 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
7043
7044         [BZ #1105]
7045         * time/strptime_l.c (__strptime_internal): Handle 'z' to set
7046         tm_gmtoff.
7047         * time/Makefile (tests): Add tst-strptime2.
7048         * time/tst-strptime2.c: New file.
7049
7050 2005-04-26  Jakub Jelinek  <jakub@redhat.com>
7051
7052         [BZ #1081]
7053         * elf/dl-close.c: Include stddef.h.
7054         (_dl_close): If called recursively, just remember GC needs to be rerun
7055         and decrease l_direct_opencount.  Avoid GC if l_direct_opencount
7056         decreased to 1.  Rerun GC at the end if any destructor unloaded some
7057         additional libraries.
7058         * elf/Makefile: Add rules to build and run unload6 test.
7059         * elf/unload6.c: New test.
7060         * elf/unload6mod1.c: New file.
7061         * elf/unload6mod2.c: New file.
7062         * elf/unload6mod3.c: New file.
7063
7064         * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p
7065         if magic_p is not NULL.
7066         (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed.
7067         (malloc_check): Fail if sz == -1.
7068         (free_check): Adjust mem2chunk_check caller.
7069         (realloc_check): Likewise.  Fail if bytes == -1.  If bytes == 0 and
7070         oldmem != NULL, call free_check and return NULL.  If reallocating
7071         and returning NULL, invert magic byte again to make oldmem valid
7072         region for further checking.
7073         (memalign_check): Fail if bytes == -1.
7074         * malloc/Makefile: Add rules to build and run tst-mcheck.
7075         * malloc/tst-mcheck.c: New test.
7076
7077 2005-04-26  Ulrich Drepper  <drepper@redhat.com>
7078
7079         [BZ #1110]
7080         * stdio-common/vfscanf.c: Correctly account for characters of
7081         decimal points right after +-.
7082
7083 2005-04-26  Roland McGrath  <roland@redhat.com>
7084
7085         * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of
7086         ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
7087
7088 2005-04-25  Roland McGrath  <roland@redhat.com>
7089
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7091         (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
7092
7093         * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed.
7094
7095         * elf/dl-load.c: Revert last change.
7096
7097 2005-04-24  Ulrich Drepper  <drepper@redhat.com>
7098
7099         [BZ #1110]
7100         * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.
7101         Patch by Hamed Malek <hamed@bamdad.org>.
7102
7103 2005-04-21  Roland McGrath  <roland@redhat.com>
7104
7105         * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,
7106         since Linux ignores it in user mmap calls.
7107
7108 2005-04-17  David S. Miller  <davem@davemloft.net>
7109
7110         * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.
7111         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7112
7113 2005-04-15  Roland McGrath  <roland@redhat.com>
7114
7115         * timezone/Makefile (zic-deps): New variable.
7116         ($(testdata)/America/New_York): Use it instead of explicit deps.
7117         ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise.
7118         ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise.
7119         (%/UTC %/Universal): New pattern rule, replaces ...
7120         ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets.
7121         ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule.
7122         ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
7123
7124 2005-04-14  Roland McGrath  <roland@redhat.com>
7125
7126         * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well.
7127         (extract): Filter-out distinfo file name.
7128
7129         [BZ #253]
7130         * MakeTAGS (text-srcs): Match %.bash.in files too.
7131
7132         [BZ #253]
7133         * nscd/Makefile (all-nscd-modules): New variable, include selinux
7134         module regardless of configuration.
7135         (distribute): Use that instead of $(nscd-modules).
7136
7137 2005-04-13  David S. Miller  <davem@davemloft.net>
7138
7139         Add sparc64 TLS and NPTL support.
7140         * elf/tls-macros.h: Add Sparc64 defines.
7141         * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as
7142         always_inline.
7143         (elf_machine_fixup_plt): Likewise.
7144         (elf_machine_rela): Handle TLS relocations.
7145         (elf_machine_type_cleaa): Likewise.
7146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7147         (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc.
7148         It does not always fit in R_SPARC_GOT13 when building -fPIC.
7149         Also, add TLS handling.
7150         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7151         Increase it to 2.4.21 for sparc64.
7152         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate
7153         backtrace by zero'ing out %fp.  Store away flags, func_ptr,
7154         and func_arg in global registers not local registers.
7155         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS,
7156         and CTID arguments properly.  Add RESET_PID handling.
7157         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we
7158         do not invoke __sigprocmask().  We can always assume rt signals
7159         are present on sparc64, so just do an inline syscall.
7160
7161 2005-04-13  Jakub Jelinek  <jakub@redhat.com>
7162
7163         * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple
7164         inclusion guard for the first half of the header.
7165         (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL,
7166         ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup,
7167         elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the
7168         #ifndef dl_machine_h guarded part of the header.
7169
7170 2005-04-14  Ulrich Drepper  <drepper@redhat.com>
7171
7172         [BZ #851]
7173         * posix/execvp.c (execvp): Use file name including path when
7174         trying to run it with shell.
7175         * posix/Makefile: Add rules to build and run tst-execvp3.
7176         * posix/tst-execvp3.c: New file.
7177
7178 2005-04-12  Ulrich Drepper  <drepper@redhat.com>
7179
7180         [BZ #1090]
7181         * stdlib/random_r.c (__initstate_r): Don't use non-existing state.
7182         * string/tst-strfry.c: New file.
7183         * string/Makefile (tests): Add tst-strfry.
7184
7185 2005-04-11  James A. Morrison  <ja2morri@uwaterloo.ca>
7186
7187         * manual/string.texi: Fix typo in wmemcpy decl.
7188
7189 2005-04-10  David S. Miller  <davem@davemloft.net>
7190
7191         * sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
7192
7193 2005-04-08  Carlos O'Donell <carlos@baldric.uwo.ca>
7194
7195         * FAQ.in: Explain why `make' might fail running rpcgen.
7196         * FAQ: Regenerated.
7197
7198 2005-04-07  Roland McGrath  <roland@redhat.com>
7199
7200         * po/libc.pot: Regenerated.
7201
7202 2005-04-07  Roland McGrath  <roland@redhat.com>
7203
7204         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
7205         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
7206         GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
7207         we can skip the uname call if it's there.
7208         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
7209         DL_SYSDEP_OSCHECK here.
7210         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
7211
7212         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro):
7213         Add _dl_sysinfo_map.
7214         * elf/rtld.c (dl_main): Don't call _dl_init_paths early in the
7215         rtld_is_main case.  Call it unconditionally later.
7216         Move GLRO(dl_sysinfo_dso) handling earlier, before _dl_init_paths call.
7217         Initialize GLRO(dl_sysinfo_map).
7218         * elf/dl-load.c (open_path): Bail out if _dl_init_paths wasn't called.
7219         * sysdeps/generic/dl-sysdep.c (_DL_FIRST_EXTRA): New macro.
7220         (_dl_important_hwcaps)
7221         [(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
7222         GLRO(dl_sysinfo_map) for PT_NOTE giving synthetic hwcap names
7223         and bit values.
7224         * elf/ldconfig.c (_DL_FIRST_EXTRA): New macro.
7225         (hwcap_extra): New static variable.
7226         (is_hwcap_platform): Check hwcap_extra for a matching name.
7227         Remove tls special case.
7228         (path_hwcap): Likewise.
7229         (parse_conf): Parse "hwcap" directive to define synthetic hwcap bits
7230         and their names, stored in hwcap_extra.
7231         (main) [USE_TLS]: Initialize final synthetic hwcap bit as "tls".
7232
7233         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Use uint64_t for
7234         _dl_hwcap and _dl_hwcap_mask.
7235         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Cast a_val for
7236         AT_HWCAP to unsigned long int.
7237         * elf/dl-support.c (_dl_aux_init): Likewise.
7238         (_dl_hwcap): Update defn.
7239
7240         * elf/cache.c (print_entry): Pad hwcap value with 0s in diagnostic.
7241         * elf/ldconfig.c (search_dir): Likewise.
7242
7243 2005-04-05  Roland McGrath  <roland@redhat.com>
7244
7245         * NEWS: Copy 2.3.5 section from 2.3 branch.
7246
7247         * intl/tst-codeset.sh: Use mkdir -p.  Put msgfmt output in temporary
7248         file and mv it into place.
7249         * intl/tst-gettext3.sh: Likewise.
7250
7251         * Makefile (glibc-%.tar rule): Use make -q to ensure configure scripts
7252         are up to date in srcdir.  Touch all configure scripts after export.
7253
7254         * iconv/gconv_int.h: Include <ctype.h> and <string.h>.
7255
7256 2005-04-05  H.J. Lu  <hongjiu.lu@intel.com>
7257
7258         [BZ #592]
7259         * sysdeps/ia64/fpu/e_acosh.S: Update from Intel libm 2005-04-05
7260         (comment changes only).
7261         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
7262         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
7263         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
7264         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
7265         * sysdeps/ia64/fpu/e_exp.S: Likewise.
7266         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
7267         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
7268         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7269         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
7270         * sysdeps/ia64/fpu/e_expf.S: Likewise.
7271         * sysdeps/ia64/fpu/e_log.S: Likewise.
7272         * sysdeps/ia64/fpu/e_logf.S: Likewise.
7273         * sysdeps/ia64/fpu/e_pow.S: Likewise.
7274         * sysdeps/ia64/fpu/e_powf.S: Likewise.
7275         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
7276         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
7277         * sysdeps/ia64/fpu/libm_error.c: Likewise.
7278         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
7279         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
7280         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
7281         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
7282         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
7283         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
7284         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
7285         * sysdeps/ia64/fpu/s_cos.S: Likewise.
7286         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
7287         * sysdeps/ia64/fpu/s_erf.S: Likewise.
7288         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
7289         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
7290         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
7291         * sysdeps/ia64/fpu/s_erff.S: Likewise.
7292         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
7293         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
7294         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
7295         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
7296         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
7297         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
7298         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7299         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7300         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7301
7302 2005-04-05  Roland McGrath  <roland@redhat.com>
7303
7304         * scripts/config.guess: Update from master, timestamp='2005-03-24'.
7305         * scripts/config.sub: Update from master, timestamp='2005-02-10'.
7306
7307 2005-04-04  David S. Miller  <davem@davemloft.net>
7308
7309         * sysdeps/sparc/sparc32/dl-trampoline.S: New file.
7310         * sysdeps/sparc/sparc32/dl-machine.h: Move PLT trampolines there.
7311         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
7312         (elf_machine_runtime_setup): Test for dl_profile non-null.
7313         * sysdeps/sparc/sparc64/dl-trampoline.S: New file.
7314         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
7315         * sysdeps/sparc/sparc64/dl-machine.h: Move PLT trampolines there.
7316         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
7317         (elf_machine_runtime_setup): Test for dl_profile non-null.
7318         * sysdeps/sparc/bits/link.h: New file.
7319         * sysdeps/generic/ldsodefs.h (La_sparc32_regs, La_sparc32_retval,
7320         La_sparc64_regs, La_sparc64_retval): New.
7321         (struct audit_ifaces): Add sparc entries.
7322         * elf/tst-auditmod1.c: Add sparc entries.
7323
7324 2005-03-27  Bruno Haible  <bruno@clisp.org>
7325
7326         * intl/tst-gettext3.c: New file.
7327         * intl/tst-gettext3.sh: New file.
7328         * intl/Makefile (distribute): Add tst-gettext3.sh.
7329         (test-srcs): Add tst-gettext3.
7330         (tests): Depend on tst-gettext3.out.
7331         (tst-gettext3.out): New rule.
7332         (CFLAGS-tst-gettext3.c): New variable.
7333
7334         Fix bug exposed by tst-gettext3.
7335         * intl/gettextP.h (struct converted_domain): New type.
7336         (struct loaded_domain): Remove the conv, conv_tab fields. Add
7337         conversions, nconversions fields.
7338         (_nl_init_domain_conv): Remove declaration.
7339         (_nl_free_domain_conv): Remove declaration.
7340         (_nl_find_msg): Add convert argument.
7341         * intl/dcigettext.c (DCIGETTEXT): Call _nl_find_msg with convert=1.
7342         (_nl_find_msg): Add convert argument. When a conversion to a different
7343         charset is needed, create a new converted_domain element, instead of
7344         throwing away the old converted translations.
7345         (get_output_charset): New function.
7346         * intl/loadmsgcat.c (_nl_init_domain_conv): Remove function.
7347         (_nl_free_domain_conv): Remove function.
7348         (_nl_load_domain): Initialize the conversions array to empty. Use
7349         _nl_find_msg instead of _nl_init_domain_conv to retrieve the header
7350         entry.
7351         (_nl_unload_domain): Free the conversions array and its contents.
7352
7353         * intl/gettextP.h (struct loaded_domain): Remove codeset_cntr field.
7354         (struct binding): Likewise.
7355         * intl/bindtextdom.c (set_binding_values): Drop codeset_cntr
7356         modifications.
7357
7358 2005-04-04  Jakub Jelinek  <jakub@redhat.com>
7359
7360         [BZ #1082]
7361         * sunrpc/pmap_rmt.c (xdr_rmtcall_args): Use a dummy arglen instead
7362         of trying to encode uninitialized arglen.
7363
7364 2005-04-04  Ulrich Drepper  <drepper@redhat.com>
7365
7366         [BZ #825]
7367         * timezone/scheck.c: Update from tzcode2005h.
7368         * timezone/tzfile.h: Likewise.
7369         * timezone/zdump.c: Likewise.
7370         * timezone/zic.c: Likewise.
7371
7372         [BZ #825]
7373         * timezone/antarctica: Update from tzdata2005h.
7374         * timezone/asia: Likewise.
7375         * timezone/australasia: Likewise.
7376         * timezone/etcetera: Likewise.
7377         * timezone/europe: Likewise.
7378         * timezone/northamerica: Likewise.
7379         * timezone/southamerica: Likewise.
7380         * timezone/leapseconds: Likewise.
7381         * timezone/iso3166.tab: Likewise.
7382
7383 2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7384
7385         [BZ #592]
7386         * sysdeps/ia64/fpu/libm_cpu_defs.h: Update copyright.
7387
7388 2005-04-01  Ulrich Drepper  <drepper@redhat.com>
7389
7390         * wcsmbs/btowc.c (__btowc): Optimize parameters in ASCII range.
7391         * wcsmbs/wctob.c (wctob): Likewise.
7392         * wcsmbs/wchar.h (btowc): Add optimized inline function.
7393         (wctob): Likewise.
7394
7395 2005-03-31  Jakub Jelinek  <jakub@redhat.com>
7396
7397         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Use functionally
7398         equivalent, but shorter instructions.
7399         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7400         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7401         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7402         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7403         * sysdeps/unix/x86_64/sysdep.S: Likewise.
7404         * sysdeps/x86_64/strchr.S: Likewise.
7405         * sysdeps/x86_64/memset.S: Likewise.
7406         * sysdeps/x86_64/strcspn.S: Likewise.
7407         * sysdeps/x86_64/strcmp.S: Likewise.
7408         * sysdeps/x86_64/elf/start.S: Likewise.
7409         * sysdeps/x86_64/strspn.S: Likewise.
7410         * sysdeps/x86_64/dl-machine.h: Likewise.
7411         * sysdeps/x86_64/bsd-_setjmp.S: Likewise.
7412         * sysdeps/x86_64/bsd-setjmp.S: Likewise.
7413         * sysdeps/x86_64/strtok.S: Likewise.
7414
7415 2005-03-30  H.J. Lu  <hongjiu.lu@intel.com>
7416
7417         [BZ #592]
7418         * sysdeps/ia64/fpu/e_acosf.S: Update from Intel libm 2005-03-21.
7419         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
7420         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
7421         * sysdeps/ia64/fpu/e_acosh.S: Likewise.
7422         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
7423         * sysdeps/ia64/fpu/e_acos.S: Likewise.
7424         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
7425         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
7426         * sysdeps/ia64/fpu/e_asin.S: Likewise.
7427         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
7428         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
7429         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
7430         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
7431         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
7432         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
7433         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
7434         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
7435         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
7436         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
7437         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
7438         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
7439         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
7440         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7441         * sysdeps/ia64/fpu/e_expf.S: Likewise.
7442         * sysdeps/ia64/fpu/e_exp.S: Likewise.
7443         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
7444         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
7445         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
7446         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
7447         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
7448         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
7449         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
7450         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
7451         * sysdeps/ia64/fpu/e_lgamma_r.c: Likewise.
7452         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
7453         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
7454         * sysdeps/ia64/fpu/e_log2.S: Likewise.
7455         * sysdeps/ia64/fpu/e_logf.S: Likewise.
7456         * sysdeps/ia64/fpu/e_logl.S: Likewise.
7457         * sysdeps/ia64/fpu/e_log.S: Likewise.
7458         * sysdeps/ia64/fpu/e_powf.S: Likewise.
7459         * sysdeps/ia64/fpu/e_powl.S: Likewise.
7460         * sysdeps/ia64/fpu/e_pow.S: Likewise.
7461         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
7462         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
7463         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
7464         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
7465         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
7466         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
7467         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
7468         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
7469         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
7470         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
7471         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
7472         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
7473         * sysdeps/ia64/fpu/libm_error.c: Likewise.
7474         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
7475         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
7476         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
7477         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
7478         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
7479         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
7480         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
7481         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
7482         * sysdeps/ia64/fpu/libm_support.h: Likewise.
7483         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
7484         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
7485         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
7486         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
7487         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
7488         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
7489         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
7490         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
7491         * sysdeps/ia64/fpu/s_cos.S: Likewise.
7492         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
7493         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
7494         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
7495         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
7496         * sysdeps/ia64/fpu/s_erf.S: Likewise.
7497         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
7498         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
7499         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
7500         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
7501         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
7502         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
7503         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
7504         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
7505         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
7506         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
7507         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
7508         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
7509         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
7510         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
7511         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
7512         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
7513         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
7514         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
7515         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
7516         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
7517         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
7518         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
7519         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
7520         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
7521         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
7522         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
7523         * sysdeps/ia64/fpu/s_logb.S: Likewise.
7524         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
7525         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
7526         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
7527         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
7528         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
7529         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
7530         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
7531         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
7532         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
7533         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
7534         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
7535         * sysdeps/ia64/fpu/s_round.S: Likewise.
7536         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
7537         * sysdeps/ia64/fpu/s_scalbn.c: Likewise.
7538         * sysdeps/ia64/fpu/s_scalbnf.c: Likewise.
7539         * sysdeps/ia64/fpu/s_scalbnl.c: Likewise.
7540         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
7541         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
7542         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
7543         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
7544         * sysdeps/ia64/fpu/s_tan.S: Likewise.
7545         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
7546         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
7547         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
7548         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
7549         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
7550         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
7551
7552         [BZ #592]
7553         * sysdeps/ia64/fpu/libm_cpu_defs.h: New file.
7554         * sysdeps/ia64/fpu/libm_error_codes.h: New file.
7555
7556         [BZ #592]
7557         * sysdeps/ia64/fpu/gen_import_file_list: Updated for Intel libm
7558         2005-03-21.
7559         * sysdeps/ia64/fpu/import_file.awk: Likewise.
7560         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
7561         * sysdeps/ia64/fpu/Makefile: Likewise.
7562
7563 2005-03-29  Jakub Jelinek  <jakub@redhat.com>
7564
7565         [BZ #1087]
7566         * posix/fnmatch.c (fnmatch): For short patterns or strings attempt to
7567         avoid calling mbsrtowcs twice.
7568
7569 2005-03-29  Roland McGrath  <roland@redhat.com>
7570
7571         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion): New
7572         function, inline broken out of ...
7573         (DL_SYSDEP_OSCHECK): ... here.  Use that.
7574         Do the discovery and set GLRO(dl_osversion) if successful,
7575         if __LINUX_KERNEL_VERSION <= 0.
7576         * elf/dl-load.c: Don't include dl-osinfo.h here.
7577
7578 2005-03-29  Alfred M. Szmidt  <ams@gnu.org>
7579
7580         * manual/install.texi (Tools for Compilation): GNU binutils 2.15
7581         is now needed.
7582
7583 2005-03-19  Bruno Haible  <bruno@clisp.org>
7584
7585         * intl/dcigettext.c (struct known_translation_t): Change type of
7586         domainname field to 'const char *'.
7587         (DCIGETTEXT): Remove const-cast.
7588
7589 2005-03-29  Thorsten Kukuk  <kukuk@suse.de>
7590
7591         [BZ #661]
7592         * grp/initgroups.c (internal_getgrouplist): Check if we have
7593         enough space before adding the primary group to the list.
7594
7595         * posix/tst-execle1.c (do_test): Fix execle arguments.
7596         * posix/tst-execle2.c (do_test): Likewise.
7597
7598 2005-03-28  Roland McGrath  <roland@redhat.com>
7599
7600         * sysdeps/generic/w_exp2.c [NO_LONG_DOUBLE]: Fix typos in alias names.
7601         Reported by Mark Mitchell <mark@codesourcery.com>.
7602         * Versions.def (libm): Define GLIBC_2.4 set.
7603         * math/Versions (libm: GLIBC_2.4): Add this set, with exp2l.
7604         * sysdeps/i386/Versions (libm: GLIBC_2.1): Add this set, with exp2l.
7605         * sysdeps/ia64/Versions: Likewise.
7606         * sysdeps/m68k/Versions: Likewise.
7607         * sysdeps/sparc/sparc64/Versions: Likewise.
7608         * sysdeps/x86_64/Versions: New file.
7609         * sysdeps/mips/mips64/Versions: New file.
7610
7611         * locale/langinfo.h (_NL_LOCALE_NAME): New macro.
7612         [__USE_GNU] (NL_LOCALE_NAME): New macro.
7613         * locale/nl_langinfo.c: Grok special item value for _NL_LOCALE_NAME,
7614         return locale name string for the category.
7615
7616 2005-03-25  Jakub Jelinek  <jakub@redhat.com>
7617
7618         [BZ #721]
7619         * sysdeps/generic/wcstoul_l.c: Include "wcstol_l.c" rather than
7620         <wcstol_l.c>.
7621
7622 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
7623
7624         * sysdeps/mips/atomicity.h: Remove unused file.
7625         * sysdeps/mips/dl-machine.h (elf_machine_rel): Add TLS relocations.
7626         * sysdeps/mips/dl-tls.h: New file.
7627         * sysdeps/mips/libc-tls.c: New file.
7628         * sysdeps/mips/tls-macros.h: New file.
7629         * sysdeps/mips/bits/atomic.h: New file.
7630         * sysdeps/mips/bits/setjmp.h: Protect against multiple inclusion.
7631         * sysdeps/mips/elf/configure.in: New file.
7632         * sysdeps/mips/elf/configure: Generated.
7633         * sysdeps/mips/sys/asm.h: New file.
7634         * sysdeps/unix/sysv/linux/mips/vfork.S: New file.
7635         * sysdeps/unix/sysv/linux/mips/clone.S: Add NPTL and five-argument
7636         clone support.
7637         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7638         (INTERNAL_SYSCALL_NCS): New.
7639         (INTERNAL_SYSCALL): Update for non-constant support.
7640         (internal_syscall0): Likewise.
7641         (internal_syscall1): Likewise.
7642         (internal_syscall2): Likewise.
7643         (internal_syscall3): Likewise.
7644         (internal_syscall4): Likewise.
7645         (internal_syscall5): Likewise.
7646         (internal_syscall6): Likewise.
7647         (internal_syscall7): Likewise.
7648         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (SIGEV_THREAD):
7649         Update to match the kernel.
7650         (SIGEV_CALLBACK): Likewise.
7651         (SIGEV_THREAD_ID): Likewise.
7652
7653 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
7654
7655         [BZ #783]
7656         * elf/tst-auditmod1.c: Add MIPS support.
7657         * sysdeps/generic/ldsodefs.h (La_mips_32_regs): New.
7658         (La_mips_32_retval): New.
7659         (La_mips_64_regs): New.
7660         (La_mips_64_retval): New.
7661         (struct audit_ifaces): Add MIPS entries.
7662         * sysdeps/mips/dl-machine.h: Check RESOLVE_MAP instead of RESOLVE.
7663         (elf_machine_runtime_link_map, ELF_DL_FRAME_SIZE,
7664         ELF_DL_SAVE_ARG_REGS, ELF_DL_RESTORE_ARG_REGS,
7665         ELF_MACHINE_RUNTIME_TRAMPOLINE): Move to dl-trampoline.c.
7666         (RTLD_START): Align the stack before calling _dl_init_internal.
7667         Use .ent for _dl_start_user.
7668         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): Define.
7669         (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
7670         (elf_machine_runtime_setup): Use "auto inline".
7671         (elf_machine_rela, elf_machine_rela_relative): Provide empty versions.
7672         (elf_machine_got_rel): Likewise.  Use RESOLVE_MAP.
7673         * sysdeps/mips/dl-trampoline.c: New file.
7674         * sysdeps/mips/bits/link.h: New file.
7675         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
7676         (internal_syscall5): Use register operands instead of non-lvalue
7677         memory operands.
7678         (internal_syscall6): Likewise.
7679         (internal_syscall7): Likewise.
7680
7681 2005-03-27  Andreas Jaeger  <aj@suse.de>
7682
7683         * debug/warning-nop.c (__builtin___memcpy_chk): Define away to
7684         avoid warnings with older compiler.
7685         (__builtin___memcpy_chk): Likewise.
7686         (__builtin___memmove_chk: Likewise.
7687         (__builtin___mempcpy_chk): Likewise.
7688         (__builtin___memset_chk): Likewise.
7689         (__builtin___stpcpy_chk): Likewise.
7690         (__builtin___strcat_chk): Likewise.
7691         (__builtin___strcpy_chk): Likewise.
7692         (__builtin___strncat_chk): Likewise.
7693         (__builtin___strncpy_chk): Likewise.
7694         (__builtin_object_size): Likewise.
7695
7696 2005-03-27  Daniel Jacobowitz  <dan@codesourcery.com>
7697
7698         * elf/tls-macros.h: Correct typo.
7699
7700 2005-03-23  Jakub Jelinek  <jakub@redhat.com>
7701
7702         [BZ #822]
7703         * nis/ypclnt.c (yp_2_yperr): Revert 2004-11-30 patch.
7704         (ypprot_err): Use yp_2_yperr table also for YP_NODOM .. YP_NOMORE.
7705
7706 2005-03-22  Roland McGrath  <roland@redhat.com>
7707
7708         * locale/setlocale.c: Comment typo.
7709
7710         * scripts/versions.awk: No errors for GLIBC_PRIVATE.
7711
7712         * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
7713
7714         * scripts/versions.awk: Print all errors and die at the end.
7715         Use library name in versions array keys.
7716
7717 2005-03-22  Daniel Jacobowitz  <dan@codesourcery.com>
7718
7719         * elf/elf.h (PT_ARM_EXIDX): New macro.
7720
7721 2005-03-21  Thorsten Kukuk  <kukuk@suse.de>
7722
7723         [BZ #1098]
7724         * sunrpc/xdr_stdio.c (xdrstdio_getlong, xdrstdio_putlong):
7725         Convert correctly between long/int on 64bit big-endian.
7726
7727 2005-03-21  David Mosberger  <davidm@hpl.hp.com>
7728
7729         * sysdeps/ia64/_mcount.S: Newer kernels don't like register-frames
7730         with more than 8 output registers.  Fix this by passing original
7731         ar.pfs to _mcount_ret_helper via r3.
7732
7733 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
7734
7735         [BZ #786]
7736         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Handle
7737         GL(dl_tls_static_nelem) == GL(dl_tls_max_dtv_idx).
7738         * elf/Makefile: Add rules to build and run tst-tls15.
7739         * elf/tst-tls15.c: New test.
7740         * elf/tst-tlsmod15a.c: New file.
7741         * elf/tst-tlsmod15b.c: New file.
7742
7743 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
7744
7745         * elf/rtld.c (dl_main): Always call init_tls if we have audit modules.
7746
7747 2005-03-20  Alfred M. Szmidt  <ams@gnu.org>
7748
7749         * elf/dl-open.c (dl_open_worker): Fix typo.
7750
7751 2005-03-20  Ulrich Drepper  <drepper@redhat.com>
7752
7753         * malloc/malloc.c (public_cALLOc): We cannot skip the memory
7754         clearing if perturb_byte != 0.
7755
7756 2005-03-20  Jakub Jelinek  <jakub@redhat.com>
7757
7758         * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t
7759         instead of __off_t for last argument.
7760         * debug/Makefile (tests): Add tst-lfschk{1,2,3}.
7761         * debug/tst-lfschk1.c: New test.
7762         * debug/tst-lfschk2.c: New test.
7763         * debug/tst-lfschk3.c: New test.
7764
7765 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
7766
7767         * sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
7768         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
7769         and __USE_XOPEN guards to match linux/bits/termios.h.
7770         * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
7771         (CMSPAR): Define.
7772         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7773
7774 2005-02-10  H.J. Lu  <hongjiu.lu@intel.com>
7775
7776         [BZ #1076]
7777         * sysdeps/ia64/elf/initfini.c: Add local _init and _fini labels.
7778
7779 2005-02-27  Denis Barbier  <barbier@debian.org>
7780
7781         [BZ #549]
7782         * locale/iso-4217.def: Add CSD currency.
7783
7784 2005-03-19  Ulrich Drepper  <drepper@redhat.com>
7785
7786         * inet/test-ifaddrs.c: Use test-skeleton.
7787         * inet/test_ifindex.c: Likewise.
7788
7789         [BZ #821]
7790         * elf/dl-lookup.c (add_dependency): Always search l_initfini if
7791         the list exists.
7792
7793         [BZ #821]
7794         * elf/Makefile: Add rules to build and run order2.
7795         * elf/order2.c: New file.
7796         * elf/order2mod1.c: New file.
7797         * elf/order2mod2.c: New file.
7798         * elf/order2mod3.c: New file.
7799         * elf/order2mod4.c: New file.
7800
7801 2005-03-19  Jakub Jelinek  <jakub@redhat.com>
7802
7803         [BZ #821]
7804         * elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
7805         it has been incremented before.
7806
7807 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
7808
7809         [BZ #821]
7810         * elf/dl-fini.c (_dl_fini): Split sorting of the maps in separate
7811         function _dl_sort_fini.
7812         (_dl_sort_fini): New function.
7813         * sysdeps/generic/ldsodefs.h: Declare _dl_sort_fini.
7814         * elf/dl-close.c (_dl_close): Call _dl_sort_fini before running
7815         destructors to call them in the right order.
7816
7817 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
7818
7819         * sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
7820         (La_ppc64_retval): Correct size of lrc_fp.
7821         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
7822         Fix up ABI problems and complete function.
7823
7824 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
7825
7826         * math/test-misc.c (main): Add some more tests.
7827
7828 2005-03-17  Jakub Jelinek  <jakub@redhat.com>
7829
7830         * posix/regcomp.c (re_compile_fastmap_iter): Fix check for failed
7831         __wcrtomb.  Check return values of other __wcrtomb calls.
7832         * posix/regex_internal.c (build_wcs_buffer, re_string_skip_chars):
7833         Change mbclen type to size_t.
7834         (build_wcs_upper_buffer): Change mbclen and mbcdlen type to size_t.
7835         Handle mb chars whose upper case doesn't have multibyte representation
7836         in locale's charset.
7837
7838 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
7839
7840         * malloc/malloc.c (_int_icalloc, _int_icomalloc, iALLOc,
7841         public_iCALLOc, public_iCALLOc, public_iCOMALLOc): Protect with
7842         #ifndef _LIBC.
7843
7844         [BZ #779]
7845         * malloc/malloc.c (public_mTRIm): Initialize malloc if not yet
7846         initialized.
7847
7848 2005-03-10  Jakub Jelinek  <jakub@redhat.com>
7849
7850         * misc/sys/cdefs.h (__always_inline): Define.
7851         * posix/bits/unistd.h (read, pread, pread64, readlink, getcwd, getwd):
7852         Use __always_inline instead of __inline.
7853         * socket/bits/socket2.h (recv, recvfrom): Likewise.
7854         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Likewise.
7855         * string/bits/string3.h (__memcpy_ichk, __memmove_ichk, __mempcpy_ichk,
7856         __memset_ichk, __strcpy_ichk, __stpcpy_ichk, __strncpy_ichk,
7857         __strcat_ichk, __strncat_ichk): Use __always_inline instead of
7858         __inline__ __attribute__ ((__always_inline__)).
7859
7860 2005-03-09  Jakub Jelinek  <jakub@redhat.com>
7861
7862         * debug/tst-chk1.c: Include sys/socket.h and sys/un.h.
7863         (do_test): Add new tests for recv, recvfrom, getcwd, getwd and
7864         readlink.  Add some more tests for read, pread, pread64, fgets and
7865         fgets_unlocked.
7866
7867         * posix/bits/unistd.h (read, pread, pread64, readlink,
7868         getcwd, getwd): Change macros into extern inline functions.
7869         (__read_alias, __pread_alias, __pread64_alias, __readlink_alias,
7870         __getcwd_alias, __getwd_alias): New prototypes.
7871         * socket/bits/socket2.h (recv, recvfrom): Change macros into
7872         extern inline functions.
7873         (__recv_alias, __recvfrom_alias): New prototypes.
7874         * libio/bits/stdio2.h (gets, fgets, fgets_unlocked): Change macros
7875         into extern inline functions.
7876         (__gets_alias, __fgets_alias, __fgets_unlocked_alias): New prototypes.
7877
7878         * debug/pread_chk.c (__pread_chk): Fix order of arguments passed
7879         to __pread.
7880         * debug/pread64_chk.c (__pread64_chk): Fix order of arguments passed
7881         to __pread64.
7882
7883 2005-03-18  Daniel Jacobowitz  <dan@codesourcery.com>
7884
7885         * configure.in: Use %function instead of @function.
7886
7887 2005-03-18  Ulrich Drepper  <drepper@redhat.com>
7888
7889         [BZ #821]
7890         * include/link.h (struct link_map): Remove l_opencount.  Add l_removed.
7891         Change type of l_idx to int.
7892         * elf/dl-close.c: Basically rewrite.  Do not use l_opencount to
7893         determine whether a DSO has to be unloaded.  Instead compute this
7894         in this function.
7895         * elf/dl-deps.c: No need to manipulate l_opencount anymore.
7896         * elf/dl-lookup.c: Likewise.
7897         * elf/rtld.c: Likewise
7898         * elf/dl-open.c: Likewise.  Use l_init_called to determine whether
7899         object was just loaded.
7900         * elf/dl-fini.c: Bump l_direct_opencount instead of l_opencount.
7901         * elf/dl-load.c (_dl_map_object_from_fd): Do not recognize DSO which
7902         is about to be unloaded as a match.
7903         (_dl_map_object): Likewise.
7904         * elf/do-lookup.h (do_lookup_x): Do not look into DSO which is about
7905         to be unloaded.
7906         * elf/circleload1.c: Don't use l_opencount anymore.
7907         * elf/neededtest.c: Likewise.
7908         * elf/neededtest2.c: Likewise.
7909         * elf/neededtest3.c: Likewise.
7910         * elf/neededtest4.c: Likewise.
7911         * elf/unload.c: Likewise.
7912         * elf/unload2.c: Likewise.
7913         * elf/loadtest.c: Likewise.
7914
7915         [BZ #821]
7916         * elf/rtld.c: Preloading errors are now never fatal.
7917
7918 2005-03-08  Jakub Jelinek  <jakub@redhat.com>
7919
7920         [BZ #821]
7921         * elf/Makefile: Add rules to build and run unload5 test.
7922         * elf/unload5.c: New file.
7923
7924         [BZ #821]
7925         * elf/Makefile: Add rules to build and run unload4 test.
7926         * elf/unload4.c: New file.
7927         * elf/unload4mod1.c: New file.
7928         * elf/unload4mod2.c: New file.
7929         * elf/unload4mod3.c: New file.
7930         * elf/unload4mod4.c: New file.
7931
7932 2005-03-17  Roland McGrath  <roland@redhat.com>
7933
7934         * nscd/aicache.c (addhstaiX): Tweak type to avoid warning.
7935
7936 2005-03-16  Richard Henderson  <rth@redhat.com>
7937
7938         [BZ #721]
7939         * include/libc-symbols.h (__hidden_proto): Remove bogus declaration
7940         of internal.
7941         (__hidden_def1, __hidden_dot_def1): Remove.
7942         (__hidden_def2, __hidden_def3): Remove.
7943         (__hidden_ver1): New.
7944         (hidden_ver, hidden_def, hidden_weak): Use it.
7945         (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data
7946         version of the macro.
7947
7948         [BZ #721]
7949         * include/wchar.h (__wcscoll): Remove.
7950         * wcsmbs/wcscoll.c: Define wcscoll directly instead of via __wcscoll.
7951         * string/strcoll.c: Don't issue libc_hidden_def STRCOLL redefined.
7952
7953 2005-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
7954
7955         * elf/elf.h: Define MIPS TLS relocations.
7956
7957 2005-03-16  Ulrich Drepper  <drepper@redhat.com>
7958
7959         * elf/circleload1.c (main): Pretty printing.
7960
7961 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
7962
7963         * sysdeps/generic/wordexp.c (exec_comm_child): Add inline keyword.
7964         Patch by Dan Kegel <dank@kegel.com>.
7965
7966         [BZ #721]
7967         * elf/dynamic-link.h (elf_machine_rel, elf_machine_rel_relative,
7968         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
7969         Add inline keyword.
7970         * sysdeps/alpha/dl-machine.h (elf_machine_rela,
7971         elf_machine_rela_relative, elf_machine_lazy_rel): Add always_inline
7972         attribute.
7973         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7974         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.  Change
7975         static inline into auto inline.
7976         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7977         elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
7978         * sysdeps/generic/dl-machine.h (elf_machine_rel, elf_machine_rela):
7979         Likewise.
7980         * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
7981         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
7982         Likewise.
7983
7984 2005-03-15  Jakub Jelinek  <jakub@redhat.com>
7985
7986         [BZ #789]
7987         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Fix asm constraints.
7988         Remove memory clobber.
7989
7990         * sysdeps/x86_64/hp-timing.h (HP_TIMING_ACCUM): Make the addition
7991         thread-safe.  Subtract GLRO(dl_hp_timing_overhead) from Diff.
7992
7993 2005-03-14  Jakub Jelinek  <jakub@redhat.com>
7994
7995         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Don't include
7996         asm/types.h.
7997
7998 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
7999
8000         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
8001         MAP_NONBLOCK.
8002         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8003         Correct MAP_GROWSDOWN value.
8004
8005 2005-03-13  Roland McGrath  <roland@redhat.com>
8006
8007         * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps
8008         version if there is one.  Only #error if macros are then undefined.
8009         * sysdeps/generic/tls-macros.h: New file.
8010
8011 2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
8012
8013         * sysdeps/hppa/configure.in: Remove old Makefile leftovers.
8014         * sysdeps/hppa/configure: Regenerated.
8015
8016 2005-03-08  Roland McGrath  <roland@redhat.com>
8017
8018         * sysdeps/gnu/errlist-compat.awk: Use NERR in all array decls, so
8019         array types match exactly in C alias decls.
8020
8021 2005-03-07  Ulrich Drepper  <drepper@redhat.com>
8022
8023         * malloc/arena.c (ptmalloc_init): Recognize MALLOC_PERTURB_ and call
8024         mallopt appropriately.
8025         * malloc/malloc.h: Define M_PERTURB.
8026         * malloc/malloc.c (perturb_byte): New variable.
8027         (alloc_perturb, free_perturb): New macros.
8028         (_int_malloc): Before returning, overwrite the memory if this is
8029         requested.
8030         (_int_free): Overwrite freed memory if requested.
8031         (mALLOPt): Handle M_PERTURB.
8032         * test-skeleton.c: Add call to mallopt with M_PERTURB command.
8033
8034         * elf/dl-close.c (_dl_close): Decrement l_opencount before
8035         printing debug message.
8036         * elf/dl-open.c (dl_open_worker): Always print the new opencount
8037         in debug messages.
8038
8039 2005-03-06  Ulrich Drepper  <drepper@redhat.com>
8040
8041         * elf/dl-close.c (_dl_close): Unify debug message format.
8042
8043         * elf/dl-close.c (_dl_close): Print debug message just before
8044         destroying a link map.
8045
8046         * elf/do-lookup.h (do_lookup_x): Add namespace info to debug output.
8047         * elf/dl-version.c (match_symbol): Likewise.
8048
8049         * posix/bits/unistd.h (pread): Fix typo in __USE_FILE_OFFSET64 code.
8050
8051         * debug/recv_chk.c (__recv_chk): Always fail if request could
8052         overflow the buffer.
8053         * debug/recvfrom_chk.c (__recvfrom_chk): Likewise.
8054         * socket/bits/socket2.h (recv): Avoid calls to the _chk variant if
8055         we know the call succeeds.
8056         (recvfrom): Likewise.
8057
8058 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
8059
8060         * posix/regexec.c (check_node_accept_bytes): Correct cast to avoid
8061         warning.
8062         * posix/regex_internal.c (re_string_reconstruct): Add cast to
8063         avoid warning.
8064         (build_wcs_upper_buffer): Change type of bug to plain char.
8065         * locale/weightwc.h (findidx): Add casts to avoid warnings.
8066         * time/mktime.c (ranged_convert): Initialize tm to make the
8067         compiler happy.
8068         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Add casts to avoid warnings.
8069         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Add casts to avoid warnings.
8070         * wcsmbs/mbsnrtowcs.c: Add casts to avoid warnings.
8071         * wcsmbs/wcsrtombs.c (__wcsrtombs): Add casts to avoid warnings.
8072         * wcsmbs/wcrtomb.c (__wcrtomb): Add casts to avoid warnings.
8073         * wcsmbs/mbrtowc.c (__mbrtowc): Use unsigned char for outbuf.
8074         * wcsmbs/wctob.c (wctob): Make buf array of unsigned char.
8075         * sysdeps/generic/strchrnul.c: Add cast to avoid warning.
8076         * libio/iofwide.c: Add casts to avoid warnings.
8077         * stdio-common/printf-prs.c (parse_printf_format): Introduce new
8078         variable f to avoid warnings.
8079         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8080         Fix a few casts to avoid warnings.
8081         * iconv/gconv_simple.c (internal_utf8_loop): Make start unsigned
8082         to avoid warning.
8083
8084         [BZ #1101]
8085         * posix/regex_internal.c [_LIBC] (build_wcs_buffer): Avoid using
8086         dynamically sized array.
8087         (build_wcs_upper_buffer): Likewise.
8088
8089 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
8090
8091         * include/bits/unistd.h: New file.
8092         * include/bits/socket2.h: New file.
8093
8094 2005-03-05  Ulrich Drepper  <drepper@redhat.com>
8095
8096         * sunrpc/key_call.c: Remove doors support.
8097         * sunrpc/Makefile: Remove CPPFLAGS-key_call.c definition.
8098         * configure.in: Remove test for doors support which never existed.
8099         * config.make.in: Remove have_doors entry.
8100
8101         * configure.in: Make sure at least gcc 3.4 is used.  Undo last change.
8102         * config.make.in: Undo last change.
8103
8104         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Unconditionally use
8105         -mtune.
8106
8107 2005-03-05  Roland McGrath  <roland@redhat.com>
8108
8109         * sysdeps/generic/ldsodefs.h (_dl_out_of_memory_internal): Remove decl.
8110         (_dl_out_of_memory): Use rtld_hidden_proto.
8111         * elf/dl-error.c (_dl_out_of_memory): Use rtld_hidden_data_def.
8112         (_dl_signal_error): Don't use INTUSE on _dl_out_of_memory.
8113         * elf/dl-open.c (_dl_open): Likewise.
8114         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8115
8116         * sunrpc/des_impl.c (des_set_key): Make first argument unsigned char *.
8117
8118         * elf/dl-addr.c (_dl_addr): Add a cast.
8119
8120         [BZ #821]
8121         * elf/unload3mod4.c: Declare foo.
8122         * elf/testobj2.c: Include <stdio.h>.
8123
8124         * sysdeps/gnu/errlist.awk: Emit NERR macro for _sys_nerr_internal
8125         value constant, and use it in the defn.
8126         * sysdeps/gnu/errlist-compat.awk: Use NERR in array decl.
8127         Use actual size for compat array decls.
8128
8129         * config.make.in (cc-mtune): New substituted variable.
8130         * configure.in (libc_cv_cc_mtune): New test for -mtune= switch,
8131         done only if libc_mtune_example is defined.
8132         * sysdeps/i386/configure.in (libc_mtune_example): Set it.
8133         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Use $(cc-mtune).
8134
8135 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
8136
8137         [BZ #721]
8138         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define
8139         unconditionally to (defined RTLD_BOOTSTRAP).
8140         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Likewise.
8141
8142 2005-03-05  Jakub Jelinek  <jakub@redhat.com>
8143
8144         * Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
8145         $(inst_slibdir) in AS_NEEDED directive.
8146
8147 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
8148
8149         * posix/bits/unistd.h (pread, pread64): Don't swap function arguments.
8150
8151 2005-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8152
8153         [BZ #776]
8154         * iconv/iconvconfig.c: Fix comment for the output file.
8155         (write_output): Clear padding in header.
8156
8157 2005-03-03  Ulrich Drepper  <drepper@redhat.com>
8158
8159         [BZ #821]
8160         * elf/dl-close.c (_dl_close): Don't try to set up new searchpath if the
8161         loader is closed.  Fixes unload3.
8162         * elf/tst-global1.c: New file.
8163         * elf/Makefile (tests): Add tst-global1.
8164         * elf/testobj2.c (p): New function.
8165
8166 2005-03-03  Jakub Jelinek  <jakub@redhat.com>
8167
8168         [BZ #821]
8169         * elf/Makefile: Add rules to build and run unload3 test.
8170         * elf/unload3.c: New test.
8171         * elf/unload3mod1.c: New file.
8172         * elf/unload3mod2.c: New file.
8173         * elf/unload3mod3.c: New file.
8174         * elf/unload3mod4.c: New file.
8175
8176 2005-02-21  Alan Modra <amodra@bigpond.net.au>
8177
8178         [BZ #1394]
8179         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Don't
8180         use __uint128_t.
8181
8182 2005-03-01  Jakub Jelinek  <jakub@redhat.com>
8183
8184         * posix/bits/unistd.h (read, pread, pread64): Use __bos0 instead
8185         of __bos.
8186         * socket/bits/socket2.h (recv, recvfrom): Likewise.
8187
8188 2005-03-01  Roland McGrath  <roland@redhat.com>
8189
8190         [BZ #721]
8191         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
8192         of [RESOLVE_MAP].
8193
8194 2005-03-01  Alfred M. Szmidt  <ams@gnu.org>
8195
8196         [BZ #777]
8197         * elf/dl-load.c (__stack_prot) [!PROT_GROWSUP && !PROT_GROWSDOWN]:
8198         Add missing initializer.
8199
8200         [BZ #777]
8201         * malloc/arena.c: #include <stdbool.h> outside of [SHARED &&
8202         USE_TLS && !USE___THREAD].
8203
8204 2005-02-26  GOTO Masanori  <gotom@debian.or.jp>
8205
8206         * csu/Makefile: Use printf instead of echo for some shells.
8207
8208 2005-02-28  Roland McGrath  <roland@redhat.com>
8209
8210         * debug/warning-nop.c (__nop): Rename to nop, make it static.
8211         (__warndecl): Use alias attribute directly, instead of strong_alias
8212         macro.  Add attribute_hidden.
8213
8214 2005-02-28  Ulrich Drepper  <drepper@redhat.com>
8215
8216         * posix/bits/unistd.h: Avoid calling __*_chk variants if we can
8217         determine the call will never trigger a failure.
8218         * debug/read_chk.c (__read_chk): Always fail if the buffer is too
8219         small.
8220         * debug/readlink_chk.c (__readlink_chk): Likewise.
8221         * debug/pread64_chk.c (__pread64_chk): Likewise.
8222         * debug/pread_chk.c (__pread_chk): Likewise.
8223
8224         * sysdeps/i386/i686/memset_chk.S: Remove alias and warning.
8225         * sysdeps/x86_64/memset_chk.S: Likewise.
8226
8227 2005-02-24  Roland McGrath  <roland@redhat.com>
8228
8229         * debug/Versions (libc: GLIBC_2.4): Remove
8230         __memset_zero_constant_len_parameter.
8231         * sysdeps/generic/memset_chk.c: Remove alias and warning.
8232         * misc/sys/cdefs.h (__warndecl): New macro.
8233         * debug/warning-nop.c: New file.
8234         * string/bits/string3.h (memset): Call __warn_memset_zero_len with no
8235         arguments, instead of calling __memset_zero_constant_len_parameter.
8236         Use __warndecl for __warn_memset_zero_len.
8237         * debug/Makefile (routines): Add $(static-only-routines).
8238         (static-only-routines): New variable.
8239
8240 2005-02-27  Ulrich Drepper  <drepper@redhat.com>
8241
8242         * po/tr.po: Update from translation team.
8243
8244 2005-02-26  Ulrich Drepper  <drepper@redhat.com>
8245
8246         * elf/dl-addr.c: Cleanups.  Move declaration next to first use.
8247
8248         * dlfcn/dlerror.c (check_free): New function.  Extract common code
8249         from fini and free_key_mem.  Check whether this is libdl in the
8250         base namespace.
8251
8252 2005-02-25  Ulrich Drepper  <drepper@redhat.com>
8253
8254         * elf/dl-lookup.c (_dl_debug_bindings): Add namespace information
8255         to debug output.
8256
8257 2004-11-11  Richard Sandiford  <rsandifo@redhat.com>
8258
8259         [BZ #758]
8260         * sysdeps/unix/sysv/linux/mips/configure.in (asm-unistd.h): Only
8261         preprocess <asm/unistd.h> if it defines ABI-prefixed syscall names
8262         like __NR_N32_open.  Just include <asm/unistd.h> otherwise.
8263         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8264         * sysdeps/unix/sysv/linux/mips/mips32/kern64/sysdep.h: Delete
8265         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h (SYS_ify): Use the
8266         standard __NR prefix.
8267         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h (SYS_ify): Likewise.
8268         * sysdeps/unix/sysv/linux/mips/Makefile (syscall-%.h): Rework so that
8269         the output file is compatible with both pre-2.6 and 2.6 kernel headers.
8270         Extract separate syscall lists for each ABI.
8271
8272 2005-02-23  Ulrich Drepper  <drepper@redhat.com>
8273
8274         * Makerules (libc.so): Add AS_NEEDED line for dynamic linker.
8275
8276         [BZ #719]
8277         * elf/Makefile: Run tst-tls9-static again.
8278
8279 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
8280
8281         [BZ #719]
8282         * sysdeps/generic/libc-tls.c (static_dtv): Size the same as the
8283         slotinfo array.
8284         (__libc_setup_tls): Initialize length of DTV based on array length.
8285         * elf/dl-load.c: Revert last change.
8286         * sysdeps/generic/dl-tls.c: Revert last change.
8287
8288         * posix/Makefile (tests): Add tst-execvp1, tst-execvp2, tst-execlp1,
8289         tst-execlp2, tst-execv1, tst-execv2, tst-execl1, tst-execl2,
8290         tst-execve1, tst-execve2, tst-execle1, and tst-execle2.
8291         * posix/tst-execl1.c: New file.
8292         * posix/tst-execl2.c: New file.
8293         * posix/tst-execle1.c: New file.
8294         * posix/tst-execle2.c: New file.
8295         * posix/tst-execlp1.c: New file.
8296         * posix/tst-execlp2.c: New file.
8297         * posix/tst-execv1.c: New file.
8298         * posix/tst-execv2.c: New file.
8299         * posix/tst-execve1.c: New file.
8300         * posix/tst-execve2.c: New file.
8301         * posix/tst-execvp1.c: New file.
8302         * posix/tst-execvp2.c: New file.
8303
8304 2005-02-22  Roland McGrath  <roland@redhat.com>
8305
8306         * include/signal.h: Revert last change.
8307         (__sigemptyset): Use __builtin_memset instead of memset.
8308
8309 2005-02-22  Ulrich Drepper  <drepper@redhat.com>
8310
8311         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use
8312         non-cancelable I/O functions.
8313
8314 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
8315
8316         [BZ #769]
8317         * nscd/nscd-client.h: Include sys/uio.h.
8318         (__readall, __readvall, writeall): New prototypes.
8319         * nscd/connections.c (writeall): New function.
8320         (handle_request): Use it.
8321         * nscd/aicache.c (addhstaiX): Likewise.
8322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8323         * nscd/hstcache.c (cache_addhst): Likewise.
8324         * nscd/grpcache.c (cache_addgr): Likewise.
8325         * nscd/pwdcache.c (cache_addpw): Likewise.
8326         * nscd/nscd_helper.c (__readall, __readvall): New functions.
8327         * nscd/nscd_getai.c (__nscd_getai): Use them.
8328         * nscd/nscd_getpw_r.c (__nscd_getpw_r): Likewise.
8329         * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
8330         * nscd/nscd_gethst_r.c (__nscd_gethst_r): Likewise.
8331         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
8332
8333 2005-02-22  Roland McGrath  <roland@redhat.com>
8334
8335         * include/sys/socket.h: Declare __recv.
8336         * sysdeps/generic/recv.c (recv): Rename to __recv, and add weak alias.
8337         * sysdeps/mach/hurd/recv.c: Likewise.
8338
8339         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <execinfo.h> for
8340         __backtrace_* decls.
8341
8342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8343         (INTERNAL_SYSCALL_ERROR_P): Evalute VAL.  Parenthesize ERR.
8344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8345
8346         * include/signal.h: Include <string.h> for memset decl.
8347
8348 2005-02-22  Andreas Schwab  <schwab@suse.de>
8349
8350         * posix/execvp.c (execvp): Fix invalid free.
8351
8352 2005-02-22  Jakub Jelinek  <jakub@redhat.com>
8353
8354         [BZ #1095]
8355         * malloc/Makefile (CFLAGS-mcheck-init.c): Add.
8356         * sunrpc/Makefile: Add $(PIC-ccflag) to CFLAGS-x* for
8357         librpcsvc.a objects.
8358
8359 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
8360
8361         [BZ #1107]
8362         * iconvdata/ibm930.h: Correct Yen mapping.
8363         * iconvdata/ibm939.h: Likewise.
8364         * iconvdata/testdata/IBM930..UTF8: Adjust test data.
8365         * iconvdata/testdata/IBM939..UTF8: Likewise.
8366         Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
8367
8368         * iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
8369         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
8370         (distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
8371         ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
8372         ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
8373         ibm1158.c, and ibm1158.h.
8374         * iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
8375         IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
8376         * iconvdata/gconv-modules: Likewise.
8377         * iconvdata/ibm1025.c: New file.
8378         * iconvdata/ibm1025.h: New file.
8379         * iconvdata/ibm1122.c: New file.
8380         * iconvdata/ibm1122.h: New file.
8381         * iconvdata/ibm1137.c: New file.
8382         * iconvdata/ibm1137.h: New file.
8383         * iconvdata/ibm1153.c: New file.
8384         * iconvdata/ibm1153.h: New file.
8385         * iconvdata/ibm1154.c: New file.
8386         * iconvdata/ibm1154.h: New file.
8387         * iconvdata/ibm1155.c: New file.
8388         * iconvdata/ibm1155.h: New file.
8389         * iconvdata/ibm1156.c: New file.
8390         * iconvdata/ibm1156.h: New file.
8391         * iconvdata/ibm1157.c: New file.
8392         * iconvdata/ibm1157.h: New file.
8393         * iconvdata/ibm1158.c: New file.
8394         * iconvdata/ibm1158.h: New file.
8395         * iconvdata/testdata/IBM1025: New file.
8396         * iconvdata/testdata/IBM1025..UTF8: New file.
8397         * iconvdata/testdata/IBM1122: New file.
8398         * iconvdata/testdata/IBM1122..UTF8: New file.
8399         * iconvdata/testdata/IBM1137: New file.
8400         * iconvdata/testdata/IBM1137..UTF8: New file.
8401         * iconvdata/testdata/IBM1153: New file.
8402         * iconvdata/testdata/IBM1153..UTF8: New file.
8403         * iconvdata/testdata/IBM1154: New file.
8404         * iconvdata/testdata/IBM1154..UTF8: New file.
8405         * iconvdata/testdata/IBM1155: New file.
8406         * iconvdata/testdata/IBM1155..UTF8: New file.
8407         * iconvdata/testdata/IBM1156: New file.
8408         * iconvdata/testdata/IBM1156..UTF8: New file.
8409         * iconvdata/testdata/IBM1157: New file.
8410         * iconvdata/testdata/IBM1157..UTF8: New file.
8411         * iconvdata/testdata/IBM1158: New file.
8412         * iconvdata/testdata/IBM1158..UTF8: New file.
8413         Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
8414
8415 2005-02-10  Paolo Bonzini  <bonzini@gnu.org>
8416
8417         * posix/regcomp.c (lower_subexp): Do not optimize empty
8418         subexpressions even with REG_NOSUB.
8419         * posix/rxspencer/tests: Add a previously failing testcase.
8420
8421 2005-02-21  Alan Modra <amodra@bigpond.net.au>
8422
8423         [BZ #719]
8424         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Assert that dtv
8425         array index is within bounds.
8426
8427 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
8428
8429         [BZ #719]
8430         * elf/dl-load.c: Do not allow PT_TLS in modules loaded in statically
8431         linked code.
8432         * sysdeps/generic/dl-tls.c [!SHARED]: Don't build _dl_next_tls_modid.
8433         * elf/Makefile: Remove rules to build and run tst-tls9-static.
8434
8435         [BZ #719]
8436         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Avoid using
8437         THREAD_DTV multiple times, this minimally reduces code size on
8438         some archs.
8439
8440 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
8441
8442         [BZ #768]
8443         * nscd/nscd_gethst_r.c (nscd_gethst_r): Set *h_errnop to
8444         NETDB_INTERNAL if buffer is too small.
8445
8446         [BZ #768]
8447         * nscd/hstcache.c (INCR): Remove.
8448         (addhstbyX): Double buflen in each iteration rather than add INCR.
8449         * nscd/grpcache.c: Likewise.
8450         * nscd/pwdcache.c: Likewise.
8451
8452 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
8453
8454         * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory
8455         map if requested.
8456         * debug/chk_fail.c: Request backtrace and memory map dump.
8457
8458         * Versions.def: Add GLIBC_2.4 for libc.
8459         * debug/fgets_chk.c: New file.
8460         * debug/fgets_u_chk.c: New file.
8461         * debug/getcwd_chk.c: New file.
8462         * debug/getwd_chk.c: New file.
8463         * debug/readlink_chk.c: New file.
8464         * debug/read_chk.c: New file.
8465         * debug/pread_chk.c: New file.
8466         * debug/pread64_chk.c: New file.
8467         * debug/recv_chk.c: New file.
8468         * debug/recvfrom_chk.c: New file.
8469         * debug/Versions: Add all new functions with version GLIBC_2.4.
8470         * debug/Makefile (routines): Add fgets_chk, fgets_u_chk, read_chk,
8471         pread_chk, pread64_chk, recv_chk, recvfrom_chk, readlink_chk,
8472         getwd_chk, and getcwd_chk.  Plus appropriate CFLAGS definitions.
8473         * debug/tst-chk1.c: Add more tests.
8474         * libio/bits/stdio2.h: Add macros for fgets and fgets_unlocked.
8475         * include/stdio.h: Declare __fgets_chk and __fgets_unlocked_chk.
8476         * posix/unistd.h: Include <bits/unistd.h> for fortification.
8477         * posix/bits/unistd.h: New file.
8478         * posix/Makefile (headers): Add bits/unistd.h.
8479         * socket/sys/socket.h: Include <bits/socket2.h> for fortification.
8480         * socket/bits/socket2.h: New file.
8481         * socket/Makefile (headers): Add bits/socket2.h.
8482
8483         * string/bits/string3.h: Extend memset macro to check for zero 3rd
8484         parameter and use __memset_zero_constant_len_parameter in that case.
8485         * sysdeps/generic/memset_chk.c: Add
8486         __memset_zero_constant_len_parameter alias and linker warning.
8487         * debug/Versions: Add __memset_zero_constant_len_parameter to libc
8488         with version GLIBC_2.4.
8489
8490         * sysdeps/generic/bits/types.h: Don't unnecessarily use __extension__
8491         in __STD_TYPE definition.
8492
8493 2005-02-21  Jakub Jelinek  <jakub@redhat.com>
8494
8495         * malloc/malloc.c (malloc_printerr): If MALLOC_CHECK_={5,7}, print
8496         the error message rather than program name.
8497
8498 2005-02-21  Ulrich Drepper  <drepper@redhat.com>
8499
8500         [BZ #767]
8501         * posix/unistd.h: symlink and readlink are unconditionally
8502         available in the 2001 spec.
8503
8504 2005-02-16  Roland McGrath  <roland@redhat.com>
8505
8506         * intl/dcigettext.c (_nl_find_msg): Add a cast.
8507
8508         * nis/nis_clone_dir.c (nis_clone_directory): Use char * for ADDR.
8509         * nis/nis_clone_obj.c (nis_clone_object): Likewise.
8510         * nis/nis_clone_res.c (nis_clone_result): Likewise.
8511
8512         * resolv/nss_dns/dns-network.c (getanswer_r): Use const unsigned char *
8513         for END_OF_MESSAGE and CP.
8514
8515         * resolv/res_send.c (send_dg): Add else branch for case impossible
8516         unless `poll' is buggy.
8517
8518         * crypt/crypt_util.c (__setkey_r): Add a cast.
8519
8520         * locale/programs/linereader.c (get_toplvl_escape): Use size_t for
8521         NBYTES, and unsigned char * for BYTES.
8522
8523         * locale/programs/charmap.c (charmap_new_char): Use size_t and
8524         unsighed char * for NBYTES, BYTES parameters.
8525
8526         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Take const char * argument
8527         and cast it.
8528         * sysdeps/i386/i686/dl-hash.h (_dl_elf_hash): Likewise.
8529
8530         * sunrpc/create_xid.c (_create_xid): Don't use unsigned long for RES.
8531
8532         * sunrpc/svcauth_des.c (_svcauth_des): Fix cast type.
8533
8534         * sunrpc/auth_des.c (authdes_create): Don't use u_char for PKEY_DATA.
8535         (authdes_marshal): Don't use unsigned int for LEN.
8536         * sunrpc/xdr.c (xdr_hyper): Don't use unsigned long for T2.
8537         (xdr_u_hyper): Likewise.
8538         (xdr_u_short): Don't use u_long for L.
8539         * sunrpc/xdr_intXX_t.c (xdr_int64_t): Don't use uint32_t for T2.
8540
8541         * inet/rexec.c (rexec_af): Use socklen_t.
8542         * sunrpc/key_call.c (getkeyserv_handle): Likewise.
8543         * sunrpc/rtime.c (rtime): Likewise.
8544         * resolv/res_send.c (send_vc, send_dg): Likewise.
8545         * nis/nis_callback.c (__nis_create_callback): Likewise.
8546
8547         * sysdeps/generic/libc-start.c: Use unsigned int for nthreads ptr.
8548
8549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix type of ADDR local.
8550
8551         * libio/libio.h (_IO_BE): Add parenthesis around EXPR.
8552
8553         * intl/dcigettext.c (INTVARDEF, INTUSE): Macros removed.
8554         (_nl_default_dirname): Use libc_hidden_data_def instead of INTVARDEF.
8555         (libc_freeres_fn, DCIGETTEXT): Don't use INTUSE.
8556         * intl/bindtextdom.c (INTUSE): Macro removed.
8557         (_nl_default_dirname): Use libc_hidden_proto.
8558         (set_binding_values): Don't use INTUSE.
8559         * include/libintl.h (_libc_intl_domainname_internal): Decl removed.
8560         (_libc_intl_domainname): Use libc_hidden_proto.
8561         * posix/regex_internal.h (gettext): Remove INTUSE on it.
8562         * locale/SYS_libc.c (_libc_intl_domainname): Use libc_hidden_data_def
8563         rather than INTDEF.
8564         * include/libintl.h (_): Don't use *_internal name.
8565
8566         * ctype/ctype-extn.c (__ctype_tolower, __ctype_toupper): Use int32_t,
8567         not uint32_t.
8568         * locale/lc-ctype.c (_nl_postload_ctype): Likewise for assignments.
8569
8570         * iconv/gconv_open.c (__gconv_open): Remove useless cast.
8571
8572         [BZ #721]
8573         * sysdeps/i386/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
8574         of [RESOLVE_MAP].
8575         * sysdeps/sh/dl-machine.h (ELF_MACHINE_NO_REL): Likewise.
8576         * sysdeps/powerpc/powerpc32/dl-machine.h
8577         (elf_machine_rel, elf_machine_rel_relative): Removed.
8578         * sysdeps/powerpc/powerpc64/dl-machine.h
8579         (elf_machine_rel, elf_machine_rel_relative): Removed.
8580
8581 2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
8582
8583         [BZ #721]
8584         * elf/dynamic-link.h: Don't declare nested auto functions that are
8585         not going to be defined.
8586
8587 2004-07-23  Jakub Jelinek  <jakub@redhat.com>
8588
8589         [BZ #284]
8590         * include/features.h (_POSIX_SOURCE, _POSIX_C_SOURCE): Define
8591         if _XOPEN_SOURCE >= 500 even if __STRICT_ANSI__ is defined.
8592
8593 2005-02-16  Roland McGrath  <roland@redhat.com>
8594
8595         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Move UBP_EV defn
8596         inside [! SHARED] where it's used.
8597
8598 2005-02-15  Ulrich Drepper  <drepper@redhat.com>
8599
8600         * sysdeps/generic/bits/byteswap.h: Make sure result of all the
8601         functions and macros is unsigned.
8602
8603 2005-02-11  Barry deFrese  <bddebian@comcast.net>
8604
8605         [BZ #722]
8606         * sysdeps/mach/hurd/setresgid.c: Use weak_alias.
8607         * sysdeps/mach/hurd/setresuid.c: Likewise.
8608
8609 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
8610
8611         * misc/sys/syslog.h: Fix typo in comment.
8612
8613 2005-02-14  Roland McGrath  <roland@redhat.com>
8614
8615         [BZ #720]
8616         * sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
8617         if it wasn't originally.
8618
8619 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
8620
8621         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove the duplicated
8622         getpeername entry.
8623         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8624         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8625
8626 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
8627
8628         * scripts/soversions.awk: Only record first WORDSIZE{32,64}
8629         matching line.
8630
8631 2005-02-14  Alan Modra  <amodra@bigpond.net.au>
8632
8633         [BZ #721]
8634         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Define
8635         with auto inline, and attribute always_inline.
8636         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
8637         (elf_machine_rel, elf_machine_rel_relative): Likewise.
8638         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8639         (elf_machine_rela_relative, elf_machine_lazy_rel): Likewise.
8640         (elf_machine_rel, elf_machine_rel_relative): Likewise.
8641         (elf_machine_tprel): Likewise.
8642
8643 2005-02-14  Andreas Schwab  <schwab@suse.de>
8644
8645         * manual/filesys.texi (Random Access Directory): Fix type of file
8646         position value for telldir and seekdir.
8647         (Attribute Meanings): Fix typo.
8648
8649 2005-02-14  H.J. Lu  <hongjiu.lu@intel.com>
8650
8651         * csu/elf-init.c (__libc_csu_fini): Enable if LIBC_NONSHARED
8652         isn't defined.
8653         * sysdeps/generic/libc-start.c (LIBC_START_MAIN): Call fini
8654         if SHARED isn't defined.
8655         * elf/Makefile (tests-static): Add tst-array1-static.
8656         ($(objpfx)tst-array1-static.out): New target.
8657         * elf/tst-array1-static.c: New file.
8658
8659 2005-02-11  Jakub Jelinek  <jakub@redhat.com>
8660
8661         [BZ #1100]
8662         * debug/chk_fail.c (__chk_fail): Add a while (1) loop around
8663         __libc_message to kill GCC warning about noreturn function returning.
8664
8665         * elf/rtld.c (dlmain): If LD_TRACE_PRELINKING, clear l_relocated flag
8666         before relocating ld.so again.
8667
8668         * elf/rtld.c (_dl_start): Set bootstrap_map.l_relocated even
8669         for already prelinked ld.so.
8670
8671 2005-02-11  Roland McGrath  <roland@redhat.com>
8672
8673         [BZ #715]
8674         * Makefile (installed-stubs): New variable.
8675         Set to $(inst_includedir)/gnu/stubs.h if $(biarch) is no,
8676         or to $(inst_includedir)/gnu/stubs-$(biarch).h if otherwise.
8677         [$(biarch) != no] (install-others-nosubdir): Add $(installed-stubs).
8678         ($(inst_includedir)/gnu/stubs.h): Use $(installed-stubs) for this
8679         rule's target.
8680         ($(inst_includedir)/gnu/stubs.h): New target, install from ...
8681         * include/stubs-biarch.h: New file.
8682
8683         * shlib-versions (i.86-.*-.*): Add WORDSIZE64 line mapping to x86_64.
8684
8685         * Makeconfig ($(common-objpfx)soversions.mk): Depend on Makeconfig.
8686         Emit defn for variable `biarch'.
8687
8688         * include/stub-tag.h: Update comment.
8689
8690         * scripts/soversions.awk: Fix default version set handling.
8691
8692 2005-02-10  Roland McGrath  <roland@redhat.com>
8693
8694         [BZ #157]
8695         * include/libc-symbols.h (stub_warning): Emit a marker section called
8696         .gnu.glibc-stub.NAME.
8697         * Makerules ($(objpfx)stubs): Depend on object files, not dep files.
8698         Use objdump to collect those marker section names.
8699         ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
8700
8701         * Rules (subdir_objs, subdir_stubs): New phony targets.
8702         * Makefile (+subdir_targets): Add them.
8703
8704         * Makerules ($(common-objpfx)Versions.all): Grok new leading column in
8705         soversions.i.
8706
8707         * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
8708         Reported by H.J. Lu <hongjiu.lu@intel.com>.
8709
8710         * scripts/lib-names.awk: Always print WORDSIZE32 section first when
8711         doing two.
8712
8713 2005-02-10  Jakub Jelinek  <jakub@redhat.com>
8714
8715         * sysdeps/powerpc/powerpc32/bits/link.h: Removed.
8716         * sysdeps/powerpc/powerpc64/bits/link.h: Moved to...
8717         * sysdeps/powerpc/bits/link.h: ... here.  New file.
8718
8719 2005-02-09  Jakub Jelinek  <jakub@redhat.com>
8720
8721         [BZ #710]
8722         * stdlib/random_r.c (__initstate_r): Save old state.
8723         * stdlib/Makefile (tests): Add tst-random2.
8724         * stdlib/tst-random2.c: New test.
8725         Reported by Peter Bergner <bergner@vnet.ibm.com>.
8726
8727 2005-01-25  H.J. Lu  <hongjiu.lu@intel.com>
8728
8729         * dlfcn/dlfcn.c (init): Put it in .init_array section.
8730
8731 2005-02-10  Roland McGrath  <roland@redhat.com>
8732
8733         [BZ #632]
8734         * scripts/soversions.awk: Expect cpu, vendor, os as separate variables
8735         from command line.
8736         Grok shlib-versions lines with WORDSIZE* in second column.
8737         Add new leading column to output, DEFAULT for existing output lines.
8738         Also emit lines with WORDSIZE* for alternate configurations.
8739         * Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
8740         ($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
8741         ($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
8742         of soversions.mk; replace inline shell script with use of ...
8743         * scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
8744         emit multiple sets of macros under #if.
8745         * shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
8746         (s390x-.*-.*): Likewise for s390.
8747         (powerpc64-.*-.*): Likewise for powerpc.
8748         (sparc64-.*-.*): Likewise for sparc.
8749         (s390-.*-.*, powerpc.*-.*-.*, sparc.*-.*-.*): Add WORDSIZE64 entries
8750         for these mapping back to the above.
8751
8752 2005-02-08  Jakub Jelinek  <jakub@redhat.com>
8753
8754         * elf/dl-load.c (_dl_map_object_from_fd): Fix a typo.
8755
8756 2005-02-08  Andreas Schwab  <schwab@suse.de>
8757
8758         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Remove use of
8759         RESOLVE.
8760
8761 2005-02-07  Richard Henderson  <rth@redhat.com>
8762
8763         [BZ #721]
8764         * iconvdata/jis0208.h (struct jisx0208_ucs_idx): Move before use.
8765
8766 2005-02-08  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8767
8768         * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using
8769         RESOLVE.
8770
8771 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
8772
8773         * elf/dl-load.c (_dl_map_object_from_fd): Make sure registers are
8774         set correctly.
8775
8776 2005-01-07  Richard Henderson  <rth@redhat.com>
8777
8778         [BZ #721]
8779         * math/math_private.h (__copysign): Define as builtin for gcc 4.
8780         (__copysignf, __copysignl): Likewise.
8781         * sysdeps/alpha/fpu/bits/mathinline.h (copysign): Don't define
8782         for gcc 4.0.
8783         (copysignf, copysignl, fabsf, fabs): Likewise.
8784         (__copysign, __copysignf, __copysignl): Remove.
8785         (__fabs, __fabsf): Remove.
8786
8787 2005-01-07  Jakub Jelinek  <jakub@redhat.com>
8788
8789         [BZ #738]
8790         * elf/dl-load.c (open_path): If rtld_search_dirs is in RELRO segment,
8791         avoid writing to it if none of the standard search directories exist.
8792
8793 2005-02-07  Steven Munroe  <sjmunroe@us.ibm.com>
8794
8795         [BZ #700]
8796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
8797         (__novec_setcontext, __setcontext): Fix typo so CCR is restored.
8798         Load MSR as a doubleword.
8799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
8800         (__novec_swapcontext, __swapcontext): Likewise.
8801
8802 2005-02-07  Ulrich Drepper  <drepper@redhat.com>
8803
8804         * iconv/iconv_prog.c (main): Provide more help in case on an error.
8805
8806         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Define.
8807
8808 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
8809
8810         [BZ #741]
8811         * nscd/nscd.c (termination_handler): Avoid segfault if some database
8812         is not enabled.
8813
8814         [BZ #741]
8815         * nscd/nscd_getai.c (__nscd_getai): If ai_resp->found == -1, set
8816         __nss_not_use_nscd_hosts and return -1.
8817         * nscd/nscd_initgroups.c (__nscd_getgrouplist): If
8818         initgr_resp->found == -1, set __nss_not_use_nscd_group and return -1.
8819         Avoid leaking sockets.
8820
8821 2005-01-28  Andreas Schwab  <schwab@suse.de>
8822             H.J. Lu  <hongjiu.lu@intel.com>
8823
8824         [BZ #677]
8825         * elf/dl-runtime.c (fixup): Change return type to
8826         DL_FIXUP_VALUE_TYPE. Use DL_FIXUP_VALUE_TYPE,
8827         DL_FIXUP_MAKE_VALUE and DL_FIXUP_VALUE_CODE_ADDR for relocation
8828         values. Use DL_FIXUP_VALUE_ADDR and DL_FIXUP_ADDR_VALUE to
8829         store and retrieve relocation values.
8830         (profile_fixup): Likewise.
8831         * include/link.h (link_map): Use DL_FIXUP_VALUE_TYPE for
8832         l_reloc_result.
8833         * sysdeps/generic/dl-fptr.h (link_map): Forward declaration.
8834         * sysdeps/generic/dl-lookupcfg.h (DL_FIXUP_VALUE_TYPE): New.
8835         (DL_FIXUP_MAKE_VALUE): Likewise.
8836         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
8837         (DL_FIXUP_VALUE_ADDR): Likewise.
8838         (DL_FIXUP_ADDR_VALUE): Likewise.
8839         * sysdeps/ia64/dl-lookupcfg.h: Include <dl-fptr.h> for "struct fdesc".
8840         (DL_FIXUP_VALUE_TYPE): New.
8841         (DL_FIXUP_MAKE_VALUE): Likewise.
8842         (DL_FIXUP_VALUE_CODE_ADDR): Likewise.
8843         (DL_FIXUP_VALUE_ADDR): Likewise.
8844         (DL_FIXUP_ADDR_VALUE): Likewise.
8845         * sysdeps/ia64/dl-machine.h (elf_machine_profile_fixup_plt): Removed.
8846         (elf_machine_profile_plt): Removed.
8847         (elf_machine_fixup_plt): Change return type and type of value
8848         parameter to struct fdesc.
8849         (elf_machine_plt_value): Likewise.
8850         (elf_machine_rela): Use DL_FIXUP_MAKE_VALUE to construct
8851         argument for elf_machine_fixup_plt.
8852
8853 2005-02-07  Jakub Jelinek  <jakub@redhat.com>
8854
8855         [BZ #742]
8856         * nscd/nscd.init (reload): Print Reloading nscd: before and a newline
8857         after the status string printed by killproc.
8858
8859 2004-11-18  Alexandre Oliva  <aoliva@redhat.com>
8860
8861         * manual/.cvsignore: Add dir-add.texi.
8862
8863 2005-02-06  Richard Henderson  <rth@redhat.com>
8864
8865         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Use RESOLVE_MAP
8866         all the time.
8867
8868 2004-11-03  Marcus Brinkmann  <marcus@gnu.org>
8869
8870         * configure.in (sysnames): Append sysdeps/generic for each add-on.
8871         * configure: Regenerated.
8872
8873 2005-02-02  Alfred M. Szmidt  <ams@gnu.org>
8874
8875         * sysdeps/mach/hurd/tls.h: Include <stdbool.h>
8876         (dtv_t): Change pointer type to be a struct which also contains
8877         information whether the memory pointed to is static TLS or not.
8878
8879         * sysdeps/generic/syslog.c (send_flags) [!send_flags]: Define it.
8880
8881         * shadow/sgetspent_r.c (FALSE): Macro renamed to ...
8882         (FALSEP): ... this.  Updated all references.
8883
8884         [BZ #765]
8885         * libio/fmemopen.c: Include <stdint.h>.
8886
8887 2005-01-30  Ulrich Drepper  <drepper@redhat.com>
8888
8889         [BZ #1103]
8890         * nscd/nscd_helper.c (get_mapping): Use MSG_NOSIGNAL if available.
8891         * nscd/connections.c (send_ro_fd): Likewise.
8892
8893 2005-01-28  H.J. Lu  <hongjiu.lu@intel.com>
8894
8895         * elf/tst-auditmod1.c: Add ia64 entries.
8896         * sysdeps/generic/ldsodefs.h (La_ia64_regs): New.
8897         (La_ia64_retval): New.
8898         (audit_ifaces): Add ia64 entries.
8899         * sysdeps/ia64/bits/link.h: New file.
8900         * sysdeps/ia64/dl-machine.h (elf_machine_runtime_setup): Test
8901         for dl_profile non-null.
8902         (ARCH_LA_PLTENTER): New.
8903         (ARCH_LA_PLTEXIT): New.
8904         * sysdeps/ia64/dl-trampoline.S (_dl_runtime_resolve): Allocate
8905         only 2 output registers. Allocate stack to save/restore
8906         8 incoming fp registers. Call _dl_fixup instead of fixup.
8907         (_dl_runtime_profile): Rewrite.
8908
8909 2005-01-28  Martin Schwidefsky  <schwidefsky@de.ibm.com>
8910
8911         * sysdeps/s390/bits/link.h: New file.
8912         * sysdeps/s390/s390-32/dl-trampoline.S: New file.
8913         * sysdeps/s390/s390-64/dl-trampoline.S: New file.
8914         * sysdeps/s390/s390-32/dl-machine.h: Move PLT trampolines to
8915         dl-trampoline.S. Use RESOLVE_MAP instead of RESOLVE to protect
8916         relocation code.
8917         (elf_machine_runtime_setup): Test for dl_profile non-null.
8918         (elf_machine_rela): Remove code using RESOLVE.
8919         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
8920         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8921         * sysdeps/generic/ldsodefs.h (La_s390_32_regs, La_s390_32_retval,
8922         La_s390_64_regs, La_s390_64_retval): New.
8923         * elf/tst-auditmod1.c: Add s390 entries.
8924
8925         [BZ #743]
8926         * sysdeps/s390/bits/string.h (strlen, strncpy, strcat, strncat,
8927         strncat, memchr, strcmp): Add missing memory clobber.
8928
8929 2005-01-27  Ulrich Drepper  <drepper@redhat.com>
8930
8931         * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_globfree): Also
8932         copy gl_offs.  Patch by Sergey Tikhonov <tsv@solvo.ru>.
8933
8934 2005-01-27  Paolo Bonzini  <bonzini@gnu.org>
8935
8936         [BZ #558]
8937         * posix/regcomp.c (calc_inveclosure): Return reg_errcode_t.
8938         Initialize the node sets in dfa->inveclosures.
8939         (analyze): Initialize inveclosures only if it is needed.
8940         Check errors from calc_inveclosure.
8941         * posix/regex_internal.c (re_dfa_add_node): Do not initialize
8942         the inveclosure node set.
8943         * posix/regexec.c (re_search_internal): If nmatch includes unused
8944         subexpressions, reset them to { rm_so: -1, rm_eo: -1 } here.
8945
8946         * posix/regcomp.c (parse_bracket_exp) [!RE_ENABLE_I18N]:
8947         Do build a SIMPLE_BRACKET token.
8948
8949         * posix/regexec.c (transit_state_mb): Do not examine nodes
8950         where ACCEPT_MB is not set.
8951
8952 2005-01-27  Jakub Jelinek  <jakub@redhat.com>
8953
8954         * stdlib/tst-fmtmsg.c: Include stdlib.h.
8955         * stdio-common/tst-fmemopen2.c: Include string.h.
8956         * posix/execvp.c: Include stdbool.h.
8957
8958 2004-12-13  Paolo Bonzini  <bonzini@gnu.org>
8959
8960         Separate parsing and creation of the NFA.  Avoided recursion on
8961         the (very unbalanced) parse tree.
8962         [BZ #611]
8963         * posix/regcomp.c (struct subexp_optimize, analyze_tree, calc_epsdest,
8964         re_dfa_add_tree_node, mark_opt_subexp_iter): Removed.
8965         (optimize_subexps, duplicate_tree, calc_first, calc_next,
8966         mark_opt_subexp): Rewritten.
8967         (preorder, postorder, lower_subexps, lower_subexp, link_nfa_nodes,
8968         create_token_tree, free_tree, free_token): New.
8969         (analyze): Accept a regex_t *.  Invoke the passes via the preorder and
8970         postorder generic visitors.  Do not initialize the fields in the
8971         re_dfa_t that represent the transitions.
8972         (free_dfa_content): Use free_token.
8973         (re_compile_internal): Analyze before UTF-8 optimizations.  Do not
8974         include optimization of subexpressions.
8975         (create_initial_state): Fetch the DFA node index from the first node's
8976         bin_tree_t *.
8977         (optimize_utf8): Abort on unexpected nodes, including OP_DUP_QUESTION.
8978         Return on COMPLEX_BRACKET.
8979         (duplicate_node_closure): Fix comment.
8980         (duplicate_node): Do not initialize the fields in the
8981         re_dfa_t that represent the transitions.
8982         (calc_eclosure, calc_inveclosure): Do not handle OP_DELETED_SUBEXP.
8983         (create_tree): Remove final argument.  All callers adjusted.  Rewritten
8984         to use create_token_tree.
8985         (parse_reg_exp, parse_branch, parse_expression, parse_bracket_exp,
8986         build_charclass_op): Use create_tree or create_token_tree instead
8987         of re_dfa_add_tree_node.
8988         (parse_dup_op): Likewise.  Also free the tree using free_tree for
8989         "<re>{0}", and lower OP_DUP_QUESTION to OP_ALT: "a?" is equivalent
8990         to "a|".  Adjust invocation of mark_opt_subexp.
8991         (parse_sub_exp): Create a single SUBEXP node.
8992         * posix/regex_internal.c (re_dfa_add_node): Remove last parameter,
8993         always perform as if it was 1.  Do not initialize OPT_SUBEXP and
8994         DUPLICATED, and initialize the DFA fields representing the transitions.
8995         * posix/regex_internal.h (re_dfa_add_node): Adjust prototype.
8996         (re_token_type_t): Move OP_DUP_PLUS and OP_DUP_QUESTION to the tokens
8997         section.  Add a tree-only code SUBEXP.  Remove OP_DELETED_SUBEXP.
8998         (bin_tree_t): Include a full re_token_t for TOKEN.  Turn FIRST and
8999         NEXT into pointers to trees.  Remove ECLOSURE.
9000
9001 2004-12-28  Paolo Bonzini  <bonzini@gnu.org >
9002
9003         [BZ #605]
9004         * posix/regcomp.c (parse_bracket_exp): Do not modify DFA nodes
9005         that were already created.
9006         * posix/regex_internal.c (re_dfa_add_node): Set accept_mb field
9007         in the token if needed.
9008         (create_ci_newstate, create_cd_newstate): Set accept_mb field
9009         from the tokens' field.
9010         * posix/regex_internal.h (re_token_t): Add accept_mb field.
9011         (ACCEPT_MB_NODE): Removed.
9012         * posix/regexec.c (proceed_next_node, transit_states_mb,
9013         build_sifted_states, check_arrival_add_next_nodes): Use
9014         accept_mb instead of ACCEPT_MB_NODE.
9015
9016 2005-01-26  Ulrich Drepper  <drepper@redhat.com>
9017
9018         [BZ #1100]
9019         * debug/chk_fail.c (__chk_fail): Print program name in final message.
9020
9021         * sysdeps/unix/sysv/linux/kernel-features.h: Found reference to
9022         MSG_NOSIGNAL being in 2.2 kernels.
9023
9024 2005-01-26  Jakub Jelinek  <jakub@redhat.com>
9025
9026         * sysdeps/unix/sysv/linux/i386/sysdep.h
9027         (SYSCALL_ERROR_HANDLER_TLS_STORE): Remove unnecessary 0 imm.
9028
9029         [BZ #693]
9030         * posix/regex_internal.h (DUMMY_CONSTRAINT): Rename to...
9031         (WORD_DELIM_CONSTRAINT): ...this.
9032         (NOT_WORD_DELIM_CONSTRAINT): Define.
9033         (re_context_type): Add INSIDE_NOTWORD and NOT_WORD_DELIM,
9034         change WORD_DELIM to use WORD_DELIM_CONSTRAINT.
9035         * posix/regcomp.c (peek_token): For \B create NOT_WORD_DELIM
9036         anchor instead of INSIDE_WORD.
9037         (parse_expression): Handle NOT_WORD_DELIM constraint.
9038         * posix/bug-regex19.c (tests): Adjust tests that relied on \B
9039         being inside word instead of not word delim.
9040         * posix/tst-rxspencer.c (mb_frob_pattern): Don't frob escaped
9041         characters.
9042         * posix/rxspencer/tests: Add some new tests.
9043
9044 2005-01-14  GOTO Masanori  <gotom@debian.or.jp>
9045
9046         [BZ #1108]
9047         * sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
9048         irrespective of Cflag.
9049
9050         * manual/memory.texi (sbrk): Fix definition.
9051         * manual/string.texi (strcasestr): Fix example typo.
9052
9053 2005-01-25  Roland McGrath  <roland@redhat.com>
9054
9055         * sysdeps/generic/syslog.c [NO_SIGPIPE]: Protect sigpipe_handler decl.
9056
9057 2005-01-23  Roland McGrath  <roland@redhat.com>
9058
9059         [BZ #737]
9060         * sysdeps/i386/Makefile (defines): If -mno-tls-direct-seg-refs appears
9061         in $(CFLAGS), add -DNO_TLS_DIRECT_SEG_REFS.
9062         * sysdeps/unix/sysv/linux/i386/sysdep.h [USE___THREAD]
9063         (SYSCALL_ERROR_HANDLER) [NO_TLS_DIRECT_SEG_REFS]: Load thread pointer
9064         from %gs:0 and add to that value, rather that direct %gs:OFFSET access.
9065         * sysdeps/unix/i386/sysdep.S [NO_TLS_DIRECT_SEG_REFS]: Likewise.
9066
9067 2005-01-25  Jakub Jelinek  <jakub@redhat.com>
9068
9069         [BZ #731]
9070         * stdlib/fmtmsg.c (addseverity): Remove new_string variable.
9071         (free_mem): Don't free string.
9072         * stdlib/tst-fmtmsg.c: Include string.h.
9073         (main): Add some more tests.
9074
9075 2005-01-25  Andreas Schwab  <schwab@suse.de>
9076
9077         [BZ #736]
9078         * timezone/asia: Update from tzdata2005c.
9079         * timezone/backward: Likewise.
9080         * timezone/europe: Likewise.
9081         * timezone/leapseconds: Likewise.
9082         * timezone/northamerica: Likewise.
9083         * timezone/southamerica: Likewise.
9084
9085         [BZ #736]
9086         * timezone/private.h: Update from tzcode2005c.
9087         * timezone/tzfile.h: Likewise.
9088         * timezone/zdump.c: Likewise.
9089         * timezone/zic.c: Likewise.
9090
9091 2005-01-25  Ulrich Drepper  <drepper@redhat.com>
9092
9093         * sysdeps/i386/dl-machine.h (elf_machine_rel): Remove code using
9094         RESOLVE.
9095         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Remove code
9096         using RESOLVE.
9097         * elf/rtld.c (_dl_start): Remove RESOLVE definition.
9098
9099 2005-01-25  Alan Modra  <amodra@bigpond.net.au>
9100
9101         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Test
9102         sym_map, not sym, against zero.
9103
9104 2005-01-24  Ulrich Drepper  <drepper@redhat.com>
9105
9106         [BZ #671]
9107         * misc/syslog.c: Moved to...
9108         * sysdeps/generic/syslog.c: ...here.
9109         [NO_SIGIPE]: Don't install SIGPIPE handler.
9110         * sysdeps/unix/sysv/linux/syslog.c: New file.
9111         * sysdeps/unix/sysv/linux/kernel-features.h: Define
9112         __ASSUME_MSG_NOSIGNAL.
9113
9114 2005-01-22  Richard Henderson  <rth@redhat.com>
9115
9116         * sysdeps/alpha/dl-trampoline.S: New file.
9117         * sysdeps/alpha/dl-machine.h: Move PLT trampolines there.
9118         Use RESOLVE_MAP instead of RESOLVE to protect relocation code.
9119         (elf_machine_runtime_setup): Test for dl_profile non-null.
9120         (ARCH_LA_PLTENTER, ARCH_LA_PLTEXIT): New.
9121         * sysdeps/alpha/bits/link.h: New file.
9122         * sysdeps/generic/ldsodefs.h (La_alpha_regs, La_alpha_retval): New.
9123         (struct audit_ifaces): Add alpha entries.
9124         * elf/tst-auditmod1.c: Add alpha entries.
9125
9126 2005-01-22  Ulrich Drepper  <drepper@redhat.com>
9127
9128         * sysdeps/ia64/dl-machine.h: Remove PLT trampolines here.
9129         * sysdeps/ia64/dl-trampoline.S: New file.
9130
9131         * sysdeps/x86_64/bits/link.h: Use namespace-safe identifiers in
9132         La_x86_64_xmm definition.
9133
9134         * posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame
9135         pointer option.
9136         * stdlib/Makefile (CFLAGS-system.os): Use this instead of
9137         CFLAGS-system.c for frame pointer option.
9138
9139 2005-01-21  Roland McGrath  <roland@redhat.com>
9140
9141         * elf/dl-runtime.c (_dl_profile_fixup): Remove const from REGS.
9142         * sysdeps/i386/dl-machine.h: Update decl.
9143
9144 2005-01-21  Jakub Jelinek  <jakub@redhat.com>
9145
9146         [BZ #735]
9147         * elf/Makefile: Add rules to build and run tst-align2.
9148         * elf/tst-align2.c: New test.
9149         * elf/tst-alignmod2.c: New file.
9150         * sysdeps/powerpc/tst-stack-align.h: New file.
9151         * sysdeps/i386/dl-machine.h (RTLD_START): Align stack and clear frame
9152         pointer before calling _dl_init.
9153         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9154
9155 2005-01-20  Ulrich Drepper  <drepper@redhat.com>
9156
9157         * posix/execl.c: Do not allocate potentially large buffers on the
9158         stack.
9159         * posix/execle.c: Likewise.
9160         * posix/execlp.c: Likewise.
9161         * posix/execvp.c: Likewise.
9162         (script_execute): Removed.
9163         (allocate_scripts_argv): New function.  Called at most once to
9164         allocate memory, not every time a script is run.  Adjust caller.
9165
9166         * sysdeps/generic/wordexp.c (exec_comm): Add a few
9167         TEMP_FAILURE_RETRY.  Reorganize code to avoid multiple calls to
9168         exec_comm_child.
9169         (exec_comm_child): Can now be inlined.
9170
9171         * posix/Makefile: Add -fomit-frame-pointer for a few more files.
9172         * stdlib/Makefile: Likewise.
9173
9174 2005-01-19  Roland McGrath  <roland@redhat.com>
9175
9176         [BZ #681]
9177         * sunrpc/openchild.c (_openchild): Use NULL instead of 0 for trailing
9178         argument to execlp.
9179         Reported by Marcus Meissner <meissner@suse.de>.
9180
9181 2005-01-19  Jakub Jelinek  <jakub@redhat.com>
9182
9183         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
9184         in assert.
9185         * iconv/strtab.c (strtabfinalize): Likewise.
9186
9187         * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
9188
9189 2005-01-17  Roland McGrath  <roland@redhat.com>
9190
9191         [BZ #745]
9192         * nscd/Makefile (LDLIBS-nscd): New variable.
9193         ($(objpfx)nscd): Use that instead of selinux-LIBS.
9194
9195         * Makeconfig (link-extra-libs): Define just as $(LDLIBS-$(@F)).
9196         (link-extra-libs-static): Define to $(link-extra-libs).
9197         (link-extra-libs-bounded): Likewise.
9198
9199 2005-01-17  Ulrich Drepper  <drepper@redhat.com>
9200
9201         * include/link.h: Remove stray definition of pltenter.
9202
9203 2005-01-16  GOTO Masanori  <gotom@debian.or.jp>
9204
9205         [BZ #734]
9206         * sysdeps/unix/rewinddir.c: Reset filepos.
9207         * dirent/tst-seekdir.c: Check telldir value after calling rewinddir.
9208
9209 2005-01-15  Ulrich Drepper  <drepper@redhat.com>
9210
9211         * elf/tst-auditmod1.c: Reduce duplication.
9212
9213 2005-01-16  Andreas Schwab  <schwab@suse.de>
9214
9215         * sysdeps/m68k/dl-machine.h: Remove trampoline code.  Define
9216         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
9217         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
9218         GLRO(dl_profile) != NULL.
9219         * sysdeps/m68k/dl-trampoline.S: New file.
9220         * sysdeps/m68k/bits/link.h: New file.
9221         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add m68k
9222         variants.
9223         * elf/tst-auditmod1.c: Add m68k support.
9224
9225 2005-01-14  Ulrich Drepper  <drepper@redhat.com>
9226
9227         * posix/regcomp.c [!_LIBC] (init_dfa): Fix determining of relevant
9228         LC_* variable.  Patch by Aharon Robbins <arnold@skeeve.com>.
9229
9230         [BZ #731]
9231         * stdlib/fmtmsg.c (internal_addseverity): Remove incorrect free call.
9232         * stdlib/tst-fmtmsg.c (main): Add another addseverity test.
9233
9234 2005-01-12  Ulrich Drepper  <drepper@redhat.com>
9235
9236         * elf/dl-load.c (_dl_map_object_from_fd): We don't have to allow
9237         callers from libc anymore.
9238
9239         * elf/dl-open.c (dl_open_worker): Pass __RTLD_AUDIT flag from caller
9240         to _dl_map_object_deps.
9241         * elf/dl-load.c (_dl_map_object_from_fd): Don't change memory
9242         protections when loading auditing modules.
9243
9244         * dlfcn/dlopen.c (dlopen_doit): Catch invalid mode arguments and fail.
9245
9246         * posix/getconf.c: Update copyright year.
9247         * nss/getent.c: Likewise.
9248         * nscd/nscd_nischeck.c: Likewise.
9249         * iconv/iconvconfig.c: Likewise.
9250         * iconv/iconv_prog.c: Likewise.
9251         * elf/ldconfig.c: Likewise.
9252         * catgets/gencat.c: Likewise.
9253         * csu/version.c: Likewise.
9254         * elf/ldd.bash.in: Likewise.
9255         * elf/sprof.c (print_version): Likewise.
9256         * locale/programs/locale.c: Likewise.
9257         * locale/programs/localedef.c: Likewise.
9258         * nscd/nscd.c (print_version): Likewise.
9259         * debug/xtrace.sh: Likewise.
9260         * malloc/memusage.sh: Likewise.
9261         * malloc/mtrace.pl: Likewise.
9262         * debug/catchsegv.sh: Likewise.
9263
9264 2005-01-11  Thorsten Kukuk  <kukuk@suse.de>
9265
9266         [BZ #733]
9267         * sunrpc/svc_tcp.c (svctcp_create): Call listen with SOMAXCONN
9268         as backlog.
9269         * sunrpc/svc_unix.c (svcunix_create): Likewise.
9270
9271         [BZ #1099]
9272         * grp/putgrent.c (putgrent): Don't write 0 as group
9273         ID if groupname starts with + or -.
9274         * pwd/putpwent.c (putpwent): Don't write 0 as user or
9275         group ID if user name starts with + or -.
9276
9277 2005-01-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9278
9279         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add sh variants.
9280         * sysdeps/elf/tst-auditmod1.c: Add sh support.
9281         * sysdeps/sh/bits/link.h: New.
9282         * sysdeps/sh/dl-machine.h: Remove trampoline code here.  Define
9283         ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.  Remove obsolete comments.
9284         (RTLD_START): Define __fpscr_values.
9285         * sysdeps/sh/dl-trampoline.S: New file.
9286         * sysdeps/sh/sh4/dl-trampoline.S: New file.
9287         * sysdeps/sh/sh4/Versions [ld]: Add __fpscr_values.
9288         * sysdeps/sh/sh4/dl-machine.h: Remove.
9289
9290 2005-01-10  Jakub Jelinek  <jakub@redhat.com>
9291
9292         [BZ #732]
9293         * time/tst-strptime.c (day_tests): Add 2 new tests.
9294         (test_tm, main): Issue an error instead of segfaulting if
9295         strptime returns NULL.
9296
9297 2005-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9298
9299         * sysdeps/alpha/libc-tls.c (__tls_get_addr): Updated for dtv_t union.
9300         * sysdeps/ia64/libc-tls.c (__tls_get_addr): Likewise.
9301
9302 2005-01-11  Ulrich Drepper  <drepper@redhat.com>
9303
9304         * malloc/malloc.h: Remove no-glibc support.
9305
9306 2005-01-12  GOTO Masanori  <gotom@debian.or.jp>
9307
9308         [BZ #650]
9309         * malloc/malloc.h: Always include features.h.
9310
9311 2005-01-10  Roland McGrath  <roland@redhat.com>
9312
9313         * sysdeps/ia64/fpu/e_logl.c: File removed.
9314
9315         * dlfcn/dlfcn.c (init): Fix typo in attribute decl.
9316
9317 2005-01-10  Ulrich Drepper  <drepper@redhat.com>
9318
9319         * sysdeps/generic/dl-tls.c (_dl_next_tls_modid): Fix assertion and
9320         recognition of last entry.
9321
9322 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
9323
9324         * elf/dl-runtime.c: Include <sys/param.h>.
9325
9326         * elf/Makefile (headers): Add bits/link.h.
9327
9328 2005-01-09  Andreas Schwab  <schwab@suse.de>
9329
9330         * elf/rtld.c (dl_main): Create main_map with __RTLD_OPENEXEC.
9331
9332 2005-01-09  Andreas Jaeger  <aj@suse.de>
9333
9334         [BZ #732]
9335         * time/strptime_l.c (__strptime_internal): Add braces to avoid
9336         warning.
9337
9338         * sysdeps/x86_64/bits/link.h: Use vector_size for GCC 4.0.
9339
9340         * elf/rtld.c (dl_main): Call _dl_add_to_slotinfo only if USE_TLS.
9341
9342 2005-01-08  Jakub Jelinek  <jakub@redhat.com>
9343
9344         * elf/Makefile (generated): Add tst-pie1{,.out,.o}.
9345
9346 2005-01-09  Ulrich Drepper  <drepper@redhat.com>
9347
9348         * elf/dl-fini.c (_dl_fini): Call destructors of audit DSOs after
9349         those of all the regular objects.
9350
9351         * elf/dl-debug.c (_dl_debug_initialize): Take extra parameter and
9352         use it to select the r_debug structure for that namespace.
9353         * elf/dl-close.c (_dl_close): Adjust call to _dl_debug_initialize.
9354         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9355         * elf/dl-open.c (_dl_open): Likewise.
9356         * elf/rtld.c (dl_main): Likewise.
9357         * sysdeps/generic/ldsodefs.h (struct link_namespaces): Add _ns_debug
9358         member.
9359         (_dl_debug_initialize): Add new parameter in declaration.
9360
9361         * elf/dl-close.c (_dl_close): Make sure auditing callbacks are not
9362         called for the auditing objects themselves.
9363         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9364
9365 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
9366
9367         * sysdeps/powerpc/powerpc64/dl-machine.h
9368         (elf_machine_runtime_setup): If profile != 0 does not anymore mean
9369         GLRO(dl_profile) != NULL.
9370         * sysdeps/powerpc/powerpc64/bits/link.h (struct la_ppc64_regs): Add
9371         padding.
9372         * sysdeps/powerpc/powerpc64/dl-trampoline.S: (_dl_profile_resolve):
9373         Extend _dl_prof_resolve to add pass extra parameters to
9374         _dl_profile_fixup and set up structure with register content.
9375
9376         * sysdeps/powerpc/powerpc32/dl-machine.c (__elf_machine_runtime_setup):
9377         If profile != 0 does not anymore mean GLRO(dl_profile) != NULL.
9378         * sysdeps/powerpc/powerpc32/dl-trampoline.S (_dl_prof_resolve):
9379         Extend _dl_prof_resolve to add pass extra parameters to
9380         _dl_profile_fixup and set up structure with register content.
9381         * sysdeps/powerpc/powerpc32/bits/link.h: Fix types of some fields in
9382         the register and result structures.
9383         * sysdeps/powerpc/powerpc64/bits/link.h: Fix types of some fields
9384         in the 32-bit register and result structures.
9385
9386         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Use register names.
9387
9388         * sysdeps/powerpc/powerpc32/dl-trampoline.S: New file.
9389         * sysdeps/powerpc/powerpc32/dl-machine.h: Remove trampoline code here.
9390         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
9391         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc32 variants.
9392         * elf/tst-auditmod1.c: Add ppc32 support.
9393         * sysdeps/powerpc/powerpc32/bits/link.h: New file.
9394         * sysdeps/powerpc/powerpc64/bits/link.h: Add ppc32 definitions.
9395
9396         * malloc/malloc.c (malloc_printerr): Print program name as part of
9397         error message.
9398
9399         * misc/sys/cdefs.h (__attribute_warn_unused_result__): Define.
9400         * stdlib/stdlib.h: Make realloc with
9401         __attribute_warn_unused_result__ instead of __wur.
9402         * malloc/malloc.h: Add __wur and __attribute_warn_unused_result__
9403         markers as in <stdlib.h>.
9404
9405         * libio/stdio.h: Remove __wur from rename and remove.
9406         * posix/unistd.h: Remove __wur from dup2.
9407
9408 2005-01-03  Andreas Jaeger  <aj@suse.de>
9409
9410         * elf/Makefile (tests): Revert patch from 2005-01-03.
9411
9412 2005-01-07  Ulrich Drepper  <drepper@redhat.com>
9413
9414         * sysdeps/unix/sysv/linux/init-first.c (__libc_init_first): Don't
9415         make __libc_init_first hidden.
9416
9417         * elf/rtld.c [!DONT_USE_BOOTSTRAP_MAP] (_dl_start_final): Initialize
9418         l_relocated of rtld map.
9419         * sysdeps/powerpc/powerpc64/dl-trampoline.S: New file.
9420         * sysdeps/powerpc/powerpc64/dl-machine.h: Remove trampoline code here.
9421         Define ARCH_LA_PLTENTER and ARCH_LA_PLTEXIT.
9422         * sysdeps/generic/ldsodefs.h (struct audit_ifaces): Add ppc64 variants.
9423         * elf/tst-auditmod1.c: Add ppc64 support.
9424         * sysdeps/powerpc/powerpc64/bits/link.h: New file.
9425
9426 2005-01-06  Roland McGrath  <roland@redhat.com>
9427
9428         [BZ #633]
9429         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Catch errno values
9430         indicating file-name lookup errors, and return ENOSYS or EBADF instead.
9431
9432 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
9433
9434         * csu/elf-init.c (__libc_csu_fini): Don't do anything here.
9435         * sysdeps/generic/libc-start.c: Don't register program destructor here.
9436
9437         * dlfcn/Makefile: Add rules to build dlfcn.c.
9438         (LDFLAGS-dl.so): Removed.
9439         * dlfcn/dlclose.c: _dl_close is now in ld.so, use function pointer
9440         table.
9441         * dlfcn/dlmopen.c: Likewise for _dl_open.
9442         * dlfcn/dlopen.c: Likewise.
9443         * dlfcn/dlopenold.c: Likewise.
9444         * elf/dl-libc.c: Likewise for _dl_open and _dl_close.
9445         * elf/Makefile (routines): Remove dl-open and dl-close.
9446         (dl-routines): Add dl-open, dl-close, and dl-trampoline.
9447         Add rules to build and run tst-audit1.
9448         * elf/tst-audit1.c: New file.
9449         * elf/tst-auditmod1.c: New file.
9450         * elf/Versions [libc]: Remove _dl_open and _dl_close.
9451         * elf/dl-close.c: Change for use inside ld.so instead of libc.so.
9452         * elf/dl-open.c: Likewise.
9453         * elf/dl-debug.c (_dl_debug_initialize): Allow reinitialization,
9454         signaled by nonzero parameter.
9455         * elf/dl-init.c: Fix use of r_state.
9456         * elf/dl-load.c: Likewise.
9457
9458         * elf/dl-close.c: Add auditing checkpoints.
9459         * elf/dl-open.c: Likewise.
9460         * elf/dl-fini.c: Likewise.
9461         * elf/dl-load.c: Likewise.
9462         * elf/dl-sym.c: Likewise.
9463         * sysdeps/generic/libc-start.c: Likewise.
9464         * elf/dl-object.c: Allocate memory for auditing information.
9465         * elf/dl-reloc.c: Remove RESOLV.  We now always need the map.
9466         Correctly initialize slotinfo.
9467         * elf/dynamic-link.h: Adjust after removal of RESOLV.
9468         * sysdeps/hppa/dl-lookupcfg.h: Likewise.
9469         * sysdeps/ia64/dl-lookupcfg.h: Likewise.
9470         * sysdeps/powerpc/powerpc64/dl-lookupcfg.h: Removed.
9471         * elf/dl-runtime.c (_dl_fixup): Little cleanup.
9472         (_dl_profile_fixup): New parameters to point to register struct and
9473         variable for frame size.
9474         Add auditing checkpoints.
9475         (_dl_call_pltexit): New function.
9476         Don't define trampoline code here.
9477         * elf/rtld.c: Recognize LD_AUDIT.  Load modules on startup.
9478         Remove all the functions from _rtld_global_ro which only _dl_open
9479         and _dl_close needed.
9480         Add auditing checkpoints.
9481         * elf/link.h: Define symbols for auditing interfaces.
9482         * include/link.h: Likewise.
9483         * include/dlfcn.h: Define __RTLD_AUDIT.
9484         Remove prototypes for _dl_open and _dl_close.
9485         Adjust access to argc and argv in libdl.
9486         * dlfcn/dlfcn.c: New file.
9487         * sysdeps/generic/dl-lookupcfg.h: Remove all content now that RESOLVE
9488         is gone.
9489         * sysdeps/generic/ldsodefs.h: Add definitions for auditing interfaces.
9490         * sysdeps/generic/unsecvars.h: Add LD_AUDIT.
9491         * sysdeps/i386/dl-machine.h: Remove trampoline code here.
9492         Adjust for removal of RESOLVE.
9493         * sysdeps/x86_64/dl-machine.h: Likewise.
9494         * sysdeps/generic/dl-trampoline.c: New file.
9495         * sysdeps/i386/dl-trampoline.c: New file.
9496         * sysdeps/x86_64/dl-trampoline.c: New file.
9497
9498         * sysdeps/generic/dl-tls.c: Cleanups.  Fixup for dtv_t change.
9499         Fix updating of DTV.
9500         * sysdeps/generic/libc-tls.c: Likewise.
9501
9502         * sysdeps/arm/bits/link.h: Renamed to ...
9503         * sysdeps/arm/bits/linkmap.h: ...this.
9504         * sysdeps/generic/bits/link.h: Renamed to...
9505         * sysdeps/generic/bits/linkmap.h: ...this.
9506         * sysdeps/hppa/bits/link.h: Renamed to...
9507         * sysdeps/hppa/bits/linkmap.h: ...this.
9508         * sysdeps/i386/bits/link.h: Renamed to...
9509         * sysdeps/i386/bits/linkmap.h: ...this.
9510         * sysdeps/ia64/bits/link.h: Renamed to...
9511         * sysdeps/ia64/bits/linkmap.h: ...this.
9512         * sysdeps/s390/bits/link.h: Renamed to...
9513         * sysdeps/s390/bits/linkmap.h: ...this.
9514         * sysdeps/sh/bits/link.h: Renamed to...
9515         * sysdeps/sh/bits/linkmap.h: ...this.
9516         * sysdeps/x86_64/bits/link.h: Renamed to...
9517         * sysdeps/x86_64/bits/linkmap.h: ...this.
9518
9519         * posix/unistd.h: Declare ftruncate for POSIX 2003.  [BZ #640]
9520
9521 2004-12-22  Steven Munroe  <sjmunroe@us.ibm.com>
9522
9523         [BZ #602]
9524         * math/libm-test.inc (rint_test_tonearest): New test.
9525         (rint_test_towardzero): New test.
9526         (rint_test_downward): New test.
9527         (rint_test_upward): New test.
9528         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Fix -0.0 case.
9529         Remove redundant const values.
9530         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Fix -0.0 case.
9531         Remove redundant const values.  Use float const.
9532         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Fix -0.0 case.
9533         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Fix -0.0 case.
9534         Use float const.
9535         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Fix -0.0 case.
9536         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Fix -0.0 case.
9537         Use float const.
9538         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Fix -0.0 case.
9539         Remove redundant const values.
9540         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Fix -0.0 case.
9541         Remove redundant const values.  Use float const.
9542         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Fix -0.0 case.
9543         Remove redundant const values.
9544         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Fix -0.0 case.
9545         Remove redundant const values.  Use float const.
9546         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Use EALIGN for Quadword
9547         alignment.  Fix -0.0 case.  Remove redundant const values.
9548         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Use EALIGN for Quadword
9549         alignment.  Fix -0.0 case.  Remove redundant const values.
9550         Use float const.
9551         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Use EALIGN for Quadword
9552         alignment.  Fix -0.0 case.
9553         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Use EALIGN for Quadword
9554         alignment.  Fix -0.0 case.  Use float const.
9555         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Use EALIGN for Quadword
9556         alignment.  Fix -0.0 case.
9557         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Use EALIGN for Quadword
9558         alignment.  Fix -0.0 case.  Use float const.
9559         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Use EALIGN for Quadword
9560         alignment.  Fix -0.0 case.  Remove redundant const values.
9561         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Use EALIGN for Quadword
9562         alignment.  Fix -0.0 case.  Remove redundant const values.
9563         Use float const.
9564         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Use EALIGN for Quadword
9565         alignment.  Fix -0.0 case.
9566         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Use EALIGN for Quadword
9567         alignment.  Fix -0.0 case.  Remove redundant const values.
9568         Use float const.
9569
9570 2005-01-06  Ulrich Drepper  <drepper@redhat.com>
9571
9572         * misc/sys/cdefs.h: Define __wur.
9573         * libio/stdio.h: Use __wur for a number of interfaces.
9574         * posix/unistd.h: Likewise.
9575         * stdlib/stdlib.h: Likewise.
9576
9577 2004-12-29  Jakub Jelinek  <jakub@redhat.com>
9578
9579         [BZ #592]
9580         * sysdeps/ia64/fpu/libm_support.h (__libm_error_support): Use
9581         libc_hidden_proto instead of HIDDEN_PROTO.
9582         * sysdeps/ia64/fpu/libm-symbols.h (HIDDEN_PROTO): Remove.
9583         (__libm_error_support): If ASSEMBLER and in libc, define to
9584         HIDDEN_JUMPTARGET(__libm_error_support).
9585
9586 2004-12-28  David Mosberger  <davidm@hpl.hp.com>
9587
9588         [BZ #592]
9589         * sysdeps/ia64/fpu/Makefile (duplicated-routines): New macro.
9590         (sysdep_routines): Replace libm_ldexp{,f,l} and libm_scalbn{,f,l}
9591         with $(duplicated-routines).
9592         (libm-sysdep_routines): Likewise, but substitute "s_" prefix for
9593         "m_" prefix.
9594
9595 2004-12-27  David Mosberger  <davidm@hpl.hp.com>
9596
9597         [BZ #592]
9598         * sysdeps/ia64/fpu/libm-symbols.h: Add include of <sysdep.h> and
9599         undefine "ret" macro.  Add __libm_error_support hidden definitions.
9600
9601         [BZ #592]
9602         * sysdeps/ia64/fpu/e_lgamma_r.c: Remove CVS-id comment.  Add
9603         missing portion of copyright statement.
9604         * sysdeps/ia64/fpu/e_lgammaf_r.c: Likewise.
9605         * sysdeps/ia64/fpu/e_lgammal_r.c: Likewise.
9606
9607         [BZ #592]
9608         * sysdeps/ia64/fpu/w_lgamma.c: Remove CVS-id comment.  Add
9609         missing portion of copyright statement.
9610         (__ieee754_lgamma): Rename from lgamma().  Make lgamma() a weak alias.
9611         (__ieee754_gamma): Likewise.
9612         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
9613         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
9614
9615 2004-12-09  H.J. Lu <hjl@lucon.org>
9616
9617         [BZ #592]
9618         * sysdeps/ia64/fpu/s_nextafterl.c: Remove.
9619         * sysdeps/ia64/fpu/s_nexttoward.c: Likewise.
9620         * sysdeps/ia64/fpu/s_nexttowardf.c: Likewise.
9621         * sysdeps/ia64/fpu/e_atan2l.S: Remove (duplicate of e_atan2l.c).
9622         * sysdeps/ia64/fpu/e_expl.S: Likewise.
9623         * sysdeps/ia64/fpu/e_logl.c: Remove (conflicts with e_logl.S).
9624
9625 2004-11-18  David Mosberger  <davidm@hpl.hp.com>
9626
9627         [BZ #592]
9628         * sysdeps/ia64/fpu/README: New file.
9629         * sysdeps/ia64/fpu/gen_import_file_list: New file.
9630         * sysdeps/ia64/fpu/import_check: Likewise.
9631         * sysdeps/ia64/fpu/import_diffs: Likewise.
9632         * sysdeps/ia64/fpu/import_file.awk: Likewise.
9633         * sysdeps/ia64/fpu/import_intel_libm: Likewise.
9634         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9635
9636         [BZ #592]
9637         * sysdeps/ia64/fpu/e_acos.S: Update from Intel libm v2.1+.
9638         * sysdeps/ia64/fpu/e_acosf.S: Likewise.
9639         * sysdeps/ia64/fpu/e_acosl.S: Likewise.
9640         * sysdeps/ia64/fpu/e_asin.S: Likewise.
9641         * sysdeps/ia64/fpu/e_asinf.S: Likewise.
9642         * sysdeps/ia64/fpu/e_asinl.S: Likewise.
9643         * sysdeps/ia64/fpu/e_atan2.S: Likewise.
9644         * sysdeps/ia64/fpu/e_atan2f.S: Likewise.
9645         * sysdeps/ia64/fpu/e_cosh.S: Likewise.
9646         * sysdeps/ia64/fpu/e_coshf.S: Likewise.
9647         * sysdeps/ia64/fpu/e_coshl.S: Likewise.
9648         * sysdeps/ia64/fpu/e_exp.S: Likewise.
9649         * sysdeps/ia64/fpu/e_expf.S: Likewise.
9650         * sysdeps/ia64/fpu/e_fmod.S: Likewise.
9651         * sysdeps/ia64/fpu/e_fmodf.S: Likewise.
9652         * sysdeps/ia64/fpu/e_fmodl.S: Likewise.
9653         * sysdeps/ia64/fpu/e_hypot.S: Likewise.
9654         * sysdeps/ia64/fpu/e_hypotf.S: Likewise.
9655         * sysdeps/ia64/fpu/e_hypotl.S: Likewise.
9656         * sysdeps/ia64/fpu/e_log.S: Likewise.
9657         * sysdeps/ia64/fpu/e_log2.S: Likewise.
9658         * sysdeps/ia64/fpu/e_log2f.S: Likewise.
9659         * sysdeps/ia64/fpu/e_log2l.S: Likewise.
9660         * sysdeps/ia64/fpu/e_logf.S: Likewise.
9661         * sysdeps/ia64/fpu/e_pow.S: Likewise.
9662         * sysdeps/ia64/fpu/e_powf.S: Likewise.
9663         * sysdeps/ia64/fpu/e_powl.S: Likewise.
9664         * sysdeps/ia64/fpu/e_remainder.S: Likewise.
9665         * sysdeps/ia64/fpu/e_remainderf.S: Likewise.
9666         * sysdeps/ia64/fpu/e_remainderl.S: Likewise.
9667         * sysdeps/ia64/fpu/e_scalb.S: Likewise.
9668         * sysdeps/ia64/fpu/e_scalbf.S: Likewise.
9669         * sysdeps/ia64/fpu/e_scalbl.S: Likewise.
9670         * sysdeps/ia64/fpu/e_sinh.S: Likewise.
9671         * sysdeps/ia64/fpu/e_sinhf.S: Likewise.
9672         * sysdeps/ia64/fpu/e_sinhl.S: Likewise.
9673         * sysdeps/ia64/fpu/e_sqrt.S: Likewise.
9674         * sysdeps/ia64/fpu/e_sqrtf.S: Likewise.
9675         * sysdeps/ia64/fpu/e_sqrtl.S: Likewise.
9676         * sysdeps/ia64/fpu/libm_error.c: Likewise.
9677         * sysdeps/ia64/fpu/libm_reduce.c: Likewise.
9678         * sysdeps/ia64/fpu/libm_support.h: Likewise.
9679         * sysdeps/ia64/fpu/s_atan.S: Likewise.
9680         * sysdeps/ia64/fpu/s_atanf.S: Likewise.
9681         * sysdeps/ia64/fpu/s_atanl.S: Likewise.
9682         * sysdeps/ia64/fpu/s_cbrt.S: Likewise.
9683         * sysdeps/ia64/fpu/s_cbrtf.S: Likewise.
9684         * sysdeps/ia64/fpu/s_cbrtl.S: Likewise.
9685         * sysdeps/ia64/fpu/s_ceil.S: Likewise.
9686         * sysdeps/ia64/fpu/s_ceilf.S: Likewise.
9687         * sysdeps/ia64/fpu/s_ceill.S: Likewise.
9688         * sysdeps/ia64/fpu/s_cos.S: Likewise.
9689         * sysdeps/ia64/fpu/s_cosf.S: Likewise.
9690         * sysdeps/ia64/fpu/s_cosl.S: Likewise.
9691         * sysdeps/ia64/fpu/s_expm1.S: Likewise.
9692         * sysdeps/ia64/fpu/s_expm1f.S: Likewise.
9693         * sysdeps/ia64/fpu/s_expm1l.S: Likewise.
9694         * sysdeps/ia64/fpu/s_fabs.S: Likewise.
9695         * sysdeps/ia64/fpu/s_fabsf.S: Likewise.
9696         * sysdeps/ia64/fpu/s_fabsl.S: Likewise.
9697         * sysdeps/ia64/fpu/s_floor.S: Likewise.
9698         * sysdeps/ia64/fpu/s_floorf.S: Likewise.
9699         * sysdeps/ia64/fpu/s_floorl.S: Likewise.
9700         * sysdeps/ia64/fpu/s_frexp.c: Likewise.
9701         * sysdeps/ia64/fpu/s_frexpf.c: Likewise.
9702         * sysdeps/ia64/fpu/s_frexpl.c: Likewise.
9703         * sysdeps/ia64/fpu/s_ilogb.S: Likewise.
9704         * sysdeps/ia64/fpu/s_ilogbf.S: Likewise.
9705         * sysdeps/ia64/fpu/s_ilogbl.S: Likewise.
9706         * sysdeps/ia64/fpu/s_log1p.S: Likewise.
9707         * sysdeps/ia64/fpu/s_log1pf.S: Likewise.
9708         * sysdeps/ia64/fpu/s_log1pl.S: Likewise.
9709         * sysdeps/ia64/fpu/s_logb.S: Likewise.
9710         * sysdeps/ia64/fpu/s_logbf.S: Likewise.
9711         * sysdeps/ia64/fpu/s_logbl.S: Likewise.
9712         * sysdeps/ia64/fpu/s_modf.S: Likewise.
9713         * sysdeps/ia64/fpu/s_modff.S: Likewise.
9714         * sysdeps/ia64/fpu/s_modfl.S: Likewise.
9715         * sysdeps/ia64/fpu/s_nearbyint.S: Likewise.
9716         * sysdeps/ia64/fpu/s_nearbyintf.S: Likewise.
9717         * sysdeps/ia64/fpu/s_nearbyintl.S: Likewise.
9718         * sysdeps/ia64/fpu/s_rint.S: Likewise.
9719         * sysdeps/ia64/fpu/s_rintf.S: Likewise.
9720         * sysdeps/ia64/fpu/s_rintl.S: Likewise.
9721         * sysdeps/ia64/fpu/s_round.S: Likewise.
9722         * sysdeps/ia64/fpu/s_roundf.S: Likewise.
9723         * sysdeps/ia64/fpu/s_roundl.S: Likewise.
9724         * sysdeps/ia64/fpu/s_significand.S: Likewise.
9725         * sysdeps/ia64/fpu/s_significandf.S: Likewise.
9726         * sysdeps/ia64/fpu/s_significandl.S: Likewise.
9727         * sysdeps/ia64/fpu/s_tan.S: Likewise.
9728         * sysdeps/ia64/fpu/s_tanf.S: Likewise.
9729         * sysdeps/ia64/fpu/s_tanl.S: Likewise.
9730         * sysdeps/ia64/fpu/s_trunc.S: Likewise.
9731         * sysdeps/ia64/fpu/s_truncf.S: Likewise.
9732         * sysdeps/ia64/fpu/s_truncl.S: Likewise.
9733
9734         [BZ #592]
9735         * sysdeps/ia64/fpu/e_acosh.S: New file from Intel libm v2.1+.
9736         * sysdeps/ia64/fpu/e_acoshf.S: Likewise.
9737         * sysdeps/ia64/fpu/e_acoshl.S: Likewise.
9738         * sysdeps/ia64/fpu/e_atanh.S: Likewise.
9739         * sysdeps/ia64/fpu/e_atanhf.S: Likewise.
9740         * sysdeps/ia64/fpu/e_atanhl.S: Likewise.
9741         * sysdeps/ia64/fpu/e_exp10.S: Likewise.
9742         * sysdeps/ia64/fpu/e_exp10f.S: Likewise.
9743         * sysdeps/ia64/fpu/e_exp10l.S: Likewise.
9744         * sysdeps/ia64/fpu/e_exp2.S: Likewise.
9745         * sysdeps/ia64/fpu/e_exp2f.S: Likewise.
9746         * sysdeps/ia64/fpu/e_exp2l.S: Likewise.
9747         * sysdeps/ia64/fpu/e_lgamma_r.S: Likewise.
9748         * sysdeps/ia64/fpu/e_lgammaf_r.S: Likewise.
9749         * sysdeps/ia64/fpu/e_lgammal_r.S: Likewise.
9750         * sysdeps/ia64/fpu/e_logl.S: Likewise.
9751         * sysdeps/ia64/fpu/libm_frexp.S: Likewise.
9752         * sysdeps/ia64/fpu/libm_frexpf.S: Likewise.
9753         * sysdeps/ia64/fpu/libm_frexpl.S: Likewise.
9754         * sysdeps/ia64/fpu/s_libm_ldexp.S: Likewise.
9755         * sysdeps/ia64/fpu/s_libm_ldexpf.S: Likewise.
9756         * sysdeps/ia64/fpu/s_libm_ldexpl.S: Likewise.
9757         * sysdeps/ia64/fpu/s_libm_scalbn.S: Likewise.
9758         * sysdeps/ia64/fpu/s_libm_scalbnf.S: Likewise.
9759         * sysdeps/ia64/fpu/s_libm_scalbnl.S: Likewise.
9760         * sysdeps/ia64/fpu/libm_lgamma.S: Likewise.
9761         * sysdeps/ia64/fpu/libm_lgammaf.S: Likewise.
9762         * sysdeps/ia64/fpu/libm_lgammal.S: Likewise.
9763         * sysdeps/ia64/fpu/libm_sincos.S: Likewise.
9764         * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
9765         * sysdeps/ia64/fpu/libm_sincosf.S: Likewise.
9766         * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
9767         * sysdeps/ia64/fpu/libm_scalblnf.S: Likewise.
9768         * sysdeps/ia64/fpu/s_asinh.S: Likewise.
9769         * sysdeps/ia64/fpu/s_asinhf.S: Likewise.
9770         * sysdeps/ia64/fpu/s_asinhl.S: Likewise.
9771         * sysdeps/ia64/fpu/s_erf.S: Likewise.
9772         * sysdeps/ia64/fpu/s_erfc.S: Likewise.
9773         * sysdeps/ia64/fpu/s_erfcf.S: Likewise.
9774         * sysdeps/ia64/fpu/s_erfcl.S: Likewise.
9775         * sysdeps/ia64/fpu/s_erff.S: Likewise.
9776         * sysdeps/ia64/fpu/s_erfl.S: Likewise.
9777         * sysdeps/ia64/fpu/s_fdim.S: Likewise.
9778         * sysdeps/ia64/fpu/s_fdimf.S: Likewise.
9779         * sysdeps/ia64/fpu/s_fdiml.S: Likewise.
9780         * sysdeps/ia64/fpu/s_fma.S: Likewise.
9781         * sysdeps/ia64/fpu/s_fmaf.S: Likewise.
9782         * sysdeps/ia64/fpu/s_fmal.S: Likewise.
9783         * sysdeps/ia64/fpu/s_fmax.S: Likewise.
9784         * sysdeps/ia64/fpu/s_fmaxf.S: Likewise.
9785         * sysdeps/ia64/fpu/s_fmaxl.S: Likewise.
9786         * sysdeps/ia64/fpu/s_ldexp.c: Likewise.
9787         * sysdeps/ia64/fpu/s_ldexpf.c: Likewise.
9788         * sysdeps/ia64/fpu/s_ldexpl.c: Likewise.
9789         * sysdeps/ia64/fpu/s_nextafter.S: Likewise.
9790         * sysdeps/ia64/fpu/s_nextafterf.S: Likewise.
9791         * sysdeps/ia64/fpu/s_nextafterl.S: Likewise.
9792         * sysdeps/ia64/fpu/s_nexttoward.S: Likewise.
9793         * sysdeps/ia64/fpu/s_nexttowardf.S: Likewise.
9794         * sysdeps/ia64/fpu/s_nexttowardl.S: Likewise.
9795         * sysdeps/ia64/fpu/s_tanh.S: Likewise.
9796         * sysdeps/ia64/fpu/s_tanhf.S: Likewise.
9797         * sysdeps/ia64/fpu/s_tanhl.S: Likewise.
9798         * sysdeps/ia64/fpu/s_scalblnf.c: Likewise.
9799         * sysdeps/ia64/fpu/w_lgamma.c: Likewise.
9800         * sysdeps/ia64/fpu/w_lgammaf.c: Likewise.
9801         * sysdeps/ia64/fpu/w_lgammal.c: Likewise.
9802         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9803         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9804         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9805
9806         [BZ #592]
9807         * sysdeps/ia64/fpu/e_gamma_r.c: New empty dummy-file.
9808         * sysdeps/ia64/fpu/e_gammaf_r.c: Likewise.
9809         * sysdeps/ia64/fpu/e_gammal_r.c: Likewise.
9810         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9811         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9812         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9813         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9814         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9815         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9816         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9817         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9818         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9819         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9820         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9821         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9822         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9823         * sysdeps/ia64/fpu/e_expl.S: Likewise.
9824         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9825         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9826         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9827         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9828         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9829         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9830         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9831         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9832         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9833
9834         [BZ #592]
9835         * sysdeps/ia64/fpu/libm_atan2_reg.S: Remove.
9836         * sysdeps/ia64/fpu/s_ldexp.S: Likewise.
9837         * sysdeps/ia64/fpu/s_ldexpf.S: Likewise.
9838         * sysdeps/ia64/fpu/s_ldexpl.S: Likewise.
9839         * sysdeps/ia64/fpu/s_scalbn.S: Likewise.
9840         * sysdeps/ia64/fpu/s_scalbnf.S: Likewise.
9841         * sysdeps/ia64/fpu/s_scalbnl.S: Likewise.
9842
9843         [BZ #592]
9844         * sysdeps/ia64/fpu/s_sincos.c: Make it an empty dummy-file.
9845         * sysdeps/ia64/fpu/s_sincosf.c: Likewise.
9846         * sysdeps/ia64/fpu/s_sincosl.c: Likewise.
9847
9848         [BZ #592]
9849         * sysdeps/ia64/fpu/e_atan2l.S: Add "Not needed" comment.
9850
9851         [BZ #592]
9852         * sysdeps/ia64/fpu/s_copysign.S: Add __libm_copysign{,f,l}
9853         alias for use by libm_error.c
9854
9855         [BZ #592]
9856         * sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove
9857         libm_atan2_reg, libm_tan, libm_frexp4{f,l}.
9858         Mention s_erfc{,f,l}, libm_frexp{,f,l}, libm_ldexp{,f,l},
9859         libm_sincos{,f,l}, libm_sincos_large, libm_lgamma{,f,l},
9860         libm_scalbn{,f,l}, libm_scalblnf.
9861         (sysdep_routines): Remove libm_frexp4{,f,l}.
9862         Mention libm_frexp{,f,l}, libm_ldexp{,f,l}, and libm_scalbn{,f,l}.
9863         (sysdep-CPPFLAGS): Add -include libm-symbols.h, -D__POSIX__,
9864         _D_LIB_VERSIONIMF=_LIB_VERSION, -DSIZE_LONG_INT_64, and
9865         -DSIZE_LONG_LONG_INT_64.
9866
9867 2005-01-05  Steven Munroe  <sjmunroe@us.ibm.com>
9868
9869         [BZ #729]
9870         * elf/rtld.c (dl_main) [NEED_DL_SYSINFO_DSO]: Insure l_map_end and
9871         l_text_end are set for a VDSO with a single PT_LOAD entry.
9872
9873 2005-01-05  Ulrich Drepper  <drepper@redhat.com>
9874
9875         [BZ #730]
9876         * libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
9877         invalid to disable optimizations in fileops which won't work here.
9878         (_IO_cookie_jumps): Use it.
9879         (_IO_old_cookie_jumps): Likewise.
9880         * libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
9881         not the return value.
9882         * stdio-common/Makefile (tests): Add tst-fmemopen2.
9883         * stdio-common/tst-fmemopen2.c: New file.
9884
9885         * sysdeps/unix/sysv/linux/bits/waitflags.h: Define __WNOTHREAD.
9886
9887 2005-01-05  Roland McGrath  <roland@redhat.com>
9888
9889         * configure.in (libc_cv_cpp_asm_debuginfo): Checked moved ...
9890         * sysdeps/i386/configure.in: ... here.  New file.
9891
9892 2005-01-03  Ulrich Drepper  <drepper@redhat.com>
9893
9894         [BZ #727]
9895         * sysdeps/generic/libc-start.c [SHARED] (__libc_start_main): Don't
9896         initialize __environ again.
9897         * stdlib/Makefile: Add rules to build and run tst-putenv.
9898         * stdlib/tst-putenv.c: New file.
9899         * stdlib/tst-putenvmod.c: New file.
9900
9901         * sysdeps/unix/sysv/linux/init-first.c: Clean file up.  Don't
9902         define unnecessary wrappers or aliases of static functions.
9903
9904 2005-01-03  Andreas Jaeger  <aj@suse.de>
9905
9906         * csu/Makefile (generated): Add start.os and start.ob.
9907
9908         * elf/Makefile (tests): Change rule for tst-pie1 so that make
9909         clean works.
9910
9911 2004-12-29  Roland McGrath  <roland@redhat.com>
9912
9913         [BZ #626]
9914         * sysdeps/unix/alarm.c (alarm): Round return value to nearest rather
9915         than always up; when nearest is zero, round up to one.
9916
9917 2004-12-28  Ulrich Drepper  <drepper@redhat.com>
9918
9919         * po/es.po: Update from translation team.
9920
9921         [BZ #726]
9922         * sysdeps/generic/dl-tls.c (__tls_get_addr): Fix typo.
9923
9924 2004-12-27  Ulrich Drepper  <drepper@redhat.com>
9925
9926         [BZ #744]
9927         * include/signal.h: Define __sigemptyset.
9928
9929 2004-04-27  Paolo Bonzini  <bonzini@gnu.org>
9930
9931         * posix/regex_internal.h (struct re_dfastate_t): Make
9932         word_trtable a pointer to the 512-item transition table.
9933         * posix/regexec.c (build_trtable): Fill in either state->trtable
9934         or state->word_trtable.  Return a boolean indicating success.
9935         (transit_state): Expect state->trtable to be a 256-item
9936         transition table.  Reorganize code to have less tests in
9937         the common case, and to save an indentation level.
9938         * posix/regex_internal.c (free_state): Free word_trtable.
9939
9940 2004-12-21  Jakub Jelinek  <jakub@redhat.com>
9941
9942         [BZ #723]
9943         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Make sure %esp when
9944         calling fn is 16 byte aligned.
9945         * sysdeps/i386/tst-stack-align.h: New file.
9946
9947         [BZ #725]
9948         * misc/efgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
9949         (ecvt_r): Special case denormals.
9950         * misc/qefgcvt_r.c (FLOAT_MIN_10_EXP, FLOAT_MIN_10_NORM): Define.
9951         * misc/tst-efgcvt.c: Include float.h.
9952         (ecvt_tests): Add 2 new tests.
9953
9954 2004-12-20  Roland McGrath  <roland@frob.com>
9955
9956         * version.h (RELEASE, VERSION): development, 2.3.90
9957         * include/features.h (__GLIBC_MINOR__): Now 4.
9958
9959
9960 See ChangeLog.15 for earlier changes.