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