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