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