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