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