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