Update.
[glibc.git] / ChangeLog
blob04b9340950b922641b7147b750c29ba521f77b55
1 2001-03-17  Ulrich Drepper  <drepper@redhat.com>
3         * inet/Makefile (tests): Remove left-over comment.
5         * posix/unistd.h: Change type of second parameter back to size_t
6         as per upcoming XPG6.
7         * sysdeps/unix/sysv/aix/gethostname.c: Change type of second
8         parameter back to size_t as per upcoming XPG6.
9         * sysdeps/unix/sysv/sysv4/gethostname.c: Likewise.
10         * sysdeps/unix/sysv/gethostname.c: Likewise.
11         * sysdeps/mach/hurd/gethostname.c: Likewise.
12         * sysdeps/generic/gethostname.c: Likewise.
14 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
16         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17         Handle NaN here.
19         * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext):
20         Internationalize.
22 2001-02-06  Jakub Jelinek  <jakub@redhat.com>
24         * elf/dl-load.c (_dl_map_object): Don't test l_opencount when
25         looking for name matches.
27 2001-02-26  Jakub Jelinek  <jakub@redhat.com>
29         * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define.
30         * sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
31         * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
32         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33         * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
34         * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Likewise.
35         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h: Likewise.
36         * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
37         * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h: Likewise.
38         * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: Likewise.
39         * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
40         * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
42 2001-03-16  Ulrich Drepper  <drepper@redhat.com>
44         * sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
45         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
47         * sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
48         erfcl.
49         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
51 2001-03-16  David Mosberger  <davidm@hpl.hp.com>
53         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h (struct sigcontext):
54         Drop hack that was needed for 2.1.1 kernel headers.
56         * sysdeps/unix/sysv/linux/ia64/ucontext_i.h: New file.
58         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Rewrite to make it
59         overlay with kernel's "struct sigcontext".
61         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep_headers): Add
62         sys/rse.h for "misc" subdir.
63         (sysdep_routines): Add __start_context for "stdlib" subdir.
65         * sysdeps/unix/sysv/linux/ia64/sys/rse.h: New file (based on
66         kernel file of the same name).
68         * stdlib/Makefile (tests): Add tst-setcontext.
69         * stdlib/tst-setcontext.c: New file (based on a sample program by
70         Uli Drepper).
72         * sysdeps/unix/sysv/linux/ia64/setcontext.S: New file.
73         * sysdeps/unix/sysv/linux/ia64/getcontext.S: New file.
74         * sysdeps/unix/sysv/linux/ia64/__start_context.S: New file.
75         * sysdeps/unix/sysv/linux/ia64/makecontext.c: New file.
76         * sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
78         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Use extr.u
79         instead of shift & and.
81 2001-03-16  Martin Schwidefsky  <schwidefsky@de.ibm.com>
83         * sysdeps/s390/s390-64/bits/huge_val.h: Move to...
84         * sysdeps/s390/bits/huge_val.h: ...here.
85         * sysdeps/s390/s390-32/bit/huge_val.h: Remove.
86         * sysdeps/s390/s390-64/ffs.c: Move to...
87         * sysdeps/s390/ffs.c: ...here.
88         * sysdeps/s390/s390-32/ffs.c: Remove.
90 2001-03-16  Jakub Jelinek  <jakub@redhat.com>
92         * elf/ldconfig.c (search_dir): Remove bogus diagnostic, instead
93         update osversion from more recent library.
95 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
97         * sysdeps/unix/sysv/linux/s390/Dist: Move to...
98         * sysdeps/unix/sysv/linux/s390/s390-32/Dist: ...here.
99         * sysdeps/unix/sysv/linux/s390/Makefile: Move to...
100         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: ...here.
101         * sysdeps/unix/sysv/linux/s390/Versions: Move to...
102         * sysdeps/unix/sysv/linux/s390/s390-32/Versions: ...here.
103         * sysdeps/unix/sysv/linux/s390/alphasort64.c: Move to...
104         * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: ...here.
105         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Move to...
106         * sysdeps/unix/sysv/linux/s390/s390-32/bits/fcntl.h: ...here.
107         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Move to...
108         * sysdeps/unix/sysv/linux/s390/s390-32/bits/mman.h: ...here.
109         * sysdeps/unix/sysv/linux/s390/bits/resource.h: Move to...
110         * sysdeps/unix/sysv/linux/s390/s390-32/bits/resource.h: ...here.
111         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Move to...
112         * sysdeps/unix/sysv/linux/s390/s390-32/bits/stat.h: ...here.
113         * sysdeps/unix/sysv/linux/s390/chown.c: Move to...
114         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: ...here.
115         * sysdeps/unix/sysv/linux/s390/clone.S: Move to...
116         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: ...here.
117         * sysdeps/unix/sysv/linux/s390/fchown.c: Move to...
118         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: ...here.
119         * sysdeps/unix/sysv/linux/s390/fcntl.c: Move to...
120         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: ...here.
121         * sysdeps/unix/sysv/linux/s390/fxstat.c: Move to...
122         * sysdeps/unix/sysv/linux/s390/s390-32/fxstat.c: ...here.
123         * sysdeps/unix/sysv/linux/s390/getdents64.c: Move to...
124         * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: ...here.
125         * sysdeps/unix/sysv/linux/s390/getegid.c: Move to...
126         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: ...here.
127         * sysdeps/unix/sysv/linux/s390/geteuid.c: Move to...
128         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: ...here.
129         * sysdeps/unix/sysv/linux/s390/getgid.c: Move to...
130         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: ...here.
131         * sysdeps/unix/sysv/linux/s390/getgroups.c: Move to...
132         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: ...here.
133         * sysdeps/unix/sysv/linux/s390/getresgid.c: Move to...
134         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: ...here.
135         * sysdeps/unix/sysv/linux/s390/getresuid.c: Move to...
136         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: ...here.
137         * sysdeps/unix/sysv/linux/s390/getrlimit.c: Move to...
138         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: ...here.
139         * sysdeps/unix/sysv/linux/s390/getrlimit64.c: Move to...
140         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: ...here.
141         * sysdeps/unix/sysv/linux/s390/getuid.c: Move to...
142         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: ...here.
143         * sysdeps/unix/sysv/linux/s390/lchown.c: Move to...
144         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: ...here.
145         * sysdeps/unix/sysv/linux/s390/lockf64.c: Move to...
146         * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: ...here.
147         * sysdeps/unix/sysv/linux/s390/lxstat.c: Move to...
148         * sysdeps/unix/sysv/linux/s390/s390-32/lxstat.c: ...here.
149         * sysdeps/unix/sysv/linux/s390/mmap.S: Move to...
150         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: ...here.
151         * sysdeps/unix/sysv/linux/s390/mmap64.S: Move to...
152         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: ...here.
153         * sysdeps/unix/sysv/linux/s390/msgctl.c: Move to...
154         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: ...here.
155         * sysdeps/unix/sysv/linux/s390/oldgetrlimit64.c: Move to...
156         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: ...here.
157         * sysdeps/unix/sysv/linux/s390/readdir64.c: Move to...
158         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: ...here.
159         * sysdeps/unix/sysv/linux/s390/readdir64_r.c: Move to...
160         * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: ...here.
161         * sysdeps/unix/sysv/linux/s390/register-dump.h: Move to...
162         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: ...here.
163         * sysdeps/unix/sysv/linux/s390/scandir64.c: Move to...
164         * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: ...here.
165         * sysdeps/unix/sysv/linux/s390/semctl.c: Move to...
166         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: ...here.
167         * sysdeps/unix/sysv/linux/s390/setegid.c: Move to...
168         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: ...here.
169         * sysdeps/unix/sysv/linux/s390/seteuid.c: Move to...
170         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: ...here.
171         * sysdeps/unix/sysv/linux/s390/setfsgid.c: Move to...
172         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: ...here.
173         * sysdeps/unix/sysv/linux/s390/setfsuid.c: Move to...
174         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: ...here.
175         * sysdeps/unix/sysv/linux/s390/setgid.c: Move to...
176         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: ...here.
177         * sysdeps/unix/sysv/linux/s390/setgroups.c: Move to...
178         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: ...here.
179         * sysdeps/unix/sysv/linux/s390/setregid.c: Move to...
180         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: ...here.
181         * sysdeps/unix/sysv/linux/s390/setresgid.c: Move to...
182         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: ...here.
183         * sysdeps/unix/sysv/linux/s390/setresuid.c: Move to...
184         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: ...here.
185         * sysdeps/unix/sysv/linux/s390/setreuid.c: Move to...
186         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: ...here.
187         * sysdeps/unix/sysv/linux/s390/setrlimit.c: Move to...
188         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: ...here.
189         * sysdeps/unix/sysv/linux/s390/setuid.c: Move to...
190         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: ...here.
191         * sysdeps/unix/sysv/linux/s390/shmctl.c: Move to...
192         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: ...here.
193         * sysdeps/unix/sysv/linux/s390/socket.S: Move to...
194         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: ...here.
195         * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Move to...
196         * sysdeps/unix/sysv/linux/s390/s390-32/sys/procfs.h: ...here.
197         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Move to...
198         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: ...here.
199         * sysdeps/unix/sysv/linux/s390/syscall.S: Move to...
200         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S: ...here.
201         * sysdeps/unix/sysv/linux/s390/syscalls.list: Move to...
202         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: ...here.
203         * sysdeps/unix/sysv/linux/s390/sysdep.S: Move to...
204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: ...here.
205         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here.
207         * sysdeps/unix/sysv/linux/s390/versionsort64.c: Move to...
208         * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: ...here.
209         * sysdeps/unix/sysv/linux/s390/xstat.c: Move to...
210         * sysdeps/unix/sysv/linux/s390/s390-32/xstat.c: ...here.
212 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
214         * sysdeps/unix/sysv/linux/s390/s390-64/Dist: New file.
215         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: New file.
216         * sysdeps/unix/sysv/linux/s390/s390-64/bits/elfclass.h: New file.
217         * sysdeps/unix/sysv/linux/s390/s390-64/bits/fcntl.h: New file.
218         * sysdeps/unix/sysv/linux/s390/s390-64/bits/ipc.h: New file.
219         * sysdeps/unix/sysv/linux/s390/s390-64/bits/mman.h: New file.
220         * sysdeps/unix/sysv/linux/s390/s390-64/bits/msq.h: New file.
221         * sysdeps/unix/sysv/linux/s390/s390-64/bits/resource.h: New file.
222         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sem.h: New file.
223         * sysdeps/unix/sysv/linux/s390/s390-64/bits/shm.h: New file.
224         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: New file.
225         * sysdeps/unix/sysv/linux/s390/s390-64/bits/siginfo.h: New file.
226         * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigstack.h: New file.
227         * sysdeps/unix/sysv/linux/s390/s390-64/bits/stat.h: New file.
228         * sysdeps/unix/sysv/linux/s390/s390-64/bits/types.h: New file.
229         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: New file.
230         * sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: New file.
231         * sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: New file.
232         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: New file.
233         * sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: New file.
234         * sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: New file.
235         * sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: New file.
236         * sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: New file.
237         * sysdeps/unix/sysv/linux/s390/s390-64/glob.c: New file.
238         * sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: New file.
239         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: New file.
240         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: New file.
241         * sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: New file.
242         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: New file.
243         * sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: New file.
244         * sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: New file.
245         * sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: New file.
246         * sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: New file.
247         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: New file.
248         * sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: New file.
249         * sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c : New file.
250         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: New file.
251         * sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: New file.
252         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: New file.
253         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: New file.
254         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c: New file.
255         * sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c: New file.
256         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: New file.
257         * sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: New file.
258         * sysdeps/unix/sysv/linux/s390/s390-64/sys/procfs.h: New file.
259         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: New file.
260         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: New file.
261         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: New file.
262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: New file.
263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: New file.
264         * sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: New file.
265         * sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: New file.
266         * sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: New file.
268 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
270         * sysdeps/s390/Dist: Move to...
271         * sysdeps/s390/390-32/Dist: ...here.
272         * sysdeps/s390/Implies: Move to...
273         * sysdeps/s390/s390-32/Implies: ...here.
274         * sysdeps/s390/Makefile: Move to...
275         * sysdeps/s390/s390-32/Makefile: ...here.
276         * sysdeps/s390/Versions: Move to...
277         * sysdeps/s390-32/s390/Versions: ...here.
278         * sysdeps/s390/add_n.S: Move to...
279         * sysdeps/s390/s390-32/add_n.S: ...here.
280         * sysdeps/s390/addmul_1.S: Move to...
281         * sysdeps/s390/s390-32/addmul_1.S: ...here.
282         * sysdeps/s390/atomicity.h: Move to...
283         * sysdeps/s390/s390-32/atomicity.h: ...here.
284         * sysdeps/s390/backtrace.c: Move to...
285         * sysdeps/s390/s390-32/backtrace.c: ...here.
286         * sysdeps/s390/bcopy.S: Move to...
287         * sysdeps/s390/s390-32/bcopy.S: ...here.
288         * sysdeps/s390/bits/byteswap.h: Move to...
289         * sysdeps/s390/s390-32/bits/byteswap.h: ...here.
290         * sysdeps/s390/bits/huge_val.h: Move to...
291         * sysdeps/s390/s390-32/bits/huge_val.h: ...here.
292         * sysdeps/s390/bsd-_setjmp.S: Move to...
293         * sysdeps/s390/s390-32/bsd-_setjmp.S: ...here.
294         * sysdeps/s390/bsd-setjmp.S: Move to...
295         * sysdeps/s390/s390-32/bsd-setjmp.S: ...here.
296         * sysdeps/s390/bzero.S: Move to...
297         * sysdeps/s390/s390-32/bzero.S: ...here.
298         * sysdeps/s390/elf/bsd-_setjmp.S: Move to...
299         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: ...here.
300         * sysdeps/s390/elf/bsd-setjmp.S: Move to...
301         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: ...here.
302         * sysdeps/s390/elf/start.S: Move to...
303         * sysdeps/s390/s390-32/elf/start.S: ...here.
304         * sysdeps/s390/ffs.c: Move to...
305         * sysdeps/s390/s390-32/ffs.c: ...here.
306         * sysdeps/s390/memchr.S: Move to...
307         * sysdeps/s390/s390-32/memchr.S: ...here.
308         * sysdeps/s390/memcpy.S: Move to...
309         * sysdeps/s390/s390-32/memcpy.S: ...here.
310         * sysdeps/s390/memset.S: Move to...
311         * sysdeps/s390/s390-32/memset.S: ...here.
312         * sysdeps/s390/mul_1.S: Move to...
313         * sysdeps/s390/s390-32/mul_1.S: ...here.
314         * sysdeps/s390/s390-mcount.S: Move to...
315         * sysdeps/s390/s390-32/s390-mcount.S: ...here.
316         * sysdeps/s390/strcpy.S: Move to...
317         * sysdeps/s390/s390-32/strcpy.S: ...here.
318         * sysdeps/s390/strncpy.S: Move to...
319         * sysdeps/s390/s390-32/strncpy.S: ...here.
320         * sysdeps/s390/sub_n.S: Move to...
321         * sysdeps/s390/s390-32/sub_n.S: ...here.
323 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
325         * sysdeps/s390/s390-64/Dist: New file.
326         * sysdeps/s390/s390-64/Implies: New file.
327         * sysdeps/s390/s390-64/Makefile: New file.
328         * sysdeps/s390/s390-64/__longjmp.c: New file.
329         * sysdeps/s390/s390-64/add_n.S: New file.
330         * sysdeps/s390/s390-64/atomicity.h: New file.
331         * sysdeps/s390/s390-64/backtrace.c: New file.
332         * sysdeps/s390/s390-64/bcopy.S: New file.
333         * sysdeps/s390/s390-64/bits/byteswap.h: New file.
334         * sysdeps/s390/s390-64/bits/huge_val.h: New file.
335         * sysdeps/s390/s390-64/bits/setjmp.h: New file.
336         * sysdeps/s390/s390-64/bits/string.h: New file.
337         * sysdeps/s390/s390-64/bsd-_setjmp.S: New file.
338         * sysdeps/s390/s390-64/bsd-setjmp.S: New file.
339         * sysdeps/s390/s390-64/bzero.S: New file.
340         * sysdeps/s390/s390-64/dl-machine.h: New file.
341         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: New file.
342         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: New file.
343         * sysdeps/s390/s390-64/elf/setjmp.S: New file.
344         * sysdeps/s390/s390-64/elf/start.S: New file.
345         * sysdeps/s390/s390-64/ffs.c: New file.
346         * sysdeps/s390/s390-64/initfini.c: New file.
347         * sysdeps/s390/s390-64/memchr.S: New file.
348         * sysdeps/s390/s390-64/memcpy.S: New file.
349         * sysdeps/s390/s390-64/memset.S: New file.
350         * sysdeps/s390/s390-64/s390x-mcount.S: New file.
351         * sysdeps/s390/s390-64/setjmp.S: New file.
352         * sysdeps/s390/s390-64/strcpy.S: New file.
353         * sysdeps/s390/s390-64/strncpy.S: New file.
354         * sysdeps/s390/s390-64/sub_n.S: New file.
355         * sysdeps/s390/s390-64/sysdep.h: New file.
357 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
359         * scripts/config.guess: Add support for Linux on 64 bit S/390.
360         * scripts/config.sub: Likewise.
362 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
364         * configure.in: Add support for 64 bit S/390.
366         * elf/elf.h: Add new relocations for 64 bit S/390.
368         * shlib-versions: Add rules for Linux on 64 bit S/390.
370 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
372         * sysdeps/s390/__longjmp.c: Move to...
373         * sysdeps/s390/s390-32/__longjmp.c: ...here.  Add code
374         to load the floating point registers that should be saved
375         according to the ABI.
377         * sysdeps/s390/bits/setjmp.h: Move to...
378         * sysdeps/s390/s390-32/bits/setjmp.h: ...here.  Avoid
379         the use of long long in the __jmp_buf type definition.
381         * sysdeps/s390/bits/string.h: Move to...
382         * sysdeps/s390/s390-32/bits/string.h: ...here.  Add several missing
383         #ifndef _FORCE_INLINES.
385         * sysdeps/s390/dl-machine.h: Move to...
386         * sysdeps/s390/s390-32/dl-machine.h: ...here.  Add a check for the
387         executables EI_CLASS in elf_machine_matches_host.
389         * sysdeps/s390/elf/setjmp.S: Move to...
390         * sysdeps/s390/s390-32/elf/setjmp.S: ...here.  Replace
391         branches to globally defined symbol __sigsetjmp by branches to
392         a local label (this avoids the generation of a R_390_PC16DBL
393         relocation in -fpic code).
395         * sysdeps/s390/gmp-mparam.h: Use defines from <bits/wordsize.h> to
396         calculate BITS_PER_MP_LIMB, BYTES_PER_MP_LIMB and BITS_PER_LONGINT.
398         * sysdeps/s390/initfini.c: Move to...
399         * sysdeps/s390/s390-32/initfini.c: ...here.  Replace ALIGN with
400         ".align 4,0x07".
402         * sysdeps/s390/setjmp.S: Move to...
403         * sysdeps/s390/s390-32/setjmp.S: ...here.  Add code to store the
404         floating point registers that should be saved according to the ABI.
406         * sysdeps/s390/sys/ucontext.h: Remove since it is unused.
408         * sysdeps/unix/sysv/linux/s390/sysdep.h: Move to...
409         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: ...here. Include
410         sysdeps/s390/s390-32/sysdep.h instead of sysdeps/s390/sysdep.h.
412 2001-03-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
414         * configure.in: Change machine=s390 to machine=s390/s390-32.
416         * elf/elf.h: Correct comment for R_390_PLT16DBL.
418 2001-03-12  Jakub Jelinek  <jakub@redhat.com>
420         * csu/Makefile (abi-tag.h): Define OS and version separately, allow
421         version to be overriden from config.h.
422         * csu/abi-note.S: Use OS and version separately, include config.h.
423         * elf/dl-load.c (_dl_osversion): New.
424         (_dl_map_object_from_fd): Kill some warnings.
425         (open_verify): Check .note.ABI-tag of the library if present.
426         * elf/Makefile (CPPFLAGS-dl-load.c): Add -I$(csu-objpfx).
427         * elf/cache.c (struct cache_entry): Add osversion.
428         (print_entry): Print osversion.
429         (print_cache): Pass osversion to it.
430         (compare): Sort according to osversion.
431         (save_cache): Set osversion.
432         (add_to_cache): Add osversion argument.
433         * sysdeps/generic/ldconfig.h (add_to_cache, process_file,
434         process_elf_file): Add osversion argument.
435         * elf/readlib.c (process_file): Likewise.
436         * sysdeps/generic/readelflib.c (process_elf_file): Likewise.
437         * sysdeps/unix/sysv/linux/ia64/readelflib.c (process_elf_file,
438         process_elf32_file, process_elf64_file): Likewise.
439         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file,
440         process_elf32_file, process_elf64_file): Likewise.
441         * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file,
442         process_elf32_file, process_elf64_file): Likewise.
443         * elf/ldconfig.c (manual_link): Pass it.
444         (search_dir): Issue diagnostic if two libs with the same soname in
445         the same directory have different .note.ABI-tag.  Record osversion in
446         dlib_entry and use it from there.
447         (struct lib_entry): Remove.
448         (struct dlib_entry): Add osversion.
449         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Check
450         osversion.
451         * sysdeps/generic/dl-cache.h (struct file_entry_new): Replace __unused
452         field with osversion.
453         * sysdeps/generic/ldsodefs.h (_dl_osversion): Declare.
454         * sysdeps/unix/sysv/linux/init-first.c: Include ldsodefs.h.
455         * sysdeps/unix/sysv/linux/dl-osinfo.h (DL_SYSDEP_OSCHECK): Save kernel
456         version in _dl_osversion.
457         * sysdeps/unix/sysv/linux/configure.in: Define __ABI_TAG_VERSION.
458         * Makerules (build-shlib-helper, build-module-helper): New.
459         (build-shlib, build-module-helper): Make sure .note.ABI-tag comes
460         early.
461         * config.h.in (__ABI_TAG_VERSION): Add.
462         * elf/dl-minimal.c (__strtoul_internal): Set endptr on return.
463         * sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS):
464         Handle LD_ASSUME_KERNEL.
465         * sysdeps/unix/sysv/linux/dl-librecon.h: New.
467 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
469         * timezone/antarctica: Update from tzdata2001a.
470         * timezone/asia: Likewise.
471         * timezone/australasia: Likewise.
472         * timezone/backward: Likewise.
473         * timezone/etcetera: Likewise.
474         * timezone/europe: Likewise.
475         * timezone/leapseconds: Likewise.
476         * timezone/northamerica: Likewise.
477         * timezone/southamerica: Likewise.
478         * timezone/systemv: Likewise.
479         * timezone/yearistype: Likewise.
480         * timezone/zone.tab: Likewise.
481         * timezone/tzdump.c: Update from tzcode2001a.
483 2001-03-15  H.J. Lu  <hjl@gnu.org>
485         * intl/Makefile: Fix a typo.
487 2001-03-14  David Mosberger  <davidm@hpl.hp.com>
489         * gmon/gmon.c (write_call_graph): Avoid unaligned accesses when
490         writing arc structures.
492 2001-03-15  H.J. Lu  <hjl@gnu.org>
494         * elf/Makefile ($(objpfx)tst-pathopt.out): Protected against
495         cross-compiling.
497 2001-03-13  Andreas Schwab  <schwab@suse.de>
499         * posix/PTESTS2C.sed: Replace literal CRs by `\r'.
501 2001-03-15  Ulrich Drepper  <drepper@redhat.com>
503         * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Fix test
504         for control message fitting into message data.
505         Patch by James Antill <james@and.org>.
507         * posix/tst-fnmatch.input: Add test case for FNM_PERIOD handling with
508         FNM_EXTMATCH.
510         * posix/fnmatch_loop.c: Optimize handling of ?() and @().
511         * posix/fnmatch.c: Define STRLEN and STRCAT appropriately.
513         * posix/Versions [libc] (GLIBC_2.2.3): Add fnmatch.
514         * posix/fnmatch.c: Define with new default version GLIBC_2.2.3 to
515         avoid running binaries with libc versions without FNM_EXTMATCH support.
517         * include/wchar.h: Add prototype for __wcscat.
518         * wcsmbs/wcscat.c: Define __wcscat and make wcscat weak alias.
520         * posix/fnmatch.h (FNM_EXTMATCH): Define.
521         * posix/fnmatch.c (NO_LEADING_PERIOD): Define.
522         (posixly_correct): Move global variable here.
523         (INT, EXT, END): Name new functions defined in fnmatch_loop.c.
524         (fnmatch): Pretty printing.
525         * posix/fnmatch_loop.c: Add code to handle FNM_EXTMATCH.
526         * posix/tst-fnmatch.c: Recognize EXTMATCH flag.
527         * posix/tst-fnmatch.input: Add tests for extended matching.
529         * posix/testfnm.c: Add test for patterns with multiple ** before /.
530         * posix/fnmatch_loop.c: Fix problem with the test above.
532 2001-03-14  Ulrich Drepper  <drepper@redhat.com>
534         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove
535         reference to usqrt.
537         * resolv/res_data.c (fp_nquery): Call __res_ninit not __res_init.
539 2001-03-12  Andreas Jaeger  <aj@suse.de>
541         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
542         Use EM_X86_64 instead of EM_X8664.
544 2001-03-12  Ulrich Drepper  <drepper@redhat.com>
546         * sysdeps/ieee754/dbl-64/upow.h: Define nZERO and nINF.
548         * sysdeps/ieee754/dbl-64/e_remainder.c: Fix handling of boundary
549         conditions.
551         * sysdeps/ieee754/dbl-64/e_pow.c: Fix handling of boundary
552         conditions.
554         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Handle Inf and NaN
555         correctly.
556         (__cos): Likewise.
558         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Handle NaN
559         correctly.
560         (__ieee754_acos): Likewise.
562 2001-03-12  Andreas Jaeger  <aj@suse.de>
564         * sysdeps/unix/sysv/linux/s390/sysdep.h (_LINUX_S390_SYSDEP_H):
565         Fix typo.  Patch by Martin Schwidefsky  <schwidefsky@de.ibm.com>.
567         * sysdeps/s390/bits/string.h: Protect __STRING_INLINE against
568         redefinition.
570 2001-03-11  Roland McGrath  <roland@frob.com>
572         * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix.
574 2001-03-11  Ulrich Drepper  <drepper@redhat.com>
576         * sysdeps/ieee754/dbl-64/endian.h: Define also one of BIG_ENDI and
577         LITTLE_ENDI.
579         * sysdeps/ieee754/dbl-64/MathLib.h (Init_Lib): Use void as
580         parameter list.
582         Last-bit accurate math library implementation by IBM Haifa.
583         Contributed by Abraham Ziv <ziv@il.ibm.com>, Moshe Olshansky
584         <olshansk@il.ibm.com>, Ealan Henis <ealan@il.ibm.com>, and
585         Anna Reitman <reitman@il.ibm.com>.
586         * math/Makefile (dbl-only-routines): New variable.
587         (libm-routines): Add $(dbl-only-routines).
588         * sysdeps/ieee754/dbl-64/e_acos.c: Empty, definition is in e_asin.c.
589         * sysdeps/ieee754/dbl-64/e_asin.c: Replaced with accurate asin
590         implementation.
591         * sysdeps/ieee754/dbl-64/e_atan2.c: Replaced with accurate atan2
592         implementation.
593         * sysdeps/ieee754/dbl-64/e_exp.c: Replaced with accurate exp
594         implementation.
595         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Don't use __kernel_sin and
596         __kernel_cos.
597         * sysdeps/ieee754/dbl-64/e_log.c: Replaced with accurate log
598         implementation.
599         * sysdeps/ieee754/dbl-64/e_remainder.c: Replaced with accurate
600         remainder implementation.
601         * sysdeps/ieee754/dbl-64/e_pow.c: Replaced with accurate pow
602         implementation.
603         * sysdeps/ieee754/dbl-64/e_sqrt.c: Replaced with accurate sqrt
604         implementation.
605         * sysdeps/ieee754/dbl-64/k_cos.c: Empty, definition is in s_sin.c.
606         * sysdeps/ieee754/dbl-64/k_sin.c: Empty, definition is in s_sin.c.
607         * sysdeps/ieee754/dbl-64/s_atan.c: Replaced with accurate atan
608         implementation.
609         * sysdeps/ieee754/dbl-64/s_cos.c: Empty, definition is in s_sin.c.
610         * sysdeps/ieee754/dbl-64/s_sin.c: Replaced with accurate sin/cos
611         implementation.
612         * sysdeps/ieee754/dbl-64/s_sincos.c: Rewritten to not use __kernel_sin
613         and __kernel_cos.
614         * sysdeps/ieee754/dbl-64/s_tan.c: Replaced with accurate tan
615         implementation.
616         * sysdeps/ieee754/dbl-64/Dist: Add new non-code files.
617         * sysdeps/ieee754/dbl-64/MathLib.h: New file.
618         * sysdeps/ieee754/dbl-64/asincos.tbl: New file.
619         * sysdeps/ieee754/dbl-64/atnat.h: New file.
620         * sysdeps/ieee754/dbl-64/atnat2.h: New file.
621         * sysdeps/ieee754/dbl-64/branred.c: New file.
622         * sysdeps/ieee754/dbl-64/branred.h: New file.
623         * sysdeps/ieee754/dbl-64/dla.h: New file.
624         * sysdeps/ieee754/dbl-64/doasin.c: New file.
625         * sysdeps/ieee754/dbl-64/doasin.h: New file.
626         * sysdeps/ieee754/dbl-64/dosincos.c: New file.
627         * sysdeps/ieee754/dbl-64/dosincos.h: New file.
628         * sysdeps/ieee754/dbl-64/endian.h: New file.
629         * sysdeps/ieee754/dbl-64/halfulp.c: New file.
630         * sysdeps/ieee754/dbl-64/mpa.c: New file.
631         * sysdeps/ieee754/dbl-64/mpa.h: New file.
632         * sysdeps/ieee754/dbl-64/mpa2.h: New file.
633         * sysdeps/ieee754/dbl-64/mpatan.c: New file.
634         * sysdeps/ieee754/dbl-64/mpatan.h: New file.
635         * sysdeps/ieee754/dbl-64/mpatan2.c: New file.
636         * sysdeps/ieee754/dbl-64/mpexp.c: New file.
637         * sysdeps/ieee754/dbl-64/mpexp.h: New file.
638         * sysdeps/ieee754/dbl-64/mplog.c: New file.
639         * sysdeps/ieee754/dbl-64/mplog.h: New file.
640         * sysdeps/ieee754/dbl-64/mpsqrt.c: New file.
641         * sysdeps/ieee754/dbl-64/mpsqrt.h: New file.
642         * sysdeps/ieee754/dbl-64/mptan.c: New file.
643         * sysdeps/ieee754/dbl-64/mydefs.h: New file.
644         * sysdeps/ieee754/dbl-64/powtwo.tbl: New file.
645         * sysdeps/ieee754/dbl-64/root.tbl: New file.
646         * sysdeps/ieee754/dbl-64/sincos.tbl: New file.
647         * sysdeps/ieee754/dbl-64/sincos32.c: New file.
648         * sysdeps/ieee754/dbl-64/sincos32.h: New file.
649         * sysdeps/ieee754/dbl-64/slowexp.c: New file.
650         * sysdeps/ieee754/dbl-64/slowpow.c: New file.
651         * sysdeps/ieee754/dbl-64/uasncs.h: New file.
652         * sysdeps/ieee754/dbl-64/uatan.tbl: New file.
653         * sysdeps/ieee754/dbl-64/uexp.h: New file.
654         * sysdeps/ieee754/dbl-64/uexp.tbl: New file.
655         * sysdeps/ieee754/dbl-64/ulog.h: New file.
656         * sysdeps/ieee754/dbl-64/ulog.tbl: New file.
657         * sysdeps/ieee754/dbl-64/upow.h: New file.
658         * sysdeps/ieee754/dbl-64/upow.tbl: New file.
659         * sysdeps/ieee754/dbl-64/urem.h: New file.
660         * sysdeps/ieee754/dbl-64/uroot.h: New file.
661         * sysdeps/ieee754/dbl-64/usncs.h: New file.
662         * sysdeps/ieee754/dbl-64/utan.h: New file.
663         * sysdeps/ieee754/dbl-64/utan.tbl: New file.
664         * sysdeps/i386/fpu/branred.c: New file.
665         * sysdeps/i386/fpu/doasin.c: New file.
666         * sysdeps/i386/fpu/dosincos.c: New file.
667         * sysdeps/i386/fpu/halfulp.c: New file.
668         * sysdeps/i386/fpu/mpa.c: New file.
669         * sysdeps/i386/fpu/mpatan.c: New file.
670         * sysdeps/i386/fpu/mpatan2.c: New file.
671         * sysdeps/i386/fpu/mpexp.c: New file.
672         * sysdeps/i386/fpu/mplog.c: New file.
673         * sysdeps/i386/fpu/mpsqrt.c: New file.
674         * sysdeps/i386/fpu/mptan.c: New file.
675         * sysdeps/i386/fpu/sincos32.c: New file.
676         * sysdeps/i386/fpu/slowexp.c: New file.
677         * sysdeps/i386/fpu/slowpow.c: New file.
678         * sysdeps/ia64/fpu/branred.c: New file.
679         * sysdeps/ia64/fpu/doasin.c: New file.
680         * sysdeps/ia64/fpu/dosincos.c: New file.
681         * sysdeps/ia64/fpu/halfulp.c: New file.
682         * sysdeps/ia64/fpu/mpa.c: New file.
683         * sysdeps/ia64/fpu/mpatan.c: New file.
684         * sysdeps/ia64/fpu/mpatan2.c: New file.
685         * sysdeps/ia64/fpu/mpexp.c: New file.
686         * sysdeps/ia64/fpu/mplog.c: New file.
687         * sysdeps/ia64/fpu/mpsqrt.c: New file.
688         * sysdeps/ia64/fpu/mptan.c: New file.
689         * sysdeps/ia64/fpu/sincos32.c: New file.
690         * sysdeps/ia64/fpu/slowexp.c: New file.
691         * sysdeps/ia64/fpu/slowpow.c: New file.
692         * sysdeps/m68k/fpu/branred.c: New file.
693         * sysdeps/m68k/fpu/doasin.c: New file.
694         * sysdeps/m68k/fpu/dosincos.c: New file.
695         * sysdeps/m68k/fpu/halfulp.c: New file.
696         * sysdeps/m68k/fpu/mpa.c: New file.
697         * sysdeps/m68k/fpu/mpatan.c: New file.
698         * sysdeps/m68k/fpu/mpatan2.c: New file.
699         * sysdeps/m68k/fpu/mpexp.c: New file.
700         * sysdeps/m68k/fpu/mplog.c: New file.
701         * sysdeps/m68k/fpu/mpsqrt.c: New file.
702         * sysdeps/m68k/fpu/mptan.c: New file.
703         * sysdeps/m68k/fpu/sincos32.c: New file.
704         * sysdeps/m68k/fpu/slowexp.c: New file.
705         * sysdeps/m68k/fpu/slowpow.c: New file.
707         * iconvdata/gconv-modules: Add a number of alias, mostly for IBM
708         codepages.
710 2001-03-11  Andreas Jaeger  <aj@suse.de>
712         * elf/elf.h (EM_*): Synch with official list.
714 2001-03-07  David Mosberger  <davidm@hpl.hp.com>
716         * sysdeps/ia64/bits/fenv.h (FE_NONIEEE_ENV): New macro.
718 2001-03-07  Jes Sorensen  <jes@linuxcare.com>
720         * sysdeps/unix/sysv/linux/ia64/ioperm.c (_ioperm): Remove unused
721         variables addr & len.
723 2001-02-22  Jes Sorensen  <jes@linuxcare.com>
725         * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Remove
726         punctuation in asm constraint.
728 2001-03-07  Mark Kettenis  <kettenis@gnu.org>
730         * resolv/netdb.h [__USE_GNU]: Define __need_timespec and include
731         <time.h> to get definition of `struct timespec'.
733 2001-03-08  Jakub Jelinek  <jakub@redhat.com>
735         * elf/rtld.c (dl_main): If tracing, warn about undefined symbols if
736         LD_WARN=1, not if LD_WARN is unset.
738 2001-03-07  Andreas Schwab  <schwab@suse.de>
740         * elf/ldconfig.h: Moved to ...
741         * sysdeps/generic/ldconfig.h: ... here.
742         * sysdeps/unix/sysv/linux/i386/ldconfig.h: New file.
743         * sysdeps/unix/sysv/linux/m68k/ldconfig.h: New file.
744         * sysdeps/unix/sysv/linux/ia64/ldconfig.h: New file.
745         * elf/readlib.c (interpreters, known_libs): Use
746         SYSDEP_KNOWN_INTERPRETER_NAMES and SYSDEP_KNOWN_LIBRARY_NAMES
747         instead of hard coding old names.
749 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
751         * catgets/Makefile (generated): Add test-gencat.h.
752         (sample.SJIS.cat): Also generate header.
753         * catgets/sample.SJIS: Add new set and message, both with symbolic
754         names.
755         * catgets/test-gencat.sh: Also compare generated header with what
756         we expect.
758 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
760         * catgets/gencat.c (read_input_file): Preserve properly symbolic
761         names.
763 2001-03-06  Andreas Jaeger  <aj@suse.de>
765         * sysdeps/s390/dl-machine.h (elf_machine_relplt): Removed, it's not
766         needed.
767         (elf_machine_pltrel_p): Likewise.
768         * sysdeps/powerpc/dl-machine.h: Likewise.
769         * sysdeps/generic/dl-machine.h (elf_machine_pltrel_p): Likewise.
771 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
773         * sysdeps/unix/sysv/linux/arm/Dist: Add dl-procinfo.c and
774         dl-procinfo.h.
776 2001-03-05  Philip Blundell  <philb@gnu.org>
778         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: New file.
779         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: New file.
780         * sysdeps/unix/sysv/linux/arm/Makefile [subdir=elf]
781         (sysdep-dl-routines, sysdep_routines, sysdep-rtld-routines): Add
782         dl-procinfo.
784 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
786         * dlfcn/tstatexit.c (main): Don't perform the test if __dso_handle
787         is not available.
788         * dlfcn/tstcxaatexit.c (main): Likewise.
790 2001-03-10  Andreas Jaeger  <aj@suse.de>
792         * sysdeps/i386/fpu/libm-test-ulps: Revert last patch.
794 2001-03-09  Andreas Jaeger  <aj@suse.de>
796         * sysdeps/s390/dl-machine.h (elf_machine_matches_host): Handle
797         both new and old EM_S390 values.
798         (EM_S390_OLD): New constant.
800         * elf/elf.h (EM_S390): Use official value.
802 2001-03-09  Ulrich Drepper  <drepper@redhat.com>
804         * conform/data/sys/socket.h-data: Allow SO* symbols.
806 2001-03-07  Andreas Schwab  <schwab@suse.de>
808         * sysdeps/ia64/fpu/Makefile: Modify sysdep_routines instead of
809         routines, and sysdep-CPPFLAGS instead of CPPFLAGS.
811 2001-03-07  Andreas Jaeger  <aj@suse.de>
813         * resolv/Makefile (routines): Only build gai_sigqueue when threads
814         are available.
816 2001-03-07  Jakub Jelinek  <jakub@redhat.com>
818         * elf/ldconfig.c (_dl_sysdep_message): Remove.
819         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Include
820         ldsodefs.h.
821         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
823         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Use
824         _dl_error_printf instead of _dl_sysdep_error.
825         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
826         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h (_dl_procinfo):
827         Use _dl_printf instead of _dl_sysdep_message.
828         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h (_dl_procinfo):
829         Likewise.
831 2001-03-06  Ben Collins  <bcollins@debian.org>
833         * manual/arith.texi (Integers): Fix documentation of fast and
834         least integer typedefs.
836 2001-03-06  Jakub Jelinek  <jakub@redhat.com>
838         * resolv/Depend: New file.
839         * resolv/Makefile (extra-libs, tests): Build libanl and ga_test only
840         when libpthread is built.
842 2001-03-06  Andreas Jaeger  <aj@suse.de>
844         * sysdeps/i386/fpu/libm-test-ulps: Add some deltas.
846         * sysdeps/sh/dl-machine.h (elf_machine_rela): Add missing comma.
847         Patch by kaz Kojima <kkojima@rr.iij4u.or.jp>.
849 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
851         * stdlib/Versions: Remove __new_exitfn again.  Not needed.
853 2001-03-05  Andreas Jaeger  <aj@suse.de>
855         * stdlib/msort.c (qsort): Don't use alloca in a function call.
857 2001-03-05  Ulrich Drepper  <drepper@redhat.com>
859         * sysdeps/unix/sysv/linux/bits/stat.h (__S_TYPEISMQ, __S_TYPEISSEM,
860         __S_TYPEISSHM): Rewrite to enforce correct use the macros.  They still
861         always return zero.
862         * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
863         * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
864         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
865         * sysdeps/unix/sysv/linux/m68k/bits/stat.h: Likewise.
866         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
867         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
868         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
870 2001-03-04  Andreas Jaeger  <aj@suse.de>
872         * stdlib/longlong.h: Don't use multi-line strings.
873         * iconvdata/tst-loading.c: Likewise.
875         * csu/Makefile ($(objpfx)version-info.h): Don't use multi-line
876         string.
878 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
880         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for addition of lgammal.
882         * rt/lio_listio.c: Add a few asserts.
884         * elf/global.c: New file.
885         * elf/globalmod1.c: New file.
886         * elf/Makefile: Add rules to build and run global.
888         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Define SI_ASYNCNL.
889         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
890         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
892         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
894         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: New file.
895         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
897         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Fix handling of boundary cases.
899         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Always initialize sign variable.
900         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
902         * sysdeps/i386/fpu/libm-test-ulps: Adjust after addition of lgammal.
904         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Fix typo in last change.
906 2001-03-04  Andreas Jaeger  <aj@suse.de>
908         * resolv/tst-aton.c: Add testcase for IP with four periods.
910         * resolv/inet_addr.c: Don't recognize an IP with four periods.
911         Patch by Andre' Breiler <A.Breiler@gmx.net>.
913 2001-02-27  Philip Blundell  <pb@futuretv.com>
915         * elf/elf.h: Add new ARM definitions from latest (B-01)
916         specification.  Correct naming of EF_ARM_ALIGN8 et al.
918 2001-03-04  Ulrich Drepper  <drepper@redhat.com>
920         * stdio-common/tst-printf.sh: Remove bashisms.
921         Patch by Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>.
923 2001-03-03  Ulrich Drepper  <drepper@redhat.com>
925         * Versions.def: Add libanl definition.
926         * shlib-versions: Add entry for libanl.
927         * resolv/Makefile (distribute): Add gai_misc.h and ga_test.c.
928         (routines): Add gai_sigqueue.
929         (extra-libs): Add libanl.
930         (libanl-routines): New variable.
931         Add rules to build libanl and ga_test.
932         * resolv/Versions [libc] (GLIBC_2.2.3): Add __gai_sigqueue.
933         [libanl]: New library.
934         * resolv/netdb.h: Add definitions for libanl.
935         * resolv/getaddrinfo_a.c: New file.
936         * resolv/gai_cancel.c: New file.
937         * resolv/gai_error.c: New file.
938         * resolv/gai_misc.c: New file.
939         * resolv/gai_misc.h: New file.
940         * resolv/gai_notify.c: New file.
941         * resolv/gai_suspend.c: New file.
942         * resolv/ga_test.c: New file.
943         * sysdeps/generic/gai_sigqueue.c: New file.
944         * sysdeps/unix/sysv/linux/gai_sigqueue.c: New file.
945         * sysdeps/generic/bits/siginfo.h: Allow __need_sigevent_t being defined
946         and provide only that definition.
947         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
948         * sysdeps/unix/sysv/linux/bits/siginfo.h: Likewise.
949         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
950         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
952         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
954         * rt/aio_misc.c: Fix typos in comments.
955         * rt/lio_listio.c: Pretty printing.  Little optimization in request
956         list handling.
958         * elf/rtld.c: Remove commented out code.
960         * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC):
961         Update for real 2.4 kernels.
963 2001-03-01  Ulrich Drepper  <drepper@redhat.com>
965         * elf/dl-load.c: Pretty printing.
967         * elf/dl-object.c (_dl_new_object): Don't add the loader's scope
968         twice.
970 2001-02-28  Ulrich Drepper  <drepper@redhat.com>
972         * sysdeps/alpha/dl-machine.h (elf_machine_rela): Don't handle
973         relocations which are not in ld.so if RTLD_BOOTSTRAP is defined.
975         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
977         * elf/dl-misc.c (_dl_debug_vdprintf): Fix typo visible on 64-bit
978         machines.
980         * sysdeps/unix/sysv/linux/powerpc/sysdep.h (C_TEXT): Define.
982 2001-02-27  Ulrich Drepper  <drepper@redhat.com>
984         * sysdeps/powerpc/elf/libc-start.c: Use new output functions and
985         _dl_debug_mask.
987         * elf/Versions [ld]: Don't export _dl_debug_message anymore.  Export
988         _dl_debug_printf.
989         * elf/dl-misc.c: Remove definition of _dl_sysdep_output and
990         _dl_debug_message.  Define _dl_debug_vdprintf, _dl_debug_printf,
991         _dl_debug_printf_c, and _dl_printf.
992         * sysdeps/generic/ldsodefs.h: Don't declare _dl_sysdep_output,
993         _dl_debug_message, _dl_sysdep_message, _dl_sysdep_error, and
994         _dl_sysdep_fatal.  Declare _dl_debug_printf, _dl_debug_printf_c,
995         _dl_printf, _dl_error_printf, and _dl_fatal_printf.
996         * elf/dl-close.c: Replace use of old output functions with the new
997         ones.
998         * elf/dl-deps.c: Likewise.
999         * elf/dl-error.c: Likewise.
1000         * elf/dl-fini.c: Likewise.
1001         * elf/dl-init.c: Likewise.
1002         * elf/dl-load.c: Likewise.
1003         * elf/dl-lookup.c: Likewise.
1004         * elf/dl-minimal.c: Likewise.
1005         * elf/dl-open.c: Likewise.
1006         * elf/dl-profile.c: Likewise.
1007         * elf/dl-reloc.c: Likewise.
1008         * elf/dl-version.c: Likewise.
1009         * elf/do-lookup.h: Likewise.
1010         * elf/rtld.c: Likewise.
1011         * sysdeps/generic/dl-cache.c: Likewise.
1012         * sysdeps/generic/dl-sysdep.c: Likewise.
1013         * sysdeps/generic/libc-start.c: Likewise.
1014         * sysdeps/i386/dl-machine.h: Likewise.
1015         * sysdeps/arm/dl-machine.h: Likewise.
1016         * sysdeps/hppa/dl-machine.h: Likewise.
1017         * sysdeps/m68k/dl-machine.h: Likewise.
1018         * sysdeps/powerpc/dl-machine.h: Likewise.
1019         * sysdeps/s390/dl-machine.h: Likewise.
1020         * sysdeps/sh/dl-machine.h: Likewise.
1021         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1022         * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise.
1023         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1025         * sysdeps/generic/ldsodefs.h: Remove _dl_secure declaration.
1027         * dlfcn/Makefile: Don't run tstatexit test unless .hidden is
1028         supported by assembler.
1030         * sysdeps/generic/ldsodefs.h: Remove commented-out variable
1031         declaractions.
1033         * elf/rtld.c: Little optimizations in handling _dl_lazy.
1035         * elf/cache.c (save_cache): Portability changes.
1036         * elf/dl-profile.c (_dl_start_profile): Likewise.
1038         * elf/sln.c: Cleanups.  Remove arbitrary limits.
1040         * elf/dl-close.c: Replace _dl_debug_* variables with _dl_debug_mask.
1041         * elf/dl-deps.c: Likewise.
1042         * elf/dl-fini.c: Likewise.
1043         * elf/dl-init.c: Likewise.
1044         * elf/dl-load.c: Likewise.
1045         * elf/dl-lookup.c: Likewise.
1046         * elf/dl-open.c: Likewise.
1047         * elf/dl-reloc.c: Likewise.
1048         * elf/dl-support.c: Likewise.
1049         * elf/dl-version.c: Likewise.
1050         * elf/do-lookup.h: Likewise.
1051         * elf/rtld.c: Likewise.
1052         * sysdeps/generic/dl-cache.c: Likewise.
1053         * sysdeps/generic/ldsodefs.h: Likewise.
1054         * sysdeps/generic/libc-start.c: Likewise.
1055         * elf/Versions: Don't export _dl_debug_impcalls and _dl_debug_files.
1056         Export _dl_debug_mask.
1057         * Versions.def: Define GLIBC_2.2.3 for ld.
1059 2001-02-26  Greg McGary  <greg@mcgary.org>
1061         * sysdeps/unix/make-syscalls.sh (ptr): Handle `V' keyletter.
1063 2001-02-26  Paul Eggert  <eggert@twinsun.com>
1065         Modify mkstemp.c and tempname.c so that they can be used by
1066         GNU applications on non-glibc platforms.
1068         * misc/mkstemp.c (__GT_FILE): Define to zero if not defined.
1070         * sysdeps/posix/tempname.c: Include <config.h> if HAVE_CONFIG_H.
1071         Include <stddef.h>, <stdint.h>, <string.h> only if
1072         STDC_HEADERS || _LIBC.
1073         Include <fcntl.h> only if HAVE_FCNTL_H || _LIBC.
1074         Include <unistd.h> only if HAVE_UNISTD_H || _LIBC.
1075         Include <sys/time.h> only if HAVE_SYS_TIME_H || _LIBC.
1076         (__set_errno): Define this macro if <errno.h> doesn't.
1077         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
1078         Define these macros if <stdio.h> doesn't.
1079         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
1080         Define these macros if <sys/stat.h> doesn't.
1081         Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
1082         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64,
1083         lxstat64, __xstat64): Define if not _LIBC.
1084         (struct_stat64): New macro.
1085         (direxists, __gen_tempname): Use it, to avoid a
1086         portability problem with Solaris 8.
1087         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
1088         (__gen_tempname): Invoke gettimeofday only if
1089         HAVE_GETTIMEOFDAY || _LIBC; otherwise, fall back on plain "time".
1090         Use portable macros like S_IRUSR | S_IWUSR rather than nonportable
1091         octal values like 0600.
1093 2001-02-26  Ulrich Drepper  <drepper@redhat.com>
1095         * sysdeps/ieee754/ldbl-96/e_jnl.c: New file.
1096         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1098         * sysdeps/i386/fpu/libm-test-ulps: Update for jnl and ynl introduction.
1099         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1101         * posix/wordexp-test.c (testit): Remove warnings.
1103         * dlfcn/Makefile (distribute): Add modatexit.c and modcxaatexit.c.
1104         (tests): Add tstatexit and tstcxaatexit.
1105         (module-names): Add modatexit and modcxaatexit.
1106         Add rules to build and run tstatexit and tstcxaatexit.
1107         * dlfcn/modatexit.c: New file.
1108         * dlfcn/modcxaatexit.c: New file.
1109         * dlfcn/tstatexit.c: New file.
1110         * dlfcn/tstcxaatexit.c: New file.
1112         * io/Makefile: Pass -DHAVE_DOT_HIDDEN to stat and mknod functions if
1113         .hidden is available.
1114         * io/stat.c: If .hidden is available use it to avoid exporting
1115         functions.
1116         * io/fstat.c: Likewise.
1117         * io/lstat.c: Likewise.
1118         * io/stat64.c: Likewise.
1119         * io/fstat64.c: Likewise.
1120         * io/lstat64.c: Likewise.
1121         * sysdeps/generic/mknod.c: Likewise.
1123         * malloc/mtrace.c: Use __cxa_atexit and not atexit.
1124         * sysdeps/generic/bb_init_func.c: Likewise.
1125         * sysdeps/generic/libc-start.c: Likewise.
1127         * stdlib/atexit.c (__new_exitfn): Move to cxa_atexit.c.
1128         (atexit): Implement using __cxa_atexit.
1129         Use .hidden if availble to avoid exporting atexit.
1130         * stdlib/cxa_atexit.c (__new_exitfn): Moved to here from atexit.c.
1131         * stdlib/Versions: Export __new_exitfn for GLIBC_2.2.3.
1132         * stdlib/Makefile (routines): Add old_atexit.
1133         (static-only-routines): Add atexit.
1134         Pass -DHAVE_DOT_HIDDEN for atexit.c if .hidden is available.
1135         * stdlib/old_atexit.c: New file.
1137         * intl/Makefile: Remove bogus endif.
1139 2001-02-26  Andreas Jaeger  <aj@suse.de>
1141         * iconvdata/Makefile (tests): Fix typo in last patch.
1143         * intl/Makefile (tests): Run mtrace-tst-gettext only when perl is
1144         available.
1145         Reported by Achim Gottinger <achim@gentoo.org>.
1147 2001-02-25  Andreas Jaeger  <aj@suse.de>
1149         * intl/Makefile (plural.c): Reorder rules so that they work if
1150         BISON doesn't exist.
1152 2001-02-25  Ulrich Drepper  <drepper@redhat.com>
1154         * intl/locale.alias: Don't use nb_NO but define aliases for it.
1156 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
1158         * sysdeps/i386/strtok.S: Continue to return NULL after the first
1159         time this happened.
1161 2001-02-23  Andreas Jaeger  <aj@suse.de>
1163         * string/tester.c (test_strtok_r): Add testcase.
1164         (test_strtok_r): Always initialize cp for proper checking.
1166         * sysdeps/generic/strtok.c (strtok): Handle case of first strtok
1167         returning NULL correctly.
1168         Patch by Fumitoshi UKAI <ukai@debian.or.jp>.
1169         * sysdeps/generic/strtok_r.c (__strtok_r): Likewise.
1171 2001-02-23  Ulrich Drepper  <drepper@redhat.com>
1173         * sysdeps/unix/sysv/aix/bits/types.h: Define __need_NULL before
1174         including <stddef.h>.
1175         * sysdeps/unix/sysv/aix/write.c: Define alias __libc_write.
1176         * include/libc-symbols.h (weak_alias): Don't use .weak if
1177         HAVE_ASM_GLOBAL_DOT_NAME is defined.
1178         Patches by Michael Keezer <mkeezer@redhat.com>.
1180         * sysdeps/generic/ftime.c: Don't include <sys/time.h> at all.
1181         Patch by Michael Keezer <mkeezer@redhat.com>.
1183         * sysdeps/unix/sysv/aix/Dist: Remove restf.S and savef.S.
1184         * sysdeps/unix/sysv/aix/Makefile [$(subdir) == misc]
1185         (sysdep_routines): Remove restf.S and savef.S.
1186         * sysdeps/unix/sysv/aix/restf.S. Removed.
1187         * sysdeps/unix/sysv/aix/savef.S. Removed.
1188         * sysdeps/powerpc/fprrest.S: Use C_TEXT to define label.  Also define
1189         alternative names used on some platforms.
1190         * sysdeps/powerpc/fprsave.S: Likewise.
1191         * sysdeps/powerpc/gprrest0.S: Likewise.
1192         * sysdeps/powerpc/gprrest1.S: Likewise.
1193         * sysdeps/powerpc/gprsave0.S: Likewise.
1194         * sysdeps/powerpc/gprsave1.S: Likewise.
1195         Patch by Michael Keezer <mkeezer@redhat.com>.
1197 2001-02-22  Ulrich Drepper  <drepper@redhat.com>
1199         * sysdeps/i386/elf/start.S (_fp_hw): Actually define label.
1201 2001-02-22  Andreas Jaeger  <aj@suse.de>
1203         * string/tst-strtok.c (main): Fix error messages.
1205 2001-02-22  Andreas Jaeger  <aj@suse.de>
1207         * math/Makefile: Remove omit-long-double-fcts.
1209 2001-02-18  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
1211         * sysdeps/mips/bsd-_setjmp.S (_setjmp): Reorder instructions to
1212         avoid problems on MIPS I.
1213         * sysdeps/mips/bsd-setjmp.S (setjmp): Likewise.
1215         * sysdeps/mips/dl-machine.h (RTLD_START): Remove duplicate ".set
1216         noreorder".
1218 2001-02-21  Ulrich Drepper  <drepper@redhat.com>
1220         * posix/fnmatch_loop.c: Handle ranges outside glibc correctly.
1222         * sysdeps/generic/ftime.c: Include <time.h>.
1224         * configure.in: Don't check for libgd if user passed --without-gd.
1225         Patch by Achim Gottinger <achim@gentoo.org>.
1227         * sysdeps/i386/i686/strtok.S: Continue to return NULL after the
1228         first time this happened.
1229         * string/Makefile (tests): Add tst-strtok.
1231 2001-02-21  Andreas Jaeger  <aj@suse.de>
1233         * string/tst-strtok.c: New testcase, reported by
1234         Andrew Church <achurch@achurch.org>.
1236 2001-02-20  Ulrich Drepper  <drepper@redhat.com>
1238         * libio/iofwide.c: Remove fwide alias.
1240 2001-02-20  Andreas Jaeger  <aj@suse.de>
1242         * iconvdata/Makefile (tests): Only run mtrace-tst-loading if perl
1243         is available.
1244         Reported by Achim Gottinger <achim@gentoo.org>.
1246 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
1248         * iconv/tst-iconv1.c (main): Remove debugging code.
1250         * sysdeps/ieee754/flt-32/e_powf.c: Handle x == +-1 correctly.
1251         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1253         * sysdeps/generic/e_scalb.c: Set invalid exception for invalid
1254         parameters.
1255         * sysdeps/generic/e_scalbf.c: Likewise.
1256         * sysdeps/generic/e_scalbl.c: Likewise.
1258         * sysdeps/ia64/fpu/Makefile (libm-sysdep-routines): Add libm_error,
1259         libm_frexp4, libm_frexp4f, libm_frexp4l, and all the functions also
1260         in libc.
1261         (routines): Replace libm_error with libc_libm_error.
1262         * sysdeps/ia64/fpu/Dist: Add libc_libm_error.c.
1263         * sysdeps/ia64/fpu/libc_libm_error.c: New file.
1265 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
1267         * malloc/mtrace.c [USE_IN_LIBIO]: Define fopen as _IO_fopen64.
1268         (mtrace): Revert 2001-02-13 patch: use fopen instead of fopen64.
1270 2001-02-17  H.J. Lu  <hjl@gnu.org>
1272         * sysdeps/unix/sysv/linux/ia64/clone2.S: Use clone2 and don't use
1273         scratch registers across the system call.
1275 2001-02-19  Andreas Jaeger  <aj@suse.de>
1277         * malloc/Makefile (tests): Run mtrace only when perl is available.
1278         Reported by Achim Gottinger <achim@gentoo.org>.
1280 2001-02-19  Ulrich Drepper  <drepper@redhat.com>
1282         * sysdeps/ieee754/ldbl-96/e_j1l.c: New file.
1283         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1285         * sysdeps/i386/fpu/libm-test-ulps: Adjust error values for j1 and y1.
1286         * sysdeps/ia64/fpu/libm-test-ulps: Adjust error values for y1.
1287         * math/libm-test.inc (j1_test): Mark constants as long double.
1288         (jn_test): Likewise.
1289         (y1_test): Likewise.
1290         (yn_test): Likewise.
1292         * libio/iogetline.c: Move return until after last statement.
1294         * localedata/show-ucs-data.c: Don't show < > for better readability.
1296         * sysdeps/ia64/fpu/Dist: New file.
1297         * sysdeps/ia64/fpu/Makefile: New file.
1298         * sysdeps/ia64/fpu/Versions: New file.
1299         * sysdeps/ia64/fpu/e_acos.S: New file.
1300         * sysdeps/ia64/fpu/e_acosf.S: New file.
1301         * sysdeps/ia64/fpu/e_acosl.S: New file.
1302         * sysdeps/ia64/fpu/e_asin.S: New file.
1303         * sysdeps/ia64/fpu/e_asinf.S: New file.
1304         * sysdeps/ia64/fpu/e_asinl.S: New file.
1305         * sysdeps/ia64/fpu/e_atan2.S: New file.
1306         * sysdeps/ia64/fpu/e_atan2f.S: New file.
1307         * sysdeps/ia64/fpu/e_atan2l.c: New file.
1308         * sysdeps/ia64/fpu/e_cosh.S: New file.
1309         * sysdeps/ia64/fpu/e_coshf.S: New file.
1310         * sysdeps/ia64/fpu/e_coshl.S: New file.
1311         * sysdeps/ia64/fpu/e_exp.S: New file.
1312         * sysdeps/ia64/fpu/e_expf.S: New file.
1313         * sysdeps/ia64/fpu/e_expl.c: New file.
1314         * sysdeps/ia64/fpu/e_fmod.S: New file.
1315         * sysdeps/ia64/fpu/e_fmodf.S: New file.
1316         * sysdeps/ia64/fpu/e_fmodl.S: New file.
1317         * sysdeps/ia64/fpu/e_hypot.S: New file.
1318         * sysdeps/ia64/fpu/e_hypotf.S: New file.
1319         * sysdeps/ia64/fpu/e_hypotl.S: New file.
1320         * sysdeps/ia64/fpu/e_log.S: New file.
1321         * sysdeps/ia64/fpu/e_log10.c: New file.
1322         * sysdeps/ia64/fpu/e_log10f.c: New file.
1323         * sysdeps/ia64/fpu/e_log10l.c: New file.
1324         * sysdeps/ia64/fpu/e_logf.S: New file.
1325         * sysdeps/ia64/fpu/e_logl.c: New file.
1326         * sysdeps/ia64/fpu/e_pow.S: New file.
1327         * sysdeps/ia64/fpu/e_powf.S: New file.
1328         * sysdeps/ia64/fpu/e_powl.S: New file.
1329         * sysdeps/ia64/fpu/e_rem_pio2.c: New file.
1330         * sysdeps/ia64/fpu/e_rem_pio2f.c: New file.
1331         * sysdeps/ia64/fpu/e_remainder.S: New file.
1332         * sysdeps/ia64/fpu/e_remainderf.S: New file.
1333         * sysdeps/ia64/fpu/e_remainderl.S: New file.
1334         * sysdeps/ia64/fpu/e_scalb.S: New file.
1335         * sysdeps/ia64/fpu/e_scalbf.S: New file.
1336         * sysdeps/ia64/fpu/e_scalbl.S: New file.
1337         * sysdeps/ia64/fpu/e_sinh.S: New file.
1338         * sysdeps/ia64/fpu/e_sinhf.S: New file.
1339         * sysdeps/ia64/fpu/e_sinhl.S: New file.
1340         * sysdeps/ia64/fpu/e_sqrt.S: New file.
1341         * sysdeps/ia64/fpu/e_sqrtf.S: New file.
1342         * sysdeps/ia64/fpu/e_sqrtl.S: New file.
1343         * sysdeps/ia64/fpu/k_rem_pio2.c: New file.
1344         * sysdeps/ia64/fpu/k_rem_pio2f.c: New file.
1345         * sysdeps/ia64/fpu/k_rem_pio2l.c: New file.
1346         * sysdeps/ia64/fpu/libm_atan2_reg.S: New file.
1347         * sysdeps/ia64/fpu/libm_error.c: New file.
1348         * sysdeps/ia64/fpu/libm_frexp4.S: New file.
1349         * sysdeps/ia64/fpu/libm_frexp4f.S: New file.
1350         * sysdeps/ia64/fpu/libm_frexp4l.S: New file.
1351         * sysdeps/ia64/fpu/libm_reduce.S: New file.
1352         * sysdeps/ia64/fpu/libm_support.h: New file.
1353         * sysdeps/ia64/fpu/libm_tan.S: New file.
1354         * sysdeps/ia64/fpu/s_atan.S: New file.
1355         * sysdeps/ia64/fpu/s_atanf.S: New file.
1356         * sysdeps/ia64/fpu/s_atanl.S: New file.
1357         * sysdeps/ia64/fpu/s_cbrt.S: New file.
1358         * sysdeps/ia64/fpu/s_cbrtf.S: New file.
1359         * sysdeps/ia64/fpu/s_cbrtl.S: New file.
1360         * sysdeps/ia64/fpu/s_ceil.S: New file.
1361         * sysdeps/ia64/fpu/s_ceilf.S: New file.
1362         * sysdeps/ia64/fpu/s_ceill.S: New file.
1363         * sysdeps/ia64/fpu/s_cos.S: New file.
1364         * sysdeps/ia64/fpu/s_cosf.S: New file.
1365         * sysdeps/ia64/fpu/s_cosl.S: New file.
1366         * sysdeps/ia64/fpu/s_expm1.S: New file.
1367         * sysdeps/ia64/fpu/s_expm1f.S: New file.
1368         * sysdeps/ia64/fpu/s_expm1l.S: New file.
1369         * sysdeps/ia64/fpu/s_floor.S: New file.
1370         * sysdeps/ia64/fpu/s_floorf.S: New file.
1371         * sysdeps/ia64/fpu/s_floorl.S: New file.
1372         * sysdeps/ia64/fpu/s_frexp.c: New file.
1373         * sysdeps/ia64/fpu/s_frexpf.c: New file.
1374         * sysdeps/ia64/fpu/s_frexpl.c: New file.
1375         * sysdeps/ia64/fpu/s_ilogb.S: New file.
1376         * sysdeps/ia64/fpu/s_ilogbf.S: New file.
1377         * sysdeps/ia64/fpu/s_ilogbl.S: New file.
1378         * sysdeps/ia64/fpu/s_ldexp.S: New file.
1379         * sysdeps/ia64/fpu/s_ldexpf.S: New file.
1380         * sysdeps/ia64/fpu/s_ldexpl.S: New file.
1381         * sysdeps/ia64/fpu/s_log1p.S: New file.
1382         * sysdeps/ia64/fpu/s_log1pf.S: New file.
1383         * sysdeps/ia64/fpu/s_log1pl.S: New file.
1384         * sysdeps/ia64/fpu/s_logb.S: New file.
1385         * sysdeps/ia64/fpu/s_logbf.S: New file.
1386         * sysdeps/ia64/fpu/s_logbl.S: New file.
1387         * sysdeps/ia64/fpu/s_matherrf.c: New file.
1388         * sysdeps/ia64/fpu/s_matherrl.c: New file.
1389         * sysdeps/ia64/fpu/s_modf.S: New file.
1390         * sysdeps/ia64/fpu/s_modff.S: New file.
1391         * sysdeps/ia64/fpu/s_modfl.S: New file.
1392         * sysdeps/ia64/fpu/s_nearbyint.S: New file.
1393         * sysdeps/ia64/fpu/s_nearbyintf.S: New file.
1394         * sysdeps/ia64/fpu/s_nearbyintl.S: New file.
1395         * sysdeps/ia64/fpu/s_rint.S: New file.
1396         * sysdeps/ia64/fpu/s_rintf.S: New file.
1397         * sysdeps/ia64/fpu/s_rintl.S: New file.
1398         * sysdeps/ia64/fpu/s_round.S: New file.
1399         * sysdeps/ia64/fpu/s_roundf.S: New file.
1400         * sysdeps/ia64/fpu/s_roundl.S: New file.
1401         * sysdeps/ia64/fpu/s_scalbn.S: New file.
1402         * sysdeps/ia64/fpu/s_scalbnf.S: New file.
1403         * sysdeps/ia64/fpu/s_scalbnl.S: New file.
1404         * sysdeps/ia64/fpu/s_significand.S: New file.
1405         * sysdeps/ia64/fpu/s_significandf.S: New file.
1406         * sysdeps/ia64/fpu/s_significandl.S: New file.
1407         * sysdeps/ia64/fpu/s_sin.c: New file.
1408         * sysdeps/ia64/fpu/s_sincos.c: New file.
1409         * sysdeps/ia64/fpu/s_sincosf.c: New file.
1410         * sysdeps/ia64/fpu/s_sincosl.c: New file.
1411         * sysdeps/ia64/fpu/s_sinf.c: New file.
1412         * sysdeps/ia64/fpu/s_sinl.c: New file.
1413         * sysdeps/ia64/fpu/s_tan.S: New file.
1414         * sysdeps/ia64/fpu/s_tanf.S: New file.
1415         * sysdeps/ia64/fpu/s_tanl.S: New file.
1416         * sysdeps/ia64/fpu/s_trunc.S: New file.
1417         * sysdeps/ia64/fpu/s_truncf.S: New file.
1418         * sysdeps/ia64/fpu/s_truncl.S: New file.
1419         * sysdeps/ia64/fpu/w_acos.c: New file.
1420         * sysdeps/ia64/fpu/w_acosf.c: New file.
1421         * sysdeps/ia64/fpu/w_acosl.c: New file.
1422         * sysdeps/ia64/fpu/w_asin.c: New file.
1423         * sysdeps/ia64/fpu/w_asinf.c: New file.
1424         * sysdeps/ia64/fpu/w_asinl.c: New file.
1425         * sysdeps/ia64/fpu/w_atan2.c: New file.
1426         * sysdeps/ia64/fpu/w_atan2f.c: New file.
1427         * sysdeps/ia64/fpu/w_atan2l.c: New file.
1428         * sysdeps/ia64/fpu/w_cosh.c: New file.
1429         * sysdeps/ia64/fpu/w_coshf.c: New file.
1430         * sysdeps/ia64/fpu/w_coshl.c: New file.
1431         * sysdeps/ia64/fpu/w_exp.c: New file.
1432         * sysdeps/ia64/fpu/w_expf.c: New file.
1433         * sysdeps/ia64/fpu/w_fmod.c: New file.
1434         * sysdeps/ia64/fpu/w_fmodf.c: New file.
1435         * sysdeps/ia64/fpu/w_fmodl.c: New file.
1436         * sysdeps/ia64/fpu/w_hypot.c: New file.
1437         * sysdeps/ia64/fpu/w_hypotf.c: New file.
1438         * sysdeps/ia64/fpu/w_hypotl.c: New file.
1439         * sysdeps/ia64/fpu/w_log.c: New file.
1440         * sysdeps/ia64/fpu/w_log10.c: New file.
1441         * sysdeps/ia64/fpu/w_log10f.c: New file.
1442         * sysdeps/ia64/fpu/w_log10l.c: New file.
1443         * sysdeps/ia64/fpu/w_logf.c: New file.
1444         * sysdeps/ia64/fpu/w_logl.c: New file.
1445         * sysdeps/ia64/fpu/w_pow.c: New file.
1446         * sysdeps/ia64/fpu/w_powf.c: New file.
1447         * sysdeps/ia64/fpu/w_powl.c: New file.
1448         * sysdeps/ia64/fpu/w_remainder.c: New file.
1449         * sysdeps/ia64/fpu/w_remainderf.c: New file.
1450         * sysdeps/ia64/fpu/w_remainderl.c: New file.
1451         * sysdeps/ia64/fpu/w_scalb.c: New file.
1452         * sysdeps/ia64/fpu/w_scalbf.c: New file.
1453         * sysdeps/ia64/fpu/w_scalbl.c: New file.
1454         * sysdeps/ia64/fpu/w_sqrt.c: New file.
1455         * sysdeps/ia64/fpu/w_sqrtf.c: New file.
1456         * sysdeps/ia64/fpu/w_sqrtl.c: New file.
1457         * sysdeps/ia64/fpu/libm-test-ulps: Adjust for long double
1458         implementation.
1459         * sysdeps/ia64/fpu/bits/mathdef.h: Correct float_t and double_t types.
1460         Change FP_ILOGBNAN for new implementation.
1461         * Verions.def: Add 2.2.3 versions.
1463 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
1465         * math/libm-test.inc (scalb_test): Require invalid exception being
1466         raised for invalid parameters.
1467         * sysdeps/i386/fpu/e_scalb.S: Raise invalid exception if necessary.
1468         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1469         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1471 2001-02-18  Mark Kettenis  <kettenis@gnu.org>
1473         * sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
1474         value to long int.
1475         (__get_avphys_pages): Likewise.
1477 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
1479         * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
1480         * sysdeps/i386/fpu/e_pow.S: Handle x == +-1 correctly.
1481         * sysdeps/i386/fpu/e_powf.S: Likewise.
1482         * sysdeps/i386/fpu/e_powl.S: Likewise.
1484         * sysdeps/i386/fpu/bits/mathinline.h: Remove pow inline code.
1486 2001-02-17  Ulrich Drepper  <drepper@redhat.com>
1488         * math/Makefile (libm-calls): It's e_exp2 not s_exp2.
1490         * sysdeps/generic/s_exp2l.c: Renamed to...
1491         * sysdeps/generic/e_exp2l.c: ...this.   New file.
1492         * sysdeps/i386/fpu/s_exp2.S: Renamed to...
1493         * sysdeps/i386/fpu/e_exp2.S: ...this.   New file.
1494         * sysdeps/i386/fpu/s_exp2f.S: Renamed to...
1495         * sysdeps/i386/fpu/e_exp2f.S: ...this.   New file.
1496         * sysdeps/i386/fpu/s_exp2l.S: Renamed to...
1497         * sysdeps/i386/fpu/e_exp2l.S: ...this.   New file.
1498         * sysdeps/ieee754/flt-32/s_exp2f.c: Renamed to...
1499         * sysdeps/ieee754/flt-32/e_exp2f.c: ...this.   New file.
1500         * sysdeps/ieee754/dbl-64/s_exp2.c: Renamed to...
1501         * sysdeps/ieee754/dbl-64/e_exp2.c: ...this.   New file.
1502         * sysdeps/m68k/fpu/s_exp2.c: Renamed to...
1503         * sysdeps/m68k/fpu/e_exp2.c: ...this.   New file.
1504         * sysdeps/m68k/fpu/s_exp2f.c: Renamed to...
1505         * sysdeps/m68k/fpu/e_exp2f.c: ...this.   New file.
1506         * sysdeps/m68k/fpu/s_exp2l.c: Renamed to...
1507         * sysdeps/m68k/fpu/e_exp2l.c: ...this.   New file.
1509 2001-02-17  Andreas Jaeger  <aj@suse.de>
1511         * configure.in: Allow gcc 3.
1513 2001-02-16  Ulrich Drepper  <drepper@redhat.com>
1515         * math/w_acos.c: Move to ...
1516         * sysdeps/generic/w_acos.c: ...here.  New file.
1517         * math/w_acosf.c: Move to ...
1518         * sysdeps/generic/w_acosf.c: ...here.  New file.
1519         * math/w_acosh.c: Move to ...
1520         * sysdeps/generic/w_acosh.c: ...here.  New file.
1521         * math/w_acoshf.c: Move to ...
1522         * sysdeps/generic/w_acoshf.c: ...here.  New file.
1523         * math/w_acoshl.c: Move to ...
1524         * sysdeps/generic/w_acoshl.c: ...here.  New file.
1525         * math/w_acosl.c: Move to ...
1526         * sysdeps/generic/w_acosl.c: ...here.  New file.
1527         * math/w_asin.c: Move to ...
1528         * sysdeps/generic/w_asin.c: ...here.  New file.
1529         * math/w_asinf.c: Move to ...
1530         * sysdeps/generic/w_asinf.c: ...here.  New file.
1531         * math/w_asinl.c: Move to ...
1532         * sysdeps/generic/w_asinl.c: ...here.  New file.
1533         * math/w_atan2.c: Move to ...
1534         * sysdeps/generic/w_atan2.c: ...here.  New file.
1535         * math/w_atan2f.c: Move to ...
1536         * sysdeps/generic/w_atan2f.c: ...here.  New file.
1537         * math/w_atan2l.c: Move to ...
1538         * sysdeps/generic/w_atan2l.c: ...here.  New file.
1539         * math/w_atanh.c: Move to ...
1540         * sysdeps/generic/w_atanh.c: ...here.  New file.
1541         * math/w_atanhf.c: Move to ...
1542         * sysdeps/generic/w_atanhf.c: ...here.  New file.
1543         * math/w_atanhl.c: Move to ...
1544         * sysdeps/generic/w_atanhl.c: ...here.  New file.
1545         * math/w_cosh.c: Move to ...
1546         * sysdeps/generic/w_cosh.c: ...here.  New file.
1547         * math/w_coshf.c: Move to ...
1548         * sysdeps/generic/w_coshf.c: ...here.  New file.
1549         * math/w_coshl.c: Move to ...
1550         * sysdeps/generic/w_coshl.c: ...here.  New file.
1551         * math/w_drem.c: Move to ...
1552         * sysdeps/generic/w_drem.c: ...here.  New file.
1553         * math/w_dremf.c: Move to ...
1554         * sysdeps/generic/w_dremf.c: ...here.  New file.
1555         * math/w_dreml.c: Move to ...
1556         * sysdeps/generic/w_dreml.c: ...here.  New file.
1557         * math/w_exp10.c: Move to ...
1558         * sysdeps/generic/w_exp10.c: ...here.  New file.
1559         * math/w_exp10f.c: Move to ...
1560         * sysdeps/generic/w_exp10f.c: ...here.  New file.
1561         * math/w_exp10l.c: Move to ...
1562         * sysdeps/generic/w_exp10l.c: ...here.  New file.
1563         * math/w_exp2.c: Move to ...
1564         * sysdeps/generic/w_exp2.c: ...here.  New file.
1565         * math/w_exp2f.c: Move to ...
1566         * sysdeps/generic/w_exp2f.c: ...here.  New file.
1567         * math/w_exp2l.c: Move to ...
1568         * sysdeps/generic/w_exp2l.c: ...here.  New file.
1569         * math/w_fmod.c: Move to ...
1570         * sysdeps/generic/w_fmod.c: ...here.  New file.
1571         * math/w_fmodf.c: Move to ...
1572         * sysdeps/generic/w_fmodf.c: ...here.  New file.
1573         * math/w_fmodl.c: Move to ...
1574         * sysdeps/generic/w_fmodl.c: ...here.  New file.
1575         * math/w_hypot.c: Move to ...
1576         * sysdeps/generic/w_hypot.c: ...here.  New file.
1577         * math/w_hypotf.c: Move to ...
1578         * sysdeps/generic/w_hypotf.c: ...here.  New file.
1579         * math/w_hypotl.c: Move to ...
1580         * sysdeps/generic/w_hypotl.c: ...here.  New file.
1581         * math/w_j0.c: Move to ...
1582         * sysdeps/generic/w_j0.c: ...here.  New file.
1583         * math/w_j0f.c: Move to ...
1584         * sysdeps/generic/w_j0f.c: ...here.  New file.
1585         * math/w_j0l.c: Move to ...
1586         * sysdeps/generic/w_j0l.c: ...here.  New file.
1587         * math/w_j1.c: Move to ...
1588         * sysdeps/generic/w_j1.c: ...here.  New file.
1589         * math/w_j1f.c: Move to ...
1590         * sysdeps/generic/w_j1f.c: ...here.  New file.
1591         * math/w_j1l.c: Move to ...
1592         * sysdeps/generic/w_j1l.c: ...here.  New file.
1593         * math/w_jn.c: Move to ...
1594         * sysdeps/generic/w_jn.c: ...here.  New file.
1595         * math/w_jnf.c: Move to ...
1596         * sysdeps/generic/w_jnf.c: ...here.  New file.
1597         * math/w_jnl.c: Move to ...
1598         * sysdeps/generic/w_jnl.c: ...here.  New file.
1599         * math/w_lgamma.c: Move to ...
1600         * sysdeps/generic/w_lgamma.c: ...here.  New file.
1601         * math/w_lgammaf.c: Move to ...
1602         * sysdeps/generic/w_lgammaf.c: ...here.  New file.
1603         * math/w_lgammaf_r.c: Move to ...
1604         * sysdeps/generic/w_lgammaf_r.c: ...here.  New file.
1605         * math/w_lgammal.c: Move to ...
1606         * sysdeps/generic/w_lgammal.c: ...here.  New file.
1607         * math/w_lgammal_r.c: Move to ...
1608         * sysdeps/generic/w_lgammal_r.c: ...here.  New file.
1609         * math/w_lgamma_r.c: Move to ...
1610         * sysdeps/generic/w_lgamma_r.c: ...here.  New file.
1611         * math/w_log10.c: Move to ...
1612         * sysdeps/generic/w_log10.c: ...here.  New file.
1613         * math/w_log10f.c: Move to ...
1614         * sysdeps/generic/w_log10f.c: ...here.  New file.
1615         * math/w_log10l.c: Move to ...
1616         * sysdeps/generic/w_log10l.c: ...here.  New file.
1617         * math/w_log.c: Move to ...
1618         * sysdeps/generic/w_log.c: ...here.  New file.
1619         * math/w_logf.c: Move to ...
1620         * sysdeps/generic/w_logf.c: ...here.  New file.
1621         * math/w_logl.c: Move to ...
1622         * sysdeps/generic/w_logl.c: ...here.  New file.
1623         * math/w_pow.c: Move to ...
1624         * sysdeps/generic/w_pow.c: ...here.  New file.
1625         * math/w_powf.c: Move to ...
1626         * sysdeps/generic/w_powf.c: ...here.  New file.
1627         * math/w_powl.c: Move to ...
1628         * sysdeps/generic/w_powl.c: ...here.  New file.
1629         * math/w_remainder.c: Move to ...
1630         * sysdeps/generic/w_remainder.c: ...here.  New file.
1631         * math/w_remainderf.c: Move to ...
1632         * sysdeps/generic/w_remainderf.c: ...here.  New file.
1633         * math/w_remainderl.c: Move to ...
1634         * sysdeps/generic/w_remainderl.c: ...here.  New file.
1635         * math/w_scalb.c: Move to ...
1636         * sysdeps/generic/w_scalb.c: ...here.  New file.
1637         * math/w_scalbf.c: Move to ...
1638         * sysdeps/generic/w_scalbf.c: ...here.  New file.
1639         * math/w_scalbl.c: Move to ...
1640         * sysdeps/generic/w_scalbl.c: ...here.  New file.
1641         * math/w_sinh.c: Move to ...
1642         * sysdeps/generic/w_sinh.c: ...here.  New file.
1643         * math/w_sinhf.c: Move to ...
1644         * sysdeps/generic/w_sinhf.c: ...here.  New file.
1645         * math/w_sinhl.c: Move to ...
1646         * sysdeps/generic/w_sinhl.c: ...here.  New file.
1647         * math/w_sqrtl.c: Move to ...
1648         * sysdeps/generic/w_sqrtl.c: ...here.  New file.
1649         * math/w_tgamma.c: Move to ...
1650         * sysdeps/generic/w_tgamma.c: ...here.  New file.
1651         * math/w_tgammaf.c: Move to ...
1652         * sysdeps/generic/w_tgammaf.c: ...here.  New file.
1653         * math/w_tgammal.c: Move to ...
1654         * sysdeps/generic/w_tgammal.c: ...here.  New file.
1656         * locale/programs/ld-address.c (address_finish): Add 'S' to allow
1657         formats for postal_fmt.
1659 2001-02-16  Jakub Jelinek  <jakub@redhat.com>
1661         * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Add
1662         __ftruncate64 alias.
1663         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (ftruncate):
1664         Likewise.
1666 2001-02-15  David Mosberger  <davidm@hpl.hp.com>
1668         * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): No need to
1669         do "loadrs".  Writing to bspstore already takes care of
1670         invalidating the "clean" partition.
1672 2001-02-16  Andreas Schwab  <schwab@suse.de>
1674         * sysdeps/m68k/fpu/s_nextafterl.c: New file.
1675         * sysdeps/m68k/fpu/s_fpclassifyl.c: New file.
1677 2001-02-15  Jakub Jelinek  <jakub@redhat.com>
1679         * posix/regex.c (init_syntax_once): Add prototype.
1680         (TRANSLATE): If MBS_SUPPORT, translate all characters up to '\xff'.
1681         (re_search_2): Avoid warning.
1682         (count_mbs_length): Add prototype.
1683         * posix/tst-regex3.c: New file.
1684         * posix/Makefile (tests): Add bug-regex3.
1686 2001-02-15  Ulrich Drepper  <drepper@redhat.com>
1688         * stdio-common/Makefile (tests): Add tst-gets.
1689         * stdio-common/tst-gets.c: New file.
1690         * stdio-common/tst-gets.input: New file.
1692         * elf/elf.h (DT_CHECKSUM): Define.
1694         * sysdeps/generic/strtoll.c: Don't export __strto*_internal as
1695         default symbol.
1696         * sysdeps/generic/strtoull.c: Likewise.
1698 2001-02-14  Wolfram Gloger  <wg@malloc.de>
1700         * malloc/malloc.c (new_heap): When allocating large chunk aligned
1701         to HEAP_MAX_SIZE, prefer one with lower address, to avoid `holes'
1702         between the heaps.
1704 2001-02-14  Ulrich Drepper  <drepper@redhat.com>
1706         * math/libm-test.inc (j0_test): Check whether sincos is available.
1707         (j1_test): Likewise.
1708         (jn_test): Likewise.
1709         (y0_test): Likewise.
1710         (y1_test): Likewise.
1711         (yn_test): Likewise.
1713         * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach
1714         fake filesystem routines to handle this.
1716         * time/sys/time.h: Make settimeofday and adjtime available if
1717         _BSD_SOURCE.
1719         * time/sys/time.h: Make timer* macros available for BSD.
1721         * iconvdata/gb18030.c: Update for Dec 2000 re-release of GB18030.
1722         Patch by Yong Li <rigel863@yahoo.com>.
1724         * sysdeps/generic/glob.c (CONVERT_DIRENT_DIRENT64): Fix copying of
1725         name.
1727         * posix/Makefile (tests): Add tst-gnuglob.
1728         * posix/tst-gnuglob.c: New file.
1730 2001-02-13  H.J. Lu  <hjl@gnu.org>
1732         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __ftruncate64.
1734 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
1736         * locale/programs/ld-paper.c (paper_output): Pretty printing.
1738         * iconvdata/Makefile (modules): Add GBBIG5.
1739         (distribute): Add gbbig5.c.
1740         * iconvdata/gconv-modules: Add entries for GBBIG5 module.
1742         * iconvdata/gbbig5.c: New file.
1743         Contributed by Yong Li <rigel863@yahoo.com>.
1745 2001-02-13  Philip Blundell  <pb@futuretv.com>
1747         * manual/crypt.texi: Remove outdated references to crypt add-on.
1749         * manual/creature.texi: Improve wording slightly.
1751 2001-02-13  Ulrich Drepper  <drepper@redhat.com>
1753         * io/ftw.c: Always use readdir64.
1754         * io/ftw64.c: Likewise.
1755         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1756         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1757         * sysdeps/generic/glob.c: Likewise.  Convert results of gl_readdir
1758         callback to dirent.  Still allow compiling outside glibc.
1759         * sysdeps/gnu/glob64.c: Define COMPILE_GLOB64.
1760         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1762         * malloc/mtrace.c: Use fopen64.
1763         * posix/spawni.c: Use __open64.
1764         * sysdeps/unix/opendir.c: Likewise.
1765         * sysdeps/unix/sysv/linux/gethostid.c: Likewise.
1767         * sysdeps/generic/ftruncate64.c: Define __ftruncate64 and make old
1768         name a weak alias.
1769         * sysdeps/unix/sysv/aix/ftruncate64.c: Likewise.
1770         * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise.
1771         * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Likewise.
1774         * resolv/res_data.c: Add cast to avoid warning.
1776         * include/unistd.h: Declare __ftruncate64.
1778         * sysdeps/generic/utmp_file.c: Use LFS functions and types.
1780         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use __lseek64
1781         instead of __lseek.
1783 2001-02-13  Andreas Jaeger  <aj@suse.de>
1785         * login/getutent_r.c: Include <stdlib.h> for NULL.
1786         * login/getutid_r.c: Likewise.
1788 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1790         * sysdeps/dbl-64/e_j0.c: Little optimization, use sincos.
1791         * sysdeps/dbl-64/e_j1.c: Likewise.
1792         * sysdeps/dbl-64/e_jn.c: Likewise.
1793         * sysdeps/flt-32/e_j0f.c: Likewise.
1794         * sysdeps/flt-32/e_j1f.c: Likewise.
1795         * sysdeps/ldbl-96/e_j0l.c: Likewise.
1797 2000-12-02  H.J. Lu  <hjl@gnu.org>
1799         * resolv/res_libc.c (res_init): Don't make it default.
1801 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1803         * manual/debug.texi: Improved the wording.
1804         Patch by Philip Blundell <pb@futuretv.com>.
1806 2001-02-12  Andreas Jaeger  <aj@suse.de>
1808         * posix/Makefile (tests): Don't run bug-regex2 when
1809         cross-compiling.
1811         * libio/Makefile (tests): Don't run test-freopen when
1812         cross-compiling.
1814         * manual/stdio.texi (Streams and I18N): Fix typos.
1816 2001-02-12  Ulrich Drepper  <drepper@redhat.com>
1818         * sysdeps/i386/fpu/libm-test-ulps: Adjust for errors in y0l.
1820         * math/libm-test.inc (j0_test): Make expected results long double
1821         constants.
1822         (y0_test): Likewise.
1824         * sysdeps/ieee754/ldbl-96/e_j0l.c: New file.
1825         Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.
1827 2001-02-11  Jakub Jelinek  <jakub@redhat.com>
1829         * sysdeps/generic/strtoll.c (__strtoq_internal): Ressurect alias
1830         which was exported from libc.
1831         * sysdeps/generic/strtoull.c (__strtouq_internal): Likewise.
1833 2001-02-12  Andreas Jaeger  <aj@suse.de>
1835         * manual/arith.texi (Parsing of Integers): Fix some wordings.
1837 2001-02-11  Ulrich Drepper  <drepper@redhat.com>
1839         * sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
1840         and get_avphys_page to long int.
1841         * sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
1842         * include/sys/sysinfo.h: Likewise.
1843         * sysdeps/generic/sys/sysinfo.h: Likewise.
1844         * sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
1846         * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Fail if we
1847         cannot return as many values as the user asked for.
1849 2001-02-11  Andreas Jaeger  <aj@suse.de>
1851         * manual/resource.texi (Memory Resources): Fix typo.
1853         * libio/Makefile ($(objpfx)test-freopen.out): Pass
1854         run-program-prefix.
1856         * libio/test-freopen.sh: Use run_program_prefix.
1858 2001-02-10  Andreas Jaeger  <aj@suse.de>
1860         * stdlib/Makefile (tests): Don't run tst-fmtmsg when
1861         cross-compiling.
1862         ($(objpfx)tst-fmtmsg.out): Pass run-program-prefix.
1864         * stdlib/tst-fmtmsg.sh (test): Use run_program_prefix for static
1865         only builds.
1867         * elf/Makefile (tests): Only run tst-pathopt with shared libs.
1869         * posix/Makefile: Fix typo, it's build-static-nss.
1871         * iconv/Makefile (extra-objs): New.
1873 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1875         * sysdeps/unix/stime.c: Include <time.h>.
1877         * sysdeps/mach/hurd/setitimer.c: Include <time.h>.
1879 2001-02-10  Andreas Jaeger  <aj@suse.de>
1881         * manual/string.texi (Search Functions): Fix typo.
1883 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1885         * sysdeps/unix/bsd/times.c: Reorder includes and add <time.h>.
1886         (timeval_to_clock_t): Add clk_tck argument and use that instead of
1887         CLK_TCK.
1888         (__times): Use __getclktck to get the number of clock ticks per
1889         second and use its return value instead of CLK_TCK.
1891 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1893         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (_HAVE_SA_LEN): Define.
1895 2001-02-10  Mark Kettenis  <kettenis@gnu.org>
1897         * sysdeps/mach/gettimeofday.c: Include <stddef.h>.
1899 2001-02-10  Andreas Jaeger  <aj@suse.de>
1901         * wctype/wcfuncs.c (func): Add prototype declarations to avoid
1902         warning.
1904 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1906         * posix/Makefile: Add rules to build and run bug-regex2.
1907         * posix/bug-regex2.c: New file.
1909 2001-02-10  Jakub Jelinek  <jakub@redhat.com>
1911         * posix/regex.c (convert_mbs_to_wcs): Change is_binary to char *.
1912         (regex_compile): Likewise.
1913         (FREE_VARIABLES): Don't free is_binary1 and is_binary2.
1914         (re_match_2_internal): Use just is_binary instead of two variables.
1915         Use REGEX_TALLOC to allocate it and FREE_VAR to free on failure.
1917 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1919         * version.h (VERSION): Bump to 2.2.2.
1921         * iconv/Makefile (distribute): Add iconv_charmap.c and
1922         dummy-repertoire.c.
1923         * elf/Makefile (distribute): Add firstobj.c.
1924         * Makefile (distribute): Add include/pthread.h.
1926         * configure.in: Require makeinfo version 4.
1928         * libio/tst_wscanf.c (main): Add cast to avoid warning.
1929         * libio/tst_swscanf.c (main): Likewise..
1931 2001-02-09  Jakub Jelinek  <jakub@redhat.com>
1933         * sysdeps/generic/setenv.c (unsetenv): Remove const from len.
1934         * sysdeps/sparc/fpu/bits/mathinline.h (sqrt, fdim): Don't define if
1935         __NO_MATH_INLINES.
1936         * sysdeps/i386/dl-machine.h (elf_machine_rel): Only declare refsym
1937         if not RTLD_BOOTSTRAP.
1938         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1939         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1941 2001-02-09  Ulrich Drepper  <drepper@redhat.com>
1943         * locale/programs/linereader.c (get_ident): Stop loop if EOF.  Use
1944         lr_ungetc to push back last read character.
1945         * locale/programs/linereader.h (lr_ungetc): Don't push back is
1946         character is EOF.
1947         (lr_ignore_rest): Don't warn about garbage if it is really the end
1948         of the file.
1950         * manual/Makefile: Use ifnottext and not ifinfo to protect Top node
1951         definition.
1953 2001-02-08  Ulrich Drepper  <drepper@redhat.com>
1955         * Makerules (build-shlib): Work around different order of
1956         processing of -B option in different gcc versions.
1958         * posix/regex.c: Fix alignment problem.
1959         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1961         * sysdeps/alpha/strrchr.S: Little optimization.
1962         Patch by Richard Henderson <rth@redhat.com>.
1964         * sysdeps/alpha/alphaev67/strrchr.S: New file.
1965         Contributed by Rick Gorton <rick.gorton@alpha-processor.com>.
1967 2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>
1969         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
1970         in the assembler end directive.
1972 2001-02-08  Andreas Jaeger  <aj@suse.de>
1974         * manual/stdio.texi (Closing Streams): Fix typos.
1976 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
1978         * sysdeps/alpha/alphaev67/strncat.S: Align last write address.
1979         Patch by Richard Henderson <rth@redhat.com>.
1980         Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
1982         * stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
1983         pointer in FILE structure before calling _IO_init.
1984         * stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
1985         strfmon_l if necessary.
1986         Reported by Jury Gerold <gjury@grips.com>.
1988         * sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
1989         Patch by Pekka.Pietikainen@cern.ch.
1991         * posix/regex.c: Correct several problems with 64-bit architectures
1992         introduced in the MBS changes.
1993         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
1995 2001-02-07  Jakub Jelinek  <jakub@redhat.com>
1997         * math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
1998         not defined.
1999         * sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
2001 2001-02-07  Andreas Jaeger  <aj@suse.de>
2003         * manual/install.texi (Tools for Compilation): Fix typo.
2004         Reported by Pavel Machek <pavel@bug.ucw.cz>.
2006 2001-02-07  Ulrich Drepper  <drepper@redhat.com>
2008         * stdlib/strtod.c: Never stop prematurely reading digits before the
2009         decimal point is found.  Compute exponent limit for negative exponents
2010         correctly.  For numbers ending in all zeros eat the zeros even before
2011         the decimal point if the exponent is negative [PR libc/2072].
2012         * stdlib/Makefile (tests): Add bug-strtod.
2013         * stdlib/bug-strtod.c: New file.
2015 2001-02-07  Andreas Jaeger  <aj@suse.de>
2017         * posix/bug-regex1.c: Include <wchar.h> for fwide.
2019 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2021         * posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
2022         Store index.
2023         (compile_range): Handle index being passed, not pointer.
2024         Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2026         * posix/regex.c: Fix a cast in the code for bracket handling which
2027         caused 8-bit uncleanliness.
2028         Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
2030         * posix/Makefile (tests): Add bug-regex1.
2031         * posix/bug-regex1.c: New file.
2032         Contributed by Jim Meyering <jim@meyering.net>.
2034         * posix/regex.c: Many cleanups for incorrect format strings.
2036 2001-02-06  Andreas Jaeger  <aj@suse.de>
2038         * time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
2040 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2042         * locale/programs/locale.c (write_locales): Use scandir to read
2043         directory so that the entries are sorted.
2045 2001-02-06  Andreas Jaeger  <aj@suse.de>
2047         * include/pthread.h: New file.
2049         * wctype/wctype.h: Move internal interfaces from here to...
2050         * include/wctype.h: ...here.
2052         * wcsmbs/wchar.h: Move __wcslen from here to...
2053         * include/wchar.h: ...here.
2055         * posix/sys/wait.h: Move __wait from here to...
2056         * include/sys/wait.h: ...here.
2058         * string/string.h: Move __ffs and __strerror_r from here to...
2059         * include/string.h: ...here.
2061         * stdlib/stdlib.h: Move __on_exit from here to...
2062         * include/stdlib.h: ...here.
2064         * libio/stdio.h: Move __vsnprintf from here to...
2065         * include/stdio.h: ...here.
2067 2001-02-06  Andreas Schwab  <schwab@suse.de>
2069         * sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
2070         headers.
2072         * timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
2073         of $(inst_datadir).
2075 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2077         * iconvdata/Makefile: Add dependency for bug-iconv2.out.
2079 2001-02-06  Andreas Jaeger  <aj@suse.de>
2081         * elf/firstobj.c: Add prototype.
2083         * posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
2084         (truncate_wchar): Likewise.
2086 2001-02-06  Ulrich Drepper  <drepper@redhat.com>
2088         * locale/programs/locale.c: Implement --verbose option for -a
2089         which prints detailed information about the locales.
2091 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2093         * sunrpc/xdr_rec.c (set_input_fragment): Change type of header
2094         variable to uint32_t.
2095         Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
2097 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
2099         * locale/C-translit.h.in: Add transliterations for CJK units of
2100         measurement.
2102 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2104         * elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
2105         string.  Include <inttypes.h> instead of <stdint.h>.
2107         * localedata/Makefile (tests): Add bug-iconv-trans.
2108         Define bug-iconv-trans-ENV.
2109         * localedata/bug-iconv-trans.c: New file.
2111 2001-02-04  Bruno Haible  <haible@clisp.cons.org>
2113         * iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
2114         pointer, to avoid accumulating output from incomplete (unsuccessful)
2115         transliteration attempts.
2117 2001-02-05  Ulrich Drepper  <drepper@redhat.com>
2119         * elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
2120         string.  Include <inttypes.h> instead of <stdint.h>.
2122         * configure.in: Add check for bison.
2123         * config.make.in: Define BISON variable.
2124         * intl/Makefile: Use BISON instead of YACC when generating plural.c.
2125         Rename YFLAGS to BISONFLAGS.
2127 2001-02-05  Andreas Jaeger  <aj@suse.de>
2129         * io/test-lfs.c (do_test): Test lseek64 return value, call
2130         test_ftello.
2131         (test_ftello): New function to test ftello64 and fseeko64.
2133         * signal/signal.h: Move __sigaction from here to...
2134         * include/signal.h: ...here.
2136         * io/fcntl.h: Move __fcntl and __open to...
2137         * include/fcntl.h: ...here.
2139 2001-02-04  Philip Blundell  <philb@gnu.org>
2141         * configure.in: Distinguish ARM from Thumb.
2143 2001-02-04  Philip Blundell  <philb@gnu.org>
2145         * sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
2146         PC24 relocs with negative value.
2148 2001-02-04  Ulrich Drepper  <drepper@redhat.com>
2150         * iconv/Makefile (iconv_prog-modules): Define.  Add vpath to find
2151         files in locale/programs.  Add CFLAGS definition to allow compiling
2152         localedef files.
2153         * iconv/dummy-repertoire.c: New file.
2154         * iconv/iconv_charmap.c: New file.
2155         * iconv/iconv_prog.h: New file.
2156         * iconv/iconv_prog.c: Make verbose and omit_invalid global.
2157         (main): If parameter for -f and -t contain slashes try first to resolve
2158         the strings as filenames of charmap files.  Use them for conversion
2159         in this case.
2160         * iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
2161         iconv getting charmap names as parameters.
2162         * locale/programs/linereader.c (lr_token): Take extra parameters
2163         verbose and pass it to get_string.
2164         (get_string): Take extra parameters verbose.
2165         * locale/programs/charmap.c (parse_charmap): Take extra parameters
2166         verbose and be_quiet.  Change all callers of lr_token and
2167         parse_charmap.
2168         * locale/programs/charmap.h: Likewise.
2169         * locale/programs/ld-address.c: Likewise.
2170         * locale/programs/ld-collate.c: Likewise.
2171         * locale/programs/ld-ctype.c: Likewise.
2172         * locale/programs/ld-identification.c: Likewise.
2173         * locale/programs/ld-measurement.c: Likewise.
2174         * locale/programs/ld-messages.c: Likewise.
2175         * locale/programs/ld-monetary.c: Likewise.
2176         * locale/programs/ld-name.c: Likewise.
2177         * locale/programs/ld-numeric.c: Likewise.
2178         * locale/programs/ld-paper.c: Likewise.
2179         * locale/programs/ld-telephone.c: Likewise.
2180         * locale/programs/ld-time.c: Likewise.
2181         * locale/programs/linereader.c: Likewise.
2182         * locale/programs/linereader.h: Likewise.
2183         * locale/programs/localedef.c: Likewise.
2184         * locale/programs/locfile.c: Likewise.
2185         * locale/programs/locfile.h: Likewise.
2186         * locale/programs/repertoire.c: Likewise.
2188 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
2190         * iconv/iconv_prog.c (main): If output file name is "-" write to
2191         stdout.
2192         (main): If -f or -t argument is missing use charset of the current
2193         locale.
2195 2001-02-03  Andreas Jaeger  <aj@suse.de>
2197         * sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
2198         boundary for SSE/SSE-2 alignment.
2200         * posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
2201         annexc.
2203 2001-02-03  Ulrich Drepper  <drepper@redhat.com>
2205         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
2206         Remove comma at end of enum.
2208         * elf/dl-init.c: Add a few __builtin_expect.
2210         * hesiod/hesiod.c: Remove unnecessary code.  Remove all uses of strcat.
2212 2001-02-02  Ulrich Drepper  <drepper@redhat.com>
2214         * hesiod/hesiod.c (hesiod_resolve): Also search HS records if
2215         errno is ECONNREFUSED.
2217         * posix/Makefile: Define MBS_SUPPORT for regex.c.
2218         * posix/regex.c: Implement multibyte character handling.
2219         Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
2221         * string/tst-svc.input: Add two more test cases.
2222         * string/tst-svc.expect: Modify to reflect new test cases.
2224 2001-02-01  Jakub Jelinek  <jakub@redhat.com>
2226         * sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
2227         tp->name tests with tp->name[0] tests.
2229 2001-01-29  Ben Collins  <bcollins@debian.org>
2231         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
2232         Fix check for name == NULL.
2234 2001-02-01  Ulrich Drepper  <drepper@redhat.com>
2236         * elf/Makefile: Add rules to build and run initfirst test.
2237         * elf/initfirst.c: New file.
2238         * elf/firstobj.c: New file.
2240         * Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
2241         * configure.in: Test for -z initfirst linker option.
2242         * config.make.in: Add have-z-initfirst.
2243         * elf/dl-init.c (_dl_init): Split out actual initialization code in
2244         new function call_init.  If _dl_initfirst is non-NULL initialize first.
2245         * elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
2246         remember object in _dl_initfirst.
2247         * elf/soinit.c: Remove special support for calling
2248         __pthread_initialize_minimal.
2250         * conform/conformtest.pl: Add missing $prepend in type test.
2252 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
2254         * elf/elf.h (SHT_CHECKSUM): New definition.
2256         * posix/fnmatch_loop.c: Remove incorrect reverse condition in
2257         [. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2258         * posix/tst-fnmatch.input: Add tests for [. .] in locales.
2260 2001-01-31  Mark Kettenis  <kettenis@gnu.org>
2262         * misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
2263         to get definition of `struct timeval'.
2265 2001-01-31  Ulrich Drepper  <drepper@redhat.com>
2267         * posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
2268         * posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.
2270 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
2272         * iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
2273         seen, not flags.
2275         * nis/nis_findserv.c: Include <time.h>.
2277 2001-01-30  Yong Li  <yong.li@asu.edu>
2279         * iconv/iconv_prog.c (main): Correct error handling method name.
2281 2001-01-29  Ben Collins  <bcollins@debian.org>
2283         * sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
2284         * sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
2285         * sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
2286         * sysdeps/s390/fpu/fraiseexcpt.c: Likewise.
2288 2001-01-30  Ulrich Drepper  <drepper@redhat.com>
2290         * locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
2291         Patch by Marko Myllynen <myllynen@lut.fi>.
2293         * string/bits/string2.h (__strpbrk_c2): Correct parameter types
2294         (int instead of char).
2295         (__strpbrk_c3): Likewise.
2296         Reported by GOTO Masanori <gotom@debian.or.jp>.
2298         * sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
2299         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
2300         * include/sys/socket.h: Add SA_LEN here for internal use.
2301         Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2303 2001-01-29  Ulrich Drepper  <drepper@redhat.com>
2305         * malloc/Makefile: Don't build memusagestat if cross-compiling.
2307         * sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
2309         * math/libm-test.inc (rint_test): Add a few more tests for round
2310         to even rounding.
2312 2001-01-28  Ulrich Drepper  <drepper@redhat.com>
2314         * conform/data/pthread.h-data: Correct return type of pthread_exit.
2316         * conform/conformtest.pl: Add -fno-builtin to CFLAGS.
2318         * conform/data/stdlib.h-data: Add _Exit.
2320         * inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
2321         if not already happened.
2322         * inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
2323         Don't include <limits.h> and <bits/sockaddr.h>.
2325         * conform/data/netinet/in.h-data: Allow all of <inttypes.h>.
2327         * conform/data/spawn.h-data: Allow all of <sched.h>.
2329         * sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
2330         unused variable.
2332         * sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
2333         * sunrpc/xdr_sizeof.c (x_inline): Likewise.
2335         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
2337         * conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
2338         * libio/stdio.h: Define va_list correctly.
2340         * conform/data/pthread.h-data: Make priority protocol related
2341         functions optional.  Fix typos.
2343         * posix/sched.h: Define sched_priority as __sched_priority.
2344         * sysdeps/generic/bits/sched.h (struct sched_param): Rename element
2345         to __sched_priority.
2346         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2348 2001-01-27  Ulrich Drepper  <drepper@redhat.com>
2350         * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
2351         of <sys/time.h>.
2353         * sysdeps/unix/stime.c: Include <stddef.h> for NULL.
2354         * sysdeps/unix/time.c: Likewise.
2356         * conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
2357         * sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
2358         * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2359         * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
2360         * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
2361         * sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
2362         * sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
2363         * time/time.h: Likewise.
2365         * conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
2366         * conform/data/complex.h-data: New file.
2367         * conform/data/tgmath.h-data: New file.
2369         * conform/data/wchar.h-data: Add missing functions.
2371         * sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.
2373         * conform/data/termios.h-data: Add missing const in tcsetattr()
2374         prototype.
2376         * posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
2377         Don't define pid_t here.
2379         * conform/data/sys/utsname.h-data: Don't provide fixed array sizes.
2381         * conform/data/sys/time.h-data: Allow sys/select.h.
2382         * conform/data/sys/un.h-data: Fix typo.
2383         * time/sys/time.h: Don't include all of <time.h>, just struct timeval.
2384         * sysdeps/posix/clock_getres.c: Include <time.h> instead of
2385         <sys/time.h>.
2386         * sysdeps/unix/clock_nanosleep.c: Likewise.
2387         * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
2388         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
2389         * sysdeps/unix/clock_gettime.c: Also include <time.h>.
2390         * sysdeps/unix/clock_settime.c: Likewise.
2392         * sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
2393         * login/getutent.c: Likewise.
2394         * login/getutid.c: Likewise.
2395         * login/getutline.c: Likewise.
2397         * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
2399         * sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
2400         to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
2401         * sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
2402         f_fsid field after change in struct statvfs.
2403         * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
2404         * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
2405         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.
2407         * conform/data/sys/stat.h-data: Remove isfdtype.  Use
2408         optional-macro.
2410         * conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
2411         recvfrom, send, and socketpair prototypes.  Add allow lines.
2412         * socket/sys/socket.h: Include <sys/uio.h>.
2413         Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
2414         Fix type of second parameter of listen.
2415         Don't declare isfdtype unless __USE_MISC.
2416         * sysdeps/generic/listen.c: Fix type of second parameter of listen.
2417         * sysdeps/mach/hurd/listen.c: Likewise.
2418         * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
2419         ss_family and __ss_family.
2420         * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
2421         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2422         (struct msghdr): Change type of msg_iovlen to int and type of
2423         msg_controllen to socklen_t.
2424         * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
2425         * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
2426         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
2427         * inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
2428         (rresvport_af): Likewise.
2430         * conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
2431         * conform/conformtest.pl: Implement handling of symbol.
2433         * signal/signal.h: Fix handling of __need_* symbols.
2434         * misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
2435         fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
2436         * include/sys/select.h: Use fd_set not __fd_set.
2437         * sysdeps/generic/bits/select.h: Likewise.
2438         * sysdeps/i386/bits/select.h: Likewise.
2439         * sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
2440         __FDELT, __FDMASK, and __fd_set here.
2441         * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
2442         * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
2443         * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
2444         * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
2445         * sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
2446         * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
2447         * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
2448         * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
2449         * time/sys/time.h: Define struct timeval before including <time.h>
2450         and <sys/select.h>.
2452         * conform/data/sys/time.h-data: fd_set is a typedef.
2453         * conform/data/sys/select.h-data: New file.
2454         * conform/data/sys/mman.h-data: Make typed mem stuff optional.
2455         * conform/conformtest.pl (@headers): Add sys/select.h.
2456         (type, optional-type): Unless testing a typedef instantiate object.
2457         Implement optional-function.
2459         * math/test-misc.c: Include <float.h>.
2461 2001-01-27  Andreas Jaeger  <aj@suse.de>
2463         * misc/efgcvt_r.c: Include <float.h>.
2465 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
2467         * conform/data/stdlib.h-data: Account for XPG6 changes.
2468         * stdlib/stdlib.h (__random): Change return value type to long.
2469         (posix_memalign): Cleanup parameter names.
2470         (setenv, unsetenv): Make available for __USE_XOPEN2K.
2471         Change return type of unsetenv to int.
2472         (qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
2473         * include/stdlib.h: Change return type of unsetenv to int.
2474         Change return type of random to long int.
2475         * sysdeps/generic/setenv.c (unsetenv): Change return type to int.
2476         Return -1 and set errno if parameter is invalid.
2477         * stdlib/random.c (__random): Change return value type to long.
2479         * conform/data/stdio.h-data: Account for changes in XPG6.
2481         * conform/data/spawn.h-data: Correct posix_spawnattr_setflags
2482         prototype.
2484         * conform/conformtest.pl: Define $mustprepend{"signal.h"}.
2485         * conform/data/signal.h-data: Fix sigev_notify_function entry.
2486         Fix typo (SIGVALRM -> SIGVTALRM).
2487         * sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
2488         with real type.
2489         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
2490         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
2491         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
2492         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2493         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
2495         * conform/conformtest.pl: Implement optional-element.  Define
2496         $mustprepend{"sched.h"}.
2497         * conform/data/sched.h-data: Make sporadic scheduler definitions
2498         optional.
2500         * pwd/pwd.h: Don't define getpwent_r for XPG.
2502         * io/sys/poll.h: Define nfds_t and use it in poll prototype.
2503         * sysdeps/generic/poll.c: Use nfds_t type in function definition.
2504         * sysdeps/mach/hurd/poll.c: Likewise.
2505         * sysdeps/unix/bsd/poll.c: Likewise.
2506         * sysdeps/unix/sysv/linux/poll.c: Likewise.
2507         * sysdeps/unix/sysv/aix/poll.c: Likewise.
2508         * sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
2509         * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
2510         * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
2511         * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
2512         * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
2513         * conform/data/poll.h-data: Fix typo in poll prototype.
2515         * sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
2516         only if __USE_MISC.
2517         * conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
2519         * sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.
2521         * inet/netinet/in.h: Make IPPROTO_ constants also macros.
2523         * conform/conformtest.pl: Implement optional-type.
2525         * resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>.  Include
2526         <rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
2527         defining uint32_t here.  Define IPPORT_RESERVED.
2528         (struct hostent): Type of h_length element is int.
2529         (getnameinfo): Type of flags parameter is unsigned int.
2530         * inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
2531         * conform/data/netdb.h-data: Add many missing definitions.
2533         * conform/conformtest.pl: Implement optional-macro.
2534         * conform/data/math.h-data: Update for XPG6.
2536         * math/math.h (HUGE): Define as FLT_MAX value but don't use
2537         FLT_MAX.  Don't include <float.h>.
2538         (MAXFLOAT): Likewise.
2540         * math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
2542         * include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
2544         * conform/data/limits.h-data: Mark constants as optional wherever
2545         appropriate.
2547         * posix/bits/posix2_lim.h: Set correct values for
2548         _POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
2549         EQUIV_CLASS_MAX.
2551         * posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
2552         Required by POSIX.
2554         * intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
2556         * conform/data/netinet/in.h-data: Add reserved prefixes.
2558         * conform/data/arpa/inet.h-data: Fix a few typos.
2560 2001-01-26  Andreas Jaeger  <aj@suse.de>
2562         * sysdeps/generic/strtol.c: Include <locale.h>
2563         * stdlib/strtod.c: Likewise
2564         * stdlib/strfmon.c: Likewise.
2565         * string/strcoll.c: Likewise.
2566         * string/strxfrm.c: Likewise.
2567         * wctype/wcfuncs_l.c: Likewise.
2568         * wctype/wctype_l.c: Likewise.
2569         * wctype/wctrans_l.c: Likewise.
2571         * include/bits/locale.h: New file.
2573 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
2575         * locale/langinfo.h: Correct logic in #ifs when defining YESSTR
2576         and NOSTR.
2578         * locale/Makefile (headers): Add bits/locale.h.
2579         * locale/langinfo.h: Don't include <locale.h>.  Include <bits/locale.h>
2580         and use __LC_ constants instead of LC_.
2581         * locale/locale.h: Include <bits/locale.h> and define LC_ constants
2582         using __LC_ constants.
2583         * locale/bits/locale.h: New file.
2584         * locale/loadlocale.c: Include <locale.h>.
2585         * locale/nl_langinfo.h: Likewise.
2587         * posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
2589         * io/sys/stat.h: Define S_IFSOCK for XPG6.
2591         * conform/data/fcntl.h-data: posix_madvise is not expected here.
2593         * conform/conformtest.pl: Fix handling of macro-str.
2595         * conform/data/inttypes.h-data: Add missing definition and all of
2596         stdint.h-data.
2598         * sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
2600 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
2602         * conform/conformtest.pl (@headers): Add stdint.h.
2603         * conform/data/stdint.h-data: New file.
2605         * conform/conformtest.pl: Recognize options --headers and
2606         --dialect.  Add dialect-specific CFLAGS.
2608         * conform/conformtest.pl: Implement handling of recursive
2609         allow-header.
2611         * conform/data/locale.h-data: Add new struct lconv members.
2613         * posix/wordexp.h: Correct definition of wordexp_t.
2614         * posix/wordexp.c: Moved to ...
2615         * sysdeps/generic/wordexp.c: ...here.  New file.
2616         * sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
2617         * sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
2618         * sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
2619         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
2620         wordexp.
2621         * sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
2622         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
2624         * math/tgmath.h: Pretty printing.
2626         * math/Makefile (tests): Add test-tgmath.
2627         (CFLAGS-test-tgmath.c): New variable.
2628         * math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.
2630         * conform/conformtest.pl: Handle allow-header in secondary headers
2631         correctly.
2633         * conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
2634         #ifdef.
2636         * conform/data/netinet/in.h-data: Use correct comment character.
2637         * conform/data/sys/stat.h-data: Likewise.
2639 2001-01-25  Jakub Jelinek  <jakub@redhat.com>
2641         * math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
2642         __TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
2643         __TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
2644         __builtin_classify_type, add ##f suffixes where appropriate.
2645         (__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
2646         (__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
2647         __builtin_classify_type.
2648         (fma): Fix spelling of first argument.
2650 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
2652         * conform/data/unistd.h-data: Mark functions removed in XPG6
2653         correctly.
2655         * posix/unistd.h: Don't make functions removed in XPG6 available if
2656         __USE_XOPEN2K.
2658         * conform/conformtest.pl: Implement optional-constant.
2659         * conform/data/unistd.h-data: Use optional-constant wherever
2660         appropriate.
2662         * sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
2663         constants and add _SC_STREAMS.
2664         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2666         * sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
2667         make old name weak alias.
2668         * sysdeps/generic/statvfs64.c: Likewise.
2669         * sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
2670         make old name weak alias.
2671         * sysdeps/generic/fstatvfs64.c: Likewise.
2672         * include/sys/statvfs.h: New file.
2674         * sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
2675         _PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
2676         _PC_REC_XFER_ALIGN.
2677         * sysdeps/posix/pathconf.c (__pathconf): Implement handling of
2678         _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
2679         _PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
2680         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
2682         * conform/conformtest.pl: Run Unix tests for XPG6.
2683         Implement handling of known namespace violations.
2684         Improve printing of results.
2686         * posix/unistd.h (usleep): Correct return type.
2687         * sysdeps/unix/sysv/linux/usleep.c: Correct return type.
2688         * sysdeps/unix/bsd/usleep.c: Correct return type.
2689         * sysdeps/mach/usleep.c: Correct return type.
2690         * sysdeps/generic/usleep.c: Correct return type.
2692         * posix/unistd.h (sync): Correct return type.
2693         * sysdeps/generic/sync.c: Likewise.
2694         * sysdeps/mach/hurd/sync.c: Likewise.
2696         * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
2698         * posix/unistd.h: Make seteuid and setegid available for XPG6.
2700         * wcsmbs/wchar.h: Get FILE definition for XPG5.
2702         * conform/data/ctype.h-data: Use correct comment form.
2703         * conform/data/errno.h-data: Likewise.
2704         * conform/data/math.h-data: Likewise.
2705         * conform/data/mqueue.h-data: Likewise.
2706         * conform/data/netdb.h-data: Likewise.
2707         * conform/data/pthread.h-data: Likewise.
2709 2001-01-24  Ulrich Drepper  <drepper@redhat.com>
2711         * conform/data/wordexp.h-data: Fix typo.
2713         * conform/conformtest.pl: Handle allow-header correctly.
2715         * conform/data/time.h-data: Use correct comment form.
2717         * conform/conformtest.pl (checknamespace): Ignore #undef lines.
2719         * configure.in: Comment out binutils version test.
2721         * stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
2722         separators.
2723         Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.
2725         * stdlib/tst-strtod.c (locale_test): New function.
2726         (main): Call locale_test.
2727         * stdlib/Makefile (tst-strtod-ENV): New variable.
2729 2001-01-24  Mark Kettenis  <kettenis@gnu.org>
2731         * hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
2732         declaration of value such that we actually return the value of the
2733         environment variable.
2735 2001-01-24  Andreas Jaeger  <aj@suse.de>
2737         * sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
2738         prototype.
2739         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2741         * include/sys/sysctl.h: New file.
2743 2001-01-23  Andreas Jaeger  <aj@suse.de>
2745         * stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
2746         isomac.
2748         * elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
2749         arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
2750         closes PR libc/2039.
2752         * manual/install.texi (Tools for Compilation): Change required
2753         binutils version.
2755 2001-01-22  Andreas Jaeger  <aj@suse.de>
2757         * configure.in: Add test for new enough binutils version, move
2758         compiler/binutils test up.
2760         * Versions.def: Add version GLIBC_2.2.2.
2762 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2764         * iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
2765         available.
2766         * iconvdata/testdata/IBM932: New file.
2767         * iconvdata/testdata/IBM932..UTF8: New file.
2768         * iconvdata/testdata/IBM943: New file.
2769         * iconvdata/testdata/IBM943..UTF8: New file.
2770         Contributed by Masahide Washizawa <washi@jp.ibm.com>.
2772 2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2774         * sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.
2776 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2778         * malloc/malloc.c: Remove a few unnecessary initializers of global
2779         variables.
2781 2000-12-09  H.J. Lu  <hjl@gnu.org>
2783         * nss/Makefile (routines): Add digits_dots.
2784         * nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
2785         * nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
2786         into a function.
2787         * nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
2788         function.
2789         * nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
2790         (TYPE_VAR_P): Likewise.
2791         (FLAGS_VAR): Likewise.
2792         (AF_VAR_P): Likewise.
2793         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
2794         instead of including digits_dots.c.
2795         * nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
2796         (TYPE_VAR_P): Likewise.
2797         (FLAGS_VAR): Likewise.
2798         (AF_VAR_P): Likewise.
2799         (INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
2800         instead of including digits_dots.c.
2802 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2804         * sysdeps/posix/getaddrinfo.c: Reduce .data size.
2806 2001-01-21  Andreas Jaeger  <aj@suse.de>
2808         * elf/constload2.c: Add prototype for init.
2810 2001-01-21  Ulrich Drepper  <drepper@redhat.com>
2812         * stdlib/stdlib.h (drand48_data): Make available only for
2813         __USE_MISC.  Rename elements to protect namespace.  Change type
2814         and position of a and init element.
2815         * stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
2816         differently.  Adjust for drand48_data change.  Don't compute a here,
2817         it comes from drand48_data.
2818         * stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
2819         differently.  Adjust for drand48_data change.  Compute a here.
2820         * stdlib/srand48_r.c: Likewise.
2821         * stdlib/drand48.c: Adjust for drand48_data change.
2822         * stdlib/lrand48.c: Likewise.
2823         * stdlib/mrand48.c: Likewise.
2824         * stdlib/seek48.c: Likewise.
2825         * stdlib/drand48_r.c: Likewise.
2826         * stdlib/lrand48_r.c: Likewise.
2827         * stdlib/mrand48_r.c: Likewise.
2828         * stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
2829         differently.
2830         * stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
2831         * stdlib/jrand48_r.c: Likewise.
2833         * po/sv.po: Update from translation team.
2835 2001-01-21  Andreas Jaeger  <aj@suse.de>
2837         * stdio-common/vfprintf.c (vfprintf): Add casts.
2839 2001-01-20  Ulrich Drepper  <drepper@redhat.com>
2841         * iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
2842         the ASCII test.
2843         * iconvdata/TESTS: Add entries for IBM932 and IBM943.
2845         * iconvdata/Makefile (modules): Add IBM932 and IBM943.
2846         * iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
2847         * iconvdata/ibm932.c: New file.
2848         * iconvdata/ibm932.h: New file.
2849         * iconvdata/ibm943.c: New file.
2850         * iconvdata/ibm943.h: New file.
2851         Patches by Masahide Washizawa <washi@jp.ibm.com>.
2853         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
2854         preventing optimization from being done.  Set the correct type bit
2855         in seen.  Don't define and use _dl_base_addr unless
2856         NEED_DL_BASE_ADDR is defined.
2858         * io/ftw.c (ftw_dir): Add slash after directory name if there
2859         wasn't any.  Reported by loris <loris@iol.it>.
2860         * io/Makefile (tests): Add bug-ftw2.
2861         * io/bug-ftw2.c: New file.
2863 2001-01-19  Ulrich Drepper  <drepper@redhat.com>
2865         * stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
2866         results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
2867         * stdlib/tst-rand48.c: New file.
2868         * stdlib/Makefile (tests): Add tst-rand48.
2870         * locale/newlocale.c (__newlocale): Fix test for setting all
2871         categories.
2873 2001-01-19  Mark Kettenis  <kettenis@gnu.org>
2875         * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes,
2876         but change looking up the initial directory port in a similar way
2877         as done by _hurd_change_directory_port_from_name.
2878         * hurd/fchroot.c (fchroot): Likewise.
2880 2001-01-18  Ulrich Drepper  <drepper@redhat.com>
2882         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): If HAVE_AUX_XID is
2883         defined don't look whether the AT_*ID values were set.
2884         If HAVE_AUX_PAGESIZE is defined don't look whether the pagesize is set.
2885         (_dl_show_auxv): Rewrite to avoid switch statement.
2886         * sysdeps/unix/sysv/linux/kernel-features.h: Define
2887         __ASSUME_AT_PAGESIZE for kernel >= 2.4.1.
2888         * sysdeps/unix/sysv/linux/ldsodefs.h: Define HAVE_AUX_XID.
2889         Define HAVE_AUX_PAGESIZE if __ASSUME_AT_PAGESIZE is defined.
2891         * sysdeps/unix/sysv/linux/fxstat64.c: Add one __builtin_expect.
2892         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
2893         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
2895         * elf/rtld.c (process_envvars): Call __strtoul_internal instead of
2896         strtoul.
2897         * elf/dl-minimal.c (strtol, __strtol_internal, strtoul): Removed.
2898         (__sigjmp_save): Set __mask_was_saved to zero since we don't save
2899         anything.
2900         * dlfcn/eval.c (__strtol_internal): Define here.
2901         (eval): Use __strtol_internal instead of strtol.
2903         * elf/elf.h: Add a few more EF_MIPS_* constants.
2905 2001-01-17  Ulrich Drepper  <drepper@redhat.com>
2907         * manual/Makefile (chapters): Add debug.
2908         * manual/debug.texi: New file.
2909         * manual/examples/execinfo.c: New file.
2910         Patch by suckfish@ihug.co.nz.
2912 2001-01-17  Andreas Schwab  <schwab@suse.de>
2914         * sysdeps/m68k/bits/byteswap.h (__bswap_32): Add cast to avoid
2915         invalid asm.
2917 2001-01-17  Andreas Jaeger  <aj@suse.de>
2919         * nscd/connections.c (nscd_run): Use proper format specifier.
2921 2001-01-16  Ulrich Drepper  <drepper@redhat.com>
2923         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Move x86_cap_flags and
2924         x86_platforms data into new file after prepending _dl_.  Change
2925         users.
2926         * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: New file.
2927         * sysdeps/unix/sysv/linux/i386/Dist: Add dl-procinfo.c.
2928         * sysdeps/unix/sysv/linux/i386/Makefile: Add rules to build
2929         dl-procinfo.c.
2931         * setjmp/setjmp.h: Cleanup definition of setjmp macro.
2933         * sysdeps/i386/elf/bsd-setjmp.S: Real implementation.
2934         * sysdeps/i386/elf/bsd-_setjmp.S: Removed.
2935         * sysdeps/i386/elf/setjmp.S (setjmp): Removed here.
2936         (_setjmp): Likewise.
2937         * sysdeps/i386/bsd-_setjmp.S: Real implementation.
2938         * sysdeps/i386/bsd-setjmp.S: Real implementation.
2939         * sysdeps/i386/bits/setjmp.h: Remove PUSH_SIGNAL_MASK definition.
2940         * sysdeps/i386/setjmp.S: Remove PIC support.  This is the non-ELF
2941         version.
2943 2001-01-16  Andreas Jaeger  <aj@suse.de>
2945         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (SIGCONTEXT): Fix
2946         misapplied last patch.
2948 2001-01-15  Ulrich Drepper  <drepper@redhat.com>
2950         * stdlib/random.c (__initstate): Clean up a cast.
2951         (__setstate): Likewise.
2953         * sysdeps/unix/sysv/linux/mips/syscalls.list: Remove select
2954         syscall handling.  The generic Linux version should work.
2956 2001-01-15  Andreas Jaeger  <aj@suse.de>
2958         * sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
2960         * stdio-common/tstscanf.c (main): Add two testcases for '*' modifier.
2962 2001-01-14  Jakub Jelinek  <jakub@redhat.com>
2964         * nss/getent.c (print_aliases, aliases_keys, ethers_keys,
2965         netgroup_keys, print_rpc, rpc_keys, print_shadow, shadow_keys):
2966         New functions.
2967         (group_keys, hosts_keys, network_keys, passwd_keys, protocols_keys):
2968         If number is 0, list all.
2969         (services_keys): Likewise.  Lookup aliases as well.
2970         (databases): New table.
2971         (build_doc): Prepare argp doc text with list of supported databases.
2972         (main): Change to table driven processing.
2974 2001-01-14  Thorsten Kukuk <kukuk@suse.de>
2976         * sunrpc/xdr.c (xdr_long, xdr_u_long): Fix comments about these
2977         functions.
2979 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
2981         * sunrpc/xdr.c (xdr_long, xdr_u_long): Return FALSE if trying to
2982         encode value which does not fit in the 32bit type.
2984 2001-01-15  Hiroyuki Machida <machida@sm.sony.co.jp>
2986         * sysdeps/unix/sysv/linux/mips/register-dump.h (REGISTER_DUMP):
2987         Change type of CTX to (struct sigcontext *).
2988         * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h (GET_PC): Likewise.
2989         (GET_FRAME): Likewise.
2990         (GET_STACK): Likewise.
2991         (SIGCONTEXT): Likewise. Add 2nd arg _code.
2992         (SIGCONTEXT_EXTRA_ARGS): Add 2nd arg _code.
2994 2001-01-13  Ulrich Drepper  <drepper@redhat.com>
2996         * manual/texinfo.tex: Update from upstream version.
2998 2001-01-13  Jakub Jelinek  <jakub@redhat.com>
3000         * inet/ether_ntoh.c (lookup_function): Change arguments to match
3001         _nss_*_getntohost_r prototype.
3002         (ether_ntohost): Pass errno pointer to NSS function.
3004 2001-01-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3006         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MS_SYNC): Fix value.
3007         (MAP_LOCKED): New definition.
3008         (MAP_NORESERVE): New definition.
3010 2001-01-12  Ulrich Drepper  <drepper@redhat.com>
3012         * assert/assert.h: Use static_cast instead of C-style cast for C++.
3013         Patch by Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>.
3015 2001-01-12  Ben Collins  <bcollins@debian.org>
3017         * sysdeps/generic/segfault.c (install_handler): Use access, not
3018         __access.
3020 2001-01-12  Andreas Jaeger  <aj@suse.de>
3022         * posix/fnmatch_loop.c (FCT): Remove signed warnings.
3023         * posix/wordexp.c (do_parse_glob): Likewise.
3024         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3025         * sysdeps/posix/sigsetmask.c (__sigsetmask): Likewise.
3026         * elf/dl-open.c (_dl_open): Likewise.
3027         * elf/dl-close.c (_dl_close): Likewise.
3028         * elf/dl-load.c (_dl_map_object): Likewise.
3029         * iconv/iconv_prog.c (process_fd): Likewise.
3030         * stdio-common/vfscanf.c (_IO_vfscanf): Likewise.
3032         * locale/localeinfo.h (struct locale_data): Use __flexarr instead
3033         of a zero-length array.
3035 2001-01-11  Jakub Jelinek  <jakub@redhat.com>
3037         * stdlib/cxa_atexit.c (__cxa_atexit): Cast to (void *, int) func.
3038         * stdlib/cxa_finalize.c (__cxa_finalize): Add hidden second argument.
3039         * stdlib/cxa_on_exit.c: Remove.
3040         * stdlib/Makefile: Revert last patch.
3041         * stdlib/Versions: Likewise.
3042         * include/stdlib.h: Likewise.
3043         * stdlib/exit.h: Revert last patch.
3044         (struct exit_function): Add second argument to cxa fn.
3045         * stdlib/exit.c: Revert last patch.
3046         (exit): Add hidden second argument.
3048 2001-01-11  H.J. Lu  <hjl@gnu.org>
3050         * elf/dl-libc.c (do_dlopen): Move DL_STATIC_INIT to ...
3051         * elf/dl-open.c (_dl_open): Here.
3052         * sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_lock):
3053         Make it static.
3054         (_dl_static_init): Initialize the variables every time when possible.
3055         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h (DL_STATIC_INIT):
3056         Undefine it first.
3058 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
3060         * stdlib/Makefile (routines): Add cxa_on_exit.
3061         * stdlib/Versions [libc] (GLIBC_2.2.1): Add __cxa_on_exit.
3062         * stdlib/cxa_on_exit.c: New file.
3063         * include/stdlib.h: Add prototype for __cxa_on_exit.
3064         * stdlib/exit.c: Handle ef_cxa2.
3065         * stdlib/exit.h (enum): Add ef_cxa2.
3066         (struct exit_function): Add cxa2.
3068         * Versions.def [ld]: Add GLIBC_2.2.1.
3070 2001-01-10  H.J. Lu  <hjl@gnu.org>
3072         * elf/dl-libc.c (do_dlopen): Call DL_STATIC_INIT for static binaries.
3073         * sysdeps/unix/sysv/linux/ia64/Makefile (sysdep-dl-routines): Add
3074         dl-static.
3075         * sysdeps/unix/sysv/linux/ia64/Versions (ld): Add _dl_var_init.
3076         * sysdeps/generic/ldsodefs.h (DL_STATIC_INIT): Defined if not defined.
3077         * sysdeps/unix/sysv/linux/ia64/ldsodefs.h: New file.
3078         * sysdeps/unix/sysv/linux/ia64/dl-static.c: New file.
3079         * sysdeps/unix/sysv/linux/ia64/Dist: Add dl-static.c.
3081 2001-01-11  Ulrich Drepper  <drepper@redhat.com>
3083         * libio/stdio.h: Remove definition of off_t.
3085 2001-01-11  Andreas Jaeger  <aj@suse.de>
3087         * wcsmbs/tst-mbrtowc.c (utf8_test): New function by Markus Kuhn
3088         <mkuhn@acm.org>.
3090 2001-01-10  Ulrich Drepper  <drepper@redhat.com>
3092         * sunrpc/Makefile (distribute): Add errqueue.h.
3094 2001-01-10  H.J. Lu  <hjl@gnu.org>
3096         * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Also preserve
3097         r9, r10 and r11 for language specific registers.
3099 2001-01-10  Jakub Jelinek  <jakub@redhat.com>
3101         * sunrpc/clnt_udp.c (clntudp_bufcreate): Set IP_RECVERR on the
3102         UDP socket.
3103         (clntudp_call): Handle MSG_ERRQUEUE.
3104         * sysdeps/generic/errqueue.h: New file.
3105         * sysdeps/unix/sysv/linux/errqueue.h: New file.
3107 2001-01-10  H.J. Lu  <hjl@gnu.org>
3109         * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_getpagesize): Removed.
3111 2001-01-10  Joseph S. Myers  <jsm28@cam.ac.uk>
3113         * CONFORMANCE: Update.
3115 2001-01-09  Ulrich Drepper  <drepper@redhat.com>
3117         * sysdeps/generic/elf/backtracesyms.c (__backtrace_symbols):
3118         Minimal cleanups.  Add assert to ensure memory handling is correct.
3120         * manual/conf.texi (File Minimums): Fix _POSIX_PATH_MAX value.
3121         Reported by Ben Collins <bcollins@debian.org>.
3123         * time/strftime.c (my_strftime): Mark previous GNU extensions
3124         which are now in C99 as such.
3126 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
3128         * elf/rtld.c (process_envvars): Place output files for profiling
3129         in SUID binaries in /var/profile.
3131         * elf/dl-load.c (_dl_map_object): Don't look in cache for
3132         preloading in SUID binaries.
3134         * elf/dl-profile.c (_dl_start_profile): Open the output file with
3135         O_NOFOLLOW if possible.
3137         * include/stdlib.h: Add __posix_openpt declaration.
3138         * stdlib/stdlib.h: Add posix_openpt declaration.
3139         * login/Versions: Add posix_openpt for GLIBC_2.2.1.
3140         * sysdeps/generic/getpt.c: Define posix_openpt.
3141         * sysdeps/unix/bsd/getpt.c: Likewise.
3142         * sysdeps/unix/sysv/linux/getpt.c: Likewise.
3144         * time/Makefile (tests): Add tst-mktime.
3145         * time/tst-mktime.c: New file.
3147         * posix/tst-dir.c (main): One more mkdir() test.
3149         * sysdeps/unix/sysv/linux/ia64/getpagesize.c (__getpagesize):
3150         Remove getpagesize syscall.  We assume that the pagesize is always
3151         determined from the auxiliary vector.
3153         * intl/dcigettext.c: Fix a few warnings.
3154         Patch by Bruno Haible <haible@ilog.fr>.
3156 2001-01-08  Andreas Jaeger  <aj@suse.de>
3158         * io/test-lfs.c (do_test): Check lseek64 return for EINVAL.
3159         Reported by Joseph S. Myers <jsm28@cam.ac.uk>.
3161 2001-01-08  Ulrich Drepper  <drepper@redhat.com>
3163         * sysdeps/generic/segfault.c (install_handler): Check output file
3164         name with access().
3166         * resolv/res_query.c: Use simply getenv() for HOSTALIASES.
3167         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
3169         * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
3171         * malloc/memusage.c (me): Use access() to determine whether we
3172         should write the output file or not.
3174         * libio/bits/stdio.h (printf): Define macro to map printf call to
3175         fprintf which gcc can optimize.
3176         * stdio-common/printf.c: Undefine printf.
3178 2001-01-07  Ulrich Drepper  <drepper@redhat.com>
3180         * sysdeps/generic/bits/byteswap.h (__bswap_64): Partly revert last
3181         patch.  We must use unsigned int for l member of union.
3183         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Don't call
3184         _dl_aux_init for shared libraries.
3186         * sysdeps/unix/sysv/linux/glob64.c: Moved to ...
3187         * sysdeps/gnu/glob64.c: ...here.  New file.
3189 2001-01-07  Ben Collins  <bcollins@debian.org>
3191         * manual/examples/longopt.c: Make the "struct option" a little
3192         more like it should be, adding usage of required_argument,
3193         noargument and such, and also setting the options string right.
3195         * manual/sysinfo.texi (Load Average): New section, documents
3196         getloadavg().
3198 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
3200         * version.h (VERSION): Bump to 2.2.1.
3202         * sysdeps/unix/sysv/linux/mips/Dist: Remove sys/acct.h.
3203         * sysdeps/alpha/Dist: Add alphaev6/stxncpy.S and alphaev6/stxcpy.S.
3204         * sysdeps/unix/sysv/aix/Dist: Add uitrunc.c, savef.S, and restf.S.
3205         * dlfcn/Makefile (distribute): Add errmsg1mod.c.
3206         * Makefile (distribute): Add include/libc-internal.h.
3207         * libio/Makefile (distribute): Avoid overwriting.
3209         * iconvdata/ibm937.c (BODY to IBM937): Correct several mistakes in
3210         buffer and table handling.
3212 2001-01-05  H.J. Lu  <hjl@gnu.org>
3214         * elf/dl-support.c (non_dynamic_init): Move the auxiliary
3215         vector checking to ...
3216         (_dl_aux_init): Here. New function. Defined only if
3217         HAVE_AUX_VECTOR is defined.
3219         * sysdeps/generic/libc-start.c (__libc_start_main): Call
3220         _dl_aux_init for static binaries if HAVE_AUX_VECTOR is defined.
3222         * sysdeps/powerpc/elf/libc-start.c (__libc_start_main): Call
3223         _dl_aux_init.
3225         * sysdeps/unix/sysv/linux/ldsodefs.h (DL_FIND_AUXV): Removed.
3226         (HAVE_AUX_VECTOR): Defined.
3227         (_dl_aux_init): Declared.
3229 2001-01-05  Ben Collins  <bcollins@debian.org>
3231         * manual/string.texi (Finding Tokens in a String): Document XPG
3232         basename() and dirname(), as well as GNU basename().
3234 2001-01-05  Jakub Jelinek  <jakub@redhat.com>
3236         * Makeconfig (preprocess-version): Replace -traditional with
3237         -x assembler-with-cpp.
3239 2001-01-05  Joseph S. Myers  <jsm28@cam.ac.uk>
3241         * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj
3242         for GCC 2.97 or later.
3244 2001-01-05  Ben Collins  <bcollins@debian.org>
3246         * manual/stdio.texi (getline): Clarify the return value in the
3247         case of EOF being reached before a newline.
3249 2001-01-04  Jakub Jelinek  <jakub@redhat.com>
3251         * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful,
3252         FALSE otherwise.
3253         (pmap_set, pmap_unset): Check __get_myaddress return value.
3255 2001-01-05  Mark Kettenis  <kettenis@gnu.org>
3257         * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>.
3258         (struct ether_addr): Declare ether_addr_octet member as
3259         `u_int8_t'.  Add __attribute__ ((__packed__)).
3261 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3263         * sysdeps/mach/hurd/readdir64.c: New file.
3264         * sysdeps/mach/hurd/readdir64_r.c: New file.
3266 2001-01-07  Mark Kettenis  <kettenis@gnu.org>
3268         * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about
3269         `struct statfs' and `struct statvfs' being identical.
3270         * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
3272 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3274         * sysdeps/mach/hurd/fstatfs64.c: New file.
3275         * sysdeps/mach/hurd/fstatvfs64.c: New file.
3276         * sysdeps/mach/hurd/statfs64.c: New file.
3277         * sysdeps/mach/hurd/statvfs64.c: New file.
3278         * sysdeps/mach/hurd/statfsconv.c: New file.
3279         * sysdeps/mach/hurd/Dist: Add statfsconv.c.
3281 2001-01-06  Ulrich Drepper  <drepper@redhat.com>
3283         * iconv/skeleton.c: Reset outbuf for next round of the loop.
3284         Reported by Owen Taylor <otaylor@redhat.com>.
3285         * iconv/Makefile (tests): Add tst-iconv3.
3286         * iconv/tst-iconv3.c: New file.
3288         * iconvdata/ibm930.c: Fix handling of state.  Optimize a bit.
3289         * iconvdata/ibm933.c: Likewise.
3290         * iconvdata/ibm935.c: Likewise.
3291         * iconvdata/ibm937.c: Likewise.
3292         * iconvdata/ibm939.c: Likewise.
3293         * iconvdata/ibm930.h: Adjust single byte table for optimization.
3294         * iconvdata/ibm933.h: Likewise.
3295         * iconvdata/ibm935.h: Likewise.
3296         * iconvdata/ibm939.h: Likewise.
3298         * iconvdata/testdata/IBM930: Add misssing SI.
3299         * iconvdata/testdata/IBM933: Likewise.
3300         * iconvdata/testdata/IBM935: Likewise.
3301         * iconvdata/testdata/IBM937: Likewise.
3302         * iconvdata/testdata/IBM939: Likewise.
3304 2001-01-06  Andreas Jaeger  <aj@suse.de>
3306         * configure.in: Check for old add-ons that shouldn't be used with
3307         current glibc anymore.
3309 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3311         * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
3312         instead of -1 on failure.  Don't forget to copy file name into
3313         *ENTRY if successful.  Set *RESULT to NULL upon reaching the end
3314         of the directory.
3316 2001-01-06  Mark Kettenis  <kettenis@gnu.org>
3318         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
3319         copy st_atime member.
3321 2001-01-05  Ulrich Drepper  <drepper@redhat.com>
3323         * io/ftw.c (ftw_dir): Don't add a second slash at the beginning
3324         for searches from the root directory.
3325         Reported by loris <loris@iol.it> [PR libc/1991].
3326         * io/Makefile (tests): Add bug-ftw1.
3327         * io/bug-ftw1.c: New file.
3329         * elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
3330         if it is not available.  Instead use it only if it is available.
3331         * sysdeps/unix/sysv/linux/ldsodefs.h: New file.
3333         * iconv/gconv_simple.c (internal_ics4_loop): Correct test for
3334         overflowing output buffer.
3335         (internal_ucs4_loop_unaligned): Likewise.
3336         (ucs4_internal_loop): Likewise.
3337         (ucs4_internal_loop_unaligned): Likewise.
3338         (internal_ucs4le_loop): Likewise.
3339         (internal_ucs4le_loop_unaligned): Likewise.
3340         (ucs4le_internal_loop): Likewise.
3341         (ucs4le_internal_loop_unaligned): Likewise.
3342         Reported by Owen Taylor <otaylor@redhat.com>.
3343         * iconv/Makefile (tests): Add tst-iconv2.
3344         * iconv/tst-iconv2.c: New file.
3346 2001-01-04  H.J. Lu  <hjl@gnu.org>
3348         * elf/dl-support.c (DL_FIND_AUXV): New.  Defined if not defined.
3349         (_dl_clktck): Declared.
3350         (non_dynamic_init): Take 3 arguments.
3351         Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
3353 2001-01-01  Bruno Haible  <haible@clisp.cons.org>
3355         Finish implementation of plural form handling.
3356         * intl/dcigettext.c (known_translation_t): Rename 'domain' field to
3357         'domainname'.  Remove 'plindex' field. Add 'domain' and
3358         'translation_length' fields.
3359         (transcmp): Don't compare 'plindex' fields.
3360         (plural_lookup): New function.
3361         (DCIGETTEXT): Change cache handing in the plural case.  Don't call
3362         plural_eval before the translation and its catalog file have been
3363         found. Remove plindex from cache key.  Add 'translation_length' and
3364         'domain' to cache result.
3365         (_nl_find_msg): Remove index argument, return length of translation
3366         to the caller instead.  Weaken comparison of string lengths, to account
3367         for plural entries.  Call iconv() on the entire result string, not
3368         only on the portion needed so far.
3369         * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
3370         argument.
3371         * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
3373 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
3375         * intl/plural.y (yylex): Minimal improvement in number scanner.
3377 2000-07-31  Bruno Haible  <haible@clisp.cons.org>
3379         * intl/plural.y: Include config.h. Needed to define 'inline' away for
3380         C compilers that don't support it.
3381         (yylex): Don't use gcc specific case range syntax.
3382         * intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
3383         compilers.
3385 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
3387         * intl/finddomain.c: Remove unneeded includes.
3389 2000-10-12  Bruno Haible  <haible@clisp.cons.org>
3391         * intl/localealias.c (memcpy): Return first argument, just like the
3392         real memcpy function does.
3393         * intl/bindtextdom.c (memcpy): Likewise.
3394         * intl/finddomain.c (memcpy): Likewise.
3395         * intl/l10nflist.c (memcpy): Likewise.
3396         * intl/textdomain.c (memcpy): Likewise.
3397         From Paul Eggert <eggert@twinsun.com>.
3399 2001-01-03  Jakub Jelinek  <jakub@redhat.com>
3401         * resolv/resolv.h (struct __res_state): Add nsinit field.
3402         * resolv/res_send.c (res_nsend): Use it instead of nscount.
3403         * resolv/res_init.c (__res_vinit): Initialize it.
3404         (res_nclose): Clear it instead of nscount.
3406 2001-01-04  Ulrich Drepper  <drepper@redhat.com>
3408         * malloc/mtrace.pl: Fix matching of addresses.
3409         Patch by Aharon Robbins <arnold@skeeve.com>.
3411         * Versions.def (ld): Add GLIBC_2.2.
3413         * catgets/gencat.c: Copyright 2001.
3414         * csu/version.c: Likewise.
3415         * debug/catchsegv.sh: Likewise.
3416         * debug/xtrace.sh: Likewise.
3417         * elf/ldconfig.c: Likewise.
3418         * elf/sprof.c: Likewise.
3419         * iconv/iconv_prog.c: Likewise.
3420         * locale/locale.c: Likewise.
3421         * locale/localedef.c: Likewise.
3422         * malloc/memusage.sh: Likewise.
3423         * malloc/mtrace.pl: Likewise.
3424         * nscd/nscd.c: Likewise.
3425         * posix/getconf.c: Likewise.
3427 2001-01-04  Mark Kettenis  <kettenis@gnu.org>
3429         * include/stdio.h: Only provide __getwc_unlocked prototype if
3430         USE_IN_LIBIO is defined.
3432 2001-01-04  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3434         * sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
3435         handling.
3437 2001-01-03  Andreas Schwab  <schwab@suse.de>
3439         * sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
3440         * sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
3442         * sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
3443         * sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
3444         strtoull alias.
3445         * sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
3446         * sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
3447         wcstoull alias.
3449         * sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
3450         directory.
3451         * sysdeps/generic/strtol_l.c: Likewise.
3452         * sysdeps/generic/strtoul_l.c: Likewise.
3453         * sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
3455         * sysdeps/wordsize-64/strtol_l.c: Fix alias.
3456         * sysdeps/wordsize-64/strtoul_l.c: Likewise.
3457         * sysdeps/wordsize-64/wcstol_l.c: Fix alias.
3458         * sysdeps/wordsize-64/wcstoul_l.c: Likewise.
3460 2001-01-04  Andreas Jaeger  <aj@suse.de>
3462         * nss/nsswitch.c: Include files for missing prototypes, remove
3463         buggy declaration of prototypes.
3465 2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3467         * resolv/Versions: Fix bracing.
3468         * sysdeps/powerpc/soft-fp/Versions: Likewise.
3469         * sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
3471 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3473         * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
3475 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
3477         * manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
3478         Suggested by Minko Markov <mmarkov@home.com>.
3480 2001-01-02  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3482         * sysdeps/powerpc/elf/start.S (__data_start): Make it global.
3483         * sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
3484         the failing symbol.
3485         (__process_machine_rela): Pass symbol to dl_reloc_overflow().
3487 2001-01-02  Ben Collins  <bcollins@debian.org>
3489         * time/tzset.c (tzset_internal): Make sure we fall back to UTC
3490         if TZ is not set and TZDEFAULT is not present.
3492 2001-01-01  Ben Collins  <bcollins@debian.org>
3494         * string/strings.h: Make sure we declare our functions even if
3495         string.h is already included, based on whether or not __USE_BSD is
3496         defined.
3498 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
3500         * dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
3501         other dlopen() and dlsym().
3502         Based on a patch by Ben Collins <bcollins@debian.org>.
3504 2001-01-02  Andreas Jaeger  <aj@suse.de>
3506         * dlfcn/errmsg1.c (main): Call dlerror initially.
3507         Reported by Ben Collins <bcollins@debian.org>.
3509 2001-01-02  Ulrich Drepper  <drepper@redhat.com>
3511         * intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
3512         value is ignored if the selected locale is the C locale.
3513         * intl/tst-gettext.c: Set locale for above change.
3514         * intl/tst-translit.c: Likewise.
3516 2001-01-02  Andreas Jaeger  <aj@suse.de>
3518         * libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
3519         (_IO_switch_to_wget_mode): Likewise.
3520         (_IO_sputbackwc): Likewise.
3521         (_IO_sungetwc): Use wint_t for result.
3523         * stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
3525         * sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
3526         signedness.
3528         * sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
3529         to (int) to avoid warnings.
3530         * stdio-common/printf_fp.c (putc): Likewise.
3531         * stdio-common/printf_size.c (putc): Likewise.
3533         * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
3534         constant unsigned.
3536 2001-01-01  Andreas Jaeger  <aj@suse.de>
3538         * inet/rcmd.c (rcmd_af): Use socklen_t for len.
3540 2000-12-31  Andreas Jaeger  <aj@suse.de>
3542         * include/libc-internal.h: Add prototype for __libc_freeres.
3544         * sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
3545         for prototypes, remove redundant prototypes.
3546         * gmon/gmon.c: Likewise.
3547         * sysdeps/unix/i386/i586/clock_getres.c: Likewise.
3548         * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
3549         * malloc/mtrace.c: Likewise.
3551         * sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
3552         prototypes.
3553         * elf/soinit.c: Likewise.
3554         * sysdeps/generic/prof-freq.c: Likewise.
3555         * sysdeps/mach/hurd/profil.c: Likewise.
3556         * debug/noophooks.c: Likewise.
3557         * debug/pcprofile.c: Likewise.
3558         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
3559         * sysdeps/generic/get_clockfreq.c: Likewise.
3560         * malloc/set-freeres.c: Likewise.
3562         * locale/localeinfo.h: Add internal prototypes.
3564         * elf/rtld.c (dl_main): Fix prototype.
3566         * iconvdata/tst-table-to.c (main): Use return instead of exit to
3567         avoid warning.
3569         * nis/rpcsvc/yp_prot.h: Remove __P.
3570         * nis/rpcsvc/ypupd.h: Likewise.
3571         * nis/rpcsvc/yp.h: Likewise.
3573         * sunrpc/rpc_main.c: Add noreturn attributes.
3574         * sunrpc/rpc_scan.h: Likewise.
3576         * sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
3578         * sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
3580         * sunrpc/proto.h: Add noreturn attributes to error and crash.
3582         * posix/bsd-getpgrp.c: Add prototype to avoid warning.
3584         * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
3586         * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
3588         * include/rpc/rpc_msg.h: Add prototypes for some functions.
3589         * include/rpc/auth.h: Likewise.
3590         * include/rpc/auth_des.h: Likewise.
3591         * include/rpc/clnt.h: Likewise.
3592         * include/rpc/rpc.h: Likewise.
3593         * include/rpc/svc.h: Likewise.
3594         * include/rpc/svc_auth.h: Likewise.
3596         * include/rpc/des_crypt.h: New file.
3598         * malloc/memusagestat.c (main): Use return instead of exit to
3599         avoid warning.
3600         * io/pwd.c (main): Likewise.
3601         * iconvdata/tst-table-from.c (main): Likewise.
3602         * ctype/test_ctype.c (main): Likewise.
3603         * setjmp/tst-setjmp.c (main): Likewise.
3604         * signal/tst-signal.c (main): Likewise.
3605         * stdlib/tst-strtol.c (main): Likewise.
3606         * stdlib/tst-strtod.c (main): Likewise.
3607         * stdlib/tst-strtoll.c (main): Likewise.
3608         * stdlib/tst-xpg-basename.c (main): Likewise.
3609         * dirent/tst-seekdir.c (main): Likewise.
3610         * grp/testgrp.c (main): Likewise.
3611         * inet/test_ifindex.c (main): Likewise.
3612         * io/test-utime.c (main): Likewise.
3613         * posix/test-vfork.c (main): Likewise.
3614         * posix/testfnm.c (main): Likewise.
3615         * stdio-common/temptest.c (main): Likewise.
3616         * stdio-common/test_rdwr.c (main): Likewise.
3617         * stdio-common/tst-fileno.c (main): Likewise.
3618         * stdio-common/tst-sscanf.c (main): Likewise.
3619         * stdio-common/tstscanf.c (main): Likewise.
3620         * string/bug-strncat1.c (main): Likewise.
3621         * string/bug-strpbrk1.c (main): Likewise.
3622         * string/bug-strspn1.c (main): Likewise.
3623         * string/test-ffs.c (main): Likewise.
3624         * string/tst-inlcall.c (main): Likewise.
3625         * string/tst-svc.c (main): Likewise.
3626         * timezone/test-tz.c (main): Likewise.
3627         * wctype/test_wcfuncs.c (main): Likewise.
3628         * wctype/test_wctype.c (main): Likewise.
3630         * stdlib/tst-random.c: Add attribute noreturn to fail.
3632 2000-12-28  Wolfram Gloger  <wg@malloc.de>
3634         * malloc/malloc.c (MALLOC_COPY): Handle case if source and
3635         destination overlap.  Assume dest is always below source if
3636         overlapping.
3638 2000-12-30  Ulrich Drepper  <drepper@redhat.com>
3640         * elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
3641         object was not yet initialized.
3643 2000-12-28  H.J. Lu  <hjl@gnu.org>
3645         * elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
3646         is always consistent even if its dependency is failed.
3648         * elf/dl-open.c (_dl_open): Increment the open count before
3649         calling _dl_close () in case of failure.
3651         * elf/neededtest4.c: New file.
3652         * elf/neededobj5.c: New file.
3653         * elf/neededobj6.c: New file.
3655         * elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
3656         (tests): Add neededtest4.
3657         (modules-names): Add neededobj5 and neededobj6.
3658         ($(objpfx)neededobj6.so): New target.
3659         ($(objpfx)neededtest4): New target.
3660         ($(objpfx)neededtest4.out): New target.
3662 2000-12-28  Joseph S. Myers  <jsm28@cam.ac.uk>
3664         * misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
3665         * stdlib/monetary.h: Add strfmon format attributes.
3667 2000-12-28  Roland McGrath  <roland@frob.com>
3669         * sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
3670         __mempcpy does it for us.
3672 2000-12-28  Andreas Jaeger  <aj@suse.de>
3674         * sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
3676         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
3677         __new_setrlimit.
3679         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
3680         __old_getrlimit64.
3682         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
3683         __new_getrlimit.
3685         * sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
3686         __chown_is_lchown and __real_chown.
3688         * sysdeps/generic/ldsodefs.h: Add noreturn attribute to
3689         _dl_reloc_bad_type.
3691         * sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
3692         up GCC's warning about "deprecated use of label at end of compound
3693         statement."
3694         * sunrpc/rpc_cout.c (emit_inline): Likewise.
3696         * gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
3697         prototypes.
3698         Remove struct bb and __bb_head since those are declared by
3699         sys/gmon.h.
3701 2000-12-22  Ben Collins  <bcollins@debian.org>
3703         * manual/charset.texi: Fix typo in description of WCHAR_MAX.
3705         * manual/argp.texi: Document argp_domain as part of struct argp.
3707 2000-12-28  Andreas Jaeger  <aj@suse.de>
3709         * catgets/Makefile (generated): Add sample.SJIS.cat.
3711         * sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
3713         * elf/dl-minimal.c: Add prototypes.
3715         * include/locale.h: Add internal prototypes.
3716         * include/sys/gmon.h: Likewise.
3718         * dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
3720 2000-12-27  Ben Collins  <bcollins@debian.org>
3722         * elf/dl-open.c (_dl_open): Correctly set the new objname pointer
3723         when reallocating the error strings.
3724         Reported by Kalle Olavi Niemitalo <kon@iki.fi>
3726 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
3728         * dlfcn/Makefile (tests): Add errmsg1.
3729         (modules-names): Add errmsg1mod.
3730         Add rules to run errmsg1.
3731         * dlfcn/errmsg1.c: New file.
3732         * dlfcn/errmsg1mod.c: New file.
3734         * dlfcn/dlerror.c (dlerror): Always create output string which
3735         includes object file name.
3737         * sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
3738         if we would go through it only once.
3739         Patch by Rick Gorton <rick.gorton@api-networks.com>.
3741         * sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
3742         Patch by Richard Henderson <rth@redhat.com>.
3744 2000-12-27  Jakub Jelinek  <jakub@redhat.com>
3746         * malloc/malloc.c (memmove): Add prototypes.
3747         (MALLOC_MEMMOVE): Define.
3748         (chunk_realloc): Use it instead of MALLOC_COPY if source and
3749         destination might overlap.
3751 2000-12-27  Andreas Jaeger  <aj@suse.de>
3753         * stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
3754         function.
3755         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3756         * locale/programs/locale.c (show_locale_vars): Likewise.
3757         (show_info): Likewise.
3758         * locale/programs/ld-collate.c (collate_output): Likewise.
3759         * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3760         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3761         * stdlib/rpmatch.c (rpmatch): Likewise.
3763         * setjmp/tst-setjmp.c: Make local functions static.
3764         * setjmp/jmpbug.c: Likewise.
3765         * signal/tst-signal.c: Likewise.
3766         * stdio-common/tfformat.c: Likewise.
3767         * string/tst-svc.c: Likewise.
3768         * time/clocktest.c: Likewise.
3769         * time/tst-getdate.c: Likewise.
3770         * dirent/list.c: Likewise.
3771         * dirent/opendir-tst1.c: Likewise.
3772         * posix/runtests.c: Likewise.
3773         * posix/tst-getaddrinfo.c: Likewise.
3774         * posix/tst-chmod.c: Likewise.
3775         * posix/wordexp-test.c: Likewise.
3776         * misc/tst-efgcvt.c: Likewise.
3777         * timezone/tst-timezone.c: Likewise.
3778         * rt/tst-clock.c: Likewise.
3779         * rt/tst-shm.c: Likewise.
3780         * rt/tst-aio2.c: Likewise.
3781         * rt/tst-aio3.c: Likewise.
3782         * rt/tst-aio4.c: Likewise.
3783         * rt/tst-aio5.c: Likewise.
3785         * dlfcn/failtest.c: Add prototype for foo.
3787         * dlfcn/glrefmain.c: Add prototype for do_test.
3789         * dlfcn/tst-dladdr.c: Add prototype for do_test.
3791         * string/test-ffs.c (main): Add prototype for nested function.
3793         * sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
3795         * nss/XXX-lookup.c: Add prototype to shut up GCC.
3797         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
3798         setetherent prototype.
3799         Add internal interfaces.
3801         * nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
3802         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
3804         * resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
3806         * nis/nis_intern.h: Add prototype for __pmap_getnisport.
3808         * nss/nss_files/files-ethers.c: Include netinet/ether.h to get
3809         prototypes, remove struct etherent since it's declared in ether.h.
3810         Fix ntohost declaration.
3812         * elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
3814         * include/getopt.h: Add internal interfaces.
3815         * include/termios.h: Likewise.
3816         * include/resolv.h: Likewise.
3817         * include/netdb.h: Likewise.
3818         * include/grp.h: Likewise.
3819         * include/pwd.h: Likewise.
3820         * include/shadow.h: Likewise.
3821         * include/rpc/netdb.h: Likewise.
3822         * include/setjmp.h: Likewise.
3824         * include/stdio.h: Add prototypes for compatibility functions.
3825         * include/grp.h: Likewise.
3826         * include/pwd.h: Likewise.
3827         * include/shadow.h: Likewise.
3829         * include/fenv.h: Define internal interfaces.
3831 2000-12-27  Ulrich Drepper  <drepper@redhat.com>
3833         * sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
3834         argument case separately.
3835         * sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
3837 2000-12-27  Andreas Jaeger  <aj@suse.de>
3839         * include/sys/wait.h: Add some prototypes.
3840         * Rules (dummy.c): Create also prototype to shut up GCC.
3842 2000-12-27  Andreas Jaeger  <aj@suse.de>
3844         * sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
3845         it's not needed at the moment.
3846         * sysdeps/generic/if_index.c (__protocol_available): Likewise.
3847         * sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
3849 2000-12-26  Andreas Jaeger  <aj@suse.de>
3851         * libio/getc_u.c: Include stdio.h via system path to get internal
3852         prototypes.
3853         * libio/getwc_u.c: Likewise.
3855         * stdlib/strfmon.c: Fix prototype of __printf_fp.
3857         * stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
3858         __printf_fp prototypes to ...
3859         * include/printf.h: ...here.
3861         * include/stdio.h: Add some internal prototypes to shut up GCC.
3862         * include/stdlib.h: Likewise.
3864         * sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
3865         declaration.
3867         * include/signal.h: Add prototypes for internal sigpause
3868         interfaces.
3870 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3872         * sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
3873         64bit platforms.  Reported by Dave Gilbert <gilbertd@treblig.org>.
3875         * string/Makefile (tests): Add tst-bswap.
3876         * string/tst-bswap.c: New file.
3878 2000-12-11  Bruno Haible  <haible@clisp.cons.org>
3880         * Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
3882 2000-12-26  Ulrich Drepper  <drepper@redhat.com>
3884         * sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
3885         Patch by Ed Connell <Ed.Connell@sas.com>.
3887 2000-12-24  Ulrich Drepper  <drepper@redhat.com>
3889         * locale/iso-639.def: Correct one entry.  Add two missing entries.
3891         * locale/iso-4217.def: Change entry for Eritrea.
3892         Reported by Daniel Yacob <yacob@geez.org>.
3894 2000-12-23  Ben Collins  <bcollins@debian.org>
3896         * manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
3897         description.
3899         * manual/stdio.texi (Dynamic Output): Document the return value of
3900         asprintf.  Also make the asprintf/snprintf examples a little
3901         better (check for some error returns).
3903 2000-12-22  Andreas Jaeger  <aj@suse.de>
3905         * include/stdio.h: Add __ftrylockfile prototype.
3907 2000-12-21  H.J. Lu  <hjl@gnu.org>
3909         * sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
3910         Make sign_exponent element signed.
3912         * sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
3913         Fix a typo.
3915         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
3917 2000-12-21  Andreas Jaeger  <aj@suse.de>
3919         * nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
3920         * inet/ether_hton.c: Likewise
3921         * inet/ether_ntoh.c: Likewise.
3923         * nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
3924         declaration to match prototype.
3926         * include/netinet/ether.h (struct etherent): Declare here so that
3927         all implementations use the same struct.
3929         * nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
3930         prototypes.
3931         (struct ether): Removed.
3932         Use struct etherent instead of ether everywhere.
3934         * include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
3936         * include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
3938         * sunrpc/publickey.c: Include auth_des.h for prototypes.
3940 2000-12-20  Ulrich Drepper  <drepper@redhat.com>
3942         * math/test-misc.c: Add more tests for nextafter functions.
3944         * sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
3945         normal correctly.  Correct test for sign.
3946         Based on a patch by HJ Lu.
3948 2000-12-19  Ulrich Drepper  <drepper@redhat.com>
3950         * Makeconfig (preprocess-version): Add -traditional to gcc call.
3951         Cleanup sed calls.
3953 2000-12-19  Andreas Jaeger  <aj@suse.de>
3955         * include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
3957         * nis/nis_intern.h: Add prototype for __do_niscall3.
3959         * nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
3960         match prototype.
3962         * include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
3964         * include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3966         * include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
3968 2000-12-18  Ulrich Drepper  <drepper@redhat.com>
3970         * math/test-misc.c: Add more tests for nextafter.
3971         * sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
3972         * sysdeps/ieee754/ldbl-96/math_ldbl.h
3973         (ieee_long_double_shape_type): Make sign_exponent element signed.
3975         * manual/message.texi: Add Estonian to plural overview list.
3976         Correct rule for Slavic languages.
3977         Patch by Stanislav Brabec <utx@penguin.cz>.
3979         * nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
3981 2000-12-18  Andreas Jaeger  <aj@suse.de>
3983         * test-skeleton.c: Use temp_name_list instead of name_list to
3984         avoid collision with name_list from inet/netgroup.h.
3986         * nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
3988         * include/grp.h (DECLARE_NSS_PROTOTYPES): New.
3989         * include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
3990         * include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
3991         * include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
3993         * hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
3994         declaration to match prototype.
3995         * hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
3996         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
3997         * hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
3998         Likewise.
3999         * nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
4000         * nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
4001         * nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
4002         * nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
4003         (_nss_nis_getservbyport_r): Likewise.
4004         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
4005         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
4006         * nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
4007         (_nss_nis_setnetent): Likewise
4008         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4009         (_nss_nis_endnetgrent): Likewise.
4010         * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
4011         Likewise.
4012         (_nss_nisplus_setnetgrent): Likewise.
4013         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
4014         * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
4015         * nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
4016         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
4017         Likewise.
4018         * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
4019         Likewise.
4020         * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
4021         Likewise.
4022         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
4023         Likewise.
4024         * nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
4025         * nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
4026         * nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
4027         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4028         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
4029         (_nss_dns_getnetbyaddr_r): Likewise.
4031 2000-12-17  Andreas Jaeger  <aj@suse.de>
4033         * sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
4034         parameter.
4036         * sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
4037         unused attribute to shut up gcc warnings.
4039         * sysdeps/generic/k_sinl.c: Include math_private for prototypes.
4040         * sysdeps/generic/k_tanl.c: Likewise.
4041         * sysdeps/generic/k_cosl.c: Likewise.
4042         * sysdeps/generic/e_j0l.c: Likewise.
4043         * sysdeps/generic/e_j1l.c: Likewise.
4044         * sysdeps/generic/e_jnl.c: Likewise.
4045         * sysdeps/generic/e_lgammal_r.c: Likewise.
4047         * elf/vismain.c: Move prototypes for functions in vismod*.c to
4048         vismod.h.
4049         * elf/vismod.h: New file.
4050         * elf/Makefile (distribute): Add vismod.h.
4051         * elf/vismod1.c: Include vismod.h.
4052         * elf/vismod2.c: Likewise.
4053         * elf/vismod3.c: Likewise.
4055         * elf/constload3.c: Add prototype declarations to shut up gcc.
4056         * elf/failobj.c: Likewise.
4057         * elf/nodelmod3.c: Likewise.
4058         * elf/filtmod1.c: Likewise.
4059         * elf/filtmod2.c: Likewise.
4060         * elf/reldepmod1.c: Likewise.
4061         * elf/reldepmod2.c: Likewise.
4062         * elf/reldepmod3.c: Likewise.
4063         * elf/reldepmod4.c: Likewise.
4064         * elf/unload2dep.c: Likewise.
4065         * elf/unload2mod.c: Likewise.
4066         * elf/ltglobmod1.c: Likewise.
4067         * elf/pathoptobj.c: Likewise.
4068         * elf/neededobj1.c: Likewise.
4069         * elf/neededobj2.c: Likewise.
4070         * elf/neededobj3.c: Likewise.
4071         * elf/neededobj4.c: Likewise.
4072         * elf/nextmod1.c: Likewise.
4073         * elf/nextmod2.c: Likewise.
4075         * locale/programs/ld-collate.c (collate_finish): Don't use labels
4076         at end of compound statement.
4077         * locale/programs/locale.c (show_info): Likewise.
4078         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
4080 2000-12-16  Jakub Jelinek  <jakub@redhat.com>
4082         * catgets/gencat.c (read_input_file): Avoid calling obstack_free
4083         with a pointer not returned by obstack_ functions.
4085 2000-12-16  Ulrich Drepper  <drepper@redhat.com>
4087         * sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
4088         version.
4089         (struct stat64): Likewise.
4090         Reported by Michael Keezer <mkeezer@redhat.com>.
4092         * timezone/asia: Update from tzdata2000h.
4093         * timezone/australasia: Likewise.
4094         * timezone/backward: Likewise.
4095         * timezone/europe: Likewise.
4096         * timezone/northamerica: Likewise.
4097         * timezone/southamerica: Likewise.
4098         * timezone/zone.tab: Likewise.
4100 2000-12-14  Jakub Jelinek  <jakub@redhat.com>
4102         * io/ftw.c (ftw_dir): If process_entry returned non-zero result
4103         and dir.stream is NULL, only free dir.content.
4104         * io/ftwtest.c (cb, main): Add --early-exit option to test it.
4105         * io/ftwtest-sh: Test with --early-exit.
4107 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
4109         * misc/efgcvt.c (FCVT_MAXDIG): Define.
4110         (FCVT_BUFPTR): New variable.
4111         (fcvt): If fcvt_r returns -1 on the static short buffer,
4112         try to malloc a sufficiently large one and retry.
4113         (free_mem): New function.
4114         * misc/qefgcvt.c (FCVT_MAXDIG): Define.
4115         * misc/tst-efgcvt.c (fcvt_tests): Add new test.
4117 2000-12-15  Ulrich Drepper  <drepper@redhat.com>
4119         * misc/dirname.c (dirname): Fix search for second to last slash.
4121 2000-12-13  Andreas Jaeger  <aj@suse.de>
4123         * misc/tst-dirname.c (main): Fix typo in test to really use
4124         the examples from Unix98.
4125         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4127 2000-12-09  H.J. Lu  <hjl@gnu.org>
4129         * sysdeps/ia64/fpu/s_fabs.S: New file.
4130         * sysdeps/ia64/fpu/s_fabsf.S: New file.
4131         * sysdeps/ia64/fpu/s_fabsl.S: New file.
4133 2000-12-15  Andreas Jaeger  <aj@suse.de>
4135         * stdio-common/scanf9.c (main): Reformat and change to avoid
4136         warnings.
4138         * stdio-common/tstdiomisc.c: Make local functions static.
4139         * stdio-common/tst-printf.c: Likewise.
4141         * elf/constload2.c: Add prototype declarations to shut up gcc.
4142         * elf/dep1.c: Likewise.
4143         * elf/dep2.c: Likewise.
4144         * elf/dep3.c: Likewise.
4145         * elf/dep4.c: Likewise.
4146         * elf/ltglobmod2.c: Likewise.
4148         * libio/fmemopen.c: Make local functions static.
4150         * elf/Makefile (distribute): Added testobj.h.
4152         * elf/testobj.h: New file.
4154         * elf/testobj1.c: Include testobj.h and move prototype
4155         declarations to testobj.h.
4156         * elf/testobj2.c: Likewise.
4157         * elf/testobj3.c: Likewise.
4158         * elf/testobj4.c: Likewise.
4159         * elf/testobj5.c: Likewise.
4160         * elf/testobj6.c: Likewise.
4161         * elf/testobj1_1.c: Likewise.
4162         * elf/preloadtest.c: Likewise.
4164 2000-12-15  Ben Collins  <bcollins@debian.org>
4166         * misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
4167         Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
4169 2000-12-14  H.J. Lu  <hjl@gnu.org>
4171         * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
4172         field in a float is 8 bits, not 11 bits.
4174 2000-12-13  Jakub Jelinek  <jakub@redhat.com>
4176         * math/test-misc.c (main): Adjust m for IEEE quad long double.
4178 2000-12-13  Andreas Jaeger  <aj@suse.de>
4180         * manual/message.texi (Using gettextized software): Fix typo.
4182         * manual/charset.texi (Converting a Character): Fix mbstouwcs
4183         program to compile.
4184         Patch by Martin Buchholz <martin@xemacs.org>.
4186         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
4187         Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
4189 2000-12-11  Andreas Jaeger  <aj@suse.de>
4191         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
4192         kernel_sigset_t and use it.
4193         Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
4195 2000-12-10  Richard Henderson  <rth@redhat.com>
4197         * sysdeps/alpha/alphaev67/fpu/Implies: New file.
4198         * sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
4199         * sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
4201 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
4203         * sysdeps/alpha/htonl.S: Fix a typo.
4205 2000-12-10  Jakub Jelinek  <jakub@redhat.com>
4207         * sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
4209 2000-12-10  Andreas Jaeger  <aj@suse.de>
4211         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
4212         cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
4213         Drepper <drepper@redhat.com>.
4215 2000-12-09  Andreas Jaeger  <aj@suse.de>
4217         * sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
4219         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
4220         generic version.
4221         Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
4223         * locale/programs/ld-collate.c (handle_ellipsis): Fix format
4224         string.
4226         * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
4227         format string.
4229         * nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
4230         * nscd/connections.c (handle_request): Likewise.
4231         * nscd/pwdcache.c (addpwbyname): Likewise.
4232         * nscd/grpcache.c (addgrbyname): Likewise.
4234         * nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
4236 2000-12-09  Ulrich Drepper  <drepper@redhat.com>
4238         * string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
4240         * Makeconfig (default_cflags): Make -O2 the default for stable
4241         releases.
4243 2000-12-08  H.J. Lu  <hjl@gnu.org>
4245         * sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
4246         * sysdeps/ia64/fpu/s_isinf.S: This.
4247         Add a .pred.rel.mutex note to avoid false report.
4249         * sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
4250         * sysdeps/ia64/fpu/s_isnan.S: This.
4252         * sysdeps/ia64/fpu/s_fpclassify.S: New file.
4253         * sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
4254         * sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
4255         * sysdeps/ia64/fpu/s_isinff.S: New file.
4256         * sysdeps/ia64/fpu/s_isinfl.S: New file.
4257         * sysdeps/ia64/fpu/s_isnanf.S: New file.
4258         * sysdeps/ia64/fpu/s_isnanl.S: New file.
4259         * sysdeps/ia64/fpu/s_finite.S: New file.
4260         * sysdeps/ia64/fpu/s_finitef.S: New file.
4261         * sysdeps/ia64/fpu/s_finitel.S: New file.
4262         * sysdeps/ia64/fpu/s_signbit.S: New file.
4263         * sysdeps/ia64/fpu/s_signbitf.S: New file.
4264         * sysdeps/ia64/fpu/s_signbitl.S: New file.
4265         * sysdeps/ia64/fpu/s_copysign.S: New file.
4266         * sysdeps/ia64/fpu/s_copysignf.S: New file.
4267         * sysdeps/ia64/fpu/s_copysignl.S: New file.
4269 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
4271         * math/libm-test.inc (main): Fix typos in messages.
4273         * string/stratcliff.c: Add test for rawmemchr.
4275 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4277         * elf/dl-open.c (_dl_open): If objname points right after errstring,
4278         allocate it together with errstring using alloca.
4279         * elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
4280         to "", because it might point to local stack.
4282 2000-12-05  H.J. Lu  <hjl@gnu.org>
4284         * nss/Makefile (routines): Add getnssent and getnssent_r.
4285         * nss/nsswitch.h (__nss_setent): New internal NSS function.
4286         (__nss_endent): Likewise.
4287         (__nss_getent_r): Likewise.
4288         (__nss_getent): Likewise.
4289         * nss/getnssent_r.c: New file.
4290         * nss/getnssent.c: New file.
4291         * nss/getXXent.c (H_ERRNO_VAR): Updated.
4292         (GETFUNC_NAME): Updated to call __nss_getent ().
4293         * nss/getXXent_r.c (H_ERRNO_VAR_P): New.
4294         (STAYOPEN_TMPVAR): Updated.
4295         (STAYOPEN_VAR): Updated.
4296         (SETFUNC_NAME): Updated to call __nss_setent ().
4297         (ENDFUNC_NAME): Updated to call __nss_endent ().
4298         (INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
4300 2000-12-08  Andreas Jaeger  <aj@suse.de>
4302         * nscd/dbg_log.h (dbg_log): Correct attribute.
4304 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4306         * elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
4307         cp + len.  Compute where from dirname.
4308         Reported by <jreiser@BitWagon.com>.
4310 2000-12-08  Richard Henderson  <rth@twiddle.net>
4312         * sysdeps/alpha/_mcount.S: Fix typo.
4313         * sysdeps/alpha/strncpy.S: Likewise.
4315         * sysdeps/alpha/alphaev6/Implies: New file.
4316         * sysdeps/alpha/alphaev67/Implies: New file.
4317         * sysdeps/alpha/alphaev67/ffs.S: New file.
4318         * sysdeps/alpha/alphaev67/ffsll.S: New file.
4319         * sysdeps/alpha/alphaev67/rawmemchr.S: New file.
4320         * sysdeps/alpha/alphaev67/stpcpy.S: New file.
4321         * sysdeps/alpha/alphaev67/stpncpy.S: New file.
4322         * sysdeps/alpha/rawmemchr.S: New file.
4323         * sysdeps/alpha/strcat.S: Tail call to __stxcpy.
4324         * sysdeps/alpha/strcpy.S: Likewise.
4326         From GMP 3.1.1:
4327         * sysdeps/alpha/alphaev6/addmul_1.s: New file.
4329         From rick.gorton@alpha-processor.com:
4330         * sysdeps/alpha/alphaev6/memchr.S: New file.
4331         * sysdeps/alpha/alphaev6/memcpy.S: New file.
4332         * sysdeps/alpha/alphaev6/memset.S: New file.
4333         * sysdeps/alpha/alphaev6/stxcpy.S: New file.
4334         * sysdeps/alpha/alphaev6/stxncpy.S: New file.
4335         * sysdeps/alpha/alphaev67/strcat.S: New file.
4336         * sysdeps/alpha/alphaev67/strchr.S: New file.
4337         * sysdeps/alpha/alphaev67/strlen.S: New file.
4338         * sysdeps/alpha/alphaev67/strncat.S: New file.
4339         * sysdeps/alpha/htonl.S: Use a shorter sequence.
4341 2000-12-08  Jakub Jelinek  <jakub@redhat.com>
4343         * inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
4344         Reported by <pspencer@fields.utoronto.ca>.
4346 2000-12-07  Jes Sorensen  <jes@linuxcare.com>
4348         * sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
4349         Pointed out by Hans Boehm.
4351 2000-12-07  H.J. Lu  <hjl@gnu.org>
4353         * elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
4355 2000-12-07  Andreas Jaeger  <aj@suse.de>
4357         * misc/error.c: Add format attributes for __error and __error_at_line.
4359         * nscd/dbg_log.h: Add format attribute.
4361 2000-12-08  Ulrich Drepper  <drepper@redhat.com>
4363         * misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
4364         Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
4366 2000-12-07  Dan Pop  <Dan.Pop@cern.ch>
4368         * sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
4370 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
4372         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4373         (sysdep_routines): Add uitrunc.
4374         * sysdeps/unix/sysv/aix/uitrunc.c: New file.
4375         Patches by Michael Keezer <mkeezer@redhat.com>.
4377 2000-12-06  Roland McGrath  <roland@frob.com>
4379         * sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
4380         argument data, since it will be used to copy out too (for INOUT).
4381         Reported by Marcus Brinkmann <marcus@gnu.org>.
4383         * sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
4384         (__ioctl): Use uintptr_t instead of unsigned long int.
4386 2000-12-06  Jim Wilson  <wilson@redhat.com>
4388         * stdlib/l64a.c (l64a): Truncate M to 32-bit value.
4390 2000-12-06  Ulrich Drepper  <drepper@redhat.com>
4392         * stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
4393         x.5 rounding correctly.
4395 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
4397         * stdio-common/perror.c (perror): Conditionalize code dealing with
4398         wide-oriented streams on USE_IN_LIBIO.
4400 2000-12-06  Mark Kettenis  <kettenis@gnu.org>
4402         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
4403         as internal_function.
4405 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
4407         * sysdeps/alpha/elf/start.S (__data_start): Define.
4409 2000-12-05  H.J. Lu  <hjl@gnu.org>
4411         * nss/getXXent_r.c (setup): Change the return type to int.
4413 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
4415         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
4416         (sysdep_routines): Add restf and savef.
4417         * sysdeps/unix/sysv/aix/restf.c: New file.
4418         * sysdeps/unix/sysv/aix/savef.c: New file.
4419         Patches by Michael Keezer <mkeezer@redhat.com>.
4421         * sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
4422         if O_DIRECTORY is not defined.
4423         Patch by Michael Keezer <mkeezer@redhat.com>.
4425         * include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
4426         Patch by Michael Keezer <mkeezer@redhat.com>.
4428         * locale/programs/linereader.c (get_toplvl_escape): Recognize more
4429         than 4 bytes in escape sequence.
4430         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4432 2000-12-05  Andreas Jaeger  <aj@suse.de>
4434         * sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
4435         set mips2.
4437         * sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
4439         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
4441         * sysdeps/unix/mips/sysdep.h: Use SYS_ify.
4442         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
4444         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
4445         internal_function.
4446         * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
4447         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
4449         * sysdeps/generic/dl-cache.c: Remove declaration of
4450         _dl_sysdep_read_whole_file.
4452         * elf/dl-load.c (_dl_map_object): Remove declaration of
4453         _dl_load_cache_lookup.
4455         * sysdeps/generic/ldsodefs.h: Add declarations of
4456         _dl_load_cache_lookup, _dl_unload_cache,
4457         _dl_sysdep_read_whole_file, _dl_sysdep_start and
4458         _dl_sysdep_start_cleanup.
4460         * elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
4461         now.
4463         * elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
4464         * sysdeps/generic/dl-environ.c: Likewise.
4466         * stdio-common/printf_fp.c: Include <gmp.h> instead of
4467         <stdlib/gmp.h>.
4468         * math/atest-exp.c: Likewise.
4469         * math/atest-exp2.c: Likewise.
4470         * math/atest-sincos.c: Likewise.
4471         * stdio-common/_itoa.c: Likewise.
4472         * stdio-common/_itowa.c: Likewise.
4474         * include/gmp.h: New file with internal prototypes.
4476         * sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
4477         here to...
4478         * include/setjmp.h: ...here.
4480         * locale/Makefile (routines): Remove codeset_name since it's not
4481         needed anywhere.
4483         * locale/codeset_name.c: Removed.
4485 2000-12-05  Ulrich Drepper  <drepper@redhat.com>
4487         * sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
4489 2000-12-05  Andreas Jaeger  <aj@suse.de>
4491         * sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
4493 2000-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4495         * sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
4496         available.
4498 2000-12-05  Andreas Jaeger  <aj@suse.de>
4500         * nss/test-netdb.c: Mark local functions as static to avoid
4501         warnings.
4502         (main): Use return to silence warning.
4504         * stdlib/test-canon.c (check_path): Mark as static to avoid warning.
4506         * stdio-common/test-popen.c: Mark local functions as static to
4507         avoid warnings.
4508         (main): Use return to silence warning.
4510         * stdlib/testsort.c (compare): Mark as static to avoid warning.
4512         * assert/test-assert.c: Mark local functions as static to avoid
4513         warnings.
4514         * assert/test-assert-perr.c: Likewise.
4516         * math/libm-test.inc (main): Use return to silence warnings.
4518 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
4520         * math/fenv.h: Fix typo in comment.
4522         * math/test-misc.c (main): Add a few more over and underflow tests
4523         for scalb.
4525         * sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
4526         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4527         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4528         * math/w_scalb.c: Don't use matherr except in SVID mode.
4529         * math/w_scalbf.c: Likewise.
4530         * math/w_scalbl.c: Likewise.
4531         * math/test-misc.c: Add test for NaN and scalbl.
4532         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4534 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
4536         * configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
4537         * config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
4538         * include/libc-symbols.h (strong_alias): Define special version
4539         for HAVE_ASM_GLOBAL_DOT_NAME.
4540         (weak_alias): Likewise.
4541         * sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
4542         * sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
4543         (sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
4544         getutxline, pututxline, and utmpxname.
4545         * sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
4546         * sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
4547         * sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
4548         * sysdeps/unix/sysv/aix/pread.c: Define pread alias.
4549         * sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
4550         * sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
4551         * sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
4552         * sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup.  Add comments.
4553         * sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
4554         Patches by Michael Keezer <mkeezer@redhat.com>.
4556 2000-12-04  H.J. Lu  <hjl@gnu.org>
4558         * configure.in: Change --with-oldest-abi=ABI to
4559         --enable-oldest-abi=ABI.
4561 2000-12-02  Bruno Haible  <haible@clisp.cons.org>
4563         * stdio-common/perror.c (perror): If stderr is wide-oriented, use
4564         fwprintf instead of fprintf.
4566 2000-12-04  Ulrich Drepper  <drepper@redhat.com>
4568         * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
4569         DECIMAL_DIG definitions.
4570         * sysdeps/arm/fpu/bits/mathdef.h: Likewise
4571         * sysdeps/generic/bits/mathdef.h: Likewise
4572         * sysdeps/i386/fpu/bits/mathdef.h: Likewise
4573         * sysdeps/ia64/fpu/bits/mathdef.h: Likewise
4574         * sysdeps/m68k/fpu/bits/mathdef.h: Likewise
4575         * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
4576         * sysdeps/sparc/fpu/bits/mathdef.h: Likewise
4577         * sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
4579 2000-12-03  Ulrich Drepper  <drepper@redhat.com>
4581         * math/test-fenv.c (main): Use return instead of exit to avoid warning.
4583         * math/atest-exp.c: Mark local functions as static to avoid warnings.
4584         * math/atest-exp2.c: Likewise.
4585         * math/atest-sincos.c: Likewise.
4587         * sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
4588         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4590         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
4591         the handling of denormalized numbers.
4593         * math/test-misc.c (main): Test for fpclassify and pseudo denormal
4594         numbers on x86.
4595         * sysdeps/i386/fpu/fpclassifyl.c: New file.
4597         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
4598         pseudo denormal representation of LDBL_MIN.
4600         * iconvdata/SJIS.irreversible: Remove unnecessary entries.
4601         * iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
4603         * iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
4604         * iconvdata/jis0208.c: Likewise.
4605         * iconvdata/jis0212.c: Likewise.
4606         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4608         * math/test-misc.c (main): More tests for frexp and some for
4609         fpclassify and isnormal.
4611         * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
4612         test for subnormal.
4613         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4615         * math/test-misc.c (main): Add tests for frexp.
4616         Reported by Fred J. Tydeman <tydeman@tybor.com>.
4617         * sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.
4619 2000-12-02  H.J. Lu  <hjl@gnu.org>
4621         * locale/lc-time.c (_nl_init_era_entries): Pass L'\0' instead of
4622         '\0' to wcschr.
4624 2000-12-02  Ulrich Drepper  <drepper@redhat.com>
4626         * sysdeps/i386/fpu/s_frexp.S: Add missing fwait.
4627         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4628         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4630         * sysdeps/generic/glob.c: Adjust types of several variables to
4631         avoid warnings.
4633 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
4635         * sysdeps/unix/sysv/linux/shm_open.c: Remove incorrect comment.
4637 2000-11-30  Roland McGrath  <roland@frob.com>
4639         * hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): New macro.
4640         (_HURD_HANDLE_IOCTLS, _HURD_HANDLE_IOCTL): Redefine using it, so as to
4641         allow multiple instances using the same function name in one file.
4643 2000-12-01  Ulrich Drepper  <drepper@redhat.com>
4645         * configure.in: Correct test for pserver CVS access.
4647 2000-11-28  H.J. Lu  <hjl@gnu.org>
4649         * libio/libio.h: Remove extra "#if ... #endif".
4651 2000-11-29  H.J. Lu  <hjl@gnu.org>
4653         * stdio-common/vfscanf.c (ORIENT): Swap the COMPILE_WSCANF case.
4655 2000-12-01  H.J. Lu  <hjl@gnu.org>
4657         * nss/getXXbyYY_r.c: Fix verioned symbol handling.
4658         * nss/getXXent_r.c: Likewise.
4659         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4661 2000-11-30  H.J. Lu  <hjl@gnu.org>
4663         * scripts/abi-versions.awk (oldest_abi): New variable.
4664         Handle the oldest ABI supported.
4666         * Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
4667         for scripts/abi-versions.awk.
4669         * configure.in: Add --with-oldest-abi=ABI.
4670         * configure: Rebuild.
4672         * config.make.in (oldest-abi): New.
4674         * config.h.in (GLIBC_OLDEST_ABI): New.
4676         * csu/version.c (banner): Support GLIBC_OLDEST_ABI.
4678 2000-11-30  Jakub Jelinek  <jakub@redhat.com>
4680         * locale/setlocale.c (setname): Free for all categories, not just
4681         LC_ALL.
4682         (setlocale): Store a copy of string passed by user, not the string
4683         itself.
4685 2000-11-30  Roland McGrath  <roland@frob.com>
4687         * sysdeps/mach/hurd/defs.c (init_stdio): Put this on __libc_subinit
4688         rather than _hurd_fd_subinit, so it happens after it's safe to use
4689         libc facilities like malloc.
4691 2000-11-28  Andreas Jaeger  <aj@suse.de>
4693         * sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
4694         declaration, adjust declaration of __syscall_getdents to match
4695         kernel.
4697 2000-11-29  H.J. Lu  <hjl@gnu.org>
4699         * sysdeps/generic/readelflib.c (check_ptr): Undefine it first.
4701 2000-11-29  Andreas Jaeger  <aj@suse.de>
4703         * sysdeps/unix/sysv/linux/hppa/brk.c (__brk): Remove unused variable.
4705 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4707         * dlfcn/defaultmod1.c: Add prototypes to avoid warnings.
4708         * dlfcn/defaultmod2.c: Likewise.
4709         * dlfcn/dlopen.c: Likewise.
4710         * dlfcn/dlopenold.c: Likewise.
4711         * dlfcn/failtestmod.c: Likewise.
4712         * dlfcn/glreflib1.c: Likewise.
4713         * dlfcn/glreflib2.c: Likewise.
4714         * dlfcn/eval.c: Likewise.  Add attributes.
4716         * ctype/ctype-extn.c: Define isblank and not __isblank.
4718         * time/strftime.c: Add const where necessary to avoid warnings.
4719         * time/strptime.c (strptime_internal): Add casts to avoid warnings.
4721 2000-11-22  Paul Eggert  <eggert@twinsun.com>
4723         * time/strftime.c (my_strftime): Do not invoke mbrlen with a
4724         size of (size_t) -1; it's not portable.
4726 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4728         * sysdeps/i386/fpu/libm-test-ulps: Adjust some values for the
4729         crappy i486 FPU.
4730         Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4732 2000-11-14  Jes Sorensen  <jes@linuxcare.com>
4734         * sysdeps/ia64/_mcount.S: Call __mcount instead of __mcount_internal.
4736         * sysdeps/ia64/Makefile: Compile _mcount.S in subdir gmon as
4737         _mcount is required by profiled binaries.
4739         * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: Moved to...
4740         * sysdeps/ia64/machine-gmon.h: ...here.
4742 2000-11-28  Masahide Washizawa  <washi@jp.ibm.com>
4744         * iconvdata/Makefile (modules): Add IBM922, IBM1124, and IBM1129.
4745         (distribute): Add ibm922.c, ibm1124.c, ibm1129.c, ibm922.h, ibm1124.h,
4746         and ibm1129.h.
4747         * iconvdata/gconv-modules: Add entries for IBM922, IBM1124, and
4748         IBM1129.
4749         * iconvdata/ibm922.c: New file.
4750         * iconvdata/ibm922.h: New file.
4751         * iconvdata/ibm1124.c: New file.
4752         * iconvdata/ibm1124.h: New file.
4753         * iconvdata/ibm1129.c: New file.
4754         * iconvdata/ibm1129.h: New file.
4755         * iconvdata/testdata/IBM922: New file.
4756         * iconvdata/testdata/IBM922..UTF8: New file.
4757         * iconvdata/testdata/IBM1124: New file.
4758         * iconvdata/testdata/IBM1124..UTF8: New file.
4759         * iconvdata/testdata/IBM1129: New file.
4760         * iconvdata/testdata/IBM1129..UTF8: New file.
4762 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4764         * catgets/gencat.c (normalize_line): Take extra parameter with escape
4765         character.  Change callers.
4766         (open_conversion): Determine mapping of 0x5c as wchar_t value.
4767         * catgets/Makefile: Add rules to build and run test-gencat.
4768         * catgets/sample.SJIS: New file.
4769         * catgets/test-gencat.c: New file.
4770         * catgets/test-gencat.sh: New file.
4771         Report and test case by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4773 2000-11-28  Andreas Jaeger  <aj@suse.de>
4775         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Synch with generic
4776         Linux version.
4778 2000-11-28  Ulrich Drepper  <drepper@redhat.com>
4780         * sysdeps/unix/sysv/linux/bits/socket.h: Fix last patch.
4782 2000-11-28  Andreas Jaeger  <aj@suse.de>
4784         * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Use
4785         __flexarr.
4786         * sysdeps/unix/sysv/linux/mips/bits/socket.h (struct cmsghdr):
4787         Likewise.
4789 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
4791         * misc/getusershell.c: Make strings in okshells array const.
4792         * misc/regexp.c: Add const to cast to avoid warnings.
4793         * sysdeps/unix/sysv/linux/llseek.c: Add prototype for __llseek.
4794         * sysdeps/unix/sysv/linux/i386/setresuid.c: Add prototype for
4795         __setresuid.
4796         * sysdeps/unix/sysv/linux/i386/setresgid.c: Add prototype for
4797         setresgid.
4798         * misc/error.c: Add prototypes for __error and __error_at_line.
4799         * misc/mntent_r.c (__getmntent_r): Add break at end of switch
4800         statement to avoid warning.
4801         * test-skeleton.c: Mark timeout_handler with noreturn.
4802         * iconv/skeleton.c (get16u): Add const to cast.
4803         (get32u): Likewise.
4804         * iconvdata/gb18030.c: Likewise.
4805         * iconvdata/iso-2022-cn-ext.c: Likewise.
4806         * iconvdata/ansi_x3.110.c: Add cast to avoid warning.
4807         * iconvdata/big5.c: Likewise.
4808         * iconvdata/big5hkscs.c: Likewise.
4809         * iconvdata/iso_6937.c: Likewise.
4810         * iconvdata/iso_6937-2.c: Likewise.
4811         * iconvdata/t.61.c: Likewise.
4812         * iconvdata/iso646.c: Add prototypes for gconv_init and gconv_env.
4813         * iconvdata/unicode.c: Likewise.
4814         * iconvdata/utf-16.c: Likewise.
4815         * iconvdata/cns11643.h (ucs4_to_cns11643): Define needed as size_t.
4816         * iconv/gconv_trans.c (__gconv_translit_find): Avoid one warning
4817         with little code shuffling.
4819         * sysdeps/powerpc/Makefile (CFLAGS-initfini.s): Add -O1 to avoid
4820         the problems introduced when the user selects -O3.
4822         * iconv/gconv.h (__gconv_info): Define __data element using __flexarr.
4823         * misc/sys/cdefs.h: Define __flexarr.
4824         Proposed by Joseph S. Myers <jsm28@cam.ac.uk>.
4826         * iconvdata/iso-2022-jp.c: Add prototypes to avoid warnings.
4827         * iconv/skeleton.c: Likewise.
4828         * iconvdata/iso8859-1.c (BODY to 8859-1): Add const to cast.
4829         * iconv/loop.c (get16): Add const to cast.
4830         (get32): Likewise.
4832 2000-11-27  Andreas Jaeger  <aj@suse.de>
4834         * login/programs/pt_chown.c (do_pt_chown): Mark function as static
4835         to avoid warning.
4836         * login/programs/utmpdump.c (print_entry): Likewise.
4838 2000-11-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
4840         * sysdeps/mips/__longjmp.c (__longjmp): Restore SP and FP last and
4841         in a single asm as they may be used to access other stored
4842         registers.
4843         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4845 2000-11-27  Andreas Jaeger  <aj@suse.de>
4847         * rt/tst-aio.c: Mark test functions as static to avoid warnings.
4848         * rt/tst-aio64.c: Likewise.
4850 2000-11-27  Ulrich Drepper  <drepper@redhat.com>
4852         * catgets/Makefile (test1.cat): Set LC_ALL, LOCPATH, and GCONV_PATH
4853         for gencat run.
4854         (libc.cat): Likewise.
4855         * catgets/gencat.c: Implement handling of message catalogs encoded
4856         with stateful character sets.
4857         Based on a patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
4859 2000-11-26  Ulrich Drepper  <drepper@redhat.com>
4861         * sysdeps/unix/opendir.c (__opendir): Add cast to avoid warning.
4863         * inet/getnameinfo.c: Adjust casts to avoid warnings.
4864         * inet/rcmd.c: Likewise.
4865         * inet/ruserpass.c: Likewise.
4866         * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK,
4867         IN6_IS_ADDR_MULTICAST, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4868         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL,
4869         IN6_IS_ADDR_MC_NODELOCAL, IN6_IS_ADDR_MC_LINKLOCAL,
4870         IN6_IS_ADDR_MC_SITELOCAL, IN6_IS_ADDR_MC_ORGLOCAL,
4871         IN6_IS_ADDR_MC_GLOBAL): Preserve const in cast.
4872         * include/aliases.h: Add prototypes for internal __getalias* functions.
4873         * include/netdb.h: Add prototypes for __old_gethostent_r,
4874         __old_gethostbyaddr_r, __old_gethostbyname_r, __old_gethostbyname2_r,
4875         __old_getnetent_r, __old_getnetbyaddr_r, __old_getnetbyname_r,
4876         __old_getservent_r, __old_getservbyname_r, __old_getservbyport_r,
4877         __old_getprotoent_r, __old_getprotobyname_r, __old_getprotobynumber_r.
4878         * include/rpc/netdb.h: Add prototypes for __old_getrpcbyname_r,
4879         __old_getrpcbynumber_r, __old_getrpcent_r.
4881         * include/rpc/netdb.h: Add __getrpcbyname_r, __getrpcbynumber_r,
4882         __getrpcent_r prototypes.
4884 2000-11-25  Ulrich Drepper  <drepper@redhat.com>
4886         * string/strcoll.c: Add casts to avoid warnings.
4887         * string/strnlen.c: Likewise.
4888         * string/strxfrm.c: Likewise.
4889         * sysdeps/generic/_strerror.c: Likewise.
4890         * sysdeps/generic/memrchr.c: Likewise.
4891         * sysdeps/generic/strcasestr.c: Likewise.
4892         * sysdeps/generic/strstr.c: Likewise.
4894         * locale/weight.h (findidx): Add const to cast to avoid warning.
4896         * elf/loadfail.c: Little cosmetic changes to avoid warnings.
4897         * elf/loadtest.c: Likewise.
4898         * elf/multiload.c: Likewise.
4899         * elf/next.c: Likewise.
4900         * elf/nodelete.c: Likewise.
4901         * elf/noload.c: Likewise.
4902         * elf/order.c: Likewise.
4903         * elf/origtest.c: Likewise.
4904         * elf/preloadtest.c: Likewise.
4905         * elf/restest1.c: Likewise.
4907         * sysdeps/i386/i486/bits/string.h (__strncat_g) [i686]: Fourth
4908         parameter of asm must be in %ecx.
4910         * string/tester.c: Mark test functions as static to avoid warnings.
4912         * iconv/gconv_conf.c (read_conf_file): Make mod_counter static to
4913         preserve value over different gconv-modules files.
4915 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4917         * locale/findlocale.c: Add casts to avoid warnings.
4918         * locale/localeinfo.h (LIMAGIC): Add cast to avoid warnings.
4919         * misc/efgcvt_r.c (fcvt_r): Use ssize_t instead of int and add cast
4920         to avoid warnings.
4921         * misc/tsearch.c (const_node): New type.
4922         (trecurse): Correct casts to avoid warnings.
4923         (__twalk): Likewise.
4924         * stdlib/tst-limits.c: Add z modifier to formats for WORD_BIT and
4925         LONG_BIT.
4927         * debug/backtrace-tst.c (compare): Add casts to avoid warnings.
4929         * test-skeleton.c: Mark local functions as static to avoid warnings.
4931 2000-11-23  H.J. Lu  <hjl@gnu.org>
4933         * rt/tst-aio6.c (do_test): Use pipe instead of STDIN_FILENO to
4934         support the background job.
4935         Fix a typo.
4937 2000-11-24  Ulrich Drepper  <drepper@redhat.com>
4939         * iconv/gconv_conf.c (insert_module): Replace old entry if new one
4940         has same names but lower cost.
4942 2000-11-23  Jakub Jelinek  <jakub@redhat.com>
4944         * sysdeps/sparc/sparc32/dl-machine.h: Ifdef out handling for relocs
4945         which never occur during bootstrap.
4946         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4948 2000-11-23  Andreas Jaeger  <aj@suse.de>
4950         * nss/nss_files/files-hosts.c: Remove getipnodebyname.
4952         * nss/Versions: Remove _nss_files_getipnodebyname_r.
4954         * sysdeps/unix/sysv/linux/Versions: Fix typo in last patch.
4956 2000-11-18  Martin Buchholz  <martin@xemacs.org>
4958         * csu/gmon-start.c (__gmon_start__): Avoid over-clever trick `if
4959         (called++) return;'
4961 2000-11-21  Alan Modra  <alan@linuxcare.com.au>
4963         * sysdeps/generic/bsd-_setjmp.c (setjmp): Rename to _setjmp.
4965         * csu/abi-note.S: Correct comment for operating system number.
4967 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4969         * Versions.def: Add GLIBC_2.2.1 for glibc.
4971 2000-11-22  Andreas Schwab  <schwab@suse.de>
4973         * sysdeps/unix/sysv/linux/syscalls.list: Add pivot_root.
4974         * sysdeps/unix/sysv/linux/Versions: Add pivot_root at GLIBC_2.2.1.
4976 2000-11-22  Ulrich Drepper  <drepper@redhat.com>
4978         * rt/aio_suspend.c (aio_suspend): Convert timeout value to
4979         absolute time for pthread_cond_timedwait call.
4980         Reported by Lawrence Chen <lchen@opentext.com> [libc/1930].
4982         * rt/Makefile (tests): Add tst-aio6.
4983         * rt/tst-aio6.c: New file.
4985 2000-11-23  Andreas Jaeger  <aj@suse.de>
4987         * sysdeps/s390/bits/string.h (strncat): Fix one more typo.
4989 2000-11-22  Andreas Jaeger  <aj@suse.de>
4991         * sysdeps/s390/bits/string.h (strncat): Add missing quotation marks.
4993 2000-11-21  Martin Schwidefsky  <schwidefsky@de.ibm.com>
4995         * sysdeps/s390/bits/string.h: Make strncat always add a \0.
4997 2000-11-21  Andreas Schwab  <schwab@suse.de>
4999         * sysdeps/alpha/setjmp.S: Remove __setjmp entry point.
5000         * sysdeps/arm/setjmp.S: Likewise.
5001         * sysdeps/arm/fpu/setjmp.S: Likewise.
5002         * sysdeps/i386/setjmp.S: Likewise.
5003         * sysdeps/i386/elf/setjmp.S: Likewise.
5004         * sysdeps/s390/setjmp.S: Likewise.
5005         * sysdeps/s390/elf/setjmp.S: Likewise.
5006         * sysdeps/sh/sh3/setjmp.S: Likewise.
5007         * sysdeps/sh/sh4/setjmp.S: Likewise.
5008         * sysdeps/sparc/sparc32/setjmp.S: Likewise.
5009         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5010         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
5011         * sysdeps/unix/sysv/linux/m68k/setjmp.c: Removed.
5013 2000-11-21  Andreas Jaeger  <aj@suse.de>
5015         * sysdeps/generic/__longjmp.c (__longjmp): Remove obsolete
5016         NORETURN, fix parameter list.
5018         * string/bug-strncat1.c (main): Fix typo.
5019         Patch by Bernhard Kaindl <bernhard.kaindl@suse.de>.
5021 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
5023         * configure.in: Add --enable-all-warnings.
5024         * config.make.in (all-warnings): New variable.
5025         * Makeconfig (+gccwarn): Define with many more warnings if
5026         all-warnings is yes.
5028 2000-11-20  Jakub Jelinek  <jakub@redhat.com>
5030         * iconvdata/bug-iconv2.c (main): Use %zd in format string.
5031         * io/test-lfs.c (do_test): Cast statbuf.st_size to long long.
5032         * malloc/tst-valloc.c (main): Cast valloc return value to long.
5033         * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string.
5034         * math/test-fpucw.c (main): Use %lx in format string, cast
5035         control words to long.
5036         * stdio-common/tst-fmemopen.c (main): Use %td in format strings.
5037         * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so
5038         large that it is unsigned warning.
5040         * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing
5041         it to long on sparc64.
5043 2000-11-20  Andreas Jaeger  <aj@suse.de>
5045         * nscd/nscd.h (termination_handler): Add noreturn attribute.
5046         (receiv_print_stats): Likewise.
5048         * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
5050 2000-11-20  Ulrich Drepper  <drepper@redhat.com>
5052         * malloc/thread-m.h: gcc doesn't tolerate zero-sized types anymore.
5054         * csu/gmon-start.c: Always have prototype for __gmon_start.
5055         * csu/version.c: Add prototypes for __libc_print_version and
5056         __libc_main.
5057         * iconv/gconv.c: Include gconv_int.h and gconv.h.
5058         * iconv/gconv.h (struct __gconv_step): Remove const from __from_name
5059         and __to_name.
5060         * iconv/gconv_builtin.h: Add ASCII module definitions.
5061         * iconv/gconv_conf.c (__gconv_path_elem): Remove const.
5062         (add_module): Add cast to avoid warning.  Rework construction of
5063         strings for new module.
5064         * iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
5065         (derivation_compare): Likewise.
5066         * iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
5067         (__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
5068         * iconv/gconv_int.h (__gconv_path_elem): Remove const.
5069         (struct gconv_alias): Remove const from fromname and toname.
5070         * iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
5071         for loop functions.
5072         (internal_ucs4_loop): Use correct const-ness.
5073         (ucs4_internal_loop): Likewise.
5074         (internal_ucs4le_loop): Likewise.
5075         (ucs4le_internal_loop_single): Likewise.
5076         * iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
5077         to_idx, to_tbl, winbuf, winbufend const.  Change casts in
5078         assignments appropriately.
5079         (struct known_trans): Remove const from fname.
5080         (trans_compare): Make s1 and s2 const.
5081         * iconv/loop.c (LOOPFC): Make outend parameter const.  Add cast to
5082         avoid warning.
5083         * iconv/skeleton.c: Remove cast in calls of loop functions.
5084         * iconvdata/gconv-modules: Remove US-ASCII definitions.
5085         * iconvdata/iso646.c: Remove US_ASCII support.
5086         * include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
5087         * include/unistd.h: Add __libc_check_standard_fds prototype.
5088         * string/bits/string2.h (__mempcpy_args): Add const to casts.
5089         * sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
5090         _fini.
5091         * sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
5092         * sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
5093         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
5094         warning.
5095         * sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
5096         __libc_init_first and _dl_start.
5097         * intl/dcigettext.c (transcmp): Make s1 and s2 const.
5098         (DCIGETTEXT): Make domaindata variable const.
5099         * intl/loadmsgcat.c (_nl_load_domain): Rearrange domain initialization
5100         to avoid warning.
5102 2000-11-20  Hiroyuki Machida  <machida@sm.sony.co.jp>
5104         * sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
5106         * sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
5107         time_t to 'long int' not, 'unsigned int'.  Use 'long int' for
5108         __unused? members.
5110         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
5111         value defined in /usr/include/asm-mips/fcntl.h.
5113 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
5115         * stdio-common/Makefile (tests): Add test-vfprintf.
5116         (test-vfprintf-ENV): New variable.
5117         * stdio-common/test-vfprintf.c: New file.
5119         * wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
5121         * wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
5122         (tst-mbrtowc-ENV): New variable.
5123         (tst-wcrtomb-ENV): New variable.
5124         * wcsmbs/tst-mbrtowc.c: New file.
5125         * wcsmbs/tst-wcrtomb.c: New file.
5127 2000-11-16  Andreas Jaeger  <aj@suse.de>
5129         * manual/install.texi (Tools for Compilation): Update
5130         documentation for GCC 2.95.2.
5132 2000-11-18  Ulrich Drepper  <drepper@redhat.com>
5134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
5135         if IPv4 and IPv6 requests timed out.
5137 2000-11-18  Akim Demaille  <akim@epita.fr>
5139         * malloc/obstack.h: Formatting changes.
5140         (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
5141         prevents type checking.
5142         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
5143         cast the value to (void *): assigning a `foo *' to a `void *'
5144         variable is valid.
5145         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
5147 2000-11-17  Ulrich Drepper  <drepper@redhat.com>
5149         * scripts/config.guess: Update from upstream maintainer.
5150         * scripts/config.sub: Likewise.
5152 2000-11-16  Ulrich Drepper  <drepper@redhat.com>
5154         * libio/freopen.c (freopen): Reset _mode after succesful reopening.
5155         * libio/freopen64.c (freopen64): Likewise.
5156         Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
5158         * libio/Makefile: Add rules to build and run test-freopen.
5159         * libio/test-freopen.c: New file.
5160         * libio/test-freopen.sh: New file.
5162 2000-11-15  H.J. Lu  <hjl@gnu.org>
5164         * sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
5165         ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
5166         (DL_DT_FINI_ADDRESS): Likewise.
5168         * sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
5169         return type to ElfW(Addr).
5170         (_dl_function_address): New prototype.
5171         (DL_FUNCTION_ADDRESS): Defined.
5172         (DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
5173         (DL_DT_FINI_ADDRESS): Likewise.
5175         * sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
5177         * sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
5178         (ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
5180         * sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
5181         (_dl_function_address): This.
5183         * elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
5184         function pointer for DT_FINI.
5185         * elf/dl-close.c (_dl_close): Likewise.
5187         * elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
5188         function pointer for DT_INIT.
5190 2000-11-16  Jakub Jelinek  <jakub@redhat.com>
5192         * sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
5193         end of wexpbuf buffer.
5195 2000-11-16  Andreas Jaeger  <aj@suse.de>
5197         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
5198         definition of F_GETLK, F_SETLK, F_SETLKW.
5200 2000-11-16  Andreas Jaeger  <aj@suse.de>
5202         * sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
5203         it's not defined.
5205 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
5207         * dlfcn/default.c (main): Add test for dladdr of main returning
5208         argv[0] in dli_fname field.
5210 2000-11-15  Jakub Jelinek  <jakub@redhat.com>
5212         * Makeconfig (run-program-prefix): Move test-static test into the
5213         variable.
5215         * sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
5216         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
5217         schedule instructions.
5218         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
5219         schedule instructions, fix a bug in copying auxiliary data.
5221 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5223         * manual/startup.texi (Program Arguments): Fix type of main's envp
5224         parameter.
5225         Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
5227         * iconvdata/gconv-modules: Add CP950 alias.
5229 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
5231         * sysdeps/unix/sysv/linux/Makefile: Allow ports to override
5232         syscall-list.h goal.
5233         * sysdeps/unix/sysv/linux/sparc/Makefile: New file.
5235 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5237         * intl/Makefile: tst-gettext2.sh does not need a third parameter.
5239         * intl/tst-gettext2.sh: Copy locale data.  Adjust LOCPATH.  Verify
5240         output of program.
5242         * intl/tst-gettext2.c: Set C locale if setting other locale
5243         failed.  Use gettext() not _().
5245         * locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
5246         successfully loaded a new locale.
5248 2000-11-13  Andreas Jaeger  <aj@suse.de>
5250         * configure.in: Require gcc 2.95 or newer.
5252 2000-11-15  Ulrich Drepper  <drepper@redhat.com>
5254         * sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
5255         Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
5257 2000-11-11  Jim Meyering  <meyering@lucent.com>
5259         * string/strndup.c (strndup): Cast return value to `char *'.
5261 2000-11-15  Jim Meyering  <meyering@ascend.com>
5263         * sysdeps/generic/memchr.c: Remove some useless parentheses.
5264         [HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
5265         [HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
5266         [! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
5267         Also #undef __memchr.
5268         Use `weak_alias' only if it's defined.
5270 2000-11-10  H.J. Lu  <hjl@gnu.org>
5272         * Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
5274 2000-11-15  Andreas Jaeger  <aj@suse.de>
5276         * elf/chroot_canon.c: Include <stdint.h>.
5278         * elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
5279         (print_entry): Likewise.
5280         (add_to_cache): Likewise.
5282         * elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
5284         * elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
5285         (path_hwcap): Likewise.
5286         (search_dir): Likewise.
5288         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
5290         * elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
5292         * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
5293         (_dl_platform_string): New.
5294         (_DL_HWCAP_PLATFORM): New.
5295         (_dl_string_platform): New.
5296         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
5298         * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
5299         (_dl_string_platform): New.
5300         (_DL_HWCAP_PLATFORM): New.
5301         (_dl_platform_string): New.
5303         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
5304         recognition.
5305         (_DL_HWCAP_COUNT): New.
5306         (_dl_string_platform): New.
5307         (_DL_HWCAP_PLATFORM): New.
5308         (_dl_platform_string): New.
5310 2000-11-14  Ulrich Drepper  <drepper@redhat.com>
5312         * iconvdata/gconv-modules: Add CP936 as alias for GBK.
5314 2000-11-14  Andreas Jaeger  <aj@suse.de>
5316         * sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
5318 2000-11-13  Roland McGrath  <roland@frob.com>
5320         * hurd/get-host.c (_hurd_get_host_config): Fix last change.
5322 2000-11-13  Marcus Brinkmann <marcus@gnu.org>
5324         * hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
5325         underrun and make sure the result is null terminated even if there
5326         is no trailing newline.
5328 2000-11-13  Jakub Jelinek  <jakub@redhat.com>
5330         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5332 2000-11-10  H.J. Lu  <hjl@gnu.org>
5334         * sysdeps/ia64/fpu/libm-test-ulps: Updated.
5336 2000-11-10  Andreas Jaeger  <aj@suse.de>
5338         * elf/ldconfig.c (create_links): Fix alloca calculation.
5339         Patch by Ben Collins <bcollins@debian.org>.
5341 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
5343         * inet/getnameinfo.c (getnameinfo): Use correct destination
5344         parameter for if_indextoname.
5345         Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
5347 2000-11-09  H.J. Lu  <hjl@gnu.org>
5349         * sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
5350         xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
5351         xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
5352         xdr_keystatus.
5354         * time/Versions (GLIBC_2.1): Move getitimer to...
5355         * sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
5357 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
5359         * manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
5360         "make install", to work around a binary incompatibility between
5361         glibc 2.1 and glibc 2.2 gconv modules.
5363 2000-11-09  Ulrich Drepper  <drepper@redhat.com>
5365         * intl/locale.alias: Add thai.
5366         Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
5368 2000-11-07  Akim Demaille  <akim@epita.fr>
5370         * malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
5371         argument `data' for consistency with the prototypes.
5372         Qualify it `const'.
5373         (obstack_copy, obstack_copy0): Rename the second argument as
5374         `address' for consistency.  Qualify it `const'.
5375         * malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
5376         (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
5377         `const' their input argument (`data' or `address').
5378         Adjust the corresponding macros to include `const' in casts.
5380 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5382         * sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
5383         target family.
5385 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5387         * sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
5388         socket creation.
5390 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5392         * sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
5393         ai_protocol by internal table if service was not given.
5395 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5397         * sysdeps/posix/getaddrinfo.c: Don't raise an error even if
5398         numerical port was specified with protocol without socktype.
5400 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5402         * sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
5404 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5406         * inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
5408 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5410         * sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
5411         sin6_scope_id field.
5413 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5415         * inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
5417 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5419         * inet/getnameinfo.c: Repair NI_NOFQDN flag support.
5421 2000-11-06  Hideaki YOSHIFUJI  <yoshfuji@linux-ipv6.org>
5423         * inet/getnameinfo.c: Wake-up sin6_scope_id support in
5424         getnameinfo(): check for whether sin6_socpe_id exist was wrong.
5426 2000-11-09  Martin Schwidefsky  <mschwide@nc.boeblingen.de.ibm.com>
5428         * sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
5429         * sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
5431 2000-11-09  H.J. Lu  <hjl@gnu.org>
5433         * io/Versions (GLIBC_2.1.1): Remove lockf64.
5436 See ChangeLog.11 for earlier changes.