]> sourceware.org Git - glibc.git/blob - ChangeLog
Update.
[glibc.git] / ChangeLog
1 2000-07-14 Ulrich Drepper <drepper@redhat.com>
2
3 * iconv/loop.c (STANDARD_ERR_HANDLER): If one of the
4 transliteration function did its job, continue, don't stop.
5
6 * iconvdata/iso646.c: Little optimizations in body for conversion
7 from UCS4.
8
9 2000-07-14 Mark Kettenis <kettenis@gnu.org>
10
11 * dlfcn/dlerror.c (free_key_mem): Add cast to silence compiler warning.
12
13 2000-07-14 Mark Kettenis <kettenis@gnu.org>
14
15 * configure.in: Check for pwd binary.
16 * config.make.in: Add PWD_P to be subsituted.
17 * Makerules: Use $(PWD_P) instead of /bin/pwd.
18
19 2000-07-14 Ulrich Drepper <drepper@redhat.com>
20
21 * iconvdata/Makefile (modules): Add GB18030.
22 (distribute): Add gb18030.c.
23 * iconvdata/gconv-modules: Add entries for GB18030 module.
24 * iconvdata/gb18030.c: New file.
25 Contributed by Wang ShouHua <shouhuawang@redflag-linux.com>
26 and Wu Jian.
27
28 2000-07-13 Andreas Jaeger <aj@suse.de>
29
30 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Revert last
31 patch.
32
33 * grp/fgetgrent.c (free_mem): Remove if - free (0) is valid.
34 * inet/getnetgrent.c (free_mem): Likewise.
35 * misc/mntent.c (free_mem): Likewise.
36 * nss/getXXbyYY.c (free_mem): Likewise.
37 * nss/getXXent.c (free_mem): Likewise.
38 * pwd/fgetpwent.c (free_mem): Likewise.
39 * shadow/fgetspent.c (free_mem): Likewise.
40
41 2000-07-14 Ulrich Drepper <drepper@redhat.com>
42
43 * sunrpc/xdr.c (xdr_u_long): Handle reading of unsigned long on
44 64-bit architecture correctly [PR libc/1794].
45
46 2000-07-13 Ulrich Drepper <drepper@redhat.com>
47
48 * elf/Versions (ld): Export _dl_out_of_memory for GLIBC_2.2.
49 * dlfcn/dlerror.c (dlerror): Don't free the error string if it is the
50 report that we are out of memory.
51 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52 * elf/dl-libc.c (dlerror_run): Likewise.
53 * elf/dl-open.c (_dl_open): Likewise.
54 * elf/rtld.c (dl_main): Likewise.
55 * elf/dl-error.c: Define _dl_out_of_memory.
56 (_dl_signal_error): Return _dl_out_of_memory if we cannot duplicate
57 the error string.
58 * sysdeps/generic/ldsodefs.h: Declare _dl_out_of_memory.
59 [PR libc/1813].
60
61 * dlfcn/dlerror.c (free_key_mem): Also free error string.
62
63 * iconv/loop.c: Fix comment.
64
65 * malloc/mtrace.c (tr_freehook): Return immediately if ptr is NULL.
66
67 2000-07-13 Andreas Jaeger <aj@suse.de>
68
69 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Correctly handle
70 getcwd (NULL, size) with size > 0.
71 Fixes PR libc/1788, reported by John Buddery <jvb@cyberscience.com>.
72
73 2000-07-13 Andreas Jaeger <aj@suse.de>
74
75 * posix/Makefile: Remove build rules for libposix.
76
77 2000-07-13 Andreas Schwab <schwab@suse.de>
78
79 * sysdeps/generic/glob.c (glob): Fix memory leak.
80 [SHELL]: Remove reference to undefined variable `files'.
81 Fixes PR libc/1782.
82
83 2000-07-13 Andreas Jaeger <aj@suse.de>
84
85 * sysdeps/unix/sysv/linux/mips/Versions: Add libgcc frame handling
86 functions.
87
88 * sysdeps/unix/sysv/linux/getsysstats.c (free_mem): Only free
89 memory if it was allocated.
90
91 2000-07-12 Ulrich Drepper <drepper@redhat.com>
92
93 * iconv/gconv_db.c (gen_steps): Always initialize __data field of
94 step.
95
96 * iconv/gconv_open.c (__gconv_open): Reapply
97 2000-07-12 Bruno Haible <haible@clisp.cons.org>
98
99 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
100
101 * iconv/gconv_open.c: Undo last two changes for now. They break
102 everything.
103
104 2000-07-12 Andreas Jaeger <aj@suse.de>
105
106 * elf/Makefile (SYSCONF-FLAGS): Added to pass sysconfdir to
107 compiler.
108 (CFLAGS-cache.c): Added, uses SYSCONF-FLAGS.
109 (CFLAGS-dl-cache.c): Likewise.
110 (CFLAGS-ldconfig.c): Added, passes directory locations.
111
112 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): Use SYSCONFDIR to
113 locate cache.
114 * elf/ldconfig.c (LD_SO_CONF): Likewise.
115 (main): Use configured LIBDIR and SLIBDIR.
116
117 2000-07-11 Jakub Jelinek <jakub@redhat.com>
118
119 * math/bits/cmathcalls.h (cimag): Add __THROW.
120 (creal, conj): Likewise.
121 * wctype/wctype.h (_ISwbit): Avoid warnings about shifting left
122 by negative value.
123
124 2000-07-12 H.J. Lu <hjl@gnu.org>
125
126 * resolv/Versions (libresolv): Add __res_hostalias to GLIBC_2.2
127 for _nss_dns_gethostbyname2_r in resolv/nss_dns/dns-host.c.
128
129 2000-07-12 Ulrich Drepper <drepper@redhat.com>
130
131 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Shut gcc up although
132 it is wrong.
133
134 2000-07-12 Bruno Haible <haible@clisp.cons.org>
135
136 * iconv/gconv_open.c (__gconv_open): Merge duplicated code.
137
138 2000-07-12 Bruno Haible <haible@clisp.cons.org>
139
140 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
141 __modname.
142
143 2000-07-12 Bruno Haible <haible@clisp.cons.org>
144
145 * iconv/gconv_open.c (__gconv_open): Initialize
146 result->__steps[cnt].__data.
147
148 2000-07-12 Mark Kettenis <kettenis@gnu.org>
149
150 * nss/getent.c (services_keys): Pass port number in network byte
151 order in call to getservbyport.
152
153 2000-07-11 Andreas Jaeger <aj@suse.de>
154
155 * stdlib/Makefile (test-canon-ARGS): Fix for building in the
156 source dir.
157 * intl/Makefile (do-gettext-test): Likewise.
158 * dirent/Makefile (opendir-tst1-ARGS): Likewise.
159
160 2000-07-11 Andreas Schwab <schwab@suse.de>
161
162 * Makeconfig (run-program-prefix): New rule.
163 (built-program-cmd): Use run-program-prefix.
164
165 2000-07-12 Ulrich Drepper <drepper@redhat.com>
166
167 * locale/langinfo.h: Make CRNCYSTR, RADIXCHAR, THOUSANDS_SEP, YESEXPR,
168 and NOEXPR unconditionally available.
169
170 2000-07-12 Greg McGary <greg@mcgary.org>
171
172 * sysdeps/generic/open64.c: Wrap extern symbols in BP_SYM ().
173 * sysdeps/posix/open64.c: Likewise.
174 * sysdeps/generic/fegetenv.c: Likewise.
175 * sysdeps/powerpc/fpu/fegetenv.c: Likewise.
176 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
177 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
178 * sysdeps/powerpc/fpu/fgetexcptflg.c: Likewise.
179 * sysdeps/powerpc/fpu/fraiseexcpt.c: Likewise.
180 * sysdeps/powerpc/fpu/fsetexcptflg.c: Likewise.
181
182 2000-07-11 Greg McGary <greg@mcgary.org>
183
184 * include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
185 Add extra level of macro expansion.
186 [!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
187 * sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
188 is available at the time `select' prototype is declared.
189 * sysdeps/unix/make-syscalls.sh: Remove unused variables.
190 Collect non-versioned weak aliases. Consider only non-versioned
191 aliases for the user-visible systemcall name. Do checks inline with
192 call to primitive system call.
193 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
194 stand-alone bounds checks to suppress unused value warnings.
195 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
196
197 2000-07-10 Mark Kettenis <kettenis@gnu.org>
198
199 * sysdeps/mach/hurd/check_fds.c: New file. Implements
200 file descriptor checking in SUID programs for the Hurd.
201
202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): Use
203 res_hostalias instead of __hostalias for thread-safety.
204
205 2000-07-09 Mark Kettenis <kettenis@gnu.org>
206
207 * elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
208 * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
209
210 2000-07-10 Ulrich Drepper <drepper@redhat.com>
211
212 * include/features.h: Include ISO C99 features if the compiler used
213 is an ISO C99 compiler.
214 Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
215
216 2000-07-08 Mark Kettenis <kettenis@gnu.org>
217
218 * iconv/gconv_conf.c: Include <bits/libc-lock.h>.
219
220 2000-07-10 Andreas Jaeger <aj@suse.de>
221
222 * sysdeps/unix/sysv/linux/i386/sigaction.c: Make alias weak since
223 it's overridden by libpthreads.
224 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
225 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
226 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
229
230 * malloc/Makefile: Run tst-mtrace only with shared libs.
231
232 * stdio-common/Makefile: Run unbputc and tst-printf tests only
233 with shared libs.
234
235 2000-07-10 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
236
237 * sysdeps/mips/dl-machine.h (elf_machine_runtime_link_map): Verify
238 that gpreg really points to the GOT section of the calling object.
239 Scan all PT_LOAD segments of objects for stub_pc, instead of only
240 checking a start address of first one.
241 Fix typos.
242 * sysdeps/mips/mips64/dl-machine.h (elf_machine_runtime_link_map):
243 Likewise.
244
245 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Fix a typo.
246
247 2000-07-10 Andreas Jaeger <aj@suse.de>
248
249 * sysdeps/unix/sysv/linux/sigaction.c: Fix typo
250 (string_alias->strong_alias).
251
252 2000-07-08 Mark Kettenis <kettenis@gnu.org>
253
254 * hurd/hurd/fd.h: Include <cthreads.h> instead of <lock-intern.h>.
255
256 2000-07-07 Greg McGary <greg@mcgary.org>
257
258 * sysdeps/unix/make-syscalls.sh: Tolerate syscalls that
259 have no names without leading underscores.
260
261 2000-07-07 Ulrich Drepper <drepper@redhat.com>
262
263 * iconvdata/sjis.c (from_ucs4_lat1): Fix mappng of U005C and
264 U007E.
265
266 * stdio-common/Makefile (tests): Remove tst-printf here...
267 (tests-srcs): ...and add it here.
268 (distribute): Add tst-unbputc.sh and tst-printf.sh.
269 Add rules to run tst-printf.sh.
270 * stdio-common/tst-printf.c: Move code around so that there is really
271 no further output where it's stated.
272 * stdio-common/tst-printf.sh: New file.
273
274 2000-07-07 Mark Kettenis <kettenis@gnu.org>
275
276 * hurd/vpprintf.c [USE_IN_LIBIO]: Include <libioP.h>.
277 (do_write): Renamed from pwrite.
278 (vpprintf) [USE_IN_LIBIO]: Adjust for renaming and reshufling of
279 `struct _IO_cookie_file'.
280
281 2000-07-07 Ulrich Drepper <drepper@redhat.com>
282
283 * malloc/mtrace.pl: Exit with exit code 1 if any leak was
284 detected.
285 * malloc/tst-mtrace.sh: Run mtrace script.
286
287 2000-07-07 Greg McGary <greg@mcgary.org>
288
289 * posix/regex.c (EXTEND_BUFFER): Compute increment once.
290 Move all three components of a bounded pointer.
291
292 2000-07-07 Ulrich Drepper <drepper@redhat.com>
293
294 * locale/programs/locale.c (write_locales): Don't simply add all
295 directories found in the subdir, test whether at least the
296 LC_CTYPE file is in there.
297
298 2000-07-06 Ulrich Drepper <drepper@redhat.com>
299
300 * iconvdata/euc-jp.c: Map characters in C1 area to itself.
301 * iconvdata/euc-kr.c: Likewise.
302
303 * stdio-common/vfprintf.c (process_string_arg): Check result of
304 wcrtomb call and bail out if it failed.
305
306 * malloc/Makefile (test-srcs): Add tst-mtrace.
307 (distribute): Add tst-mtrace.sh.
308 Add rule to run tst-mtrace.sh.
309 * malloc/tst-mtrace.c: New file.
310 * malloc/tst-mtrace.sh: New file.
311
312 * include/signal.h: Declare __libc_sigaction.
313 * sysdeps/unix/sysv/linux/Versions: Export __libc_sigaction.
314 * sysdeps/unix/sysv/linux/sigaction.c: Add __libc_sigaction alias.
315 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
316 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
317 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
319 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
320
321 * configure.in: Fix CFLAGS-memprofstat.c definition after
322 2000-06-19 change.
323 Patch by Bradford W. Johnson <bradford@math.umn.edu>.
324
325 2000-07-06 Jakub Jelinek <jakub@redhat.com>
326
327 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Pass 0
328 instead of NULL to elf_machine_fixup_plt t argument.
329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
330 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c (__mmap64): Add
331 cast.
332
333 2000-07-06 Andreas Jaeger <aj@suse.de>
334
335 * crypt/Makefile (LDLIBS-cert): Removed.
336 (LDLIBS-md5c-test): Removed.
337 ($(objpfx)cert): Renamed from cert.out to fix dependencies.
338 ($(objpfx)md5c-test): Likewise for md5c-test.out.
339
340 2000-07-06 Andreas Jaeger <aj@suse.de>
341
342 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): The type
343 of the proc system is "proc".
344
345 * sysdeps/generic/libc-start.c (__libc_start_main): Initialize
346 thread library for static programs.
347
348 2000-07-06 Greg McGary <greg@mcgary.org>
349
350 * sysdeps/generic/bp-checks.h (CHECK_SIGSET, CHECK_SIGSETopt):
351 New macros.
352 * sysdeps/generic/strcpy.c: Add bounds checks.
353 * sysdeps/unix/fxstat.c: Likewise.
354 * sysdeps/unix/xstat.c: Likewise.
355 * sysdeps/unix/common/lxstat.c: Likewise.
356 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
357 * sysdeps/unix/sysv/linux/execve.c: Likewise.
358 * sysdeps/unix/sysv/linux/fxstat.c: Likewise.
359 * sysdeps/unix/sysv/linux/fxstat64.c: Likewise.
360 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
361 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
362 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
363 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
364 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
365 * sysdeps/unix/sysv/linux/poll.c: Likewise.
366 * sysdeps/unix/sysv/linux/pread.c: Likewise.
367 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
368 * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
369 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
370 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
371 * sysdeps/unix/sysv/linux/readv.c: Likewise.
372 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
373 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
374 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
375 * sysdeps/unix/sysv/linux/sigqueue.c: Likewise.
376 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
377 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
378 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
379 * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
380 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
381 * sysdeps/unix/sysv/linux/ustat.c: Likewise.
382 * sysdeps/unix/sysv/linux/writev.c: Likewise.
383 * sysdeps/unix/sysv/linux/xmknod.c: Likewise.
384 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
385 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
386 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
387 * sysdeps/unix/sysv/linux/i386/brk.c: Likewise.
388 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
389 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
390 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
391 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
392 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
393 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
394 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
395 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
397 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
398 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
399 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
400 * sysdeps/unix/sysv/linux/ia64/fxstat.c: Likewise.
401 * sysdeps/unix/sysv/linux/ia64/lxstat.c: Likewise.
402 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
403 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Likewise.
404 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: Likewise.
405 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: Likewise.
406 * sysdeps/unix/sysv/linux/ia64/xstat.c: Likewise.
407 * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
408 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
409 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
410 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
411 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
412 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
413 * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
414 * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
415 * sysdeps/unix/sysv/linux/sparc/sparc32/mmap64.c: Likewise.
416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Likewise.
420
421 * string/endian.h (__LONG_LONG_PAIR): New macro.
422 * sysdeps/unix/sysv/linux/ftruncate64.c: Use it.
423 * sysdeps/unix/sysv/linux/pread.c: Likewise.
424 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
425 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
426 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
427 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
428 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise.
429 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
430 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
431 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
432 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
433 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
434
435 * sysdeps/unix/sysv/linux/sys/ptrace.h (PT_SYSCALL): Fix LHS.
436
437 2000-07-06 Andreas Jaeger <aj@suse.de>
438
439 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path):
440 Initialize result.
441
442 * math/test-fpucw.c: Include <stdio.h> for printf.
443
444 2000-07-05 Greg McGary <greg@mcgary.org>
445
446 * sysdeps/generic/bp-checks.h: New file.
447 * sysdeps/generic/bp-thunks.h: Replace generic thunk definitions
448 with list of #include files.
449 * sysdeps/unix/make-syscalls.sh: Handle new arg signature
450 keyletters a, b, B, f, n, N, P, v, V. Fixup some indentation.
451 Don't generate BP thunk if `V' appears in signature.
452 Generate thunks with complete bounds checks.
453 * sysdeps/unix/syscalls.list: Refine signatures using new keyletters.
454 * sysdeps/unix/inet/syscalls.list: Likewise.
455 * sysdeps/unix/mman/syscalls.list: Likewise.
456 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
457 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
458 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
459 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
460
461 2000-07-05 Ulrich Drepper <drepper@redhat.com>
462
463 * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Cache
464 result. Search first in /etc/mtab (proc/mounts would be stupid).
465 If mount not in the file fall back on /proc.
466
467 * crypt/md5-crypt.c (__md5_crypt_r): Clear arrays the key and salt
468 string got copied in.
469 Patch by Solar Designer <solar@false.com>.
470
471 2000-07-05 Andreas Jaeger <aj@suse.de>
472
473 * manual/install.texi (Installation): Update information about
474 add-ons.
475 (Configuring and compiling): Update for glibc 2.2.
476
477 2000-07-04 Andreas Jaeger <aj@suse.de>
478
479 * sysdeps/i386/fpu_control.h (_FPU_DEFAULT): Correct value.
480 (_FPU_IEEE): Likewise.
481
482 * math/Makefile (tests): Add test-fpucw.
483
484 * math/test-fpucw.c (main): New file.
485
486 2000-07-05 Ulrich Drepper <drepper@redhat.com>
487
488 * locale/loadlocale.c (_nl_unload_locale): Add cast to avoid warning.
489
490 * locale/programs/ld-collate.c (collate_output): Also write out the
491 collation sequence values and the wide character string for the
492 collation symbol table.
493
494 * posix/fnmatch.c: Include "../locale/elem-hash.h".
495 * posix/fnmatch_loop.c: Implement collating symbol handling.
496 * posix/tst-fnmatch.input: Add more tests, especially for collating
497 symbol handling.
498
499 * posix/regex.c: Fix comment.
500
501 2000-07-05 Andreas Jaeger <aj@suse.de>
502
503 * sysdeps/mips/fpu_control.h: Fix type of fpu_control_t.
504 (_FPU_GETCW): Remove extra colon.
505 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
506
507 * posix/fnmatch_loop.c (FCT): Only declare len if
508 !WIDE_CHAR_VERSION to silence GCC.
509
510 * sysdeps/generic/rawmemchr.c: Include <stdlib.h> for abort
511 prototype.
512 * sysdeps/generic/strchrnul.c: Likewise.
513 * sysdeps/generic/strlen.c: Likewise.
514 * sysdeps/generic/strchr.c: Likewise.
515 * sysdeps/generic/memchr.c: Likewise.
516
517 2000-07-04 Ulrich Drepper <drepper@redhat.com>
518
519 * posix/fnmatch_loop.c: Implement equivalence class handling.
520 * posix/tst-fnmatch.input: Add tests for equivalence class
521 handling.
522
523 * posix/fnmatch_loop.c: Improve performance for single-byte
524 character sets by not using btowc.
525
526 * posix/tst-fnmatch.input: Add tests for locale dependent
527 behaviour.
528 * posix/tst-fnmatch.c (main): Also set LC_CTYPE category.
529
530 * posix/tst-fnmatch.input: Add more test cases.
531
532 * crypt/md5-crypt.c (__md5_crypt_r): If buffers for key and salt
533 are not aligned to alignof(md5_uint32) do it before calling
534 __md5_process_bytes.
535 * crypt/md5.c: Make sure buffers are aligned.
536 * crypt/md5.h: Likewise.
537 Reported by Solar Designer <solar@false.com>.
538
539 * crypt/Makefile: Add dependencies for test programs.
540
541 * Rules: Define LC_ALL=C in environments of all programs we run.
542
543 * intl/tst-gettext.sh (LC_ALL): Define to C and export.
544
545 2000-07-03 H.J. Lu <hjl@gnu.org>
546
547 * locale/programs/ld-ctype.c (ctype_output): The size of iov
548 is 2 + elem + offset, not 2 + elem + offset + 2.
549
550 2000-07-04 Ulrich Drepper <drepper@redhat.com>
551
552 * posix/fnmatch_loop.c: Fix two problems uncovered by the new test
553 suite.
554 * posix/Makefile (tests): Add tst-fnmatch.
555 (tst-fnmatch-ENV): Define.
556 * posix/tst-fnmatch.c: New file.
557 * posix/tst-fnmatch.sh: New file.
558
559 2000-07-04 NIIBE Yutaka <gniibe@chroot.org>
560
561 * locale/programs/charmap.c (charmap_read): Prepend
562 the condition filename == NULL.
563
564 2000-07-03 Greg McGary <greg@mcgary.org>
565
566 * sysdeps/i386/bits/setjmp.h (PUSH_SIGNAL_MASK): Fix typo.
567
568 * csu/Makefile (extra-objs, install-lib): Add BP objects conditionally.
569 ($(objpfx)b$(start-installed-name)): Add non-elf rule.
570
571 * libio/libio.h (_IO_FILE): Revert type of _chain to _IO_FILE*.
572 * libio/libioP.h (_IO_ITER): Revert to type _IO_FILE*.
573 (FILEBUF_LITERAL): Add cast for CHAIN init.
574 * libio/genops.c (_IO_un_link, _IO_link_in, _IO_iter_begin): Add casts.
575 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
576 Revert type of `fp' to _IO_FILE*.
577 (_IO_iter_file): Remove cast.
578 (_IO_iter_next): Elide intermediate member reference.
579
580 * sysdeps/powerpc/strchr.S: Check bounds.
581 Wrap extern symbols in BP_SYM ().
582
583 2000-07-03 Andreas Jaeger <aj@suse.de>
584
585 * dlfcn/Makefile (generated): New.
586
587 2000-07-03 Ulrich Drepper <drepper@redhat.com>
588
589 * libio/genops.c (__overflow): Use _IO_fwide to orient the stream.
590 (__uflow): Likewise.
591 (__underflow): Likewise.
592 * libio/wgenops.c (__wunderflow): Likewise.
593 * stdio-common/tst-unbputc.c: New file.
594 * stdio-common/tst-unbputc.sh: New file.
595 * stdio-common/Makefile: Add rules to build and run tst-unbputc.
596
597 * po/en_GB.po: New file.
598 Contributed by Robert Brady <rwb197@ecs.soton.ac.uk>.
599
600 2000-07-01 Andreas Jaeger <aj@suse.de>
601
602 * intl/Makefile (generated-dirs): New.
603
604 * elf/Makefile (generated): trusted-dirs.h is always generated,
605 move out of build-shared condition.
606 (generated): Merge the two entries for build-shared.
607
608 2000-07-01 Ulrich Drepper <drepper@redhat.com>
609
610 * debug/Makefile (distribute): Add xtrace.sh.
611
612 2000-06-30 Ulrich Drepper <drepper@redhat.com>
613
614 * version.h (VERSION): Bump to 2.1.91.
615
616 * configure.in: Update warning comment. glibc should not be
617 broken anymore.
618
619 * sysdeps/unix/sysv/linux/ia64/Dist: Remove old content. Add
620 ioperm.c, sys/procfs.h, and sys/io.h.
621
622 * sysdeps/powerpc/Dist: Add bp-asm.h.
623
624 * assert/Depend: Add localedata.
625 * assert/Makefile (test-assert-ENV): New. Define LANGUAGE=C.
626 (test-assert-perr-ENV): New. Define LANGUAGE=C.
627
628 * sysdeps/alpha/dl-machine.h (elf_machine_rela) [r_type ==
629 R_ALPHA_REFQUAD]: Use memcpy to load and store value from
630 relocation address to prevent unaligned trap.
631 Suggested by Richard Henderson <rth@cygnus.com>.
632
633 2000-06-30 Jakub Jelinek <jakub@redhat.com>
634
635 * io/sys/stat.h (stat64, lstat64, fstat64): Don't define inlines
636 if redirecting and either redirection is done using defines or
637 not optimizing.
638
639 2000-06-30 Ulrich Drepper <drepper@redhat.com>
640
641 * sunrpc/rpc_cout.c (inline_struct): Add missing parenthesis in
642 generated expressions.
643 Patch by Darren McClelland <dmcclell@zetec.com>.
644
645 * timezone/Makefile (build-testdata): Set LANGUAGE and LC_ALL
646 since zic uses setlocale and gettext but we cannot make it use the
647 new locale data since zic calls a shell which might not use the
648 new libc.
649
650 * stdlib/strfmon.c: Move somewhat closer to the standard wrt to
651 handling the internation currency symbol. POSIX says that the
652 fourth character is used to separate the currency symbol from the
653 value. Therefore it does not have to be printed. But we cannot
654 remove the space if the currency symbol is printed before the
655 number since this is what many locales expect.
656
657 * iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
658 whether this information is available.
659
660 * intl/dcigettext.c (_nl_find_msg): Correct reallocation of
661 buffers in case the translation is too large. Remember allocated
662 memory blocks in a list.
663 (free_mem): Free memory for translations.
664
665 * intl/tst-gettext.c: Use correct locale. Improve error messages.
666
667 * locale/programs/ld-ctype.c (ctype_output): If no default_missing
668 information is available set the string length to zero.
669
670 * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
671
672 2000-06-30 Greg McGary <greg@mcgary.org>
673
674 * sysdeps/powerpc/bp-asm.h: New file.
675 * sysdeps/powerpc/__longjmp.S: Check bounds.
676 Wrap extern symbols in BP_SYM ().
677 * sysdeps/powerpc/bsd-_setjmp.S: Likewise.
678 * sysdeps/powerpc/bsd-setjmp.S: Likewise.
679 * sysdeps/powerpc/setjmp.S: Likewise.
680 * sysdeps/powerpc/add_n.S: Likewise.
681 * sysdeps/powerpc/addmul_1.S: Likewise.
682 * sysdeps/powerpc/lshift.S: Likewise.
683 * sysdeps/powerpc/rshift.S: Likewise.
684 * sysdeps/powerpc/mul_1.S: Likewise.
685 * sysdeps/powerpc/sub_n.S: Likewise.
686 * sysdeps/powerpc/submul_1.S: Likewise.
687 * sysdeps/powerpc/strlen.S: Likewise.
688 * sysdeps/powerpc/memset.S: Likewise.
689 * sysdeps/powerpc/stpcpy.S: Likewise.
690 * sysdeps/powerpc/strcmp.S: Likewise.
691 * sysdeps/powerpc/strcpy.S: Likewise.
692 * sysdeps/powerpc/elf/bzero.S: Likewise.
693
694 * sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
695 Line up operands column with tabs.
696
697 2000-06-30 Ulrich Drepper <drepper@redhat.com>
698
699 * elf/Makefile (LDFLAGS-origtest): Actually add it.
700
701 * sysdeps/ia64/htonl.S: New file.
702 * sysdeps/ia64/htons.S: New file.
703 * sysdeps/ia64/memcpy.S: Replace with version which does not use
704 floating point registers.
705 Patches by Dan Pop <Dan.Pop@cern.ch>.
706
707 2000-06-30 Andreas Jaeger <aj@suse.de>
708
709 * posix/Makefile (tests): tst-exec and tst-spawn only work with
710 shared libraries.
711
712 * io/Makefile (CFLAGS-test-lfs.c): New.
713 (tests): Add test-lfs.
714
715 * io/test-lfs.c: New file.
716
717 2000-06-30 Jakub Jelinek <jakub@redhat.com>
718
719 * sysdeps/i386/bits/string.h (strcmp): Use 8bit register in 8bit
720 instruction.
721
722 2000-06-29 David Mosberger-Tang <davidm@hpl.hp.com>
723
724 * sysdeps/unix/sysv/linux/ia64/ioperm.c: New file.
725
726 2000-06-29 Jes Sorensen <jes@linuxcare.com>
727
728 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add __fstatfs64
729 alias to the fstatfs call.
730
731 * sysdeps/unix/sysv/linux/ia64/getrlimit64.c: New file.
732 * sysdeps/unix/sysv/linux/ia64/setrlimit64.c: New file.
733
734 * sysdeps/unix/sysv/linux/ia64/ftruncate64.c: New file.
735 * sysdeps/unix/sysv/linux/ia64/truncate64.c: New file.
736
737 * sysdeps/unix/sysv/linux/ia64/readdir.c: New file.
738 * sysdeps/unix/sysv/linux/ia64/readdir_r.c: New file.
739 * sysdeps/unix/sysv/linux/ia64/readdir64.c: New file.
740 * sysdeps/unix/sysv/linux/ia64/readdir64_r.c: New file.
741
742 * sysdeps/unix/sysv/linux/ia64/glob.c: New file.
743 * sysdeps/unix/sysv/linux/ia64/glob64.c: New file.
744
745 * sysdeps/unix/sysv/linux/ia64/fstatfs64.c: New file.
746 * sysdeps/unix/sysv/linux/ia64/statfs64.c: New file.
747
748 * sysdeps/unix/sysv/linux/ia64/pread64.c: New file.
749 * sysdeps/unix/sysv/linux/ia64/pwrite64.c: New file.
750
751 * sysdeps/unix/sysv/linux/ia64/shmctl.c: New file.
752
753 2000-06-29 Andreas Jaeger <aj@suse.de>
754
755 * sunrpc/rpc_svcout.c (write_msg_out): Always use format string
756 with syslog.
757 (print_err_message): Likewise.
758 Reported by Chris Evans <chris@ferret.lmh.ox.ac.uk>.
759
760 2000-06-29 Ulrich Drepper <drepper@redhat.com>
761
762 * locale/loadlocale.c (_nl_load_locale): Make sure all locale data
763 used as words is properly aligned.
764
765 * locale/programs/ld-ctype.c (ctype_output): Don't generate unaligned
766 data files.
767
768 2000-06-29 Greg McGary <greg@mcgary.org>
769
770 * sysdeps/generic/libc-start.c (__libc_stack_end): Chop __unbounded.
771 * sysdeps/unix/make-syscalls.sh: Handle signatures of
772 length 7..9, just in case...
773 * misc/sys/cdefs.h (__ptrvalue): Define as nothing for non-BP.
774
775 * sysdeps/i386/bp-asm.h (PCOFF): New constant.
776 (POP_ERRNO_LOCATION_RETURN): Fold insns.
777 * sysdeps/i386/bits/setjmp.h (JB_SIZE): New constant.
778 (PUSH_SIGNAL_MASK): New macro.
779 * sysdeps/i386/__longjmp.S (__longjmp): Wrap symbol in BP_SYM ().
780 LEAVE is unnecessary. Check bounds of jmp_buf.
781 * sysdeps/i386/elf/setjmp.S: Call PUSH_SIGNAL_MASK. Wrap symbols
782 in BP_SYM (). Check bounds of jmp_buf. Don't call LEAVE until
783 immediately before tail-call.
784 * sysdeps/i386/setjmp.S: Likewise.
785 * sysdeps/i386/bsd-_setjmp.S: Likewise.
786 * sysdeps/i386/bsd-setjmp.S: Likewise.
787
788 2000-06-29 Jakub Jelinek <jakub@redhat.com>
789
790 * sysdeps/sparc/fpu/fclrexcpt.c: Use SHLIB_COMPAT, compat_symbol and
791 versioned_symbol.
792 * sysdeps/sparc/fpu/fesetenv.c: Likewise.
793 * sysdeps/sparc/fpu/feupdateenv.c: Likewise.
794 * sysdeps/sparc/fpu/fgetexcptflg.c: Likewise.
795 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
796 * sysdeps/sparc/fpu/fsetexcptflg.c: Likewise.
797 * sysdeps/sparc/fpu/fegetenv.c: Likewise.
798 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions: New file.
799 * shlib-versions: Make sparc64 GLIBC_2.2+ only.
800
801 2000-06-29 Ulrich Drepper <drepper@redhat.com>
802
803 * stdio-common/printf_fp.c (__printf_fp): Don't clobber pointer which
804 we later need to calling free().
805 Patch by Matt Wilson <msw@redhat.com>.
806
807 * stdio-common/tst-printf.c: Add test for above problem.
808
809 2000-06-27 David Mosberger-Tang <davidm@hpl.hp.com>
810
811 * sysdeps/unix/sysv/linux/ia64/bits/ipc.h: New file.
812 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: New file.
813
814 2000-06-28 Jes Sorensen <jes@linuxcare.com>
815
816 * sysdeps/ieee754/dbl-64/s_exp2.c: Add include stdlib.h to get
817 prototype for abs().
818 * sysdeps/ieee754/flt-32/s_exp2f.c: ditto.
819
820 2000-06-23 Andreas Jaeger <aj@suse.de>
821
822 * config.h.in: Don't use regparm with bounded pointers.
823
824 2000-06-29 Ulrich Drepper <drepper@redhat.com>
825
826 * stdlib/grouping.h: Correctly handle multibyte thousands
827 separator and decimal point.
828 * stdlib/stdtod.c: Likewise.
829 * sysdeps/generic/strtol.c: Likewise.
830
831 * locale/categories.def: Add entries for wide character decimal point
832 and thousands separator in numeric and monetary category.
833
834 2000-06-28 Ulrich Drepper <drepper@redhat.com>
835
836 * stdio-common/printf_fp.c (__printf_fp): Remove unnecessary
837 second definition and initialization of decimal.
838
839 2000-06-28 Greg McGary <greg@mcgary.org>
840
841 * libio/libio.h (struct _IO_cookie_file): Move struct type defintion
842 out.
843 (_IO_FILE): Declare chain as (struct _IO_FILE_plus *).
844 * libio/libioP.h (struct _IO_cookie_file): Move struct type defintion
845 in.
846 (_IO_JUMPS): Don't cast THIS--expect arg to be a
847 (struct _IO_FILE_plus *).
848 (_IO_JUMPS_FUNC): Express in terms of _IO_JUMPS, and add cast to
849 THIS, since _IO_JUMPS no longer does it implicitly.
850 (_IO_file_init, _IO_old_file_init, _IO_new_file_init): Declare
851 arg type as (struct _IO_FILE_plus *).
852 (_IO_str_init_static, _IO_str_init_readonly): Declare 1st
853 arg as (_IO_strfile *).
854 * libio/strops.c (_IO_str_init_static, _IO_str_init_readonly):
855 Declare 1st arg as (_IO_strfile *).
856 * libio/fileops.c (_IO_new_file_init): Declare
857 arg type as (struct _IO_FILE_plus *).
858 * libio/oldfileops.c (_IO_old_file_init): Likewise.
859 * libio/genops.c (_IO_link_in, _IO_un_link): Likewise.
860 (_IO_flush_all, _IO_flush_all_linebuffered, _IO_unbuffer_write):
861 Declare iteration pointer as (struct _IO_FILE_plus *).
862 (_IO_iter_next, _IO_iter_file): _IO_ITER is now
863 (struct _IO_FILE_plus *).
864 * libio/stdfiles.c (_IO_list_all): Declare as (struct _IO_FILE_plus *).
865 * libio/oldstdfiles.c (_IO_list_all): Likewise.
866 (_IO_check_libio): Set user-visible handles to
867 (struct _IO_FILE_plus *).
868 * libio/stdio.c (stdin, stdout, stderr): Set user-visible handles
869 to (struct _IO_FILE_plus *).
870
871 * libio/iofdopen.c (_IO_new_fdopen): Pass FILE handle pointer
872 whose high bound includes vtable to all functions that will use
873 vtable. For streambufs, pass pointer whose bounds include struct
874 _IO_strfile.
875 * libio/wgenops.c (_IO_wdefault_finish): Likewise.
876 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
877 * libio/iofopen.c (_IO_new_fopen): Likewise.
878 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
879 * libio/iofopen64.c (_IO_fopen64): Likewise.
880 * libio/iopopen.c (_IO_new_popen): Likewise.
881 * libio/oldiopopen.c (_IO_old_popen): Likewise.
882 * libio/memstream.c (open_memstream): Likewise.
883 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
884 * libio/iovsprintf.c (_IO_vsprintf): Likewise.
885 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
886 * libio/iofopncook.c (_IO_cookie_init): Likewise.
887 * libio/obprintf.c (_IO_obstack_vprintf): Likewise.
888 * libio/vasprintf.c (_IO_vasprintf): Likewise.
889 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
890 * libio/stdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
891 * libio/oldstdfiles.c (_IO_stdout_, _IO_stderr_): Likewise.
892 * stdlib/strfmon.c (__strfmon_l): Likewise.
893 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
894 (vfprintf): Qualify computed-goto targets as unbounded.
895
896 2000-06-28 Ulrich Drepper <drepper@redhat.com>
897
898 * stdio-common/vfscanf.c: Finally handle multibyte decimal point and
899 thousands separator correctly.
900
901 * stdio-common/vfscanf.c: Use COMPILE_WSCANF not COMPILE_WPRINTF.
902 * stdio-common/vfwscanf.c: Likewise.
903
904 2000-06-27 Jes Sorensen <jes@linuxcare.com>
905
906 * sysdeps/unix/sysv/linux/ia64/syscalls.list: Change argument
907 count into signatures for most calls.
908
909 2000-06-28 Ulrich Drepper <drepper@redhat.com>
910
911 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: Removed. We can use
912 the generic parser now.
913
914 2000-06-28 Jes Sorensen <jes@linuxcare.com>
915
916 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: Deleted. Hash
917 table entries are 32 bit on the ia64 (as specified by the ABI),
918 not 64 bit as on the Alpha.
919
920 * shlib-versions: Bump ia64 soname to ld-linux-ia64.so.2 to mark
921 change of objects to use 32 bit hash table indices (see above).
922
923 2000-06-28 Jes Sorensen <jes@linuxcare.com>
924
925 * sysdeps/ieee754/dbl-64/e_exp.c: Add include stdlib.h to get
926 prototype for abs().
927
928 2000-06-28 Wolfram Gloger <wg@malloc.de>
929
930 * malloc/malloc.c (chunk_alloc): If extension of the linear heap
931 fails, try mmap_chunk() as a last resort even though n_mmaps_max
932 may have been reached.
933
934 2000-06-28 Ulrich Drepper <drepper@redhat.com>
935
936 * locale/programs/ld-collate.c (insert_weights): Handle <Uxxxx>
937 symbols in multi-character weights correctly.
938
939 * wcsmbs/mbrtowc.c: Set flush to 1 for conversion function calls
940 depending on whether the input string is empty or not.
941
942 * wcsmbs/mbrtowc.c: Calling function without input means clearing the
943 given state and not avoiding this by modifying a local object.
944 * wcsmbs/wcrtomb.c: Likewise.
945
946 * iconv/skeleton.c: If no EMIT_SHIFT_TO_INIT is defined clear state
947 object since some incomplete characters might be in there.
948
949 * iconvdata/euc-jp.c: In conversion to UCS4, handling invalid
950 sequences with first byte 0x8e correctly.
951
952 * iconvdata/jis0208.h: Remove redundant test.
953
954 2000-06-27 Ulrich Drepper <drepper@redhat.com>
955
956 * sysdeps/generic/initfini.c (SECTION): Remove trailing semicolon.
957 Add it where it is needed now.
958
959 * locale/programs/ld-ctype.c (ctype_finish): Take all characters from
960 the input charset into account when generating the hash table.
961 (allocate_arrays): Correct setting default width. Not all empty slots
962 in the table are filled, only those not covert explicitly by the
963 locale description and in the charset.
964
965 * wctype/towctrans.c (__towctrans): Be graceful and accept error
966 return values from the wctrans function.
967
968 * stdio-common/vfscanf.c: Make sure to always return WEOF and EOF for
969 wide character version.
970 For %C handling, test correct pointer variable for NULL.
971
972 * wcsmbs/wctob.c: Handle WEOF special.
973
974 * wcsmbs/wcwidth.h: 0xff in width array means invalid character.
975
976 * wctype/wctype.h: Protect gcc-isms with __extension__. Avoid
977 always-true test to avoid warning.
978
979 2000-06-27 Greg McGary <greg@mcgary.org>
980
981 * elf/dl-open.c (_dl_sysdep_start): Wrap weak_extern decl in BP_SYM ().
982 * include/libc-symbols.h (weak_extern): Add extra level of expansion.
983 (symbol_version, default_symbol_version): Factor redundant
984 definitions out of conditional.
985
986 2000-06-27 Jakub Jelinek <jakub@redhat.com>
987
988 * libio/obprintf.c (_IO_obstack_vprintf): Call obstack_make_room,
989 not obstack_blank.
990
991 2000-06-26 Ulrich Drepper <drepper@redhat.com>
992
993 * include/libc-symbols.h (symbol_version): Add extra level of
994 macro expansion.
995 (default_symbol_version): Likewise.
996
997 2000-06-26 Greg McGary <greg@mcgary.org>
998
999 * sysdeps/unix/i386/sysdep.S (syscall_error): Push & pop space
1000 for BP return value & push implicit struct-return pointer to
1001 __errno_location.
1002 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1003 (SYSCALL_ERROR_HANDLER): Likewise.
1004 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
1005 (SYSCALL_ERROR_HANDLER): Likewise.
1006
1007 * Makeconfig: Add missing comment.
1008 * csu/Makefile (extra-objs, omit-deps, install-lib): Add
1009 BP-flavored startup object.
1010 ($(objpfx)b$(start-installed-name)): New rule.
1011 * include/libc-symbols.h (symbol_set_declare): Change type
1012 of `__start_##set' and `__stop_##set' to pointer-to-function.
1013 (symbol_set_declare): Change type of `set' to array of
1014 pointer-to-function.
1015 * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to
1016 pointer-to-function.
1017
1018 * string/bits/string2.h: Inhibit inlines if __BOUNDED_POINTERS__.
1019
1020 * sysdeps/unix/sysv/linux/syscalls.list: Add missing signatures.
1021 Remove clock_* and timer_* entries.
1022 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Replace
1023 arg-count with signatures.
1024
1025 * sysdeps/i386/add_n.S: Wrap entry-point symbol in BP_SYM ().
1026 Check bounds of arguments.
1027 * sysdeps/i386/addmul_1.S: Likewise.
1028 * sysdeps/i386/lshift.S: Likewise.
1029 * sysdeps/i386/mul_1.S: Likewise.
1030 * sysdeps/i386/rshift.S: Likewise.
1031 * sysdeps/i386/sub_n.S: Likewise.
1032 * sysdeps/i386/submul_1.S: Likewise.
1033 * sysdeps/i386/i586/add_n.S: Likewise.
1034 * sysdeps/i386/i586/addmul_1.S: Likewise.
1035 * sysdeps/i386/i586/lshift.S: Likewise.
1036 * sysdeps/i386/i586/rshift.S: Likewise.
1037 * sysdeps/i386/i586/sub_n.S: Likewise.
1038 * sysdeps/i386/i686/add_n.S: Likewise.
1039
1040 * sysdeps/i386/memchr.S: Likewise.
1041 * sysdeps/i386/memcmp.S: Likewise.
1042 * sysdeps/i386/rawmemchr.S: Likewise.
1043 * sysdeps/i386/i586/bzero.S: Likewise.
1044 * sysdeps/i386/i586/memcpy.S: Likewise.
1045 * sysdeps/i386/i586/mempcpy.S: Likewise.
1046 * sysdeps/i386/i586/memset.S: Likewise.
1047 * sysdeps/i386/i686/bzero.S: Likewise.
1048 * sysdeps/i386/i686/memcpy.S: Likewise.
1049 * sysdeps/i386/i686/mempcpy.S: Likewise.
1050 * sysdeps/i386/i686/memset.S: Likewise.
1051
1052 * sysdeps/i386/stpcpy.S: Likewise.
1053 * sysdeps/i386/stpncpy.S: Likewise.
1054 * sysdeps/i386/strchr.S: Likewise.
1055 * sysdeps/i386/strchrnul.S: Likewise.
1056 * sysdeps/i386/strcspn.S: Likewise.
1057 * sysdeps/i386/strpbrk.S: Likewise.
1058 * sysdeps/i386/strrchr.S: Likewise.
1059 * sysdeps/i386/strspn.S: Likewise.
1060 * sysdeps/i386/strtok.S: Likewise.
1061 * sysdeps/i386/strtok_r.S: Likewise.
1062 * sysdeps/i386/i486/strcat.S: Likewise.
1063 * sysdeps/i386/i486/strlen.S: Likewise.
1064 * sysdeps/i386/i586/strchr.S: Likewise.
1065 * sysdeps/i386/i586/strcpy.S: Likewise.
1066 * sysdeps/i386/i586/strlen.S: Likewise.
1067 * sysdeps/i386/i686/strcmp.S: Likewise.
1068 * sysdeps/i386/i686/strtok.S: Likewise.
1069 * sysdeps/i386/i686/strtok_r.S: Likewise.
1070
1071 * sysdeps/i386/fpu/fegetenv.c: Wrap symbol names with BP_SYM ().
1072 * sysdeps/i386/fpu/fesetenv.c: Likewise.
1073 * sysdeps/i386/fpu/feupdateenv.c: Likewise.
1074 * sysdeps/i386/fpu/fgetexcptflg.c: Likewise.
1075 * sysdeps/i386/fpu/fsetexcptflg.c: Likewise.
1076
1077 * sysdeps/i386/addmul_1.S: Exchange roles of %ebp and %ebx.
1078 * sysdeps/i386/mul_1.S: Likewise.
1079 * sysdeps/i386/submul_1.S: Likewise.
1080 * sysdeps/i386/i586/add_n.S: Likewise.
1081 * sysdeps/i386/i586/addmul_1.S: Likewise.
1082 * sysdeps/i386/i586/lshift.S: Likewise.
1083 * sysdeps/i386/i586/mul_1.S: Likewise.
1084 * sysdeps/i386/i586/rshift.S: Likewise.
1085 * sysdeps/i386/i586/sub_n.S: Likewise.
1086 * sysdeps/i386/i586/submul_1.S: Likewise.
1087
1088 2000-06-26 Ulrich Drepper <drepper@redhat.com>
1089
1090 * rt/Makefile (librt-routines): Add clock_nanosleep.
1091 * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep.
1092 * sysdeps/generic/clock_nanosleep.c: New file.
1093 * sysdeps/unix/clock_nanosleep.c: New file.
1094 * sysdeps/unix/i386/i586/clock_nanosleep.c: New file.
1095 * time/time.h: Declare clock_nanosleep.
1096
1097 2000-06-26 Greg McGary <greg@mcgary.org>
1098
1099 * sysdeps/i386/asm-syntax.h (R, MEM, MEM_DISP, MEM_INDEX,
1100 INSN1, INSN2, TEXT, GLOBL): Remove macros.
1101 (ALIGN): Cleanup surrounding conditionals.
1102
1103 * sysdeps/i386/addmul_1.S: Replace asm-syntax macros with gas syntax.
1104 Call ENTER/LEAVE macros.
1105 * sysdeps/i386/mul_1.S: Replace asm-syntax macros with gas syntax.
1106 * sysdeps/i386/submul_1.S: Likewise.
1107
1108 * sysdeps/i386/i586/addmul_1.S: Replace asm-syntax macros with gas
1109 syntax. Define & use symbolic argument stack offsets. Call
1110 ENTER/LEAVE macros.
1111 * sysdeps/i386/i586/mul_1.S: Likewise.
1112 * sysdeps/i386/i586/submul_1.S: Likewise.
1113
1114 2000-06-25 Greg McGary <greg@mcgary.org>
1115
1116 * sysdeps/i386/i586/memcpy.S: Redefine memcpy as mempcpy,
1117 not as bcopy.
1118
1119 2000-06-25 Ulrich Drepper <drepper@redhat.com>
1120
1121 * iconvdata/gen-8bit-gap-1.sh: Update for new charmap format.
1122 * iconvdata/gen-8bit-gap.sh: Likewise.
1123 * iconvdata/gen-8bit.sh: Likewise.
1124
1125 * iconv/gconv_open.c (__gconv_open): Move comment to correct position.
1126
1127 * locale/programs/ld-collate.c (collate_read): Don't actually read
1128 the copy locale if we are ignoring the content.
1129
1130 * locale/programs/ld-address.c (INT_STR_ELEM): Correct test for
1131 unknown character.
1132
1133 * locale/programs/ld-collate.c: Correct handling of different
1134 collation sections.
1135 * locale/programs/localedef.c (add_to_readlist): Take locale pointer
1136 as extra parameter from which to copy category information.
1137 Change all callers.
1138 (load_locale): Likewise.
1139 * locale/programs/localedef.h: Update prototypes of add_to_readlist
1140 and load_locale.
1141 * locale/programs/ld-ctype.c: Update call to add_to_readlist.
1142 * locale/programs/locfile.h: Likewise.
1143 * locale/programs/locfile-kw.gperf: Add entry for script.
1144 * locale/programs/locfile-token.h: Add tok_script.
1145
1146 * locale/programs/locale.c: Update copyright year.
1147 * locale/programs/localedef.c: Likewise.
1148
1149 2000-06-23 Thorsten Kukuk <kukuk@suse.de>
1150
1151 * sunrpc/xdr_rec.c (set_input_fragment): Fix PR libc/1549, patch from
1152 Jens Moeller <jens.moeller@waii.com>.
1153
1154 2000-06-24 Ulrich Drepper <drepper@redhat.com>
1155
1156 * locale/programs/ld-name.c (name_finish): Add missing format
1157 specifier to test for name_fmt.
1158
1159 * locale/programs/ld-address.c (iso639): Correct length of string
1160 elements.
1161 (iso3166): Likewise.
1162
1163 * sysdeps/unix/sysv/linux/i386/sys/elf.h (elf_fpxregset_t): Define.
1164
1165 * sysdeps/unix/sysv/linux/i386/sys/user.h (struct user_fpxregs_struct):
1166 Define.
1167
1168 * elf/elf.h (NT_PRFPXREG): Define.
1169
1170 2000-06-23 Ulrich Drepper <drepper@redhat.com>
1171
1172 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Define
1173 PTRACE_GETFPXREGS and PTRACE_SETFPXREGS.
1174
1175 2000-06-23 Andreas Schwab <schwab@suse.de>
1176
1177 * sysdeps/unix/sysv/linux/m68k/syscalls.list: Replace arg-count
1178 with signatures.
1179
1180 2000-06-23 Andreas Jaeger <aj@suse.de>
1181
1182 * iconv/gconv_int.h (norm_add_slashes): Protect suffix expansion.
1183
1184 * io/test-stat.c: Add copyright header, mention Maciej.
1185
1186 * sysdeps/unix/sysv/linux/mips/sys/syscall.h (SYS_pivot_root,
1187 SYS_mincore, SYS_madvise): Added.
1188
1189 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix signature of
1190 execve.
1191
1192 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1193
1194 * libio/Makefile (tests): Add tst-getwc and tst_putwc.
1195 (CFLAGS-tst_putwc.c): New definition.
1196 * libio/tst_getwc.c: New file.
1197 * libio/tst_getwc.input: New file.
1198 * libio/tst_putwc.c: New file.
1199
1200 * include/string.h: Add prototype for __strdup.
1201
1202 2000-06-22 Greg McGary <greg@mcgary.org>
1203
1204 * sysdeps/unix/syscalls.list (sys_mknod): Fix signatures.
1205 * sysdeps/unix/inet/syscalls.list (accept, getpeername, getsockname):
1206 Fix signatures.
1207
1208 2000-06-23 Jes Sorensen <jes@linuxcare.com>
1209
1210 * sysdeps/ia64/memcpy.S: Disable branch predict instruction.
1211
1212 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1213
1214 * sysdeps/unix/sysv/linux/ia64/bits/statfs.h: New file.
1215
1216 2000-06-22 Jes Sorensen <jes@linuxcare.com>
1217
1218 * shlib-versions: Bump so versions to 6.1 for libc and libm on the
1219 ia64 to allow 2.2+ libraries to coexist with 2.1 ones.
1220
1221 2000-06-22 Ulrich Drepper <drepper@redhat.com>
1222
1223 * io/sys/stat.h: Define S_TYPEISMQ, S_TYPEISSEM, and S_TYPEISSHM.
1224 * sysdeps/generic/bits/stat.h: Define __S_TYPEISMQ, __S_TYPEISSEM,
1225 and __S_TYPEISSHM.
1226 * sysdeps/mach/hurd/bits/stat.h: Likewise.
1227 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1228 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
1229 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1230 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
1231 * sysdeps/unix/sysv/hpux/bits/stat.h: Likewise.
1232 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
1233 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
1234 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1235 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
1236 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
1237 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
1238 * sysdeps/unix/sysv/aix/bits/stat.h: Likewise.
1239 * manual/filesys.texi: Document S_TYPEISMQ, S_TYPEISSEM, and
1240 S_TYPEISSHM.
1241
1242 2000-06-22 Andreas Jaeger <aj@suse.de>
1243
1244 * sysdeps/unix/sysv/linux/mips/syscalls.list: Replace arg-count
1245 with signatures.
1246
1247 * elf/dl-reloc.c (_dl_relocate_object): Fix typos.
1248
1249 * sysdeps/unix/sysv/linux/mips/syscalls.list: Fix sysctl entry.
1250
1251 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1252
1253 * iconv/gconv_trans.c: Move initialization of winbuf and winbufend
1254 ahead.
1255
1256 2000-06-21 Greg McGary <greg@mcgary.org>
1257
1258 * Makerules (elide-routines.*, elide-bp-thunks):
1259 Define unconditionally.
1260
1261 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1262
1263 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1264
1265 2000-06-21 Andreas Jaeger <aj@suse.de>
1266
1267 * io/Makefile (tests): Add test-stat.
1268 (CFLAGS-test-stat.c): New.
1269
1270 * io/test-stat.c: New file from Maciej W. Rozycki
1271 <macro@ds2.pg.gda.pl>.
1272
1273 2000-06-21 Jes Sorensen <jes@linuxcare.com>
1274
1275 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Reorder elements
1276 in __rlimit_resource to make them match the kernel order.
1277 rlim_t is always 64 bit, use __rlim64_t to declare it
1278 unconditionally.
1279
1280 2000-05-04 Jes Sorensen <jes@linuxcare.com>
1281
1282 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: Undef
1283 RLIM_INFINITY before defining it to avoid clash with kernel header
1284
1285 2000-05-03 Jes Sorensen <jes@linuxcare.com>
1286
1287 * sysdeps/unix/sysv/linux/ia64/bits/resource.h: New file.
1288
1289 2000-06-21 Ulrich Drepper <drepper@redhat.com>
1290
1291 * sysdeps/unix/sysv/linux/ia64/Versions: New file.
1292
1293 2000-06-21 Andreas Jaeger <aj@suse.de>
1294
1295 * stdio-common/temptest.c: Include <stdlib.h>.
1296 * stdio-common/tst-fileno.c: Likewise.
1297 * stdio-common/scanf4.c: Likewise.
1298 * stdio-common/scanf5.c: Likewise.
1299 * time/clocktest.c: Likewise.
1300 * posix/test-vfork.c: Likewise.
1301 * posix/globtest.c: Likewise.
1302 * io/test-utime.c: Likewise.
1303 * wctype/test_wcfuncs.c: Likewise.
1304 * crypt/cert.c: Likewise.
1305
1306 * stdio-common/tst-printfsz.c: Include <string.h>.
1307 * libio/tst_swscanf.c: Likewise.
1308 * libio/tst_wscanf.c: Likewise.
1309 * posix/runtests.c: Likewise.
1310 * posix/tst-getaddrinfo.c: Likewise.
1311 * posix/wordexp-test.c: Likewise.
1312 * misc/tst-efgcvt.c: Likewise.
1313
1314 * stdlib/tst-xpg-basename.c: Include <stdlib.h> and <string.h>.
1315 * nss/test-netdb.c: Likewise.
1316
1317 * sysdeps/unix/sysv/linux/configure.in: Add check for minimal
1318 supported kernel for MIPS.
1319
1320 * elf/vismod2.c: Include <stdlib.h> for abort prototype.
1321 * rt/aio_suspend.c: Likewise.
1322
1323 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1324
1325 * math/libm-test.inc: Include <string.h>.
1326
1327 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1328
1329 * sysdeps/unix/sysv/linux/ia64/syscalls.list: New file.
1330
1331 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1332
1333 * sysdeps/unix/sysv/linux/ia64/machine-gmon.h: New file.
1334 * sysdeps/unix/sysv/linux/ia64/profil-counter.h: New file.
1335
1336 2000-06-20 David Mosberger-Tang <davidm@hpl.hp.com>
1337
1338 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: New file.
1339
1340 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1341
1342 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Fix typo.
1343
1344 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1345
1346 * locale/programs/ld-collate.c (insert_value): Now take string and
1347 length instead of struct token* parameter. Adjust use of token.
1348 (handle_ellipsis): Likewise.
1349 (collate_read): Allow <Uxxxx> names and transform them into names
1350 to be passed to insert_value and handle_ellipsis.
1351
1352 * locale/programs/ld-ctype.c (uninames): New array with names of
1353 digits in <Uxxxxxxxx> format.
1354 (ctype_finish): Correct search for space character value. Likewise
1355 for default outdigits values.
1356
1357 2000-06-20 Greg McGary <greg@mcgary.org>
1358
1359 * Makerules (objects): Add BP thunks.
1360
1361 2000-06-20 Ulrich Drepper <drepper@redhat.com>
1362
1363 * locale/programs/charmap.c (parse_charmap): Handle UCS names also
1364 in width definitions.
1365
1366 2000-06-20 Andreas Jaeger <aj@suse.de>
1367
1368 * sysdeps/mips/fpu/libm-test-ulps: New file.
1369
1370 * sysdeps/mips/fpu/fesetenv.c (__fesetenv): Flush fpu pipeline
1371 first.
1372
1373 * sysdeps/mips/fpu/feholdexcpt.c: New file.
1374
1375 * sysdeps/mips/fpu/fraiseexcpt.c: New file.
1376
1377 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1378
1379 * iconv/gconv_builtin.c (BUILTIN_TRANSFORMATION): Update for
1380 change in gconv_builtin.h.
1381
1382 * malloc/Makefile: Change all references to memprof into memusage.
1383 * malloc/memprof.c: Rename to...
1384 * malloc/memusage.c: ...this. New file.
1385 * malloc/memprof.sh: Rename to...
1386 * malloc/memusage.sh: ...this. New file.
1387 * malloc/memprofstat.c: Rename to...
1388 * malloc/memusagestat.c: ...this. New file.
1389 * sysdeps/alpha/memprof.h: Rename to..
1390 * sysdeps/alpha/memusage.h: ...this. New file.
1391 * sysdeps/arm/memprof.h: Rename to..
1392 * sysdeps/arm/memusage.h: ...this. New file.
1393 * sysdeps/generic/memprof.h: Rename to..
1394 * sysdeps/generic/memusage.h: ...this. New file.
1395 * sysdeps/i386/memprof.h: Rename to..
1396 * sysdeps/i386/memusage.h: ...this. New file.
1397 * sysdeps/ia64/memprof.h: Rename to..
1398 * sysdeps/ia64/memusage.h: ...this. New file.
1399 * sysdeps/m68k/memprof.h: Rename to..
1400 * sysdeps/m68k/memusage.h: ...this. New file.
1401 * sysdeps/mips/memprof.h: Rename to..
1402 * sysdeps/mips/memusage.h: ...this. New file.
1403 * sysdeps/powerpc/memprof.h: Rename to..
1404 * sysdeps/powerpc/memusage.h: ...this. New file.
1405 * sysdeps/sparc/memprof.h: Rename to..
1406 * sysdeps/sparc/memusage.h: ...this. New file.
1407 * sysdeps/sh/memprof.h: Rename to..
1408 * sysdeps/sh/memusage.h: ...this. New file.
1409
1410 * elf/sprof.c (print_version): Update year.
1411
1412 * elf/sprof.c (load_shobj): Don't always add load address to dynamic
1413 table entry values. Use D_PTR.
1414 * elf/dl-reloc.c (_dl_relocate_object): Don't start profiling weird
1415 binaries without PLT. Patches by James Mathiesen <james@curl.com>.
1416
1417 2000-06-20 Jes Sorensen <jes@linuxcare.com>
1418
1419 * sysdeps/unix/sysv/linux/ia64/Makefile: New file.
1420 * sysdeps/unix/sysv/linux/ia64/sys/io.h: New file.
1421 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: New file.
1422 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: New file.
1423
1424 2000-05-05 Jes Sorensen <jes@linuxcare.com>
1425
1426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: New file.
1427
1428 2000-06-16 Jes Sorensen <jes@linuxcare.com>
1429
1430 * sysdeps/unix/sysv/linux/ia64/xstat.c: New file.
1431 * sysdeps/unix/sysv/linux/ia64/fxstat.c: New file.
1432 * sysdeps/unix/sysv/linux/ia64/lxstat.c: New file.
1433
1434 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: Deleted.
1435
1436 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Update after latest
1437 kernel change.
1438
1439 * sysdeps/unix/sysv/linux/ia64/bits/types.h: Make __ino_t,
1440 __nlink_t and __blkcnt_t 64 bit to accomodate new kernel stat data
1441 structure.
1442 Change __fsblkcnt_t and __fsfilcnt_t to 64 bit to match kernel
1443 implementation.
1444
1445 2000-06-15 Jes Sorensen <jes@linuxcare.com>
1446
1447 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Deleted.
1448
1449 2000-06-08 Jes Sorensen <jes@linuxcare.com>
1450
1451 * sysdeps/unix/sysv/linux/ia64/mmap64.c: New file.
1452
1453 2000-06-19 Ulrich Drepper <drepper@redhat.com>
1454
1455 * iconv/gconv_int.h (strict gconv_module): Remove all members
1456 associated with regular expressions. Use a simple string as the
1457 from name.
1458 * iconv/gconv_db.c: Remove code handling regular expressions.
1459 * iconv/gconv_conf.c: Likewise.
1460 * iconv/iconv_prog.c: Likewise.
1461 * iconv/gconv_builtin.h: Adjust for change in gconv_conf.c.
1462
1463 * iconv/gconv.h (__gconv_trans_fct): Add new parameter.
1464 General namespace cleanup.
1465 (struct __gconv_trans_data): Add next field.
1466 (struct __gconv_step_data): Make __trans a pointer.
1467 * iconv/gconv_conf.c: Split out code to find gconv directories from
1468 __gconv_read_conf in new functions.
1469 * iconv/gconv_int.h: Define new data structure and declare new
1470 functions for handling of gconv directory list.
1471 * iconv/gconv_open.c: Allow more than one error handling step being
1472 used. Call function to load error handling module if it is none
1473 of the builtin transformations.
1474 * iconv/gconv_close.c: Add code to free transliteration data.
1475 * iconv/gconv_trans.c: Add functions to load and unload modules
1476 implementing transliteration etc.
1477 * iconv/skeleton.c: Call all context functions now that more than
1478 one module is allowed.
1479 * iconv/loop.c (STANDARD_ERR_HANDLING): New macro.
1480 * iconv/gconv_simple.c: Use STANDARD_ERR_HANDLING macro for places
1481 where the full error handling using transliteration is needed.
1482 * iconvdata/8bit-gap.c: Likewise.
1483 * iconvdata/8bit-generic.c: Likewise.
1484 * iconvdata/ansi_x3.110.c: Likewise.
1485 * iconvdata/big5.c: Likewise.
1486 * iconvdata/big5hkscs.c: Likewise.
1487 * iconvdata/euc-cn.c: Likewise.
1488 * iconvdata/euc-jp.c: Likewise.
1489 * iconvdata/euc-kr.c: Likewise.
1490 * iconvdata/euc-tw.c: Likewise.
1491 * iconvdata/gbgbk.c: Likewise.
1492 * iconvdata/gbk.c: Likewise.
1493 * iconvdata/iso-2022-cn.c: Likewise.
1494 * iconvdata/iso-2022-jp.c: Likewise.
1495 * iconvdata/iso-2022-kr.c: Likewise.
1496 * iconvdata/iso646.c: Likewise.
1497 * iconvdata/iso8859-1.c: Likewise.
1498 * iconvdata/iso_6937-2.c: Likewise.
1499 * iconvdata/iso_6937.c: Likewise.
1500 * iconvdata/johab.c: Likewise.
1501 * iconvdata/sjis.c: Likewise.
1502 * iconvdata/t.61.c: Likewise.
1503 * iconvdata/uhc.c: Likewise.
1504 * iconvdata/unicode.c: Likewise.
1505 * iconvdata/utf-16.c: Likewise.
1506 * libio/iofwide.c: Reset __trans member of __gconv_trans_data
1507 structure correctly after last change.
1508 * wcsmbs/btowc.c: Likewise.
1509 * wcsmbs/mbrtowc.c: Likewise.
1510 * wcsmbs/mbsnrtowcs.c: Likewise.
1511 * wcsmbs/mbsrtowcs.c: Likewise.
1512 * wcsmbs/wcrtomb.c: Likewise.
1513 * wcsmbs/wcsnrtombs.c: Likewise.
1514 * wcsmbs/wcsrtombs.c: Likewise.
1515 * wcsmbs/wctob.c: Likewise.
1516
1517 * localedata/Makefile: Set -Wno-format for some files since gcc does
1518 not know all the format specifiers.
1519
1520 2000-06-18 Ulrich Drepper <drepper@redhat.com>
1521
1522 * locale/loadlocale.c (_nl_unload_locale): Remove a bit of
1523 unneeded code.
1524 * locale/lc-time.c (_nl_init_era_entries): Likewise.
1525
1526 2000-06-18 Andreas Jaeger <aj@suse.de>
1527
1528 * sysdeps/mips/dl-machine.h: Always use $25 as jump register.
1529 Patch by Ralf Baechle <ralf@uni-koblenz.de>.
1530
1531 2000-06-17 Ulrich Drepper <drepper@redhat.com>
1532
1533 * sysdeps/unix/sysv/linux/alpha/fpathconf.c: Define and use
1534 LINUX_LINK_MAX.
1535 * sysdeps/unix/sysv/linux/alpha/pathconf.c: Likewise.
1536
1537 * locale/programs/ld-ctype.c (ctype_output): Really write out
1538 mboutdigits information.
1539 * localedata/tst-trans.c: Add code to test printf's I flag with locale.
1540 * localedata/tst-trans.sh: Set GCONV_PATH for compilation environment.
1541 * localedata/tests/trans.def: Add outdigit information.
1542
1543 * localedata/tst-mbswcs3.c: Remove comment.
1544
1545 * stdio-common/vfprintf.c (vfprintf): Fix handling of I flag.
1546 * stdio-common/tiformat.c (sprint_ints): Add tests for I flag.
1547 * libio/tst_wprintf.c (main): Add test for I flag.
1548
1549 * iconv/gconv_trans.c: Implement handling if translit_ignore.
1550 * locale/langinfo.h: Add entries for translit_ignore information.
1551 * locale/categories.def: Add entries for new LC_CTYPE elements.
1552 * locale/C-ctype.c: Add initializers for new fields. Use NULL
1553 pointer instead of "" where possible.
1554 * locale/programs/ld-ctype.c: Write out translit_ignore information.
1555 * intl/Depend: Add localedata.
1556 * intl/tst-gettext.c: Call setlocale for LC_CTYPE.
1557 * intl/tst-gettext.sh: Set LOCPATH to localedata build dir.
1558
1559 2000-06-16 Ulrich Drepper <drepper@redhat.com>
1560
1561 * locale/langinfo.h: Add entries for default_missing information.
1562 * locale/C-ctype.c: Add initializers for new fields.
1563 * iconv/gconv_trans.c: If nothing matched, try to use default_missing
1564 information.
1565 * locale/categories.h: Add entries for all LC_CTYPE values.
1566 * locale/programs/ld-ctype.c (ctype_output): Write out default_missing
1567 information.
1568
1569 * localedata/tst-trans.c: Write out an error message if class is
1570 not found.
1571
1572 * iconv/gconv_int.h (norm_add_slashes): Optionally add given suffix.
1573 * iconv/gconv_open.c: Remove error handling specification from `from'
1574 character set name.
1575 * intl/loadmsgcat.c (_nl_load_domain): Call norm_add_slashes with
1576 new parameter to always enable transliteration.
1577 * locale/localeinfo.h (LIMAGIC): Bump number because of incompatible
1578 change.
1579 (struct locale_data): Add new members use_translit and options.
1580 * locale/findlocale.c (_nl_find_locale): Set use_translit flag is
1581 character set name contained modifier TRANSLIT.
1582 * locale/loadlocale.c (_nl_load_locale): Initialize new use_translit
1583 and options fields.
1584 (_nl_unload_locale): Free options string if necessary.
1585 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Enable translation if
1586 the locale names suggested this.
1587 * locale/C-address.c: Add two new initialilzers to adjust data
1588 structure for new format.
1589 * locale/C-collate.c: Likewise.
1590 * locale/C-ctype.c: Likewise.
1591 * locale/C-identification.c: Likewise.
1592 * locale/C-measurement.c: Likewise.
1593 * locale/C-messages.c: Likewise.
1594 * locale/C-monetary.c: Likewise.
1595 * locale/C-name.c: Likewise.
1596 * locale/C-numeric.c: Likewise.
1597 * locale/C-paper.c: Likewise.
1598 * locale/C-telephone.c: Likewise.
1599 * locale/C-time.c: Likewise.
1600
1601 * locale/setlocale.c: Add some more __builtin_expect.
1602
1603 2000-06-15 Ulrich Drepper <drepper@redhat.com>
1604
1605 * iconv/gconv.h (__gconv_fct): Change type of fifth parameter to
1606 unsigned char **.
1607 (__gconv_init_fct): Remove two parameters.
1608 * iconv/gconv_int.h (__gconv_transliterate): Renamed from
1609 gconv_transliterate. Remove two parameters.
1610 Change prototypes of builtin functions according to __gconv_fct change.
1611 * iconv/skeleton.c: Change type of fifth parameter. make sure it is
1612 != NULL only during error handling. Stop in this case after the
1613 conversion.
1614 * iconv/gconv_trans.c: Replace with real implementation for
1615 __gconv_transliterate.
1616 * iconv/gconv_open.c: Adjust for renaming of __gconv_transliterate.
1617 * iconv/gconv.c: Change calls to downstream functions once again.
1618 Use NULL for the fifth parameter instead of pointer to output buffer.
1619 * libio/iofwide.c: Likewise.
1620 * wcsmbs/btowc.c: Likewise.
1621 * wcsmbs/mbrtowc.c: Likewise.
1622 * wcsmbs/mbsnrtowcs.c: Likewise.
1623 * wcsmbs/mbsrtowcs.c: Likewise.
1624 * wcsmbs/wcrtomb.c: Likewise.
1625 * wcsmbs/wcsnrtombs.c: Likewise.
1626 * wcsmbs/wcsrtombs.c: Likewise.
1627 * wcsmbs/wctob.c: Likewise.
1628 * iconv/gconv_simple.c: Remove two parameters from error handling
1629 function call.
1630 * iconvdata/8bit-gap.c: Likewise.
1631 * iconvdata/8bit-generic.c: Likewise.
1632 * iconvdata/ansi_x3.110.c: Likewise.
1633 * iconvdata/big5.c: Likewise.
1634 * iconvdata/big5hkscs.c: Likewise.
1635 * iconvdata/euc-cn.c: Likewise.
1636 * iconvdata/euc-jp.c: Likewise.
1637 * iconvdata/euc-kr.c: Likewise.
1638 * iconvdata/euc-tw.c: Likewise.
1639 * iconvdata/gbgbk.c: Likewise.
1640 * iconvdata/gbk.c: Likewise.
1641 * iconvdata/iso-2022-cn.c: Likewise.
1642 * iconvdata/iso-2022-jp.c: Likewise.
1643 * iconvdata/iso-2022-kr.c: Likewise.
1644 * iconvdata/iso646.c: Likewise.
1645 * iconvdata/iso8859-1.c: Likewise.
1646 * iconvdata/iso_6937-2.c: Likewise.
1647 * iconvdata/iso_6937.c: Likewise.
1648 * iconvdata/johab.c: Likewise.
1649 * iconvdata/sjis.c: Likewise.
1650 * iconvdata/t.61.c: Likewise.
1651 * iconvdata/uhc.c: Likewise.
1652 * iconvdata/unicode.c: Likewise.
1653 * iconvdata/utf-16.c: Likewise.
1654
1655 2000-06-15 Greg McGary <greg@mcgary.org>
1656
1657 * sysdeps/unix/make-syscalls.sh: Strip leading whitespace from lhs
1658 of callnum assignment. Tolerate callnum expressions containing
1659 parens.
1660
1661 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1662
1663 * login/Makefile (utmpd): Remove rule to build utmpd.
1664
1665 * csu/Versions: Move libgcc frame handling functions from here...
1666 * sysdeps/unix/sysv/linux/alpha/Versions: ...to here...
1667 * sysdeps/unix/sysv/linux/arm/Versions: ...to here...
1668 * sysdeps/unix/sysv/linux/i386/Versions: ...to here...
1669 * sysdeps/unix/sysv/linux/m68k/Versions: ...to here...
1670 * sysdeps/unix/sysv/linux/powerpc/Versions: ...to here...
1671 * sysdeps/unix/sysv/linux/sparc/sparc32/Versions: ...and here.
1672 New file.
1673 * sysdeps/mach/hurd/i386/Versions: ...and here. New file.
1674
1675 * locale/programs/ld-ctype.c (allocate_arrays): Correct a comment.
1676
1677 * misc/syslog.c (vsyslog): Initialize msgoff in all cases.
1678
1679 2000-06-14 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1680
1681 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Remove definitions for backward
1682 compatibility.
1683 * sysdeps/sh/sh4/fpu/fegetenv.c: Likewise.
1684 * sysdeps/sh/sh4/fpu/fesetenv.c: Likewise.
1685 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: Likewise.
1686 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: Likewise.
1687
1688 2000-06-14 Jakub Jelinek <jakub@redhat.com>
1689
1690 * include/libc-symbols.h (link_warning): If HAVE_SECTION_QUOTES is
1691 defined, terminate quotes and read them after the comment char.
1692 * configure.in (HAVE_SECTION_QUOTES): Test whether
1693 __attribute__((section ("x"))) puts quotes around x or not.
1694 * config.h.in (HAVE_SECTION_QUOTES): Add.
1695 * configure: Rebuilt.
1696
1697 2000-06-14 Andreas Jaeger <aj@suse.de>
1698
1699 * sysdeps/unix/sysv/linux/configure.in: Set libc_cv_sysconfdir
1700 depending on the configure option --sysconfdir.
1701 Closes PR libc/1762.
1702 Patch by Andreas Schwab <schwab@suse.de>.
1703
1704 * sysdeps/mips/dl-machine.h: Pass finalizer correctly to user
1705 entry point.
1706 Reported by Jim Pick <jim@jimpick.com>.
1707
1708 2000-06-14 Ulrich Drepper <drepper@redhat.com>
1709
1710 * misc/syslog.c (vsyslog): Allow open_memstream to fail without
1711 crashing the application. Emit some simple error message.
1712 Reported by mju@panasas.com [PR libc/1769].
1713
1714 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1715
1716 * malloc/Makefile (distribute): Add memprof.sh and memprofstat.c.
1717
1718 * crypt/Makefile (distribute): Add md5.h.
1719
1720 * Makefile (distribute): Add include/shlib-compat.h.
1721
1722 * Make-dist: Search for tests also in sysdeps hierachy.
1723
1724 * crypt/Makefile (distribute): Add ufc-crypt.h, crypt-private.h,
1725 ufc.c, speeds.c, README.ufc-crypt, and Banner.
1726
1727 * sysdeps/sparc/Subdirs: New file.
1728
1729 * locale/Makefile (distribute): Add weightwc.h and
1730 programs/localedef.h.
1731
1732 * time/Makefile (distribute): Add datemsk.
1733
1734 * sysdeps/ia64/Dist: Add softpipe.h.
1735
1736 * sysdeps/unix/sysv/aix/Dist: New file.
1737
1738 * posix/setpgrp.c: Moved to...
1739 * sysdeps/generic/setpgrp.c: ...here. New file.
1740 * io/mknod.c: Moved to...
1741 * sysdeps/generic/mknod.c: ...here. New file.
1742
1743 * sysdeps/unix/sysv/linux/ia64/Dist: New file.
1744
1745 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/procfs.h.
1746
1747 * sysdeps/unix/sysv/linux/arm/Dist: Add oldgetrlimit64.c.
1748
1749 * sysdeps/powerpc/Dist: Add fprrest.S, fprsave.S, gprsave1.S,
1750 gprsave0.S, gprrest1.S, and gprrest0.S.
1751
1752 * sysdeps/generic/Dist: Add bp-thunks.h, bp-sym.h, and bp-start.h.
1753
1754 * posix/Makefile (routines): Add spawnattr_getsigmask,
1755 spawnattr_getschedpolicy, spawnattr_getschedparam,
1756 spawnattr_setsigmask, spawnattr_setschedpolicy, and
1757 spawnattr_setschedparam.
1758 * posix/Versions: Add posix_spawnattr_getschedpolicy,
1759 posix_spawnattr_setschedpolicy, posix_spawnattr_getschedparam, and
1760 posix_spawnattr_setschedparam.
1761
1762 * posix/spawnattr_setschedparam.c: Fix typo.
1763
1764 * posix/spawnattr_setsigmask.c (posix_spawnattr_setsigmask):
1765 Correct typo.
1766
1767 * login/programs/utmpd.c: Removed.
1768 * login/programs/utmpd.h: Removed.
1769 * login/programs/utmpd-private.h: Removed.
1770
1771 * Makefile (distribute): Add include/db_185.h and include/db.h.
1772
1773 * iconvdata/Makefile (distribute): Add iso-ir-165.c and
1774 iso-ir-165.h.
1775
1776 * elf/Makefile (distribute): Add missing files.
1777
1778 * dlfcn/Makefile: Add back rules to include eval in libdl.so.
1779 * elf/eval.c: Moved to...
1780 * dlfcn/eval.c: ...here. New file.
1781
1782 * Makefile (distribute): Also distribute ChangeLog.1?.
1783
1784 * Make-dist (+tsrcs): Remove .args handling here as well.
1785
1786 * rt/Makefile (tests): Add tst-timer.
1787 * sysdeps/generic/tst-timer.c: New file.
1788
1789 * Makerules (sources): Don't add BP sources here.
1790
1791 * login/Makefile (distribute): Remove xtmp.h.
1792
1793 * iconv/iconv_prog.c (main): Fix appending slashes if omit_invalid
1794 is true. Reported by Bruno Haible <haible@ilog.fr>.
1795
1796 2000-06-13 Andreas Jaeger <aj@suse.de>
1797
1798 * sysdeps/mips/elf/start.S (ENTRY_POINT): Remove mips64 defines.
1799 Patch by Ralf Baechle <ralf@gnu.org>.
1800
1801 2000-06-13 Ulrich Drepper <drepper@redhat.com>
1802
1803 * sysdeps/unix/sysv/linux/syscalls.list: Add parameter information
1804 for mincore syscall.
1805
1806 * misc/sys/cdefs.h: Define __bounded and __unbounded if
1807 __BOUNDED_POINTERS__ is not defined.
1808
1809 2000-06-07 Greg McGary <greg@mcgary.org>
1810
1811 * sysdeps/generic/bp-sym.h: New file.
1812 * sysdeps/generic/bp-start.h: New file.
1813 * sysdeps/i386/elf/start.S: Designate BP symbols.
1814 * sysdeps/generic/libc-start.c: Wrap bounds around
1815 argv & envp and each of their string members.
1816
1817 2000-06-07 Greg McGary <greg@mcgary.org>
1818
1819 * sysdeps/unix/make-syscalls.sh: Add comments to
1820 output that aid debugging & comprehension.
1821 Map simple syscall signatures to number of args.
1822 Generate BP syscall thunk definitions.
1823 * sysdeps/generic/bp-thunks.h: New file.
1824 * sysdeps/unix/syscalls.list: Replace arg-count with
1825 simple return+arg signature.
1826 * sysdeps/unix/common/syscalls.list: Likewise.
1827 * sysdeps/unix/inet/syscalls.list: Likewise.
1828 * sysdeps/unix/mman/syscalls.list: Likewise.
1829 * sysdeps/unix/sysv/syscalls.list: Likewise.
1830 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1832
1833 2000-06-07 Greg McGary <greg@mcgary.org>
1834
1835 * Makeconfig (CPPFLAGS-.ob): Pass -fbounded-pointers
1836 for all files *.[cS].
1837 (CFLAGS-.ob): Don't optimize sibling calls.
1838 (bppfx): New variable.
1839 * Makerules (elide-bp-thunks): New variable.
1840 (elide-routines.*): Elide BP-* files for all but *.ob.
1841 (sources): Include bp-thunks.
1842
1843 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1844
1845 * iconv/gconv_simple.c: Remove unnecessary prototype.
1846
1847 * iconv/gconv_trans.c: Pretty print.
1848
1849 * elf/elf.h (R_SH_NUM): Got accidently dropped.
1850
1851 * sysdeps/unix/sysv/linux/configure.in: Improve handling of
1852 minimal kernel versions. Add information about IA-64 kernel.
1853
1854 * sysdeps/unix/sysv/linux/configure.in: Allow architecture
1855 specific minimal supported kernel versions to be specified.
1856
1857 * libio/iofwide.c (_IO_fwide): Initialize transliteration part of
1858 step data structure.
1859 * wcsmbs/btowc.c: Likewise.
1860 * wcsmbs/mbrtowc.c: Likewise.
1861 * wcsmbs/mbsnrtowcs.c: Likewise.
1862 * wcsmbs/mbsrtowcs.c: Likewise.
1863 * wcsmbs/wcrtomb.c: Likewise.
1864 * wcsmbs/wcsnrtombs.c: Likewise.
1865 * wcsmbs/wcsrtombs.c: Likewise.
1866 * wcsmbs/wctob.c: Likewise.
1867
1868 * sysdeps/unix/sysv/linux/sh/Dist: There is no ioperm file.
1869 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: Removed.
1870
1871 * shlib-versions: Earliest backward compatible version for SH is 2.2.
1872
1873 * misc/sys/cdefs.h: Remove one more __P.
1874
1875 * sysvipc/sys/shm.h: Move __getpagesize declaration inside extern C.
1876 Reported by HJ Lu.
1877
1878 * sysdeps/sh/sh3/bits/setjmp.h: Removed.
1879 * sysdeps/sh/sh4/bits/setjmp.h: Moved to...
1880 * sysdeps/sh/bits/setjmp.h: ...here. New file.
1881
1882 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1883 Yutaka Niibe <gniibe@chroot.org>
1884
1885 * configure.in: Add machine sh3, sh4.
1886 * elf/elf.h: Add SH specific declarations of relocations.
1887 * shlib-versions: Add sh*-*-linux* cases.
1888
1889 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1890
1891 * sysdeps/sh/sh3/bsd-_setjmp.S: Move to...
1892 * sysdeps/sh/bsd-_setjmp.S: ...here. New file.
1893 * sysdeps/sh/sh4/bsd-_setjmp.S: Removed.
1894 * sysdeps/sh/sh3/bsd-setjmp.S: Move to...
1895 * sysdeps/sh/bsd-setjmp.S: ...here. New file.
1896 * sysdeps/sh/sh4/bsd-setjmp.S: Removed.
1897
1898 * sysdeps/sh/dl-machine.h (FGR_SAVE): Protect using HAVE_FPU macro
1899 instead of KERNEL_MATH_EMULATION.
1900 * sysdeps/sh/sh4/dl-machine.h: Define HAVE_FPU not
1901 KERNEL_MATH_EMULATION.
1902
1903 * sysdeps/sh/Dist: Removed. There is no ieee754.h file.
1904 * sysdeps/sh/sh3/dl-machine.h: Moved to...
1905 * sysdeps/sh/dl-machine.h: ...here. New file.
1906 * sysdeps/sh/sh4/dl-machine.h: Simply define KERNEL_MATH_EMULATION
1907 and include generic SH version.
1908 * sysdeps/sh/sh3/bits/endian.h: Move to...
1909 * sysdeps/sh/bits/endian.h: ...here. New file.
1910 * sysdeps/sh/sh4/bits/endian.h: Removed.
1911 * sysdeps/sh/sh3/bits/huge_val.h: Move to...
1912 * sysdeps/sh/bits/huge_val.h: ...here. New file.
1913 * sysdeps/sh/sh4/bits/huge_val.h: Removed.
1914
1915 * include/libc-symbols.h (link_warning): Work around a change in
1916 GAS which warns about changing section attributes.
1917 Proposed by Nick Clifton <nickc@redhat.com>.
1918
1919 2000-06-12 H.J. Lu <hjl@gnu.org>
1920
1921 * sysdeps/i386/fpu/bits/mathinline.h (__sgn1l): Add __extension__.
1922
1923 2000-06-11 H.J. Lu <hjl@gnu.org>
1924
1925 * sysdeps/i386/fpu/Versions: New file.
1926
1927 2000-06-12 Ulrich Drepper <drepper@redhat.com>
1928
1929 * iconv/gconv.h (__gconv_trans_context_fct): Remove two
1930 parameters.
1931 * iconv/skeleton.c (FUNCTION_NAME): Call __trans_context_fct if it
1932 exists.
1933
1934 2000-06-12 Jes Sorensen <jes@linuxcare.com>
1935
1936 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: New file.
1937 * sysdeps/unix/sysv/linux/ia64/xstatconv.c: New file.
1938 * sysdeps/unix/sysv/linux/ia64/bits/stat.h: New file.
1939
1940 * sysdeps/unix/sysv/linux/ia64/fxstat64.c: New file.
1941 * sysdeps/unix/sysv/linux/ia64/lxstat64.c: New file.
1942 * sysdeps/unix/sysv/linux/ia64/xstat64.c: New file.
1943
1944 2000-06-12 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
1945 Yutaka Niibe <gniibe@chroot.org>
1946
1947 * sysdeps/sh/Dist: New file.
1948 * sysdeps/sh/Implies: New file.
1949 * sysdeps/sh/elf/initfini.c: New file.
1950 * sysdeps/sh/gmp-mparam.h: New file.
1951 * sysdeps/sh/init-first.c: New file.
1952 * sysdeps/sh/machine-gmon.h: New file.
1953 * sysdeps/sh/memcpy.S: New file.
1954 * sysdeps/sh/memprof.h: New file.
1955 * sysdeps/sh/memset.S: New file.
1956 * sysdeps/sh/sh3/__longjmp.S: New file.
1957 * sysdeps/sh/sh3/bits/endian.h: New file.
1958 * sysdeps/sh/sh3/bits/huge_val.h: New file.
1959 * sysdeps/sh/sh3/bits/setjmp.h: New file.
1960 * sysdeps/sh/sh3/bsd-_setjmp.S: New file.
1961 * sysdeps/sh/sh3/bsd-setjmp.S: New file.
1962 * sysdeps/sh/sh3/dl-machine.h: New file.
1963 * sysdeps/sh/sh3/setjmp.S: New file.
1964 * sysdeps/sh/sh4/__longjmp.S: New file.
1965 * sysdeps/sh/sh4/bits/endian.h: New file.
1966 * sysdeps/sh/sh4/bits/huge_val.h: New file.
1967 * sysdeps/sh/sh4/bits/setjmp.h: New file.
1968 * sysdeps/sh/sh4/bsd-_setjmp.S: New file.
1969 * sysdeps/sh/sh4/bsd-setjmp.S: New file.
1970 * sysdeps/sh/sh4/dl-machine.h: New file.
1971 * sysdeps/sh/sh4/fpu/bits/fenv.h: New file.
1972 * sysdeps/sh/sh4/fpu/bits/huge_val.h: New file.
1973 * sysdeps/sh/sh4/fpu/bits/mathdef.h: New file.
1974 * sysdeps/sh/sh4/fpu/fclrexcpt.c: New file.
1975 * sysdeps/sh/sh4/fpu/fegetenv.c: New file.
1976 * sysdeps/sh/sh4/fpu/fegetround.c: New file.
1977 * sysdeps/sh/sh4/fpu/feholdexcpt.c: New file.
1978 * sysdeps/sh/sh4/fpu/fesetenv.c: New file.
1979 * sysdeps/sh/sh4/fpu/fesetround.c: New file.
1980 * sysdeps/sh/sh4/fpu/fpu_control.h: New file.
1981 * sysdeps/sh/sh4/fpu/fraiseexcpt.c: New file.
1982 * sysdeps/sh/sh4/fpu/fsetexcptflg.c: New file.
1983 * sysdeps/sh/sh4/fpu/ftestexcept.c: New file.
1984 * sysdeps/sh/sh4/fpu/libm-test-ulps: New file.
1985 * sysdeps/sh/sh4/setjmp.S: New file.
1986 * sysdeps/sh/elf/start.S: New file.
1987 * sysdeps/sh/sys/ucontext.h: New file.
1988 * sysdeps/sh/strlen.S: New file.
1989 * sysdeps/sh/sysdep.h: New file.
1990 * sysdeps/unix/sh/sysdep.S: New file.
1991 * sysdeps/unix/sh/sysdep.h: New file.
1992 * sysdeps/unix/sysv/linux/sh/Dist: New file.
1993 * sysdeps/unix/sysv/linux/sh/Makefile: New file.
1994 * sysdeps/unix/sysv/linux/sh/Versions: New file.
1995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: New file.
1996 * sysdeps/unix/sysv/linux/sh/bits/resource.h: New file.
1997 * sysdeps/unix/sysv/linux/sh/brk.c: New file.
1998 * sysdeps/unix/sysv/linux/sh/chown.c: New file.
1999 * sysdeps/unix/sysv/linux/sh/clone.S: New file.
2000 * sysdeps/unix/sysv/linux/sh/fchown.c: New file.
2001 * sysdeps/unix/sysv/linux/sh/fxstat.c: New file.
2002 * sysdeps/unix/sysv/linux/sh/getegid.c: New file.
2003 * sysdeps/unix/sysv/linux/sh/geteuid.c: New file.
2004 * sysdeps/unix/sysv/linux/sh/getgroups.c: New file.
2005 * sysdeps/unix/sysv/linux/sh/getresgid.c: New file.
2006 * sysdeps/unix/sysv/linux/sh/getresuid.c: New file.
2007 * sysdeps/unix/sysv/linux/sh/getrlimit.c: New file.
2008 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: New file.
2009 * sysdeps/unix/sysv/linux/sh/getuid.c: New file.
2010 * sysdeps/unix/sysv/linux/sh/lchown.c: New file.
2011 * sysdeps/unix/sysv/linux/sh/lxstat.c: New file.
2012 * sysdeps/unix/sysv/linux/sh/msgctl.c: New file.
2013 * sysdeps/unix/sysv/linux/sh/oldgetrlimit64.c: New file.
2014 * sysdeps/unix/sysv/linux/sh/pipe.S: New file.
2015 * sysdeps/unix/sysv/linux/sh/profil-counter.h: New file.
2016 * sysdeps/unix/sysv/linux/sh/semctl.c: New file.
2017 * sysdeps/unix/sysv/linux/sh/setegid.c: New file.
2018 * sysdeps/unix/sysv/linux/sh/seteuid.c: New file.
2019 * sysdeps/unix/sysv/linux/sh/setfsgid.c: New file.
2020 * sysdeps/unix/sysv/linux/sh/setfsuid.c: New file.
2021 * sysdeps/unix/sysv/linux/sh/setgid.c: New file.
2022 * sysdeps/unix/sysv/linux/sh/setgroups.c: New file.
2023 * sysdeps/unix/sysv/linux/sh/setregid.c: New file.
2024 * sysdeps/unix/sysv/linux/sh/setresgid.c: New file.
2025 * sysdeps/unix/sysv/linux/sh/setresuid.c: New file.
2026 * sysdeps/unix/sysv/linux/sh/setreuid.c: New file.
2027 * sysdeps/unix/sysv/linux/sh/setrlimit.c: New file.
2028 * sysdeps/unix/sysv/linux/sh/setuid.c: New file.
2029 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: New file.
2030 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: New file.
2031 * sysdeps/unix/sysv/linux/sh/shmctl.c: New file.
2032 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h: New file.
2033 * sysdeps/unix/sysv/linux/sh/socket.S: New file.
2034 * sysdeps/unix/sysv/linux/sh/sys/io.h: New file.
2035 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2036 * sysdeps/unix/sysv/linux/sh/sys/user.h: New file.
2037 * sysdeps/unix/sysv/linux/sh/syscalls.list: New file.
2038 * sysdeps/unix/sysv/linux/sh/sysdep.S: New file.
2039 * sysdeps/unix/sysv/linux/sh/sysdep.h: New file.
2040 * sysdeps/unix/sysv/linux/sh/vfork.S: New file.
2041 * sysdeps/unix/sysv/linux/sh/xstat.c: New file.
2042
2043 2000-06-12 Ulrich Drepper <drepper@redhat.com>
2044
2045 * Rules (%.out): Define GCONV_PATH in the environment.
2046 * assert/Depend: New file.
2047 * iconvdata/Depend: New file.
2048 * intl/Depend: New file.
2049 * timezone/Makefile (build-testdata): Add GCONV_PATH to environment.
2050 * intl/tst-gettext.sh: Likewise.
2051 * iconv/Makefile (routines): Add gconv_trans.
2052 * iconv/gconv_trans.c: New file.
2053 * iconv/gconv.h (struct __gconv_trans_data): New type.
2054 (__gconv_fct): New parameter with starting position in output buffer.
2055 (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct,
2056 __gconv_trans_init_fct, __gconv_trans_end_fct): New types.
2057 (struct __gconv_step): Add new member __trans.
2058 * iconv/gconv_int.h: Pretty print prototypes.
2059 (gconv_transliterate): New prototype.
2060 (__BUILTIN_TRANS): Update for new conversion function interface.
2061 * iconv/gconv.c (__gconv): Pass new parameter to conversion function.
2062 * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix
2063 in names, find appropriate function, and install in the conversion
2064 steps it can be used.
2065 * iconv/skeleton.c: Add additional parameter for beginning of output
2066 buffer. Change calls of downstream functions.
2067 * iconv/loop.c: Change loop function interface completely. Pass in
2068 step and step_data structure. Remove optimization for BODY with
2069 NEED_LENGTH_TEST == 0.
2070 * iconv/gconv_simple.c: Update interfaces of functions. Insert
2071 appropriate error handling code to use transliteration steps. Remove
2072 optimization for BODY with NEED_LENGTH_TEST == 0.
2073 * iconvdata/8bit-gap.c: Likewise.
2074 * iconvdata/8bit-generic.c: Likewise.
2075 * iconvdata/ansi_x3.110.c: Likewise.
2076 * iconvdata/big5.c: Likewise.
2077 * iconvdata/big5hkscs.c: Likewise.
2078 * iconvdata/euc-cn.c: Likewise.
2079 * iconvdata/euc-jp.c: Likewise.
2080 * iconvdata/euc-kr.c: Likewise.
2081 * iconvdata/euc-tw.c: Likewise.
2082 * iconvdata/gbgbk.c: Likewise.
2083 * iconvdata/gbk.c: Likewise.
2084 * iconvdata/iso-2022-cn.c: Likewise.
2085 * iconvdata/iso-2022-jp.c: Likewise.
2086 * iconvdata/iso-2022-kr.c: Likewise.
2087 * iconvdata/iso646.c: Likewise.
2088 * iconvdata/iso8859-1.c: Likewise.
2089 * iconvdata/iso_6937-2.c: Likewise.
2090 * iconvdata/iso_6937.c: Likewise.
2091 * iconvdata/johab.c: Likewise.
2092 * iconvdata/sjis.c: Likewise.
2093 * iconvdata/t.61.c: Likewise.
2094 * iconvdata/uhc.c: Likewise.
2095 * iconvdata/unicode.c: Likewise.
2096 * iconvdata/utf-16.c: Likewise.
2097 * libio/iofwide.c: Adjust to new interface of gconv functions. Use
2098 DL_CALL_FCT.
2099 * wcsmbs/btowc.c: Likewise.
2100 * wcsmbs/mbrtowc.c: Likewise.
2101 * wcsmbs/mbsnrtowcs.c: Likewise.
2102 * wcsmbs/mbsrtowcs.c: Likewise.
2103 * wcsmbs/wcrtomb.c: Likewise.
2104 * wcsmbs/wcsnrtombs.c: Likewise.
2105 * wcsmbs/wcsrtombs.c: Likewise.
2106 * wcsmbs/wctob.c: Likewise.
2107
2108 2000-04-11 Geoff Keating <geoffk@cygnus.com>
2109
2110 * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the
2111 other header files. Mention about 128-byte cache line sizes.
2112 (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt.
2113 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update
2114 for current calling sequence.
2115 * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment.
2116
2117 * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly.
2118 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2119
2120 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit
2121 and setrlimit syscalls for backwards compatibility.
2122
2123 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2124
2125 * iconv/skeleton.c: Rename converted written to correcter name
2126 irreversible.
2127 * iconv/gconv.c: Rename converted variable to correcter name
2128 irreversible.
2129 * iconv/gconv_int.h: Likewise.
2130 * iconv/gconv_simple.c: Likewise.
2131 * iconv/iconv.c: Likewise.
2132 * iconv/loop.c: Likewise.
2133 * iconvdata/8bit-gap.c: Likewise.
2134 * iconvdata/8bit-generic.c: Likewise.
2135 * iconvdata/ansi_x3.110.c: Likewise.
2136 * iconvdata/big5.c: Likewise.
2137 * iconvdata/big5hkscs.c: Likewise.
2138 * iconvdata/euc-cn.c: Likewise.
2139 * iconvdata/euc-jp.c: Likewise.
2140 * iconvdata/euc-kr.c: Likewise.
2141 * iconvdata/gbgbk.c: Likewise.
2142 * iconvdata/gbk.c: Likewise.
2143 * iconvdata/iso-2022-cn.c: Likewise.
2144 * iconvdata/iso-2022-jp.c: Likewise.
2145 * iconvdata/iso-2022-kr.c: Likewise.
2146 * iconvdata/iso646.c: Likewise.
2147 * iconvdata/iso8859-1.c: Likewise.
2148 * iconvdata/iso_6937-2.c: Likewise.
2149 * iconvdata/iso_6937.c: Likewise.
2150 * iconvdata/johab.c: Likewise.
2151 * iconvdata/sjis.c: Likewise.
2152 * iconvdata/t.61.c: Likewise.
2153 * iconvdata/uhc.c: Likewise.
2154 * iconvdata/unicode.c: Likewise.
2155 * iconvdata/utf-16.c: Likewise.
2156
2157 * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark
2158 __cmsg_data field with __extension__.
2159
2160 2000-06-10 David Mosberger <davidm@hpl.hp.com>
2161
2162 * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2163
2164 2000-06-10 Ulrich Drepper <drepper@redhat.com>
2165
2166 * iconv/gconv_simple.c: Fix various small bugs in several
2167 functions.
2168
2169 * iconv/loop.c: Fix comment.
2170
2171 2000-06-10 Jakub Jelinek <jakub@redhat.com>
2172
2173 * elf/link.h: Remove libc internal declarations.
2174 * include/link.h: Move them here.
2175
2176 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2177
2178 * sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file.
2179 Patch by Dan Pop <Dan.Pop@cern.ch>.
2180
2181 Rewrite error message handling.
2182 * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to
2183 _dl_catch_error.
2184 * elf/dl-error (struct catch): Add objname member.
2185 (_dl_signal_error): Take new parameter with object name. When
2186 passing message on simply store object name and duplicate error
2187 message.
2188 (_dl_catch_error): Take new parameter. Store object name in the
2189 place pointed to.
2190 * include/dlfcn.h: Adjust _dl_catch_error prototype.
2191 * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype.
2192 * dlfcn/dlerror.c (struct dl_action_result): Add objname member.
2193 (dlerror): Add objname to asprintf() parameters.
2194 (_dl_error_run): Pass new parameter to _dl_catch_error.
2195 * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error.
2196 * elf/dl-open.c (_dl_open): Likewise.
2197 * elf/rtld.c (dl_main): Likewise.
2198 * elf/dl-close.c: Mark error messages with N_().
2199 * elf/dl-deps.c: Likewise.
2200 * elf/dl-error.c: Likewise.
2201 * elf/dl-load.c: Likewise.
2202 * elf/dl-open.c: Likewise.
2203 * elf/dl-reloc.c: Likewise.
2204 * elf/dl-support.c: Likewise.
2205 * elf/dl-sym.c: Likewise.
2206 * elf/dl-version.c: Likewise.
2207 * elf/dl-lookup.c: Add comments about problems with error message
2208 translations.
2209 * elf/dl-reloc.c: Likewise.
2210 * elf/dl-version.c: Likewise.
2211
2212 2000-06-09 H.J. Lu <hjl@gnu.org>
2213
2214 * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL
2215 after freeing it.
2216
2217 * dlfcn/Makefile (distribute): Add failtestmod.c.
2218 (tests): Add failtest.
2219 Add rules to build and run failtest.
2220 * dlfcn/failtest.c: New file.
2221 * dlfcn/failtestmod.c: New file.
2222
2223 2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com>
2224
2225 * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file
2226 * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file
2227 * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file
2228 * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file
2229 * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2230
2231 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2232
2233 * sysdeps/unix/sysv/linux/ia64/brk.S: New file.
2234 * sysdeps/unix/sysv/linux/ia64/pipe.S: New file.
2235
2236 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2237 Ulrich Drepper <drepper@redhat.com>
2238
2239 * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file.
2240 * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file.
2241 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file.
2242 * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file.
2243 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file.
2244 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2245
2246 2000-06-09 Ulrich Drepper <drepper@redhat.com>
2247
2248 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder
2249 to find correct mount point despite wrong information from the
2250 kernel.
2251
2252 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2253
2254 * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain
2255 the address of a symbol so function pointers are handled properly.
2256
2257 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2258
2259 * sysdeps/i386/Dist: Add bp-asm.h.
2260
2261 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use
2262 defaultdir variable instead of "/var/shm" everywhere.
2263 (defaultdir): Change to /dev/shm/.
2264
2265 2000-06-08 Greg McGary <greg@mcgary.org>
2266
2267 * sysdeps/i386/bp-asm.h: New file.
2268 * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack
2269 offsets. Add ENTER/LEAVE macros for optionally maintaining
2270 frame-pointer chain when debugging.
2271 * sysdeps/i386/add_n.S: Likewise.
2272 * sysdeps/i386/addmul_1.S: Likewise.
2273 * sysdeps/i386/lshift.S: Likewise.
2274 * sysdeps/i386/memchr.S: Likewise.
2275 * sysdeps/i386/memcmp.S: Likewise.
2276 * sysdeps/i386/mul_1.S: Likewise.
2277 * sysdeps/i386/rawmemchr.S: Likewise.
2278 * sysdeps/i386/rshift.S: Likewise.
2279 * sysdeps/i386/stpcpy.S: Likewise.
2280 * sysdeps/i386/stpncpy.S: Likewise.
2281 * sysdeps/i386/strchr.S: Likewise.
2282 * sysdeps/i386/strchrnul.S: Likewise.
2283 * sysdeps/i386/strcspn.S: Likewise.
2284 * sysdeps/i386/strpbrk.S: Likewise.
2285 * sysdeps/i386/strrchr.S: Likewise.
2286 * sysdeps/i386/strspn.S: Likewise.
2287 * sysdeps/i386/strtok.S: Likewise.
2288 * sysdeps/i386/sub_n.S: Likewise.
2289 * sysdeps/i386/submul_1.S: Likewise.
2290 * sysdeps/i386/elf/setjmp.S: Likewise.
2291 * sysdeps/i386/i486/strcat.S: Likewise.
2292 * sysdeps/i386/i486/strlen.S: Likewise.
2293 * sysdeps/i386/i586/add_n.S: Likewise.
2294 * sysdeps/i386/i586/lshift.S: Likewise.
2295 * sysdeps/i386/i586/memcpy.S: Likewise.
2296 * sysdeps/i386/i586/memset.S: Likewise.
2297 * sysdeps/i386/i586/rshift.S: Likewise.
2298 * sysdeps/i386/i586/strchr.S: Likewise.
2299 * sysdeps/i386/i586/strcpy.S: Likewise.
2300 * sysdeps/i386/i586/strlen.S: Likewise.
2301 * sysdeps/i386/i586/sub_n.S: Likewise.
2302 * sysdeps/i386/i686/add_n.S: Likewise.
2303 * sysdeps/i386/i686/memcpy.S: Likewise.
2304 * sysdeps/i386/i686/mempcpy.S: Likewise.
2305 * sysdeps/i386/i686/memset.S: Likewise.
2306 * sysdeps/i386/i686/strcmp.S: Likewise.
2307
2308 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2309
2310 * sysdeps/unix/sysv/linux/getdtsz.c: New file.
2311
2312 * sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as
2313 256 and don't use OPEN_MAX.
2314
2315 * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and
2316 use it instead of LINK_MAX.
2317 * sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2318
2319 2000-06-08 Andreas Jaeger <aj@suse.de>
2320
2321 * libio/genops.c (_IO_list_lock): Only compile body if we're
2322 thread safe.
2323 (_IO_list_unlock): Likewise.
2324 (_IO_list_resetlock): Likewise.
2325
2326 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2327
2328 * sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX
2329 unless user defined it.
2330
2331 * sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX
2332 if not defined by the user.
2333
2334 * libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment.
2335 * libio/iofwrite.c (_IO_fwrite): Likewise.
2336
2337 * time/time.h: Add missing __THROW for clock_getcpuclockid
2338 prototype.
2339
2340 * elf/Makefile (distribute): Add dl-dtprocnum.h.
2341 * include/elf.h: Include also <dl-dtprocnum.h>.
2342 * elf/dl-deps.c: Likewise.
2343 * elf/dl-lookup.c: Likewise.
2344 * elf/dl-runtime.c: Likewise.
2345 * elf/dl-version.c: Likewise.
2346 * elf/do-rel.h: Likewise.
2347 * elf/dynamic-link.h: Likewise.
2348 * elf/link.h: Likewise.
2349 * elf/rtld.c: Likewise.
2350 * sysdeps/generic/dl-dtprocnum.h: New file.
2351 * sysdeps/ia64/dl-dtprocnum.h: New file.
2352 * sysdeps/mips/dl-dtprocnum.h: New file.
2353 * sysdeps/sparc/dl-dtprocnum.h: New file.
2354
2355 * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
2356
2357 * elf/do-lookup.h: Add some __builtin_expect.
2358
2359 * dlfcn/dlfcn.h: Pretty print dladdr declaraction.
2360
2361 * elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
2362 (_dl_dynamic_weak): New variable.
2363 * elf/dl-support.c: Likewise.
2364 * sysdeps/generic/ldsodefs.h: Declare _dl_dynamic_weak.
2365 * elf/do-lookup.h: If we find a weak definition treat it like a
2366 normal symbol unless _dl_dynamic_weak is nonzero. In the latter
2367 case treat it like before.
2368
2369 * elf/dl-addr.c (_dl_addr): Fill in correct information if symbol
2370 is in main program.
2371 * elf/Versions [ld] (GLIBC_2.2): Export _dl_argv.
2372
2373 * elf/dl-addr.c (_dl_addr): Do exact testing of address range
2374 using l_map_start and l_map_end.
2375
2376 * elf/dl-version.c: Add __builtin_expect in many places.
2377
2378 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
2379 Update.
2380
2381 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net>
2382
2383 Lock for stdio stream list becomes global, for use in LinuxThreads.
2384
2385 * libio/genops.c (_IO_iter_begin, _IO_iter_end,
2386 _IO_iter_next, _IO_iter_file, _IO_list_lock, _IO_list_unlock,
2387 _IO_list_resetlock): New interface for iterating global list of
2388 streams without accessing the _IO_list_all global variable,
2389 and for manipulating the lock which protects this list.
2390 * libio/libioP.h: Likewise.
2391 * libio/Version: Add entries for the new functions.
2392
2393 * libio/libioP.h (_IO_ITER): New typedef, just an alias for
2394 pointer to _IO_FILE.
2395
2396 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2397
2398 * locale/programs/ld-ctype.c (set_class_defaults): Several uses of
2399 BIT() must actually be BITw().
2400
2401 * locale/programs/ld-ctype.c: Handle SP and space consistently.
2402
2403 * locale/programs/charmap.c: Allow string arguments for
2404 code_set_name and repertoiremap.
2405
2406 2000-06-07 Andreas Jaeger <aj@suse.de>
2407
2408 * elf/Makefile: Build ldconfig only when building shared libraries.
2409
2410 2000-06-07 Jakub Jelinek <jakub@redhat.com>
2411
2412 * sysdeps/alpha/fpu/bits/mathinline.h (__fdimf): Only declare if
2413 __USE_ISOC99.
2414 (fdimf, __fdim, fdim): Likewise.
2415
2416 2000-06-07 Ulrich Drepper <drepper@redhat.com>
2417
2418 * locale/findlocale.c: Add __builtin_expect in many places.
2419 * locale/loadlocale.c: Likewise.
2420
2421 2000-06-06 Greg McGary <greg@mcgary.org>
2422
2423 * sysdeps/mips/elf/start.S: Trim redundant code.
2424
2425 * sysdeps/powerpc/memset.S: Define & use symbolic register names.
2426 Use C comments throughout. Line up operands column with tabs.
2427 * sysdeps/powerpc/strchr.S: Likewise.
2428 * sysdeps/powerpc/strcmp.S: Likewise.
2429 * sysdeps/powerpc/strcpy.S: Likewise.
2430 * sysdeps/powerpc/strlen.S: Likewise.
2431
2432 * sysdeps/unix/sysv/linux/powerpc/brk.S [!PIC]:
2433 Get low part of &__curbrk with @l.
2434
2435 2000-06-06 Ulrich Drepper <drepper@redhat.com>
2436
2437 * iconvdata/utf-16.c: Add __builtin_expect in many places.
2438 * iconvdata/unicode.c: Likewise.
2439 * iconvdata/uhc.c: Likewise.
2440 * iconvdata/t.61.c: Likewise.
2441 * iconvdata/sjis.c: Likewise.
2442 * iconvdata/johab.c: Likewise.
2443 * iconvdata/iso_6937.c: Likewise.
2444 * iconvdata/iso_6937-2.c: Likewise.
2445 * iconvdata/iso8859-1.c: Likewise.
2446 * iconvdata/iso646.c: Likewise.
2447 * iconvdata/iso-2022-kr.c: Likewise.
2448 * iconvdata/iso-2022-jp.c: Likewise.
2449 * iconvdata/iso-2022-cn.c: Likewise.
2450 * iconvdata/gbgbk.c: Likewise.
2451 * iconvdata/gbk.c: Likewise.
2452 * iconvdata/euc-kr.c: Likewise.
2453 * iconvdata/euc-jp.c: Likewise.
2454 * iconvdata/euc-cn.c: Likewise.
2455
2456 2000-06-05 Ulrich Drepper <drepper@redhat.com>
2457
2458 * iconvdata/big5hkscs.c: Add __builtin_expect in many places.
2459 * iconvdata/big5.c: Likewise.
2460 * iconvdata/ansi_x3.110.c: Likewise.
2461 * iconvdata/8bit-generic.c: Likewise.
2462 * iconvdata/8bit-gap.c: Likewise.
2463 * iconv/loop.c: Likewise.
2464 * iconv/gconv_db.c: Likewise.
2465 * iconv/gconv_dl.c: Likewise.
2466 * iconv/gconv_simple.c: Likewise.
2467 * iconv/skeleton.c: Likewise.
2468
2469 * iconv/gconv.h (__GCONV_IS_LAST, __GCONV_IGNORE_ERRORS): Define.
2470 (struct __gconv_step_data): Rename __is_last to __flags.
2471 * iconv/gconv_close.c: Change all uses of __is_last.
2472 * iconv/skeleton.c: Likewise.
2473 * iconvdata/iso-2022-cn.c: Likewise.
2474 * iconvdata/iso-2022-jp.c: Likewise.
2475 * iconvdata/iso-2022-kr.c: Likewise.
2476 * iconv/gconv_open.c: Likewise. Avoid unneeded initializations.
2477 Recognize IGNORE error handling, set flag, and remove from name.
2478 * iconv/loop.c (ignore_errors_p): Define.
2479 Add flags parameter to both functions.
2480 * iconv/skeleton.c: Pass flags to all conversion functions.
2481 * iconv/gconv_simple.c: Add flags parameter to all functions.
2482 Don't return error for invald error if ignore flag is set.
2483 (ucs4_internal_loop_single): Add missing pointer increment.
2484 (internal_ucs4le_loop_single): Likewise.
2485 * iconv/iconv_prog.c: Implement handling of -c parameter.
2486 * iconvdata/8bit-gap.c: Don't return error for invald error if
2487 ignore flag is set.
2488 * iconvdata/8bit-generic.c: Likewise.
2489 * iconvdata/ansi_x3.110.c: Likewise.
2490 * iconvdata/big5.c: Likewise.
2491 * iconvdata/big5hkscs.c: Likewise.
2492 * iconvdata/euc-cn.c: Likewise.
2493 * iconvdata/euc-jp.c: Likewise.
2494 * iconvdata/euc-kr.c: Likewise.
2495 * iconvdata/gbgbk.c: Likewise.
2496 * iconvdata/gbk.c: Likewise.
2497 * iconvdata/iso-2022-cn.c: Likewise.
2498 * iconvdata/iso-2022-jp.c: Likewise.
2499 * iconvdata/iso-2022-kr.c: Likewise.
2500 * iconvdata/iso646.c: Likewise.
2501 * iconvdata/iso8859-1.c: Likewise.
2502 * iconvdata/iso_6937-2.c: Likewise.
2503 * iconvdata/iso_6937.c: Likewise.
2504 * iconvdata/johab.c: Likewise.
2505 * iconvdata/sjis.c: Likewise.
2506 * iconvdata/t.61.c: Likewise.
2507 * iconvdata/uhc.c: Likewise.
2508 * iconvdata/unicode.c: Likewise.
2509 * iconvdata/utf-16.c: Likewise.
2510 * libio/fileops.c: Likewise.
2511 * libio/iofwide.c: Likewise.
2512 * wcsmbs/btowc.c: Likewise.
2513 * wcsmbs/mbrtowc.c: Likewise.
2514 * wcsmbs/mbsnrtowcs.c: Likewise.
2515 * wcsmbs/mbsrtowcs.c: Likewise.
2516 * wcsmbs/wcrtomb.c: Likewise.
2517 * wcsmbs/wcsnrtombs.c: Likewise.
2518 * wcsmbs/wcsrtombs.c: Likewise.
2519 * wcsmbs/wctob.c: Likewise.
2520
2521 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Undo *s change in all cases of
2522 an error.
2523
2524 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2525
2526 * iconv/gconv_dl.c (do_release_shlib): Don't reset reference
2527 counter for the object we are releasing, just decrement it.
2528 Patch by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>.
2529
2530 2000-06-04 Jakub Jelinek <jakub@redhat.com>
2531
2532 * sysdeps/i386/fpu/bits/mathinline.h: Only inline sinh, cosh and tanh
2533 if -ffast-math.
2534
2535 2000-06-04 Ulrich Drepper <drepper@redhat.com>
2536
2537 * iconvdata/big5hkscs.c: New file.
2538 Modified from big5.c by Roger So <rogerso@sis.dhs.org>.
2539
2540 * iconvdata/gconv-modules: Add entry for new module.
2541 * iconvdata/Makefile (modules): Add BIG5HKSCS.
2542 (distribute): Add big5hkscs.c.
2543
2544 2000-06-01 Jakub Jelinek <jakub@redhat.com>
2545
2546 * libc/sysdeps/alpha/fpu/bits/mathinline.h: Add __THROW to all
2547 inlines to match prototypes in mathcalls.h.
2548 * libc/sysdeps/i386/fpu/bits/mathinline.h: Likewise.
2549 * libc/sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2550 * libc/sysdeps/powerpc/fpu/bits/mathinline.h: Likewise.
2551 * libc/sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2552
2553 2000-06-03 Ulrich Drepper <drepper@redhat.com>
2554
2555 * elf/elf.h (SHT_SUNW_move): Define.
2556
2557 * elf/elf.h: Add more Solaris compatiblity definitions.
2558
2559 2000-06-03 Andreas Jaeger <aj@suse.de>
2560
2561 * sysdeps/powerpc/dl-start.S: Close open comment.
2562
2563 2000-06-03 Jakub Jelinek <jakub@redhat.com>
2564
2565 * inet/Versions: Fix typo in rresvport_af export.
2566
2567 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2568
2569 * math/tgmath.h: Pretty print.
2570
2571 2000-06-02 Andreas Jaeger <aj@suse.de>
2572
2573 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Fix typo.
2574 Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2575
2576 2000-06-02 Ulrich Drepper <drepper@redhat.com>
2577
2578 * elf/rtld.c (process_envvars): Test for = after variable name.
2579
2580 2000-06-01 Ulrich Drepper <drepper@redhat.com>
2581
2582 * sysdeps/generic/initfini.c (_init): One less relocation. Don't
2583 have extra call to __gmon_start__, use the pointer we already have.
2584
2585 * elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
2586 shifting.
2587
2588 * sysdeps/i386/elf/setjmp.S: Work around change is recent
2589 binutils. gas now emits a jump through the PLT instead of a
2590 relative jump if the jump target is an exported symbol.
2591
2592 2000-05-31 Ulrich Drepper <drepper@redhat.com>
2593
2594 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Define AIX_CBAUD.
2595
2596 2000-05-31 Andreas Jaeger <aj@suse.de>
2597
2598 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Use array for
2599 gregset_t.
2600
2601 * sysdeps/unix/sysv/linux/mips/Versions: Export _flush_cache.
2602 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2603
2604 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Fix prototype of
2605 syscall.
2606 * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise.
2607
2608 2000-05-30 Ulrich Drepper <drepper@redhat.com>
2609
2610 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Loose __P.
2611
2612 * locale/Versions [libc] (GLIBC_2.2): Add localeconv.
2613 * locale/localeconv.c: Make function versioned (with same definition).
2614
2615 * elf/Makefile (modules-names): Strip before using it.
2616
2617 2000-05-30 Andreas Jaeger <aj@suse.de>
2618
2619 * sysdeps/unix/sysv/linux/mips/truncate64.c: New file.
2620 * sysdeps/unix/sysv/linux/mips/ftruncate64.c: New file.
2621 * sysdeps/unix/sysv/linux/mips/pread64.c: Readded file.
2622 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Readded file.
2623 * sysdeps/unix/sysv/linux/mips/pread.c: Readded file.
2624 * sysdeps/unix/sysv/linux/mips/pwrite.c: Readded file.
2625
2626 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2627
2628 * Makefile: Add GNU make magic.
2629
2630 * inet/Makefile (CFLAGS-rcmd.c, CFLAGS-rexec.c, CFLAGS-ruserpass.c):
2631 Removed.
2632 * inet/rcmd.c: Remove __P. Remove unused variables.
2633 (iruserfopen): Make first parameter const.
2634 (ruserok_sa): Return result of ruserok2_sa.
2635 (__checkhost_sa): Correctly iterate through results of getaddrinfo.
2636 * inet/rexec.c: Remove unused variables. Other small cleanups.
2637 * inet/ruserpass.c: Remove __P. Remove unused variables.
2638 (ruserpass): Check results of memory allocation.
2639 * include/netdb.h: Add prototype for ruserpass.
2640
2641 2000-05-29 Andreas Jaeger <aj@suse.de>
2642
2643 * elf/readlib.c (interpreters): Use LD_SO since this is supported
2644 for all platforms.
2645
2646 2000-05-29 Jakub Jelinek <jakub@redhat.com>
2647
2648 * inet/rcmd.c (rresvport_af): Use correct port number.
2649
2650 2000-05-26 Andreas Schwab <schwab@suse.de>
2651
2652 * Makeconfig ($(common-objpfx)soversions.mk): Prepend `$lib=' to
2653 entries in all-sonames.
2654 ($(common-objpfx)gnu/lib-names.h): Use it for the CPP symbol,
2655 preserving the old name if different for compatibility.
2656
2657 2000-05-29 Ulrich Drepper <drepper@redhat.com>
2658
2659 * posix/Makefile (tests): Add tst-spawn.
2660 (tst-spawn-ARGS): New variable.
2661 * posix/tst-spawn.c: New file.
2662
2663 * posix/spawn_faction_addclose.c: Correctly account for new entry.
2664 * posix/spawn_faction_adddup2.c: Likewise.
2665 * posix/spawn_faction_addopen.c: Likewise.
2666 * posix/spawni.c: Correctly test for success of dup2 calls.
2667
2668 * posix/tst-preadwrite.c: Check success of malloc call.
2669
2670 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2671
2672 * posix/Makefile (tests): Add tst-exec.
2673 (tst-exec-ARGS): New variable.
2674 * posix/tst-exec.c: New file.
2675
2676 * sysdeps/arm/atomicity.h (compare_and_swap): Return result.
2677
2678 2000-05-04 Andreas Jaeger <aj@suse.de>
2679
2680 * string/string.h: Remove __strdup prototype, it's not needed in
2681 this file anymore.
2682
2683 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2684
2685 * posix/Makefile (tests): Add tst-fork.
2686 * posix/tst-fork.c: New file.
2687
2688 * resolv/inet_pton.c: Loose __P.
2689
2690 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2691
2692 * libio/libioP.h (_IO_CHECK_WIDE): Define.
2693 * libio/iosetbuffer.c (_IO_setbuffer): Use it.
2694 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2695 * libio/fileops.c (_IO_new_file_fopen): Return NULL if
2696 _IO_CHECK_WIDE fails.
2697
2698 2000-05-28 Ulrich Drepper <drepper@redhat.com>
2699
2700 * po/da.po: New file.
2701
2702 * manual/arith.texi (Rounding Functions): Fix documentation of trunc.
2703 Patch by Steven G. Johnson <stevenj@gil-galad.mit.edu>.
2704
2705 * manual/charset.texi (Extended Char Intro): Fix typo (and -> as).
2706 (Other iconv Implementations): Fix typo.
2707 Patch by Martin Pool <mbp@wistful.humbug.org.au>.
2708
2709 2000-05-27 Andreas Jaeger <aj@suse.de>
2710
2711 * sysdeps/unix/sysv/linux/i386/pread.c: Removed, we can use the
2712 normal version now.
2713 * sysdeps/unix/sysv/linux/i386/pwrite.c: Likewise.
2714 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
2715 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2716 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2717 * sysdeps/unix/sysv/linux/arm/pread.c: Likewise.
2718 * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise.
2719
2720 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Check
2721 endianness to decide how to pass arguments.
2722 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2723
2724 * elf/vismain.c: Use test-skeleton interface.
2725 (TEST_FUNCTION): New macro.
2726 (do_test): Renamed from main.
2727
2728 2000-05-27 Ulrich Drepper <drepper@redhat.com>
2729
2730 * sysdeps/posix/getaddrinfo.c (gaih_inet): If req->ai_family ==
2731 AF_UNSPEC don't allow the IPv6 lookup to return mapped IPv4 addresses.
2732
2733 * nss/nss_files/files-hosts.c (LINE_PARSER): Simplify. Correct
2734 handling of AI_V4MAPPED flag.
2735
2736 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If lookup
2737 of IPv6 address failed and RES_USE_INET6 bit in _res.options is set,
2738 perform lookup for T_A type and tell getanswer_r to convert the
2739 result with new argument.
2740 (_nss_dns_gethostbyaddr_r): Pass zero as new argument to getanswer_r.
2741 Don't convert addresses from IPv4 to IPv6 here.
2742 (getanswer_r): Take new parameter indicating if mapping from IPv4 to
2743 IPv6 is wanted. Allow qtype and type from reply to disagree if
2744 IPv4 mapping has to be done. Perform mappings if required by the
2745 caller and not if RES_USE_INET6 bit in _res.options is set.
2746 Add several __builtin_expect.
2747
2748 2000-05-26 Ulrich Drepper <drepper@redhat.com>
2749
2750 * catgets/open_catalog.c (__open_catalog): Add a few __builtin_expect.
2751
2752 * elf/dl-load.c (_dl_map_object): Don't ignore RPATHs if loader ==
2753 NULL.
2754
2755 * posix/tst-preadwrite.c: Allow parallel execution of
2756 tst-preadwrite and tst-preadwrite64.
2757
2758 * posix/Makefile (tests): Add tst-truncate and tst-truncate64.
2759 * posix/tst-truncate.c: New file.
2760 * posix/tst-truncate64.c: New file.
2761
2762 * sysdeps/unix/sysv/linux/pread64.c: The little/big endian code
2763 was switched.
2764
2765 * posix/Makefile (tests): Add tst-preadwrite64.
2766 * posix/tst-preadwrite.c: Alloc file being used also for testing
2767 pread64 and pwrite64.
2768 * posix/tst-preadwrite64.c: New file.
2769
2770 2000-05-26 Andreas Jaeger <aj@suse.de>
2771
2772 * sysdeps/unix/sysv/linux/ftruncate64.c (ftruncate64): Make order
2773 of arguments dependend on endianness.
2774 * sysdeps/unix/sysv/linux/truncate64.c: Likewise.
2775
2776 * sysdeps/unix/sysv/linux/i386/pread64.c: Removed, we can use the
2777 normal version now.
2778 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2779 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2780 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2781 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2782
2783 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Check
2784 endianness to check how to pass argument.
2785 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2786
2787 * elf/ldconfig.h: Update parameter list for process_elf_file.
2788
2789 * sysdeps/unix/sysv/linux/sparc/readelflib.c (process_elf_file):
2790 Add parameter file_length and pass it ot process_elf*file.
2791
2792 * sysdeps/generic/readelflib.c (check_ptr): New.
2793 (process_elf_file): Use check_ptr to check all accesses to the
2794 mmapped file. Add parameter file_length.
2795
2796 * elf/readlib.c (known_libs): Use <gnu/lib-names.h> to specify
2797 library names.
2798
2799 * sunrpc/xdr_intXX_t.c (xdr_uint8_t): Fix conversion.
2800 Closes PR libc/1573, reported by Bradley White
2801 <bww@laurelnetworks.com>.
2802
2803 2000-05-25 Ulrich Drepper <drepper@redhat.com>
2804
2805 * sysdeps/i386/fpu/bits/mathinline.h: Define expm1 inline only if
2806 __FAST_MATH__ is defined.
2807
2808 2000-05-22 Andreas Jaeger <aj@suse.de>
2809
2810 * math/Makefile: Add -D__FAST_MATH__ to CFLAGS-test-ifloat.c,
2811 CFLAGS-test-idouble.c, CFLAGS-test-ildoubl.c.
2812
2813 * manual/math.texi (FP Function Optimizations): Document gcc
2814 -ffast-math behaviour with mathinlines.
2815
2816 * sysdeps/i386/fpu/bits/mathinline.h: Only use save inline
2817 functions unless -ffast-math is given to gcc.
2818
2819 2000-05-23 Jakub Jelinek <jakub@redhat.com>
2820
2821 * sysdeps/i386/fpu/bits/mathinline.h (__sincos, __sincosf,
2822 __sincosl): Guard with __USE_GNU.
2823
2824 2000-05-24 Ulrich Drepper <drepper@redhat.com>
2825
2826 * csu/Makefile (routines): Add check_fds.
2827 * elf/rtld.c (dl_main): Call __libc_check_standard_fds for SUID
2828 binaries. Add various __builtin_expect.
2829 * sysdeps/generic/libc-start.c: Move check_fds and helper functions...
2830 * sysdeps/generic/check_fds.c: ...here. New file.
2831
2832 * malloc/malloc.c (ptmalloc_init): Only enable debugging for SUID
2833 binaries if file /etc/suid-debug is available.
2834
2835 * locale/programs/ld-collate.c (struct element_t): Add mbseqorder
2836 and wcseqorder members.
2837 (struct locale_collate_t): Likewise.
2838 (collate_finish): Assign collation sequence value to each character.
2839 Create tables for output.
2840 (collate_output): Write out tables with collation sequence information.
2841 * locale/C-collate.c: Provide C locale data for collation sequence
2842 table.
2843 * locale/langinfo.h: Add _NL_COLLATE_COLLSEQMB and
2844 _NL_COLLATE_COLLSEQWC.
2845 * locale/categories.def: Add entries for _NL_COLLATE_COLLSEQMB and
2846 _NL_COLLATE_COLLSEQWC.
2847 * posix/fnmatch.c: Define SUFFIX and WIDE_CHAR_VERSION before
2848 include fnmatch_loop.c.
2849 * posix/fnmatch_loop.c: Don't use strcoll while determining whether
2850 character is matched by range expression. Use collation sequence
2851 table. Outside glibc fall back on simple character value comparison.
2852
2853 2000-05-24 Andreas Jaeger <aj@suse.de>
2854
2855 * sysdeps/mips/elf/start.S (ENTRY_POINT): Align stack for double
2856 words.
2857
2858 * intl/Makefile: Run gettext-test only if msgfmt is available.
2859
2860 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_LDT_WORKS):
2861 Define it for newer kernels.
2862
2863 2000-05-23 Ulrich Drepper <drepper@redhat.com>
2864
2865 * elf/dl-sym.c: Minor cleanups.
2866
2867 * configure.in: Add test for .protected.
2868 * config.make.in: Add have-protected variable.
2869 * elf/Makefile (tests): Add $(tests-vis-$(have-protected)).
2870 (tests-vis-yes): Add vismain.
2871 (modules-names): Add $(modules-vis-$(have-protected)).
2872 (modules-vis-yes): Add vismod1, vismod2, and vismod3.
2873 Add rules to generate and run vismain.
2874 * elf/vismain.c: New file.
2875 * elf/vismod1.c: New file.
2876 * elf/vismod2.c: New file.
2877 * elf/vismod3.c: New file.
2878
2879 2000-05-23 Andreas Jaeger <aj@suse.de>
2880
2881 * stdio-common/tfformat.c (sprint_doubles): Add testcase for %a.
2882
2883 * manual/search.texi (Array Sort Function): Document that qsort is
2884 not necessarily in-place.
2885
2886 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
2887 Closes PR libc/1731.
2888
2889 * csu/munch-tmpl.c (__libc_init): Remove K&R support.
2890 * dirent/scandir64.c: Likewise.
2891 * pwd/getpw.c: Likewise.
2892 * stdlib/bsearch.c (bsearch): Likewise.
2893 * stdlib/tst-strtoll.c: Likewise.
2894 * localedata/collate-test.c: Likewise.
2895 * localedata/xfrm-test.c: Likewise.
2896 * posix/bsd-getpgrp.c: Likewise.
2897 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
2898 * sysdeps/generic/bits/siginfo.h: Likewise.
2899 * sysdeps/generic/bits/sockaddr.h: Likewise.
2900 * sysdeps/generic/sys/swap.h: Likewise.
2901 * sysdeps/generic/sys/sysinfo.h: Likewise.
2902 * sysdeps/generic/vfork.c: Likewise.
2903 * sysdeps/m68k/fpu/switch/68881-sw.h: Likewise.
2904 * sysdeps/mach/hurd/fdopen.c: Likewise.
2905 * sysdeps/unix/sysv/linux/alpha/sys/acct.h: Likewise.
2906 * sysdeps/unix/sysv/linux/poll.c: Likewise.
2907 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2908 * sysdeps/unix/sysv/linux/writev.c: Likewise.
2909 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2910 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
2912
2913 * misc/tst-dirname.c: Remove K&R support, use ANSI C prototypes.
2914 * shadow/lckpwdf.c: Likewise.
2915 * stdlib/tst-strtol.c: Likewise.
2916 * sysdeps/generic/tcsetattr.c: Likewise.
2917 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2918 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2919
2920 2000-05-22 Jakub Jelinek <jakub@redhat.com>
2921
2922 * elf/dl-load.c (_dl_init_paths): If env_path_list has 0 elements,
2923 free it and set to (void *) -1.
2924
2925 2000-05-22 Jakub Jelinek <jakub@redhat.com>
2926
2927 * stdio-common/vfscanf.c (__vfscanf): Remove bogus check if '-' is
2928 not the second character in the range.
2929 * stdio-common/tstscanf.c (main): Add testcase for the above.
2930 Reported by jik@kamens.brookline.ma.us.
2931
2932 2000-05-21 H.J. Lu <hjl@gnu.org>
2933
2934 * elf/do-lookup.h (do_lookup_versioned): Replace reloc_type parameter
2935 with noexec and noplt parameter.
2936 (do_lookup): Likewise.
2937
2938 * elf/dl-lookup.c (_dl_lookup_symbol): Change for new parameters of
2939 do_lookup. Support STV_PROTECTED.
2940 (_dl_lookup_symbol_skip): Likewise.
2941 (_dl_lookup_versioned_symbol): Likewise.
2942 (_dl_lookup_versioned_symbol_skip): Likewise.
2943
2944 * elf/dl-reloc.c (RESOLVE): Check STB_LOCAL instead of ST_VISIBILITY.
2945
2946 * elf/dl-runtime.c (profile_fixup): Fix a typo in comment.
2947
2948 2000-05-21 Jakub Jelinek <jakub@redhat.com>
2949
2950 * sysdeps/arm/bits/huge_val.h: Prereq gcc 2.96+, not 2.95.
2951 * sysdeps/i386/bits/huge_val.h: Likewise.
2952 * sysdeps/ieee754/bits/huge_val.h: Likewise.
2953 * sysdeps/m68k/bits/huge_val.h: Likewise.
2954 * sysdeps/sparc/sparc32/bits/huge_val.h: Likewise.
2955 * sysdeps/sparc/sparc64/bits/huge_val.h: Likewise.
2956
2957 2000-05-22 Andreas Jaeger <aj@suse.de>
2958
2959 * iconv/tst-iconv1.c (main): Remove const from inbuf to follow
2960 change in iconv.h.
2961
2962 2000-05-19 Andreas Jaeger <aj@suse.de>
2963
2964 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h
2965 (SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
2966 breaks compilation without linuxthreads.
2967
2968 2000-05-21 Ulrich Drepper <drepper@redhat.com>
2969
2970 * sysdeps/ia64/memccpy.S: New file.
2971 * sysdeps/ia64/memchr.S: New file.
2972 * sysdeps/ia64/memcmp.S: New file.
2973 * sysdeps/ia64/memcpy.S: New file.
2974 * sysdeps/ia64/memmove.S: New file.
2975 * sysdeps/ia64/memset.S: New file.
2976 * sysdeps/ia64/strcat.S: New file.
2977 * sysdeps/ia64/strchr.S: New file.
2978 * sysdeps/ia64/strcmp.S: New file.
2979 * sysdeps/ia64/strcpy.S: New file.
2980 * sysdeps/ia64/strlen.S: New file.
2981 * sysdeps/ia64/strncmp.S: New file.
2982 * sysdeps/ia64/strncpy.S: New file.
2983 * sysdeps/ia64/softpipe.h: New file.
2984 Patches by Dan Pop <Dan.Pop@cern.ch>.
2985
2986 * manual/memory.texi: Document memory handling functions (mlock,
2987 munlock, mlockall, munlockall, brk, and sbrk)
2988 * manual/time.texi: Document timespec and friends.
2989 * manual/conf.texi: Fix references.
2990 * manual/ctype.texi: Likewise.
2991 * manual/errno.texi: Likewise.
2992 * manual/intro.texi: Likewise.
2993 * manual/locale.texi: Likewise.
2994 * manual/sysinfo.texi: Likewise.
2995 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2996
2997 2000-05-09 Jes Sorensen <jes@linuxcare.com>
2998
2999 * sysdeps/ia64/dl-machine.h: Move DL_SYMBOL_ADDRESS definition to...
3000 * sysdeps/ia64/dl-lookupcfg.h: ...here.
3001
3002 2000-05-21 Jakub Jelinek <jakub@redhat.com>
3003
3004 * sysdeps/unix/sysv/linux/scsi/sg.h (sg_io_hdr_t): Remove duplicate
3005 dxfer_direction.
3006
3007 2000-05-21 Ulrich Drepper <drepper@redhat.com>
3008
3009 * locale/locale.h (struct lconv): Add new elements from ISO C99.
3010 * locale/localeconv.c: Initialize new elements from ISO C99.
3011 * locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
3012 new standard elements.
3013 * locale/categories.def: Adjust accordingly.
3014
3015 * iconv/iconv.h (iconv): Remove const from inbuf parameter.
3016 * iconv/iconv.c: Likewise.
3017 * conform/data/iconv.h-data: Likewise.
3018 * iconv/iconv_prog.c (process_block): Remove const from second
3019 parameter.
3020 (main): Remove const from addr definition.
3021 * manual/charset.texi (Generic Conversion Interface): Remove from
3022 inbuf parameter of iconv.
3023
3024 * intl/dcigettext.c: Fix typo in comment.
3025
3026 2000-05-20 2000 H.J. Lu <hjl@gnu.org>
3027
3028 * resolv/res_libc.c (_res): Initialize _sock to -1.
3029
3030 2000-05-18 Jakub Jelinek <jakub@redhat.com>
3031
3032 * libio/iofopncook.c (_IO_fopencookie): Renamed from fopencookie.
3033 (fopencookie@@GLIBC_2.2): New.
3034 (_IO_old_cookie_seek, _IO_old_fopencookie, _IO_old_cookie_jumps): New.
3035 (fopencookie@GLIBC_2.0): New.
3036 * libio/Versions: Add fopencookie to GLIBC_2.2.
3037
3038 2000-05-18 Andreas Jaeger <aj@suse.de>
3039
3040 * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
3041 Closes PR libc/1731.
3042
3043 * manual/arith.texi (Parsing of Integers): Fix typo.
3044 Closes PR libc/1744, reported by blp@gnu.org.
3045
3046 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3047
3048 * sysdeps/arm/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Add
3049 __extension__ to hexadecimal floating constant notation.
3050 * sysdeps/i386/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3051 Likewise.
3052 * sysdeps/ieee754/bits/huge_val.h (HUGE_VAL, HUGE_VALF): Likewise.
3053 * sysdeps/m68k/bits/huge_val.h (HUGE_VAL, HUGE_VALF, HUGE_VALL):
3054 Likewise.
3055 * sysdeps/sparc/sparc64/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3056 HUGE_VALL): Likewise.
3057 * sysdeps/sparc/sparc32/bits/huge_val.h (HUGE_VAL, HUGE_VALF,
3058 HUGE_VALL): Likewise.
3059 (HUGE_VALL): Set to HUGE_VAL on sparc32.
3060
3061 2000-05-17 Andreas Jaeger <aj@suse.de>
3062
3063 * string/envz.h: Add pure attributes if possible.
3064
3065 * string/argz.h: argz_count is a pure function.
3066
3067 * string/strings.h: Add pure and const attributes if possible.
3068
3069 * sysdeps/generic/memmem.c (memmem): Check arguments to avoid
3070 possibly searching through the whole memory.
3071 Closes PR libc/1730, reported by Greg Hudson <ghudson@mit.edu>.
3072
3073 2000-05-17 Jakub Jelinek <jakub@redhat.com>
3074
3075 * sysdeps/generic/dl-cache.h (_DL_CACHE_DEFAULT_ID): Only define if
3076 not yet defined.
3077 (_dl_cache_check_flags): Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-cache.h: include_next
3079 dl-cache.h.
3080
3081 2000-05-17 Andreas Jaeger <aj@suse.de>
3082
3083 * manual/creature.texi (Feature Test Macros): Remove paragraph
3084 since the description is wrong.
3085 Closes PR libc/1691, reported by Geoff Clare <gwc@unisoft.com>.
3086
3087 * scripts/config.sub: New version.
3088 * scripts/config.guess: Likewise.
3089 * manual/texinfo.tex: Likewise.
3090
3091 * time/test_time.args: Removed.
3092 * time/Makefile (test_time-ARGS): Added contents here instead.
3093
3094 * posix/tstgetopt.args: Removed.
3095 * posix/Makefile (tstgetopt-ARGS): Added contents here instead.
3096
3097 * Rules: Allow arguments for test files to be specified in
3098 Makefile with testname-ARGS; remove rules with .args in it.
3099
3100 * dirent/Makefile (opendir-tst1-ARGS): Use this for opendir-tst1,
3101 remove old bogus rule for opendir-tst1.args.
3102
3103 * stdlib/test-canon.c: Rewrite to use test-skeleton.c.
3104
3105 * stdlib/Makefile (test-canon-ARGS): New, supply argument to chdir
3106 into objdir. This allows a readonly sourcetree.
3107 Reported by lrgallardo@yahoo.com, closes PR libc/1421.
3108
3109 2000-05-16 Andreas Jaeger <aj@suse.de>,
3110 David Huggins-Daines <dhd@linuxcare.com>
3111
3112 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Set
3113 cache_data in case of only new cache format correctly.
3114
3115 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Align struct
3116 cache_file_new.
3117
3118 * sysdeps/generic/dl-cache.h (ALIGN_CACHE): New macro to align
3119 struct cache_file_new.
3120
3121 * elf/cache.c (save_cache): Fix str_offset if only new cache is
3122 present.
3123
3124 * elf/cache.c (save_cache): Align struct new_file_cache.
3125 (print_cache): Likewise.
3126
3127 2000-05-13 Jakub Jelinek <jakub@redhat.com>
3128
3129 * elf/soinit.c (__libc_global_ctors): Move
3130 __pthread_initialize_minimal call out of HAVE_DWARF2_* defines.
3131 * resolv/resolv.h (__res_state): Added __attribute__((const)).
3132 (_res): If __RES_PTHREAD_INTERNAL is defined, declare it as
3133 variable, don't define it to __res_state call.
3134
3135 2000-05-13 Andreas Jaeger <aj@suse.de>
3136
3137 * sysdeps/unix/sysv/linux/bits/socket.h (PF_PPPOX): New, from
3138 Linux 2.3.99pre7.
3139 (AF_PPPOX): Likewise.
3140 * sysdeps/unix/sysv/linux/mips/bits/socket.h (PF_PPPOX): Likewise.
3141 (AF_PPPOX): Likewise.
3142
3143 2000-05-12 Andreas Jaeger <aj@suse.de>
3144
3145 * inet/netinet/in.h (IN6_ARE_ADDR_EQUAL): Correct indices.
3146 Reported by tmoestl@gmx.net, closes PR libc/1732.
3147
3148 2000-05-11 Jan Hubicka <jh@suse.cz>
3149
3150 * misc/sys/cdefs.h: Add support for pure attribute.
3151
3152 * include/string.h: Add __attribute_pure__ to various functions.
3153 * string/string.h: Likewise.
3154
3155 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3156
3157 * elf/dl-reloc.c (_dl_reloc_bad_type): Sync messages with plt
3158 argument.
3159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3160 R_SPARC_UA64.
3161 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: New file.
3162
3163 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3164
3165 * elf/dl-reloc.c (_dl_reloc_bad_type): Write type into the message
3166 at proper place. Compute the high nibble correctly.
3167
3168 2000-05-09 Jakub Jelinek <jakub@redhat.com>
3169
3170 * elf/ldconfig.c: Include elf.h.
3171
3172 * elf/dl-sym.c (_dl_sym): Test ref not result for non-zero.
3173 (_dl_vsym): Likewise.
3174 Reported by Owen Taylor <otaylor@redhat.com>.
3175
3176 * elf/dl-deps.c (_dl_map_object_deps): Zero terminate L->l_initfini
3177 always.
3178
3179 2000-05-08 Andreas Jaeger <aj@suse.de>
3180
3181 * include/libintl.h: Add prototype for __bind_textdomain_codeset.
3182
3183 * intl/bindtextdom.c (set_binding_values): Add prototype.
3184
3185 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3186
3187 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Fix arguments in
3188 call to elf_machine_fixup_plt.
3189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3191
3192 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3193
3194 * elf/dl-fini.c (_dl_fini): Bump l_opencount of all objects so that
3195 they are not dlclose'd from underneath us.
3196
3197 2000-05-08 Andreas Schwab <schwab@suse.de>
3198
3199 * posix/execle.c: Fix size parameter of memcpy.
3200
3201 2000-05-08 Andreas Schwab <schwab@suse.de>
3202
3203 * sysdeps/unix/sysv/linux/m68k/getpagesize.c: New file. Use
3204 getpagesize syscall if available.
3205
3206 2000-05-08 Andreas Jaeger <aj@suse.de>
3207
3208 * sysdeps/generic/lockf64.c (lockf64): Return -1 for overflow and
3209 set errno.
3210
3211 2000-05-08 Jakub Jelinek <jakub@redhat.com>
3212
3213 * elf/dl-lookup.c (add_dependency): Reallocate l_reldeps in
3214 sizeof(struct link_map *) chunks, not in bytes.
3215
3216 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3217
3218 * locale/Makefile (locale-CPPFLAGS): Renamed from CPPFLAGS. It's
3219 only needed for locale.
3220 * catgets/Makefile (catgets-CPPFLAGS): Renamed from CPPFLAGS.
3221 It's only needed for catgets.
3222 Patches by Greg McGary <gkm@eng.ascend.com>.
3223
3224 2000-05-07 Mark Kettenis <kettenis@gnu.org>
3225
3226 * nss/nss_db/db-open.c: Cleanup and add comments. Pretty print.
3227 Remove duplicate <errno.h> include. Remove inclusion of
3228 <libintl.h> and "nsswitch.h".
3229 (set_cloexec_flag): New function, broken out of dbopen.
3230 (dbopen): Changed return type to `enum
3231 nss_status'. Mostly rewritten to make sure that we do not report
3232 NSS_STATUS_SUCCESS if something went wrong. Remove unnecessary casts.
3233 (internal_setent): Change return type to nss_status.
3234 Document, and make sure that the function
3235 behaves accordingly. Make dynamically loading the database
3236 library really thread-safe and return NSS_STATUS_UNAVAIL if it
3237 failed.
3238 (db_cursor): Return ENOMEM is memory allocation failed. Remove
3239 unecessary casts.
3240 * nss/nss_db/dummy-db.h: Add copyright notice. Improve
3241 documentation.
3242 (struct dbc24, struct dbc27): Use DBT type in parameter lists for
3243 c_get function member.
3244 * nss/nss_db/nss_db.h: Add and tweak some comments.
3245 (DBT): Move typedef before NSS_DBC typedef.
3246 (NSS_DBC, NSS_DB): Use DBT in function member parameter lists.
3247
3248 2000-05-07 H.J. Lu <hjl@gnu.org>
3249
3250 * csu/initfini.c: Moved to ....
3251 * sysdeps/generic/initfini.c: ...here.
3252
3253 * csu/Makefile (initfini.c): Set vpath to $(full_config_sysdirs).
3254
3255 2000-05-07 Ulrich Drepper <drepper@redhat.com>
3256
3257 * manual/resource.texi: Document POSIX scheduling functions.
3258 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3259
3260 * inet/rcmd.c (rcmd_af): errno is not set if read returns without
3261 reading anything. Reported by Andries.Brouwer@cwi.nl.
3262
3263 * sysdeps/generic/memccpy.c (__memccpy): Don't use reg_char type
3264 for x since promotion in comparison might leads to unexpected
3265 results. Reported by Dan Pop <Dan.Pop@cern.ch>.
3266
3267 * iconv/Makefile (tests): Add tst-iconv1.
3268 * iconv/tst-iconv1.c: New file.
3269 * iconv/gconv_simple.c (internal_ucs4_loop): Prefer reporting
3270 empty input buffer over full output buffer.
3271 (ucs4_internal_loop): Likewise.
3272 (ucs4_internal_loop_unaligned): Likewise.
3273 (internal_ucs4le_loop): Likewise.
3274 (internal_ucs4le_loop_unaligned): Likewise.
3275 (ucs4le_internal_loop): Likewise.
3276 (ucs4le_internal_loop_unaligned): Likewise.
3277 Reported by yaoz@nih.gov.
3278
3279 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3280
3281 * iconv/gconv_open.c (__gconv_open): If __gconv_find_transform
3282 returned != __GCONV_OK, there is nothing to clean up.
3283
3284 2000-05-06 Bruno Haible <haible@clisp.cons.org>
3285
3286 * intl/tst-gettext.c (main): Disable possibly existing LC_CTYPE and
3287 OUTPUT_CHARSET environment variables.
3288
3289 2000-05-06 Andreas Jaeger <aj@suse.de>
3290
3291 * sysdeps/generic/dl-cache.h (struct file_entry_new): New.
3292 (struct cache_file_new): New.
3293 (struct file_entry): New (moved from cache.c).
3294 (struct cache_file): New (moved from cache.c).
3295
3296 * sysdeps/generic/dl-cache.c (SEARCH_CACHE): New macro, broken out
3297 from _dl_load_cache_lookup.
3298 (_dl_load_cache_lookup): Move search to SEARCH_CACHE macro, handle
3299 the different cache formats.
3300 New variable cache_new for new format.
3301
3302 * elf/ldconfig.h: Change according to changes in cache.c and
3303 ldconfig.c; remove cache_libcmp; add opt_format.
3304
3305 * elf/ldconfig.c: Include "dl-cache.h" and "dl-procinfo.h"; remove
3306 stuff that's defined in those headers.
3307 Add hwcap to struct lib_entry.
3308 (opt_format): New variable to select cache format.
3309 (options): Add format parameter.
3310 (is_hwcap): New function.
3311 (path_hwcap): New function.
3312 (parse_opt): Handle new format parameter.
3313 (search_dir): Handle hwcap, search also subdirectories with hwcap.
3314
3315 * elf/cache.c (_GNU_SOURCE): Removed. Not needed anymore since
3316 ldconfig is part of glibc.
3317 Include dl-cache.h and remove stuff that's defined there.
3318 (struct cache_entry): Add new member hwcap.
3319 (print_entry): Print hwcap, cleanup a bit.
3320 (print_cache): Print new and old formats.
3321 (compare): Use _dl_cache_libcmp from dl-cache.h; handle hwcap.
3322 (save_cache): Save new and old formats.
3323 (add_to_cache): Handle hwcap.
3324
3325 * sysdeps/generic/dl-cache.c (_dl_cache_libcmp): Moved from here...
3326 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): ...to here.
3327 * sysdeps/generic/dl-cache.c (LD_SO_CACHE): Moved from here...
3328 * sysdeps/generic/dl-cache.h (LD_SO_CACHE): ...to here.
3329 * sysdeps/generic/dl-cache.c (CACHEMAGIC): Moved from here...
3330 * sysdeps/generic/dl-cache.h (CACHEMAGIC): ...to here.
3331
3332 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3333
3334 * intl/dcigettext.c (alignof): New macro.
3335 (_nl_find_msg): Use it instead of __alignof__. Pass correct output
3336 buffer length to __gconv/iconv. If malloc (freemem_size) fails, set
3337 freemem_size to 0.
3338
3339 2000-05-05 Bruno Haible <haible@clisp.cons.org>
3340
3341 * intl/dcigettext.c (dcigettext): Fix interpretation of tsearch
3342 return value.
3343
3344 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3345
3346 * intl/dcigettext.c (DCIGETTEXT): Always define local variable `index'.
3347 (mempcpy): Correct typo is parameter list.
3348
3349 2000-05-06 Andreas Jaeger <aj@suse.de>
3350
3351 * sysdeps/i386/fpu/bits/mathinline.h: Disable some inline
3352 functions unless -ffast-math is given to gcc.
3353
3354 2000-05-06 Ulrich Drepper <drepper@redhat.com>
3355
3356 * po/ko.po: Update from translation team.
3357
3358 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3359
3360 * sysdeps/unix/sysv/aix/linux/errnoconv.c: Moved to...
3361 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: ...here.
3362 * sysdeps/unix/sysv/aix/linux/statconv.c: Moved to...
3363 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: ...here.
3364 * sysdeps/unix/sysv/aix/linux/direntconv.c: Moved to...
3365 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: ...here.
3366
3367 * sysdeps/unix/sysv/aix/linux/linux-errno.h: Removed.
3368 * sysdeps/unix/sysv/aix/linux/linux-stat.h: Removed
3369 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: Removed.
3370
3371 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: New file.
3372 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: New file.
3373 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: New file.
3374 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: New file.
3375
3376 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: New file.
3377 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: New file.
3378
3379 2000-05-05 Jes Sorensen <jes@linuxcare.com>
3380
3381 * sysdeps/unix/sysv/linux/ia64/sysdep.h: New file.
3382 * sysdeps/unix/sysv/linux/ia64/syscall.S: New file.
3383
3384 * sysdeps/unix/sysv/linux/ia64/bits/types.h: New file.
3385 * sysdeps/unix/sysv/linux/ia64/bits/endian.h: New file.
3386
3387 * sysdeps/ia64/Implies: New file.
3388 * sysdeps/ia64/Versions: New file. Declare _dl_symbol_address.
3389 * sysdeps/ia64/Makefile: New file.
3390 * sysdeps/ia64/gmp-mparam.h: New file,
3391
3392 * sysdeps/ia64/elf/start.S: New file.
3393
3394 * sysdeps/ia64/bits/fenv.h: New file.
3395
3396 2000-05-05 David Mosberger-Tang <davidm@hpl.hp.com>
3397
3398 * sysdeps/unix/sysv/linux/ia64/sysdep.S: New file.
3399
3400 2000-04-26 Jes Sorensen <Jes.Sorensen@cern.ch>
3401
3402 * sysdeps/unix/sysv/linux/ia64/bits/elfclass.h: New file. The
3403 ia64 has 64 bit .hash entries just as the Alpha.
3404
3405 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3406
3407 * sysdeps/ia64/memprof.h: New file. Provide GETSP() macro.
3408
3409 2000-04-17 Jes Sorensen <Jes.Sorensen@cern.ch>
3410
3411 * sysdeps/ia64/fpu/fclrexcpt.c: New file.
3412 * sysdeps/ia64/fpu/fedisblxcpt.c: New file.
3413 * sysdeps/ia64/fpu/feenablxcpt.c: New file.
3414 * sysdeps/ia64/fpu/fegetenv.c: New file.
3415 * sysdeps/ia64/fpu/fegetexcept.c: New file.
3416 * sysdeps/ia64/fpu/fegetround.c: New file.
3417 * sysdeps/ia64/fpu/feholdexcpt.c: New file.
3418 * sysdeps/ia64/fpu/fesetenv.c: New file.
3419 * sysdeps/ia64/fpu/fesetround.c: New file.
3420 * sysdeps/ia64/fpu/feupdateenv.c: New file.
3421 * sysdeps/ia64/fpu/fgetexcptflg.c: New file.
3422 * sysdeps/ia64/fpu/fraiseexcpt.c: New file.
3423 * sysdeps/ia64/fpu/fsetexcptflg.c: New file.
3424 * sysdeps/ia64/fpu/ftestexcept.c: New file.
3425
3426 2000-05-05 Andreas Jaeger <aj@suse.de>
3427
3428 * misc/tst-tsearch.c (main): Correct type for initstate argument.
3429
3430 * sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3431 (_dl_string_hwcap): New, does nothing.
3432
3433 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_DL_HWCAP_COUNT): New.
3434 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3435 (_dl_string_hwcap): New function, converts from string to hwcap
3436 encoding.
3437 * sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
3438 (_DL_HWCAP_COUNT): New.
3439 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3440 (_dl_string_hwcap): New function, converts from string to hwcap
3441 encoding.
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h
3443 (_DL_HWCAP_COUNT): New.
3444 (_dl_procinfo): Use _DL_HWCAP_COUNT instead of a constant.
3445 (_dl_string_hwcap): New function, converts from string to hwcap
3446 encoding.
3447
3448 2000-05-05 Ulrich Drepper <drepper@redhat.com>
3449
3450 * elf/Makefile (distribute): Add dl-lookupcfg.h.
3451 * sysdeps/ia64/Dist: New file.
3452
3453 * elf/dl-load.c (_dl_map_object_from_fd): Little of computation of
3454 parameter to mprotect and for variable assignments.
3455
3456 2000-05-03 Jes Sorensen <jes@linuxcare.com>
3457
3458 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Check the
3459 validity of map before dereferencing it.
3460
3461 * elf/dl-reloc.c (RESOLVE_MAP): Define.
3462
3463 2000-05-02 Jes Sorensen <jes@linuxcare.com>
3464
3465 * elf/dl-runtime.c (fixup): Add the value returned in the symbol
3466 lookup to the arguments to elf_machine_fixup_plt().
3467
3468 * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Add Link_map
3469 of the symbol being resolved to input argument list and make the
3470 function return the pointer to the reloc.
3471
3472 * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Change
3473 return valuie to lookup_t and return the value.
3474 * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
3475 * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
3476 * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
3477 * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
3478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
3479 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
3480
3481 * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Likewise.
3482 Make it an inline function returning value after calling
3483 __elf_machine_fixup_plt().
3484
3485 * elf/dl-sym.c (_dl_vsym): Use DL_SYMBOL_ADDRESS() to obtain the
3486 symbol address.
3487
3488 * elf/dl-symbol.c (_dl_symbol_value): Use LOOKUP_VALUE_ADDRESS to
3489 obtain the symbol address.
3490
3491 * sysdeps/generic/ldsodefs.h: Add generic DL_SYMBOL_ADDRESS() macro
3492 depending on the definition of ELF_FUNCTION_PTR_IS_SPECIAL.
3493
3494 * sysdeps/ia64/dl-machine.h: Add DL_SYMBOL_ADDRESS() macro calling
3495 _dl_symbol_address() - this way DL_SYMBOL_ADDRESS() turns into an
3496 inline on non ia64.
3497
3498 2000-04-28 Jes Sorensen <jes@linuxcare.com>
3499
3500 * elf/dl-runtime.c (fixup): Use the portable macros to get the
3501 symbol address of an object.
3502
3503 * elf/dl-runtime.c (fixup-profile): Use the portable macros to get
3504 the symbol address of an object.
3505
3506 * elf/dl-libc.c (struct do_dlsym_args): Change loadbase to a lookup_t.
3507 * elf/dl-lookup.c (_dl_lookup_symbol): Likewise.
3508 (_dl_lookup_symbol_skip): Likewise.
3509 (_dl_lookup_versioned_symbol): Likewise.
3510 (_dl_lookup_versioned_symbol_skip): Likewise.
3511
3512 2000-04-27 Jes Sorensen <jes@linuxcare.com>
3513
3514 * elf/rtld.c (_dl_start): Get the function pointer return address
3515 via _dl_start_address for architectures that need a function
3516 pointer descriptor rather than just a pointer (ia64).
3517
3518 * sysdeps/generic/dl-lookupcfg.h: New file.
3519 * sysdeps/ia64/dl-lookupcfg.h: New file.
3520 * sysdeps/ia64/dl-machine.h: New file.
3521 * sysdeps/ia64/dl-symaddr.c: New file.
3522 * sysdeps/ia64/dl-fptr.c: New file.
3523
3524 * elf/elf.h: Add IA-64 specific definitions.
3525
3526 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3527
3528 * sysdeps/generic/bits/confname.h (_SC* enum): Avoid comma at the
3529 end of enum.
3530
3531 2000-05-04 Jakub Jelinek <jakub@redhat.com>
3532
3533 * iconv/gconv.h (__gconv_t): Add __extension__ to make gcc -pedantic
3534 happy.
3535
3536 2000-04-11 Geoff Keating <geoffk@cygnus.com>
3537
3538 * sysdeps/powerpc/dl-start.S (_dl_start): Add _dl_start_user
3539 symbol. Call _dl_init rather than the old way.
3540
3541 2000-05-04 Ulrich Drepper <drepper@redhat.com>
3542
3543 * elf/dl-open.c (dl_open_worker): Use l_map_start and l_map_end to
3544 test for pointer in range of DSO address space.
3545
3546 2000-05-04 Andreas Jaeger <aj@suse.de>
3547
3548 * nscd/pwdcache.c (addpwbyname): Initialize oldeuid to silence GCC.
3549
3550 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3551
3552 * locale/findlocale.c (_nl_find_locale): Add new parameter to
3553 calls of _nl_make_l10nflist.
3554
3555 * libio/stdio.h: Make fseeko and ftello prototypes available is
3556 __USE_LARGEFILE. Patch by Paul Eggert <eggert@twinsun.com>.
3557
3558 * sysdeps/generic/dl-environ.c (unsetenv): Follow change to the
3559 real unsetenv implementation from 1999-07-29 [PR libc/1714].
3560
3561 2000-05-03 Bruno Haible <haible@clisp.cons.org>
3562
3563 * intl/dcigettext.c (dcigettext): Do the defaulting of 'domainname'
3564 before calling tfind.
3565
3566 2000-03-05 Jakub Jelinek <jakub@redhat.com>
3567
3568 * resolv/resolv.h (res_querydomain): Remove redefinition to
3569 __res_querydomain (reported by Owen Taylor <otaylor@redhat.com>).
3570
3571 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3572
3573 * po/gl.po: Update from translation team.
3574
3575 * manual/intro.texi (Program Basics): Change section title.
3576 * manual/process.texi: Fix reference.
3577 (Executing a File): Add reference exec in other section.
3578 * manual/signal.texi: Fix reference.
3579 * manual/startup.texi: Document syscall function.
3580 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
3581
3582 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3583
3584 * intl/libintl.h (bind_textdomain_codeset): New declaration.
3585 * intl/bindtextdom.c (set_binding_values): New function.
3586 (bindtextdomain): Call it.
3587 (bind_textdomain_codeset): New function.
3588 * intl/dcigettext.c (dcigettext): Pass binding to _nl_find_domain.
3589 (free_mem): Free each binding's codeset.
3590 * intl/gettextP.h (struct binding): Add codeset field.
3591 (_nl_find_domain): Add domainbinding argument.
3592 * intl/finddomain.c (_nl_find_domain): Add domainbinding argument.
3593 Pass it to _nl_make_l10nflist.
3594 * intl/loadinfo.h (struct loaded_l10nfile): Add domainbinding field.
3595 (_nl_make_l10nflist): Add domainbinding argument.
3596 * intl/l10nflist.c (_nl_make_l10nflist): Add domainbinding argument.
3597 * intl/loadmsgcat.c (_nl_load_domain): Look at the domainbinding's
3598 codeset when determining outcharset. If !_LIBC && HAVE_ICONV, call
3599 locale_charset().
3600 * manual/message.texi: New node "Charset conversion in gettext".
3601
3602 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3603
3604 * catgets/open_catalog.c (__open_catalog): Use __builtin_expect where
3605 appropriate. Handle possible __read error.
3606
3607 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3608
3609 * intl/gettextP.h (__builtin_expect): Define as empty if not a
3610 compiler builtin.
3611 * intl/loadinfo.h (__builtin_expect): Likewise.
3612 * intl/dcigettext.c (dcigettext, _nl_find_msg): Use
3613 __builtin_expect where appropriate.
3614 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3615 * intl/localealias.c (extend_alias_table): Return an error indicator.
3616 (read_alias_file): Bail out if extend_alias_table fails.
3617
3618 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3619
3620 * intl/loadmsgcat.c: Define _GNU_SOURCE as early as possible.
3621 * intl/localealias.c: Likewise.
3622
3623 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3624
3625 * intl/loadmsgcat.c (_nl_load_domain): Initialize domain->conv_tab.
3626 Initialize domain->plural and domain->nplurals even if there is no
3627 nullentry.
3628
3629 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3630
3631 * intl/dcigettext.c (_nl_find_msg): Terminate __gconv loop if return
3632 value is == __GCONV_OK or == __GCONV_EMPTY_INPUT, not != __GCONV_OK.
3633 In case of failure, goto converted.
3634
3635 2000-05-01 Bruno Haible <haible@clisp.cons.org>
3636
3637 * wcsmbs/wcsmbsload.c (norm_add_slashes): Move away.
3638 * iconv/gconv_int.h (norm_add_slashes): Move to here.
3639 * intl/loadmsgcat.c (_nl_load_domain): Normalize strings passed to
3640 __gconv_open.
3641
3642 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3643
3644 * intl/dcigettext.c (transcmp): Compare the domains as well.
3645 (dcigettext): Call strlen (msgid1) after testing msgid1 against NULL,
3646 not before.
3647 * intl/loadmsgcat.c (_nl_load_domain): Deal with EINTR. Include
3648 <errno.h>.
3649
3650 2000-05-03 Ulrich Drepper <drepper@redhat.com>
3651
3652 * string/bits/string2.h: Declare __strdup and __strndup if necessary.
3653 Reported by Bruno Haible.
3654
3655 2000-04-29 Bruno Haible <haible@clisp.cons.org>
3656
3657 * manual/arith.texi: Remove @w from @itemize.
3658
3659 2000-05-02 Andreas Jaeger <aj@suse.de>
3660
3661 * conform/data/tar.h-data: Add some checks for specific values.
3662
3663 * conform/data/stdlib.h-data: Add checks for value of EXIT_SUCCESS
3664 and RAND_MAX.
3665
3666 * conform/data/stdio.h-data: Add checks for value of TMP_MAX and
3667 FOPEN_MAX.
3668
3669 * conform/data/netinet/in.h-data: Add exact checks for the values
3670 fo INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
3671
3672 * conform/data/float.h-data: Add some minimal values.
3673
3674 * conform/conformtest.pl: Test for macros with string constants,
3675 check for minimum and maximum values.
3676 Add limits.h to headers.
3677
3678 * conform/data/cpio.h-data: Test for value of MAGIC.
3679
3680 * conform/data/limits.h-data: New file.
3681
3682 2000-04-30 Bruno Haible <haible@clisp.cons.org>
3683
3684 * math/Makefile (headers): Add bits/fenvinline.h.
3685
3686 2000-05-01 Ulrich Drepper <drepper@redhat.com>
3687
3688 * sysdeps/unix/sysv/aix/linux/linux-dirent.h: New file.
3689 * sysdeps/unix/sysv/aix/linux/direntconv.c: New file.
3690
3691 * posix/Versions: Change posix_spawnattr_getdefault and
3692 posix_spawnattr_setdefault to posix_spawnattr_getsigdefault
3693 and posix_spawnattr_setsigdefault respectively.
3694 * posix/spawn.h: Likewise.
3695 * posix/spawnattr_getdefault.h: Likewise.
3696 * posix/spawnattr_setdefault.h: Likewise.
3697 * conform/data/spawn.h-data: Likewise.
3698
3699 2000-05-01 Andreas Jaeger <aj@suse.de>
3700
3701 * nscd/nscd.c: Include <grp.h> for setgroups prototype.
3702
3703 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3704
3705 * manual/sysinfo.texi: Document getdomainname, setdomainname
3706 and sysctl.
3707 * manual/string.texi: Fix typo.
3708 * manual/terminal.texi: Document gtty and stty.
3709 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3710
3711 2000-04-30 Andreas Jaeger <aj@suse.de>
3712
3713 * posix/bits/posix1_lim.h (_POSIX_PATH_MAX): Increase to 256 in
3714 accordance with Austin Draft.
3715
3716 2000-04-30 Ulrich Drepper <drepper@redhat.com>
3717
3718 * catgets/gencat.c (read_input_file): Use isblank and not isspace
3719 to recognize second character in comment line.
3720
3721 * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Set errno to
3722 ENOBUFS if we are out of memory.
3723
3724 * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make
3725 available if __USE_XOPEN2K.
3726 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
3727 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3728 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
3729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3730 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
3731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3732 * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise.
3733 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
3734
3735 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3736
3737 * iconv/iconv_prog.c (main): Handle input file name "-" correctly.
3738 Recognize option -s, -c, and -l.
3739
3740 2000-04-20 Thorsten Kukuk <kukuk@suse.de>
3741
3742 * nscd/nscd.c: Start new session for nscd, drop privilegs
3743 to configured user if requested and no -S parameter are used.
3744 * nscd/nscd.conf: Add new option "server-user".
3745 * nscd/nscd_conf.c: Add support for new "server-user" option.
3746 * nscd/nscd.h: Add declaration for server_user variable.
3747 Based on patch by Chris Wing <wingc@engin.umich.edu>
3748
3749 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3750
3751 * sysdeps/unix/sysv/linux/i386/sigaction.c: Add comment explaining
3752 that changing the __restore and __restore_rt signal return code
3753 will break GDB.
3754
3755 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3756
3757 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Do not include
3758 <sys/user.h>.
3759
3760 2000-04-29 Mark Kettenis <kettenis@gnu.org>
3761
3762 * conform/data/ucontext.h-data: Allow ss_* instead of SS_*.
3763
3764 2000-04-29 Ulrich Drepper <drepper@redhat.com>
3765
3766 * conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
3767 sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
3768 arpa/inet.h.
3769 * conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
3770 SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
3771 S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
3772 S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
3773 S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
3774 POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
3775 POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
3776 posix_fallocate, and posix_madvise.
3777 * conform/data/netdb.h-data: New file.
3778 * conform/data/pthread.h-data: Add pthread_barrier_t,
3779 pthread_barrierattr_t, pthread_barrier_destroy,
3780 pthread_barrier_init, pthread_barrier_wait,
3781 pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
3782 pthread_barrierattr_init, pthread_barrierattr_setpshared,
3783 pthread_condattr_getclock, pthread_condattr_setclock,
3784 pthread_getcpuclockid, pthread_mutex_timedlock,
3785 pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
3786 pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
3787 pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
3788 * conform/data/sched.h-data: Add sched_ss_low_priority,
3789 sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
3790 SCHED_SPORADIC.
3791 * conform/data/semaphore.h-data: Add sem_timedwait.
3792 * conform/data/signal.h-data: Add SIGIO.
3793 * conform/data/spawn.h-data: New file.
3794 * conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
3795 * conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
3796 CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
3797 Fix typo in gmtime_r definition.
3798 * conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
3799 _POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
3800 _POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
3801 _POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
3802 _POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
3803 _XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
3804 _POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
3805 _POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
3806 _SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
3807 _SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
3808 _SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
3809 _SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
3810 _SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
3811 _SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
3812 _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
3813 _SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
3814 _SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
3815 _SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
3816 _SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
3817 _PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
3818 typo in off_t definition.
3819 * conform/data/net/if.h-data: New file.
3820 * conform/data/netinet/in.h-data: New file.
3821 * conform/data/netinet/tcp.h-data: New file.
3822 * conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
3823 POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
3824 POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
3825 POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
3826 posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
3827 and posix_typed_mem_open.
3828 * conform/data/sys/socket.h-data: New file.
3829 * conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
3830 * conform/data/sys/types.h-data: Add pthread_barrier_t,
3831 pthread_barrierattr_t, and pthread_spinlock_t.
3832 * conform/data/sys/un.h-data: New file.
3833 * conform/data/sys/utsname.h-data: New file.
3834
3835 * include/netdb.h (__gethostbyaddr_r): Fix types of first and second
3836 parameter.
3837 * inet/gethstbyad.c (gethostbyname): Likewise.
3838 * inet/gethstbyad_t.c (gethostbyname_r): Likewise.
3839 * inet/getipnodebyad.c (getipnodebyad): Likewise.
3840 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
3841 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
3842 Likewise.
3843 * nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
3844 * nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
3845 * nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
3846 * nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
3847 * resolv/gethnamaddr.c (gethostbyname): Likewise.
3848 * resolv/netdb.h (struct hostent): Fix type of h_length member.
3849 (gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
3850 and second parameter.
3851
3852 * wcsmbs/mbrtowc.c (__mbrtowc): Set end of buffer correctly if s
3853 == NULL.
3854
3855 2000-04-29 Andreas Jaeger <aj@suse.de>
3856
3857 * conform/data/arpa/inet.h-data: New file.
3858
3859 2000-04-28 Geoff Clare <gwc@unisoft.com>
3860
3861 * io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the
3862 path passed to ftw() or nftw() is an empty string.
3863 Closes PR libc/1710.
3864
3865 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3866
3867 * localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5.
3868 (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies.
3869 * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5.
3870 * localedata/tst-mbswcs4.c: New file.
3871 * localedata/tst-mbswcs5.c: New file.
3872
3873 * wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s
3874 == NULL. Little optimization.
3875
3876 * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not
3877 DT_PREINIT_ARRAYSZ).
3878 Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
3879
3880 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle
3881 overflows in conversion from ASCII.
3882
3883 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3884
3885 * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs.
3886 * Makerules (full_config_sysdirs): Likewise.
3887 * MakeTAGS (full_config_sysdirs): Likewise.
3888
3889 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3890
3891 * .cvsignore: Remove linuxthreads.
3892 * po/.cvsignore: Remove *.pot.
3893 * posix/glob/.cvsignore: Removed.
3894 * sysdeps/unix/bsd/osf/.cvsignore: Removed.
3895
3896 2000-04-25 Andreas Jaeger <aj@suse.de>
3897
3898 * conform/Makefile (distribute): Also distribute contents of
3899 subdirectories.
3900
3901 * Makerules (no_deps): Remove abi-versions.h.
3902
3903 * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype.
3904
3905 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3906
3907 * sysdeps/sparc/sparc64/elf/Dist: Remove.
3908 * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove.
3909 * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove.
3910 * sysdeps/sparc/sparc64/elf/crtend.S: Remove.
3911 * sysdeps/sparc/sparc64/elf/crtendS.S: Remove.
3912 * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend
3913 objects.
3914
3915 2000-04-25 Thorsten Kukuk <kukuk@suse.de>
3916
3917 * nscd/grpcache.c: Fix gr_name pointer [PR/1702].
3918
3919 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3920
3921 * intl/dcigettext.c: Define _GNU_SOURCE as early as possible.
3922 * intl/l10nflist.c: Likewise.
3923
3924 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3925
3926 * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define,
3927 __libc_rwlock_wrlock, __libc_rwlock_unlock as empty.
3928 * intl/textdomain.c [!_LIBC]: Likewise.
3929 * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized,
3930 __libc_rwlock_rdlock, __libc_rwlock_unlock as empty.
3931 * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid
3932 syntax error.
3933
3934 2000-04-23 Bruno Haible <haible@clisp.cons.org>
3935
3936 * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and
3937 character set conversion also in the case the translation was found
3938 after a hash collision or through binary search. Store the maximum
3939 index together with the converted message. Use iconv() when available.
3940 In case of out of memory during conversion, return the unconverted
3941 translated string, not NULL.
3942
3943 2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch>
3944
3945 * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1
3946 to avoid name clashes with the ia32 linker.
3947
3948 2000-04-25 Jakub Jelinek <jakub@redhat.com>
3949
3950 * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args
3951 handling.
3952
3953 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3954
3955 * manual/string.texi: Document strcasestr, strchrnul, strtoimax,
3956 strtoumax, strfry, and memfrob.
3957 * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max.
3958 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
3959
3960 * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal
3961 if this function is available.
3962
3963 * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for
3964 all values.
3965
3966 2000-04-27 Jakub Jelinek <jakub@redhat.com>
3967
3968 * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
3969
3970 2000-04-27 Ulrich Drepper <drepper@redhat.com>
3971
3972 * localedata/Makefile (test-srcs); Add tst-mbswcs3.
3973 Add rule to build tst-mbswcs3 before running tst-mbswcs.sh.
3974 * localedata/tst-mbswcs.sh: Run tst-mbswcs3.
3975 * localedata/tst-mbswcs3.c: New file.
3976
3977 2000-04-26 Ulrich Drepper <drepper@redhat.com>
3978
3979 * wcsmbs/mbsnrtowcs.c: Correctly compute number of converted
3980 characters. Don't handle incomplete characters as errors.
3981 * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors.
3982 * localedata/Makefile (test-srcs): Add tst-mbswcs2.
3983 Add rule to build tst-mbswcs2 before running tst-mbswcs.sh.
3984 * localedata/tst-mbswcs.sh: Run tst-mbswcs2.
3985 * localedata/tst-mbswcs2.c: New file.
3986
3987 * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct
3988 stored character in state in UNPACK_BYTES macro.
3989 * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct
3990 test for available characters, handle result of BODY code correctly.
3991 * localedata/Makefile (test-srcs): Add tst-mbswcs1.
3992 (distribute): Add tst-mbswcs.sh.
3993 Add rule to run tst-mbswcs.sh.
3994 * localedata/tst-mbswcs.sh: New file.
3995 * localedata/tst-mbswcs1.c: New file.
3996
3997 2000-04-26 Jakub Jelinek <jakub@redhat.com>
3998
3999 * nis/nis_callback.c (__nis_create_callback): Do failed memory
4000 allocation fixups centrally, fix __builtin_expect call, return NULL
4001 on failure, not NIS_NOMEMORY.
4002
4003 2000-04-27 Bruno Haible <haible@clisp.cons.org>
4004
4005 * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT.
4006
4007 * intl/loadinfo.h (internal_function): Define if not already defined.
4008
4009 2000-04-27 Andreas Jaeger <aj@suse.de>
4010
4011 * intl/libintl.h: Fix typo, reported by Bruno Haible
4012 <haible@clisp.cons.org>.
4013
4014 2000-04-25 Ulrich Drepper <drepper@redhat.com>
4015
4016 * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not
4017 setting the state to GMON_PROF_BUSY.
4018
4019 2000-04-24 Ulrich Drepper <drepper@redhat.com>
4020
4021 * elf/dl-profile.c (_dl_start_profile): define all variables which
4022 do not have to be global as local variables.
4023
4024 * nis/nis_callback.c (__nis_create_callback): Partially undo last
4025 patch. Keep needed tests for failed memory allocation.
4026
4027 * elf/dl-reloc.c (_dl_relocate_object): Add one more
4028 __builtin_expect saying that we don't normally expect to profile.
4029
4030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add
4031 __builtin_expect where desirable.
4032
4033 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4034
4035 * manual/Makefile (chapters): Add syslog.
4036 * manual/syslog.texi: New file.
4037 * manual/math.texi: Fix references.
4038 * manual/terminal.texi: Likewise.
4039 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4040
4041 2000-04-18 Jakub Jelinek <jakub@redhat.com>
4042
4043 * posix/sys/wait.h: Define __WAIT_STATUS and the like either if
4044 stdlib.h was not included or __USE_XOPEN not defined.
4045
4046 2000-04-23 Ulrich Drepper <drepper@redhat.com>
4047
4048 * nss/Makefile (libnss_db-dbs): Remove stray backslash.
4049 Patch by Zack Weinberg <zack@wolery.cumb.org>.
4050
4051 2000-04-22 Ulrich Drepper <drepper@redhat.com>
4052
4053 * manual/examples/subopt.c (mount_opts): Add missing terminating
4054 entry.
4055 Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
4056
4057 * assert/assert-perr.c: Include <stdlib.h> for abort prototype.
4058 * libio/ftello.c: Likewise.
4059 * libio/ftello64.c: Likewise.
4060 * libio/ioftell.c: Likewise.
4061 * sysdeps/generic/memrchr.c: Likewise.
4062 * sysdeps/posix/libc_fatal.c: Likewise.
4063 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4064 * misc/fstab.c: Include <string.h> for strcmp prototype.
4065 * sysdeps/generic/ldsodefs.h: Likewise.
4066 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4067 Patch by Kurt Roeckx <Q@ping.be>.
4068
4069 * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines.
4070 Remove db-open. Change all uses.
4071 (libnss_db-routines): Define as $(libnss_db-dbs) db-open.
4072
4073 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4074
4075 * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare.
4076 * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare.
4077 * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare.
4078 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28
4079 with .set noat/at to shut up warnings.
4080 * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias.
4081 * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow
4082 compilation if __NR_pciconfig_iobase is not defined.
4083 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64):
4084 Add alias.
4085
4086 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4087
4088 * manual/sysinfo.texi: Fix typo.
4089 * manual/time.texi: Document timelocal, timegm, adjtimex, and stime.
4090 Replace "high precision time" with "high accuracy clock".
4091 Fix language.
4092 Patches by Bryan Henderson <bryanh@giraffe-data.com>.
4093
4094 * nis/nis_findserv.c (__nis_findfastest): Improve memory handling.
4095 * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca
4096 instead of malloc.
4097 * nis/nis_subr.c: Use __builtin_expect.
4098 * nis/ypclnt.c: Likewise.
4099 * nis/nis_getservlist.c: Likewise.
4100 * nis/nis_creategroup.c: Likewise.
4101
4102 * nis/nis_callback.c (__nis_create_callback): Check result of
4103 memory allocation. Fix memory leaks. Use __builtin_expect.
4104 (__nis_destroy_callback): Fix memory leaks.
4105
4106 2000-04-21 Andreas Jaeger <aj@suse.de>
4107
4108 * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC.
4109 * sysdeps/mips/mips64/add_n.S: Likewise.
4110 * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
4111 * sysdeps/mips/mips64/lshift.S: Likewise.
4112 * sysdeps/mips/mips64/mul_1.S: Likewise.
4113 * sysdeps/mips/mips64/rshift.S: Likewise.
4114 * sysdeps/mips/mips64/setjmp.S: Likewise.
4115 * sysdeps/mips/mips64/sub_n.S: Likewise.
4116 * sysdeps/mips/mips64/submul_1.S: Likewise
4117 * sysdeps/unix/mips/sysdep.S: Likewise.
4118
4119 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab
4120 and update comment. The strtab from _dl_relocate_object can be
4121 used.
4122
4123 2000-04-21 Ulrich Drepper <drepper@redhat.com>
4124
4125 * iconv/iconv.c (iconv): Add __builtin_expect where useful.
4126 * iconv/iconv_close.c (iconv_close): Likewise.
4127 * iconv/iconv_open.c (iconv_open): Likewise.
4128
4129 * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add
4130 __builtin_expect where useful.
4131
4132 * grp/initgroups.c (initgroups): Test for result of memory
4133 allocation and punt if it fails.
4134
4135 * dirent/scandir.c (scandir): Add __builtin_expect where useful.
4136 * grp/fgetgrent.c (fgetfrent): Likewise.
4137 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
4138
4139 2000-04-21 Jakub Jelinek <jakub@redhat.com>
4140
4141 * libio/vasprintf.c: Include string.h to get memcpy prototype.
4142
4143 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4144
4145 * wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small
4146 don't search for NUL byte to decrement counter.
4147 Reported by Ulrich.Brink@sap.com.
4148
4149 * iconv/gconv_simple.c: Define separate functions to convert from
4150 UCS4/UCS4-LE to the internal encoding.
4151 * iconv/gconv_builtin.h: Use separate functions to convert from
4152 UCS4/UCS4-LE to the internal encoding.
4153 * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and
4154 __gconv_transform_ucs4le_internal.
4155
4156 * iconv/gconv_simple.c (internal_utf8_loop): Correct check for
4157 output buffer overflow. Reported by Ulrich.Brink@sap.com.
4158
4159 * iconv/skeleton.c: Add some more __builtin_expect.
4160 * iconv/loop.c: Likewise.
4161
4162 2000-03-08 H.J. Lu <hjl@gnu.org>
4163
4164 * posix/regex.c (regex_compile): Correctly handle "\{" when
4165 the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
4166
4167 2000-04-20 Ulrich Drepper <drepper@redhat.com>
4168
4169 * manual/stdio.texi: Give advise about handling error when using
4170 stream functions.
4171 Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
4172
4173 2000-04-19 Jakub Jelinek <jakub@redhat.com>
4174
4175 * locale/programs/ld-ctype.c (ctype_output): Set size of the idx
4176 field to nelems * sizeof (uint32_t).
4177 * locale/programs/ld-address.c (address_output): Align word fields
4178 properly.
4179 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4180 Don't restart idx pointers to idx end at the duo_int_curr_symbol
4181 field.
4182 Avoid giving arbitrary garbage in the crncystr field.
4183 Use sizeof(uint32_t) instead of 4 for len in uno_valid_from,
4184 uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate
4185 fields.
4186 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4187 Don't restart idx pointers to idx end at the decimal_point_wc field.
4188 * locale/programs/ld-time.c (time_output): week_1stday should be
4189 word, not byte. Align it properly.
4190
4191 2000-04-19 H.J. Lu <hjl@gnu.org>
4192
4193 * csu/gmon-start.c (_start): Declared as "extern void".
4194 (etext): Likewise.
4195
4196 2000-04-18 Andreas Jaeger <aj@suse.de>
4197
4198 * manual/install.texi (Running make install): Don't mention utmpd
4199 anymore.
4200
4201 2000-04-18 Andreas Jaeger <aj@suse.de>
4202
4203 * linuxthreads/Versions: Use ld instead of ld.so.
4204
4205 * elf/Makefile (ld-map): Use ld.map.
4206
4207 * Versions.def: Use ld instead of ld.so.
4208 * elf/Versions: Likewise.
4209 * sysdeps/mach/hurd/Versions: Likewise.
4210
4211 2000-04-20 Andreas Jaeger <aj@suse.de>
4212
4213 * elf/rtld.c (print_statistics): Move ifndef further up.
4214 (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
4215 (dl_main): Likewise.
4216
4217 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4218
4219 * gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
4220 * gmon/Versions: Move moncontrol to GLIBC_2.2.
4221
4222 * po/cs.po: Update from translation team.
4223
4224 * sysdeps/generic/updwtmp.c: Remove daemon support.
4225
4226 * login/Makefile (routines): Remove utmp_daemon.
4227
4228 * sysdeps/unix/sysv/aix/gethostname.c: Fix type of len argument.
4229 * sysdeps/unix/sysv/aix/access.c: Define ACC_INVOKER.
4230 * sysdeps/unix/sysv/aix/getegid.c: Define ID_EFFECTIVE.
4231 * sysdeps/unix/sysv/aix/geteuid.c: Likewise.
4232
4233 * elf/rtld.c: Display statitics option also if hp timing is not
4234 available.
4235
4236 * login/programs/connection.c: Removed.
4237 * login/programs/database.c Removed.
4238 * login/programs/error.c: Removed.
4239 * login/programs/request.c: Removed.
4240 * login/programs/xtmp.c: Removed.
4241 * login/programs/xtmp.h: Removed.
4242 * login/Makefile: Remove rules for utmpd.
4243 * login/README.utmpd: Removed.
4244 * login/utmp_daemon.c: Removed.
4245 * login/getutent_r.c: Remove references to daemon functions.
4246 * login/utmp-private.h (__libc_utmp_daemon_functions): Remove
4247 declaration.
4248
4249 2000-04-18 Andreas Jaeger <aj@suse.de>
4250
4251 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4252 2.2 for libnsl, libresolv, librt, libnss_*.
4253
4254 * elf/rtld.c (process_dl_debug): Remove obsolete comment.
4255
4256 * sysdeps/mips/dl-machine.h (elf_machine_rel): Fix relocation.
4257
4258 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4259
4260 * sysdeps/unix/sysv/aix/geteuid.c: Don't try to include <sys/id.h>.
4261 * sysdeps/unix/sysv/aix/getegid.c: Likewise.
4262 * sysdeps/unix/sysv/aix/xstat64.c: Define STX_NORMAL and STX_64.
4263 * sysdeps/unix/sysv/aix/xstat.c: Define STX_NORMAL.
4264 * sysdeps/unix/sysv/aix/sys/param.h: Define NGROUPS.
4265 * sysdeps/unix/sysv/aix/setreuid.c: Define ID_EFFECTIVE and ID_REAL.
4266 * sysdeps/unix/sysv/aix/setregid.c: Likewise.
4267 * sysdeps/unix/sysv/aix/setuid.c: Define ID_REAL.
4268 * sysdeps/unix/sysv/aix/setgid.c: Likewise.
4269 * sysdeps/unix/sysv/aix/seteuid.c: Define ID_EFFECTIVE.
4270 * sysdeps/unix/sysv/aix/setegid.c: Likewise.
4271 * sysdeps/unix/sysv/aix/sbrk.c: Update parameter type.
4272 * sysdeps/unix/sysv/aix/nanosleep.c (struct timestruc_t): Define
4273 it here.
4274 * sysdeps/unix/sysv/aix/msync.c: New file.
4275 * sysdeps/unix/sysv/aix/msgsnd.c: New file.
4276 * sysdeps/unix/sysv/aix/net/if.h: New file.
4277 * sysdeps/unix/sysv/aix/pipe.c: New file.
4278 * sysdeps/unix/sysv/aix/poll.c: New file.
4279 * sysdeps/unix/sysv/aix/rename.c: New file.
4280 * sysdeps/unix/sysv/aix/rmdir.c: New file.
4281 * sysdeps/unix/sysv/aix/select.c: New file.
4282 * sysdeps/unix/sysv/aix/semctl.c: New file.
4283 * sysdeps/unix/sysv/aix/semget.c: New file.
4284 * sysdeps/unix/sysv/aix/semop.c: New file.
4285 * sysdeps/unix/sysv/aix/sendto.c: New file.
4286 * sysdeps/unix/sysv/aix/setgroups.c: New file.
4287 * sysdeps/unix/sysv/aix/setpgid.c: New file.
4288 * sysdeps/unix/sysv/aix/setpgrp.c: New file.
4289 * sysdeps/unix/sysv/aix/setpriority.c: New file.
4290 * sysdeps/unix/sysv/aix/setrlimit.c: New file.
4291 * sysdeps/unix/sysv/aix/setrlimit64.c: New file.
4292 * sysdeps/unix/sysv/aix/setsid.c: New file.
4293 * sysdeps/unix/sysv/aix/setsockopt.c: New file.
4294 * sysdeps/unix/sysv/aix/shmat.c: New file.
4295 * sysdeps/unix/sysv/aix/shmctl.c: New file.
4296 * sysdeps/unix/sysv/aix/shmdt.c: New file.
4297 * sysdeps/unix/sysv/aix/shmget.c: New file.
4298 * sysdeps/unix/sysv/aix/sigaltstack.c: New file.
4299 * sysdeps/unix/sysv/aix/sigstack.c: New file.
4300 * sysdeps/unix/sysv/aix/socket.c: New file.
4301 * sysdeps/unix/sysv/aix/socketpair.c: New file.
4302 * sysdeps/unix/sysv/aix/speed.c: New file.
4303 * sysdeps/unix/sysv/aix/symlink.c: New file.
4304 * sysdeps/unix/sysv/aix/sync.c: New file.
4305 * sysdeps/unix/sysv/aix/tcgetattr.c: New file.
4306 * sysdeps/unix/sysv/aix/tcsetattr.c: New file.
4307 * sysdeps/unix/sysv/aix/times.c: New file.
4308 * sysdeps/unix/sysv/aix/ulimit.c: New file.
4309 * sysdeps/unix/sysv/aix/umask.c: New file.
4310 * sysdeps/unix/sysv/aix/unlink.c: New file.
4311 * sysdeps/unix/sysv/aix/ustat.c: New file.
4312 * sysdeps/unix/sysv/aix/utimes.c: New file.
4313
4314 2000-04-18 Andreas Jaeger <aj@suse.de>
4315
4316 * manual/startup.texi (Environment Access): Fix putenv prototype
4317 according to recent changes.
4318 Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>, closes
4319 PR libc/1692.
4320
4321 * elf/rtld.c (print_statistics): Added HP_TIMINIG_NONAVAIL where
4322 needed.
4323
4324 2000-04-18 Ulrich Drepper <drepper@redhat.com>
4325
4326 * posix/Makefile (tests): Add tst-getaddrinfo.
4327 * posix/tst-getaddrinfo.c: New file.
4328
4329 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4330
4331 * manual/sysinfo.texi: Document that umount2 is not widely available.
4332
4333 * sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
4334 signal timing is not really implemented.
4335
4336 2000-04-17 Andreas Jaeger <aj@suse.de>
4337
4338 * elf/rtld.c (process_dl_debug): Mention statistics in help message.
4339
4340 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4341
4342 * Makefile (install): Use slibdir and libdir instead of inst_slibdir
4343 and inst_libdir.
4344
4345 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4346
4347 * manual/intro.texi: Change reference from System Information to
4348 System Management.
4349 * manual/users.texi: Likewise.
4350 * manual/conf.texi: Likewise.
4351 * manual/sysinfo.texi: Document mount, umount, and umount2.
4352 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4353
4354 2000-04-17 Jakub Jelinek <jakub@redhat.com>
4355
4356 * sysdeps/ieee754/ldbl-128/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE):
4357 Create wnumstr as well as numstr to support wide character output
4358 correctly.
4359
4360 2000-04-15 Jakub Jelinek <jakub@redhat.com>
4361
4362 * sysdeps/sparc/sparc64/Makefile: Remove sysdep-CFLAGS
4363 modification and move it...
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: ...here.
4365 Add -melf64_sparc switch to $(LD) on sparc64-linux.
4366 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Add -melf32_sparc
4367 switch to $(LD) on sparc-linux.
4368
4369 2000-04-17 Thorsten Kukuk <kukuk@suse.de>
4370
4371 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Remove setresgid
4372 and setresuid from sysdep_routines.
4373
4374 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4375
4376 * manual/Makefile (chapters): Add resource.
4377
4378 * manual/time.texi: Move section on resources to...
4379 * manual/resource.texi: ...here. New file. Document ulimit, vlimit,
4380 and vtimes.
4381 * manual/setjmp.texi: Adjust back reference.
4382 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4383
4384 * sysdeps/unix/sysv/aix/lxstat64.c: Uncomment STX_LINK and STX_64
4385 definition.
4386 * sysdeps/unix/sysv/aix/lxstat.c: Uncomment STX_LINK definition.
4387 * sysdeps/unix/sysv/aix/kill.c: Add copyright.
4388 * sysdeps/unix/sysv/aix/getuid.c: Define ID_REAL.
4389 * sysdeps/unix/sysv/aix/getgid.c: Define ID_REAL.
4390 * sysdeps/unix/sysv/aix/execve.c: Add copyright.
4391 * sysdeps/unix/sysv/aix/euidaccess.c: Add copyright.
4392 * sysdeps/unix/sysv/aix/close.c: Add copyright.
4393 * sysdeps/unix/sysv/aix/brk.c: Add copyright.
4394 * sysdeps/unix/sysv/aix/bits/errno.h: Add EAFNOSUPPORT.
4395 * sysdeps/unix/sysv/aix/access.c: Add copyright.
4396 * sysdeps/unix/sysv/aix/Makefile: Add some temporary definitions.
4397 * sysdeps/unix/sysv/aix/Implies: New file.
4398 * sysdeps/unix/sysv/aix/Versions: New file.
4399 * sysdeps/unix/sysv/aix/bind.c: New file.
4400 * sysdeps/unix/sysv/aix/bits/ioctl-types.h: New file.
4401 * sysdeps/unix/sysv/aix/bits/ioctls.h: New file.
4402 * sysdeps/unix/sysv/aix/bits/poll.h: New file.
4403 * sysdeps/unix/sysv/aix/bits/termios.h: New file.
4404 * sysdeps/unix/sysv/aix/chdir.c: New file.
4405 * sysdeps/unix/sysv/aix/chmod.c: New file.
4406 * sysdeps/unix/sysv/aix/chroot.c: New file.
4407 * sysdeps/unix/sysv/aix/creat.c: New file.
4408 * sysdeps/unix/sysv/aix/dl-close.c: New file.
4409 * sysdeps/unix/sysv/aix/dl-open.c: New file.
4410 * sysdeps/unix/sysv/aix/dl-sym.c: New file.
4411 * sysdeps/unix/sysv/aix/fchdir.c: New file.
4412 * sysdeps/unix/sysv/aix/fchmod.c: New file.
4413 * sysdeps/unix/sysv/aix/getgroups.c: New file.
4414 * sysdeps/unix/sysv/aix/gethostname.c: New file.
4415 * sysdeps/unix/sysv/aix/getpriority.c: New file.
4416 * sysdeps/unix/sysv/aix/getrlimit.c: New file.
4417 * sysdeps/unix/sysv/aix/getrlimit64.c: New file.
4418 * sysdeps/unix/sysv/aix/getrusage.c: New file.
4419 * sysdeps/unix/sysv/aix/link.c: New file.
4420 * sysdeps/unix/sysv/aix/madvise.c: New file.
4421 * sysdeps/unix/sysv/aix/mkdir.c: New file.
4422 * sysdeps/unix/sysv/aix/mknod.c: New file.
4423 * sysdeps/unix/sysv/aix/mprotect.c: New file.
4424 * sysdeps/unix/sysv/aix/msgctl.c: New file.
4425 * sysdeps/unix/sysv/aix/msgget.c: New file.
4426 * sysdeps/unix/sysv/aix/msgrcv.c: New file.
4427
4428 2000-04-17 Andreas Jaeger <aj@suse.de>
4429
4430 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Optimize a bit
4431 as suggested by Ulrich Drepper.
4432 (__dl_runtime_resolve): Remove unused variable, initialize sym
4433 directly.
4434 (RTLD_START): Document OFFSET_GP_GOT.
4435 (OFFSET_GP_GOT): New magic value.
4436 (elf_mips_got_from_gpreg): Use OFFSET_GP_GOT.
4437 (elf_machine_got_rel): Only declare strtab if needed.
4438 (elf_machine_relplt): Removed, it's not needed.
4439 (_dl_runtime_resolve): Fix \n for a comment, safe gp and not pc.
4440
4441 * sysdeps/mips/add_n.S: Add newline at EOF.
4442 * sysdeps/mips/rshift.S: Likewise.
4443 * sysdeps/mips/mul_1.S: Likewise.
4444 * sysdeps/mips/lshift.S: Likewise.
4445 * sysdeps/mips/addmul_1.S: Likewise.
4446
4447 2000-04-17 Ulrich Drepper <drepper@redhat.com>
4448
4449 * sysdeps/powerpc/fpu/s_isnan.c: Pretty printing.
4450
4451 * elf/dl-reloc.c (_dl_relocate_object): Add more __builtin_expect.
4452 * elf/dl-lookup.c: Likewise.
4453 * elf/dl-init.c (_dl_init): Likewise.
4454 * elf/dl-fini.c (_dl_fini): Likewise.
4455 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4456 * elf/dl-close.c (_dl_close): Likewise.
4457 * elf/rtld.c (_dl_start_final): Likewise.
4458
4459 * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
4460
4461 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4462
4463 * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and
4464 only fall back on using Linux.
4465
4466 * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode.
4467 Before testing versions check that we actually loaded the object
4468 and whether we are in trace mode. If not loaded during tracing don't
4469 test versions in this object.
4470 (_dl_check_all_versions): Take new parameter and pass to
4471 _dl_check_map_versions.
4472 * sysdeps/generic/ldsodefs.h: Update prototypes for
4473 _dl_check_all_versions and _dl_check_map_versions.
4474 * elf/rtld.c (struct version_check_args): Add dotrace.
4475 (version_check_doit): Pass args->dotrace to _dl_check_all_versions.
4476 (dl_main): Pass info about trace mode to version_check_doit.
4477 * elf/dl-open.c (dl_open_worker): Pass zero as new argument to
4478 _dl_check_all_versions.
4479
4480 * manual/users.texi (XPG Functions): Document utmpxname, getutmp,
4481 and getutmpx.
4482 Patch by Bryan Henderson <bryanh@giraffe-data.com>.
4483
4484 * manual/argp.texi: Document index parameter of argp_parse.
4485 Fix typo.
4486 Reported by Andrew Schulman <SCHULMAN.ANDREW@epamail.epa.gov>.
4487
4488 2000-04-14 Andreas Jaeger <aj@suse.de>
4489
4490 * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for
4491 SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC.
4492
4493 * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added.
4494
4495 2000-04-15 Ulrich Drepper <drepper@redhat.com>
4496
4497 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in
4498 compat_symbol call for old adjtime.
4499
4500 * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
4501 function interface. Patch by Richard Henderson <rth@cygnus.com>.
4502
4503 * posix/Makefile (headers): Add spawn.h.
4504 (distribute): Add spawn_int.h.
4505 (routines): Add spawn_faction_init, spawn_faction_destroy,
4506 spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2,
4507 spawnattr_init, spawnattr_destroy, spawnattr_getdefault,
4508 spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags,
4509 spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni.
4510 * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init,
4511 posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose,
4512 posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2,
4513 posix_spawnattr_init, posix_spawnattr_destroy,
4514 posix_spawnattr_getdefault, posix_spawnattr_setdefault,
4515 posix_spawnattr_getflags, posix_spawnattr_setflags,
4516 posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn,
4517 and posix_spawnp.
4518 * posix/spawn.c: New file.
4519 * posix/spawn.h: New file.
4520 * posix/spawn_faction_addclose.c: New file.
4521 * posix/spawn_faction_adddup2.c: New file.
4522 * posix/spawn_faction_addopen.c: New file.
4523 * posix/spawn_faction_destroy.c: New file.
4524 * posix/spawn_faction_init.c: New file.
4525 * posix/spawn_int.h: New file.
4526 * posix/spawnattr_destroy.c: New file.
4527 * posix/spawnattr_getdefault.c: New file.
4528 * posix/spawnattr_getflags.c: New file.
4529 * posix/spawnattr_getpgroup.c: New file.
4530 * posix/spawnattr_getschedparam.c: New file.
4531 * posix/spawnattr_getschedpolicy.c: New file.
4532 * posix/spawnattr_getsigmask.c: New file.
4533 * posix/spawnattr_init.c: New file.
4534 * posix/spawnattr_setdefault.c: New file.
4535 * posix/spawnattr_setflags.c: New file.
4536 * posix/spawnattr_setpgroup.c: New file.
4537 * posix/spawnattr_setschedparam.c: New file.
4538 * posix/spawnattr_setschedpolicy.c: New file.
4539 * posix/spawnattr_setsigmask.c: New file.
4540 * posix/spawni.c: New file.
4541 * posix/spawnp.c: New file.
4542
4543 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN.
4544 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4545
4546 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4547
4548 * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign.
4549 * malloc/malloc.c: Implement posix_memalign for glibc.
4550 * include/stdlib.h: Add prototype for __posix_memalign.
4551 * stdlib/stdlib.h: Add prototype for posix_memalign.
4552
4553 2000-04-14 Andreas Jaeger <aj@suse.de>
4554
4555 * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize
4556 symidx correctly.
4557 (elf_machine_got_rel): Cast sym correctly.
4558
4559 * sysdeps/mips/add_n.S: Use __PIC__, add end directive.
4560 * sysdeps/mips/addmul_1.S: Likewise.
4561 * sysdeps/mips/lshift.S: Likewise.
4562 * sysdeps/mips/mul_1.S: Likewise.
4563 * sysdeps/mips/rshift.S: Likewise.
4564 * sysdeps/mips/sub_n.S: Likewise.
4565 * sysdeps/mips/submul_1.S: Likewise.
4566
4567 * stdlib/stdlib.h: Fix typo in comment.
4568
4569 * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and
4570 2.2 for libdl, ld and libm.
4571
4572 * sysdeps/generic/madvise.c: Fix typos.
4573
4574 * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__.
4575
4576 * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility.
4577
4578 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc
4579 warnings.
4580
4581 2000-04-14 Ulrich Drepper <drepper@redhat.com>
4582
4583 * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64.
4584 * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64.
4585 Make old name weak alias.
4586 * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise.
4587 * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64.
4588 Make old name weak alias.
4589 * sysdeps/unix/sysv/linux/statfs64.c: Likewise.
4590
4591 * io/Makefile (routines): Add posix_fadvise, posix_fadvise64,
4592 posix_fallocate, and posix_fallocate64.
4593 * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64,
4594 posix_fallocate, and posix_fallocate64.
4595 * io/fcntl.h: Declare posix_fadvise, posix_fadvise64,
4596 posix_fallocate, and posix_fallocate64.
4597 * sysdeps/generic/fadvise.c: New file.
4598 * sysdeps/generic/fadvise64.c: New file.
4599 * sysdeps/generic/fallocate.c: New file.
4600 * sysdeps/generic/fallocate64.c: New file.
4601 * sysdeps/posix/fallocate.c: New file.
4602 * sysdeps/posix/fallocate64.c: New file.
4603 * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL,
4604 POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED,
4605 POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE.
4606 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
4607 * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise.
4608 * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
4609 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
4610 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4612
4613 * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise.
4614 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4615
4616 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4617
4618 * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice.
4619 * misc/sys/mman.h (posix_madvise): Add prototype.
4620 * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make
4621 old name and posix_madvise weak aliases.
4622 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4623 * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants.
4624 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
4625 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
4626 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4629
4630 2000-04-13 Andreas Jaeger <aj@suse.de>
4631
4632 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol
4633 versioning.
4634 (elf_machine_got_rel): Only add runtime display if needed.
4635 (elf_machine_got_rel): Handle symbol versioning.
4636
4637 2000-04-13 Andreas Jaeger <aj@suse.de>
4638
4639 * sysdeps/unix/sysv/linux/mips/clone.S: Fix function.
4640
4641 * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is
4642 default.
4643
4644 * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems
4645 with some applications.
4646 Patches by Ralf Baechle <ralf@uni-koblenz.de>.
4647
4648 * sysdeps/mips/bsd-setjmp.S: Use __PIC__.
4649 * sysdeps/mips/bsd-_setjmp.S: Likewise.
4650 * sysdeps/mips/setjmp.S: Likewise.
4651
4652 * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
4653
4654 2000-04-13 Ulrich Drepper <drepper@redhat.com>
4655
4656 * posix/globtest.sh: Work around inconsistency with expanding ~/
4657 in shell (PR libc/1690). Reported by patsmith@pobox.com.
4658
4659 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4660
4661 * posix/getconf.c: Add support for many more POSIX options.
4662 * sysdeps/posix/sysconf.c: Likewise.
4663 * sysdeps/generic/bits/confname.h: Add many more POSIX options.
4664 * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and
4665 _POSIX_SHELL.
4666 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
4667 * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to
4668 CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and
4669 CLOCK_THREAD_CPUTIME_ID.
4670 * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to
4671 CLOCK_PROCESS_CPUTIME_ID.
4672 * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of
4673 __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle
4674 CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same.
4675 * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
4676
4677 * malloc/Makefile (tests): Add tst-calloc.
4678 * malloc/tst-calloc.c: New file.
4679
4680 * sysdeps/arm/libm-test-ulps: New file.
4681
4682 * malloc/malloc.c: Undo all of today's changes.
4683
4684 * locale/programs/locale.c (show_info): Don't try to look into
4685 data for LC_ALL (there is none).
4686
4687 * malloc/malloc.c (cALLOc): Clear only what the user asked for and
4688 avoid writing over boundary.
4689 Patch by Greg McGary <gkm@eng.ascend.com>.
4690
4691 * sysdeps/arm/memprof.h: New file.
4692
4693 2000-04-12 Andreas Jaeger <aj@suse.de>
4694
4695 * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo.
4696
4697 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h>
4698 for memmem declaration.
4699
4700 2000-04-12 Ulrich Drepper <drepper@redhat.com>
4701
4702 * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval
4703 to -1.
4704 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4705
4706 * libio/iopopen.c (_IO_new_proc_open): Close pipes in case the
4707 mode is invalid.
4708 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4709 Patch by Bart Veer <bartv@redhat.com>.
4710
4711 * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init
4712 function interface.
4713
4714 2000-04-11 Andreas Jaeger <aj@suse.de>
4715
4716 * sysdeps/mips/dl-machine.h: Update some comments.
4717 (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
4718
4719 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4720
4721 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add
4722 _POSIX_SHARED_MEMORY_OBJECTS.
4723
4724 * rt/Makefile (tests): Add tst-shm.
4725 Add rules to generate tst-shm.
4726 * rt/tst-shm.c: New file.
4727
4728 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC
4729 for descriptor.
4730
4731 * misc/sys/mman.h: Add prototypes for shm_open and shm_unlink.
4732 * rt/Makefile (librt-routines): Add shm_open and shm_unlink.
4733 * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink.
4734 * sysdeps/generic/shm_open.c: New file.
4735 * sysdeps/generic/shm_unlink.c: New file.
4736 * sysdeps/unix/sysv/linux/shm_open.c: New file.
4737 * sysdeps/unix/sysv/linux/shm_unlink.c: New file.
4738 * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export
4739 __endmntent, __getmntent_r, __setmntent, and __statfs.
4740
4741 * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory
4742 fragmentation by allocating new memory at the end instead of
4743 reallocating.
4744
4745 * posix/globtest.sh: Fix last change.
4746
4747 2000-04-10 Philip Blundell <philb@gnu.org>
4748
4749 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP,
4750 IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP,
4751 IPV6_DROP_MEMBERSHIP.
4752 * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP):
4753 Likewise.
4754
4755 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4756
4757 * elf/readlib (process_file): Close streams in case of an error.
4758
4759 2000-04-09 Andreas Jaeger <aj@suse.de>
4760
4761 * elf/readlib.c (process_file): Check if file is big enough to
4762 contain aout and ELF headers.
4763 Reported by Reinhard Moosauer <RMoosauer@steinecker.com>.
4764
4765 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch>
4766
4767 * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca().
4768
4769 2000-04-11 Ulrich Drepper <drepper@redhat.com>
4770
4771 * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout
4772 stream unbuffered.
4773 * rt/Makefile (tests): Add tst-clock.
4774 Add rules to build tst-clock.
4775 * rt/tst-clock.c: New file.
4776 * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide
4777 about initialization of nsec.
4778 * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide
4779 about initialization of freq. Set retval to zero if successful.
4780 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
4781
4782 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4783
4784 * Versions.def (librt): Add GLIBC_2.2.
4785 * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid,
4786 clock_getres, clock_gettime, clock_settime, timer_create, timer_delete,
4787 timer_getoverr, timer_gettime, and timer_settime.
4788 * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime,
4789 clock_settime, timer_create, timer_delete, timer_getoverrun,
4790 timer_gettime, and timer_settime.
4791 * sysdeps/generic/clock_getcpuclockid.c: New file.
4792 * sysdeps/generic/get_clockfreq.c: New file.
4793 * sysdeps/unix/i386/clock_getcpuclockid.c: New file.
4794 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file.
4795 * sysdeps/mach/hurd/i386/bits/time.h: New file.
4796 * sysdeps/unix/i386/i586/clock_getres.c: New file.
4797 * sysdeps/unix/i386/i586/clock_gettime.c: New file.
4798 * sysdeps/unix/i386/i686/Implies: New file.
4799 * sysdpes/unix/sysv/linux/i386/bits/time.h: New file.
4800 * time/Makefile (routines): Move clock_getres, clock_gettime,
4801 clock_settime, timer_create, timer_delete, timer_getoverr,
4802 timer_gettime, and timer_settime to rt/Makefile.
4803 * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime,
4804 clock_settime, timer_create, timer_delete, timer_getoverrun,
4805 timer_gettime, and timer_settime.
4806 * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
4807
4808 * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__
4809 and not const as attribute name.
4810
4811 2000-04-10 Thorsten Kukuk <kukuk@suse.de>
4812
4813 * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
4814
4815 2000-04-10 Andreas Schwab <schwab@suse.de>
4816
4817 * posix/globtest.sh: Skip tests that depend on unreadable
4818 directories if run as root.
4819
4820 2000-04-10 Ulrich Drepper <drepper@redhat.com>
4821
4822 * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value
4823 for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
4824
4825 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4826
4827 * sysdeps/unix/clock_gettime.c: New file.
4828 * sysdeps/unix/clock_settime.c: New file.
4829 * sysdeps/posix/clock_getres.c: New file.
4830
4831 * conform/data/ftw.h-data: Add allow-header sys/stat.h.
4832
4833 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial
4834 lseek call be passing in a buffer which never allow a successful
4835 first getdents syscall if not at leas the initial entry can be
4836 stored in the user buffer.
4837
4838 * localedata/Makefile: Add rules to clean up directories created by
4839 new strfmon tests.
4840
4841 2000-04-09 Geoff Clare <gwc@unisoft.com>
4842
4843 * localedata/tst-fmon.data: Added new tests for strfmon()
4844 using test locales with all combinations of cs_precedes,
4845 sign_posn and sep_by_space.
4846 * localedata/tst-fmon.sh: Updated to support the new tests.
4847 * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing
4848 the localedef source for the new strfmon() test locale.
4849 * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise.
4850 * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise.
4851 * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise.
4852 * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise.
4853 * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise.
4854 * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise.
4855 * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise.
4856 * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise.
4857 * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise.
4858 * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise.
4859 * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise.
4860 * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise.
4861 * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise.
4862 * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise.
4863
4864 * stdlib/strfmon.c: Correct problems with missing or extra
4865 spaces for unusual combinations of sign_posn and sep_by_space.
4866 Improved left-precision alignment code.
4867
4868 2000-04-07 Andreas Jaeger <aj@suse.de>
4869
4870 * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
4871
4872 2000-04-10 Andreas Jaeger <aj@suse.de>
4873
4874 * intl/Makefile: Don't run do-gettext-test when cross-compiling.
4875
4876 2000-04-09 Ulrich Drepper <drepper@redhat.com>
4877
4878 Implement handling of restartable conversion functions according to
4879 ISO C.
4880 * iconv/gconv.h (__gconv_fct): Add additional parameter.
4881 * iconv/gconv_int.h (__BUILTIN_TRANS): Likewise.
4882 * iconv/gconv.c: Pass additional parameter to conversion function.
4883 * iconv/gconv_simple.c (internal_ucs4_loop_single): New function.
4884 (internal_ucs4le_loop_single): New function.
4885 (__gconv_transform_ascii_internal): Define ONE_DIRECTION.
4886 (__gconv_transform_internal_ascii): Likewise.
4887 (__gconv_transform_internal_utf8): Likewise.
4888 (__gconv_transform_utf8_internal): Likewise.
4889 (__gconv_transform_ucs2_internal): Likewise.
4890 (__gconv_transform_internal_ucs2): Likewise.
4891 (__gconv_transform_ucs2reverse_internal): Likewise.
4892 (__gconv_transform_internal_ucs2reverse): Likewise.
4893 (internal_ucs4le_loop_unaligned): Before return
4894 __GCONV_INCOMPLETE_INPUT check that the remaining bytes really form
4895 a valid character. Otherwise return __GCONV_ILLEGAL_INPUT.
4896 (__gconv_transform_utf8_internal): Define STORE_REST and UNPACK_BYTES.
4897 * iconv/loop.c: Fit in definition of function to convert one character
4898 for processing of left-over bytes from the state object.
4899 * iconv/skeleton.c (gconv): Rename inbuf to inptrp and inbufend to
4900 inend to match names in loop functions.
4901 (RESET_INPUT_BUFFER): Change apprpriately.
4902 (gconv): If needed, call function to process bytes from the state
4903 object. Similar at the end: store left over bytes if input is
4904 incomplete.
4905 Take extra argument and add new argument to all calls of the
4906 conversion function.
4907 * iconvdata/iso-2022-cn.c: Adjust numeric values used to store
4908 information in the state object to not conflict with length count.
4909 * iconvdata/iso-2022-jp.c: Likewise.
4910 * iconvdata/iso-2022-kr.c: Likewise.
4911 * iconvdata/unicode.c: Adjust for change change in parameters of
4912 skeleton function.
4913 * iconvdata/utf-16.c: Likewise.
4914 * libio/iofwide.c: Add new parameter to all calls of conversion
4915 function.
4916 * wcsmbs/btowc.c: Likewise.
4917 * wcsmbs/mbrtowc.c: Likewise.
4918 * wcsmbs/mbsnrtowcs.c: Likewise.
4919 * wcsmbs/mbsrtowcs.c: Likewise.
4920 * wcsmbs/wcrtomb.c: Likewise.
4921 * wcsmbs/wcsnrtombs.c: Likewise.
4922 * wcsmbs/wcsrtombs.c: Likewise.
4923 * wcsmbs/wctob.c: Likewise.
4924
4925 * iconvdata/gbgbk.c: Always define MAX_NEEDED_OUTPUT and
4926 MAX_NEEDED_INPUT.
4927
4928 2000-04-07 Andreas Jaeger <aj@suse.de>
4929
4930 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Updated for
4931 newer kernels.
4932
4933 2000-04-07 Ulrich Drepper <drepper@redhat.com>
4934
4935 * wcsmbs/wchar.h (__mbstate_t): Rename elements. Make __value
4936 element a union to allow byte access.
4937 * iconvdata/iso-2022-cn.c: Adjust for change of element name in
4938 mbstate_t.
4939 * iconvdata/iso-2022-jp.c: Likewise.
4940 * iconvdata/iso-2022-kr.c: Likewise.
4941 * wcsmbs/mbsinit.c: Likewise.
4942 * stdlib/mblen.c: Likewise.
4943 * stdio-common/printf-parse.h: Likewise.
4944
4945 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4946
4947 * sysdeps/unix/sysv/linux/getdents.c (__getdents): The Linux
4948 kernel does not allow relative seeks on descriptors associated
4949 with directories. Go back to get the position in the directory
4950 every time we enter the function. Return -1 and set errno if one
4951 entry could be read from the kernel but does not fit into the
4952 buffer passed in by the user.
4953
4954 * locale/programs/charmap.c (charmap_new_char): Add parameter step.
4955 Support ..(2).. ellipsis.
4956 (parse_charmap): Recognize ..(2).. etc and pass step down.
4957 Correctly generate names for UCS4 characters.
4958
4959 * locale/programs/ld-ctype.c (struct translit_ignore_t): Add step.
4960 (ctype_finish): We know the wide character value for <SP>,
4961 don't search.
4962 (charclass_symbolic_ellipsis): Handle ..(2).. ellipsis.
4963 (charclass_ucs4_ellipsis): Likewise.
4964 (read_translit_ignore_entry): Store ellipsis step.
4965 (ctype_read): Recognize ..(2).. etc and pass step down.
4966
4967 * locale/programs/linereader.c (lr_token): When seeing comment
4968 character ignore only rest of line in sources but stop at escaped
4969 newline.
4970 Recognize ..(2).. and ....(2).....
4971
4972 * locale/programs/locfile-token.h (enum token_t): Add tok_ellipsis2_2
4973 and tok_ellipsis4_2.
4974
4975 2000-04-06 Andreas Jaeger <aj@suse.de>
4976
4977 * sysdeps/unix/sysv/linux/alpha/Dist: init-first.h has been
4978 removed, remove it here also.
4979 * sysdeps/unix/sysv/linux/arm/Dist: Likewise.
4980 * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/sparc32/Dist: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Likewise.
4983
4984 2000-04-06 Jakub Jelinek <jakub@redhat.com>
4985
4986 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Don't
4987 include bits/sigcontext.h.
4988 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4989
4990 2000-04-06 Ulrich Drepper <drepper@redhat.com>
4991
4992 * locale/programs/ld-collate.c (collate_read): Handle ellipsis in
4993 collation symbol definition. Value in quivalence definition must
4994 be defined, don't check that it is not.
4995
4996 * locale/programs/charmap.c (parse_charmap): Recognize <Uxxxx>
4997 values as character names.
4998
4999 * locale/programs/ld-ctype.c (get_character): Handle missing
5000 repertoire map correctly.
5001
5002 2000-04-05 Cristian Gafton <gafton@redhat.com>
5003
5004 * ctype/ctype.h (__isctype_l): Define even if not __OPTIMIZE__
5005 because it is used in generic code.
5006 * wctype/wctrans.c: Define __ctype32_toupper and __ctype32_tolower.
5007 * wcsmbs/wcwidth.h: Declare __ctype32_b.
5008 * intl/gettext.c: Include <locale.h>.
5009 * intl/ngettext.c: Likewise.
5010
5011 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5012
5013 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6, inet_ntop): Use
5014 socklen_t type for size.
5015 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Rewrite for new
5016 init function interface.
5017 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5018 * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Don't include
5019 sys/ucontext.h.
5020 (__jmp_buf): Declare the whole type structure here, don't use
5021 ucontext.
5022
5023 2000-04-05 Ulrich Drepper <drepper@redhat.com>
5024
5025 * iconv/skeleton.c (put16u): Fix typo.
5026 Reported by Bruno Haible <haible@ilog.fr>.
5027
5028 * sysdeps/unix/sysv/linux/alpha/init-first.h: Not needed anymore.
5029 * sysdeps/unix/sysv/linux/arm/init-first.h: Likewise.
5030 * sysdeps/unix/sysv/linux/mips/init-first.h: Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/init-first.h: Likewise.
5032 * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Likewise.
5033 * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
5034
5035 * sysdeps/unix/sysv/linux/Dist: Remove getresuid and getresgid.
5036 * Makefile (distribute): Add abi-versions.awk and
5037 firstversions.awk.
5038 Patches by Torsten Duwe <duwe@caldera.de>.
5039
5040 2000-04-05 Andreas Schwab <schwab@suse.de>
5041
5042 * nss/Makefile ($(objpfx)makedb): Move $(libdl) after db-open.o.
5043
5044 2000-04-05 Andreas Schwab <schwab@suse.de>
5045
5046 * sysdeps/m68k/dl-machine.h (RTLD_START): Readd _dl_start_user
5047 entry point, used on Hurd.
5048
5049 2000-04-04 Andreas Jaeger <aj@suse.de>
5050
5051 * intl/Makefile: Only run the gettext test with shared libraries.
5052
5053 2000-03-16 Mark Kettenis <kettenis@gnu.org>
5054
5055 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
5056 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
5057
5058 2000-04-05 Roland McGrath <roland@baalperazim.frob.com>
5059
5060 * Makeconfig: Undo last change.
5061 * configure.in: If --disable-shared was given, don't set VERSIONING,
5062 don't define DO_VERSIONING, and don't give scare warning for no
5063 versioning.
5064 * configure: Regenerated.
5065
5066 2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
5067
5068 * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.
5069
5070 2000-04-04 Andreas Jaeger <aj@suse.de>
5071
5072 * sysdeps/generic/fgetexcptflg.c: Use shlib-compat macros.
5073
5074 2000-04-04 Ulrich Drepper <drepper@redhat.com>
5075
5076 * elf/dl-runtime.c (fixup): Correct handling of symbols marked
5077 STV_HIDDEN and STV_INTERNAL during lookup.
5078 (profile_fixup): Likewise.
5079 * elf/dl-reloc.c (RESOLVE): Likewise.
5080
5081 * iconv/skeleton.c (FUNCTION_NAME): Reorder initialization of
5082 unaligned so that it compiles for system which need unaligned
5083 access handling.
5084
5085 2000-04-04 Andreas Schwab <schwab@suse.de>
5086
5087 * elf/cache.c (print_entry): Only look at the type field when
5088 printing the type.
5089
5090 2000-04-04 Andreas Schwab <schwab@suse.de>
5091
5092 * iconvdata/big5.c (BODY): Fix typo.
5093
5094 2000-04-04 Andreas Schwab <schwab@suse.de>
5095
5096 * sysdeps/m68k/dl-machine.h (RTLD_START): Rewrite for new init
5097 function interface. Remove unused _dl_start_user entry point.
5098
5099 2000-04-03 Andreas Jaeger <aj@suse.de>
5100
5101 * include/arpa/inet.h (__inet_aton): Add protoype.
5102
5103 2000-04-01 Andreas Jaeger <aj@suse.de>
5104
5105 * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC.
5106
5107 * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC.
5108 * sysdeps/mach/mips/thread_state.h: Likewise.
5109
5110 * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros.
5111 * sysdeps/generic/fegetenv.c: Likewise.
5112 * sysdeps/generic/fesetenv.c: Likewise.
5113 * sysdeps/generic/feupdateenv.c: Likewise.
5114 * sysdeps/generic/fraiseexcpt.c: Likewise.
5115 * sysdeps/generic/fsetexcptflg.c: Likewise.
5116 * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise.
5117 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5118 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
5119 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5120
5121 2000-04-02 H.J. Lu <hjl@gnu.org>
5122
5123 * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
5124
5125 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5126
5127 * elf/dl-load.c (_dl_dst_substitute): Pretty print comment.
5128 (add_name_to_object): Add cast in malloc call.
5129 (fillin_rpath): Optimize loop to initialize ->status a bit.
5130
5131 * sysdeps/i386/dl-machine.h: Undo last change.
5132 * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
5133 Restore %edx register after call here.
5134
5135 * sysdeps/arm/atomicity.h: New file.
5136 Contributed by Jesper Skov <jskov@redhat.com>.
5137
5138 2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
5139
5140 * Makeconfig (preprocess-versions): Undo last change.
5141 Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
5142
5143 * sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
5144 here, before we might move the stack.
5145 (posixland_init): Set __libc_argc, __libc_argc, and __environ here.
5146 (init1): And not here.
5147
5148 * sysdeps/i386/dl-machine.h (RTLD_START): Fix code broken by last
5149 change, to restore argc value in call-clobbered register after
5150 RTLD_START_SPECIAL_INIT, which will contain a call.
5151
5152 * elf/dl-deps.c (_dl_map_object_deps): Fix size calculations for
5153 allocating and initializing L->l_initfini.
5154
5155 * resolv/Makefile (headers): Add bits/netdb.h, so it gets installed.
5156
5157 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5158
5159 * elf/dl-load.c (_dl_init_paths): Use (void*) -1 to signal non-existing
5160 RUNPATH, RPATH, and LD_LIBRARY_PATH.
5161 (open_path): Change type of fourth parameter. Make pointer to array
5162 of pointers. Create variable dirs with original type.
5163 Track whether any directory for the object exists and if not,
5164 change *DIRSP to (void*) -1 to signal there is no such search path.
5165 (_dl_map_object): Change all calls of open_path.
5166 Rewrite decompose_rpath calls.
5167
5168 2000-03-31 Andreas Schwab <schwab@suse.de>
5169
5170 * string/strfry.c: Declare STATE as array of char instead of int
5171 and do not initialize it (done by initstate_r). Pass correct
5172 size.
5173
5174 2000-04-03 Ulrich Drepper <drepper@redhat.com>
5175
5176 * sysdeps/generic/ldsodefs.h: Fix typo in comment.
5177
5178 * sysdeps/i386/dl-machine.h (RTLD_START): Squeeze one more
5179 instruction out of the code.
5180
5181 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5182
5183 * elf/dl-fini.c (_dl_fini): Increment j counter after swapping in
5184 element at this position.
5185
5186 * elf/Versions [ld.so] (GLIBC_2.2): Export _dl_load_lock.
5187 * elf/link.h (struct link_map): Add l_reldepsmax, l_reldepsact, and
5188 l_reldeps elements.
5189 * elf/dl-lookup.c (add_dependency): New function.
5190 (_dl_lookup_symbol): Use it whenever symbol was found in a global,
5191 dynamically loaded object.
5192 (_dl_lookup_symbol_skip): Likewise.
5193 (_dl_lookup_versioned_symbol): Likewise.
5194 (_dl_lookup_versioned_symbol_skip): Likewise.
5195 * elf/dl-open.c: Don't define _dl_load_lock here...
5196 * elf/rtld.c: ...but here...
5197 * elf/dl-support.c: ...and here.
5198 * elf/dl-close.c (_dl_close): Close also dependent objects introduce
5199 through relocation.
5200 * elf/dl-fini.c (_dl_fini): Also take dependencies introduced through
5201 relocations.
5202 * dlfcn/Makefile (glrefmain.out): Test is not expected to fail
5203 anymore.
5204 * dlfcn/glrefmain.c: Add one more debug message.
5205
5206 * Makeconfig (preprocess-versions): Don't add $(CPPFLAGS) to compiler
5207 command line.
5208 * Makerules (sysd-versions): Use ( ) instead of { }.
5209
5210 * elf/dl-load.c: Use __builtin_expect to signal that compiler should
5211 optimize for the non-debugging case.
5212 * elf/dl-lookup.c: Likewise.
5213 * sysdeps/generic/libc-start.c: Likewise.
5214
5215 2000-04-02 Roland McGrath <roland@baalperazim.frob.com>
5216
5217 * sysdeps/mach/hurd/i386/init-first.c: Replace PIC #ifdefs with SHARED.
5218 (init1): Don't initialize __environ here, since init already does it.
5219 (first_init): New function, broken out of _init.
5220 (_hurd_stack_setup): Use it.
5221 [SHARED] (_dl_init_first): New function, renamed from old _init.
5222 (init1) [SHARED]: Don't call posixland_init here.
5223 (posixland_init): Take ENVP arg, so signature is usual for initializer.
5224 [SHARED] (_init): Define as alias for posixland_init.
5225 [! SHARED] (__libc_first_init): Define as alias for posixland_init.
5226 * sysdeps/i386/dl-machine.h (RTLD_START): Insert the macro
5227 RTLD_START_SPECIAL_INIT before calling initializers.
5228 (RTLD_START_SPECIAL_INIT): Define to empty if undefined.
5229 * sysdeps/mach/hurd/i386/dl-machine.h: New file.
5230 * sysdeps/mach/hurd/dl-sysdep.c (_dl_init_first): New weak function.
5231 * elf/Versions ({libc,ld.so}: GLIBC_2.2): Add _dl_init_first.
5232
5233 * stdio-common/tmpfile.c [! USE_IN_LIBIO]: No alias needed,
5234 since we define the function with the name `tmpfile'.
5235
5236 * mach/Versions: Define SHARED instead of PIC to affect shlib-compat.h.
5237 * hurd/Versions: Likewise.
5238
5239 2000-04-02 Ulrich Drepper <drepper@redhat.com>
5240
5241 * elf/dl-runtime.c (fixup): Fix typo in comment.
5242
5243 * resolv/netdb.h (getnameinfo): All length parameters are of type
5244 socklen_t.
5245 * inet/getnameinfo.c: Likewise.
5246
5247 2000-04-01 Ulrich Drepper <drepper@redhat.com>
5248
5249 * posix/unistd.h (socklen_t): Define if it has not yet happened.
5250 (gethostname): Change type of second parameter to socklen_t.
5251 * include/unistd.h (__gethostname): Change type of second
5252 parameter to socklen_t.
5253 * sysdeps/generic/gethostname.c (__gethostname): Likewise.
5254 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
5255 * sysdeps/unix/sysv/gethostname.c (__gethostname): Likewise.
5256 * sysdeps/unix/sysv/sysv4/solaris2/gethostname.c (__gethostname):
5257 Likewise.
5258 * sysdeps/unix/sysv/linux/gethostname.c: Removed.
5259 * sysdeps/generic/bits/socket.h: Use __socklen_t to define socklen_t.
5260 Allow definition elsewhere.
5261 * sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
5262 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5263 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
5264 * sysdeps/generic/bits/types.h: Define __socklen_t.
5265 * sysdeps/unix/sysv/aix/bits/types.h: Likewise.
5266 * sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
5267 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
5268 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
5269 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
5270 * sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
5271 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
5272
5273 * inet/arpa/inet.h (inet_addr): Change return type to in_addr_t.
5274 (inet_lnaof): Likewise.
5275 (inet_netof): Likewise.
5276 (inet_network): Likewise.
5277 (inet_aton): Likewise.
5278 (inet_makeaddr): Change parameter types to in_addr_t.
5279 (inet_neta): Likewise.
5280 (inet_ntop): Change type of last parameter to socklen_t.
5281 (inet_aton): Only make available if __USE_MISC.
5282 (inet_neta): Likewise.
5283 (inet_net_ntop): Likewise.
5284 (inet_net_pton): Likewise.
5285 (inet_nsap_ntoa): Likewise.
5286
5287 * inet/in.h: Define in_port_t type.
5288 Define in_addr_t type.
5289 (struct in_addr): Use in_addr_t in definition.
5290 (IN_CLASSA): Use cast to in_addr_t.
5291 (IN_CLASSB): Likewise.
5292 (IN_CLASSC): Likewise.
5293 (IN_CLASSD): Likewise.
5294 (IN_EXPERIMENTAL): Likewise.
5295 (IN_BADCLASS): Likewise.
5296 (INADDR_ANY): Likewise.
5297 (INADDR_BROADCAST): Likewise.
5298 (INADDR_NONE): Likewise.
5299 (INADDR_LOOPBACK): Likewise.
5300 (INADDR_UNSPEC_GROUP): Likewise.
5301 (INADDR_ALLHOSTS_GROUP): Likewise.
5302 (INADDR_ALLRTRS_GROUP): Likewise.
5303 (INADDR_MAX_LOCAL_GROUP): Likewise.
5304 (struct sockaddr_in): Use in_port_t for sin_port element.
5305 (struct sockaddr_in6): Use in_port_t for sin6_port element.
5306 Use uint8_t instead of u_int8_t.
5307
5308 * resolv/inet_addr.c (inet_addr): Change return type to in_addr_t.
5309 Call __inet_aton instead of inet_aton.
5310 (__inet_aton): Renamed from inet_aton. Add weak alias under old name.
5311
5312 * resolv/netdb.h (gethostbyname2): Define only is __USE_MISC.
5313 (innetgr): Likewise.
5314 (struct addrinfo): Use socklen_t for ai_addrlen element.
5315
5316 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MTU_DISCOVER, IPV6_MTU,
5317 IPV6_RECVERR): New defines.
5318
5319 * include/netdb.h: Change type of first parameter of __getnetbyaddr_r.
5320 * inet/getnetbyad.c: Likewise.
5321 * inet/getnetbyad_r.c: Likewise.
5322 * nis/nss_nis/nis-network.c: Likewise.
5323 * nis/nssplus_nis/nisplus-network.c: Likewise.
5324 * nss/nss_files/files-network.c: Likewise.
5325 * resolv/netdb.h: Define uint32_t if not already happened.
5326 Include bits/netdb.h. Remove definition of struct netent.
5327 Change type of first parameter of getnetbyaddr_r and getnetbyaddr.
5328 * sysdeps/generic/stdint.h: Allow definition of uint32_t elsewhere.
5329 * sysdeps/generic/bits/netdb.h: New file.
5330 * sysdeps/unix/sysv/linux/alpha/bits/netdb.h: New file.
5331
5332 * dlfcn/Makefile (distribute): Add glreflib1.c and glreflib2.c.
5333 (tests): Add glrefmain.
5334 Add rules to build modules and run tests. Ignore result of glrefmain
5335 for now since it fails.
5336 * dlfcn/glrefmain.c: New file.
5337 * dlfcn/glreflib1.c: New file.
5338 * dlfcn/glreflib2.c: New file.
5339
5340 * test-skeleton.c: Include <string.h> for strsignal prototype.
5341
5342 * locale/programs/ld-collate.c (check_duplicate): Allow repertoire
5343 to be missing.
5344
5345 * sysdeps/unix/sysv/linux/init-first.c (init): Add code from
5346 former init-first.h. Initialize __libc_multiple_libcs.
5347
5348 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5349
5350 * iconv/skeleton.c: Define access macros with u suffix. Adjust
5351 #if expression for use of unaligned function to the one used in
5352 the definition of these functions.
5353 * iconv/loop.c: Undefined `unaligned' before recursive inclusion.
5354 * iconv/gconv_simple.c (internal_ucs4_loop_unaligned): New function.
5355 (internal_ucs4le_loop_unaligned): New function.
5356
5357 * elf/Makefile (distribute): Add dep1.c, dep2.c, dep3.c, and dep4.c.
5358 (tests): Add order.
5359 (module-names): Add dep1, dep2, dep3, and dep4.
5360 Add dependencies for dep* modules and order.
5361 Define rule for order.out which checks the result.
5362 * elf/dep1.c: New file.
5363 * elf/dep2.c: New file.
5364 * elf/dep3.c: New file.
5365 * elf/dep4.c: New file.
5366 * elf/order.c: New file.
5367
5368 * elf/dl-init.c: Fix typo in comment.
5369
5370 2000-03-31 Andreas Jaeger <aj@suse.de>
5371
5372 * sysdeps/mips/dl-machine.h (RTLD_START): Rewritten to match new
5373 init function interface.
5374 * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
5375
5376 2000-03-31 Andreas Jaeger <aj@suse.de>
5377
5378 * sysdeps/mips/fpu/fgetexcptflg.c: Fix last patch to use #if.
5379 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5380 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5381 * sysdeps/mips/fpu/fclrexcpt.c: Likewise.
5382 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5383
5384 * sysdeps/generic/ldsodefs.h: DT_INIT_ARRAY is not relocated
5385 anymore, update comment.
5386
5387 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5388
5389 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Remove
5390 SHLIB_COMPAT - the struct is always needed.
5391
5392 2000-03-31 Ulrich Drepper <drepper@redhat.com>
5393
5394 * sysdeps/i386/dl-machine.h (RTLD_START): Optimize for i686.
5395 * elf/dl-support.c: Define _dl_starting_up.
5396
5397 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5398
5399 * elf/dl-init.c (_dl_init): Clear _dl_starting_up at end of function.
5400 * sysdeps/i386/dl-machine.h: Remove code to clear _dl_starting_up.
5401
5402 * misc/sys/cdefs.h: Don't allow gcc in traditional mode to be used.
5403
5404 * elf/Makefile (dl-routines): Remove preinit.
5405 * elf/Versions: Remove _dl_preinit.
5406 * elf/dl-preinit.c: Removed. Move content into...
5407 * elf/dl-init.c: ...here.
5408 * sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
5409
5410 * sysdeps/generic/bits/shm.h (struct shmid_ds): Correct names of
5411 elements.
5412
5413 2000-03-29 Geoff Clare <gwc@unisoft.com>
5414
5415 * stdlib/strfmon.c: Corrected problems with the code that
5416 sets default values for [np]_sep_by_space and
5417 [np]_sign_posn; also the new positive/negative alignment
5418 code from the previous patch was not quite right for
5419 [np]_sign_posn = 0.
5420
5421 * localedata/tst-fmon.data: Changes corresponding to the
5422 two sets of fixes made to stdlib/strfmon.c.
5423
5424 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch>
5425
5426 * malloc/malloc.c: Declare bit flags UL so that they will not
5427 default to int size when being inverted.
5428
5429 2000-03-29 Andreas Jaeger <aj@suse.de>
5430
5431 * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros.
5432 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5433
5434 2000-03-29 Andreas Jaeger <aj@suse.de>,
5435 Ralf Baechle <ralf@uni-koblenz.de>
5436
5437 * Makeconfig: Introduce new variable SHARED to mark code used in
5438 the shared library.
5439 * elf/dl-close.c: Use it instead of PIC.
5440 * elf/dl-load.c: Likewise.
5441 * elf/dl-open.c: Likewise.
5442 * hurd/geteuids.c: Likewise.
5443 * include/libc-symbols.h: Likewise.
5444 * include/shlib-compat.h: Likewise.
5445 * libio/freopen.c: Likewise.
5446 * linuxthreads/cancel.c: Likewise.
5447 * linuxthreads/pthread.c: Likewise.
5448 * linuxthreads/wrapsyscall.c: Likewise.
5449 * nss/nsswitch.c: Likewise.
5450 * stdio-common/vfprintf.c: Likewise.
5451 * sysdeps/arm/init-first.c: Likewise.
5452 * sysdeps/i386/init-first.c: Likewise
5453 * sysdeps/generic/init-first.c: Likewise.
5454 * sysdeps/generic/libc-start.c: Likewise.
5455 * sysdeps/mips/init-first.c: Likewise.
5456 * sysdeps/powerpc/elf/libc-start.c: Likewise.
5457 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
5458 * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise.
5459 * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise.
5460 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5461
5462 * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
5463
5464 2000-03-29 Andreas Jaeger <aj@suse.de>
5465
5466 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_runtime_setup):
5467 Use D_PTR to access relocated entries in l_info.
5468 (elf_machine_rela): Likewise.
5469
5470 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup):
5471 Likewise.
5472 (elf_machine_rela): Likewise.
5473
5474 * sysdeps/powerpc/dl-machine.c (__elf_machine_runtime_setup):
5475 Likewise.
5476 (__elf_machine_fixup_plt): Likewise.
5477 (__process_machine_rela): Likewise.
5478
5479 * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Likewise.
5480 (elf_machine_rela): Likewise.
5481
5482 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Likewise.
5483 (elf_machine_rel): Likewise.
5484
5485 * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Likewise.
5486 (elf_machine_fixup_plt): Likewise.
5487 (elf_machine_rela): Likewise.
5488
5489 2000-03-29 Andreas Jaeger <aj@suse.de>
5490
5491 * sysdeps/unix/sysv/linux/msgctl.c: Use shlib-compat macros.
5492 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5493 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5494 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Likewise.
5495 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
5496 * sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
5497 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
5498 * sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
5499 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5500 * sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
5501 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Likewise.
5502 * sysdeps/unix/sysv/linux/alpha/semctl.c: Likewise.
5503 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Likewise.
5504 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
5505 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5506
5507 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Use shlib-compat
5508 macros, remove K&R prototypes.
5509
5510 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5511
5512 * posix/getopt.c (_getopt_internal): Return -1 if argc < 1.
5513 Reported by Andrew Wiseman <a.wiseman@bandc.dircon.co.uk>
5514 (PR libc/1677).
5515
5516 2000-03-30 Andreas Jaeger <aj@suse.de>
5517
5518 * misc/sys/cdefs.h: Remove K&R support.
5519
5520 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5521
5522 * iconv/skeleton.c: Avoid compiling unaligned versions in some
5523 more cases.
5524 * iconv/loop.c: Likewise.
5525
5526 2000-03-29 Bruno Haible <haible@clisp.cons.org>
5527
5528 * iconv/loop.c (put16): Remove __const. Fix access index.
5529 (put32): Remove __const. Use uint32_t instead of uint16_t.
5530 * iconv/skeleton.c: Likewise.
5531
5532 2000-03-30 Roland McGrath <roland@baalperazim.frob.com>
5533
5534 * mach/Versions (libc: GLIBC_2.0)
5535 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Conditionalize
5536 __vm_allocate on this.
5537 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)]: Conditionalize
5538 mutex- and spinlock-related symbols on this.
5539 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5540 New version set. Lock-related symbols go here instead in this case.
5541 * sysdeps/mach/hurd/Versions (libc: GLIBC_2.0): Remove
5542 _cthread_exit_routine, _cthread_init_routine, cthread_keycreate,
5543 cthread_getspecific, cthread_setspecific, __libc_getspecific.
5544 * hurd/Versions
5545 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: GLIBC_2.0):
5546 Put them here instead.
5547 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)] (libc: HURD_CTHREADS_0.3):
5548 New version set. Those cthreads symbols go here instead in this case.
5549 * Versions.def (libc) [USE_IN_LIBIO]: Add HURD_CTHREADS_0.3 version.
5550
5551 2000-03-30 Ulrich Drepper <drepper@redhat.com>
5552
5553 * elf/dl-init.c (_dl_init): We don't need to call constructors
5554 recursively. Fold _dl_init_rec in _dl_init and optimize a bit more.
5555
5556 Implement dynamic determination of constructor/destructor order in
5557 the dynamic linker.
5558 * elf/Versions [ld.so] (GLIBC_2.0): Remove _dl_init_next.
5559 (GLIBC_2.2): Add _dl_init.
5560 * elf/dl-close.c: Also call all destructors in FINI_ARRAY.
5561 r_duplist is not anymore allocated separately. l_initfini is and
5562 therefore free it if necessary.
5563 * elf/dl-deps.c: If a searchlist has to be allocated, put all in one
5564 malloc block. Otherwise allocate l_initfini list only.
5565 Put dependencies for the object in l_initfini list.
5566 Sort dependencies for the object to be loaded topologically.
5567 * elf/dl-fini.c: Before running the destructors sort the topologically.
5568 * elf/dl-init.c (_dl_init): Renamed from _dl_init_next. Rewrite to
5569 call constructors instead of iterating over the pointers. Get list of
5570 objects for which to run constructors from l_initfini element. Accept
5571 argc, argv, and env as parameters and pass them to the constructors.
5572 * elf/ld-load.c (_dl_map_object_from_fd): Initialize l_ldnum member
5573 with size of dynamic section.
5574 * elf/dl-open.c (dl_open_worker): Only call _dl_init instead of
5575 _dl_init_next and calling constructors ourself.
5576 * elf/dl-preinit.c (_dl_preinit): Renamed from _dl_preinit_next.
5577 Take argc, argv, and env as parameters and pass them to the
5578 constructors. Rewrite to call all constructors and not iterate over
5579 the pointers.
5580 * elf/dynamic-link.h: Don't relocate DT_FINI_ARRAY entry. Don't
5581 precompute l_initcount and l_preinitcount.
5582 * elf/link.h (struct link_map): Add l_ldnum member.
5583 Make l_phdr_allocated part of the bitfield. Remove l_runcount,
5584 l_initcount, and l_preinitcount. Add l_initfini.
5585 * sysdeps/generic/ldsodefs.h: Replace _dl_init_next prototype with
5586 one for _dl_init.
5587 * sysdeps/i386/dl-machine (RTLD_START): Rewrite to match new init
5588 function interface.
5589 * sysdeps/unix/sysv/linux/init-first.h: Removed.
5590 * sysdeps/unix/sysv/linux/Dist: Delete file here as well.
5591 * sysdeps/unix/sysv/linux/init-first.c [PIC]: Don't use
5592 SYSDEP_CALL_INIT. Make _init a strong alias of init. The calling
5593 conventions now match.
5594
5595 * sysdeps/generic/libc-start.c: Calling __libc_init_first has no
5596 effect for shared objects. Don't emit message and call only for
5597 static library.
5598
5599 2000-03-29 Ulrich Drepper <drepper@redhat.com>
5600
5601 * iconvdata/testdata/CSA_Z243.4-1985-1..UCS-2BE: Renamed from
5602 CSA_Z243.4-1985-1..UCS2.
5603 * iconvdata/testdata/ISO-8859-10..UCS-2BE: Renamed from
5604 ISO-8859-10..UCS2.
5605
5606 2000-03-29 Andreas Jaeger <aj@suse.de>
5607
5608 * include/unistd.h: Remove duplicate entry for __rmdir.
5609 Remove declaration of __mkdir since __mkdir is declared in
5610 sys/stat.h.
5611
5612 * manual/creature.texi (Feature Test Macros): Fix typo, reported
5613 by Michael Deutschmann <michael@talamasca.ocis.net>.
5614
5615 * sysdeps/mips/fpu/fclrexcpt.c: Use shlib-compat macros.
5616 * sysdeps/mips/fpu/fegetenv.c: Likewise.
5617 * sysdeps/mips/fpu/fesetenv.c: Likewise.
5618 * sysdeps/mips/fpu/feupdateenv.c: Likewise.
5619 * sysdeps/mips/fpu/fgetexcptflg.c: Likewise.
5620
5621 2000-03-28 Andreas Jaeger <aj@suse.de>
5622
5623 * sysdeps/i386/fpu/bits/mathinline.h (__sincos): Remove redundant
5624 declaration, the prototype is defined via bits/mathcalls.h.
5625 (__sincosf): Likewise.
5626 (__sincosl): Likewise.
5627 (ldexp): Likewise.
5628 (ldexpf): Likewise.
5629 (ldexpl): Likewise.
5630 (__finite): Likewise.
5631 (__inline_mathcodeNP): New macro without prototype
5632 declarations.
5633 (__inline_mathcodeNP2): Likewise.
5634 (__inline_mathcodeNP3): Likewise.
5635 (__inline_mathcodeNP_): Likewise.
5636 (__inline_mathcodeNP2_): Likewise.
5637 (__inline_mathcodeNP3_): Likewise.
5638 (__inline_mathopNP): Likewise.
5639 (__inline_mathop_declNP): Likewise.
5640 (__inline_mathop_declNP_): Likewise.
5641 (__inline_mathcode_): Use __inline_mathcodeNP_.
5642 (__inline_mathcode2_): Use __inline_mathcodeNP2_.
5643 (__inline_mathcode3_): Use __inline_mathcodeNP3_.
5644 (__inline_mathop_decl_): Use __inline_mathop_declNP__.
5645 (__expm1l): Don't define prototype, the prototype is defined via
5646 bits/mathcalls.h.
5647 (exp): Likewise.
5648 (__expl): Likewise.
5649 (tan): Likewise.
5650 (atan2): Likewise.
5651 (__atan2l): Likewise.
5652 (fmod): Likewise.
5653 (pow): Likewise.
5654 (fabsf): Likewise.
5655 (fabsl): Likewise.
5656 (__fabsl): Likewise.
5657 (asin): Likewise.
5658 (acos): Likewise.
5659 (sinh): Likewise.
5660 (cosh): Likewise.
5661 (tanh): Likewise.
5662 (floor): Likewise.
5663 (ceil): Likewise.
5664 (expm1): Likewise.
5665 (log1p): Likewise.
5666 (asinh): Likewise.
5667 (acosh): Likewise.
5668 (atanh): Likewise.
5669 (hypot): Likewise.
5670 (logb): Likewise.
5671 (fma): Likewise.
5672 (drem): Likewise.
5673 (sqrt): Likewise.
5674 (__sqrtl): Likewise.
5675 (sin): Likewise.
5676 (cos): Likewise.
5677 (atan): Likewise.
5678 (log): Likewise.
5679 (log10): Likewise.
5680 (asinh): Likewise.
5681 (log2): Likewise.
5682 (rint): Likewise.
5683
5684 2000-03-28 Ulrich Drepper <drepper@redhat.com>
5685
5686 * Makerules: If make variable md5 is defined to yes after
5687 generating dependencies generate MD5 sum for the object.
5688
5689 * iconv/gconv_builtin.h: Fix length in transformation definition
5690 for UNICODEBIG.
5691
5692 * iconvdata/TESTS: Use UCS-2BE instead of UCS2.
5693
5694 * iconv/loop.c: Define get16, get32, put16, and put32 macros to
5695 allow as well reading from/writing to unaligned addresses on machines
5696 which don't support this in hardware. Use FCTNAME macro to define
5697 function name. Include the file a second time for platforms which
5698 need special unaligned handling.
5699 * iconv/skeleton.c: Define get16u, get32u, put16u, and put32u macros
5700 to access potentially unaligned addresses. These macros are intended
5701 to be used only outside the loops.
5702 (unaligned): New definition. In case the machine can handle unaligned
5703 access define as zero. Otherwise as a variable which is initialized
5704 as nonzero in case the buffer passed in at runtime is unaligned with
5705 respect to the character set encoding involved.
5706 Call aligned or unaligned looop functions according to unaligned
5707 variable.
5708 * iconvdata/8bit-gap.c: Use get16, get32, put16, and put32 instead
5709 of direct casting pointer to potentially handle unaligned memory
5710 accesses.
5711 * iconvdata/8bit-generic.c: Likewise.
5712 * iconvdata/ansi_x3.110.c: Likewise.
5713 * iconvdata/big5.c: Likewise.
5714 * iconvdata/euc-cn.c: Likewise.
5715 * iconvdata/euc-jp.c: Likewise.
5716 * iconvdata/euc-kr.c: Likewise.
5717 * iconvdata/euc-tw.c: Likewise.
5718 * iconvdata/gbk.c: Likewise.
5719 * iconvdata/iso-2022-cn.c: Likewise.
5720 * iconvdata/iso-2022-jp.c: Likewise.
5721 * iconvdata/iso-2022-kr.c: Likewise.
5722 * iconvdata/iso646.c: Likewise.
5723 * iconvdata/iso_6937-2.c: Likewise.
5724 * iconvdata/iso_6937.c: Likewise.
5725 * iconvdata/johab.c: Likewise.
5726 * iconvdata/sjis.c: Likewise.
5727 * iconvdata/t.61.c: Likewise.
5728 * iconvdata/uhc.c: Likewise.
5729 * iconvdata/unicode.c: Likewise.
5730 * iconvdata/utf-16.c: Likewise.
5731
5732 * locale/programs/simple-hash.c: Little optimizations. Remove K&R
5733 prototypes.
5734
5735 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_check_all.
5736 * malloc/mcheck.c (mcheck_check_all): Renamed from check_all and made
5737 public.
5738 * malloc/mcheck.h (mcheck_check_all): Declare.
5739
5740 * stdio-common/Makefile (tests): Add tst-obprintf.
5741
5742 2000-03-28 Roland McGrath <roland@baalperazim.frob.com>
5743
5744 * sysdeps/generic/bits/sigthread.h: Clean up conditionals.
5745 Declare pthread_sigmask.
5746
5747 * csu/version.c: Add 2000 to copyright years.
5748 Remove Emacs local variables section.
5749
5750 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5751
5752 * iconv/gconv_int.h (__gconv_transform_ucs2little_internal,
5753 __gconv_transform_internal_ucs2little): Remove declarations.
5754 * iconv/gconv_simple.c (__gconv_transform_ucs2_internal,
5755 __gconv_transform_internal_ucs2): Never need to bswap_16.
5756 (__gconv_transform_ucs2reverse_internal,
5757 __gconv_transform_internal_ucs2reverse): Always need to bswap_16.
5758
5759 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5760
5761 * include/shlib-compat.h (SHLIB_COMPAT): Make the test handle the
5762 obsoleting version not being defined at all, in which case the
5763 result is always true.
5764
5765 * Makeconfig (preprocess-versions): New canned sequence for running
5766 cpp on shlib-versions and the like.
5767 (soversions.i): Use it.
5768 * Makerules (Versions.all, sysd-versions): Use it to preprocess the
5769 Versions.def and Versions files.
5770
5771 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5772
5773 * stdio-common/tst-obprintf.c (main): Add another check to see
5774 obstack_printf handling all possible beginnings of the block
5775 inside an obstack chunk.
5776
5777 * locale/programs/localedef.c: Use __malloc_initialize_hook to
5778 install mcheck handler.
5779
5780 * libio/obprintf.c (_IO_obstack_vprintf): Fix one more memory
5781 handling problem.
5782
5783 2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
5784
5785 * stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
5786
5787 * include/shlib-compat.h: Conditionalize <abi-versions.h> include
5788 on [HAVE_ELF && DO_VERSIONING].
5789
5790 2000-03-27 Ulrich Drepper <drepper@redhat.com>
5791
5792 * stdio-common/tst-obprintf.c: New file.
5793
5794 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5795
5796 * libio/genops.c (_IO_default_xsputn): Little optimization. Call
5797 _IO_OVERFLOW directly instead through __overflow.
5798
5799 * locale/programs/localedef.c (construct_output_path): If path
5800 contains a / compute the end of the directory name correctly.
5801
5802 * include/features.h: Undef and document __USE_XOPEN2K.
5803
5804 * malloc/mcheck.c: Implement pedantic checking of all allocated blocks
5805 whenever a function is called. Initiated by calling mcheck_pedantic
5806 instead of mcheck.
5807 * malloc/mcheck.h: Declare mcheck_pedantic.
5808 * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic.
5809 * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck
5810 for now.
5811
5812 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5813
5814 * dlfcn/dlopen.c: Use <shlib-compat.h> macros.
5815 * dlfcn/dlopenold.c: Likewise.
5816 * nss/getXXbyYY_r.c: Likewise.
5817 * nss/getXXent_r.c: Likewise.
5818 * hurd/hurdinit.c: Likewise.
5819 * hurd/compat-20.c: Likewise.
5820 * libio/oldiofopen.c: Likewise.
5821 * libio/oldiofclose.c: Likewise.
5822 * libio/oldiofdopen.c: Likewise.
5823 * libio/oldfileops.c: Likewise.
5824 * libio/oldstdfiles.c: Likewise.
5825 * libio/oldiofsetpos.c: Likewise.
5826 * libio/oldiofgetpos.c: Likewise.
5827 * libio/oldiofgetpos64.c: Likewise.
5828 * libio/oldiofsetpos64.c: Likewise.
5829 * libio/oldiopopen.c: Likewise.
5830 * libio/oldpclose.c: Likewise.
5831 * libio/oldtmpfile.c: Likewise.
5832 * libio/freopen.c (freopen): Likewise.
5833 * libio/iofclose.c (_IO_new_fclose): Likewise.
5834
5835 * sysdeps/mach/sys/reboot.h: Include <features.h>.
5836 (reboot): Declare it.
5837
5838 * libio/Makefile (headers): Add bits/stdio-lock.h here.
5839
5840 * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
5841
5842 * include/shlib-compat.h: Include <abi-versions.h> unconditionally.
5843
5844 * posix/unistd.h (intptr_t): Conditionalize on [__USE_MISC ||
5845 __USE_XOPEN_EXTENDED] rather than on [__USE_UNIX98].
5846 We need this for the sbrk decl, which can be included without Unix98.
5847
5848 2000-03-20 Richard Henderson <rth@cygnus.com>
5849
5850 * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Last
5851 argument to yperr2nss is an int, not size_t.
5852 * posix/regex.c (print_partial_compiled_pattern): Cast all
5853 ptrdiff_t to long for printing.
5854 (print_compiled_pattern): Use Z for printing size_t.
5855 * posix/testfnm.c (tests): Avoid trigraphs.
5856 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
5857 Use a C comment, not an assembly comment.
5858
5859 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Clarify use
5860 of __ASSUME_32BITUIDS.
5861
5862 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5863
5864 * libio/iofopncook.c: Remove K&R prototypes.
5865
5866 2000-03-26 Roland McGrath <roland@baalperazim.frob.com>
5867
5868 * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit
5869 an initial value of 1024 instead of RLIM_INFINITY.
5870
5871 * Versions.def (libmachuser, libhurduser): Remove these sections,
5872 since these libraries do not presently use symbol versions.
5873
5874 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): If the resource limit
5875 is RLIM_INFINITY, return -1 instead.
5876
5877 2000-03-24 Andreas Jaeger <aj@suse.de>
5878
5879 * Makefile (postclean): Added soversions.i.
5880
5881 2000-03-24 Scott Bambrough <scottb@netwinder.org>
5882
5883 * sysdeps/arm/fpu/fpu_control.h: Define _FPU_MASK_IM, _FPU_MASK_ZM,
5884 _FPU_MASK_OM, _FPU_MASK_UM, _FPU_MASK_PM, _FPU_MASK_DM, _FPU_DEFAULT,
5885 and _FPU_IEEE. Change _FPU_RESERVED.
5886
5887 2000-03-24 Scott Bambrough <scottb@netwinder.org>
5888
5889 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: New file.
5890
5891 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
5892
5893 * sysdeps/posix/getaddrinfo.c: Include <net/if.h> for if_nametoindex.
5894 (gaih_inet): Remove unused duplicate variable.
5895
5896 * inet/getnameinfo.c (getnameinfo): Use IFNAMSIZ, not MAXHOSTNAMELEN.
5897 Don't use __libc_sa_len, which only exists for Linux. Just handle
5898 AF_INET and AF_INET6 directly as well as AF_LOCAL, since those are the
5899 only flavors supported by this function anyway.
5900
5901 2000-03-24 Geoff Clare <gwc@unisoft.com>
5902
5903 * stdlib/strfmon.c: Corrected problems with missing signs and
5904 missing or extra spaces; allow for sign strings longer than
5905 one character; add padding to ensure positive and negative
5906 formats are aligned when a left precision is used.
5907
5908 2000-03-26 Ulrich Drepper <drepper@redhat.com>
5909
5910 * stdlib/random_r.c (__setstate_r): Allow RNGs of type 4.
5911 Patch by John Mizel <John.Mizel@msdw.com>.
5912
5913 2000-03-25 Ulrich Drepper <drepper@redhat.com>
5914
5915 * manual/install.texi: Remove references to crypt add-on.
5916
5917 2000-03-25 Roland McGrath <roland@baalperazim.frob.com>
5918
5919 * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical
5920 section while taking the _hurd_rlimit_lock.
5921 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5922
5923 2000-03-24 Roland McGrath <roland@baalperazim.frob.com>
5924
5925 * Makerules [$(cross-compiling) = yes] (symbolic-link-prog): Define
5926 using $(LN_S).
5927
5928 * sysdeps/mach/hurd/if_index.c: New file.
5929
5930 * sysdeps/unix/sysv/linux/net/if.h: Moved to ...
5931 * sysdeps/gnu/net/if.h: here.
5932 (_IOT_ifconf, _IOT_ifreq): Hurd ioctl type macros moved from ...
5933 * sysdeps/mach/hurd/net/if.h: ... here; this file now removed.
5934 * sysdeps/generic/net/if.h: New file. Declares just the standard
5935 functions and `struct if_nameindex' type.
5936 * socket/Makefile (headers): Add net/if.h here.
5937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Not here.
5938 * sysdeps/mach/hurd/Dist: Remove it here.
5939 * sysdeps/unix/sysv/linux/Dist: And here.
5940 * sysdeps/generic/if_index.c: Include <net/if.h>.
5941
5942 2000-03-24 Andreas Jaeger <aj@suse.de>
5943
5944 * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Use D_PTR to
5945 access relocated entries in l_info.
5946 (elf_machine_got_rel): Likewise.
5947 (elf_machine_runtime_setup): Likewise.
5948 * sysdeps/mips/mips64/dl-machine.h (elf_machine_got_rel): Likewise.
5949 (elf_machine_runtime_setup): Likewise.
5950 (__dl_runtime_resolve): Likewise.
5951
5952 2000-03-23 Ulrich Drepper <drepper@redhat.com>
5953
5954 * resolv/netdb.h (SCOPE_DELIMITER): New definitions.
5955 * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id
5956 according to RFC 2553.
5957 * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft.
5958 * inet/getnameinfo.c: Likewise.
5959 Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
5960
5961 2000-03-23 Bruno Haible <haible@clisp.cons.org>
5962
5963 * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop):
5964 Remove no-op pointer increment.
5965
5966 2000-03-23 Andreas Jaeger <aj@suse.de>
5967
5968 * stdio-common/tst-cookie.c (cookieseek): Change prototype to
5969 follow change for libio.h from 2000-03-10.
5970
5971 2000-03-23 Andreas Jaeger <aj@suse.de>
5972
5973 * elf/dl-addr.c: Adjust include paths for ldsodefs location
5974 change.
5975 * elf/dl-debug.c: Likewise.
5976 * elf/dl-deps.c: Likewise.
5977 * elf/dl-error.c: Likewise.
5978 * elf/dl-fini.c: Likewise.
5979 * elf/dl-init.c: Likewise.
5980 * elf/dl-load.c: Likewise.
5981 * elf/dl-lookup.c: Likewise.
5982 * elf/dl-minimal.c: Likewise.
5983 * elf/dl-object.c: Likewise.
5984 * elf/dl-open.c: Likewise.
5985 * elf/dl-preinit.c: Likewise.
5986 * elf/dl-profile.c: Likewise.
5987 * elf/dl-profstub.c: Likewise.
5988 * elf/dl-reloc.c: Likewise.
5989 * elf/dl-runtime.c: Likewise.
5990 * elf/dl-support.c: Likewise.
5991 * elf/dl-symbol.c: Likewise.
5992 * elf/dl-version.c: Likewise.
5993 * elf/rtld.c: Likewise.
5994 * elf/sprof.c: Likewise.
5995 * sysdeps/generic/dl-cache.c: Likewise.
5996 * sysdeps/generic/dl-origin.c: Likewise.
5997 * sysdeps/generic/dl-sysdep.c: Likewise.
5998 * sysdeps/generic/elf/backtracesyms.c: Likewise.
5999 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6000 * sysdeps/generic/libc-start.c: Likewise.
6001 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6002 * sysdeps/powerpc/dl-machine.c: Likewise.
6003 * sysdeps/powerpc/elf/libc-start.c: Likewise.
6004 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6005 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6006 * sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
6007
6008 * elf/ldsodefs.h: Move file to ...
6009 * sysdeps/generic/ldsodefs.h: ... here.
6010
6011 * sysdeps/generic/ldsodefs.h: Add definition for D_PTR.
6012
6013 * sysdeps/mips/elf/ldsodefs.h: New file.
6014
6015 * elf/dl-version.c (match_symbol): Use D_PTR to access relocated
6016 entries in l_info.
6017 (_dl_check_map_versions): Likewise.
6018 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6019 * elf/dl-load.c (_dl_init_paths): Likewise.
6020 (_dl_map_object): Likewise.
6021 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Likewise.
6022 (elf_get_dynamic_info): Likewise.
6023 * elf/do-lookup.h (FCT): Likewise.
6024 * elf/do-rel.h (elf_dynamic_do_rel): Likewise.
6025 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6026 * elf/dl-addr.c (_dl_addr): Likewise.
6027 * elf/dl-runtime.c (profile_fixup): Likewise.
6028 (fixup): Likewise.
6029 * elf/dl-init.c (_dl_init_next): Likewise.
6030 * sysdeps/generic/dl-machine.h (elf_machine_runtime_setup): Likewise.
6031 * sysdeps/unix/sysv/linux/i386/dl-librecon.h
6032 (DISTINGUISH_LIB_VERSIONS): Likewise.
6033 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup): Likewise.
6034 (elf_machine_rel): Likewise.
6035
6036 * elf/dynamic-link.h (elf_get_dynamic_info): Only change l_info
6037 for writable dynamic section.
6038
6039 2000-03-22 Ulrich Drepper <drepper@redhat.com>
6040
6041 * inet/getnameinfo.c (getnameinfo): Check that addrlen value is
6042 large enough. Patch by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
6043
6044 2000-03-22 Andreas Jaeger <aj@suse.de>
6045
6046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MADV_*): Add flags
6047 from latest Linux kernel.
6048
6049 2000-03-21 Andreas Jaeger <aj@suse.de>
6050
6051 * Versions.def: Add version 2.1.4.
6052
6053 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6054
6055 * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition.
6056 * libio/oldiofopen.c: Likewise.
6057 * libio/oldiofclose.c: Likewise.
6058 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6059
6060 2000-03-22 Roland McGrath <roland@baalperazim.frob.com>
6061
6062 * include/shlib-compat.h (SHLIB_COMPAT): Take a third argument,
6063 indicating the first version set to obsolete the conditionalized code.
6064 (compat_symbol): New macro.
6065 * scripts/abi-versions.awk: For subsumed versions, make ABI_* defn's
6066 rhs be the ABI_* macro for the subsuming version. Assign increasing
6067 integer values to the ABI_* macros for supported versions.
6068 * sysdeps/gnu/siglist.c: Use new SHLIB_COMPAT convention, and use
6069 compat_symbol macro.
6070
6071 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6072
6073 * nscd/connections.c (nscd_run): Pretty print.
6074 * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
6075
6076 * manual/charset.texi: Fix typos. Rephrase.
6077 * manual/process.texi: Likewise.
6078 * manual/signal.texi: Likewise.
6079 Patches by Mike Coleman <mkc@kc.net>.
6080
6081 * libio/oldtmpfile.c: Use new macros from shlib-compat.h to define
6082 versions.
6083 * libio/iofdopen.c: Likewise.
6084 * libio/iofgetpos.c: Likewise.
6085 * libio/iofgetpos64.c: Likewise.
6086 * libio/iofopen.c: Likewise.
6087 * libio/iofsetpos.c: Likewise.
6088 * libio/iofsetpos64.c: Likewise.
6089 * libio/iopopen.c: Likewise.
6090 * libio/oldiofopen.c: Likewise.
6091 * libio/pclose.c: Likewise.
6092 * sysdeps/gnu/siglist.c: Likewise.
6093 * sysdeps/unix/sysv/linux/errlist.c: Likewise.
6094
6095 * include/shlib-compat.h (versioned_symbol): Give preprocessor the
6096 chance to expand VERSION_##lib##_##version.
6097
6098 * libio/fileops.c: Use new macros from shlib-compat.h to define
6099 versions.
6100 * libio/iofclose.c: Likewise.
6101 * libio/oldiofclose.c: Likewise.
6102 Patch by Roland McGrath <roland@frob.com>.
6103
6104 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6105
6106 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: Clean up namespace.
6107 Lay out struct sigcontext according to what really gets passed on
6108 the stack.
6109 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Don't include asm/elf.h.
6110 (elf_gregset_t, elf_greg_t, elf_fpregset_t, ELF_NGREG): Define.
6111 (prgregset_t, prfpregset_t): Define to elf_* types.
6112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_WRITEDATA):
6113 Define to correct value.
6114 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h: Use struct
6115 sigcontext.
6116 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
6117
6118 2000-03-21 Roland McGrath <roland@baalperazim.frob.com>
6119
6120 * scripts/firstversions.awk: Allow multiple version sets in the
6121 "earliest version" specification, meaning that version sets in the
6122 gaps between listed versions should be folded into the earliest later
6123 version that is explicitly listed.
6124 * shlib-versions (mips.*-.*-linux.*): Use that syntax for to say
6125 we support GLIBC_2.0 and GLIBC_2.2 but not the intervening sets.
6126
6127 2000-03-21 Ulrich Drepper <drepper@redhat.com>
6128
6129 * iconv/gconv_builtin.c: Include <endian.h>.
6130 * iconv/gconv_builtin.h: Add UCS-BE aliases.
6131 Add UCS-4LE transformation. Define UNICODEBIG and UNICODELITTLE
6132 according to current platform.
6133 * iconv/gconv_int.h: Declare __gconv_transform_ucs2reverse_internal,
6134 __gconv_transform_internal_ucs2reverse, and
6135 __gconv_transform_internal_ucs4le.
6136 * iconv/gconv_simple.c: Implement __gconv_transform_internal_ucs4le,
6137 __gconv_transform_ucs2reverse_internal and
6138 __gconv_transform_internal_ucs2reverse.
6139 * iconvdata/Makefile (modules): Add UNICODE.
6140 (distribute): Add unicode.c.
6141 * iconvdata/gconv-modules: Add definitions for UNICODE module.
6142 * iconvdata/unicode.c: New file.
6143
6144 * iconvdata/utf-16.c: Rewrite code to emit BOM. Correct code to
6145 determine byte order of input and convert accordingly.
6146
6147 * iconvdata/utf-16.c (gconv_init): Fix typo.
6148
6149 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6150
6151 * iconvdata/gconv-modules: Fix typo.
6152
6153 * sysdeps/unix/sysv/linux/configure.in: Remove `crypt' from one
6154 more messages.
6155
6156 * sysdeps/unix/sysv/aix/*: Add initial code for port to AIX 4.3.
6157
6158 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6159
6160 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h: New.
6161
6162 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6163
6164 * misc/Makefile (routines): Add mincore.
6165
6166 2000-03-20 Andreas Jaeger <aj@suse.de>
6167
6168 * sysdeps/generic/mincore.c: New stub file.
6169
6170 * sysdeps/unix/sysv/linux/arm/bits/mman.h (MADV_*): Add flags
6171 from latest Linux kernel.
6172
6173 2000-03-20 Ulrich Drepper <drepper@redhat.com>
6174
6175 * grp/initgroups.c (compat_call): Use _SC_GETGR_R_SIZE_MAX instead of
6176 _SC_GETPW_R_SIZE_MAX.
6177
6178 2000-03-20 Richard Henderson <rth@cygnus.com>
6179
6180 * sysdeps/unix/sysv/linux/alpha/Versions: Put pciconfig_iobase
6181 in GLIBC_2.1.4.
6182
6183 2000-03-20 Richard Henderson <rth@cygnus.com>
6184
6185 * sysdeps/alpha/fpu/fraiseexcpt.c: Use get/set_fp_control instead
6186 of arithmetic instructions.
6187
6188 * sysdeps/alpha/fpu/s_ceil.c: Use round to -inf instead of playing
6189 with the fpcr. Protect from INV exception.
6190 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
6191 * sysdeps/alpha/fpu/s_floor.c: Protect from INV exception.
6192 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
6193
6194 * sysdeps/alpha/fpu/s_copysign.c: New.
6195 * sysdeps/alpha/fpu/s_copysignf.c: New.
6196 * sysdeps/alpha/fpu/s_fabs.c: New.
6197 * sysdeps/alpha/fpu/s_fabsf.c: New.
6198 * sysdeps/alpha/fpu/s_rint.c: New.
6199 * sysdeps/alpha/fpu/s_rintf.c: New.
6200
6201 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Add MADV constants.
6202
6203 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
6204 Kill sethae.
6205 * sysdeps/unix/sysv/linux/alpha/Versions: Add pciconfig_iobase.
6206 * sysdeps/unix/sysv/linux/alpha/ioperm.c (all address constants):
6207 Use physical addresses not KSEG addresses.
6208 (io_system): Add PYXIS.
6209 (io): Remove hae.reg, sys, hae_shift.
6210 (stb_mb, stw_mb, stl_mb, __sethae): New.
6211 (inline_outb, inline_outw, inline_outl): Don't set hae.
6212 (inline_inb, inline_inw, inline_inl): Likewise.
6213 (dense_sethae): New null function.
6214 (struct cpuinfo_data): New.
6215 (process_cpuinfo): Use local and stack variables, not static.
6216 Move readlink check here from init_iosys.
6217 (init_iosys): Use __pciconfig_iobase first. Know SX and LX as PYXIS.
6218 (_iopl): Simplify.
6219 (_hae_shift): Calculate it here.
6220 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sethae,
6221 add pciconfig_iobase.
6222
6223 2000-03-20 Roland McGrath <roland@baalperazim.frob.com>
6224
6225 * locale/programs/ld-time.c (time_finish): Use %Z instead of %z.
6226 * locale/programs/ld-ctype.c (ctype_finish, ctype_class_new): Likewise.
6227
6228 * scripts/versions.awk: Fixed version renaming code to distinguish
6229 libraries properly.
6230
6231 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6232
6233 * include/stdlib.h: Add prototype for __cxa_atexit.
6234
6235 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Update comment about
6236 _SLOWDOWN flags. Patch by Jim Blandy <jimb@cygnus.com>.
6237
6238 2000-03-17 Cristian Gafton <gafton@redhat.com>
6239
6240 * elf/Makefile ($(rtld-version-installed-name)): Delay replacing
6241 existing rtld-installed-name.
6242 ($(rtld-installed-name)): Request libc-$(version) be installed too.
6243 replace existing rtld-installed-name using $(symbolic-link-prog).
6244
6245 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6246
6247 * locale/programs/ld-collate.c (collate_read): Remove bogus cast.
6248 (insert_value, handle_ellipsis, collate_read): Replace %zu in format
6249 strings with %Zu, because gcc-2.95.2's -Wformat knows about the latter
6250 but not the former.
6251
6252 2000-03-19 Ulrich Drepper <drepper@redhat.com>
6253
6254 * sysdeps/generic/glob.c [_LIBC]: Always use __xstat64, not only for
6255 glob64. Since there is no glob64 in the LFS proposal applications
6256 can assume that glob handles LFS situations. glob64 is only needed
6257 if alternative filesystem functions are used.
6258
6259 2000-03-19 Geoff Clare <gwc@unisoft.com>
6260
6261 * sysdeps/generic/glob.c: Correct gl_pathc value returned
6262 when GLOB_DOOFFS is set; correct handling of patterns
6263 containing escaped wildcards (and no unescaped ones);
6264 GLOB_ERR flag was being ignored in some situations.
6265
6266 * posix/globtest.c, posix/globtest.sh: Updated to include
6267 tests for the problems fixed by the above changes to glob.c.
6268
6269 * manual/pattern.texi (Calling Glob): Update description of gl_pathc.
6270
6271 2000-03-19 Roland McGrath <roland@baalperazim.frob.com>
6272
6273 * Makeconfig (soversion.i): Use only first match for each lib.
6274
6275 * Makeconfig (soversion.i): Pass -undef to $(CC) -E.
6276
6277 * Makerules (Versions.all, sysd-versions): Test $(sysd-sorted-done)
6278 rather than $(sysd-dirs-done) to protect these rules.
6279
6280 * Makerules (version-renames.def): Target removed.
6281 (Versions.all): Depend on soversions.i directly and parse it.
6282
6283 * Makeconfig (soversions.i): New target, input-reading parts of
6284 soversions.mk generation moved here; result is a canonicalized
6285 list "LIB VERSION [SET]" for this configuration.
6286 (soversions.mk): Use that as input. Don't emit map-firstversions.
6287 * Makerules (version-renames.def): New target, generated from
6288 soversions.i with contents that was in $(map-firstversions).
6289 (Versions.all): Don't depend on soversions.mk, depend on
6290 version-renames.def instead; just cat it into the input.
6291
6292 * Makerules (Versions.all): Use $(foreach ...) instead of sh for loop
6293 for $(map-firstversions), which better handles it being empty.
6294
6295 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): Set earliest
6296 supported version for libc 0.2.90.libio to GLIBC_2.2.
6297
6298 * Makeconfig (soversions.mk): Grok new third column in shlib-versions,
6299 and use it to emit new variable `map-firstversions'.
6300 * scripts/firstversions.awk: New file.
6301 * Makerules (Versions.all): Use scripts/firstversions.awk and
6302 the $(map-firstversions) value to generate a modified versions list
6303 that includes renames in "A = B" syntax for each version set earlier
6304 than the "earliest symbol version" named in shlib-versions.
6305 * scripts/versions.awk: Recognize "A = B" lines in the input to mean
6306 rename version set A to B in the output to the intermediate file.
6307 * scripts/abi-versions.awk: New file.
6308 * Makerules (abi-versions.h): New target, generated by that script.
6309 [$(versioning) = yes] (before-compile): Prepend abi-versions.h.
6310 * include/shlib-compat.h: New file, uses that generated header.
6311
6312 2000-03-18 Roland McGrath <roland@baalperazim.frob.com>
6313
6314 * Makeconfig (soversions.mk): Convert % -> # in shlib-versions
6315 after stripping # comments, and then run it through cpp.
6316 This allows things like "%ifdef FOO" based on config.h settings.
6317 * shlib-versions [USE_IN_LIBIO] (.*-.*-gnu-gnu*): libc=0.2.90.libio
6318
6319 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): For MACH_SEND_INTERRUPTED
6320 and other errors that indicate a pseudo-receive happened, grok through
6321 the message buffer for port rights that need references fixed up.
6322
6323 2000-03-16 Andreas Jaeger <aj@suse.de>
6324
6325 * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore.
6326
6327 * sysdeps/unix/sysv/linux/madvise.c: Remove.
6328
6329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags
6330 from latest Linux kernel.
6331 * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
6332
6333 * misc/sys/mman.h: Add prototype for mincore.
6334
6335 2000-03-17 Ulrich Drepper <drepper@redhat.com>
6336
6337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add oldsetrlimit
6338 entry for GLIBC_2.0 version of setrlimit.
6339 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6340
6341 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6342
6343 * nis/nss_nis/nis-ethers.c: Return with error if malloc fails.
6344 * nis/nss_compat/compat-initgroups.c: Likewise.
6345 * nis/nss_nis/nis-initgroups.c: Likewise.
6346 * nis/nss_nis/nis-netgrp.c: Likewise.
6347 * nis/nss_nis/nis-proto.c: Likewise.
6348 * nis/nss_nis/nis-rpc.c: Likewise.
6349 * nis/nss_nis/nis-service.c: Likewise.
6350 * nis/ypclnt.c: Likewise.
6351
6352 2000-03-16 Andreas Jaeger <aj@suse.de>
6353
6354 * manual/Makefile: MAKEINFO is set to `:' from configure if it
6355 doesn't exist, correct checks. Fixes PR libc/1649.
6356
6357 2000-03-16 Thorsten Kukuk <kukuk@suse.de>
6358
6359 * nscd/hstcache.c: Restore correct UID.
6360 * nscd/pwdcache.c: Likewise.
6361 Patch from Gabor Gombas <gombasg@inf.elte.hu>.
6362
6363 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>
6364
6365 * sysdeps/i386/sys/ucontext.h: Prepend REG_ to enum values and
6366 macros for register names, in line with 2000-03-14 linux change.
6367
6368 * sysdeps/mach/sched_yield.c: New file.
6369
6370 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>
6371
6372 * sysdeps/generic/lockfile.c: Include <stdio.h>
6373 (_IO_flockfile, _IO_funlockfile, _IO_ftrylockfile): #undef these in
6374 case <libio.h> defined them.
6375 (__flockfile, __funlockfile, __ftrylockfile): Functions renamed
6376 from __internal_*.
6377 (flockfile, _IO_flockfile, funlockfile, _IO_funlockfile,
6378 ftrylockfile, _IO_ftrylockfile): Fix aliases accordingly.
6379
6380 * sysdeps/generic/bits/stdio-lock.h (_IO_lock_initializer): Use ...
6381 for more pleasing parse error.
6382
6383 2000-03-16 Ulrich Drepper <drepper@redhat.com>
6384
6385 * locale/lc-time.c (_nl_init_era_entries): Correct allocation of
6386 memory for eras.
6387 Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
6388
6389 * elf/Makefile: Add rules to compile and run constload1 test.
6390 * elf/constload1.c: New file.
6391 * elf/constload2.c: New file.
6392 * elf/constload3.c: New file.
6393
6394 2000-03-15 Ulrich Drepper <drepper@redhat.com>
6395
6396 * sysdeps/posix/open64.c: Make __open64 weak alias.
6397 * sysdeps/posix/pread64.c: Make __pread64 weak alias.
6398 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6399 * sysdeps/unix/sysv/linux/i386/pread64.c: Likewise.
6400 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6401 * sysdeps/unix/sysv/linux/powerpc/pread64.c: Likewise.
6402 * sysdeps/posix/pwrite64.c: Make __pwrite64 weak alias.
6403 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6404 * sysdeps/unix/sysv/linux/i386/pwrite64.c: Likewise.
6405 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6406 * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Likewise.
6407
6408 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6409
6410 * sysdeps/unix/sysv/linux/alpha/ioperm.c (platform): Add entry for
6411 Nautilus. Patch by Soohoon Lee <soohoon.lee@alpha-processor.com>.
6412
6413 2000-03-16 Mark Kettenis <kettenis@gnu.org>
6414
6415 * sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t):
6416 Typedef for elf_fpregset_t instead of `elf_fpregset_t *'.
6417
6418 2000-03-08 Andreas Jaeger <aj@suse.de>
6419
6420 * sysdeps/unix/sysv/linux/scsi/sg.h: Sync with Linux 2.3.50.
6421
6422 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6423
6424 * timezone/africa: Update from tzdata2000d.
6425 * timezone/asia: Likewise.
6426 * timezone/australasia: Likewise.
6427 * timezone/europe: Likewise.
6428 * timezone/northamerica: Likewise.
6429 * timezone/southamerica: Likewise.
6430
6431 * po/fr.po: Update from translation team.
6432 * po/de.po: Likewise.
6433
6434 * elf/dl-deps.c (_dl_map_object_deps): Change return type and remove
6435 last parameter. Move code to add map to global scope from here...
6436 * elf/dl-open.c (dl_open_worker): ...here.
6437 * elf/ldsodefs.h: Adjust declaration of _dl_map_object_deps.
6438 * elf/rtld.c: Adjust call to _dl_map_object_deps.
6439
6440 * locale/programs/ld-collate.c (collate_read): Fix warning.
6441
6442 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Prepend REG_ to enum
6443 values and macros for register names.
6444
6445 * libio/iofopncook.c (_IO_cookie_seek): Return error only if value
6446 returned by seek cookie function is -1.
6447
6448 2000-03-14 Andreas Jaeger <aj@suse.de>
6449
6450 * locale/localeconv.c (localeconv): Fix typo.
6451 Reported by Andre Charbonneau <andrec@corel.com>.
6452
6453 2000-03-14 Ulrich Drepper <drepper@redhat.com>
6454
6455 * iconv/skeleton.c: Increment __invocation_counter in inner loop
6456 since modules depend on it counting the number of times the conversion
6457 function got called.
6458
6459 * iconv/gconv_open.c: Optimize loop to setup step data structure.
6460
6461 * iconv/gconv.h: Pretty print.
6462
6463 2000-03-04 Ulrich Drepper <drepper@redhat.com>
6464
6465 * posix/wordexp-test.c: Correct one of the tests added in the last
6466 change. Really get the root passwd entry to check again ~root.
6467
6468 2000-03-10 Andreas Jaeger <aj@suse.de>
6469
6470 * manual/filesys.texi (Working Directory): Fix last patch.
6471 Patch by Martin Buchholz <martin@xemacs.org>.
6472
6473 2000-03-10 Andreas Jaeger <aj@suse.de>
6474
6475 * manual/creature.texi (Feature Test Macros): Fix language.
6476
6477 2000-03-10 Roland McGrath <roland@baalperazim.frob.com>
6478
6479 * mach/devstream.c (devstream_write, devstream_read): New functions.
6480 (input, output): Functions removed.
6481 (mach_open_devstream): Use devstream_{read,write} as cookie functions,
6482 using only the vanilla fopencookie interface.
6483
6484 * hurd/fopenport.c [! USE_IN_LIBIO] (cookie_io_functions_t): Define
6485 as macro for __io_functions.
6486 (funcsio): Use cookie_io_functions_t type name.
6487 (fopenport): Renamed from __fopenport. Rewrite to call fopencookie.
6488
6489 * libio/iofopncook.c (_IO_cookie_init): New function, broken out of
6490 fopencookie.
6491 (fopencookie): Use it.
6492 * libio/libio.h: Declare _IO_cookie_init.
6493 * hurd/vpprintf.c (vpprintf) [USE_IN_LIBIO]: Implement using
6494 _IO_cookie_init.
6495
6496 * libio/libio.h (__io_seek_fn): Fix second argument type
6497 to be a pointer, in line with the manual and the old stdio.
6498 * libio/iofopncook.c (_IO_cookie_seek): Fix (sole) caller.
6499
6500 * sysdeps/generic/bits/stdio-lock.h: New file.
6501 This is a stub with #error, but that's better than no file at all.
6502
6503 2000-03-09 Martin Buchholz <martin@xemacs.org>
6504
6505 * sysdeps/unix/sysv/linux/alpha/syscall.S: Doc Fixes.
6506 * manual/message.texi (Using gettextized software): Doc Fixes.
6507 * manual/message.texi (Message Translation): Doc Fixes.
6508 * manual/filesys.texi (File Size): Doc Fixes.
6509 * manual/charset.texi (glibc iconv Implementation): Doc Fixes.
6510 * locale/programs/ld-collate.c (collate_output): Doc Fixes.
6511 * iconv/gconv_db.c (find_derivation): Doc Fixes.
6512 * manual/install.texi: Doc Fixes.
6513 * manual/search.texi (Hash Search Function): Doc Fixes.
6514 * manual/stdio.texi (Output Conversion Syntax): Doc Fixes.
6515 * FAQ.in: Doc Fixes.
6516 * config.h.in: Doc Fixes.
6517 * sysdeps/generic/dl-sysdep.c: Doc Fixes.
6518 Doc Fixes. `allows to' is not correct English.
6519
6520 * elf/rtld.c: Doc fixes.
6521 * manual/creature.texi (Feature Test Macros): Doc fixes.
6522 * manual/memory.texi (Hooks for Malloc): Doc Fixes.
6523
6524 * manual/filesys.texi (Working Directory): Check for ERANGE to
6525 avoid infloop.
6526
6527 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6528
6529 * string/argz-stringify.c (__argz_stringify): Fix loop termination
6530 conditions so as not to clobber the final '\0' when there is only one
6531 element in the vector.
6532
6533 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6534
6535 * io/sys/stat.h: Fix inverted sense of `defined __S_IFSOCK' test,
6536 broken by 2000-02-27 change.
6537
6538 * sysdeps/generic/bits/poll.h (POLLRDNORM, POLLRDBAND): New macros.
6539
6540 2000-02-23 Roland McGrath <roland@baalperazim.frob.com>
6541
6542 * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from
6543 argument type, for 2000-02-22 change in signal/signal.h declaration.
6544
6545 2000-03-09 Roland McGrath <roland@baalperazim.frob.com>
6546
6547 * sysdeps/generic/getdents64.c (__getdirentries64): Renamed
6548 to getdirentries64 (no __), since the Linux implementation
6549 has no __ name, and there is no declaration for the __ name.
6550
6551 * sysdeps/mach/bits/libc-lock.h (__libc_cleanup_end): New macro.
6552
6553 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Tighten up
6554 sed regexp so as not to break directory names including /../ within.
6555
6556 * sysdeps/unix/bsd/bits/waitflags.h: File removed.
6557 The sysdeps/generic file is right for BSD. This file was in fact the
6558 Hurd file, but the only difference was the WNOREAP flag that was never
6559 actually implemented or used anywhere.
6560
6561 * configure.in (PERL, INSTALL_INFO): Don't AC_SUBST these,
6562 since AC_PATH_PROG already does it for us.
6563 (PERL): Rewrite check added in 2000-02-29 change for syntactic
6564 correctness and sh portability. I replaced the broken check
6565 with a more sensible implementation of the apparently intended
6566 semantics, which might still be questionable. Using expr causes
6567 a non-numeric value for `perl -V:apiversion` to be accepted,
6568 refusing to use only a perl that reports a number less than 5;
6569 on my system, perl (5.004_04) -V:apiversion produces UNKNOWN.
6570 * configure: Regenerated.
6571
6572 2000-03-08 Andreas Jaeger <aj@suse.de>
6573
6574 * manual/crypt.texi: Fix paths.
6575
6576 2000-03-07 Andreas Jaeger <aj@suse.de>
6577
6578 * resolv/netdb.h: The descriptions of rresvport and rresvport_af
6579 were swapped.
6580 Patch by YOSHIFUJI Hideaki <yoshfuji@ecei.tohoku.ac.jp>, closes PR
6581 libc/1636.
6582
6583 2000-03-06 Andreas Jaeger <aj@suse.de>
6584
6585 * sysdeps/i386/fpu/bits/mathinline.h: Fix union definition error
6586 in __sgn1l, otherwise g++ fails to parse this.
6587 Reported by Sean Chen <sean.chen@turbolinux.com>.
6588
6589 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6590
6591 * configure.in: Compute sizeof-long-double.
6592 * configure: Regenerated.
6593 * config.make.in: Make sizeof-long-double available to sub-makes.
6594
6595 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6596
6597 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6598 call.
6599
6600 2000-03-03 Geoff Keating <geoffk@cygnus.com>
6601
6602 * Makeconfig (rpath-dirs): Add crypt.
6603 (all-subdirs): Remove md5crypt.
6604 * crypt/sysdeps/unix/crypt.c: Move to crypt/.
6605 * crypt/sysdeps/unix/crypt-entry.c: Move to crypt/.
6606 * sysdeps/generic/crypt-entry.c: Delete.
6607 * crypt/sysdeps/unix/crypt.h: Move to crypt/.
6608 * sysdeps/generic/crypt.h: Delete.
6609 * crypt/sysdeps/unix/crypt-private.h: Move to crypt/.
6610 * crypt/sysdeps/unix/crypt_util.c: Move to crypt/.
6611 * crypt/sysdeps/unix/des_impl.c: Move to sunrpc/.
6612 * sysdeps/generic/des_impl.c: Delete.
6613 * crypt/sysdeps/unix/ufc-crypt.h: Move to crypt/.
6614 * crypt/sysdeps: Delete.
6615 * crypt/crypt_util.c: Don't use `patchlevel.h'.
6616 * md5-crypt/Versions: Move to crypt/.
6617 * md5-crypt/md5-crypt.c: Move to crypt/.
6618 * md5-crypt/md5.c: Move to crypt/.
6619 * md5-crypt/md5c-test.c: Move to crypt/.
6620 * md5-crypt/md5test.c: Move to crypt/.
6621 * md5-crypt: Delete.
6622 * crypt/Makefile: Adjust for new structure.
6623
6624 2000-03-03 Paul Eggert <eggert@twinsun.com>
6625
6626 * posix/regex.c (MB_LEN_MAX): Include <limits.h> to define;
6627 define to 1 if not defined.
6628
6629 2000-03-03 Andreas Jaeger <aj@suse.de>
6630
6631 * sunrpc/xdr.c (xdr_hyper): Correctly handle lower half of llp.
6632
6633 2000-03-03 Andreas Jaeger <aj@suse.de>
6634
6635 * sunrpc/xdr_intXX_t.c (xdr_uint16_t): Fix ENCODE and DECODE
6636 cases.
6637 (xdr_int64_t): Correctly handle lower half.
6638 Fix by Sten Dahlgren <stda@enea.se>, closes PR libc/1623.
6639
6640 2000-03-03 Ulrich Drepper <drepper@cygnus.com>
6641
6642 * sysdeps/unix/sysv/linux/init-first.c: Remove trace of personality
6643 call.
6644
6645 2000-03-02 Andreas Jaeger <aj@suse.de>
6646
6647 * sysdeps/unix/sysv/linux/scsi/sg.h: Integrate changes from Linux
6648 2.3.43.
6649
6650 2000-03-02 Andreas Jaeger <aj@suse.de>
6651
6652 * resolv/Makefile (headers): Add arpa/nameser_compat.h.
6653
6654 2000-03-01 Andreas Jaeger <aj@suse.de>
6655
6656 * time/Makefile (tst-getdate-ENV): New flag to pass DATEMSK.
6657 (tests): Added tst-getdate.
6658
6659 * time/tst-getdate.c: New file.
6660
6661 * time/datemsk: New file, needed for tst-getdate.
6662
6663 2000-02-29 Cristian Gafton <gafton@redhat.com>
6664
6665 * configure.in (CCVERSION): Require at least veersion 5 of perl API.
6666
6667 2000-02-17 H.J. Lu <hjl@gnu.org>
6668
6669 * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
6670
6671 * sunrpc/svc_udp.c (svcudp_bufcreate): Turn on IP_PKTINFO if
6672 available.
6673 (svcudp_recv): Set up message with the new "xp_pad" field for
6674 IP_PKTINFO.
6675 (svcudp_reply): Support IP_PKTINFO if available.
6676
6677 2000-03-01 Andreas Jaeger <aj@suse.de>
6678
6679 * time/getdate.c (check_mday): Fix check for february.
6680 Reported by ane@np.bs1.fc.nec.co.jp and Akira YOSHIYAMA
6681 <yosshy@cts.ne.jp>, closes PR libc/1617 and PR libc/1619.
6682
6683 2000-03-02 Andreas Jaeger <aj@suse.de>
6684
6685 * posix/unistd.h: __THROW has to precede __attribute__, otherwise
6686 g++ fails to parse this.
6687 Reported by Sean Chen <sean.chen@turbolinux.com>.
6688
6689 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6690
6691 * io/creat.c: Moved to...
6692 * sysdeps/generic/creat.c: ...here.
6693 * io/creat64.c: Moved to...
6694 * sysdeps/generic/creat64.c: ...here.
6695 * io/lockf.c: Moved to...
6696 * sysdeps/generic/lockf.c: ...here.
6697
6698 * crypt/crypt.texi: Moved to...
6699 * manual/crypt.texi: ...here.
6700 * crypt/examples/genpass.c: Moved to...
6701 * manual/examples/genpass.c: ...here.
6702 * crypt/examples/mygenpass.c: Moved to...
6703 * manual/examples/mygenpass.c: ...here.
6704 * crypt/examples/testpass.c: Moved to...
6705 * manual/examples/testpass.c: ...here.
6706
6707 * manual/Makefile (chapters): Add crypt.
6708 * manual/conf.texi: Add usual header for not-last chapter.
6709 * manual/crypt.texi: Add special header for last chapter.
6710
6711 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6712
6713 * Makeconfig (all-subdirs): Add 'crypt' subdirectory.
6714 * sysdeps/unix/sysv/linux/configure.in (inhibit_glue): Don't
6715 complain if there is no crypt add-on.
6716 * crypt/configure: Removed.
6717
6718 * crypt/crypt.texi: Update documentation of US export restrictions
6719 to match the 14 Jan 2000 regulations.
6720
6721 2000-02-28 Geoff Keating <geoffk@cygnus.com>
6722
6723 * crypt: New subdirectory, merged in from the crypt add-on.
6724
6725 2000-02-28 Ulrich Drepper <drepper@redhat.com>
6726
6727 * include/unistd.h: Add __rmdir and __mkdir prototypes.
6728
6729
6730 See ChangeLog.10 for earlier changes.
This page took 0.347782 seconds and 5 git commands to generate.