Update.
[kopensolaris-gnu/glibc.git] / ChangeLog
1 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
2
3         * nss/nss_db/db-XXX.c: Include <db_185.h> not <db.h>.  Somebody
4         should update this to use the new db API.
5         * nss/nss_db/db-netgrp.c: Likewise.
6         * nss/nss_db/db-alias.c: Likewise.
7         * db2/Makefile: Makefile for db-2.x in glibc.
8
9 1997-08-27 21:20  Ulrich Drepper  <drepper@cygnus.com>
10
11         * csu/Makefile (before-compile): New goal.  Make sure abi-tag.h
12         is generated.
13         [$(elf)=yes] (asm-CPPFLAGS): Make sure abi-tag.h file can be found.
14
15         * Makeconfig [$(build-omitfp)=yes] (CFLAGS-.o): Add
16         -D__USE_STRING_INLINES.
17         * string/string.f: Move strnlen optimization after inclusion of
18         <bits/string.h>.  Include <bits/string.h> only if __USE_STRING_INLINES
19         is defined.
20         * sysdeps/generic/memcpy.c: Undef memcpy to allow macro of this name
21         in <bits/string.h>.
22         * sysdeps/generic/memset.c: Likewise.
23         * sysdeps/i386/string.h: i386 optimized string functions.
24         * sysdeps/i386/i486string.h: i486+ optimized string functions.
25
26         * Makefile (subdirs): Change db to db2.
27         * shlib-versions: Bump libdb verion number to 3.
28         * include/db.h: Include from db2 directory.
29         * include/db_185.h: New file.
30         * sysdeps/i386/Makefile [$(subdirs)=db2] (CPPFLAGS): Add macros
31         to provide spinlock information for db2.
32         * sysdeps/m68k/m68020/Makefile: New file.  Likewise.
33         * sysdeps/sparc/Makefile: New file.  Likewise.
34         * sysdeps/unix/sysv/linux/Makefile [$(subdirs)=db2] (CPPFLAGS):
35         Add -DHAVE_LLSEEK.
36         * db2/config.h: Hand-edited config file for db2 in glibc.
37         * db2/compat.h: New file from db-2.3.4.
38         * db2/db.h: Likewise.
39         * db2/db_185.h: Likewise.
40         * db2/db_int.h: Likewise.
41         * db2/makedb.c: Likewise.
42         * db2/btree/bt_close.c: Likewise.
43         * db2/btree/bt_compare.c: Likewise.
44         * db2/btree/bt_conv.c: Likewise.
45         * db2/btree/bt_cursor.c: Likewise.
46         * db2/btree/bt_delete.c: Likewise.
47         * db2/btree/bt_open.c: Likewise.
48         * db2/btree/bt_page.c: Likewise.
49         * db2/btree/bt_put.c: Likewise.
50         * db2/btree/bt_rec.c: Likewise.
51         * db2/btree/bt_recno.c: Likewise.
52         * db2/btree/btree_auto.c: Likewise.
53         * db2/btree/bt_rsearch.c: Likewise.
54         * db2/btree/bt_search.c: Likewise.
55         * db2/btree/bt_split.c: Likewise.
56         * db2/btree/bt_stat.c: Likewise.
57         * db2/btree/btree.src: Likewise.
58         * db2/common/db_appinit.c: Likewise.
59         * db2/common/db_err.c: Likewise.
60         * db2/common/db_byteorder.c: Likewise.
61         * db2/common/db_apprec.c: Likewise.
62         * db2/common/db_salloc.c: Likewise.
63         * db2/common/db_log2.c: Likewise.
64         * db2/common/db_region.c: Likewise.
65         * db2/common/db_shash.c: Likewise.
66         * db2/db/db.c: Likewise.
67         * db2/db/db.src: Likewise.
68         * db2/db/db_conv.c: Likewise.
69         * db2/db/db_dispatch.c: Likewise.
70         * db2/db/db_dup.c: Likewise.
71         * db2/db/db_overflow.c: Likewise.
72         * db2/db/db_pr.c: Likewise.
73         * db2/db/db_rec.c: Likewise.
74         * db2/db/db_ret.c: Likewise.
75         * db2/db/db_thread.c: Likewise.
76         * db2/db/db_auto.c: Likewise.
77         * db2/db185/db185.c: Likewise.
78         * db2/db185/db185_int.h: Likewise.
79         * db2/dbm/dbm.c: Likewise.
80         * db2/hash/hash.c: Likewise.
81         * db2/hash/hash.src: Likewise.
82         * db2/hash/hash_page.c: Likewise.
83         * db2/hash/hash_conv.c: Likewise.
84         * db2/hash/hash_debug.c: Likewise.
85         * db2/hash/hash_stat.c: Likewise.
86         * db2/hash/hash_rec.c: Likewise.
87         * db2/hash/hash_dup.c: Likewise.
88         * db2/hash/hash_func.c: Likewise.
89         * db2/hash/hash_auto.c: Likewise.
90         * db2/include/mp.h: Likewise.
91         * db2/include/btree.h: Likewise.
92         * db2/include/db.h.src: Likewise.
93         * db2/include/db_int.h.src: Likewise.
94         * db2/include/db_shash.h: Likewise.
95         * db2/include/db_swap.h: Likewise.
96         * db2/include/db_185.h.src: Likewise.
97         * db2/include/txn.h: Likewise.
98         * db2/include/db_am.h: Likewise.
99         * db2/include/shqueue.h: Likewise.
100         * db2/include/hash.h: Likewise.
101         * db2/include/db_dispatch.h: Likewise.
102         * db2/include/lock.h: Likewise.
103         * db2/include/db_page.h: Likewise.
104         * db2/include/log.h: Likewise.
105         * db2/include/db_auto.h: Likewise.
106         * db2/include/btree_auto.h: Likewise.
107         * db2/include/hash_auto.h: Likewise.
108         * db2/include/log_auto.h: Likewise.
109         * db2/include/txn_auto.h: Likewise.
110         * db2/include/db_ext.h: Likewise.
111         * db2/include/btree_ext.h: Likewise.
112         * db2/include/clib_ext.h: Likewise.
113         * db2/include/common_ext.h: Likewise.
114         * db2/include/hash_ext.h: Likewise.
115         * db2/include/lock_ext.h: Likewise.
116         * db2/include/log_ext.h: Likewise.
117         * db2/include/mp_ext.h: Likewise.
118         * db2/include/mutex_ext.h: Likewise.
119         * db2/include/os_ext.h: Likewise.
120         * db2/include/txn_ext.h: Likewise.
121         * db2/include/cxx_int.h: Likewise.
122         * db2/include/db_cxx.h: Likewise.
123         * db2/include/queue.h: Likewise.
124         * db2/lock/lock.c: Likewise.
125         * db2/lock/lock_conflict.c: Likewise.
126         * db2/lock/lock_util.c: Likewise.
127         * db2/lock/lock_deadlock.c: Likewise.
128         * db2/log/log.c: Likewise.
129         * db2/log/log_get.c: Likewise.
130         * db2/log/log.src: Likewise.
131         * db2/log/log_compare.c: Likewise.
132         * db2/log/log_put.c: Likewise.
133         * db2/log/log_rec.c: Likewise.
134         * db2/log/log_archive.c: Likewise.
135         * db2/log/log_register.c: Likewise.
136         * db2/log/log_auto.c: Likewise.
137         * db2/log/log_findckp.c: Likewise.
138         * db2/mp/mp_bh.c: Likewise.
139         * db2/mp/mp_fget.c: Likewise.
140         * db2/mp/mp_fopen.c: Likewise.
141         * db2/mp/mp_fput.c: Likewise.
142         * db2/mp/mp_fset.c: Likewise.
143         * db2/mp/mp_open.c: Likewise.
144         * db2/mp/mp_region.c: Likewise.
145         * db2/mp/mp_pr.c: Likewise.
146         * db2/mp/mp_sync.c: Likewise.
147         * db2/mutex/68020.gcc: Likewise.
148         * db2/mutex/mutex.c: Likewise.
149         * db2/mutex/README: Likewise.
150         * db2/mutex/x86.gcc: Likewise.
151         * db2/mutex/sparc.gcc: Likewise.
152         * db2/mutex/uts4.cc.s: Likewise.
153         * db2/mutex/alpha.dec: Likewise.
154         * db2/mutex/alpha.gcc: Likewise.
155         * db2/mutex/parisc.gcc: Likewise.
156         * db2/mutex/parisc.hp: Likewise.
157         * db2/os/db_os_abs.c: Likewise.
158         * db2/os/db_os_dir.c: Likewise.
159         * db2/os/db_os_fid.c: Likewise.
160         * db2/os/db_os_lseek.c: Likewise.
161         * db2/os/db_os_mmap.c: Likewise.
162         * db2/os/db_os_open.c: Likewise.
163         * db2/os/db_os_rw.c: Likewise.
164         * db2/os/db_os_sleep.c: Likewise.
165         * db2/os/db_os_stat.c: Likewise.
166         * db2/os/db_os_unlink.c: Likewise.
167         * db2/txn/txn.c: Likewise.
168         * db2/txn/txn.src: Likewise.
169         * db2/txn/txn_rec.c: Likewise.
170         * db2/txn/txn_auto.c: Likewise.
171         * db2/clib/getlong.c: Likewise.
172         * db2/progs/db_archive/db_archive.c: Likewise.
173         * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
174         * db2/progs/db_deadlock/db_deadlock.c: Likewise.
175         * db2/progs/db_dump/db_dump.c: Likewise.
176         * db2/progs/db_dump185/db_dump185.c: Likewise.
177         * db2/progs/db_load/db_load.c: Likewise.
178         * db2/progs/db_printlog/db_printlog.c: Likewise.
179         * db2/progs/db_recover/db_recover.c: Likewise.
180         * db2/progs/db_stat/db_stat.c: Likewise.
181
182         * libio/stdio.h [__cplusplus] (__STDIO_INLINE): Define as inline.
183
184         * po/de.po, po/sv.po: Update from 2.0.5 translations.
185
186         * sysdeps/unix/sysv/linux/netinet/tcp.h: Pretty print.
187
188         * sunrpc/rpc/xdr.h (XDR): Don't define argument of x_destroy callback
189         as const.
190         * sunrpc/xdr_mem.c (xdrmem_destroy): Don't define argument as const.
191         * sunrpx/xdr_rec.c (xdrrec_destroy): Likewise.
192         * sunrpx/xdr_stdio.c (xdrstdio_destroy): Likewise.
193
194 1997-08-27 18:47  Ulrich Drepper  <drepper@cygnus.com>
195
196         * sysdeps/unix/sysv/linux/if_index.c: Include <errno.h>.
197         Reported by Benjamin Kosnik <bkoz@cygnus.com>.
198
199 1997-08-27 02:27  Roland McGrath  <roland@baalperazim.frob.com>
200
201         * abi-tags: New file.
202         * csu/Makefile (distribute): Remove abi-tag.h.
203         ($(objpfx)abi-tag.h): New target.
204         * Makefile (distribute): Add abi-tags.
205         * sysdeps/unix/sysv/linux/abi-tag.h: File removed.
206         * sysdeps/mach/hurd/abi-tag.h: File removed.
207         * sysdeps/stub/abi-tag.h: File removed.
208
209 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
210
211         * sysdeps/unix/make-syscalls.sh: Change output so that it
212         generates compilation rules only for the currently selected object
213         suffixes.
214
215 1997-08-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
216
217         * sysdeps/m68k/dl-machine.h (RTLD_START): Switch back to previous
218         section to avoid confusing the compiler.
219         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
220         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
221         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
222         * sysdeps/mips/mips64/dl-machine.h (RTLD_START): Likewise.
223         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
224
225         * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use a GOT
226         relocation instead of a constant to avoid text relocation.
227         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
228         (RTLD_START): Declare global labels as functions and add size
229         directive.
230
231 1997-08-25 17:01  Ulrich Drepper  <drepper@cygnus.com>
232
233         * sysdeps/i386/bits/select.h: Correct assembler versions to work even
234         for descriptors >= 32.
235
236         * stdlib/alloca.h: Don't define alloca to __alloca since if gcc
237         is used __alloca is not defined to __builtin_alloca and so might
238         not be available.
239         Reported by Uwe Ohse <uwe@ohse.de>.
240
241         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Define macros in a special
242         way if gcc is not used and so dev_t is an array.
243         Reported by Uwe Ohse <uwe@ohse.de>.
244
245 1997-08-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
246
247         * manual/libc.texinfo: Reorder chapters to match logical order.
248
249 1997-08-25 12:22  Ulrich Drepper  <drepper@cygnus.com>
250
251         * sunrpc/rpc/xdr.h: Change name of parameters in prototypes of
252         xdr_reference, xdrmem_create, and xdrstdio_create because of clash
253         with g++ internal symbols.
254         Patch by Sudish Joseph <sj@eng.mindspring.net>.
255
256 1997-08-24  Miles Bader  <miles@gnu.ai.mit.edu>
257
258         * string/argz.h: Add missing __END_DECLS.
259
260 1997-08-24 12:24  Ulrich Drepper  <drepper@cygnus.com>
261
262         * configure.in (INSTALL): Quote `$'.
263
264         * libc.map: Add __xpg_basename.
265
266         * csu/Makefile (initfini.s): Disable optimization.
267
268         * elf/dl-deps.c: Implement handling of DT_FILTER.
269
270         * elf/dl-load.c (_dl_init_paths): Add error check.
271
272         * intl/finddomain.c (_nl_find_domain): Correct comment.
273         * intl/localealias.c: Include <bits/libc-lock.h> not <libc-lock.h>.
274
275         * libio/stdio.h: Make {,v}snprintf available if __USE_BSD.
276         Change extern inline functions to work correctly in C++.
277
278         * locale/iso-4217.def: Update for more recent ISO 4217 version.
279
280         * locale/loadlocale.c (_nl_load_locale): Add cast.
281
282         * manual/message.texi: Finish gettext section.
283
284         * posix/getopt_init.c: Don't use relative #include path.
285         (__getopt_clean_environment): Change function to take pointer to
286         environment as argument.  Optimize generation of test string a bit.
287         * sysdeps/unix/sysv/linux/init-first.c: Call __getopt_clean_environment
288         with additional argument.
289
290         * poisx/glob.c: Add prototype for next_brace_sub.
291
292         * sysdeps/generic/dl-sysdep.c: Recognize AT_BASE value on auxiliary
293         vector.
294
295         * sysdeps/i386/dl-machine.h (elf_machine_load_address): Rewrite
296         to not generate relocation entry.  Suggested by Richard Henderson.
297         (ELF_MACHINE_BEFORE_RTLD_RELOC): Removed.
298         (elf_machine_runtime_setup): Add .aligns.
299
300         * sysdeps/i386/fpu/fraiseexcpt.c: Add volatile to asms.
301
302         * sysdeps/i386/fpu/bits/mathinline.h: Partially undo change of
303         1997-08-14 03:14.  gcc 2.7.2* is really broken in some aspects.
304
305         * sysdeps/standalone/i386/i386.h: Clean up asm statements a bit.
306         * sysdeps/standalone/i960/i960ca.h: Likewise.
307
308 1997-08-22 19:04  Richard Henderson  <rth@cygnus.com>
309
310         * elf/rtld.c (_dl_start): Init _dl_rtld_map.l_opencount due to
311         undocumented test addition in _dl_map_object.
312
313         Support ET_EXEC versions of ld.so, for debugging at least:
314
315         * elf/dl-load.c (_dl_map_object): Add_name_to_object could get
316         called despite the DT_SONAME != NULL test, segfaulting.  Simplify
317         the code here as well.
318         * elf/dl-lookup.c (do_lookup): Skip objects with no symtab.
319         (_dl_setup_hash): Likewise for hash tables.
320         * elf/dl-version.c (_dl_check_map_versions): Likewise for strtabs.
321         * elf/rtld.c (_dl_start): Likewise for rpath.
322         (_dl_rtld_libname2): New variable.
323         (dl_main): Use it to add an soname for ourselves when we don't have
324         one of our own.  Base it on the target's .interp.
325         (dl_main): Again, skip printing of objects that don't have strtabs.
326
327         Sparc 32 merge:
328
329         * elf/dl-runtime.c (ELF_FIXUP_RETURN_VALUE): Provide default value.
330         (fixup): Simplify code.  Use ELF_FIXUP_RETURN_VALUE.
331         (profile_fixup): Likewise, though this still needs fixing for
332         Sparc32 and PPC.
333         * sysdeps/powerpc/dl-machine.h: Transmute ELF_FIXUP_RETURNS_ADDRESS
334         to ELF_FIXUP_RETURN_VALUE.
335
336         * sysdeps/sparc/sparc32/dl-machine.h: Implement lazy relocation.
337         Fix up _dl_start_user to handle _dl_skip_args properly.
338         Use _dl_hwcap to determine if "flush" is available/needed.
339
340         * sysdeps/sparc/configure.in: Remove.  It doesn't actually do
341         anything anymore, and what it did do is done somewhere else.
342         * sysdeps/sparc/configure: Likewise.
343
344         * sysdeps/sparc/fpu/bits/mathdef.h (FP_ILOGB0, FP_ILOGBNAN): New.
345
346         * sysdeps/sparc/fpu/fraiseexcpt.c: Rearrange for smaller code.
347
348         * sysdeps/sparc/sparc32/Makefile: Fix sparc->sparc/sparc32 bits
349         in divrem expansions.
350
351         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (END, LOC): New
352         definitions for assembly syntax differences.
353
354         * sysdeps/sparc/sparc32/__longjmp.S: %g6,%g7 are reserved to the
355         "system".  Use %g2,%g3 instead.  Use new local label macro.
356         * sysdeps/sparc/sparc32/add_n.S: Use <sysdep.h> and ENTRY, END,
357         and LOC for proper assembly headers/footers.
358         * sysdeps/sparc/sparc32/addmul_1.S: Likewise.
359         * sysdeps/sparc/sparc32/alloca.S: Likewise.
360         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
361         * sysdeps/sparc/sparc32/lshift.S: Likewise.
362         * sysdeps/sparc/sparc32/mul_1.S: Likewise.
363         * sysdeps/sparc/sparc32/rshift.S: Likewise.
364         * sysdeps/sparc/sparc32/sparcv8/addmul_1.S: Likewise.
365         * sysdeps/sparc/sparc32/sparcv8/mul_1.S: Likewise.
366         * sysdeps/sparc/sparc32/sparcv8/submul_1.S: Likewise.
367         * sysdeps/sparc/sparc32/sparcv8/udiv_qrnnd.S: Likewise.
368         * sysdeps/sparc/sparc32/sub_n.S: Likewise.
369         * sysdeps/sparc/sparc32/submul_1.S: Likewise.
370         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Likewise.
371         * sysdeps/sparc/sparc32/umul.S: Likewise.
372         * sysdeps/sparc/sparc32/divrem.m4: Likewise.
373         * sysdeps/sparc/sparc32/rem.S: Regenerate.
374         * sysdeps/sparc/sparc32/sdiv.S: Regenerate.
375         * sysdeps/sparc/sparc32/udiv.S: Regenerate.
376         * sysdeps/sparc/sparc32/urem.S: Regenerate.
377
378         * sysdeps/sparc/sparc32/sparcv8/dotmul.S: New file.
379         * sysdeps/sparc/sparc32/sparcv8/rem.S: New file.
380         * sysdeps/sparc/sparc32/sparcv8/sdiv.S: New file.
381         * sysdeps/sparc/sparc32/sparcv8/udiv.S: New file.
382         * sysdeps/sparc/sparc32/sparcv8/umul.S: New file.
383         * sysdeps/sparc/sparc32/sparcv8/urem.S: New file.
384
385         * sysdeps/sparc/sparc32/bsd-_setjmp.S: Dike out.
386         * sysdeps/sparc/sparc32/bsd-setjmp.S: Likewise.
387         * sysdeps/sparc/sparc32/setjmp.S: Add _setjmp and setjmp entry points.
388
389         * sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S:
390         Clean up PIC code.
391
392         * sysdeps/sparc/sparc32/elf/start.S: New file, slightly modified
393         from the sparc64 version.
394         * sysdeps/sparc/sparc32/elf/start.c: Removed.
395
396         * sysdeps/unix/sysv/linux/sparc/sparc32/init-first.h: Rewrite in
397         assembly based on the sparc64 version.
398
399         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Duh.  Use proper syntax
400         for manipulating %fsr.
401         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Make IEEE conformance
402         be the default.
403
404         * elf/elf.h (HWCAP_SPARC_*): New definitions.
405         * elf/rtld.c (_dl_hwcap): New variable.
406         * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Record AT_HWCAP.
407
408         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: New file.
409         Attempt to get hold of the page size based on what we might have
410         been told at startup time in _dl_pagesize.  This will be obsolete
411         when I finish the kernel hooks for a proper sysconf(), stay tuned.
412
413         Sparc 64 merge:
414
415         * sysdeps/sparc/sparc64/dl-machine.h (ELF_FIXUP_RETURN_VALUE): New.
416         Figure out the right thing to return based on the .plt format.
417
418         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Update comment.
419
420         * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__dev_t):
421         Should have been 64-bits wide.
422
423         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: sll->sllx,
424         optimize for branch delay slot usage.
425
426 1997-08-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
427
428         * csu/Makefile ($(objpfx)crt%.o): Fix a missing *.so -> *.os
429         change.
430
431 1997-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
432
433         * math/libm-test.c (identities): Change epsilon.
434
435         * sysdeps/i386/fpu/bits/mathinline.h: Correct arguments to fabs,
436         fabsf, fabsl, __fabsl.
437
438 1997-08-20 05:30  Ulrich Drepper  <drepper@cygnus.com>
439
440         * catgets/catgets.c (catclose): Use __munmap instead of munmap.
441         * catgets/gencat.c (read_input_file): Fix typo.
442
443         * dirent/dirent.h: Make seekdir and telldir available for __USE_XOPEN.
444
445         * elf/dl-load.c: Fix case of missing DT_RPATH in object which gets
446         executed (e.g., when it is a static binary).
447
448         * intl/bindtextdomain.c: Use strdup in glibc.  Correct comment.
449         * intl/dcgettext.c: Likewise.
450         * intl/dgettext.c: Likewise.
451         * intl/explodename.c: Likewise.
452         * intl/finddomain.c: Likewise.
453         * intl/gettext.c: Likewise.
454         * intl/gettext.h: Likewise.
455         * intl/hash-string.h: Likewise.
456         * intl/l10nflist.c: Likewise.
457         * intl/libintl.h: Likewise.
458         * intl/loadinfo.h: Likewise.
459         * intl/loadmsgcat.c: Likewise.
460         * intl/localealias.c: Likewise.
461         * intl/textdomain.c: Likewise.
462
463         Unify libio sources with code in libg++.
464         * libio/fcloseall.c: Update and reformat copyright.  Protect use
465         of weak_alias.  Use _IO_* thread macros instead of __libc_*.
466         * libio/feof.c: Likewise.
467         * libio/feof_u.c: Likewise.
468         * libio/ferror.c: Likewise.
469         * libio/ferror_u.c: Likewise.
470         * libio/fgetc.c: Likewise.
471         * libio/filedoalloc.c: Likewise.
472         * libio/fileno.c: Likewise.
473         * libio/fileops.c: Likewise.
474         * libio/fputc.c: Likewise.
475         * libio/fputc_u.c: Likewise.
476         * libio/freopen.c: Likewise.
477         * libio/fseek.c: Likewise.
478         * libio/genops.c: Likewise.
479         * libio/getc.c: Likewise.
480         * libio/getc_u.c: Likewise.
481         * libio/getchar.c: Likewise.
482         * libio/getchar_u.c: Likewise.
483         * libio/iofclose.c: Likewise.
484         * libio/iofdopen.c: Likewise.
485         * libio/iofflush.c: Likewise.
486         * libio/iofflush_u.c: Likewise.
487         * libio/iofgetpos.c: Likewise.
488         * libio/iofgets.c: Likewise.
489         * libio/iofopen.c: Likewise.
490         * libio/iofopncook.c: Likewise.
491         * libio/iofprintf.c: Likewise.
492         * libio/iofputs.c: Likewise.
493         * libio/iofread.c: Likewise.
494         * libio/iofsetpos.c: Likewise.
495         * libio/ioftell.c: Likewise.
496         * libio/iofwrite.c: Likewise.
497         * libio/iogetdelim.c: Likewise.
498         * libio/iogetline.c: Likewise.
499         * libio/iogets.c: Likewise.
500         * libio/iopadn.c: Likewise.
501         * libio/iopopen.c: Likewise.
502         * libio/ioputs.c: Likewise.
503         * libio/ioseekoff.c: Likewise.
504         * libio/ioseekpos.c: Likewise.
505         * libio/iosetbuffer.c: Likewise.
506         * libio/iosetvbuf.c: Likewise.
507         * libio/iosprintf.c: Likewise.
508         * libio/ioungetc.c: Likewise.
509         * libio/iovdprintf.c: Likewise.
510         * libio/iovsprintf.c: Likewise.
511         * libio/iovsscanf.c: Likewise.
512         * libio/libio.h: Likewise.
513         * libio/libioP.h: Likewise.
514         * libio/obprintf.c: Likewise.
515         * libio/pclose.c: Likewise.
516         * libio/peekc.c: Likewise.
517         * libio/putc.c: Likewise.
518         * libio/putchar.c: Likewise.
519         * libio/rewind.c: Likewise.
520         * libio/setbuf.c: Likewise.
521         * libio/setlinebuf.c: Likewise.
522         * libio/stdfiles.c: Likewise.
523         * libio/stdio.c: Likewise.
524         * libio/strfile.h: Likewise.
525         * libio/strops.c: Likewise.
526         * libio/vasprintf.c: Likewise.
527         * libio/vscanf.c: Likewise.
528         * libio/vsnprintf.c: Likewise.
529
530         * manual/libc.texinfo: Add menu entries for chapter on message
531         translation.
532         * manual/locale.texi: Correct next entry in @node for new chapter.
533         * manual/search.texi: Likewise for previous link.
534         * manual/message.texi: New file.
535         * manual/startup.texi: Document LC_ALL, LC_MESSAGES, NLSPATH,
536         setenv, unsetenv, and clearenv.
537         * manual/string.texi: Fix typos.  Patch by Jim Meyering.
538
539         * math/Makefile (test-longdouble-yes): Enable.  We want long double
540         tests now.
541
542         Crusade against strcat.
543         * nis/nss_nisplus/nisplus-publickey.c: Remove uses of strcat.
544         * stdlib/canonicalize.c: Likewise.
545
546         * posix/glob.h: Define __const if necessary.  Use __const in all
547         prototypes.
548
549         * sysdeps/generic/stpcpy.c: Use K&R form to allow use in other
550         GNU packages.
551
552         * posix/wordexp.c: Completely reworked buffer handling for much
553         better performance.  Patch by Tim Waugh.
554
555         * socket/sys/sochet.h (getpeername): Fix type of LEN parameter,
556         it must be socklen_t.
557
558         * sysdeps/libm-i387/e_remainder.S: Pretty print.
559         * sysdeps/libm-i387/e_remainderf.S: Likewise.
560         * sysdeps/libm-i387/e_remainderl.S: Pop extra value from FPU stack.
561         * sysdeps/libm-i387/s_cexp.S: Little optimization.
562         * sysdeps/libm-i387/s_cexpl.S: Likewise.
563         * sysdeps/libm-ieee754/s_csinhl.c: Include <fenv.h>.
564
565 1997-08-18 15:21  Ulrich Drepper  <drepper@cygnus.com>
566
567         * sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Fix memory leak
568         in cleanup code.
569
570 1997-08-17  Paul Eggert  <eggert@twinsun.com>
571
572         * tzset.c (__tzset_internal): Fix memory leak when the user
573         specifies a TZ value that uses a default rule file.
574         Do not assume US DST rules when the user specifies
575         that there is no DST.
576
577 1997-08-10 19:17  Philip Blundell  <Philip.Blundell@pobox.com>
578
579         * inet/getnameinfo.c: Tidy up.
580         * sysdeps/posix/getaddrinfo.c: Likewise.
581
582         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0 if
583         using stub code.
584         (if_indextoname): Use SIOGIFNAME ioctl if the kernel supports it.
585         (if_nameindex): Use alloca() rather than malloc(); use
586         SIOCGIFCOUNT ioctl if the kernel supports it.
587
588 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
589
590         * sysdeps/unix/sysv/linux/sys/mount.h: Remove the IS_* macros,
591         they operate on internal kernel structures and have no place in a
592         user header.
593
594 1997-08-16  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
595
596         * Makerules (lib%.so): Depend on $(+preinit) and $(+postinit).
597         (build-shlib): Filter them out of $^.
598
599 1997-08-15  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
600
601         * elf/dl-error.c (_dl_signal_error): Fix error message.
602
603 1997-08-16 04:06  Ulrich Drepper  <drepper@cygnus.com>
604
605         * assert/assert.h [__USE_GNU]: Undefine assert_perror.
606         Reported by Theodore C. Belding <Ted.Belding@umich.edu>.
607
608 1997-08-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
609
610         * Makeconfig: Change object suffixes from *.[spgb]o to *.o[spgb]
611         to avoid conflict with PO files.
612         * Makerules: Likewise.
613         * Rules: Likewise.
614         * elf/Makefile: Likewise.
615         * extra-lib.mk: Likewise.
616         * gmon/Makefile: Likewise.
617         * nis/Makefile: Likewise.
618         * nss/Makefile: Likewise.
619         * resolv/Makefile: Likewise.
620         * rpm/Makefile: Likewise.
621         * sunrpc/Makefile: Likewise.
622         * sysdeps/sparc/elf/Makefile: Likewise.
623         * sysdeps/sparc64/elf/Makefile: Likewise.
624         * sysdeps/unix/sysv/linux/sparc/Makefile: Likewise.
625         (ASFLAGS-.os): Renamed from as-FLAGS.os.
626
627 1997-08-14 03:14  Ulrich Drepper  <drepper@cygnus.com>
628
629         * elf/dl-minimal.c: Don't use relative #include paths.
630         (malloc): Don't try to initialize _dl_pagesize, it already is.
631         (__sigjmp_save, longjmp): Reformat.
632
633         * sysdeps/generic/dl-sysdep.c: Implement _dl_show_auxv function to
634         show content of auxiliary array.
635         (_dl_sysdep_start): Remember start of auxiliary vector.
636         * sysdeps/mach/hurd/dl-sysdep.c: (_dl_show_auxv): New dummy function.
637         * elf/link.h: Add prototype for _dl_show_auxv.
638         * elf/rtld.c (dl_main): Call _dl_show_auxv if LD_SHOW_AUXV envvar
639         is present.
640
641         * libio/iofdopen.c: Better prepare for use in libstdc++.
642         * libio/iofflush.c: Likewise.
643         * libio/iofgetpos.c: Likewise.
644         * libio/iofgets.c: Likewise.
645         * libio/iofopen.c: Likewise.
646         * libio/iofputs.c: Likewise.
647         * libio/iofread.c: Likewise.
648         * libio/iofsetpos.c: Likewise.
649         * libio/ioftell.c: Likewise.
650         * libio/iofwrite.c: Likewise.
651         * libio/iogetdelim.c: Likewise.
652         * libio/iogets.c: Likewise.
653         * libio/iopopen.c: Likewise.
654         * libio/ioputs.c: Likewise.
655         * libio/iosetbuffer.c: Likewise.
656         * libio/iosetvbuf.c: Likewise.
657         * libio/ioungetc.c: Likewise.
658         * libio/iovsprintf.c: Likewise.
659         * libio/iovsscanf.c: Likewise.
660
661         * manual/creature.texi: Mention _XOPEN_SOURCE_EXTENDED in correct
662         place.
663
664         * manual/math.texi: Add comment to sincos decsription to say it's a
665         GNU extension.
666         Fix description of random function.
667
668         * posix/fnmatch.h: Recognize Windog by _WINDOWS32 not WIN32.
669         * posix/glob.c: Likewise.  Handle stupid system headers on SunOS.
670         Add casts for all __alloca calls.
671         * posix/glob.h: Recognize Windog by _WINDOWS32 not WIN32.
672         Declare additional GLOB_* constants also if _GNU_SOURCE is defined.
673         Patches by Paul D. Smith <psmith@BayNetworks.COM>.
674
675         * stdio-common/_itoa.c: Don't use relateive #include paths.
676
677         * sysdeps/i386/fpu/bits/mathinline.h: Enable optimizations even for
678         gcc 2.7.
679         (atan): Loading 1.0 from memory does not pay off.
680         (asinh): Fix typo.
681
682 1997-08-13 09:44  Philip Blundell  <Philip.Blundell@pobox.com>
683
684         * sysdeps/stub/accept.c: Use socklen_t where necessary.
685         * sysdeps/stub/bind.c: Likewise.
686         * sysdeps/stub/connect.c: Likewise.
687         * sysdeps/stub/getsockname.c: Likewise.
688         * sysdeps/stub/getsockopt.c: Likewise.
689         * sysdeps/stub/recvfrom.c: Likewise.
690         * sysdeps/stub/sendto.c: Likewise.
691         * sysdeps/stub/setsockopt.c: Likewise.
692
693 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
694
695         * io/ftw.c (object_compare): Avoid memcmp when comparing scalar
696         types.
697
698 1997-08-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
699
700         * math/libm-test.c (cbrt_test): Add epsilon for long double to
701         `cbrt (-0.001)'.
702
703 1997-08-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
704
705         * sysdeps/stub/bits/string.h: Fix comment.
706
707 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
708
709         * elf/Makefile (routines): Remove dl-version.
710         (dl-routines): Add it here instead.  This removes dead code from
711         libc.so.
712
713 1997-08-12 17:17  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>
714
715         * malloc/thread-m.h (thread_atfork, thread_atfork_static): New
716         macros to encapsulate pthread_atfork's functionality.
717         * malloc/malloc.c (ptmalloc_lock_all, ptmalloc_unlock_all): New
718         functions, registered via thread_atfork in the initialization
719         routine or via thread_atfork_static in global scope.  This
720         ensures a consistent state of all locks across fork().
721
722 1997-08-11 23:00:32 1997  Mark Kettenis  <kettenis@phys.uva.nl>
723
724         * login/programs/xtmp.c (compare_entry):
725         Partially undo patch made by Klaus Espenlaub.  There
726         was no xtmp/utmp typo.  Added comment to cclarify this.
727         * login/programs/xtmp.h: Likewise.
728
729         * posix/getopt.c: Recognize Windog by _WINDOWS32 not WIN32.
730         Patch by Paul D. Smith <psmith@BayNetworks.COM>.
731
732 1997-08-12 13:51  Ulrich Drepper  <drepper@cygnus.com>
733
734         * login/getutid.c: Rename to __getutid and make getutid and getutxid
735         weak aliases.
736         Patch by ir. Mark M._Kettenis <kettenis@phys.uva.nl>.
737
738 1997-08-11 23:55  Ulrich Drepper  <drepper@cygnus.com>
739
740         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
741         Add bits/mman.h.
742
743 1997-08-11 08:51:21 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
744
745         * stdlib/fmtmsg.c (fmtmsg): Add static to
746         __libc_once_define macro.
747
748         * libc.map (__progname_full, __progname): Added.
749
750 1997-08-04 08:31  H.J. Lu  <hjl@gnu.ai.mit.edu>
751
752         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Return 0
753         if SIOGIFINDEX is not defined.
754         (if_indextoname): Initialize "result" to NULL.
755         (if_nametoindex, if_nameindex): Fix ENOSYS setting.
756
757 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
758
759         Sparc ISO C 9x exception handling:
760         * sysdeps/sparc/fpu/bits/mathdef.h: New file.
761         * sysdeps/sparc/fpu/fclrexcpt.c: New file.
762         * sysdeps/sparc/fpu/fegetenv.c: New file.
763         * sysdeps/sparc/fpu/fegetround.c: New file.
764         * sysdeps/sparc/fpu/feholdexcpt.c: New file.
765         * sysdeps/sparc/fpu/fesetenv.c: New file.
766         * sysdeps/sparc/fpu/fesetround.c: New file.
767         * sysdeps/sparc/fpu/feupdateenv.c: New file.
768         * sysdeps/sparc/fpu/fgetexcptflg.c: New file.
769         * sysdeps/sparc/fpu/fraiseexcpt.c: New file.
770         * sysdeps/sparc/fpu/fsetexcptflg.c: New file.
771         * sysdeps/sparc/fpu/ftestexcept.c: New file.
772         * sysdeps/sparc/sparc32/fpu/bits/fenv.h: New file.
773         * sysdeps/sparc/sparc64/fpu/bits/fenv.h: New file.
774
775 1997-08-11 11:58  Richard Henderson  <rth@cygnus.com>
776
777         Sparc64 merge:
778         * configure.in: Change up subdirectories, rename sparc8->sparcv8.
779
780         * csu/Makefile: Nuke need-nopic-initfini bits.  The problem was
781         that sparc64 ld did not recognize pic relocs at all.
782
783         * elf/dl-deps.c: Include <string.h>.
784         * elf/do-rel.h (elf_dynamic_do_rel): Take reloc address and size
785         directly instead of the DT names to get them from.
786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): New macro distilled
787         from ELF_DYNAMIC_DO_REL{,A}.  Define a second version that accounts
788         for the possibility that DT_RELA and DT_JMPPLT overlap, as such is
789         the case on the Sparc.
790
791         * elf/elf.h: Stub out Elf64_Ver*, and make them the same as the
792         Elf32_Ver* bits.  The linker does not even know to differentiate
793         between the word sizes.  Someone should examine this and figure
794         out what the proper sizes of things should be for 64-bit hosts
795         before the sparc64 libraries are distributed.
796
797         * shlib-versions: Rename sparc64 ld.so to not conflict with sparc32
798         on the same machine.
799
800         Move old sysdeps/sparc contents to sysdeps/sparc/sparc32,
801         rename sparc8 subdir to sparcv8, move sysdeps/sparc64 content to
802         sysdeps/sparc/sparc64.  Same for sysdeps/unix/sysv/linux/sparc.
803
804         * sysdeps/sparc/Implies: Do ieee754 here.
805         * sysdeps/sparc/configure.in: Move from sparc32/.
806         * sysdeps/sparc/sparc32/Implies: Do wordsize here.
807         * sysdeps/sparc/sparc64/Implies: Likewise.
808
809         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_load_address):
810         Use uninitialized .got to find load address instead of AT_BASE, as
811         the later does not exist when running ld.so directly.
812
813         * sysdeps/sparc/sparc32/fpu/fpu_control.h: Move from ../.
814         * sysdeps/sparc/sparc64/fpu/fpu_control.h: Likewise.
815
816         * sysdeps/sparc/sparc32/udiv_qrnnd.S: Clean up PIC support.
817
818         * sysdeps/sparc/sparc64/Makefile (sysdep_routines): Add s_finitel
819         and s_signbitl for stdio.
820         * sysdeps/sparc/sparc64/configure.in: Remove, we no longer need
821         nopic_initfini.
822
823         * sysdeps/sparc/sparc64/bsd-_setjmp.S: Remove.
824         * sysdeps/sparc/sparc64/bsd-setjmp.S: Remove.
825         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-_setjmp.S: New empty file.
826         * sysdeps/unix/sysv/linux/sparc/sparc64/bsd-setjmp.S: New empty file.
827         * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add __longjmp alias.
828         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Add weak _setjmp
829         and setjmp entry points.
830
831         * sysdeps/sparc/sparc64/dl-machine.h: Finish real implementation.
832
833         * sysdeps/sparc/sparc64/elf/crtbegin.S: Add copyright, fix PIC.
834         * sysdeps/sparc/sparc64/elf/crtend.S: Likewise.
835
836         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h (struct sigaction):
837         Fix sa_flags size for sparc64; add sa_restorer for kernel.
838
839         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Fix PIC.
840         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
841         * sysdeps/unix/sysv/linux/sparc/sparc64/init-first.h: Likewise.
842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
843
844         * sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S: New file.
845
846 1997-08-10 18:29:08 1997  Mark Kettenis  <kettenis@phys.uva.nl>
847
848         * login/login.c (login): Check for correct return value of
849         utmpname.
850
851 1997-08-11 16:49  Ulrich Drepper  <drepper@cygnus.com>
852
853         * time/tzset.c (__tzset_internal): Correctly handle TZ strings
854         following incorrect old POSIX specs.
855         Patch by Paul Eggert <eggert@twinsun.com>.
856
857         * sysdeps/generic/bits/sigaction.h: Correct comment for SA_RESTART.
858         * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
859         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
860         * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
861         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
862         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
863         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
864         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
865         Reported by NIIBE Yutaka <gniibe@mri.co.jp>.
866
867 1997-08-09  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
868
869         * manual/math.texi: Define the macros @mul and @infinity and use
870         them to format the multiplication and infinity signs.
871         (FP Comparison Functions): Use @code, not @math, for C code
872         examples.
873
874 1997-08-10 18:48  Ulrich Drepper  <drepper@cygnus.com>
875
876         * Makeconfig: Define build-programs to no if not set and $(config-os)
877         is none.
878         * Makerules (+depfiles): Don't add $(others) if not build-programs.
879         * Rules (others): Don't depend on $(install-bin), $(install-rootbin)
880         and $(install-sbin) if not build-programs.
881         * Makefile (subdirs): Remove login.
882         * sysdeps/mach/hurd/Subdirs: Add login.
883         * sysdeps/unix/Subdirs: Add login.
884
885         * sysdeps/generic/sys/mman.h: Test feature macros before defining
886         non-POSIX things.  Add MAP_FAILED.
887         * sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
888         * sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
889         * sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
890         * sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
891         * sysdeps/unix/sysv/linux/sys/mman.h: Rewrite to not use kernel header
892         but bits/mman.h.  Test feature macros before definitions non-POSIX
893         functions.
894         * sysdeps/unix/sysv/linux/alpha/bits/mman.h: New file.
895         * sysdeps/unix/sysv/linux/i386/bits/mman.h: New file.
896         * sysdeps/unix/sysv/linux/m68k/bits/mman.h: New file.
897         * sysdeps/unix/sysv/linux/mips/bits/mman.h: New file.
898         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: New file.
899         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: New file.
900         * sysdeps/unix/sysv/linux/sparc64/bits/mman.h: New file.
901         * sysdeps/unix/sysv/linux/alpha/Dist: Add bits/mman.h.
902         * sysdeps/unix/sysv/linux/i386/Dist: Likewise.
903         * sysdeps/unix/sysv/linux/m68k/Dist: Likewise.
904         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/Dist: Likewise.
906         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
907         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.  Likewise.
908
909         * catgets/open_catalog.c (__open_catalog): Compare result of mmap
910         with MAP_FAILED and not -1.
911         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
912         * elf/dl-minimal.c (malloc): Likewise.
913         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Likewise.
914         * locale/loadlocale.c (_nl_load_locale): Likewise.
915         * locale/programs/localedef.c: Likewise.
916         * malloc/malloc.c (mmap_chunk): Likewise.
917         (new_heap): Likewise.
918         * string/stratcliff.c: Likewise.
919         * string/tester.c: Add tests for stpcpy.
920
921         * gmon/gmon.c (__monstartup): Use calloc instead of malloc+memset.
922
923         * gmon/sys/gmon.h: Add prototype for write_profiling.
924
925         * elf/dl-profile.c: Add descriptions and implement reading of
926         existing data in profiling file.
927         * gmon/sys/gmon_out.h (GMON_SHOBJ_VERSION): New macro for shared
928         lib profiling data.
929
930         * sysdeps/stub/bits/libc-lock.h (__libc_once_define): Add new first
931         parameter for class.
932
933         * inet/inet_ntoa.c: Make once control variable static.
934         Correctly handle case where key cannot be retrieved.
935         * inet/Makefile (tests): Add tst-ntoa.
936         * inet/tst-ntoa.c: New file.
937
938         * manual/time.texi: Document localtime_r, gmtime_r, asctime_r, and
939         ctime_r.
940         Mention that tzname values must not be changed.
941
942         * manual/users.texi: Document UTMP/WTMP handling functions.
943         Mainly written by Mark Kettenis.
944
945         * math/libm-test.c (cbrt_test): Add test for number with aboslute
946         value < 1.0.
947
948         * nss/nss_files/files-XXX.c (internal_setent): If opening of file
949         failed with EGAIN return NSS_STATUS_TRYAGAIN.
950         * nss/nss_files/files-alias.c (internal_setent): Likewise.
951
952         * sysdeps/generic/bits/utmp.h: Pretty print.
953
954         * sysdeps/i386/i586/strcpy.S: New file.  Much faster implementation.
955         * sysdeps/i386/i586/stpcpy.S: New file.
956         * sysdeps/i386/i686/Implies: Don't fall back on i586 versions since
957         these are less efficient than i486/i386 versions.
958
959         * sysdeps/libm-i387/e_rem_pio2.c: Add empty file to prevent the
960         version from libm-ieee754 be compiled since the later is not needed.
961         * sysdeps/libm-i387/e_rem_pio2f.c: Likewise.
962         * sysdeps/libm-i387/e_rem_pio2l.c: Likewise.
963         * sysdeps/libm-i387/k_rem_pio2.c: Likewise.
964         * sysdeps/libm-i387/k_rem_pio2f.c: Likewise.
965         * sysdeps/libm-i387/k_rem_pio2l.c: Likewise.
966         * sysdeps/m68k/fpu/e_rem_pio2.c: Likewise.
967         * sysdeps/m68k/fpu/e_rem_pio2f.c: Likewise.
968         * sysdeps/m68k/fpu/e_rem_pio2l.c: Likewise.
969         * sysdeps/m68k/fpu/k_rem_pio2.c: Likewise.
970         * sysdeps/m68k/fpu/k_rem_pio2f.c: Likewise.
971         * sysdeps/m68k/fpu/k_rem_pio2l.c: Likewise.
972
973         * sysdeps/libm-i387/s_cbrt.S: Fix several bugs.
974         * sysdeps/libm-i387/s_cbrtf.S: Likewise.
975         * sysdeps/libm-i387/s_cbrtl.S: Likewise.
976
977         * sysdeps/unix/sysv/linux/if_index.c (if_indextoname): Correct
978         little bug.
979
980         * sysdeps/unix/sysv/linux/bits/socket.h (struct msghdr): Make field
981         msg_iovlen of type int.
982
983         * time/tzfile.c: Change return type of __tzstring to char *.
984         * time/tzset.c: Likewise.  Change definition of __tzstring.
985
986         * time/tzset.c: Interpret no DST information in user provided time
987         zone specification as it is meant: no DST.
988         Patch by Paul Eggert <eggert@twinsun.com>.
989
990 1997-07-20 03:01  Geoff Keating  <geoffk@ozemail.com.au>
991
992         * sysdeps/elf/dl-load.c (add_name_to_object): New procedure.
993         (_dl_map_object_from_fd): Use add_name_to_object.
994         (_dl_map_object): If an object's SONAME is used to resolve a
995         dependency, add it to the list of the object's names.
996
997         * inet/getnameinfo.c: Make `domain' non-const.
998
999         * sysdeps/unix/sysv/linux/powerpc/kernel_termios.c: Clean up.
1000
1001         * math/test-fenv.c (feenv_nomask_test): Don't execute if
1002         FE_NOMASK_ENV is not defined, or if fesetenv(FE_NOMASK_ENV)
1003         sets errno to ENOSYS.
1004
1005         * sysdeps/powerpc/dl-machine.h: Print proper error message on
1006         unknown reloc type (rather than using assert).
1007
1008         * sysdeps/unix/sysv/linux/powerpc/profil-counter.h: New file.
1009         * sysdeps/unix/sysv/linux/powerpc/profil.c: Deleted.
1010
1011 1997-07-16 12:47  Geoff Keating  <geoffk@ozemail.com.au>
1012
1013         * sysdeps/powerpc/bits/fenv.h (feraiseexcept): New optimising macro.
1014         (feclearexcept): New optimising macro.
1015         (FE_NOMASK_ENV): Change to procedure so it can enable exceptions.
1016         (FE_ENABLED_ENV): Add.
1017         (FE_NONIEEE_ENV): Add.
1018         * sysdeps/powerpc/bits/fenv_const.c: Add __fe_enabled_env,
1019         __fe_nonieee_env; delete __fe_nomask_env.
1020         * sysdeps/powerpc/bits/fe_nomask.c: New file (stub warning until it
1021         gets implemented in the kernel).
1022
1023         * sysdeps/powerpc/fraiseenv.c: Deal with chips that don't have
1024         FE_INVALID_SOFTWARE implemented. Use macros for bit names for clarity.
1025         * sysdeps/powerpc/fsetexcptflag.c: Likewise.
1026
1027         * io/ftw.c: Don't compare holes in structures.
1028         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Cast the result of the
1029         macros to `int', because otherwise it might be `long long' which
1030         the calling code is probably not expecting.
1031
1032         * sysdeps/libm-ieee754/s_lround.c [NO_LONG_DOUBLE]: Fix a few bugs,
1033         document the existence of some more.
1034
1035         * sysdeps/powerpc/s_llrint.c: New file.
1036         * sysdeps/powerpc/s_lrint.c: New file.
1037         * sysdeps/powerpc/s_llround.c: New file.
1038         * sysdeps/powerpc/s_lround.c: New file.
1039
1040         * sysdeps/powerpc/s_sqrt.c: New file.
1041         * sysdeps/powerpc/s_sqrtf.c: New file.
1042         * sysdeps/powerpc/w_sqrt.s: New empty file.
1043         * sysdeps/powerpc/w_sqrtf.s: New empty file.
1044         * sysdeps/powerpc/t_sqrt.c: New file.
1045         * sysdeps/powerpc/test-arithf.c: New file.
1046         * sysdeps/powerpc/Makefile [subdir=math]: Add t_sqrt to support
1047         routines.  Add test-arithf to test programs.
1048
1049         * sysdeps/powerpc/bits/mathdef.h: Add FP_ILOGB0, FP_ILOGBNAN.
1050
1051         * sysdeps/powerpc/strcmp.s: Simplify drastically. Now much neater,
1052         and possibly faster (or possibly slower, depending on input).
1053
1054 1997-06-08 22:55  Geoff Keating  <geoffk@ozemail.com.au>
1055
1056         * sysdeps/powerpc/fenvbits.h: Correct FE_DFL_ENV and FE_NOMASK_ENV
1057         macros.
1058         * sysdeps/powerpc/s_rint.c: New file.
1059
1060 1997-05-22 08:47  Geoff Keating  <geoffk@ozemail.com.au>
1061
1062         * sysdeps/powerpc/Makefile [subdir=math]: Add q_* routines.
1063         * sysdeps/powerpc/Dist: Add quad_float.h.
1064         * sysdeps/powerpc/q_dtoq.c: New file.
1065         * sysdeps/powerpc/q_itoq.c: New file.
1066         * sysdeps/powerpc/q_lltoq.c: New file.
1067         * sysdeps/powerpc/q_neg.c: New file.
1068         * sysdeps/powerpc/q_qtoi.c: New file.
1069         * sysdeps/powerpc/q_qtoll.c: New file.
1070         * sysdeps/powerpc/q_qtos.c: New file.
1071         * sysdeps/powerpc/q_qtou.c: New file.
1072         * sysdeps/powerpc/q_qtoull.c: New file.
1073         * sysdeps/powerpc/q_stoq.c: New file.
1074         * sysdeps/powerpc/q_ulltoq.c: New file.
1075         * sysdeps/powerpc/q_utoq.c: New file.
1076         * sysdeps/powerpc/quad_float.h: New file.
1077         * sysdeps/powerpc/test-arith.c: New file.
1078
1079         * sysdeps/powerpc/fpu_control.h: Fix _FPU_GETCW.
1080         * sysdeps/powerpc/fegetround.c: Use mcrfs to be faster and not
1081         require a stack frame.
1082         * sysdeps/powerpc/bits/fenv.h: Include inline macro for fegetround.
1083
1084 1997-05-18 05:55  Geoff Keating  <geoffk@ozemail.com.au>
1085
1086         * sysdeps/powerpc/fenv_libc.h (fegetenv_register,
1087         fesetenv_register): Add 'volatile'.
1088         (set_fpscr_bit, reset_fpscr_bit): New macros, FPSCR_*
1089         constants to use with them.
1090         * sysdeps/powerpc/s_copysign.S: New file.
1091         * sysdeps/powerpc/s_copysignf.s: New file.
1092         * sysdeps/powerpc/s_fabs.S: New file.
1093         * sysdeps/powerpc/s_fabsf.s: New file.
1094         * sysdeps/powerpc/s_isnan.c: New file.
1095         * sysdeps/powerpc/s_isnanf.s: New file.
1096         * sysdeps/powerpc/s_rintf.c: New file.
1097
1098         * sysdeps/powerpc/fenvbits.h: Make FE_INVALID the summary
1099         bit in the FPSCR, not the enable bit.
1100         * sysdeps/powerpc/fraiseexcpt.c: Consequent change to the above.
1101         * sysdeps/powerpc/fclrexcpt.c: Correct.
1102         * sysdeps/powerpc/fsetexcptflag.c: Correct.
1103         * sysdeps/powerpc/ftestexcpt.c: Is now much simpler.
1104         * sysdeps/powerpc/fgetexcptflg.c: Simplify.
1105
1106         * sysdeps/powerpc/strlen.s: Schedule better, save 3 clocks :-).
1107
1108         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Add comment
1109         explaining some reentrancy issues with lazy PLT entries.
1110
1111 1997-08-09 13:04  Mark Kettenis  <kettenis@phys.uva.nl>
1112
1113         * login/logout.c (logout): utmpname returns -1 on error.
1114
1115         * login/libutil.map: Remove updwtmp.
1116
1117         * login/getutline.c: Rename getutline to __getutline and make
1118         getutline a weak alias.  Make getutxline a weak alias for
1119         __getutline.
1120         * login/getutid.c: Rename getutid to __getutid and make getutid a
1121         weak alias.  Make getutxid a weak alias for __getutid.
1122         * libc.map: Add getutxid, getutxline.
1123
1124         * login/utmpname.c (__utmpname): Reset backend right after backend
1125         endutent call.
1126         * login/utmp_file.c: Reordered functions.  Remove unecessary
1127         header files.
1128         (getutent_r_file, pututline_file): Do not call setutent_file.  At this
1129         point the file is guaranteed to be open (assert!).
1130         (getutid_r_file, getutline_r_file): Remove check for validity of file
1131         descriptor.  At this point the file is guaranteed to be open.
1132         (getutent_r_file, internal_getut_r, getutline_r_file, pututline_file,
1133         updwtmp_file): Do not wait when unlocking file.
1134         * login/utmp_daemon.c: General cleanup and a bit of reordering.
1135         (getutent_r_daemon, pututline_daemon): Do not call setutent_daemon.
1136         At this point the socket is guaranteed to be open (assert!).
1137         (getutid_r_daemon, getutline_r_daemon): Do not check if daemon_sock is
1138         valid.  At this point the socket is guaranteed to be open (assert!).
1139         * login/getutline_r.c: Remove unnecessary header files.
1140         (__getutline_r): Do not call backend setutent.
1141         * login/getutid_r.c: Remove unnecessary header files.
1142         (__getutid_r): Do not call backend setutent.
1143         * login/getutent_r.c: Remove unneccesary header files.
1144         (__libc_utmp_unknown_functions): Added getutid_r_unknown,
1145         getutline_r_unknown.
1146         (setutent_unknown): Only set file backend if setutent for the file
1147         backend was successful.
1148         (getutent_r_unknown, pututline_unknown): Call setutent_unknown instead
1149         of __setutent.  Report failure if no backend was selected.
1150         (getutid_r_unknown): New function.
1151         (getutline_r_unknown): New function.
1152         (__endutent): Reset backend.  This makes sure all backends are checked
1153         on the next setutent call.
1154
1155 1997-08-08 20:20  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1156
1157         * nis_cache.c: Replace dummy functions.
1158
1159         * libc.map: Add xdr_sizeof symbol.
1160
1161         * sunrpc/Makefile: Add xdr_sizeof to routines.
1162         * sunrpc/rpc/xdr.h: Add xdr_sizeof prototype.
1163         * sunrpc/xdr_sizeof.c: New, from tirpc 2.3.
1164
1165 1997-08-08  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1166
1167         * sysdeps/mach/bits/libc-lock.h (__libc_once): Define correctly.
1168
1169 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1170
1171         * sysdeps/mach/hurd/profil.c (fetch_samples): Put parens in the
1172         right place.
1173
1174 1997-08-06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1175
1176         * sysdeps/mach/hurd/profil.c (fetch_samples): Do arithmetic on
1177         PC's in long long to avoid overflow.
1178
1179 1997-08-07  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1180
1181         * sysdeps/mach/bits/libc-lock.h (__libc_once, __libc_once_define):
1182         New macros.
1183
1184 1997-08-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1185
1186         * nis/Makefile (headers): Remove bits/nislib.h.
1187
1188 1997-08-06 14:54  Ulrich Drepper  <drepper@cygnus.com>
1189
1190         * sysdeps/mach/hurd/Subdirs: Add login.
1191
1192 1997-08-06 14:23  Klaus Espenlaub  <kespenla@hydra.informatik.uni-ulm.de>
1193
1194         * db/hash/hash.c (init_hash): Don't use stat() if it doesn't provide
1195         the preferred block size.
1196
1197         * login/programs/database.c (store_state_entry): Don't compile if
1198         there is no ut_type field.
1199         (store_state_entry, store_process_entry): Use the ut_tv field
1200         for timestamps if supported.
1201
1202         * login/programs/utmpdump.c (print_entry): Always use ut_tv field.
1203
1204         * login/programs/xtmp.c: Fix numerous xtmp/utmp typos.  Use the ut_tv
1205         field for timestamps if supported.
1206
1207         * login/programs/xtmp.h: Fix xtmp/utmp typo.
1208
1209         * sysdeps/posix/defs.c (stdstream): Change (PTR) to (void *).
1210
1211         * sysdeps/stub/connect.c (connect): Change to __connect, add alias.
1212         * sysdeps/stub/send.c (send): Likewise.
1213         * sysdeps/stub/s_exp2f.c: Emit correct stub_warning().
1214         * sysdeps/stub/statfs.c: Move stub_warning() to the usual place.
1215         * sysdeps/stub/init-first.c: Add definition of __libc_pid.
1216
1217 1997-08-05 13:28  Philip Blundell  <pb@spring.nexus.co.uk>
1218
1219         * sysdeps/standalone/arm/bits/errno.h: Add EISDIR, EOPNOTSUPP;
1220         tidy up formatting.
1221
1222         * Makefile (subdirs): Remove `login'.
1223         * sysdeps/unix/Subdirs: New file; build `login' subdirectory
1224         for Unix systems.
1225
1226 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1227
1228         * sysdeps/generic/bits/utmpx.h: New file.
1229
1230         * sysdeps/mach/hurd/Dist: Add some files.
1231         * sysdeps/mips/Dist: Likewise.
1232         * sysdeps/mips/mips64/Dist: Likewise.
1233         * sysdeps/sparc/Dist: Likewise.
1234         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
1235         * sysdeps/unix/sysv/linux/sparc/Dist: Likewise.
1236         * sysdeps/mips/mipsel/Dist: New file.
1237         * sysdeps/sparc64/elf/Dist: New file.
1238         * sysdeps/unix/sysv/linux/sparc64/Dist: New file.
1239
1240 1997-08-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1241
1242         * libc.map: Add missing symbols.
1243
1244 1997-08-05  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1245
1246         * manual/socket.texi: Correct typos.
1247
1248         * manual/math.texi: Correct typos.
1249
1250         * manual/time.texi (Formatting Date and Time): Likewise.
1251
1252 1997-08-04 13:06  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1253
1254         * gmon/gmon.c (write_gmon): New function; guts from _mcleanup.
1255         (_mcleanup): Use write_gmon.
1256         (write_profiling): This function can be safely called at any time
1257         to write a current histogram without interfering with ongoing
1258         profiling.
1259
1260         * sysdeps/mach/hurd/profil.c (fetch_samples): Initialize NSAMPLES.
1261
1262 1997-08-01 17:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1263
1264         * sysdeps/mach/hurd/profil.c (fetch_samples): Sample buffer need
1265         not be vm_deallocated; it's a stack buffer.
1266         (profil_vm_deallocate): Delete prototype.
1267         (#include <../mach/RPC_vm_deallocate_rpc.c>): Drop this
1268         inclusion.
1269         * sysdeps/mach/hurd/Makefile
1270         ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete
1271         this rule.
1272
1273         * sysdeps/mach/hurd/profil.c (fetch_samples): New function, guts
1274         from profile_waiter.
1275         (profile_waiter): Use fetch_samples.
1276         (profil): When turning off profiling, fetch the last bunch of
1277         samples before disabling PC sampling.
1278         (fetch_samples): Add prototype.
1279
1280 1997-07-30 12:53  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1281
1282         * sysdeps/mach/hurd/Makefile: Give normal rules for the mach RPC
1283         source included by profil.c instead of trying to use
1284         before-compile grot.
1285
1286 1997-07-23 15:04  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
1287
1288         * sysdeps/mach/hurd/profil.c (profile_waiter): Do vm_deallocate
1289         after releasing lock.  Use special RPC stubs and avoid assert,
1290         thus making this function entirely independent of the threadvar
1291         mechanism and of cthreads.
1292         (lock): Convert to be a spin lock instead of a mutex, so that the
1293         waiter thread need not use cthreads.  Use a fork prepare hook
1294         instead of _hurd_fork_locks to make sure we are clean before
1295         forking.
1296         (fork_profil_child): Renamed from fork_profil.
1297         (profil_reply_port): New variable.
1298         (profil_vm_deallocate, profil_task_get_sampled_pcs): Special RPC
1299         stubs made by special hacks.
1300         * sysdeps/mach/hurd/Makefile (before-compile): Add the mach RPC
1301         source files that profil.c needs if we are in the gmon directory.
1302
1303         * mach/setup-thread.c (__mach_setup_thread): Delete avoidance of a
1304         cthreads bug that hasn't existed for two years.
1305
1306 1997-08-04 15:29  Ulrich Drepper  <drepper@cygnus.com>
1307
1308         * locale/programs/localedef.c (main): Set bit in avail for those
1309         categories which are successfully read.
1310         * locale/programs/locfile.c (check_all_categories): Don't check
1311         categories if they are not available.
1312         (write_all_categories): Don't write categories if they are not
1313         available.
1314
1315         * login/setutent_r.c (setutent_unknown): Change return type to
1316         int and return result of called function.
1317
1318         * manual/arith.texi: Mark floating-point test macro from ISO C 9X
1319         as macros (not functions).
1320         * manual/libc.texinfo (UPDATED): Update.
1321         * manual/math.texi: Document exceptions, functions to handle
1322         exceptions, mathematical constants, FP comparison functions
1323         and several new functions from ISO C 9X.
1324         Change parameter of drand48, lrand48, and mrand48 to void (not
1325         empty).
1326         * manual/pattern.texi: Remove paragraph which explained that wordexp
1327         is executed by running a shell.
1328         * manual/time.texi: Explain difficulties with strftime if the
1329         functions returns 0 and no error occurred.
1330
1331         * math/math.h: Correct comment for some M_* constants.
1332         (isgreater, isgreaterequal, isless, islessequal, islessgreater,
1333         inunordered): Rewrite to make sure the arguments are evaluated
1334         exactly once.
1335
1336         * nis/rpcsvc/nis.x: Undo last change.
1337         * nis/rpcsvc/nis.h: Likewise.
1338         * nis/rpcsvc/nislib.h: File moved back to here.
1339
1340         * posix/sys/types.h: Don't define socklen_t.  Pretty print.
1341         * socket/sys/socket.h (bind, getsockname, connect, sendto, recvfrom,
1342         getsockopt, setsockopt, accept): Change size argument to type
1343         socklen_t.
1344         Pretty print.
1345         * manual/socket.texi: Describe socklen_t and change prototypes of
1346         socket functions to use socklen_t.
1347         * sysdeps/generic/bits/socket.h: Define socklen_t.
1348         (struct msghdr): Correct types to use socklen_t.
1349         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1350         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
1351
1352         * stdio-common/printf_fp.c (__printf_fp): Correct rounding of numbers
1353         1.0 < x < 8.0.
1354         * stdio-common/tfformat.c: Add new tests for above bug.
1355
1356         * stdlib/strtod.c: Fix typo.
1357
1358         * string/Makefile (headers): Add bits/string.h.
1359         (CFLAGS-*): Add -D__NO_STRING_INLINES.
1360         * string/string.h: Include <bits/string.h> if optimizing and
1361         __NO_STRING_INLINES is not defined.
1362         * sysdeps/stub/bits/string.h: New file.
1363
1364         * sysdeps/powerpc/bits/fenv.h: Fix typos.
1365
1366         * sysdeps/unix/sysv/linux/if_index.c: Let functions return ENOSYS
1367         if SIOGIFINDEX is not defined.
1368
1369         * sysdeps/wordsize-32/inttypes.h: Pretty print.
1370         * sysdeps/wordsize-64/inttypes.h: Pretty print.
1371
1372         * termios/cfsetspeed.c: Rewrite loop to do what it shall do.
1373
1374         * wcsmbs/Makefile (tests): Add tst-wcstof.
1375         * wcsmbs/tst-wcstof.c: New file.
1376
1377 1997-08-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1378
1379         * sysdeps/m68k/__longjmp.c: Replace call to abort by infinite
1380         loop, to avoid dragging stdio into the dynamic linker.
1381
1382 1997-08-02 19:44  H.J. Lu  <hjl@gnu.ai.mit.edu>
1383
1384         * nis/nis_findserv.c (xid, xid_seed, xid_lookup): Make them
1385         u_int32_t.
1386
1387 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1388
1389         * posix/wordexp.c (parse_tilde): Fix calls to __getpwnam_r and
1390         __getpwuid_r.
1391         Include <stdio.h> to get prototypes of *printf.
1392         (exec_comm): Remove unneeded variable *sh.
1393
1394         * libc.map: Add wordexp, wordfree.
1395
1396         * posix/Makefile (routines): Add wordexp.
1397
1398 1997-08-03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1399
1400         * posix/wordexp.c: Correct typo in comment.
1401         (wordexp): Likewise.
1402
1403         * manual/errno.texi (Error Codes): Fix typo.
1404
1405 1997-08-03 15:28  Ulrich Drepper  <drepper@cygnus.com>
1406
1407         * csu/initfini.c (SECTION): Don't put quotes around section name
1408         since this is not understood by all assemblers.
1409         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1410
1411 1997-08-02 21:27  Ulrich Drepper  <drepper@cygnus.com>
1412
1413         * inet/Makefile (headers): Rename netinet/inbits.h to bits/in.h.
1414         * inet/netinet/in.h: Include bits/in.h instead of netinet/inbits.h.
1415         * sysdeps/generic/netinet/inbits.h: Move to...
1416         * sysdeps/generic/bits/in.h: ... here.
1417         * sysdeps/unix/sysv/linux/bits/inbits.h: Move to ...
1418         * sysdeps/unix/sysv/linux/bits/in.h: ... here.
1419
1420         * nis/Makefile (headers): Add bits/nislib.h.
1421         * nis/rpcsvc/nislib.h: Moved to ....
1422         * nis/bits/nislib.h: ... here.
1423
1424         * nis/nss_compat/compat-grp.c: Don't include <rpcsvc/nislib.h>.
1425         * nis/nss_compat/compat-pwd.c: Likewise.
1426         * nis/nss_compat/compat-spwd.c: Likewise.
1427         * nis/nss_nisplus/nisplus-alias.c: Likewise.
1428         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
1429         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1430         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
1431         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
1432         * nis/nss_nisplus/nisplus-ntework.c: Likewise.
1433         * nis/nss_nisplus/nisplus-proto.c: Likewise.
1434         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
1435         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
1436         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
1437         * nis/nss_nisplus/nisplus-service.c: Likewise.
1438         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
1439
1440         * nis/rpcsvc/nis.x: Include bits/nislib.h, not rpcsvc/nislib.h.
1441         * nis/rpcsvc/nis.h: Likewise.
1442
1443         * inet/getnameinfo.c (nrl_domainname): Change return type to const
1444         char *.
1445         (getnameinfo): Change type of local variable c to const char *.
1446
1447         * inet/inet_ntoa.c: Rewrite to use __libc_once for initialization.
1448         * stdlib/fmtmsg.c: Likewise.
1449
1450         * intl/bindtextdom.c: Update from latest gettext.
1451         * intl/dcgettext.c: Likewise.
1452         * intl/finddomain.c: Likewise.
1453         * intl/l10nflist.c: Likewise.
1454         * intl/localealias.c: Likewise.
1455         * intl/textdomain.c: Likewise.
1456
1457         * login/getutid_r.c: Remove parameter to setutent call.
1458         * login/getutline_r.c: Likewise.
1459
1460         * posix/wordexp.c: Complete rewrite.  Not fully implemented yet,
1461         though.  Patch by Tim Waugh <tim@cyberelk.demon.co.uk>.
1462
1463         * stdio-common/printf_fp.c: Remove relative include paths.
1464         * stdio-common/printf_fphex.c: Likewise.
1465
1466         * sysdeps/generic/crypt.h: Cleanup.  Don't define non standard
1467         elements unless __USE_GNU.
1468
1469         * sysdeps/generic/vlimit.c: Pretty print.
1470         * sysdeps/generic/vtimes.c: Likewise.
1471
1472         * sysdeps/i386/elf/bsd-_setjmp.S: New file.  Empty dummy file.
1473         * sysdeps/i386/elf/bsd-setjmp.S: New file.  Empty dummy file.
1474         * sysdeps/i386/elf/setjmp.S: New file.  Define __setjmp and also
1475         weak definitions of setjmp and _setjmp.
1476
1477         * sysdeps/i386/fpu/bits/mathinline.h: More patches by John Bowman.
1478
1479         * sysdeps/stub/if_index.h: Set errno in all functions and add
1480         stub warnings.
1481
1482         * sysdeps/stub/libc-lock.h: Add __libc_once.
1483
1484 1997-08-02 01:57  Ulrich Drepper  <drepper@cygnus.com>
1485
1486         * sysdeps/unix/sysv/linux/ptrace.c: Don't set errno in error
1487         case since the __syscall_ptrace call already did this.
1488         Reported by Philip Gladstone <philip@talon.raptor.com>.
1489
1490 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1491
1492         * sysdeps/unix/sysv/linux/sys/fsuid.h: Change include
1493         <gnu/types.h> to <sys/types.h>.
1494
1495 1997-08-01 23:18  Ulrich Drepper  <drepper@cygnus.com>
1496
1497         * csu/defs.awk: Fix regexp for end and align.
1498         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1499
1500         * locale/programs/locale.c (print_escaped): New function.
1501         (show_info): Use print_escaped if strings can control unprintable
1502         characters.
1503         Patch by Jochen Hein <jochen.hein@delphi.central.de>.
1504
1505 1997-08-01 18:45  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1506
1507         * nis/nss_nisplus/nisplus-alias.c: Fix NULL pointer problems
1508         * nis/nss_nisplus/nisplus-grp.c: Likewise.
1509
1510 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1511
1512         * elf/dl-profile.c (_dl_start_profile): Use _dl_sysdep_error
1513         instead of fprintf.
1514
1515 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1516
1517         * manual/socket.texi (Host Address Functions): Fix arguments of
1518         @deftypefun.
1519
1520 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1521
1522         * elf/dl-runtime.c: Avoid warning about profile_fixup being
1523         unused.
1524
1525         * sysdeps/m68k/dl-machine.h: Add support for shared library
1526         profiling.
1527
1528 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1529
1530         * md5-crypt/Makefile (extra-objs): Add onlymd5-crypt.o for
1531         dependencies.
1532
1533 1997-07-31  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1534
1535         * Make-dist (subdirs): Distribute both aout and elf.
1536
1537 1997-07-31 23:04  Mark Kettenis  <kettenis@phys.uva.nl>
1538
1539         * login/utmp-private.h: Remove reset argument from backend
1540         setutent.
1541         * login/getutent_r.c (__setutent): Allways call the setutent
1542         function in the daemon backend.
1543         (setutent_unknown): Function removed.
1544         (getutent_unknown, pututline_unknown): Call __setutent instead of
1545         setutent_unknown.
1546         * login/utmp_file.c (setutent_file): Removed reset argument.  All
1547         callers changed.
1548         * login/utmp_daemon.c (setutent_daemon): Removed reset
1549         argument.  All callers changed.  Try to open connection even if a
1550         previous connection failed, but first check if the sockets exist
1551         in the filesystem.
1552
1553         * login/utmp_daemon.c (pututline_daemon): Try to open connection
1554         before reporting failure.
1555
1556         * login/programs/database.c (open_database): Create compatibility
1557         file if it does not already exist.  Supply mode argument in open
1558         calls to guarantee that created files have the proper protection.
1559
1560         * login/programs/utmpd.c (main): Remove files created by a
1561         previous `bind' before creating sockets.
1562         Suggested by a sun <asum@zoology.washington.edu>.
1563
1564 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1565
1566         * math/libm-test.c: Remove unneeded function check_int_exec.
1567
1568         * BUGS: Correct typos.
1569
1570         * gmon/gmon.c: Add alias for monstartup, declare _strerror_internal.
1571
1572 1997-07-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1573
1574         * manual/socket.texi (Host Address Functions): Reformat inet_ntop
1575         entry to confirm with expected behaviour of some scripts.
1576
1577         * libc.map: Add functions/variables in global namespace,
1578         remove wildcards.
1579
1580 1997-07-29  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1581
1582         * resolv/libresolv.map: Add variables and routines used by named,
1583         nslookup and other bind utils.
1584         * libc.map: Likewise.
1585
1586 1997-07-31 00:35  Philip Blundell  <Philip.Blundell@pobox.com>
1587
1588         * sysdeps/unix/sysv/linux/if_index.c: Rewrite to avoid using /proc
1589         filesystem.
1590         * inet/test_ifindex.c: New file.
1591         * inet/Makefile (tests): Add test_ifindex.
1592
1593 1997-08-01 04:25  Ulrich Drepper  <drepper@cygnus.com>
1594
1595         * nis/nss_nisplus/nisplus-parser.c: Fix another bug in the parser.
1596         Patch by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1597
1598         * manual/errno.texi: Fix typo.
1599         Reported by Erik Talvola <etalvo@sapient.com>.
1600
1601 1997-07-28 23:35  Ulrich Drepper  <drepper@cygnus.com>
1602
1603         * csu/gmon-start.c (__gmon_start__): Call __monstartup not
1604         monstartup.
1605         * gmon/gmon.c: Rename moncontrol to __moncontrol and monstartup
1606         to __monstartup.
1607         * gmon/sys/gmon.h: Fix prototypes.
1608         * gmon/sys/gmon_out.h: Pretty print.
1609
1610         * gmon/bb_exit_func.c (__bb_exit_func): Use memcpy instead of bcopy.
1611         * gmon/gmon.c (__monstartup): Likewise.
1612         (write_hist): Remove dependency on 32 bit int.
1613         (_mcleanup): Don't call perror, use fprintf.
1614
1615         * elf/dl-load.c: Fix handling of current directory in search path.
1616
1617         * elf/Makefile (dl-routines): Add dl-profile.
1618         * elf/dl-profile.c: New file.
1619         * elf/dl-runtime.c (fixup): Add new parameter with address to store
1620         relocation result in to elf_machine_relplt.
1621         (profile_fixup): New function.
1622         * elf/do-rel.h (elf_dynamic_do_rel): Add new parameter with address
1623         to store relocation result in to elf_machine_relplt.
1624         * elf/dl-support.c: Define _dl_profile and _dl_profile_map.
1625         * elf/dynamic-link.h (ELF_DYNAMIC_RELOCATE): Add new parameter and
1626         call elf_machine_runtime_setup with extra argument.
1627         * elf/dl-reloc.c (_dl_relocate_object): Add new argument to
1628         ELF_DYNAMIC_RELOCATE.
1629         * elf/link.h: Add prototypes for new functions and variables.
1630         * elf/rtld.c: Parse LD_PROFILE and LD_PROFILE_OUTPUT environment
1631         variables and call _dl_start_profile if necessary.
1632         * include/sys/gmon_out.h: New file.
1633         * sysdeps/alpha/dl-machine.h (elf_machine_runtime_setup): Add
1634         new parameter to enable profiling.
1635         (elf_machine_rela): Add new parameter to specify place to store
1636         result in.
1637         * sysdeps/m68k/dl-machine.h: Likewise.
1638         * sysdeps/mips/dl-machine.h: Likewise.
1639         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1640         * sysdeps/powerpc/dl-machine.h: Likewise.
1641         * sysdeps/sparc/dl-machine.h: Likewise.
1642         * sysdeps/sparc64/dl-machine.h: Likewise.
1643         * sysdeps/i386/dl-machine.h: Likewise.
1644         (elf_machine_runtime_setup): Setup got[2] to _dl_runtime_resolve if
1645         we do profiling.
1646         (ELF_MACHINE_RUNTIME_TRAMPOLINE): Add code for _dl_runtime_profile.
1647
1648         * nis/nss_compat/compat-grp.c (internal_setgrent): Set FD_CLOEXEC
1649         for stream on input file.
1650         * nis/nss_compat/compat-pwd.c (internal_setpwent): Likewise.
1651         * nis/nss_compat/compat-spwd.c (internal_setspent): Likewise.
1652         * nss/nss_db/db-XXX.c (internal_setent): Likewise.
1653         * nss/nss_db/db-alias.c (internal_setent): Likewise.
1654         * nss/nss_db/db-netgrp.c (internal_setent): Likewise.
1655         * nss/nss_files/files-XXX.c (internal_setent): Likewise.
1656         * nss/nss_files/files-alias.c (internal_setent): Likewise.
1657         * nss/nss_files/files-netgrp.c (internal_setent): Likewise.
1658
1659         * string/string.h: Pretty print.
1660
1661         * sysdeps/i386/fpu/bits/mathinline.h: Major update by John Bowman.
1662         Add float and long double versions.
1663
1664 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1665
1666         * elf/rtld.c (print_unresolved): Replace empty object name by main
1667         program name.
1668
1669 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1670
1671         * sysdeps/generic/htons.c (htons): Renamed from __htons.
1672
1673 1997-07-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1674
1675         * sysdeps/m68k/bits/byteswap.h: New file.
1676
1677 1997-07-27 23:50  Philip Blundell  <Philip.Blundell@pobox.com>
1678
1679         * inet/netinet/icmp6.h: Update for new drafts of POSIX.1g and IPv6
1680         advanced API.
1681         * inet/netinet/in.h: Likewise.
1682         * inet/netinet/ip6.h: Likewise.
1683         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1684         * posix/sys/types.h: Add socklen_t.
1685
1686         * manual/socket.texi: Document some more IPv6 things.
1687         * manual/libc.texinfo: Likewise.
1688
1689 1997-07-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1690
1691         * libc.map: Define missing symbol.
1692
1693 1997-07-27 14:31  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1694
1695         * nis/Makefile: Add nis_findserv.
1696         * nis/lckcache.c: Fix typo.
1697         * nis/nis_call.c: Fix problems with multihomed servers.
1698         * nis/nis_findserv.c: New file.
1699         * nis/nis_intern.h: Add more prototypes.
1700         * nis/nis_lookup.c (nis_lookup): Don't try the next server if network
1701         is unreachable.
1702         * nis/nis_table.c (nis_list): Likewise.
1703         * nis/nis_ping.c (nis_ping): Use MASTER_ONLY, don't call abort()
1704         in error case.
1705         * nis/nis_util.c (__nis_finddirectory): Give the right error code
1706         back.
1707         * nis/ypclnt.c: Make sure, that all sockets are closed.
1708
1709 1997-07-26 04:14  Ulrich Drepper  <drepper@cygnus.com>
1710
1711         * elf/Makefile (distribute): Add genrtldtbl.awk.
1712         (before-compile): Add rtldtbl.h.
1713         (GAWK): New variable.
1714         (generated): Add trusted-dirs.h and rtldtbl.h.
1715         ($(objpfx)rtldtbl.h): New rule.  File is needed by dl-load.c.
1716         * elf/dl-load.c: Rewrite.  Now use cache and look for shared
1717         objects in machine dependent directories.
1718         * elf/dl-object.c (_dl_new_object): Initialize l_rpath_dirs member.
1719         * elf/dl-support.c: Rename function to non_dynamic_init and add
1720         initialization for _dl_platform, _dl_platformlen, _dl_pagesize
1721         and call to initializer for search path.
1722         * elf/elf.h: Add AT_PLATFORM and AT_HWCAP.
1723         * elf/genrtldtbl.awk: New file.
1724         * elf/link.h: Add type definitions and declarations for search
1725         path cache.
1726         * elf/rtld.c: Add definitions of variables used for search path cache.
1727         * sysdeps/generic/dl-sysdep.c: Let auxiliary vector initialize
1728         _dl_platform.  Initialize _dl_pagesize early and use this value.
1729         * sysdeps/i386/dl-machine.h: Add code for _dl_platform handling.
1730         * sysdeps/mach/hurd/dl-sysdep.c: Initialize _dl_pagesize.
1731         * sysdeps/unix/sysv/linux/dl-sysdep.c: Use _dl_pagesize instead
1732         of calling getpagesize.
1733
1734         * elf/dl-error.c (_dl_signal_error): Make message nicer.
1735
1736         * nss/libnss_files.map: Fix typo.
1737         Reported by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>.
1738
1739         * sysdeps/generic/strsep.c: Optimize case where separator set contains
1740         only one character.
1741
1742         * sysdeps/libm-ieee754/s_ccosh.c: Correct sign of result for real
1743         == +-Inf.
1744         * sysdeps/libm-ieee754/s_ccoshf.c: Likewise.
1745         * sysdeps/libm-ieee754/s_ccoshl.c: Likewise.
1746
1747 1997-07-25 09:15  H.J. Lu  <hjl@gnu.ai.mit.edu>
1748
1749         * sysdeps/sparc/udiv_qrnnd.S: Check PIC instead of __PIC__.
1750         * sysdeps/unix/sysv/linux/sparc/__sigtrampoline.S: Likewise.
1751         * sysdeps/unix/mips/sysdep.S: Likewise.
1752         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1753
1754         * sysdeps/mips/bsd-_setjmp.S: Remove __PIC__ comment.
1755         * sysdeps/mips/bsd-setjmp.S: Likewise.
1756
1757         * sysdeps/mips/dl-machine.h: Remove extra stuff.
1758         * sysdeps/mips/mips64/dl-machine.h: Likewise.
1759
1760 1997-07-25 18:55  Philip Blundell  <Philip.Blundell@pobox.com>
1761
1762         * sysdeps/standalone/arm/sysdep.c: New file.
1763
1764 1997-07-25 13:25  Philip Blundell  <Philip.Blundell@pobox.com>
1765
1766         * aout/Makefile: New file.
1767         * Makeconfig (binfmt-subdir): Assume a.out when not ELF.
1768
1769         * sysdeps/generic/machine-gmon.h: Add warning about limitations of
1770         __builtin_return_address().
1771         * sysdeps/arm/machine-gmon.h: New file, use assembly to avoid
1772         above problem.
1773
1774 1997-07-25 16:24  H.J. Lu  <hjl@gnu.ai.mit.edu>
1775
1776         * elf/dl-deps.c (_dl_map_object_deps): Fix a typo.
1777
1778 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1779
1780         * math/libm-test.c (ccos_test, ccosh_test): Fix sign in some
1781         tests.
1782
1783 1997-07-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1784
1785         * sunrpc/clnt_udp.c (clntudp_call): Rename cu_wait from timeout to
1786         not shadow the variable in the outer scope.
1787
1788 1997-07-24 03:14  Ulrich Drepper  <drepper@cygnus.com>
1789
1790         * elf/dl-deps.c: Complete rewrite to handle DT_AUXILIARY correctly.
1791
1792         * inet/Makefile (tests): Add htontest.
1793         * inet/htontest.c: New file.
1794
1795         * inet/netinet/in.h: Cleanup optimization of ntoh/hton functions
1796         when they are no noops.
1797         * sysdeps/alpha/htonl.S: Don't define __ protected names.
1798         * sysdeps/alpha/htons.S: Likewise.
1799         * sysdeps/generic/htonl.c: Likewise.
1800         * sysdeps/generic/htons.c: Likewise.
1801         * sysdeps/i386/htonl.S: Likewise.
1802         * sysdeps/i386/htons.S: Likewise.
1803         * sysdeps/i386/i486/htonl.S: Likewise.
1804         * sysdeps/vax/htonl.s: Likewise.
1805         * sysdeps/vax/htons.s: Likewise.
1806
1807         * string/Makefile (headers): Add byteswap.h and bits/byteswap.h.
1808         * string/byteswap.h: New file.
1809         * sysdeps/generic/bits/byteswap.h: New file.
1810         * sysdeps/i386/bits/byteswap.h: New file.
1811         * sysdeps/generic/bits/htontoh.h: Removed.
1812         * sysdeps/i386/bits/htontoh.h: Removed.
1813
1814         * misc/search.h: General cleanup.  Don't define reentrant hsearch
1815         functions uless __USE_GNU.
1816
1817         * nss/nsswitch.c: Pretty print.
1818
1819         * sunrpc/clnt_udp.c (clntudp_call): Initialize outlen to prevent
1820         warning.
1821
1822         * sysdeps/unix/i386/sysdep.h (DO_CALL): Use lcall, binutils have
1823         been fixed meanwhile.
1824         Reported by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1825
1826 1997-07-24 00:53  Philip Blundell  <Philip.Blundell@pobox.com>
1827
1828         * db/hash/hash.c (init_hash): Only use statbuf.st_blksize if it
1829         exists for this port.
1830
1831 1997-07-24 00:12  Philip Blundell  <Philip.Blundell@pobox.com>
1832
1833         * sysdeps/standalone/arm/bits/errno.h (ESTALE): Add.
1834
1835 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1836
1837         * manual/argp.texi (Argp Option Vectors): Use @minus, not @math,
1838         to format a proper minus sign.
1839
1840 1997-07-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1841
1842         * sysdeps/m68k/fpu/fraiseexcpt.c: Don't handle FE_INEXACT
1843         specially, the standard doesn't require it.
1844
1845         * math/test-fenv.c (test_exceptions): Add IGNORE_INEXACT argument,
1846         if non-zero then don't test inexact flag.  Callers changed.
1847         (set_single_exc): Ignore inexact flag if underflow or overflow
1848         exception is raised.
1849
1850 1997-07-23 05:10  Ulrich Drepper  <drepper@cygnus.com>
1851
1852         * sysdeps/unix/sysv/linux/sys/fsuid.h: New file.
1853         Provided by Michael Deutschmann <ldeutsch@mail.netshop.net>.
1854         * sysdeps/unix/sysv/linux/Makefile (headers): Add sys/fsuid.h.
1855         * sysdeps/unix/sysv/linux/Dist: Add sys/fsuid.h.
1856
1857 1997-07-16 10:09  Fila Kolodny  <fila@ibi.com>
1858
1859         * resolv/gethnamaddr.c: Define MAXHOSTNAMELEN as 256, since RFC 1034
1860         and 1035 state that a fully qualified domain name cannot exceed 255
1861         octets in length.
1862         * resolv/nss_dns/dns-host.c: Likewise.
1863
1864 1997-07-22 09:54  H.J. Lu   <hjl@gnu.ai.mit.edu>
1865
1866         * inet/netinet/in.h (htons): Fix typos.
1867
1868         * sysdeps/i386/bits/htontoh.h (__ntohs): Return the value.
1869
1870 1997-07-22 11:47  Ulrich Drepper  <drepper@cygnus.com>
1871
1872         * nss/nsswitch.c (nss_lookup_function): Include function.def, not
1873         functions.def.
1874         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
1875
1876 1997-07-22 01:35  Ulrich Drepper  <drepper@cygnus.com>
1877
1878         * Makerules (+make-deps): Use $(CFLAGS) in run of $(+mkdep) so
1879         that optimizing is also selected for dependency generation.
1880
1881         * configure.in: Add machine description for TI c[34]x.
1882
1883         * inet/Makefile (routines): Remove ntohl and ntohs.
1884         * inet/netinet/in.h: Use optimized version of hton? and ntoh?
1885         for little endian machines.
1886         * sysdeps/alpha/ntohl.s: Removed.
1887         * sysdeps/alpha/ntohs.s: Removed.
1888         * sysdeps/generic/ntohl.c: Removed.
1889         * sysdeps/generic/ntohs.c: Removed.
1890         * sysdeps/generic/htonl.c: Add aliases for ntohl.
1891         * sysdeps/vax/htonl.s: Likewise.
1892         * sysdeps/generic/htons.c: Add aliases for ntohs.
1893         * sysdeps/vax/htons.s: Likewise.
1894         * sysdeps/vax/ntohl.s: Removed.
1895         * sysdeps/vax/ntohs.s: Removed.
1896         * sysdeps/generic/bits/htontoh.h: New file.
1897         * sysdeps/i386/htonl.S: New file.
1898         * sysdeps/i386/htons.S: New file.
1899         * sysdeps/i386/i486/htonl.S: New file.
1900
1901         * sysdeps/i386/fpu/bits/mathinline.h: Correct and optimized compare
1902         macros.
1903
1904         * sysdeps/mips/dl-machine.h: Remove mips64 dependent parts.
1905         * sysdeps/mips/mips64/dl-machine.h: New file.
1906
1907         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't install
1908         syscall-list.h.
1909
1910 1997-07-12  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1911
1912         * libc.map: Add missing symbol _obstack.
1913
1914 1997-07-14 08:22  H.J. Lu  <hjl@gnu.ai.mit.edu>
1915
1916         * sysdeps/mips/rtld-parms: New.
1917
1918         * sysdeps/unix/sysv/linux/mips/lxstat.h: Moved to
1919         * sysdeps/unix/sysv/linux/mips/lxstat.c: ...this.
1920
1921         * sysdeps/unix/sysv/linux/mips/sgidef.h: Moved to
1922         * sysdeps/unix/sysv/linux/mips/sgidefs.h: ...this.
1923
1924         * sysdeps/generic/dl-sysdep.c (_start): Change to ENTRY_POINT.
1925
1926 1997-07-17 08:39  H.J. Lu  <hjl@gnu.ai.mit.edu>
1927
1928         * sysdeps/mips/dl-machine.h: Remove extra stuff.
1929
1930 1997-07-06 07:18  Geoff Keating  <geoffk@ozemail.com.au>
1931         * sysdeps/powerpc/bits/endian.h: Handle multiple endianess.
1932
1933         * stdlib/grouping.h: Suppress gcc warning about testing
1934         unsigned char for less-than-zero.
1935         * stdio-common/printf_fp.c: Likewise.
1936         * stdio-common/vfprintf.c: Likewise.
1937
1938         * sysdeps/powerpc/add_n.s: New file.
1939         * sysdeps/powerpc/sub_n.s: New file.
1940         * sysdeps/powerpc/lshift.s: Ported XCOFF->ELF (from GMP).
1941         * sysdeps/powerpc/mul_1.s: Ported XCOFF->ELF (from GMP).
1942         * sysdeps/powerpc/addmul_1.s: Ported XCOFF->ELF (from GMP).
1943         * sysdeps/powerpc/submul_1.s: Ported XCOFF->ELF (from GMP).
1944         * sysdeps/powerpc/rshift.s: Ported XCOFF->ELF (from GMP).
1945
1946         * math/libm-test.c (cos_test, sin_test, sincos_test): Use
1947         precomputed pi/6 rather than having gcc calculate it, otherwise
1948         tests give inaccurate result due to inaccurate input.
1949         * math/libm.map: Add __fe_*_env constants to list of exported
1950         symbols.
1951
1952         * sysdeps/libm-ieee754/s_isinf.c: Simplify, make faster.
1953         * sysdeps/libm-ieee754/s_isinff.c: Simplify, make faster.
1954         * sysdeps/libm-ieee754/s_atan2f.c: Correct value of pi to be correct
1955         round-to-nearest value.
1956
1957         * sysdeps/libm-ieee754/e_log.c: Make sure exceptions are raised.
1958         * sysdeps/libm-ieee754/e_log10.c: Likewise.
1959         * sysdeps/libm-ieee754/e_log10f.c: Likewise.
1960         * sysdeps/libm-ieee754/e_logf.c: Likewise.
1961         * sysdeps/libm-ieee754/s_log1p.c: Likewise. Also use correct -Inf.
1962         * sysdeps/libm-ieee754/s_log1pf.c: Likewise. Also use correct -Inf.
1963         * sysdeps/libm-ieee754/s_log2.c: Likewise.
1964         * sysdeps/libm-ieee754/s_log2f.c: Likewise.
1965
1966 1997-07-15 21:54  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
1967
1968         * nis/nss_compat/compat-grp.c: Fix "buffer to small" problems
1969         and memory leaks.
1970         * nis/nss_compat/compat-pwd.c: Likewise.
1971         * nis/nss_compat/compat-spwd.c: Likewise.
1972         * nis/nss_nis/nis-alias.c: Likewise.
1973         * nis/nss_nis/nis-ethers.c: Likewise.
1974         * nis/nss_nis/nis-grp.c: Likewise.
1975         * nis/nss_nis/nis-hosts.c: Likewise.
1976         * nis/nss_nis/nis-network.c: Likewise.
1977         * nis/nss_nis/nis-proto.c: Likewise.
1978         * nis/nss_nis/nis-pwd.c: Likewise.
1979         * nis/nss_nis/nis-rpc.c: Likewise.
1980         * nis/nss_nis/nis-service.c: Likewise.
1981         * nis/nss_nis/nis-spwd.c: Likewise.
1982         * nis/nss_nisplus-alias.c: Likewise.
1983         * nis/nss_nisplus-ethers.c: Likewise.
1984         * nis/nss_nisplus-grp.c: Likewise.
1985         * nis/nss_nisplus-hosts.c: Likewise.
1986         * nis/nss_nisplus-netgrp.c: Likewise.
1987         * nis/nss_nisplus-network.c: Likewise.
1988         * nis/nss_nisplus-proto.c: Likewise.
1989         * nis/nss_nisplus-pwd.c: Likewise.
1990         * nis/nss_nisplus-rpc.c: Likewise.
1991         * nis/nss_nisplus-service.c: Likewise.
1992         * nis/nss_nisplus-spwd.c: Likewise.
1993
1994         * nis/nss_nisplus-parse.c: If buffer to small, give -1 back.
1995
1996 1997-07-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
1997
1998         * sysdeps/m68k/dl-machine.h (elf_machine_rela): Mention program
1999         name in warning message.
2000         * sysdeps/powerpc/dl-machine.h (elf_machine_rela): Likewise.
2001         * sysdeps/sparc/dl-machine.h (elf_machine_rela): Likewise.
2002         * sysdeps/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2003
2004         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print program name
2005         first.
2006
2007 1997-07-20 19:33  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2008
2009         * libc.map: Add _null_auth and _seterr_reply.
2010
2011         * sunrpc/clnt_udp.c (clntudp_call): If xargs is NULL, don't encode it.
2012
2013 1997-07-19 22:53  Ulrich Drepper  <drepper@cygnus.com>
2014
2015         * time/africa: Update from tzdata1997g.
2016         * time/asia: Likewise.
2017         * time/australasia: Likewise.
2018         * time/europe: Likewise.
2019         * time/iso3166.tab: Likewise.
2020         * time/zone.tab: Likewise.
2021         * time/private.h: Update from tzcode1997f.
2022         * time/scheck.c: Likewise.
2023
2024         * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X.
2025
2026         * math/math.h: Correct comments.  Include <bits/mathinline.h>
2027         always when optimizing.
2028
2029 1997-07-19 10:23  Mark Kettenis  <kettenis@phys.uva.nl>
2030
2031         * time/getdate.c (__getdate_r):
2032         Report failure if string was not completely parsed.
2033         (getdate): Set getdate_err on failure.
2034
2035 1997-07-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2036
2037         * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION):
2038         Synchronize with malloc/obstack.c.
2039
2040 1997-07-16  Miles Bader  <miles@gnu.ai.mit.edu>
2041
2042         * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather
2043         than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly.
2044         Return EACCES rather than EGRATUITOUS if a R/W request isn't writable.
2045
2046 1997-07-15  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
2047
2048         * manual/Makefile (INSTALL_INFO): Introduce variable to override
2049         path to install-info for systems like Debian that have an
2050         install-info with a different command line interface from the
2051         canonical GNU texinfo version.
2052
2053 1997-07-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2054
2055         * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment.
2056         * posix/unistd.h: Likewise.
2057         * sysdeps/stub/ttyname_r.c: Likewise.
2058
2059 1997-07-14 23:37  Ulrich Drepper  <drepper@cygnus.com>
2060
2061         * inet/getnameinfo.c: Pretty print.
2062         Correctly enlarge buffers.
2063
2064         * login/programs/utmpd.c: Use _() instead of gettext().
2065
2066         * nis/nss_nisplus/nisplus-hosts.c: Optimize some uses of stpcpy away.
2067         * nis/nss_nisplus/nisplus-network.c: Likewise.
2068         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2069         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2070         * nis/nss_nisplus/nisplus-service.c: Likewise.
2071
2072         * sysdeps/alpha/fpu/bits/mathinline.h: Only define functions if
2073         __OPTIMIZE__.
2074         * sysdeps/powerpc/bits/mathinline.h: Likewise.
2075         * sysdeps/i386/fpu/bits/mathinline.h: Define ISO C9x comparison
2076         function always.
2077         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2078         * sysdeps/stub/bits/mathinline.h: Add conditionals to show how
2079         it should look like in real files.
2080
2081         * sysdeps/generic/bits/select.h (__FD_ZERO): Don't use memset to
2082         prevent prototype trouble, use simple loop.
2083         * sysdeps/i386/bits/select.h [!__GNUC__] (__FD_ZERO): Likewise.
2084
2085         * sysdeps/mips/mips64/Implies: Imply ieee754.
2086
2087         * sysdeps/unix/sysv/linux/Makefile: Make sure bits/syscall.h is
2088         installed.
2089         * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print.
2090
2091 1997-07-14 00:25  Ulrich Drepper  <drepper@cygnus.com>
2092
2093         * sysdeps/stub/bits/stdio_lim.h: Unify with standalone version.
2094         * sysdeps/standalone/bits/stdio_lim.h: Removed.
2095         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2096
2097 1997-06-22  Paul Eggert  <eggert@twinsun.com>
2098
2099         * time/strftime.c (strftime): Use tm_zone if available, even if _LIBC.
2100
2101         * time/tzfile.c (__tzstring): New decl.
2102         (__tzfile_read, __tzfile_default): Set __tzname to permanent strings.
2103         (__tzfile_default): First two args are now const char *.
2104
2105         * time/tzset.c (__tzstring): New function.
2106         (tz_rule): Name is now const char *.
2107         (struct tzstring_head): New type.
2108         (tzstring_list, tzstring_last_buffer_size): New static vars.
2109         (__tzset_internal): Time zone names are now permanent, not temporary.
2110
2111 1997-07-13 01:18  Ulrich Drepper  <drepper@cygnus.com>
2112
2113         * setjmp/setjmp.h: Define _setjmp and _longjmp also if __USE_XOPEN.
2114
2115         * sysdeps/unix/sysv/linux/bits/ipc.h: Fix comment.
2116         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2117         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2118         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2119
2120         * time/Makefile (routines): Add getdate.
2121         * time/time.h: Add prototype for getdate and getdate_r.
2122         * time/getdate.c: New file.
2123         Provided by Mark Kettenis <kettenis@phys.uva.nl>.
2124
2125 1997-06-30 14:49  H.J. Lu  <hjl@gnu.ai.mit.edu>
2126
2127         From Ralf Baechle <ralf@informatik.uni-koblenz.de> on
2128         Sat Jun 21 18:11:21 1997:
2129
2130         * sysdeps/unix/sysv/linux/syscalls.list (swapon): Add __swapon alias.
2131         (swapoff): New.
2132
2133         * elf/Makefile: Add linker script support.
2134         (headers): Add bits/dlfcn.h.
2135
2136         * elf/dl-load.c (MAP_BASE_ADDR): New.
2137
2138         * elf/dlfcn.h: Include <bits/dlfcn.h>.
2139
2140         * elf/elf.h: Add MIPS support.
2141
2142         * sysdeps/generic/Dist: Add entry.h.
2143         * sysdeps/generic/entry.h: New, define the entry symbol.
2144
2145         * elf/rtld.c (_start): Include <entry.h>.  Change to ENTRY_POINT.
2146         * sysdeps/generic/dl-sysdep.c (_start): Likewise.
2147         * mips/elf/start.S (_start): Likewise.
2148
2149         * sysdeps/mips/bsd-_setjmp.S: Fix PIC.
2150         * sysdeps/mips/bsd-setjmp.S: Likewise.
2151         * sysdeps/mips/setjmp.S: Likewise.
2152         * mips/elf/start.S: Likewise.
2153         * sysdeps/unix/mips/brk.S: Likewise.
2154         * sysdeps/unix/mips/sysdep.S: Likewise.
2155         * sysdeps/unix/mips/sysdep.h: Likewise.
2156         * sysdeps/unix/mips/wait.S: Likewise.
2157
2158         * sysdeps/mips/dl-machine.h: Update for Linux/MIPS.
2159         * sysdeps/mips/fpu_control.h: Likewise.
2160
2161         * sysdeps/generic/bits/dlfcn.h: New file.
2162
2163         * sysdeps/mips/rtld-ldscript.in: New for Linux/MIPS.
2164         * sysdeps/mips/rtld-parms: Likewise.
2165         * sysdeps/mips/bits/dlfcn.h: Likewise.
2166         * sysdeps/mips/mips64/rtld-parms: Likewise.
2167         * sysdeps/mips/mipsel/rtld-parms: Likewise.
2168         * sysdeps/unix/sysv/linux/mips/Dist: Likewise.
2169         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2170         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2171         * sysdeps/unix/sysv/linux/mips/entry.h: Likewise.
2172         * sysdeps/unix/sysv/linux/mips/fpregdef.h: Likewise.
2173         * sysdeps/unix/sysv/linux/mips/fxstat.c: Likewise.
2174         * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
2175         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Likewise.
2176         * sysdeps/unix/sysv/linux/mips/kernel_termios.h: Likewise.
2177         * sysdeps/unix/sysv/linux/mips/lxstat.c: Likewise.
2178         * sysdeps/unix/sysv/linux/mips/regdef.h: Likewise.
2179         * sysdeps/unix/sysv/linux/mips/sgidefs.h: Likewise.
2180         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2181         * sysdeps/unix/sysv/linux/mips/ustat.c: Likewise.
2182         * sysdeps/unix/sysv/linux/mips/xmknod.c: Likewise.
2183         * sysdeps/unix/sysv/linux/mips/xstat.c: Likewise.
2184         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
2185         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise.
2186         * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h:
2187         * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
2188         * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
2189         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
2190         * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
2191         * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2192         * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
2193         * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
2194         * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
2195         * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
2196         * sysdeps/unix/sysv/linux/mips/sys/acct.h: Likewise.
2197         * sysdeps/unix/sysv/linux/mips/sys/asm.h: Likewise.
2198         * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise.
2199         * sysdeps/unix/sysv/linux/mips/sys/fpregdef.h: Likewise.
2200         * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
2201         * sysdeps/unix/sysv/linux/mips/sys/regdef.h: Likewise.
2202         * sysdeps/unix/sysv/linux/mips/sys/syscall.h: Likewise.
2203         * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise.
2204
2205 1997-04-09 19:05  H.J. Lu (hjl@gnu.ai.mit.edu)
2206
2207         * isomac.c (xstrndup): New, use it instead of strndup ().
2208
2209 1997-07-02 08:55  H.J. Lu  <hjl@gnu.ai.mit.edu>
2210
2211         * sysdeps/i386/dl-machine.h (elf_machine_rel): Print
2212         the program name for different sizes.
2213
2214 1997-07-10 15:47  Fila Kolodny  <fila@ibi.com>
2215
2216         * nis/ypclnt.c: Change references to MAXHOSTNAMELEN to NIS_MAXNAMELEN.
2217         Add include of rpcsvc/nis.h.
2218         * inet/getnameinfo.c: Delete references to MAXHOSTNAMELEN.
2219         * sysdeps/posix/getaddrinfo.c: Likewise.
2220         Change size of variable buffer to be big enough to hold an IPv6
2221         address in printable format.
2222
2223 1997-07-12 18:47  Ulrich Drepper  <drepper@cygnus.com>
2224
2225         * assert/assert.h [!NDEBUG] (assert, assert_perror): Don't use ||
2226         and && in tests to allow use in C++ code which overloads these
2227         operators.  Reported by Istvan Marko <istvan@cmdmail.amd.com>.
2228
2229         * configure.in: Move mips64* recognition before mips*.
2230         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2231
2232 1997-07-03 20:44  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2233
2234         * Makerules (lib%.so, $(common-objpfx)libc.so): Don't use
2235         automatic variables in dependency lists.
2236         (build-shlib): Always filter out the version script file.
2237         * extra-lib.mk ($(objpfx)$(lib).so): Depend on version script.
2238
2239 1997-07-12 17:56  Ulrich Drepper  <drepper@cygnus.com>
2240
2241         * login/login.c (tty_name): Test return value of ttyname_r for !=
2242         0, not < 0.
2243         * misc/ttyslot.c (ttyslot): Test return value of ttyname_r for ==
2244         0, not >= 0.
2245         * sysdeps/unix/getlogin.c (getlogin): Test return value of
2246         ttyname_r for != 0.
2247         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2248
2249 1997-07-10  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2250
2251         * login/utmp_file.c (getutline_r_file): Fix type: compare with
2252         *result.
2253
2254 1997-07-11 00:21  Mark Kettenis  <kettenis@phys.uva.nl>
2255
2256         * login/Makefile (headers): Add utmpx.h and bits/utmpx.h.
2257
2258 1997-07-09 19:21  Mark Kettenis  <kettenis@phys.uva.nl>
2259
2260         * login/programs/utmpd.c, login/programs/database.c,
2261         login/programs/request.c: Prepare messages for
2262         internationalization.
2263
2264         * login/programs/utmpd.c:
2265         (main): Change handling of errors in opening the database.
2266         * login/programs/database.c:
2267         (open_database, synchronize_database, initialize_database):
2268         Properly handle errors.
2269         (get_mtime): Use fstat instead of stat.  All callers changed.
2270
2271         * login/getutent_r.c: Make setutxent a weak alias for __setutxent.
2272         * login/getutent.c: Rename getutent to __getutent and make
2273         getutent a weak alias.
2274         Make getutxent a weak alias for __getutent.
2275         * login/utmpx.h: New file.
2276         * sysdeps/gnu/bits/utmp.h: Cleanup.  Added comments.
2277         * sysdeps/gnu/bits/utmpx.h: New file.
2278
2279 1997-07-11 03:00  Ulrich Drepper  <drepper@cygnus.com>
2280
2281         * inet/inet_ntoa.c: Prevent looking for thread data key if we found
2282         one.
2283
2284         * signal/sigandset.c: Include stddef.h to get NULL defined.
2285         * signal/sigisempty.c: Likewise.
2286         * signal/sigorset.c: Likewise.
2287         * sysdeps/stub/if_index.h: Likewise.
2288         * wcsmbs/wcstod_l.c: Include locale.h to get __locale_t defined.
2289         * wcsmbs/wcstof_l.c: Likewise.
2290         * wcsmbs/wcstol_l.c: Likewise.
2291         * wcsmbs/wcstold_l.c: Likewise.
2292         * wcsmbs/wcstoll_l.c: Likewise.
2293         * wcsmbs/wcstoul_l.c: Likewise.
2294         * wcsmbs/wcstoull_l.c: Likewise.
2295         Reported by Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>.
2296
2297         * stdio-common/snprintf.c: Use ISO C function definition form.
2298
2299         * sysdeps/stub/libc-lock.h: Don't define __libc_key_create and
2300         __libc_setspecific as empty macros since they are used as
2301         function with return value.
2302         Reported by Andreas Jaeger.
2303
2304         * stdio-common/strops.c: Partialy undo last change.  Will need
2305         more investigation.
2306
2307 1997-07-10  Marcus G. Daniels  <marcus@cathcart.sysc.pdx.edu>
2308
2309         * sysdeps/mach/hurd/select.c (__select): Need bit count for
2310         MACH_MSG_TYPE_INTEGER_T.
2311
2312 1997-07-08 10:12  Fila Kolodny  <fila@ibi.com>
2313
2314         * sysdeps/i370/Implies: New file for i370-ibm-mvs port.
2315         * sysdeps/mvs/Implies: Likewise.
2316
2317 1997-07-09 23:06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>
2318
2319         * nis/Makefile: Add new source files.
2320
2321         * nis/nis_intern.h: Add new internal functions.
2322         * nis/rpcsvc/nislib.h: Likewise.
2323
2324         * nis/lckcache.c: New.
2325         * nis/nis_cache.c: New, dummy functions in the moment.
2326         * nis/nis_util.c: New.
2327         * nis/nisplus-parser.h: New.
2328         * nis/nss_nisplus/nisplus-parser.c: New.
2329         * nis/rpcsvc/nis_cache.h: New.
2330         * nis/rpcsvc/nis_cache.x: New.
2331
2332         * nis/nss_compat/compat-grp.c: Matches Solaris behaviour now.
2333         * nis/nss_compat/compat-pwd.c: Likewise.
2334         * nis/nss_compat/compat-spwd.c: Likewise.
2335         * nis/nss_nisplus/nisplus-alias.c: Likewise.
2336         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2337         * nis/nss_nisplus/nisplus-grp.c: Likewise.
2338         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2339         * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
2340         * nis/nss_nisplus/nisplus-network.c: Likewise.
2341         * nis/nss_nisplus/nisplus-proto.c: Likewise.
2342         * nis/nss_nisplus/nisplus-publickey.c: Likewise.
2343         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2344         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2345         * nis/nss_nisplus/nisplus-service.c: Likewise.
2346         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2347
2348         * nis/nss_nis/nis-publickey.c: Remove libc-lock.h include.
2349
2350         * nis/nis_intern.c: Removed.
2351
2352         * nis/nis_call.c: Complete rewrite.
2353         * nis/nis_lookup.c: Likewise.
2354         * nis/nis_table.c: Likewise.
2355
2356         * nis/libnsl.map: Add missing symbols.
2357
2358         * nis/nis_print.c: Fix nis_print_link.
2359         * nis/nis_subr.c: Fix nis_getnames.
2360
2361 1997-07-09 07:19  H.J. Lu  <hjl@gnu.ai.mit.edu>
2362
2363         * posix/execvp.c (execvp): Handle ESTALE.
2364
2365 1997-07-10 13:54  Ulrich Drepper  <drepper@cygnus.com>
2366
2367         * posix/regex.c: Make CHAR_SET_SIZE definition always available,
2368         even if SYNTAX_TABLE is defined.
2369         Patch by Akim Demaille <demaille@inf.enst.fr>.
2370
2371 1997-07-09 08:16  H.J. Lu  <hjl@gnu.ai.mit.edu>
2372
2373         * libio/fileops.c (_IO_file_underflow): Adjust pointers
2374         before calling _IO_SYSREAD ().
2375
2376 1997-07-07 22:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>
2377
2378         * sysdeps/sparc/divrem.m4: Eliminate use of "DEFS.h"
2379         (sysdep.h does the same job).
2380         * sysdeps/sparc/alloca.S: Likewise.
2381         * sysdeps/sparc/dotmul.S: Likewise.
2382         * sysdeps/sparc/udiv_qrnnd.S: Likewise.
2383
2384         * sysdeps/sparc/rem.S: Regenerated.
2385         * sysdeps/sparc/sdiv.S: Regenerated.
2386         * sysdeps/sparc/udiv.S: Regenerated.
2387         * sysdeps/sparc/urem.S: Regenerated.
2388
2389         * sysdeps/sparc/DEFS.h: Removed.
2390         * sysdeps/sparc/elf/DEFS.h: Removed.
2391         * sysdeps/sparc/Dist: Don't distribute DEFS.h.
2392
2393         * sysdeps/unix/sparc/sysdep.h: Use 4 byte alignment. Add .type
2394         directive #ifdef HAVE_ELF.  Minor format changes.
2395
2396         * sysdeps/alpha/DEFS.h: Removed.
2397         * sysdeps/alpha/Dist: Don't distribute DEFS.h.
2398
2399 1997-07-07 19:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
2400
2401         * math/test-fenv.c (feenv_nomask_test): Move
2402         fesetenv (FE_NOMASK_ENV) after fork () to work with
2403         SMP.
2404
2405         * sysdeps/i386/fpu_control.h (_FPU_IEEE): Fix comment.
2406
2407 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2408
2409         * libc.map: Add _IO_peekc_locked.
2410
2411 1997-07-07 15:45  Fila Kolodny  <fila@ibi.com>
2412
2413         * Makeconfig: Add dbobjdir to rpath-link analogous to nssobjdir.
2414
2415 1997-07-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2416
2417         * sysdeps/m68k/fpu/feholdexcpt.c: Shift the exception mask in the
2418         right position.
2419         * sysdeps/m68k/fpu/fesetenv.c (fesetenv): Likewise.
2420
2421 1997-07-08 13:59  Ulrich Drepper  <drepper@cygnus.com>
2422
2423         * time/strftime.c (spaces, zeroes): Handle broken SGI compiler.
2424         Patch by Richard Stallman <rms@gnu.ai.mit.edu>.
2425
2426 1997-07-08 02:18  Ulrich Drepper  <drepper@cygnus.com>
2427
2428         * io/lockf.c (lockf): Clear fl before using.
2429         Patch by sr@adb.fr.
2430
2431         * libio/strops.c: Correctly handle _IO_write_end.
2432
2433         * nss/libnss_files.map: Add __nss_netgroup_parseline.
2434         * nss/nss_files/files-netgrp.c (_nss_netgroup_parseline): Don't
2435         panic if setnetgrent wasn't called before, return error.
2436         Patch by Thorsten Kukuk <kukuk@uni-paderborn.de>.
2437
2438         * time/mktime.c: Define localtime_r function as my_mktime_localtime_r
2439         if locally defined.
2440         * time/strftime.c: Define localtime_r function as my_ftime_localtime_r
2441         if locally defined.
2442         Define tm_diff function as ftime_tm_diff if locally defined.
2443         Reported by Richard Stallman <rms@gnu.ai.mit.edu>.
2444
2445 1997-07-06 23:36  Ulrich Drepper  <drepper@cygnus.com>
2446
2447         * isomac.c (get_null_defines): Put NULL at end of list.
2448
2449         * hurd/Makefile: Remove special handling of sunrpc code.
2450         * sysdeps/mach/hurd/Makefile: Likewise.
2451         Compile CThreads code.
2452         * sunrpc/rpc_main.c: Don't use MAXPATHLEN.
2453         * sysdeps/mach/bits/libc-lock.h: Add definitions for key handling
2454         functions.
2455         * sysdeps/stub/bits/libc-lock.h: Likewise.
2456         * sysdeps/mach/hurd/net/ethernet.h: New file.
2457         * sysdeps/mach/hurd/net/if.h: New file.
2458         * sysdeps/mach/hurd/net/if_arp.h: New file.
2459         * sysdeps/mach/hurd/net/if_ether.h: New file.
2460         * sysdeps/mach/hurd/net/if_ppp.h: New file.
2461         * sysdeps/mach/hurd/net/route.h: New file.
2462         Patches by  Fila Kolodny <fila@ibi.com>.
2463
2464         * math/fenv-test.c: Add more tests.
2465         Patch by Andreas Jaeger <aj@arthur.rhein-neckar.de>.
2466
2467         * sysdeps/wordsize-32/inttypes.h: Correct values for INTFAST_MIN,
2468         INTFAST_MAX, and UINTFAST_MAX.
2469         * sysdeps/wordsize-64/inttypes.h: Likewise.
2470         Correct intmax_t definition.
2471
2472 1997-07-04 15:33  H.J. Lu  <hjl@gnu.ai.mit.edu>
2473
2474         * elf/rtld.c (dl_main): Add '\n' to _dl_sysdep_fatal ().
2475
2476 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
2477
2478         * libc.map: Add missing symbol.
2479
2480 1997-07-04 18:04  H.J. Lu  <hjl@gnu.ai.mit.edu>
2481
2482         * stdlib/tst-strtol.c: Don't assume cpp takes ~0UL as long
2483         in cc1.  Cpp in gcc doesn't do it.
2484
2485 1997-07-01 21:15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2486
2487         * libio/libioP.h: Remove second definition of _IO_file_attach.
2488
2489         * sysdeps/i386/fpu/fraiseexcpt.c (feraiseexcept): Correct comments.
2490
2491         * sysdeps/sparc64/elf/start.S (_start): Update and reformat
2492         copyright.
2493         * manual/summary.awk: Likewise.
2494         * misc/bits/stab.def: Likewise.
2495         * posix/glob/Makefile.ami: Likewise.
2496         * posix/glob/Makefile.in: Likewise.
2497         * posix/glob/SMakefile: Likewise.
2498         * sysdeps/gnu/errlist.awk: Likewise.
2499         * sysdeps/mach/hurd/errnos.awk: Likewise.
2500         * sysdeps/standalone/i386/force_cpu386/target.ld: Likewise.
2501         * sysdeps/standalone/m68k/m68020/mvme136/mvme136.ld: Likewise.
2502         * sysdeps/unix/snarf-ioctls: Likewise.
2503         * sysdeps/vax/setjmp.c: Likewise.
2504
2505 1997-07-05 11:56  Ulrich Drepper  <drepper@cygnus.com>
2506
2507         * login/login.c (tty_name): Use newly allocated buffer.
2508         Patch by Jaakko Hyvätti <jaakko.hyvatti@iki.fi>.
2509
2510         * time/asctime.c: Never translate week and month name according
2511         to LC_TIME.  Patch by Paul Eggert <eggert@twinsun.com>.
2512
2513 1997-07-03 22:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2514
2515         * locale/setlocale.c (setname): Do nothing when reusing the same
2516         name.
2517
2518 1997-07-03 20:18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2519
2520         * libc.map: Add global variables of malloc.
2521
2522 1997-07-03 13:24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2523
2524         * elf/dl-version.c (find_needed): Look for needed objects also in
2525         the dependency list of the current object.  Added new parameter to
2526         find its link map, caller changed.
2527
2528 1997-07-03 12:33  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2529
2530         * sysdeps/m68k/fpu/fraiseexcpt.c: Correct the FE_INEXACT and
2531         FE_UNDERFLOW cases.
2532
2533 1997-07-01 13:36  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2534
2535         * elf/link.h: Remove final comma from enumerator list, forbidden
2536         by ISO C.  Use __inline instead of inline.
2537
2538 1997-07-01 16:40  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>
2539
2540         * hurd/hurdsig.c: Include <hurd/id.h>.
2541         (reauth_proc): Call proc_setowner appropriately too.
2542
2543 1997-07-01 09:18  H.J. Lu  <hjl@gnu.ai.mit.edu>
2544
2545         * libc.map: Add missing symbol.
2546
2547 1997-06-30 12:12  Fila Kolodny  <fila@ibi.com>
2548
2549         * sysdeps/mach/hurd/fchdir.c: Make fchdir a weak alias of __fchdir.
2550         * sysdeps/mach/hurd/getpeername.c (getpeername): Remove spurious
2551         declaration of addr.
2552
2553 1997-06-29 17:56  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2554
2555         * manual/argp.texi (Argp Option Vectors): Fix use of @math to make
2556         it work in TeX.
2557
2558 1997-06-27 21:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2559
2560         * Makeconfig (+includes): Add include directory to include path.
2561         * configure.in (sysnames): Don't add it here.
2562         * Makefile (subdir-dirs): Define and add it to vpath for headers.
2563         * Make-dist (all-headers): Look in include directory for
2564         indirection headers.  Filter out header names pointing outside the
2565         source directory.
2566
2567         * Makefile (distribute): Remove ansidecl.h, add libc.map.
2568         * Make-dist (+tsrcs): Add version scripts for extra libraries.
2569         * Makerules (distinfo-vars): Add %-map for extra libraries.
2570
2571         * sysdeps/unix/sysv/linux/alpha/Dist: Rename sys/kernel_termios.h
2572         to kernel_termios.h.
2573         * sysdeps/unix/sysv/linux/powerpc/Dist: Remove ioctl-types.h,
2574         termbits.h and sys/kernel_termios.h.
2575         * sysdeps/mips/mips64/Dist: New file.
2576         * sysdeps/unix/sysv/linux/Dist: Add stdio_lim.h.in.
2577
2578 1997-06-29 23:03  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2579
2580         * math/test-fenv.c (feenv_nomask_test): New test for non masked
2581         exceptions.
2582         (feenv_mask_test): New test for masked exceptions
2583         (feenv_tests): New function calls feenv_nomask_test and
2584         feenv_mask_test.
2585         (main): Call new tests.
2586         (initial_tests): New test for initilisation.
2587
2588 1997-06-29 23:43  Ulrich Drepper  <drepper@cygnus.com>
2589
2590         * config.make.in: Define need-nopic-initfini.
2591         * configure.in: Write out nopic_initfini.
2592         * csu/Makefile: Generate no-PIC crt code if need-nopic-initfini
2593         is defined.
2594
2595         * sysdeps/i386/fpu/fraiseexcpt.c: Correct FE_INEXACT case.
2596
2597         * sysdeps/sparc/rem.S: Get trap definition properly.
2598         * sysdeps/sparc/sdiv.S: Likewise.
2599         * sysdeps/sparc/udiv.S: Likewise.
2600         * sysdeps/sparc/urem.S: Likewise.
2601         * sysdeps/sparc/setjmp.S: Include <sys/trap.h>.
2602         * sysdeps/sparc/sys/trap.h: New file.
2603         * sysdeps/unix/sysv/linux/sparc/sys/trap.h: New file.
2604
2605 1997-06-25 10:26  Thorsten Kukuk  <kukuk@uni-paderborn.de>
2606
2607         * sysdeps/generic/rpc/auth.h: Add xdr_opaque_auth declaration.
2608
2609 1997-06-29 10:34  Fila Kolodny  <fila@ibi.com>
2610
2611         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
2612         to MACH_MSG_TYPE_INTEGER_T.
2613
2614 1997-06-29  01:04  Richard Henderson  <richard@gnu.ai.mit.edu>
2615
2616         Initial sparc64-linux support:
2617         * configure.in: Recognize sparc64 as being different from sparc.
2618         * io/ftwtest-sh: Only invoke ld.so if it exists.
2619         * math/Makefile (LDLIBS-*): Change from libm to math/libm to get
2620         static tests to link.  Honour $(omit-long-double-fcts) == yes.
2621         * math/libm-test.c (test_single_exception): The argument to
2622         fetestexcept is `int' not `fexcept_t'.
2623         * shlib-versions: Recognize sparc64.
2624         * signal/signal.h: Add typedef for stack_t.
2625
2626         * stdio-common/_itoa.c: Defaulting UMUL_TIME==UDIV_TIME is broken.
2627         Attempt to fix up most of this by cleaning up assumptions below,
2628         but give up and change the defaults.
2629
2630         * setjmp/longjmp.c: Moved to ...
2631         * sysdeps/generic/longjmp.c: ... here.
2632         * setjmp/sigjmp.c: Moved to ...
2633         * sysdeps/generic/sigjmp.c: ... here.
2634
2635         * sysdeps/sparc/bsd-_setjmp.S [PIC]: There wasn't even valid asm here.
2636         Ought to fix up gas to catch these silly things properly.
2637         * sysdeps/sparc/bsd-setjmp.S: Likewise.
2638
2639         * sysdeps/unix/sysv/linux/sparc/errno.c: Remove.
2640         * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Remove.
2641         * sysdeps/unix/sysv/linux/sparc/kernel_stat.h: Tell xstat about
2642         the unused fields.
2643
2644         * sysdeps/sparc/sparc64/add_n.s: Moved to ...
2645         * sysdeps/sparc64/add_n.S: ... here.  Fix up %g4 and stack usage.
2646         * sysdeps/sparc/sparc64/addmul_1.s: Likewise.
2647         * sysdeps/sparc/sparc64/gmp-mparam.h: Likewise.
2648         * sysdeps/sparc/sparc64/lshift.s: Likewise.
2649         * sysdeps/sparc/sparc64/mul_1.s: Likewise.
2650         * sysdeps/sparc/sparc64/rshift.s: Likewise.
2651         * sysdeps/sparc/sparc64/sub_n.s: Likewise.
2652         * sysdeps/sparc/sparc64/submul_1.s: Likewise.
2653
2654         * sysdeps/sparc64/Implies: New file.
2655         * sysdeps/sparc64/Makefile: Likewise.
2656         * sysdeps/sparc64/bits/endian.h: Likewise.
2657         * sysdeps/sparc64/bsd-_setjmp.S: Likewise.
2658         * sysdeps/sparc64/bsd-setjmp.S: Likewise.
2659         * sysdeps/sparc64/dl-machine.h: Likewise.
2660         * sysdeps/sparc64/elf/Makefile: Likewise.
2661         * sysdeps/sparc64/elf/crtbegin.S: Likewise.
2662         * sysdeps/sparc64/elf/crtbeginS.S: Likewise.
2663         * sysdeps/sparc64/elf/crtend.S: Likewise.
2664         * sysdeps/sparc64/elf/crtendS.S: Likewise.
2665         * sysdeps/sparc64/elf/start.S: Likewise.
2666         * sysdeps/sparc64/fpu_control.h: Likewise.
2667         * sysdeps/unix/sysv/linux/sparc64/Makefile: Likewise.
2668         * sysdeps/unix/sysv/linux/sparc64/__longjmp.S: Likewise.
2669         * sysdeps/unix/sysv/linux/sparc64/bits/setjmp.h: Likewise.
2670         * sysdeps/unix/sysv/linux/sparc64/bits/types.h: Likewise.
2671         * sysdeps/unix/sysv/linux/sparc64/brk.S: Likewise.
2672         * sysdeps/unix/sysv/linux/sparc64/clone.S: Likewise.
2673         * sysdeps/unix/sysv/linux/sparc64/fork.S: Likewise.
2674         * sysdeps/unix/sysv/linux/sparc64/getcontext.S: Likewise.
2675         * sysdeps/unix/sysv/linux/sparc64/init-first.h: Likewise.
2676         * sysdeps/unix/sysv/linux/sparc64/kernel_stat.h: Likewise.
2677         * sysdeps/unix/sysv/linux/sparc64/longjmp.S: Likewise.
2678         * sysdeps/unix/sysv/linux/sparc64/pipe.S: Likewise.
2679         * sysdeps/unix/sysv/linux/sparc64/profil-counter.h: Likewise.
2680         * sysdeps/unix/sysv/linux/sparc64/setcontext.S: Likewise.
2681         * sysdeps/unix/sysv/linux/sparc64/setjmp.S: Likewise.
2682         * sysdeps/unix/sysv/linux/sparc64/sigjmp.S: Likewise.
2683         * sysdeps/unix/sysv/linux/sparc64/syscalls.list: Likewise.
2684         * sysdeps/unix/sysv/linux/sparc64/sysdep.S: Likewise.
2685         * sysdeps/unix/sysv/linux/sparc64/sysdep.h: Likewise.
2686         * sysdeps/unix/sysv/linux/sparc64/ucontext.h: Likewise.
2687
2688 1997-06-28 16:28  H.J. Lu  <hjl@gnu.ai.mit.edu>
2689
2690         * configure.in: Add -nostartfiles -nostdlib when check for
2691         --version-script.
2692
2693 1997-06-28 12:03  H.J. Lu  <hjl@gnu.ai.mit.edu>
2694
2695         * sysdeps/powerpc/bits/endian.h: New file.
2696
2697 1997-06-28 20:52  Ulrich Drepper  <drepper@cygnus.com>
2698
2699         * sysdeps/unix/sysv/linux/syscalls.list: Add getresgid and
2700         setresgid.
2701
2702 1997-06-27 20:09  Ulrich Drepper  <drepper@cygnus.com>
2703
2704         * sysdeps/unix/sysv/linux/sys/quota.h: Add <asm/types.h>.
2705         Reported by a sun <asun@zoology.washington.edu>.
2706
2707         * libc.map: Add _rpc_dtablesize.  Reported by Thorsten Kukuk.
2708
2709         * db/makedb.c: Exit with error if number of option is incorrect.
2710
2711         * math/Makefile (tests): Add test-fenv.
2712         * math/test-fenv.c: New file.  Test for exception handling functions.
2713         Written mainly by Andreas Jaeger.
2714
2715         * sysdeps/i386/fpu/fraiseexcpt.c: Correct implementation.
2716
2717         * sysdeps/mach/hurd/abi-tag.h: Set tag to 1 for Hurd and kernel
2718         compatibility version to 0.  Reported by Roland McGrath.
2719
2720 1997-06-27 18:49  Philip Blundell  <Philip.Blundell@pobox.com>
2721
2722         * sysdeps/standalone/brk.c (__NONE_set_memvals): Correct typo.
2723         * sysdeps/standalone/arm/bits/errno.h: Add ENOTDIR.
2724         * sysdeps/stub/sys/param.h: Add definition of MAX and MIN.
2725
2726 1997-06-27 10:44  Fila Kolodny  <fila@ibi.com>
2727
2728         * sysdeps/mach/hurd/dl-sysdep.c: Make _dl_sysdep_read_whole_file weak.
2729
2730 1997-06-27 00:51  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2731
2732         * elf/dl-open.c (_dl_open): Check versions of all newly loaded
2733         objects, including dependencies.
2734
2735         * elf/dl-runtime.c (fixup): Always use version information if
2736         available.
2737
2738 1997-06-26 12:25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2739
2740         * sysdeps/m68k/bits/nan.h: Renamed from sysdeps/m68k/nan.h.
2741
2742 1997-06-26 11:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2743
2744         * posix/regex.c (DEBUG_POP): Assume parameter to be pointer to
2745         int, not pointer to fail_stack_elt_t.
2746         (PUSH_FAILURE_POINT): Fix all formats in debugging messages.  Fix
2747         type of this_reg.
2748         (POP_FAILURE_POINT): Likewise.  Fix type of failure_id.
2749         (re_match_2_internal): Pass NULL, not 0, to PUSH_FAILURE_POINT.
2750
2751 1997-06-27 02:17  Ulrich Drepper  <drepper@cygnus.com>
2752
2753         * sysdeps/unix/sysv/linux/syscalls.list: Add quotactl.
2754         Reported by a sun.
2755
2756 1997-06-26 21:50  Ulrich Drepper  <drepper@cygnus.com>
2757
2758         * math/math.h: Move definition of macros for unordered comparison
2759         after inclusion of <bits/mathinline.h>.
2760         * sysdeps/i386/fpu/bits/mathinline.h: Don't undef macros for
2761         unordered comparison before definition.
2762         * sysdeps/m68k/fpu/bits/mathinline.h: Likewise.
2763
2764         * Makerules: Move definition of load-map-file before use.
2765         (lib%.so): Depend on load-map-file, not lib%-map.
2766
2767         * manual/lgpl.texinfo: Update copyright.
2768
2769 1997-06-24 09:40  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
2770
2771         * sysdeps/m68k/fpu/bits/mathinline.h: Don't define __ilogb.
2772         * sysdeps/m68k/fpu/s_ilogb.c: Define it here.  Handle zero, NaN
2773         and infinity specially.
2774         * sysdeps/m68k/fpu/s_ilogbf.c, sysdeps/m68k/fpu/s_ilogbl.c:
2775         Adapted.
2776
2777         * sysdeps/m68k/fpu/bits/mathdef.h (FP_ILOGB0): Correct value.
2778
2779 1997-06-26 17:06  Ulrich Drepper  <drepper@cygnus.com>
2780
2781         * configure.in: Don't use .long in tests since some strange
2782         platforms without binutils don't know this.
2783         Redirect output of test commands correctly.
2784         Patch by Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>.
2785
2786         * hurd/hurdsig.c (_hurdsig_init): Call _hurd_self_sigstate.
2787         Patch by Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>.
2788
2789 1997-06-26 09:02  Fila Kolodny  <fila@ibi.com>
2790
2791         * sysdeps/mach/hurd/abi-tag.h: New file.
2792
2793         * sysdeps/mach/bits/libc-lock.h: Add typedef for __libc_key_t.
2794         * sysdeps/stub/bits/libc-lock.h: Likewise.
2795
2796         * sysdeps/mach/hurd/accept.c (accept): Fix type of parameter addrarg.
2797         Add variable addr containing the desired part of the union.
2798         * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise.
2799         * sysdeps/mach/hurd/getsockname.c (getsockname): Likewise.
2800         * sysdeps/mach/hurd/getpeername.c (getpeername): Likewise.
2801         * sysdeps/mach/hurd/connect.c (__connect): Likewise.
2802         * sysdeps/mach/hurd/bind.c (bind): Likewise.
2803
2804         * sysdeps/mach/hurd/select.c (__select): Change MACH_MSG_SIZE_INTEGER_T
2805         to sizeof(MACH_MSG_TYPE_INTEGER_T).
2806
2807         * io/ftw.c (ftw_startup): Use PATH_MAX only if defined.
2808
2809         * sysdeps/mach/hurd/open.c (__open): Fix type of parameter file.
2810
2811         * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): Add closefn to
2812         paramater list since it is used.
2813
2814         * sysdeps/mach/hurd/rename.c (rename): Fix type of paramater new.
2815
2816         * sysdeps/mach/hurd/sigaltstack.c (sigaltstack): Change parameter from
2817         ss to argss.
2818
2819 1997-06-24 14:02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2820
2821         * Rules: Update copyright.
2822         * mach/Machrules: Likewise.
2823
2824 1997-06-26 14:28  Ulrich Drepper  <drepper@cygnus.com>
2825
2826         * configure.in: Fix accidently removed AC_OUTPUT line.
2827         Reported by Andreas Jaeger.
2828
2829         * time/strftime.c: Don't define `memcpy' macro if HAVE_MEMCPY is
2830         defined.  Reported by Akim Demaille <demaille@inf.enst.fr>.
2831
2832         * sysdeps/generic/getdomain.c: Include handling for stub case.
2833         This eliminated the only case of a function in generic and stub.
2834         * sysdeps/stub/getdomain.c: Removed.
2835         Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
2836
2837 1997-06-23 22:20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
2838
2839         * sysdeps/alpha/_mcount.S: Update and reformat copyright,
2840         remove trailing white spaces and send through unexpand.
2841         * sysdeps/alpha/bb_init_func.S: Likewise.
2842         * sysdeps/alpha/bzero.S: Likewise.
2843         * sysdeps/alpha/ffs.S: Likewise.
2844         * sysdeps/alpha/memset.S: Likewise.
2845         * sysdeps/alpha/s_fabs.S: Likewise.
2846         * sysdeps/alpha/strcmp.S: Likewise.
2847         * sysdeps/alpha/strlen.S: Likewise.
2848         * sysdeps/alpha/strncmp.S: Likewise.
2849         * sysdeps/alpha/strncpy.S: Likewise.
2850         * sysdeps/alpha/strrchr.S: Likewise.
2851         * sysdeps/alpha/stxcpy.S: Likewise.
2852         * sysdeps/alpha/stxncpy.S: Likewise.
2853         * sysdeps/alpha/elf/start.S: Likewise.
2854         * sysdeps/i386/strchr.S: Likewise.
2855         * sysdeps/m68k/bsd-_setjmp.S: Likewise.
2856         * sysdeps/m68k/bsd-setjmp.S: Likewise.
2857         * sysdeps/m68k/elf/start.S: Likewise.
2858         * sysdeps/mach/alpha/syscall.S: Likewise.
2859         * sysdeps/mach/i386/syscall.S: Likewise.
2860         * sysdeps/mips/elf/start.S: Likewise.
2861         * sysdeps/sparc/alloca.S: Likewise.
2862         * sysdeps/standalone/i386/start.S: Likewise.
2863         * sysdeps/standalone/i386/force_cpu386/strtsupp.S: Likewise.
2864         * sysdeps/standalone/i960/start.S: Likewise.
2865         * sysdeps/standalone/m68k/m68020/start.S: Likewise.
2866         * sysdeps/unix/_exit.S: Likewise.
2867         * sysdeps/unix/fork.S: Likewise.
2868         * sysdeps/unix/getegid.S: Likewise.
2869         * sysdeps/unix/geteuid.S: Likewise.
2870         * sysdeps/unix/getppid.S: Likewise.
2871         * sysdeps/unix/syscall.S: Likewise.
2872         * sysdeps/unix/arm/brk.S: Likewise.
2873         * sysdeps/unix/arm/fork.S: Likewise.
2874         * sysdeps/unix/bsd/hp/m68k/brk.S: Likewise.
2875         * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
2876         * sysdeps/unix/bsd/hp/m68k/wait3.S: Likewise.
2877         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2878         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2879         * sysdeps/unix/bsd/m68k/pipe.S: Likewise.
2880         * sysdeps/unix/bsd/m68k/syscall.S: Likewise.
2881         * sysdeps/unix/bsd/m68k/sysdep.S: Likewise.
2882         * sysdeps/unix/bsd/m68k/wait.S: Likewise.
2883         * sysdeps/unix/bsd/osf/alpha/brk.S: Likewise.
2884         * sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
2885         * sysdeps/unix/bsd/osf/alpha/killpg.S: Likewise.
2886         * sysdeps/unix/bsd/osf/alpha/pipe.S: Likewise.
2887         * sysdeps/unix/bsd/osf/alpha/recv.S: Likewise.
2888         * sysdeps/unix/bsd/osf/alpha/send.S: Likewise.
2889         * sysdeps/unix/bsd/osf/alpha/sigblock.S: Likewise.
2890         * sysdeps/unix/bsd/osf/alpha/sigpause.S: Likewise.
2891         * sysdeps/unix/bsd/osf/alpha/sigsetmask.S: Likewise.
2892         * sysdeps/unix/bsd/osf/alpha/sigvec.S: Likewise.
2893         * sysdeps/unix/bsd/osf/alpha/start.S: Likewise.
2894         * sysdeps/unix/bsd/osf/alpha/vhangup.S: Likewise.
2895         * sysdeps/unix/bsd/sequent/i386/getgroups.S: Likewise.
2896         * sysdeps/unix/bsd/sequent/i386/sigvec.S: Likewise.
2897         * sysdeps/unix/bsd/sequent/i386/syscall.S: Likewise.
2898         * sysdeps/unix/bsd/sun/sigreturn.S: Likewise.
2899         * sysdeps/unix/bsd/sun/m68k/brk.S: Likewise.
2900         * sysdeps/unix/bsd/sun/m68k/sethostid.S: Likewise.
2901         * sysdeps/unix/bsd/sun/m68k/syscall.S: Likewise.
2902         * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
2903         * sysdeps/unix/bsd/sun/sparc/sethostid.S: Likewise.
2904         * sysdeps/unix/bsd/ultrix4/wait3.S: Likewise.
2905         * sysdeps/unix/bsd/ultrix4/mips/__handler.S: Likewise.
2906         * sysdeps/unix/bsd/ultrix4/mips/start.S: Likewise.
2907         * sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
2908         * sysdeps/unix/bsd/vax/brk.S: Likewise.
2909         * sysdeps/unix/bsd/vax/pipe.S: Likewise.
2910         * sysdeps/unix/bsd/vax/sysdep.S: Likewise.
2911         * sysdeps/unix/bsd/vax/vfork.S: Likewise.
2912         * sysdeps/unix/bsd/vax/wait.S: Likewise.
2913         * sysdeps/unix/bsd/vax/wait3.S: Likewise.
2914         * sysdeps/unix/i386/brk.S: Likewise.
2915         * sysdeps/unix/i386/fork.S: Likewise.
2916         * sysdeps/unix/i386/pipe.S: Likewise.
2917         * sysdeps/unix/i386/sigreturn.S: Likewise.
2918         * sysdeps/unix/i386/syscall.S: Likewise.
2919         * sysdeps/unix/i386/vfork.S: Likewise.
2920         * sysdeps/unix/i386/wait.S: Likewise.
2921         * sysdeps/unix/mips/brk.S: Likewise.
2922         * sysdeps/unix/mips/fork.S: Likewise.
2923         * sysdeps/unix/mips/pipe.S: Likewise.
2924         * sysdeps/unix/mips/sigreturn.S: Likewise.
2925         * sysdeps/unix/mips/sysdep.S: Likewise.
2926         * sysdeps/unix/mips/wait.S: Likewise.
2927         * sysdeps/unix/sparc/brk.S: Likewise.
2928         * sysdeps/unix/sparc/fork.S: Likewise.
2929         * sysdeps/unix/sparc/pipe.S: Likewise.
2930         * sysdeps/unix/sparc/sysdep.S: Likewise.
2931         * sysdeps/unix/sparc/vfork.S: Likewise.
2932         * sysdeps/unix/sysv/i386/signal.S: Likewise.
2933         * sysdeps/unix/sysv/i386/time.S: Likewise.
2934         * sysdeps/unix/sysv/irix4/__handler.S: Likewise.
2935         * sysdeps/unix/sysv/irix4/sigreturn.S: Likewise.
2936         * sysdeps/unix/sysv/irix4/uname.S: Likewise.
2937         * sysdeps/unix/sysv/irix4/wait.S: Likewise.
2938         * sysdeps/unix/sysv/linux/alpha/pipe.S: Likewise.
2939         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2940         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
2941         * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Likewise.
2942         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2943         * sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
2944         * sysdeps/unix/sysv/sco3.2.4/sigaction.S: Likewise.
2945         * sysdeps/unix/sysv/sco3.2.4/sysconf.S: Likewise.
2946         * sysdeps/unix/sysv/sco3.2.4/uname.S: Likewise.
2947         * sysdeps/unix/sysv/sco3.2.4/waitpid.S: Likewise.
2948         * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Likewise.
2949         * sysdeps/unix/sysv/sysv4/solaris2/fsync.S: Likewise.
2950         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.S: Likewise.
2951         * sysdeps/vax/bsd-_setjmp.S: Likewise.
2952         * sysdeps/vax/bsd-setjmp.S: Likewise.
2953
2954 1997-06-26 02:06  Ulrich Drepper  <drepper@cygnus.com>
2955
2956         * posix/Makefile (CFLAGS-regex.c): -DDEBUG was not meant for the
2957         public.
2958
2959         * Makerules ($(common-objpfx)libc.so): Use $(load-map-file) in
2960         dependency, not $(libc-map).
2961
2962         * sysdeps/posix/mk-stdiolim.c: Pretty print.
2963
2964 1997-06-25 15:54  Fila Kolodny  <fila@ibi.com>
2965
2966         * sysdeps/mach/hurd/bits/fcntl.h: Change include of gnu/types.h to
2967         include of bits/types.h.
2968
2969         * sysdeps/posix/Makefile ($(common-objpfx)bits/stdio_lim.h): Don't
2970         conditionalize this on whether we are cross-compiling.
2971
2972 1997-06-21 15:47  H.J. Lu  <hjl@gnu.ai.mit.edu>
2973
2974         * elf/dl-lookup.c (do_lookup): Use default definition
2975         for a default versioned symbol.
2976
2977         * elf/dl-version.c (_dl_check_map_versions): Set the hidden field.
2978
2979         * elf/dlvsym.c (__dlvsym): Set the hidden field to 1.
2980
2981         * elf/link.h (r_found_version): Add the hidden field.
2982
2983         * math/test-matherr.c: New file.
2984
2985         * math/Makefile (tests): Add test-matherr.
2986         (libm-support): Put back s_matherr.
2987         (static-only-routines, aux): Remove s_matherr.
2988
2989 1997-06-23 23:39  Ulrich Drepper  <drepper@cygnus.com>
2990
2991         * string/Makefile (headers): Change bytesex.h to bits/endian.h.
2992         * sysdeps/generic/Makefile: Don't try to generate bytesex.h, but
2993         bits/endian.h.
2994
2995         * math/libm-test.c (lgamma_test): Make sure the test of the ilogb
2996         function will not fail because of exceptions.
2997
2998         * math/math.h: Add warning about use of M_* constants.
2999         Pretty print.
3000
3001 1997-06-23 11:36  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
3002
3003         * hurd/path-lookup.c: Change GPL to LGPL, update and reformat
3004         copyright, remove trailing white spaces and send through unexpand.
3005         * inet/netinet/icmp6.h: Likewise.
3006         * inet/netinet/in.h: Likewise.
3007         * inet/netinet/ip6.h: Likewise.
3008         * locale/programs/xmalloc.c: Likewise.
3009         * locale/programs/xstrdup.c: Likewise.
3010         * sysdeps/generic/make_siglist.c: Likewise.
3011         * sysdeps/generic/morecore.c: Likewise.
3012         * sysdeps/generic/sbrk.c: Likewise.
3013         * sysdeps/generic/signame.c: Likewise.
3014         * sysdeps/generic/signame.h: Likewise.
3015         * sysdeps/generic/netinet/inbits.h: Likewise.
3016         * sysdeps/posix/getpagesize.c: Likewise.
3017         * sysdeps/unix/errnos-tmpl.c: Likewise.
3018         * sysdeps/unix/getpagesize.c: Likewise.
3019         * sysdeps/unix/make_errlist.c: Likewise.
3020         * sysdeps/unix/mkfifo.c: Likewise.
3021         * sysdeps/unix/nlist.c: Likewise.
3022         * sysdeps/unix/start.c: Likewise.
3023         * sysdeps/unix/sysv/linux/netinet/inbits.h: Likewise.
3024
3025         * munch-tmpl.c: Update and reformat copyright, remove trailing
3026         white spaces and send through unexpand.
3027         * libio/clearerr_u.c: Likewise.
3028         * libio/memstream.c: Likewise.
3029         * libio/putc_u.c: Likewise.
3030         * libio/putchar_u.c: Likewise.
3031         * stdio-common/scanf.c: Likewise.
3032         * stdlib/longlong.h: Likewise.
3033         * sysdeps/alpha/__longjmp.c: Likewise.
3034         * sysdeps/alpha/divrem.h: Likewise.
3035         * sysdeps/alpha/machine-gmon.h: Likewise.
3036         * sysdeps/alpha/setjmp_aux.c: Likewise.
3037         * sysdeps/alpha/bits/setjmp.h: Likewise.
3038         * sysdeps/arm/fpu_control.h: Likewise.
3039         * sysdeps/generic/_strerror.c: Likewise.
3040         * sysdeps/generic/det_endian.c: Likewise.
3041         * sysdeps/generic/fdatasync.c: Likewise.
3042         * sysdeps/generic/fpu_control.c: Likewise.
3043         * sysdeps/generic/ftime.c: Likewise.
3044         * sysdeps/generic/getdomain.c: Likewise.
3045         * sysdeps/generic/group_member.c: Likewise.
3046         * sysdeps/generic/ldiv.c: Likewise.
3047         * sysdeps/generic/lldiv.c: Likewise.
3048         * sysdeps/generic/lxstat.c: Likewise.
3049         * sysdeps/generic/memcmp.c: Likewise.
3050         * sysdeps/generic/memmem.c: Likewise.
3051         * sysdeps/generic/mig-reply.c: Likewise.
3052         * sysdeps/generic/pagecopy.h: Likewise.
3053         * sysdeps/generic/profil-counter.h: Likewise.
3054         * sysdeps/generic/pselect.c: Likewise.
3055         * sysdeps/generic/setfpucw.c: Likewise.
3056         * sysdeps/generic/stpcpy.c: Likewise.
3057         * sysdeps/generic/uname.c: Likewise.
3058         * sysdeps/generic/varargs.h: Likewise.
3059         * sysdeps/generic/vlimit.c: Likewise.
3060         * sysdeps/generic/bits/sigaction.h: Likewise.
3061         * sysdeps/generic/bits/ustat.h: Likewise.
3062         * sysdeps/generic/netinet/if_ether.h: Likewise.
3063         * sysdeps/generic/sys/swap.h: Likewise.
3064         * sysdeps/generic/sys/sysinfo.h: Likewise.
3065         * sysdeps/i386/init-first.c: Likewise.
3066         * sysdeps/i386/ldbl2mpn.c: Likewise.
3067         * sysdeps/i386/memcopy.h: Likewise.
3068         * sysdeps/i386/i586/memcopy.h: Likewise.
3069         * sysdeps/i860/memcopy.h: Likewise.
3070         * sysdeps/m68k/__longjmp.c: Likewise.
3071         * sysdeps/m68k/fpu_control.h: Likewise.
3072         * sysdeps/m68k/memcopy.h: Likewise.
3073         * sysdeps/m68k/s_isinfl.c: Likewise.
3074         * sysdeps/m68k/s_isnanl.c: Likewise.
3075         * sysdeps/m68k/setjmp.c: Likewise.
3076         * sysdeps/mach/_strerror.c: Likewise.
3077         * sysdeps/mach/getsysstats.c: Likewise.
3078         * sysdeps/mach/mprotect.c: Likewise.
3079         * sysdeps/mach/munmap.c: Likewise.
3080         * sysdeps/mach/pagecopy.h: Likewise.
3081         * sysdeps/mach/start.c: Likewise.
3082         * sysdeps/mach/sysdep.h: Likewise.
3083         * sysdeps/mach/alpha/machine-lock.h: Likewise.
3084         * sysdeps/mach/alpha/machine-sp.h: Likewise.
3085         * sysdeps/mach/alpha/sysdep.h: Likewise.
3086         * sysdeps/mach/alpha/thread_state.h: Likewise.
3087         * sysdeps/mach/hppa/machine-lock.h: Likewise.
3088         * sysdeps/mach/hurd/access.c: Likewise.
3089         * sysdeps/mach/hurd/closedir.c: Likewise.
3090         * sysdeps/mach/hurd/dirstream.h: Likewise.
3091         * sysdeps/mach/hurd/dl-cache.c: Likewise.
3092         * sysdeps/mach/hurd/euidaccess.c: Likewise.
3093         * sysdeps/mach/hurd/fdatasync.c: Likewise.
3094         * sysdeps/mach/hurd/fexecve.c: Likewise.
3095         * sysdeps/mach/hurd/fork.c: Likewise.
3096         * sysdeps/mach/hurd/fpathconf.c: Likewise.
3097         * sysdeps/mach/hurd/fstatfs.c: Likewise.
3098         * sysdeps/mach/hurd/fxstat.c: Likewise.
3099         * sysdeps/mach/hurd/getcwd.c: Likewise.
3100         * sysdeps/mach/hurd/getpriority.c: Likewise.
3101         * sysdeps/mach/hurd/getrlimit.c: Likewise.
3102         * sysdeps/mach/hurd/getsid.c: Likewise.
3103         * sysdeps/mach/hurd/group_member.c: Likewise.
3104         * sysdeps/mach/hurd/kill.c: Likewise.
3105         * sysdeps/mach/hurd/lchown.c: Likewise.
3106         * sysdeps/mach/hurd/lxstat.c: Likewise.
3107         * sysdeps/mach/hurd/mig-reply.c: Likewise.
3108         * sysdeps/mach/hurd/mmap.c: Likewise.
3109         * sysdeps/mach/hurd/opendir.c: Likewise.
3110         * sysdeps/mach/hurd/pathconf.c: Likewise.
3111         * sysdeps/mach/hurd/profil.c: Likewise.
3112         * sysdeps/mach/hurd/ptrace.c: Likewise.
3113         * sysdeps/mach/hurd/readdir.c: Likewise.
3114         * sysdeps/mach/hurd/readdir_r.c: Likewise.
3115         * sysdeps/mach/hurd/send.c: Likewise.
3116         * sysdeps/mach/hurd/sendto.c: Likewise.
3117         * sysdeps/mach/hurd/setpriority.c: Likewise.
3118         * sysdeps/mach/hurd/statfs.c: Likewise.
3119         * sysdeps/mach/hurd/ttyname.c: Likewise.
3120         * sysdeps/mach/hurd/uname.c: Likewise.
3121         * sysdeps/mach/hurd/xstat.c: Likewise.
3122         * sysdeps/mach/hurd/alpha/exc2signal.c: Likewise.
3123         * sysdeps/mach/hurd/alpha/longjmp-ts.c: Likewise.
3124         * sysdeps/mach/hurd/alpha/sigreturn.c: Likewise.
3125         * sysdeps/mach/hurd/alpha/trampoline.c: Likewise.
3126         * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
3127         * sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
3128         * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
3129         * sysdeps/mach/hurd/i386/exc2signal.c: Likewise.
3130         * sysdeps/mach/hurd/i386/intr-msg.h: Likewise.
3131         * sysdeps/mach/hurd/i386/longjmp-ts.c: Likewise.
3132         * sysdeps/mach/hurd/i386/sigreturn.c: Likewise.
3133         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3134         * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
3135         * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
3136         * sysdeps/mach/hurd/sys/param.h: Likewise.
3137         * sysdeps/mach/i386/machine-lock.h: Likewise.
3138         * sysdeps/mach/i386/machine-sp.h: Likewise.
3139         * sysdeps/mach/i386/sysdep.h: Likewise.
3140         * sysdeps/mach/i386/thread_state.h: Likewise.
3141         * sysdeps/posix/dup2.c: Likewise.
3142         * sysdeps/posix/flock.c: Likewise.
3143         * sysdeps/posix/getdtsz.c: Likewise.
3144         * sysdeps/posix/gettimeofday.c: Likewise.
3145         * sysdeps/posix/isatty.c: Likewise.
3146         * sysdeps/posix/killpg.c: Likewise.
3147         * sysdeps/posix/mk-stdiolim.c: Likewise.
3148         * sysdeps/posix/profil.c: Likewise.
3149         * sysdeps/posix/remove.c: Likewise.
3150         * sysdeps/posix/rename.c: Likewise.
3151         * sysdeps/posix/sigsuspend.c: Likewise.
3152         * sysdeps/posix/tempname.c: Likewise.
3153         * sysdeps/posix/truncate.c: Likewise.
3154         * sysdeps/posix/utimes.c: Likewise.
3155         * sysdeps/posix/wait.c: Likewise.
3156         * sysdeps/posix/wait3.c: Likewise.
3157         * sysdeps/rs6000/memcopy.h: Likewise.
3158         * sysdeps/sparc/memcopy.h: Likewise.
3159         * sysdeps/standalone/close.c: Likewise.
3160         * sysdeps/standalone/dirstream.h: Likewise.
3161         * sysdeps/standalone/filedesc.h: Likewise.
3162         * sysdeps/standalone/open.c: Likewise.
3163         * sysdeps/standalone/read.c: Likewise.
3164         * sysdeps/standalone/standalone.h: Likewise.
3165         * sysdeps/standalone/write.c: Likewise.
3166         * sysdeps/standalone/bits/stdio_lim.h: Likewise.
3167         * sysdeps/standalone/i386/i386.h: Likewise.
3168         * sysdeps/standalone/m68k/m68020/m68020.h: Likewise.
3169         * sysdeps/stub/__longjmp.c: Likewise.
3170         * sysdeps/stub/accept.c: Likewise.
3171         * sysdeps/stub/access.c: Likewise.
3172         * sysdeps/stub/acct.c: Likewise.
3173         * sysdeps/stub/adjtime.c: Likewise.
3174         * sysdeps/stub/alarm.c: Likewise.
3175         * sysdeps/stub/bind.c: Likewise.
3176         * sysdeps/stub/brk.c: Likewise.
3177         * sysdeps/stub/bsd-_setjmp.c: Likewise.
3178         * sysdeps/stub/bsd-setjmp.c: Likewise.
3179         * sysdeps/stub/chdir.c: Likewise.
3180         * sysdeps/stub/chflags.c: Likewise.
3181         * sysdeps/stub/chmod.c: Likewise.
3182         * sysdeps/stub/chown.c: Likewise.
3183         * sysdeps/stub/chroot.c: Likewise.
3184         * sysdeps/stub/clock.c: Likewise.
3185         * sysdeps/stub/close.c: Likewise.
3186         * sysdeps/stub/closedir.c: Likewise.
3187         * sysdeps/stub/connect.c: Likewise.
3188         * sysdeps/stub/ctermid.c: Likewise.
3189         * sysdeps/stub/cuserid.c: Likewise.
3190         * sysdeps/stub/dbl2mpn.c: Likewise.
3191         * sysdeps/stub/dirstream.h: Likewise.
3192         * sysdeps/stub/dup.c: Likewise.
3193         * sysdeps/stub/dup2.c: Likewise.
3194         * sysdeps/stub/exc2signal.c: Likewise.
3195         * sysdeps/stub/execve.c: Likewise.
3196         * sysdeps/stub/fchflags.c: Likewise.
3197         * sysdeps/stub/fchown.c: Likewise.
3198         * sysdeps/stub/fcntl.c: Likewise.
3199         * sysdeps/stub/fdopen.c: Likewise.
3200         * sysdeps/stub/fexecve.c: Likewise.
3201         * sysdeps/stub/flock.c: Likewise.
3202         * sysdeps/stub/fork.c: Likewise.
3203         * sysdeps/stub/fpathconf.c: Likewise.
3204         * sysdeps/stub/fpu_control.h: Likewise.
3205         * sysdeps/stub/fstatfs.c: Likewise.
3206         * sysdeps/stub/fsync.c: Likewise.
3207         * sysdeps/stub/ftruncate.c: Likewise.
3208         * sysdeps/stub/fxstat.c: Likewise.
3209         * sysdeps/stub/getcwd.c: Likewise.
3210         * sysdeps/stub/getdomain.c: Likewise.
3211         * sysdeps/stub/getdtsz.c: Likewise.
3212         * sysdeps/stub/getegid.c: Likewise.
3213         * sysdeps/stub/geteuid.c: Likewise.
3214         * sysdeps/stub/getgid.c: Likewise.
3215         * sysdeps/stub/getgroups.c: Likewise.
3216         * sysdeps/stub/gethostid.c: Likewise.
3217         * sysdeps/stub/gethostname.c: Likewise.
3218         * sysdeps/stub/getitimer.c: Likewise.
3219         * sysdeps/stub/getpeername.c: Likewise.
3220         * sysdeps/stub/getpgid.c: Likewise.
3221         * sysdeps/stub/getpid.c: Likewise.
3222         * sysdeps/stub/getppid.c: Likewise.
3223         * sysdeps/stub/getpriority.c: Likewise.
3224         * sysdeps/stub/getrlimit.c: Likewise.
3225         * sysdeps/stub/getrusage.c: Likewise.
3226         * sysdeps/stub/getsid.c: Likewise.
3227         * sysdeps/stub/getsockname.c: Likewise.
3228         * sysdeps/stub/getsockopt.c: Likewise.
3229         * sysdeps/stub/getsysstats.c: Likewise.
3230         * sysdeps/stub/gettimeofday.c: Likewise.
3231         * sysdeps/stub/getuid.c: Likewise.
3232         * sysdeps/stub/gtty.c: Likewise.
3233         * sysdeps/stub/if_index.c: Likewise.
3234         * sysdeps/stub/init-posix.c: Likewise.
3235         * sysdeps/stub/ioctl.c: Likewise.
3236         * sysdeps/stub/isatty.c: Likewise.
3237         * sysdeps/stub/isfdtype.c: Likewise.
3238         * sysdeps/stub/jmp-unwind.c: Likewise.
3239         * sysdeps/stub/kill.c: Likewise.
3240         * sysdeps/stub/killpg.c: Likewise.
3241         * sysdeps/stub/ldbl2mpn.c: Likewise.
3242         * sysdeps/stub/link.c: Likewise.
3243         * sysdeps/stub/listen.c: Likewise.
3244         * sysdeps/stub/lockfile.c: Likewise.
3245         * sysdeps/stub/longjmp-ts.c: Likewise.
3246         * sysdeps/stub/lseek.c: Likewise.
3247         * sysdeps/stub/lxstat.c: Likewise.
3248         * sysdeps/stub/machine-lock.h: Likewise.
3249         * sysdeps/stub/machine-sp.h: Likewise.
3250         * sysdeps/stub/madvise.c: Likewise.
3251         * sysdeps/stub/mkdir.c: Likewise.
3252         * sysdeps/stub/mkfifo.c: Likewise.
3253         * sysdeps/stub/mmap.c: Likewise.
3254         * sysdeps/stub/morecore.c: Likewise.
3255         * sysdeps/stub/mpn2dbl.c: Likewise.
3256         * sysdeps/stub/mpn2flt.c: Likewise.
3257         * sysdeps/stub/mpn2ldbl.c: Likewise.
3258         * sysdeps/stub/mprotect.c: Likewise.
3259         * sysdeps/stub/msgctl.c: Likewise.
3260         * sysdeps/stub/msgget.c: Likewise.
3261         * sysdeps/stub/msgrcv.c: Likewise.
3262         * sysdeps/stub/msgsnd.c: Likewise.
3263         * sysdeps/stub/munmap.c: Likewise.
3264         * sysdeps/stub/nanosleep.c: Likewise.
3265         * sysdeps/stub/nice.c: Likewise.
3266         * sysdeps/stub/nlist.c: Likewise.
3267         * sysdeps/stub/open.c: Likewise.
3268         * sysdeps/stub/opendir.c: Likewise.
3269         * sysdeps/stub/pathconf.c: Likewise.
3270         * sysdeps/stub/pause.c: Likewise.
3271         * sysdeps/stub/pipestream.c: Likewise.
3272         * sysdeps/stub/poll.c: Likewise.
3273         * sysdeps/stub/profil.c: Likewise.
3274         * sysdeps/stub/ptrace.c: Likewise.
3275         * sysdeps/stub/putenv.c: Likewise.
3276         * sysdeps/stub/read.c: Likewise.
3277         * sysdeps/stub/readdir.c: Likewise.
3278         * sysdeps/stub/readdir_r.c: Likewise.
3279         * sysdeps/stub/readlink.c: Likewise.
3280         * sysdeps/stub/reboot.c: Likewise.
3281         * sysdeps/stub/recv.c: Likewise.
3282         * sysdeps/stub/recvfrom.c: Likewise.
3283         * sysdeps/stub/recvmsg.c: Likewise.
3284         * sysdeps/stub/remove.c: Likewise.
3285         * sysdeps/stub/rename.c: Likewise.
3286         * sysdeps/stub/revoke.c: Likewise.
3287         * sysdeps/stub/rewinddir.c: Likewise.
3288         * sysdeps/stub/rmdir.c: Likewise.
3289         * sysdeps/stub/sbrk.c: Likewise.
3290         * sysdeps/stub/sched_getp.c: Likewise.
3291         * sysdeps/stub/sched_gets.c: Likewise.
3292         * sysdeps/stub/sched_primax.c: Likewise.
3293         * sysdeps/stub/sched_primin.c: Likewise.
3294         * sysdeps/stub/sched_rr_gi.c: Likewise.
3295         * sysdeps/stub/sched_setp.c: Likewise.
3296         * sysdeps/stub/sched_sets.c: Likewise.
3297         * sysdeps/stub/sched_yield.c: Likewise.
3298         * sysdeps/stub/seekdir.c: Likewise.
3299         * sysdeps/stub/select.c: Likewise.
3300         * sysdeps/stub/semctl.c: Likewise.
3301         * sysdeps/stub/semget.c: Likewise.
3302         * sysdeps/stub/semop.c: Likewise.
3303         * sysdeps/stub/send.c: Likewise.
3304         * sysdeps/stub/sendmsg.c: Likewise.
3305         * sysdeps/stub/sendto.c: Likewise.
3306         * sysdeps/stub/setdomain.c: Likewise.
3307         * sysdeps/stub/setegid.c: Likewise.
3308         * sysdeps/stub/setenv.c: Likewise.
3309         * sysdeps/stub/seteuid.c: Likewise.
3310         * sysdeps/stub/setgid.c: Likewise.
3311         * sysdeps/stub/setgroups.c: Likewise.
3312         * sysdeps/stub/sethostid.c: Likewise.
3313         * sysdeps/stub/sethostname.c: Likewise.
3314         * sysdeps/stub/setjmp.c: Likewise.
3315         * sysdeps/stub/setlogin.c: Likewise.
3316         * sysdeps/stub/setpgid.c: Likewise.
3317         * sysdeps/stub/setpriority.c: Likewise.
3318         * sysdeps/stub/setregid.c: Likewise.
3319         * sysdeps/stub/setreuid.c: Likewise.
3320         * sysdeps/stub/setrlimit.c: Likewise.
3321         * sysdeps/stub/setsid.c: Likewise.
3322         * sysdeps/stub/setsockopt.c: Likewise.
3323         * sysdeps/stub/settimeofday.c: Likewise.
3324         * sysdeps/stub/setuid.c: Likewise.
3325         * sysdeps/stub/shmctl.c: Likewise.
3326         * sysdeps/stub/shmget.c: Likewise.
3327         * sysdeps/stub/shutdown.c: Likewise.
3328         * sysdeps/stub/sigaction.c: Likewise.
3329         * sysdeps/stub/sigaltstack.c: Likewise.
3330         * sysdeps/stub/sigblock.c: Likewise.
3331         * sysdeps/stub/sigintr.c: Likewise.
3332         * sysdeps/stub/sigpending.c: Likewise.
3333         * sysdeps/stub/sigprocmask.c: Likewise.
3334         * sysdeps/stub/sigreturn.c: Likewise.
3335         * sysdeps/stub/sigsetmask.c: Likewise.
3336         * sysdeps/stub/sigstack.c: Likewise.
3337         * sysdeps/stub/sigsuspend.c: Likewise.
3338         * sysdeps/stub/sigvec.c: Likewise.
3339         * sysdeps/stub/socket.c: Likewise.
3340         * sysdeps/stub/socketpair.c: Likewise.
3341         * sysdeps/stub/sstk.c: Likewise.
3342         * sysdeps/stub/statfs.c: Likewise.
3343         * sysdeps/stub/stdio_init.c: Likewise.
3344         * sysdeps/stub/stime.c: Likewise.
3345         * sysdeps/stub/stty.c: Likewise.
3346         * sysdeps/stub/swapoff.c: Likewise.
3347         * sysdeps/stub/swapon.c: Likewise.
3348         * sysdeps/stub/symlink.c: Likewise.
3349         * sysdeps/stub/sync.c: Likewise.
3350         * sysdeps/stub/syscall.c: Likewise.
3351         * sysdeps/stub/sysd-stdio.c: Likewise.
3352         * sysdeps/stub/system.c: Likewise.
3353         * sysdeps/stub/tcdrain.c: Likewise.
3354         * sysdeps/stub/tcflow.c: Likewise.
3355         * sysdeps/stub/tcflush.c: Likewise.
3356         * sysdeps/stub/tcgetattr.c: Likewise.
3357         * sysdeps/stub/tcgetpgrp.c: Likewise.
3358         * sysdeps/stub/tcsendbrk.c: Likewise.
3359         * sysdeps/stub/tcsetpgrp.c: Likewise.
3360         * sysdeps/stub/telldir.c: Likewise.
3361         * sysdeps/stub/thread_state.h: Likewise.
3362         * sysdeps/stub/time.c: Likewise.
3363         * sysdeps/stub/times.c: Likewise.
3364         * sysdeps/stub/trampoline.c: Likewise.
3365         * sysdeps/stub/truncate.c: Likewise.
3366         * sysdeps/stub/ttyname.c: Likewise.
3367         * sysdeps/stub/ttyname_r.c: Likewise.
3368         * sysdeps/stub/ualarm.c: Likewise.
3369         * sysdeps/stub/ulimit.c: Likewise.
3370         * sysdeps/stub/umask.c: Likewise.
3371         * sysdeps/stub/unlink.c: Likewise.
3372         * sysdeps/stub/usleep.c: Likewise.
3373         * sysdeps/stub/ustat.c: Likewise.
3374         * sysdeps/stub/utime.c: Likewise.
3375         * sysdeps/stub/utimes.c: Likewise.
3376         * sysdeps/stub/vdprintf.c: Likewise.
3377         * sysdeps/stub/vhangup.c: Likewise.
3378         * sysdeps/stub/wait.c: Likewise.
3379         * sysdeps/stub/wait3.c: Likewise.
3380         * sysdeps/stub/wait4.c: Likewise.
3381         * sysdeps/stub/waitpid.c: Likewise.
3382         * sysdeps/stub/write.c: Likewise.
3383         * sysdeps/stub/xmknod.c: Likewise.
3384         * sysdeps/stub/xstat.c: Likewise.
3385         * sysdeps/stub/bits/errno.h: Likewise.
3386         * sysdeps/stub/bits/sigcontext.h: Likewise.
3387         * sysdeps/unix/fxstat.c: Likewise.
3388         * sysdeps/unix/mk-local_lim.c: Likewise.
3389         * sysdeps/unix/mkdir.c: Likewise.
3390         * sysdeps/unix/nice.c: Likewise.
3391         * sysdeps/unix/rmdir.c: Likewise.
3392         * sysdeps/unix/stime.c: Likewise.
3393         * sysdeps/unix/telldir.c: Likewise.
3394         * sysdeps/unix/xstat.c: Likewise.
3395         * sysdeps/unix/arm/sysdep.h: Likewise.
3396         * sysdeps/unix/bsd/ftime.c: Likewise.
3397         * sysdeps/unix/bsd/isatty.c: Likewise.
3398         * sysdeps/unix/bsd/setegid.c: Likewise.
3399         * sysdeps/unix/bsd/seteuid.c: Likewise.
3400         * sysdeps/unix/bsd/setsid.c: Likewise.
3401         * sysdeps/unix/bsd/sigaction.c: Likewise.
3402         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3403         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3404         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3405         * sysdeps/unix/bsd/times.c: Likewise.
3406         * sysdeps/unix/bsd/ulimit.c: Likewise.
3407         * sysdeps/unix/bsd/bits/dirent.h: Likewise.
3408         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Likewise.
3409         * sysdeps/unix/bsd/bsd4.4/wait.c: Likewise.
3410         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Likewise.
3411         * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
3412         * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
3413         * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
3414         * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
3415         * sysdeps/unix/bsd/sun/m68k/sigtramp.c: Likewise.
3416         * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
3417         * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
3418         * sysdeps/unix/bsd/sun/sparc/sigtramp.c: Likewise.
3419         * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
3420         * sysdeps/unix/bsd/sun/sunos4/mmap.c: Likewise.
3421         * sysdeps/unix/bsd/sun/sunos4/speed.c: Likewise.
3422         * sysdeps/unix/bsd/ultrix4/sysconf.c: Likewise.
3423         * sysdeps/unix/bsd/ultrix4/bits/posix_opt.h: Likewise.
3424         * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
3425         * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
3426         * sysdeps/unix/common/lxstat.c: Likewise.
3427         * sysdeps/unix/common/tcsendbrk.c: Likewise.
3428         * sysdeps/unix/common/bits/dirent.h: Likewise.
3429         * sysdeps/unix/i386/sysdep.h: Likewise.
3430         * sysdeps/unix/mips/sysdep.h: Likewise.
3431         * sysdeps/unix/sysv/setrlimit.c: Likewise.
3432         * sysdeps/unix/sysv/settimeofday.c: Likewise.
3433         * sysdeps/unix/sysv/sigaction.c: Likewise.
3434         * sysdeps/unix/sysv/sysv_termio.h: Likewise.
3435         * sysdeps/unix/sysv/tcdrain.c: Likewise.
3436         * sysdeps/unix/sysv/tcflow.c: Likewise.
3437         * sysdeps/unix/sysv/tcflush.c: Likewise.
3438         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3439         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3440         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3441         * sysdeps/unix/sysv/bits/dirent.h: Likewise.
3442         * sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
3443         * sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
3444         * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
3445         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3446         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3447         * sysdeps/unix/sysv/linux/gethostname.c: Likewise.
3448         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3449         * sysdeps/unix/sysv/linux/ptrace.c: Likewise.
3450         * sysdeps/unix/sysv/linux/reboot.c: Likewise.
3451         * sysdeps/unix/sysv/linux/speed.c: Likewise.
3452         * sysdeps/unix/sysv/linux/sysctl.c: Likewise.
3453         * sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
3454         * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
3455         * sysdeps/unix/sysv/linux/waitpid.c: Likewise.
3456         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
3457         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
3458         * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Likewise.
3459         * sysdeps/unix/sysv/linux/i386/profil-counter.h: Likewise.
3460         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3461         * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
3462         * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
3463         * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
3464         * sysdeps/unix/sysv/sysv4/sigaction.c: Likewise.
3465         * sysdeps/unix/sysv/sysv4/siginfo.h: Likewise.
3466         * sysdeps/unix/sysv/sysv4/sysconf.c: Likewise.
3467         * sysdeps/unix/sysv/sysv4/sysconfig.h: Likewise.
3468         * sysdeps/unix/sysv/sysv4/waitpid.c: Likewise.
3469         * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
3470         * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Likewise.
3471         * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
3472         * sysdeps/vax/fl.h: Likewise.
3473         * sysdeps/vax/setjmp.c: Likewise.
3474
3475 1997-06-21 16:58  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3476
3477         * stdlib/strtod.c (INTERNAL (STRTOF)): Fix recognition of Infinity
3478         and NaN strings.
3479
3480 1997-06-20 21:52  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3481
3482         * sysdeps/m68k/fpu/bits/mathinline.h (__scalbn): Fix type of second
3483         argument.
3484         (__ilogb): Remove special case for zero, add stupid special case
3485         for NaN.
3486         (__ieee754_scalb): Remove definition.
3487         * sysdeps/m68k/fpu/mathbits.h (FP_ILOGB0, FP_ILOGBNAN): Define.
3488         * sysdeps/m68k/fpu/s_scalbn.c: Fix type of second argument.
3489
3490         * sysdeps/m68k/fpu/e_scalb.c: Rewritten.
3491         * sysdeps/m68k/fpu/e_scalbf.c: Adapted.
3492         * sysdeps/m68k/fpu/e_scalbl.c: Adapted.
3493
3494         * sysdeps/libm-ieee754/e_scalb.c: Raise no exceptions when
3495         returning NaN.  Handle zero specially.
3496         * sysdeps/libm-ieee754/e_scalbf.c: Likewise.
3497         * sysdeps/libm-ieee754/e_scalbl.c: Likewise.
3498
3499         * math/libm-test.c (ilogb_test): Don't require exceptions for zero
3500         and NaN.
3501         (gamma_test): Use different argument when checking whether
3502         function is implemented.
3503         (scalb_test): Remove duplicate tests.
3504
3505 1997-06-03 15:59  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3506
3507         * Makerules (+depfiles): Add dependencies for $(test-srcs).
3508         (distinfo-vars): Add test-srcs.
3509