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