OSDN Git Service

2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains4x.git] / newlib / ChangeLog
1 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
2
3         * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
4         * libc/sys/linux/Makefile.in: Regenerated.
5         * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
6         * libc/sys/linux/io.c: Add ftruncate syscall.
7         * libc/sys/linux/fpathconf.c: New file.
8         * libc/sys/linux/pathconf.c: Ditto.
9         * libc/sys/linux/linux_fsinfo.h: Ditto.
10         * libc/sys/linux/sys/unistd.h: Ditto.
11
12 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
13
14         * libc/stdio64/Makefile.am: Remove missing files.
15         * libc/stdio64/Makefile.in: Regenerated.
16
17 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
18
19         * libc/include/sys/config.h[__i386__][__linux__]: Define
20         _LARGE64FILE_SOURCE to 1.
21         * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
22         * libc/sys/linux/Makefile.in: Regenerated.
23         * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
24         * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
25         * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
26         of <linux/resource.h>.
27         * libc/sys/linux/getrlimit64.c: New file.
28         * libc/sys/linux/setrlimit64.c: Ditto.
29
30 2002-07-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
31
32         * libc/argz/argz_replace.c: Include buf_findstr.h.
33         * libc/argz/buf_findstr.c: Likewise.
34         * libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
35         value to (char *).
36         * libc/argz/envz_get.c: Likewise.
37         * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
38         * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
39         * libc/stdlib/getsubopt.3: New file.
40         * libc/stdlib/getsubopt.c: New file.
41         * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
42         Change esp to ebp.
43
44 2002-07-17  Jeff Johnston  <jjohnstn@redhat.com>
45
46         * configure.host(stdio64_dir): New setting that is used to
47         enable building of new stdio64 directory.
48         * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
49         large files.
50         (stmp-stdio64,stdio64.texi): New targets to optionally add in
51         stdio64 info to info files.
52         * libc/Makefile.in: Regenerated.
53         * libc/configure: Ditto.
54         * libc/configure.in: Add configuration variables that are set
55         when stdio64 is selected as subdir in configure.host.
56         * libc/libc.texinfo: Add optional menu item for Stdio64, based
57         on whether STDIO64 flag is set or not.
58         * libc/sys.tex: Add optional stdio64 syscalls based on whether
59         STDIO64 flag is set or not.
60         * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
61         _r sycall routines.
62         * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
63         (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
64         (__SL64): New file flag indicating file is opened via fopen64.
65         * libc/include/sys/_types.h(_off64_t): Added.
66         * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
67         * libc/include/sys/reent.h(struct __sFILE64): New file structure
68         for 64-bit offset large file support.
69         (__FILE): New intermediate type either set to struct __sFILE64 or
70         struct __sFILE, depending on whether __LARGE64_FILES is set or not.
71         * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
72         * libc/reent/Makefile.in: Regenerated.
73         * libc/reent/fstat64r.c: New file.
74         * libc/reent/lseek64r.c: Ditto.
75         * libc/reent/open64r.c: Ditto.
76         * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
77         based on whether STDIO64 flag is set. 
78         * libc/stdio/stdio.tex: Add blank line.
79         * libc/stdio64/Makefile.am: New file.
80         * libc/stdio64/Makefile.in: Ditto.
81         * libc/stdio64/fgetpos64.c: Ditto.
82         * libc/stdio64/fopen64.: Ditto.
83         * libc/stdio64/freopen64.c: Ditto.
84         * libc/stdio64/fseeko64.c: Ditto.
85         * libc/stdio64/fsetpos64.c: Ditto.
86         * libc/stdio64/ftello64.c: Ditto.
87         * libc/stdio64/local64.h: Ditto.
88         * libc/stdio64/stdio64.c: Ditto.
89         * libc/stdio64/stdio64.tex: Ditto.
90         * libc/stdio64/tmpfile64.c: Ditto.
91         * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
92         open64.
93
94 2002-07-16  Jeff Johnston  <jjohnstn@redhat.com>
95
96         * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
97         if LIBC_EXTRA_LIB is present.
98         * libc/Makefile.in: Regenerated.
99         * libc/libc.texinfo: Add blank line.
100         * libc/argz/Makefile.am: Add doc support.
101         * libc/search/Makefile.am: Ditto.
102         * libc/argz/Makefile.in: Regenerated.
103         * libc/search/Makefile.in: Ditto.
104         * libc/misc/misc.tex: Add ffs function.
105         * libc/stdio/ftell.c: Fix missing doc delimeter in description.
106
107 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
108
109         * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
110         definition that was removed in error.
111
112 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
113
114         * libc/include/machine/ieeefp.h: Change to only define
115         floating point defines (e.g one of __IEEE_BIG_ENDIAN or 
116         __IEEE_LITTLE_ENDIAN must be defined for each platform).
117         * libc/include/sys/config.h: Include <machine/ieeefp.h> and
118         remove redundant floating point definitions.
119
120 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
121
122         * libc/sys/linux/callocr.c: Fix so code references
123         calloc.
124
125 2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>
126
127         * libc/sys/linux/Makefile.am: Add new files.
128         * libc/sys/linux/Makefile.in: Regenerated.
129         * libc/sys/linux/bp-sym.h: Moved to include directory.
130         * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
131         * libc/sys/linux/inode.c: Set _LIBC to 1.
132         * libc/sys/linux/mq_close.c: Ditto.
133         * libc/sys/linux/mq_getattr.c: Ditto.
134         * libc/sys/linux/mq_open.c: Ditto.
135         * libc/sys/linux/mq_receive.c: Ditto.
136         * libc/sys/linux/mq_send.c: Ditto.
137         * libc/sys/linux/mq_setattr.c: Ditto.
138         * libc/sys/linux/mq_unlink.c: Ditto.
139         * libc/sys/linux/calloc.c: New file.
140         * libc/sys/linux/callocr.c: Ditto.
141         * libc/sys/linux/cfreer.c: Ditto.
142         * libc/sys/linux/config.h: Ditto.
143         * libc/sys/linux/free.c: Ditto.
144         * libc/sys/linux/freer.c: Ditto.
145         * libc/sys/linux/msize.c: Ditto.
146         * libc/sys/linux/msizer.c: Ditto.
147         * libc/sys/linux/mstats.c: Ditto.
148         * libc/sys/linux/mtrim.c: Ditto.
149         * libc/sys/linux/mtrimr.c: Ditto.
150         * libc/sys/linux/pvallocr.c: Ditto.
151         * libc/sys/linux/realloc.c: Ditto.
152         * libc/sys/linux/reallocr.c: Ditto.
153         * libc/sys/linux/thread-m.h: Ditto.
154         * libc/sys/linux/vallocr.c: Ditto.
155         * libc/sys/linux/bp-checks.h: Ditto.
156         * libc/sys/linux/libc-symbols.h: Ditto.
157         * libc/sys/linux/libc-tsd.h: Ditto.
158         * libc/sys/linux/libintl.h: Ditto.
159         * libc/sys/linux/malign.c: Ditto.
160         * libc/sys/linux/malignr.c: Ditto.
161         * libc/sys/linux/mallinfor.c: Ditto.
162         * libc/sys/linux/malloc.c: Ditto.
163         * libc/sys/linux/mallocr.c: Ditto.
164         * libc/sys/linux/malloptr.c: Ditto.
165         * libc/sys/linux/mallstatsr.c: Ditto.
166         * libc/sys/linux/mcheck.c: Ditto.
167         * libc/sys/linux/mhooks.h: Ditto.
168         * libc/sys/linux/include/bp-sym.h: Ditto.
169         * libc/sys/linux/include/malloc.h: Ditto.
170         * libc/sys/linux/include/mcheck.h: Ditto.
171         * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
172         getpagesize.c.
173         * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
174         * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
175         * libc/sys/linux/machine/i386/getpagesize.c: New file.
176         * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
177         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
178         * libc/sys/linux/machine/i386/sysdep.h: New file.
179         * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
180         * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
181         * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
182
183 2002-07-12  Jeff Johnston  <jjohnstn@redhat.com>
184
185         * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
186         instead of <asm/siginfo.h>.
187         * libc/sys/linux/sys/signal.h: Change to include various linux
188         <bits/xxx.h> header files, rather than <linux/signal.h> so as
189         to work with multiple releases of glibc header files.
190
191 2002-07-11  Chris Demetriou  <cgd@broadcom.com>
192
193         * testsuite/newlib.search/hsearchtest.c: New file to test
194         newlib/libc/search.
195         * testsuite/newlib.search/hsearchtest.exp: Likewise.
196
197 2002-07-10  Florian Schrack  <florian.schrack@freenet.de>
198
199         * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
200         a terminal.
201         * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
202
203 2002-07-08  Jeff Johnston  <jjohnstn@redhat.com>
204
205         * libc/include/math.h (MAXFLOAT): Added.
206
207 Mon Jul  8 13:55:23 2002  J"orn Rennecke <joern.rennecke@superh.com>
208
209         * libc/machine/sh/Makefile.am (lib_a_SOURCES):
210         Make strcmp.S unconditional.
211         * libc/machine/sh/Makefile.in: Regenerate.
212         * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
213         * strcmp.S (strcmp): Add SHmedia variant.  Use different registers
214         for SHcompact.
215
216 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
217
218         * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
219         define before including <sys/lock.h>.
220
221 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
222
223         * libc/include/utime.h: Add include of <_ansi.h>.
224         * libc/sys/linux/Makefile.am: Add utimes.c.
225         * libc/sys/linux/Makefile.in: Regenerated.
226         * libc/sys/linux/inode.c(__umask): New static routine.
227         (umask): Written to use __umask and attempt to thread lock.
228         (getumask): New function written to use __umask and thread lock.
229         * libc/sys/linux/utimes.c: New file.
230         * libc/sys/linux/sys/time.h: Fix utimes prototype.
231         * libc/sys/linux/sys/utime.h: New file.
232
233 2002-07-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
234
235         * libtool.m4: New file.
236         * libc/sys/linux/process.c: Implement vfork in terms of fork,
237         rather than as a syscall.
238
239 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
240
241         * libc/include/stdio.h: Add new prototypes.
242         * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
243         * libc/stdio/Makefile.in: Regenerated.
244         * libc/stdio/fseek.c: Add fseeko documentation.
245         * libc/stdio/ftell.c: Add ftello documentation.
246         * libc/stdio/fseeko.c: New file.
247         * libc/stdio/ftello.c: New file.
248
249 2002-07-04  Jeff Johnston  <jjohnstn@redhat.com>
250
251         * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
252         * libc/stdio/Makefile.in: Regenerated.
253         * libc/stdio/asprintf.c: New file.
254         * libc/stdio/vasprintf.c: Ditto.
255         * libc/stdio/fvwrite.c: Add code to dynamically reallocate
256         the buffer for asprintf support.
257         * libc/stdio/sprintf.c: Add asprintf documentation.
258         * libc/stdio/vfprintf.c: Add vasprintf documentation.
259         * libc/include/stdio.h: Add new prototypes.
260
261 2002-07-02  Thomas Fitzsimmons  <fitzsim@redhat.com>
262
263         * libc/search/hcreate.c: Remove advertising clause from license.
264         * libc/search/hcreate_r.c: Likewise.
265
266 2002-07-02  Chris Demetriou  <cgd@broadcom.com>
267
268         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
269         (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
270         Check that one of them is defined and error out if not.
271         Add any platforms defined in <machine/ieeefp.h> that are missing.
272         * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
273         (DB_LITTLE_ENDIAN): New defines.
274         * libc/search/hash.c: Replace all incorrect checks for
275         _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
276         BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
277         * libc/search/hash_page.c: Likewise.
278
279 2002-06-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
280
281         * libm/mathfp/sf_pow.c (powf): Change k from int to float.
282
283 2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>
284
285         * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
286         * libc/include/time.h: Same.
287         * libc/include/string.h: Same.
288         * libc/include/stdlib.h: Same.
289         * libc/include/signal.h: Same.
290         * libc/include/setjmp.h: Same.
291         * libc/include/math.h: Same.
292         * libc/include/locale.h: Same.
293         * libc/include/ctype.h: Same.
294         * libc/include/machine/setjmp.h: Same.
295         * libc/include/_ansi.h (_BEGIN_STD_C): Add.
296         (_END_STD_C): Add.
297
298 2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>
299
300         * libc/include/sys/_types.h: Define _ssize_t as int if int is
301         32-bits, otherwise define it as long.
302         * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
303         and define ssize_t as _ssize_t.
304         * libc/reent/readr.c: Change return type to _ssize_t.
305         * libc/reent/writer.c: Ditto.
306         * libc/sys/linux/Makefile.am: Add aio.c.
307         * libc/sys/linux/Makefile.in: Regenerated.
308         * libc/sys/linux/aio.c: New file.
309         * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
310         * libm/common/fdlibm.h: Undef __P before defining it.
311
312 2002-06-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
313
314         * libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
315         exponent_is_even_int variable.  Handle case where x is
316         negative, and y is an odd integer.
317         * libm/mathfp/sf_pow.c (powf): Likewise.
318
319         * libm/mathfp/er_lgamma.c: Remove __kernel references.
320         * libm/mathfp/erf_lgamma.c: Likewise.
321         * libm/mathfp/s_tgamma.c: Likewise.
322         * libm/mathfp/sf_tgamma.c: Likewise.
323
324 2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>
325
326         * libc/sys/linux/Makefile.am: Add new clock routines.
327         * libc/sys/linux/Makefile.in: Regenerated.
328         * libc/sys/linux/clock_getres.c: New file.
329         * libc/sys/linux/clock_gettime.c: Ditto.
330         * libc/sys/linux/clock_settime.c: Ditto.
331         * libc/sys/linux/hp-timing.h: Ditto.
332         * libc/sys/linux/libc-internal.h: Ditto.
333         * libc/sys/linux/sysconf.c: Fix typo.
334         * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
335         * libc/sys/linux/machine/hp-timing.h: New file.
336         * libc/sys/linux/machine/i386/Makefile.am: Add new files.
337         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
338         * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
339         * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
340         * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
341         * libc/sys/linux/sys/linux_time.h: New file.
342         * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
343         replace with <sys/linux_time.h>.
344
345 Wed Jun 26 16:33:25 2002  J"orn Rennecke <joern.rennecke@superh.com>
346
347         * libc/sys/sh/crt0.S: Remove vestigial .section directive.
348
349 2002-06-25  Jeff Johnston  <jjohnstn@redhat.com>
350
351         * libc/sys/linux/Makefile.am: Consolidate additional items under
352         ADD_OBJS.
353         * libc/sys/linux/Makefile.in: Regenerated.
354
355 2002-06-25  Jeff Johnston  <jjohnstn@redhat.com>
356
357         * libc/sys/linux/sethostname.c: New file.
358         * libc/sys/linux/Makefile.am: Add sethostname.c support.
359         * libc/sys/linux/Makefile.in: Regenerated.
360
361 2002-06-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
362
363         * libc/search/db_local.h: New file.
364         * libc/include/db.h: Remove.
365         * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
366         * libc/search/hash.c (MIN,MAX): Add macros.  Change <db.h> to
367         "db_local.h".
368         * libc/search/hash_bigkey.c: Likewise.
369         * libc/search/hash_buf.c: Likewise.
370         * libc/search/hash_func.c: Likewise.
371         * libc/search/hash_log2.c: Likewise.
372         * libc/search/hash_page.c: Likewise.
373
374 2002-06-24  J"orn Rennecke <joern.rennecke@superh.com>
375
376         * libc/machine/sh/strlen.S: New file.
377         * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
378         * libc/machine/sh/Makefile.am: Regenerate.
379
380 2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>
381
382         * libc/sys/linux/gethostname.c: Change name to __gethostname and
383         add gethostname alias.
384
385 2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>
386
387         * libc/include/math.h: Remove <sys/types.h>.
388         (__dmath): Use __ULong instead of __uint32_t.
389         * libc/include/sys/reent.h: If long or int is not 32-bits,
390         include <sys/types.h> to get definitions for __int32_t and __uint32_t.
391         * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
392         * libm/common/fdlibm.h: Ditto.
393
394 2002-06-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
395
396         * libc/include/ndbm.h: Remove.
397         * libc/search/ndbm.c: Remove.
398
399 2002-06-24  WATANABE Hirofumi <eban@os.rim.or.jp>
400
401         * libc/stdio/fseek.c (fseek): Fix braces.
402
403 2002-06-21  Corinna Vinschen  <corinna@vinschen.de>
404
405         * libc/time/strftime.c (strftime): Add %e format specifier.
406
407 2002-06-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
408
409         * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
410         previously defined.
411
412 2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
413
414         * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
415         (BYTE_ORDER): Define as appropriate for the target.
416
417 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
418
419         * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
420         to _ssize_t.
421         * libc/sys/linux/io.c (read, write): Change to return ssize_t.
422
423 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
424
425         * libc/include/stdio.h (__getline, __getdelim): New prototypes.
426         * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
427         [HAVE_GETDATE](getdate_err): New error code.
428         * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
429         * libc/stdio/Makefile.in: Regenerated.
430         * libc/stdio/getdelim.c: New file.
431         * libc/stdio/getline.c: Ditto.
432         * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
433         and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
434         * libc/sys/linux/Makefile.in: Regenerated.
435         * libc/sys/linux/getdate.c: New file.
436         * libc/sys/linux/getdate_err.c: Ditto.
437         * libc/sys/linux/ntp_gettime.c: Ditto.
438         * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
439         * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
440
441 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
442
443         * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
444         * libc/include/machine/types.h: Skip __off_t, __pid_t, and
445         __loff_t definitions if special _HAVE_SYSTYPES macro defined.
446         * libc/include/sys/config.h: Removed _uint*, _int* definitions.
447         * libc/include/sys/param.h: Remove i386 case which is handled
448         by default case.
449         (BIG_ENDIAN, LITTLE_ENDIAN): Protect
450         definitions in case they are already defined.
451         (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
452         _IEEE_LITTLE_ENDIAN flags.
453         * libc/include/sys/reent.h: Change __uint32_t references to
454         use _ULong instead.
455         (_REENT_GETDATE_REENT_P): New macro.
456         * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
457         (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
458         * libc/search/hash.h: Add default setting of BYTE_ORDER,
459         LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
460         * libc/sys/linux/sys/types.h: Include <sys/_types.h>.  Define
461         ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
462         pid_t, off_t, loff_t, caddr_t, and daddr_t type
463         definitions which are done by subsequent glibc headers.
464         Add macro definitions to prevent subsequent header files from
465         defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
466         intptr_t to after glibc definitions of types they are based on.
467
468 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
469
470         * libc/include/errno.h: Protect from multiple inclusion.
471
472 2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
473
474         * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
475
476 2002-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
477
478         * Makefile.am (LIB_OBJECTLISTS): Add
479         libc/search/objectlist.awk.in.
480         * libc/Makefile.am (SUBDIRS): Add search.
481         (SUBLIBS): Add search/libsearch.la.
482         * libc/configure.in (AC_OUTPUT): Add search/Makefile.
483         * libc/search: New directory.
484         * libc/search/Makefile.am: New file.
485         * libc/search/extern.h: New file.
486         * libc/search/hash.c: New file.
487         * libc/search/hash.h: New file.
488         * libc/search/hash_bigkey.c: New file.
489         * libc/search/hash_buf.c: New file.
490         * libc/search/hash_func.c: New file.
491         * libc/search/hash_log2.c: New file.
492         * libc/search/hash_page.c: New file.
493         * libc/search/hcreate.3: New file.
494         * libc/search/hcreate.c: New file.
495         * libc/search/hcreate_r.c: New file.
496         * libc/search/ndbm.c: New file.
497         * libc/search/page.h: New file.
498         * libc/search/tdelete.c: New file.
499         * libc/search/tdestroy.c: New file.
500         * libc/search/tfind.c: New file.
501         * libc/search/tsearch.3: New file.
502         * libc/search/tsearch.c: New file.
503         * libc/search/twalk.c: New file.
504         * libc/include/db.h: New file.
505         * libc/include/ndbm.h: New file.
506         * libc/include/search.h: New file.
507         * libc/include/sys/queue.h: New file.
508         * libc/include/sys/cdefs.h: New file.
509         * libc/include/sys/param.h
510         [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
511         LITTLE_ENDIAN or BIG_ENDIAN.
512         * libc/include/sys/errno.h (EFTYPE): New macro.
513         * libc/search/bsearch.c: Move from libc/stdlib.
514         * libc/search/qsort.c: Likewise.
515         * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
516         qsort.c.
517         (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
518         * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
519
520 2002-06-19  Jeff Johnston  <jjohnstn@redhat.com>
521
522         * libc/sys/linux/Makefile.am: Add support for message queue routines,
523         ipc routines, and ftok.
524         * libc/sys/linux/Makefile.in: Regenerated.
525         * libc/sys/linux/ftok.c: New file.
526         * libc/sys/linux/ipc.c: Ditto.
527         * libc/sys/linux/mq_close.c: Ditto.
528         * libc/sys/linux/mq_getattr.c: Ditto.
529         * libc/sys/linux/mq_notify.c: Ditto.
530         * libc/sys/linux/mq_open.c: Ditto.
531         * libc/sys/linux/mq_receive.c: Ditto.
532         * libc/sys/linux/mq_send.c: Ditto.
533         * libc/sys/linux/mq_setattr.c: Ditto.
534         * libc/sys/linux/mq_unlink.c: Ditto.
535         * libc/sys/linux/mqlocal.h: Ditto.
536         * libc/sys/linux/include/mqueue.h: Ditto.
537         * libc/sys/linux/sys/types.h: Define __gid_t_defined and
538         __uid_t_defined.
539
540 2002-06-19  J"orn Rennecke <joern.rennecke@superh.com>
541
542         * libm/common/sf_lround.c (round): Change name to: (lround).
543         * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
544         remquof.
545
546 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
547
548         * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
549         procedure.
550         (newlib_pass_fail): Change to compile and run only one file.
551         * testsuite/newlib.locale/locale.exp: Use new
552         newlib_pass_fail_all procedure.
553         * testsuite/newlib.string/string.exp: Likewise.
554
555 2002-06-18  Dave Brolley  <brolley@redhat.com>
556
557         From Catherine Moore, Michael Meissner, Richard Sandiford:
558         * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
559         (_JBTYPE): Ditto.
560         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
561         (__ATTRIBUTE_IMPURE_PTR__): Ditto.
562         * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
563         * configure.host: Support frv-*-*.
564         * libc/machine/frv/Makefile.am: New file.
565         * libc/machine/frv/configure.in: New file.
566         * libc/machine/frv/setjmp.S: New file.
567
568 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
569
570         * libc/include/ctype.h: Remove isblank macro.
571
572         * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
573         * libc/ctype/isblank.c: New file.
574         * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
575         declaration.  Add isblank macro.
576
577 2002-06-18  Jeff Johnston  <jjohnstn@redhat.com>
578
579         * testsuite/newlib.stdlib/atexit.c: New file.
580         * testsuite/newlib.stdlib/atexit.exp: Ditto.
581         * testsuite/newlib.string/tstring.c: Change default start size
582         to something more reasonable for embedded platforms.
583
584 2002-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
585
586         * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
587
588         * libc/argz: New directory.
589         * libc/argz/*: New files.
590         * libc/argz/argz_add.c: New file.
591         * libc/argz/argz_add_sep.c: New file.
592         * libc/argz/argz_append.c: New file.
593         * libc/argz/argz_count.c: New file.
594         * libc/argz/argz_create.c: New file.
595         * libc/argz/argz_create_sep.c: New file.
596         * libc/argz/argz_delete.c: New file.
597         * libc/argz/argz_extract.c: New file.
598         * libc/argz/argz_insert.c: New file.
599         * libc/argz/argz_next.c: New file.
600         * libc/argz/argz_replace.c: New file.
601         * libc/argz/argz_stringify.c: New file.
602         * libc/argz/buf_findstr.c: New file.
603         * libc/argz/envz_add.c: New file.
604         * libc/argz/envz_entry.c: New file.
605         * libc/argz/envz_get.c: New file.
606         * libc/argz/envz_merge.c: New file.
607         * libc/argz/envz_remove.c: New file.
608         * libc/argz/envz_strip.c: New file.
609         * libc/include/argz.h: New file.
610         * libc/include/envz.h: New file.
611         * Makefile.am (LIBC_OBJECTLISTS): Add
612         libc/argz/objectlist.awk.in.
613         * libc/Makefile.am (SUBDIRS): Add argz.
614         (SUBLIBS): Add argz/libargz.la.
615         * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
616         * libc/include/errno.h: Add error_t typedef.
617
618 2002-06-13  Jeff Johnston  <jjohnstn@redhat.com>
619
620         * libc/include/stdlib.h: Add _Exit prototype.
621         * libc/stdlib/Makefile.am: Add _Exit.c support.
622         * libc/stdlib/Makefile.in: Ditto.
623         * libc/stdlib/_Exit.c: New file.
624
625 2002-06-13  Stephen L. Moshier  <steve@moshier.net>
626
627         * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
628         x is close to -1.0 and y is very large to use ax (absolute value)
629         instead of x.
630         * libm/math/ef_pow.c (__ieee754_powf): Ditto.
631
632 Thu Jun 13 19:23:40 2002  J"orn Rennecke <joern.rennecke@superh.com>
633
634         * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
635         Fix clobbering bytes before destination if src and dst have same
636         non-zero misalignment.
637
638         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
639         Fixed bug in writing end of set region.
640
641 2002-06-10  Christopher Faylor  <cgf@redhat.com>
642
643         * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
644         spawnve declaration.
645
646 2002-06-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
647
648         * libm/common/s_fdim.c: New file.
649         * libm/common/s_fma.c: Likewise.
650         * libm/common/s_fmax.c: Likewise.
651         * libm/common/s_fmin.c: Likewise.
652         * libm/common/s_fpclassify.c: Likewise.
653         * libm/common/s_lrint.c: Likewise.
654         * libm/common/s_lround.c: Likewise.
655         * libm/common/s_nearbyint.c: Likewise.
656         * libm/common/s_remquo.c: Likewise.
657         * libm/common/s_round.c: Likewise.
658         * libm/common/s_scalbln.c: Likewise.
659         * libm/common/s_signbit.c: Likewise.
660         * libm/common/s_trunc.c: Likewise.
661         * libm/common/sf_fdim.c: Likewise.
662         * libm/common/sf_fma.c: Likewise.
663         * libm/common/sf_fmax.c: Likewise.
664         * libm/common/sf_fmin.c: Likewise.
665         * libm/common/sf_lrint.c: Likewise.
666         * libm/common/sf_lround.c: Likewise.
667         * libm/common/sf_nearbyint.c: Likewise.
668         * libm/common/sf_remquo.c: Likewise.
669         * libm/common/sf_round.c: Likewise.
670         * libm/common/sf_scalbln.c: Likewise.
671         * libm/common/sf_trunc.c: Likewise.
672         * libm/math/w_exp2.c: Likewise.
673         * libm/math/w_tgamma.c: Likewise.
674         * libm/math/wf_exp2.c: Likewise.
675         * libm/math/wf_tgamma.c: Likewise.
676         * libm/mathfp/s_exp2.c: Likewise.
677         * libm/mathfp/s_tgamma.c: Likewise.
678         * libm/mathfp/sf_exp2.c: Likewise.
679         * libm/mathfp/sf_tgamma.c: Likewise.
680         * libm/math/er_gamma.c: Fix return value.
681         * libm/math/erf_gamma.c: Likewise.
682         * libm/mathfp/er_gamma.c: Likewise.
683         * libm/mathfp/erf_gamma.c: Likewise.
684         * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
685         declarations and macros.
686         Regenerated all Makefile.in, aclocal.m4 and configure files to
687         use new libtool macros in top-level libtool.m4
688
689 2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>
690
691         * libc/include/string.h[__linux__]: Add strsignal prototype.
692         * libc/include/sys/lock.h: New file with default locking support.
693         * libc/include/sys/reent.h: Add signal buffer support for strsignal
694         and psignal.
695         * libc/posix/Makefile.am: Add support for readdir_r.c.
696         * libc/posix/Makefile.in: Regenerated.
697         * libc/posix/closedir.c: Add locking support and hash table cleanup.
698         * libc/posix/opendir.c: Add lock support.
699         * libc/posix/readdir.c: Ditto.
700         * libc/posix/rewinddir.c: Ditto.
701         * libc/posix/scandir.c: Ditto.
702         * libc/posix/seekdir.c: Ditto.
703         * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
704         clean up leftover hash table entries.
705         * libc/posix/readdir_r.c: New file.
706         * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
707         * libc/sys/linux/Makefile.in: Regenerated.
708         * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
709         * libc/sys/linux/sys/signal.h: Add psignal prototype.
710         * libc/sys/linux/psignal.c: New file.
711         * libc/sys/linux/strsignal.c: Ditto.
712
713 2002-06-03  Corinna Vinschen  <corinna@vinschen.de>
714
715         * libc/include/sys/types.h: Don't define dev_t when compiling for
716         Cygwin.
717
718 2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>
719
720         * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
721         make siglist.inc dependent on sig.c instead of signal.c.
722         * libc/sys/linux/Makefile.in: Regenerated.
723         * libc/sys/linux/sig.c: Rename from signal.c and change code to
724         use NSIG instead of _NSIG. 
725         * libc/sys/linux/sigaction.c: New file.
726         * libc/sys/linux/signal.c: Changed to be linux signal() function
727         so as to override regular newlib default signal.c.
728         * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
729         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
730         * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
731         * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
732         * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
733         default linux sigset_t typedef by defining it equal to __sigset_t.
734         * libc/unix/sigset.c: Add check so code isn't compiled on systems
735         with a sigset_t that isn't implemented with a single int.
736
737 2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
738
739         * libc/sys/linux/Makefile.am: Add support for new files.
740         * libc/sys/linux/Makefile.in: Regenerated.
741         * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
742         * libc/sys/linux/signal.c: Change to use real-time syscalls for
743         sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
744         it is in a separate file now.
745         * libc/sys/linux/machine/i386/Makefile.am
746         * libc/sys/linux/machine/i386/Makefile.in
747         * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
748         * libc/sys/linux/sigaction.c: New file.
749         * libc/sys/linux/sigqueue.c: Ditto.
750         * libc/sys/linux/sigwait.c: Ditto.
751         * libc/sys/linux/machine/i386/sigaction.c: Ditto.
752         * libc/sys/linux/kernel_sigaction.h: Ditto.
753
754 2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
755
756         * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
757         tcsendbrk.c.
758         * libc/sys/linux/Makefile.in: Regenerated.
759         * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
760         tcgetpgrp(), and tcsetpgrp() functions.
761         * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
762         to get __MAX_BAUD rate.
763         * libc/sys/linux/machine/i386/include/termios.h: New file.
764         * libc/include/machine/termios.h: Ditto.
765         * libc/sys/linux/cfspeed.c: Ditto.
766         * libc/sys/linux/tcsendbrk.c: Ditto.
767
768 2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
769
770         * libc/include/string.h: Add strnlen and strerror_r prototypes.
771         * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
772         * libc/string/Makefile.in: Regenerated.
773         * libc/string/strerror_r.c: New file.
774         * libc/string/strnlen.c: New file.
775         * libc/sys/linux/Makefile.am: Add rename.c.
776         * libc/sys/linux/Makefile.in: Regenerated.
777         * libc/sys/linux/rename.c: New file to override default rename.
778
779 2002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
780
781         * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
782         * libc/sys/linux/sys/time.h: Add conversion macros.
783         * libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
784         * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
785         * libc/sys/linux/gethostname.c: New file.
786         * libc/sys/linux/seteuid.c: New file.
787         * libc/sys/linux/sysctl.c: New file.
788         
789 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
790
791         * libc/string/Makefile.am: Add support for strsep.c.
792         * libc/string/Makefile.in: Regenerated.
793         * libc/string/strsep.c: New file.
794         * libc/string/strtok.c: Change to call __strtok_r service routine.
795         * libc/string/strtok_r.c: Add __strtok_r routine which takes
796         additional flag parameter regarding whether to skip leading delimeters.
797         Change strtok_r to call __strtok_r.
798
799 2002-05-23  Gareth Pearce  <tilps@hotmail.com>
800
801         * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
802         * libc/stdio/Makefile.in: Regenerated.
803         * libc/stdio/setbuffer.c: New file.
804         * libc/stdio/setlinebuf.c: New file.
805
806 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
807
808         * libc/sys/linux/Makefile.am: Add resource.c.
809         * libc/sys/linux/Makefile.in: Regenerated.
810         * libc/sys/linux/resource.c: New file.
811         * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
812         * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
813         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
814         * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
815         are now found in libc/sys/linux/resource.c.
816
817 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
818
819         * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
820         to use void * pointers and comply with Single Unix spec.
821         * libc/string/bcmp.c: Change to use void * instead of char *.
822         * libc/string/bcopy.c: Ditto.
823         * libc/string/bzero.c: Ditto.
824
825 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
826
827         * libc/sys/linux/shm_open.c: New file.
828         * libc/sys/linux/shm_unlink.c: Ditto.
829         * libc/sys/linux/Makefile.am: Add support for shm_open.c and
830         shm_unlink.c.
831         * libc/sys/linux/Makefile.in: Regenerated.
832         * libc/sys/linux/sys/types.h: Add some additional checks to see
833         if clock_t or time_t is already defined.
834
835 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
836
837         * Makefile.am: Don't pass $toollibdir down directly in
838         AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
839         Pass it under the name: top_toollibdir.
840         * Makefile.in: Regenerated.
841
842 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
843
844         * libc/include/sys/types.h: Revert previous patch.
845
846 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
847
848         * libc/include/sys/types.h: Include cygwin/types.h always under
849         Cygwin, not only if _POSIX_THREADS is defined.
850
851 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
852
853         * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
854
855 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
856
857         * Makefile.am: Copy and install headers from sys/machine/include
858         directory.  Also pass $toollibdir to lower-level directories.
859         * Makefile.in: Regenerated.
860         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
861         stderr to use _REENT macro instead of _impure_ptr directly.
862         * libc/include/sys/config.h[__i386__][__linux__]: Define
863         __DYNAMIC_REENT__.
864         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
865         call to __getreent() function if !__SINGLE_THREAD__ and
866         __DYNAMIC_REENT__ is set.
867         * libc/reent/Makefile.am: Add support for getreent.c.
868         * libc/reent/Makefile.in: Regenerated.
869         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
870         * libc/sys/linux/Makefile.am: Add support for new files.
871         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
872         * libc/sys/linux/Makefile.in: Regenerated.
873         * libc/sys/linux/configure: Ditto.
874         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
875         __close, __read, __write, __poll, __open, __lseek, __fcntl from
876         their __libc_ counterparts.
877         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
878         and weak-alias to regular names.
879         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
880         to pread64 and __pread64.
881         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
882         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
883         weak-alias to pwrite64.
884         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
885         __libc_sched_getscheduler, __libc_sched_get_priority_max,
886         __libc_sched_get_priority_min, and __libc_sched_setschedule to
887         name with __ instead of __libc_. 
888         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
889         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
890         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
891         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
892         to raise.
893         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
894         __libc_send to __send.
895         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
896         __gettimeofday.
897         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
898         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
899         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
900         type and typedef __jmp_buf to jmp_buf.
901         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
902         setjmp.S.
903         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
904         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
905         section.
906         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
907         prefix for function macros and then use weak_alias() to regular names.
908         * libc/sys/linux/machine/i386/syscall.h: Ditto.
909         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
910         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
911         to be flockfile() and funlockfile() respectively.
912         * libc/sys/linux/sys/types.h
913         * libc/reent/getreent.c: New file.
914         * libc/sys/linux/flockfile.c: Ditto.
915         * libc/sys/linux/funlockfile.c: Ditto.
916         * libc/sys/linux/getreent.c: Ditto.
917         * libc/sys/linux/pread.c: Ditto.
918         * libc/sys/linux/pwrite.c: Ditto.
919         * libc/sys/linux/raise.c: Ditto.
920         * libc/sys/linux/system.c: Ditto.
921         * libc/sys/linux/tcdrain.c: Ditto.
922         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
923         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
924         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
925         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
926         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
927
928 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
929
930         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
931         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
932         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
933         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
934
935 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
936
937         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
938         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
939         exit point.
940
941 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
942
943         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
944         options when testing natively on i[3456]86-*-linux.
945
946         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
947         only one pass or fail per test file.  Trim \r's from output
948         values received from test programs.  Remove support for named
949         tests.
950         * testsuite/newlib.locale/UTF-8.exp: Update to support new
951         newlib_check_output behaviour.
952         * testsuite/newlib.locale/UTF-8.c: Likewise.
953
954 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
955
956         * libc/include/stdlib.h: Add on_exit prototype.
957         * libc/include/sys/reent.h (struct _atexit): Add argument array
958         and bits to track type of exit routine to support both on_exit
959         and atexit.
960         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
961         by default and change the setting of the atexit structure.
962         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
963         * libc/stdlib/on_exit.c: New file.
964         * libc/stdlib/Makefile.am: Add support for on_exit.
965         * libc/stdlib/Makefile.in: Regenerated.
966         * libc/stdlib/atexit.c: Change to initialize types field.
967         * libc/stdlib/exit.c: Change to look at types field for each
968         exit routine and either call an atexit-style or an on_exit-style
969         routine accordingly.
970
971 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
972
973         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
974         allow v specifier with n or L specifiers.  For vector c format,
975         move tmp declaration to the top.
976
977 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
978
979         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
980         the original format specifier when looping for vectors to compensate
981         for any changes made in vector %g format processing.
982         Also add syntax checking for various invalid scenarios
983         involving vector format extensions.
984         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
985         return code setting for vector formats.  Also treat vector
986         separator mismatch as a match error instead of an input error.
987         Perform some syntax checking for vector formats.
988
989 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
990
991         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
992         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
993         * libc/string/strlcat.c: New file.
994         * libc/string/strlcpy.c: New file.
995
996 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
997
998         * libc/string/strchr.c: Fix comment typo.
999
1000 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
1001
1002         * acinclude.m4: Add support for --enable-newlib-multithread.
1003         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
1004         --enable-newlib-multithread=no.
1005
1006         * libc/stdio/getc_u.c: New file.
1007         * libc/stdio/getchar_u.c: New file.
1008         * libc/stdio/putc_u.c: New file.
1009         * libc/stdio/putchar_u.c: New file.
1010         * libc/include/stdio.h: Add declarations for getc_unlocked,
1011         getchar_unlocked, putc_unlocked and putchar_unlocked.
1012         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
1013         (CHEWOUT_FILES): Add new files' .def's.
1014         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
1015
1016 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
1017
1018         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
1019         Also handle as single quad word when destination ends at last
1020         byte of first quad word.  Fix byte selection in single quad code.
1021
1022 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
1023
1024         * libc/include/sys/stdio.h: New file.
1025         * libc/sys/linux/sys/stdio.h: New file.
1026         * libc/include/stdio.h: Add declarations for flockfile,
1027         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
1028         * libc/stdio/clearerr.c: Add file locking.
1029         * libc/stdio/fclose.c: Likewise.
1030         * libc/stdio/feof.c: Likewise.
1031         * libc/stdio/ferror.c: Likewise.
1032         * libc/stdio/fflush.c: Likewise.
1033         * libc/stdio/fgetc.c: Likewise.
1034         * libc/stdio/fgetpos.c: Likewise.
1035         * libc/stdio/fgets.c: Likewise.
1036         * libc/stdio/fileno.c: Likewise.
1037         * libc/stdio/fputc.c: Likewise.
1038         * libc/stdio/fputs.c: Likewise.
1039         * libc/stdio/fread.c: Likewise.
1040         * libc/stdio/freopen.c: Likewise.
1041         * libc/stdio/fseek.c: Likewise.
1042         * libc/stdio/ftell.c: Likewise.
1043         * libc/stdio/fwrite.c: Likewise.
1044         * libc/stdio/getc.c: Likewise.
1045         * libc/stdio/putc.c: Likewise.
1046         * libc/stdio/setvbuf.c: Likewise.
1047         * libc/stdio/ungetc.c: Likewise.
1048         * libc/stdio/vfprintf.c: Likewise.
1049
1050 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
1051
1052         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
1053         support for 'p' format.  Fix code to print bytes for vector
1054         integer formats that do not specify 'h' or 'l'.
1055         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
1056         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
1057         formats that do not specify 'h' or 'l'.
1058
1059         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
1060
1061 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
1062
1063         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
1064         (_sbrk): Add cast of return value.
1065
1066 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
1067
1068         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
1069         (_REENT_L64A_BUF): New macro for accessing area.
1070         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
1071         *  libc/stdlib/Makefile.in: Regenerated.
1072         *  libc/stdlib/a64l.c: New file.
1073         *  libc/stdlib/l64a.c: New file.
1074
1075 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
1076
1077         * libc/unix/pread.c: Fix typo for _pread_r.
1078         * libc/unix/pwrite.c: Fix type for _pwrite_r.
1079         * libc/sys/linux/pread64.c: Fix typo for read syscall.
1080         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
1081
1082 2002-05-03  Christopher Faylor  <cgf@redhat.com>
1083
1084         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
1085
1086 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
1087
1088         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
1089
1090 2002-05-01  Christopher Faylor  <cgf@redhat.com>
1091
1092         * utmp.h: Define more UNIX constants.
1093
1094 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
1095
1096         * Makefile.am: Add support for checking multilibs.
1097
1098         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
1099         (SUBDEFS): Add LIBC_EXTRA_DEF.
1100         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
1101         (LIBC_EXTRA_DEF): Likewise.
1102         (extra_dir): Likewise.
1103         * libc/machine/xscale/machine: New directory.
1104         * libc/machine/xscale/machine/profile.h: New file.
1105
1106         * Makefile.am (site.exp): Remove newlib_cflags.  Add
1107         multibuildtop.
1108         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
1109         * testsuite/lib/flags.exp: New file.
1110         * testsuite/lib/newlib.exp: Load flags.exp.
1111         (newlib_target_compile): Remove libgloss directory references.
1112         (newlib_init): Remove newlib_cflags references.
1113
1114 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
1115
1116         * testsuite/lib/newlib.exp (newlib_target_compile): Change
1117         method of finding libgloss_target_dir.
1118
1119         * Makefile.am (site.exp): Change host_alias, host_triplet,
1120         target_alias, target_triplet to refer to gcc's host and target
1121         variables (newlib's build and host variables).
1122         * testsuite/lib/newlib.exp (newlib_init): Change build
1123         references to host references, host references to target
1124         references to reflect Makefile.am changes.
1125         (newlib_target_compile): Likewise.
1126         (newlib_finish): Likewise.
1127
1128 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
1129
1130         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
1131
1132 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
1133
1134         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
1135         (_system): New function. Ditto.
1136         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
1137         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
1138         targets.
1139
1140 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
1141
1142         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
1143         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
1144         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
1145         *  libc/sys/linux/Makefile.in: Regenerated.
1146         *  libc/unix/Makefile.in: Ditto.
1147         *  libc/sys/linux/pread64.c: New file.
1148         *  libc/sys/linux/pwrite64.c: Ditto.
1149         *  libc/unix/pread.c: Ditto.
1150         *  libc/unix/pwrite.c: Ditto.
1151
1152 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
1153
1154         *  libc/sys/linux/Makefile.am: Add io64.c.
1155         *  libc/sys/linux/Makefile.in: Regenerated.
1156         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
1157         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
1158         *  libc/sys/linux/io64.c: New file.
1159
1160 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
1161
1162         * configure.in (CC_FOR_NEWLIB): New variable that
1163         bases on $(CC) and adds targ-include and libc/include as
1164         -isystem directives if they are not already part of $(CC).
1165         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
1166         $(CC_FOR_NEWLIB).
1167         * configure: Regenerated.
1168         * Makefile.in: Ditto.
1169
1170 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
1171
1172         *  libc/sys/linux/Makefile.am: Add support for sched.c.
1173         *  libc/sys/linux/Makefile.in: Regenerated.
1174         *  libc/sys/linux/sched.c: New file.
1175         *  libc/sys/linux/sys/types.h: Add struct timespec.
1176
1177 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
1178
1179         * configure.in (CC_FOR_BUILD): Set to gcc whether
1180         cross-compiling or not.
1181         (CC): Add -isystem's for targ-include and libc/include when they
1182         do not already appear in CC.
1183
1184 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1185
1186         * Makefile.am (check-DEJAGNU): New target.
1187         (site.exp): Likewise.
1188         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
1189         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
1190         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
1191         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
1192         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
1193         * testsuite: New directory.
1194         * testsuite/config: Likewise.
1195         * testsuite/lib: Likewise.
1196         * testsuite/newlib.locale: Likewise.
1197         * testsuite/newlib.string: Likewise.
1198         * testsuite/config/default.exp: New file.
1199         * testsuite/lib/checkoutput.exp: New file.
1200         * testsuite/lib/newlib.exp: New file.
1201         * testsuite/lib/passfail.exp: New file.
1202         * testsuite/newlib.locale/UTF-8.c: New file.
1203         * testsuite/newlib.locale/UTF-8.exp: New file.
1204         * testsuite/newlib.locale/locale.exp: New file.
1205         * testsuite/newlib.string/string.exp: New file.
1206         * testsuite/newlib.string/tstring.c: New file.
1207
1208 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
1209
1210         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
1211         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
1212         *  libc/sys/linux/Makefile.in: Regenerated.
1213         *  libc/sys/linux/mmap.c: New file.
1214         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
1215         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
1216
1217 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
1218
1219         * acinclude.m4 (newlib_cflags): Remove include directories that
1220         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
1221
1222 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
1223
1224         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
1225         * libc/machine/xscale/memcmp.c: Ditto.
1226         * libc/machine/xscale/memcpy.c: Ditto.
1227         * libc/machine/xscale/memmove.c: Ditto.
1228         * libc/machine/xscale/memset.c: Ditto.
1229         * libc/machine/xscale/strchr.c: Ditto.
1230         * libc/machine/xscale/strcmp.c: Ditto.
1231         * libc/machine/xscale/strcpy.c: Ditto.
1232         * libc/machine/xscale/strlen.c: Ditto.
1233
1234 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
1235
1236         * libc/include/sys/config.h: Remove include of <limits.h>.
1237         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
1238         define INT_MAX and LONG_MAX.  Use them in tests.
1239
1240 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
1241
1242         *  configure.host: Add support for powerpc-eabialtivec*.
1243         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
1244         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
1245         *  libc/include/machine/malloc.h: New file.
1246         *  libc/include/machine/stdlib.h: Ditto.
1247         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
1248         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
1249         sources based on configuration.
1250         *  libc/machine/powerpc/Makefile.in: Regenerated.
1251         *  libc/machine/powerpc/configure: Ditto.
1252         *  libc/machine/powerpc/configure.in: Add check for
1253         powerpc-eabialtivec* in which case add in additional source files.
1254         *  libc/machine/powerpc/setjmp.S: Add altivec support.
1255         *  libc/machine/powerpc/vec_calloc.c: New file.
1256         *  libc/machine/powerpc/vec_free.c: Ditto.
1257         *  libc/machine/powerpc/vec_malloc.c: Ditto.
1258         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
1259         *  libc/machine/powerpc/vec_realloc.c: Ditto.
1260         *  libc/machine/powerpc/machine/malloc.h: Ditto.
1261         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
1262         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
1263         with added altivec format specifiers.
1264         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
1265         added altivec format specifiers.
1266
1267 2002-04-19      Joel Sherrill <joel@OARcorp.com>
1268
1269         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
1270         while autoconf is trying to link main(){}.
1271
1272 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1273
1274         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
1275         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
1276
1277 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1278
1279         * libc/time/time.tex: Add tzset info.
1280
1281 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1282
1283         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1284         (strptime): Moved prototype to be within !__STRICT_ANSI__.
1285         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1286         (tzname): Defined for all platforms.
1287         (daylight, timezone): Defined only for CYGWIN.
1288         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1289         environment set up.
1290         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1291         environment variable is set.
1292         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1293         tzset_r.c.
1294         * libc/time/Makefile.in: Regenerated.
1295         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1296         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1297         * libc/time/lcltime_r.c (lcltime_r): Ditto.
1298         * libc/time/local.h: New local header file.
1299         * libc/time/mktime.c (mktime): Add timezone support.
1300         * libc/time/mktm_r.c: New file which is the common engine
1301         for gmtime_r and lcltime_r.  This code has timezone support.
1302         * libc/time/strftime.c (strftime): Add %Z timezone support.
1303         * libc/time/tzlock.c: New file containing timezone lock stubs.
1304         * libc/time/tzset.c: New file containing tzset() routine.
1305         * libc/time/tzset_r.c: New file containing _tzset_r and
1306         internal routine for calculating timezone changes for specified year.
1307
1308 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1309
1310         * configure.in (CRT0_DIR): Set to libc/.
1311         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1312         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1313         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
1314         $(CRT1_DIR)/$(CRT1).
1315         * libc/machine/xstormy16/Makefile.in: Regenerated.
1316         * libc/machine/xstormy16/aclocal.m4: Regenerated.
1317         * libc/machine/xstormy16/configure: Regenerated.
1318
1319 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
1320
1321         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1322         fails, don't bail out, and try to correct next time.
1323
1324         * libc/include/sys/config.h: Include limits.h.
1325
1326 2002-04-12  Eric Norum  <eric.norum@usask.com>
1327
1328         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1329         routine to allow autoconf to determine that building executables
1330         for rtems works.
1331         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1332         (rtems_gxx_mutex_once): Ditto.
1333
1334 2002-04-09  Tom Rix  <trix@redhat.com>
1335
1336         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1337
1338 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1339
1340         * libc/include/time.h: Fix strptime declaration.
1341         * libc/time/Makefile.am: Add strptime.c.
1342         * libc/time/Makefile.in: Regenerated.
1343         * libc/time/strptime.c: New file.
1344
1345 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
1346
1347         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1348         siglongjmp prototype, and sigsetjmp macro definition.
1349         * libc/sys/linux/siglongjmp.c: New file.
1350         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1351         * libc/sys/linux/Makefile.in: Regenerated.
1352
1353 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
1354
1355         * Makefile.am: Add support for installing crt1.o if one exists.
1356         * configure.host: Specify crt1.o for linux.
1357         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1358         * Makefile.in: Regenerated.
1359         * configure: Ditto.
1360         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1361         Added for non-Cygwin, non-RTEMS configurations.
1362         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1363         * libc/sys/linux/Makefile.in: Regenerated.
1364         * libc/sys/linux/crt1.c: New empty file to override one defaulted
1365         by gcc.  This fixes problem with reconfiguring linux newlib build.
1366         * libc/sys/linux/sysconf.c: New file.
1367
1368 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
1369
1370         * configure.host: Add support for machine subdirectory of
1371         sys subdirectory.
1372         * configure.in: Add check for sys machine subdirectory.
1373         * Makefile.am: Ditto.
1374         * configure: Regenerated.
1375         * Makefile.in: Ditto.
1376         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1377         * libc/sys/linux/sys/syscall.h: Ditto.
1378         * libc/sys/linux/sleep.c: New file.
1379         * libc/sys/linux/socket.c: Ditto.
1380         * libc/sys/linux/sockops.h: Ditto.
1381         * libc/sys/linux/stack.c: Ditto.
1382         * libc/sys/linux/usleep.c: Ditto.
1383         * libc/sys/linux/machine/Makefile.am: Ditto.
1384         * libc/sys/linux/machine/Makefile.in: Ditto.
1385         * libc/sys/linux/machine/aclocal.m4: Ditto.
1386         * libc/sys/linux/machine/configure: Ditto.
1387         * libc/sys/linux/machine/configure.in: Ditto.
1388         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1389         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1390         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1391         * libc/sys/linux/machine/i386/configure: Ditto.
1392         * libc/sys/linux/machine/i386/configure.in: Ditto.
1393         * libc/sys/linux/machine/i386/crt0.c: Ditto.
1394         * libc/sys/linux/machine/i386/sigset.c: Ditto.
1395         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1396         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1397         * libc/sys/linux/machine/i386/syscall.h: Ditto.
1398         * libc/sys/linux/sys/select.h: Ditto.
1399         * libc/sys/linux/configure.in: Add support for machine directory.
1400         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1401         * libc/sys/linux/Makefile.in: Regenerated.
1402         * libc/sys/linux/configure: Ditto.
1403         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1404         * libc/sys/linux/inode.c: Ditto.
1405         * libc/sys/linux/linux.c: Ditto.
1406         * libc/sys/linux/process.c: Ditto.
1407         * libc/sys/linux/systat.c: Ditto.
1408         * libc/sys/linux/time.c: Ditto.
1409         * libc/sys/linux/wait.c: Ditto.
1410         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1411         * libc/sys/linux/io.c: Change header plus add readv/writev.
1412         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1413         use __sigsuspend syscall.
1414         * libc/sys/linux/select.c: Change header plus change select to
1415         use _newselect syscall.
1416         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1417         used by glibc header files.
1418         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1419         types.
1420
1421 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1422
1423         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1424         initializing a struct _reent that has been dynamically allocated.
1425         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1426         _REENT_SMALL and does nothing otherwise.
1427         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1428         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1429         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1430         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1431         [_REENT_SMALL](struct _misc_reent): New structure containing
1432         miscellaneous reentrant areas needed by newlib.
1433         [_REENT_SMALL](struct _reent): Add _misc pointer.
1434         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1435         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1436         and _REENT_STRTOK_LAST macros.
1437         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1438         and _REENT_MBLEN_STATE macros.
1439         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1440         and _REENT_MBTOWC_STATE macros.
1441         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1442         and _REENT_WCTOMB_STATE macros.
1443
1444 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1445
1446         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1447
1448 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1449
1450         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1451
1452 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1453
1454         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1455         Store high part of leading bytes too.
1456
1457 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1458
1459         * libm/math/ef_hypot.c: Increase scale factor to 68.
1460
1461 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1462
1463         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1464         error.
1465
1466 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1467
1468         * libc/sys/go32/access.c: Change license to relaxed license
1469         used in identical file throughout newlib/libgloss.
1470
1471 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1472
1473         * libc/sys/arm/access.c: New file.
1474         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1475         * libc/sys/arm/Makefile.in: Regenerate.
1476         * libc/sys/arm/syscalls.c (_stat): New function.
1477
1478 2002-03-11  Michael Meissner  <meissner@redhat.com>
1479
1480         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1481         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1482         * libc/machine/mips/Makefile.in: Regenerate.
1483         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1484         * libc/machine/mips/memset.c: Dito.
1485         * libc/machine/mips/strcmp.c: Dito.
1486         * libc/machine/mips/strlen.c: Dito.
1487         * libc/machine/mips/strncmp.c: Dito.
1488
1489 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1490
1491         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1492         object so it works for shared library or statici library.
1493 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1494
1495         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
1496         (strptime): Moved prototype to be within !__STRICT_ANSI__.
1497         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1498         (tzname): Defined for all platforms.
1499         (daylight, timezone): Defined only for CYGWIN.
1500         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1501         environment set up.
1502         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1503         environment variable is set.
1504         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1505         tzset_r.c.
1506         *  libc/time/Makefile.in: Regenerated.
1507         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1508         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1509         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
1510         *  libc/time/local.h: New local header file.
1511         *  libc/time/mktime.c (mktime): Add timezone support.
1512         *  libc/time/mktm_r.c: New file which is the common engine
1513         for gmtime_r and lcltime_r.  This code has timezone support.
1514         *  libc/time/strftime.c (strftime): Add %Z timezone support.
1515         *  libc/time/tzlock.c: New file containing timezone lock stubs.
1516         *  libc/time/tzset.c: New file containing tzset() routine.
1517         *  libc/time/tzset_r.c: New file containing _tzset_r and
1518         internal routine for calculating timezone changes for specified year.
1519
1520 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1521
1522         * configure.in (CRT0_DIR): Set to libc/.
1523         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1524         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1525         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
1526         $(CRT1_DIR)/$(CRT1).
1527         * libc/machine/xstormy16/Makefile.in: Regenerated.
1528         * libc/machine/xstormy16/aclocal.m4: Regenerated.
1529         * libc/machine/xstormy16/configure: Regenerated.
1530
1531 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
1532
1533         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1534         fails, don't bail out, and try to correct next time.
1535
1536         * libc/include/sys/config.h: Include limits.h.
1537
1538 2002-04-12  Eric Norum  <eric.norum@usask.com>
1539
1540         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1541         routine to allow autoconf to determine that building executables
1542         for rtems works.
1543         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1544         (rtems_gxx_mutex_once): Ditto.
1545
1546 2002-04-09  Tom Rix  <trix@redhat.com>
1547
1548         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1549
1550 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1551
1552         * libc/include/time.h: Fix strptime declaration.
1553         * libc/time/Makefile.am: Add strptime.c.
1554         * libc/time/Makefile.in: Regenerated.
1555         * libc/time/strptime.c: New file.
1556
1557 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
1558
1559         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1560         siglongjmp prototype, and sigsetjmp macro definition.
1561         * libc/sys/linux/siglongjmp.c: New file.
1562         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1563         * libc/sys/linux/Makefile.in: Regenerated.
1564
1565 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
1566
1567         * Makefile.am: Add support for installing crt1.o if one exists.
1568         * configure.host: Specify crt1.o for linux.
1569         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1570         * Makefile.in: Regenerated.
1571         * configure: Ditto.
1572         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1573         Added for non-Cygwin, non-RTEMS configurations.
1574         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1575         * libc/sys/linux/Makefile.in: Regenerated.
1576         * libc/sys/linux/crt1.c: New empty file to override one defaulted
1577         by gcc.  This fixes problem with reconfiguring linux newlib build.
1578         * libc/sys/linux/sysconf.c: New file.
1579
1580 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
1581
1582         * configure.host: Add support for machine subdirectory of
1583         sys subdirectory.
1584         * configure.in: Add check for sys machine subdirectory.
1585         * Makefile.am: Ditto.
1586         * configure: Regenerated.
1587         * Makefile.in: Ditto.
1588         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1589         * libc/sys/linux/sys/syscall.h: Ditto.
1590         * libc/sys/linux/sleep.c: New file.
1591         * libc/sys/linux/socket.c: Ditto.
1592         * libc/sys/linux/sockops.h: Ditto.
1593         * libc/sys/linux/stack.c: Ditto.
1594         * libc/sys/linux/usleep.c: Ditto.
1595         * libc/sys/linux/machine/Makefile.am: Ditto.
1596         * libc/sys/linux/machine/Makefile.in: Ditto.
1597         * libc/sys/linux/machine/aclocal.m4: Ditto.
1598         * libc/sys/linux/machine/configure: Ditto.
1599         * libc/sys/linux/machine/configure.in: Ditto.
1600         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1601         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1602         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1603         * libc/sys/linux/machine/i386/configure: Ditto.
1604         * libc/sys/linux/machine/i386/configure.in: Ditto.
1605         * libc/sys/linux/machine/i386/crt0.c: Ditto.
1606         * libc/sys/linux/machine/i386/sigset.c: Ditto.
1607         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1608         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1609         * libc/sys/linux/machine/i386/syscall.h: Ditto.
1610         * libc/sys/linux/sys/select.h: Ditto.
1611         * libc/sys/linux/configure.in: Add support for machine directory.
1612         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1613         * libc/sys/linux/Makefile.in: Regenerated.
1614         * libc/sys/linux/configure: Ditto.
1615         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1616         * libc/sys/linux/inode.c: Ditto.
1617         * libc/sys/linux/linux.c: Ditto.
1618         * libc/sys/linux/process.c: Ditto.
1619         * libc/sys/linux/systat.c: Ditto.
1620         * libc/sys/linux/time.c: Ditto.
1621         * libc/sys/linux/wait.c: Ditto.
1622         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1623         * libc/sys/linux/io.c: Change header plus add readv/writev.
1624         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1625         use __sigsuspend syscall.
1626         * libc/sys/linux/select.c: Change header plus change select to
1627         use _newselect syscall.
1628         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1629         used by glibc header files.
1630         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1631         types.
1632
1633 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1634
1635         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1636         initializing a struct _reent that has been dynamically allocated.
1637         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1638         _REENT_SMALL and does nothing otherwise.
1639         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1640         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1641         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1642         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1643         [_REENT_SMALL](struct _misc_reent): New structure containing
1644         miscellaneous reentrant areas needed by newlib.
1645         [_REENT_SMALL](struct _reent): Add _misc pointer.
1646         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1647         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1648         and _REENT_STRTOK_LAST macros.
1649         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1650         and _REENT_MBLEN_STATE macros.
1651         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1652         and _REENT_MBTOWC_STATE macros.
1653         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1654         and _REENT_WCTOMB_STATE macros.
1655
1656 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1657
1658         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1659
1660 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1661
1662         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1663
1664 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1665
1666         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1667         Store high part of leading bytes too.
1668
1669 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1670
1671         * libm/math/ef_hypot.c: Increase scale factor to 68.
1672
1673 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1674
1675         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1676         error.
1677
1678 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1679
1680         * libc/sys/go32/access.c: Change license to relaxed license
1681         used in identical file throughout newlib/libgloss.
1682
1683 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1684
1685         * libc/sys/arm/access.c: New file.
1686         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1687         * libc/sys/arm/Makefile.in: Regenerate.
1688         * libc/sys/arm/syscalls.c (_stat): New function.
1689
1690 2002-03-11  Michael Meissner  <meissner@redhat.com>
1691
1692         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1693         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1694         * libc/machine/mips/Makefile.in: Regenerate.
1695         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1696         * libc/machine/mips/memset.c: Dito.
1697         * libc/machine/mips/strcmp.c: Dito.
1698         * libc/machine/mips/strlen.c: Dito.
1699         * libc/machine/mips/strncmp.c: Dito.
1700
1701 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1702
1703         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1704         object so it works for shared library or statici library.
1705         * libc/machine/i386/Makefile.in: Regenerated.
1706
1707 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
1708
1709         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1710         Add memcpy.S, memset.S and strcpy.S.
1711         * libc/machine/sh/Makefile.in: Regenerate.
1712         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1713         (SHHI, SHLO): Define.
1714         * libc/machine/sh/memset.S: Add code for SH5.
1715         * libc/machine/sh/memset.S: Likewise.
1716         * libc/machine/sh/strcpy.S: Likewise.
1717
1718 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
1719
1720         * configure.host: Add check for --disable-newlib-io-float
1721         configuration option and add -DNO_FLOATING_POINT to newlib cflags
1722         if appropriate.
1723         * acinclude.m4: Added --disable-newlib-io-float option.
1724         * aclocal.m4: Regenerated.
1725         * configure: Ditto.
1726         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1727         * libc/*/aclocal.m4 libc/*/configure 
1728         * libm/*/aclocal.m4 libm/*/configure: Ditto.
1729         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1730         if NO_FLOATING_POINT flag is not defined.
1731
1732 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
1733
1734         * libc/include/sys/config.h: Add __extension__ in front of
1735         long long references.
1736
1737 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1738
1739         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1740         (_stat): Ditto.
1741
1742 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1743
1744         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1745         of off_t.
1746
1747 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1748
1749         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1750         clobbered registers.
1751
1752 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1753
1754         * configure.host (newlib_cflags): When host is in m68* add
1755         -DCOMPACT_CTYPE.
1756
1757 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
1758
1759         * libc/include/sys/config.h: Add definitions for
1760         __int16_t, __uint16_t, __int64_t, and __uint64_t.
1761
1762 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
1763
1764         * libc/sys/mmixware/link.c: New.
1765         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1766         volatile.
1767         * libc/sys/mmixware/times.c (_times): Renamed from times.
1768         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1769         properly by reading previous contents, not through BinaryReadWrite.
1770         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1771         * libc/sys/mmixware/Makefile.in: Regenerate.
1772
1773 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
1774
1775         * libc/include/grp.h: Don't declare group functions when compiling
1776         Cygwin.
1777
1778 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
1779
1780         * libc/include/grp.h: Include Cygwin specific header.
1781         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
1782         when compiling for Cygwin.
1783         * libc/include/sys/types.h: Don't define off_t, uid_t
1784         and gid_t when compiling for Cygwin.
1785
1786 2002-02-08  matthew green  <mrg@redhat.com>
1787
1788         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1789         _REENT_EMERGENCY_SIZE, not sizeof(char *).
1790
1791 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
1792
1793         Contribute sh64-elf.
1794         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1795         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1796         support in printf.
1797         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
1798         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1799         any labels.
1800         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1801         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1802         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1803         * libc/machine/sh/configure.in: Rework conditionals.
1804         * libc/machine/sh/Makefile.am: Likewise.
1805         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1806         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1807         * configure.host: Match `sh*'.
1808         * libc/include/machine/setjmp.h: Define for SH5.
1809         * libc/machine/sh/configure.in: Detect SH5.
1810         * libc/machine/sh/configure: Rebuilt.
1811         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1812         * libc/machine/sh/Makefile.in: Rebuilt.
1813         * libc/machine/sh/asm.h: Adjust for SH5.
1814         * libc/machine/sh/setjmp.S: Implement in SHmedia.
1815         * libc/sys/sh/crt0.S: Likewise.
1816         * libc/sys/sh/trap.S: Likewise.
1817
1818 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1819
1820         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1821         (mach_add_obj): Conditionally set to setjmp.o or nothing.
1822         (LIB_SOURCES): Remove $(mach_add_src).
1823         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1824         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1825         * libc/machine/i386/Makefile.in: Regenerate.
1826
1827 2002-02-05  Manik Raina <manik@cisco.com>
1828
1829         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1830         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1831         s, p, k, and outstr.
1832         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1833
1834 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1835
1836         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1837         _REENT_CHECK_EMERGENCY macro.
1838
1839 2002-02-03  matthew green  <mrg@redhat.com>
1840
1841         * libc/reent/signgam.c (__signgam): Fix error in previous.
1842
1843 2002-02-02  matthew green  <mrg@redhat.com>
1844
1845         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1846
1847         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1848         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1849         * libc/include/sys/reent.h (struct _reent): Completely new version
1850         for _REENT_SMALL.
1851         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1852         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1853         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1854         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1855         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1856         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1857         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1858         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1859         (_REENT_EMERGENCY): Likewise.
1860
1861         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1862         the start of the real __sFILE, used for stdin, stdout and stderr until
1863         they are setup properly.
1864         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1865         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1866         allocated stdin, stdout and stderr.
1867         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1868         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1869         * libc/stdio/perror.c (_perror_r): Likewise.
1870         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1871         * libc/stdio/putchar.c (_putchar_r): Likewise.
1872         * libc/stdio/puts.c (_puts_r): Likewise.
1873         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1874         * libc/stdio/vprintf.c (vprintf): Likewise.
1875         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1876
1877         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1878
1879         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1880         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1881         for _REENT_SMALL.
1882         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1883         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1884
1885         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1886         _REENT_SMALL.
1887         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1888         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1889         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1890         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1891         * libc/stdlib/rand48.c (__dorand48): Likewise.
1892         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1893         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1894         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1895         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1896         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1897         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1898         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1899         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1900         * libc/stdlib/rand.c (rand): Likewise.
1901
1902         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1903         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1904
1905         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1906         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1907         * libc/include/sys/reent.h (struct _mprec): New structure.
1908
1909         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1910         _unused_strtok_last.
1911         * libc/string/strtok.c (strtok): Use a local static variable.
1912
1913         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1914         (_REENT_EMERGENCY_SIZE): Likewise.
1915         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1916         _REENT_ASCTIME_BUF().
1917         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1918         _REENT_TM().
1919
1920         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1921         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1922         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1923         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1924         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1925         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1926
1927 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1928
1929         * configure.host (xstormy16): Don't use the generic malloc.
1930         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1931         * libc/machine/xstormy16/Makefile.in: Regenerate.
1932         * libc/machine/xstormy16/mallocr.c: New file.
1933         * libc/machine/xstormy16/tiny-malloc.c: New file.
1934
1935 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1936
1937         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1938         when _CYGWIN_TYPES_H is not defined.
1939
1940 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1941
1942         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1943
1944 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1945
1946         * libc/include/sys/signal.h: Remove pthread_kill declaration
1947         when __CYGWIN__ is defined.
1948
1949 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1950
1951         * libc/include/time.h: Add prototype for strptime for Cygwin.
1952
1953 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1954
1955         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1956         dst was not word aligned.
1957
1958         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1959         if too much memory is requested.
1960
1961 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1962
1963         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1964         reads blanks from the input file to break if EOF reached
1965         rather than end processing.
1966
1967 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1968
1969         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1970
1971 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1972
1973         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1974         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1975         libc/include/sys/config.h: Ditto.
1976
1977 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1978
1979         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1980
1981 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1982             Catherine Moore  <clm@redhat.com>
1983             Richard Henderson  <rth@redhat.com>
1984             Corinna Vinschen  <vinschen@redhat.com>
1985
1986         * configure.host: Add support for xstormy16.
1987         * libc/include/machine/ieeefp.h: Add support for xstormy16.
1988         * libc/include/machine/setjmp.h: Add support for xstormy16.
1989         * libc/include/sys/config.h: Add support for xstormy16.
1990         * libc/machine/xstormy16/Makefile.am: New file.
1991         * libc/machine/xstormy16/Makefile.in: New file.
1992         * libc/machine/xstormy16/aclocal.m4: New file.
1993         * libc/machine/xstormy16/configure: New file.
1994         * libc/machine/xstormy16/configure.in: New file.
1995         * libc/machine/xstormy16/setjmp.S: New file.
1996
1997 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1998
1999         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
2000         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
2001
2002 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
2003
2004         * libm/machine/Makefile.am: Change rules to create correct lib.a.
2005         * libm/machine/Makefile.in: Regenerated through automake.
2006
2007 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2008
2009         * Makefile.am (DOCDIR): Force to empty string when doc
2010         directory is not present.
2011
2012 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
2013
2014         * libc/machine/i386/f_*: Move to libm/machine/i386.
2015
2016 2001-12-18      Joel Sherrill <joel@OARcorp.com>
2017
2018         * libm/machine/Makefile.am: Add dummy doc stub so
2019         "make info" works.
2020
2021 2001-12-17      Joel Sherrill <joel@OARcorp.com>
2022
2023         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
2024
2025 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
2026
2027         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
2028         $(COMPILE) rather than $(CC).
2029         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
2030         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
2031         $(LIB_COMPILE) change.
2032         (vfiprintf.$(oext)): Likewise.
2033
2034 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
2035
2036         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
2037         conditionalized including of getopt stuff.
2038
2039 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
2040
2041         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
2042         compile line.
2043         (vfiprintf.$(oext)): Likewise.
2044
2045 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
2046
2047         * Makefile.shared: New file.
2048         * libc/sys/linux/shared.ld: New file.
2049         * libm/machine/*: New files.
2050         * libm/machine/i386/*: New files.
2051         * Makefile.am: Add libtool support.  Change math and mathfp
2052         references to variables.
2053         * configure.host: Add variables for libtool support.  Add
2054         libm_machine_dir variable.
2055         * configure.in: Add objectlist variables, for libtool
2056         support.  Add CC_FOR_BUILD tests.
2057         * libc/Makefile.am: Add libtool support.  Change crt0.o
2058         reference to be a variable reference.
2059         * libc/configure.in: Add libtool support.  Change sublib
2060         names to be lib${subdir}.la when using libtool.
2061         * libc/ctype/Makefile.am: Add libtool support.
2062         * libc/errno/Makefile.am: Likewise.
2063         * libc/locale/Makefile.am: Likewise.
2064         * libc/machine/Makefile.am: Likewise.
2065         * libc/machine/configure.in: Likewise.
2066         * libc/machine/i386/Makefile.am: Likewise.
2067         * libc/machine/i386/configure.in: Likewise.
2068         * libc/misc/Makefile.am: Likewise.
2069         * libc/posix/Makefile.am: Likewise.
2070         * libc/reent/Makefile.am: Likewise.
2071         * libc/signal/Makefile.am: Likewise.
2072         * libc/stdio/Makefile.am: Likewise.
2073         * libc/stdlib/Makefile.am: Likewise.
2074         * libc/string/Makefile.am: Likewise.
2075         * libc/sys/Makefile.am: Likewise.
2076         * libc/sys/configure.in: Likewise.
2077         * libc/sys/linux/Makefile.am: Add libtool support.  Change
2078         awk reference to a variable reference.  Change signal.h
2079         reference to a variable reference.
2080         * libc/sys/linux/configure.in: Add libtool support.
2081         * libc/syscalls/Makefile.am: Likewise.
2082         * libc/time/Makefile.am: Likewise.
2083         * libc/unix/Makefile.am: Likewise.
2084         * libm/Makefile.am: Add libtool support.  Change math and
2085         mathfp references to variables.
2086         * libm/configure.in: Add libtool support.  Add
2087         LIBM_MACHINE_LIB variable.
2088         * libm/common/Makefile.am: Add libtool support.
2089         * libm/math/Makefile.am: Likewise.
2090         * libm/mathfp/Makefile.am: Likewise.
2091         Regenerate all Makefile.in, aclocal.m4, and configure.
2092
2093 2001-12-13 Anita Kulkarni <anitak@kpit.com>
2094
2095         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
2096
2097 2001-12-06  John Peacock <jpeacock@rowman.com>
2098
2099         * libc/include/sys/unistd.h: Correct ualarm declaration.
2100
2101 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
2102
2103         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
2104         vector before calling the initialisation functions.
2105
2106 2001-11-29  Christopher Faylor  <cgf@redhat.com>
2107
2108         * libc/include/dirent.h: Protect against multiple inclusion.
2109
2110 2001-11-27  Christopher Faylor  <cgf@redhat.com>
2111
2112         * libc/include/sys/types.h: Define useconds_t.
2113         * libc/include/sys/ulimit.h: Declare ualarm.
2114
2115 2001-11-21  Christopher Faylor  <cgf@redhat.com>
2116
2117         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
2118
2119 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
2120
2121         * libc/sys/mmixware/*: Tweak license header in all source files.
2122
2123 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
2124
2125         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
2126         to here.  Rearrange for general inclusion by stdlib.h.
2127         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
2128         isn't defined.
2129         * libc/sys/linux/include/alloca.h: Move to libc/include.
2130
2131 2001-11-12  Anthony Green  <green@redhat.com>
2132
2133         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
2134
2135 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
2136
2137         * libc/sys/mmixware/*: Correct spacing in all source files.
2138         * libc/sys/mmixware/syscall.h: Move misplaced file...
2139         * libc/sys/mmixware/sys/syscall.h: ...here.
2140
2141 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
2142
2143         * libc/include/machine/ieeefp.h: Add support for mmix target.
2144         * libc/include/machine/setjmp.h: Ditto.
2145         * configure.host: Ditto.
2146         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
2147         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
2148         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
2149         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
2150         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
2151         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
2152         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
2153         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
2154         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
2155         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
2156         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
2157         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
2158         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
2159         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
2160         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
2161         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
2162         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
2163         libc/sys/mmixware/aclocal.m4: Generate.
2164
2165 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
2166
2167         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
2168         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
2169         when __CYGWIN__ is defined.
2170         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
2171         logwtmp().
2172
2173 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
2174
2175         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
2176         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
2177         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
2178         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
2179
2180 2001-10-24  Christopher Faylor  <cgf@redhat.com>
2181
2182         * libc/stdio/fseek.c: Reset pointer to buffer base
2183         when forced to seek outside of current buffer contents.
2184         This prevents the code from erroneously thinking there is
2185         anything in the current buffer.
2186
2187 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
2188
2189         * libc/include/math.h: The C++ standard adds the single-precision
2190         versions of the elementary functions.
2191
2192 2001-10-22  Christopher Faylor  <cgf@redhat.com>
2193
2194         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
2195         throughout.
2196         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
2197         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
2198         * system.c (_system_r): Ditto.
2199
2200 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
2201
2202         * libc/include/sys/unistd.h: Add prototype for fchdir() when
2203         __CYGWIN__ or __rtems__ is defined.
2204
2205 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
2206
2207         * libc/include/stdlib.h: add declarations for
2208         _strtoull_r, _strtoll_r, strtoull, and strtoll.
2209         * libc/stdio/local.h: remove declarations of
2210         __strtoull_r and __strtoll_r.
2211         * libc/stdio/vfscanf.c(__svfscanf_r): call
2212         _strtoull_r instead of __strtoull_r. Ditto
2213         _strtoll_r vs. __strtoll_r.
2214         * libc/stdlib/Makefile.am: add new files to
2215         .c list and .def list
2216         * libc/stdlib/Makefile.in: regenerate
2217         * libc/stdlib/strtoll_r.c: rename __strtoll_r
2218         as _strtoll_r
2219         * libc/stdlib/strtoull_r.c: rename __strtoull_r
2220         as _strtoull_r
2221         * libc/stdlib/strtoull.c: new file
2222         * libc/stdlib/strtoll.c: new file
2223
2224 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
2225
2226         * libc/include/process.h: Add getpid() declaration.
2227
2228 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
2229
2230         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
2231         for new style arm/elf ctor/dtor handling.
2232         Minor formatting tidy up.
2233
2234 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2235
2236         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
2237         and strtoull_r.c.
2238         * libc/stdlib/Makefile.in: Regenerated.
2239         * libc/stdlib/strtoll_r.c: New file.
2240         * libc/stdlib/strtoull_r.c: New file.
2241         * libc/stdio/local.h: Add prototypes for long long string
2242         conversion routines.
2243         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
2244         tied to %L integer conversion specifier.
2245
2246 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
2247
2248         * strftime.c (strftime): Fix "%W" implementation to properly handle
2249         Mondays too.
2250
2251 2001-09-07  Jeff Law  <law@redhat.com>
2252
2253         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
2254         __fini with "mov.l" instead of "mov.w".
2255
2256 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
2257
2258         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
2259         and getopt.h.
2260
2261 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
2262
2263         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
2264
2265 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
2266
2267         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
2268         field.
2269         (__DIRENT_VERSION): New define.
2270
2271 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
2272
2273         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
2274         Shrink __d_reserved accordingly to keep structure size.
2275         (dirfd): Declare external.
2276
2277 2001-08-29  Joel Sherrill <joel@OARcorp.com>
2278
2279         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
2280
2281 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2282
2283         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
2284           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
2285           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
2286           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
2287           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
2288           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
2289           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
2290           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
2291         Add conditional compilation to avoid HW FPU instructions
2292         when compiled for soft-float.
2293
2294 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
2295
2296         * Makefile.am: Add check for ln failing when creating libg.a
2297         so that cp gets used as a backup.
2298         * Makefile.in: Regenerated.
2299
2300 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
2301
2302         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
2303         No longer include time.h.  Add struct __tm to use for
2304         _localtime_buf in the reentrant structure.  Add a
2305         _NULL definition to use in initializing the reentrant struct.
2306         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
2307         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
2308         <sys/_types.h>.
2309         * libc/include/sys/unistd.h: Include <sys/_types.h>.
2310         * libc/time/lcltime.c (localtime): Cast the reentrant struct
2311         _localtime_buf to be struct tm *.
2312
2313 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
2314
2315         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
2316         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
2317         __ctors_end.
2318         * libc/sys/h8300hms/syscalls.c: Include errno.h.
2319         (_unlink): New stub function.
2320
2321 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
2322
2323         * libc/include/sys/errno.h: Add a cautionary comment.
2324
2325 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
2326
2327         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
2328         for SIZE_SZ so that alignment ends up a minimum of 8.
2329
2330 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
2331
2332         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
2333         arguments.
2334
2335         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
2336         Cygwin.
2337
2338 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
2339
2340         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
2341         macro constants for mallopt options.
2342         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
2343
2344 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
2345
2346         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
2347         otherwise default.
2348
2349 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
2350
2351         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
2352
2353 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
2354
2355         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
2356         Define for little endian ARMs.
2357
2358         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
2359         __IEEE_BYTES_LITTLE_ENDIAN is defined.
2360
2361 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
2362
2363         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
2364
2365 2001-06-11  Egor Duda  <deo@logos-m.ru>
2366
2367         * libc/ctype/ctype_.c: When compiled with gcc on platforms
2368         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
2369         initialized memory region. Platform can define COMPACT_CTYPE
2370         to avoid allocation of the additional 128 bytes of data.
2371         Add pointer to _ctype_ array. Always initialize all _ctype_
2372         array elements.
2373
2374 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
2375
2376         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
2377         NULL pointer.
2378
2379 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
2380
2381         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
2382
2383 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
2384
2385         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
2386         matching, non-word alignment, and the length is <= 4 but more than
2387         enough to move them over a word boundary.
2388         Add comments explaining what each instruction does.
2389
2390 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
2391
2392         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
2393         * libc/include/sys/unistd.h: Ditto.
2394
2395 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
2396
2397         * libc/string/strrchr.c: Use strchr for the speed improvements.
2398
2399 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
2400
2401         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
2402         real file systems, let __smakebuf() determine if line buffering
2403         should be used for stdout.
2404
2405 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
2406
2407         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
2408
2409 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
2410
2411         * libc/include/stdlib.h: Add prototype for _strtod_r.
2412
2413 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
2414
2415         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
2416         * libc/stdio/vprintf.c (_vprintf_r): new function
2417         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
2418         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
2419         _DEFUN, and call _vfprintf_r, not vfprintf.
2420         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2421         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2422         _DEFUN, and call _vfprintf_r, not vfprintf.
2423
2424 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
2425   
2426         * libc/include/sys/unistd.h [X_OK]: Use better protection against
2427         Cygwin X_OK definitions in sys/file.h.
2428
2429 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
2430
2431         * libc/include/sys/time.h: Define timercmp and other macros for
2432         __CYGWIN__, too.
2433
2434 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2435         
2436         * acinclude.m4: Added --enable-malloc-debugging configure flag.
2437         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2438         --enable-malloc-debugging selected.
2439         * aclocal.m4 configure: Regenerated.
2440           libm/aclocal.m4 libm/configure: Ditto.
2441         * libc/aclocal.m4 libc/configure: Ditto.
2442         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2443         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2444         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2445         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2446         * doc/aclocal.m4 doc/configure: Ditto.
2447
2448 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2449
2450         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2451         into one list.
2452         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2453         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2454         function prototypes.
2455         (_fscanf_r, _sscanf_r): Ditto.
2456         * libc/include/stdlib.h: Added _strtod_r prototype.
2457         * libc/stdio/Makefile.am: Add new v*scanf functions.
2458         * libc/stdio/Makefile.in: Regenerate.
2459         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2460         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
2461         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2462         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2463         (sscanf): Changed to call __svfscanf_r with _REENT argument.
2464         (_sscanf_r): New routine.
2465         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2466         with __svfscanf_r prototype.
2467         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2468         routines.
2469         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2470         structure as argument as calls reentrant versions of helper functions
2471         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2472         to _strtol_r and _strtod_r respectively.
2473         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2474         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2475         _REENT argument.
2476         * libc/stdio/vscanf.c: New file.
2477         * libc/stdio/vsscanf.c: Ditto.
2478
2479 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
2480
2481         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
2482         Define daylight to _daylight if it is not defined
2483         Prepare a variable export of timezone based on timezonevariable. 
2484         (Cannot be used with the timezone() function.)
2485
2486 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
2487
2488         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2489          Correct the numerical values.
2490
2491 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
2492
2493         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2494
2495 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
2496
2497         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2498         on case insensitve file systems.
2499
2500 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
2501
2502         * libc/include/sys/features.h: Add appropriate defines for Cygwin
2503         pthread support.
2504         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2505         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2506         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
2507
2508 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
2509
2510         * libc/include/machine/ieeefp.h: Comment about new configuration
2511         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2512         * libm/common/fdlib.h: Define new macros for testing floats.
2513         * libm/common/sf_*: Use them.
2514         * libm/math/ef_*: Likewise.
2515         * libm/math/sf_*: Likewise.
2516
2517 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
2518
2519         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2520         prolog to by-pass possible assembler error.
2521
2522 2001-03-21  Egor Duda  <deo@logos-m.ru>
2523
2524         Allow building internal stubs for non-reentrant syscalls
2525         if target provides its own malloc
2526         * libc/reent/reent.c (errno): Move definition here.
2527         * libc/reent/sbrkr.c: From here.
2528
2529 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
2530
2531         * libc/include/sys/types.h (BSD int typedefs): Guard with
2532         _BSDTYPES_DEFINED rather than _WINSOCK_H.
2533         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2534         _SYS_TYPES_FD_SET.
2535         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2536         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2537
2538 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
2539
2540         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2541         _PC_POSIX_SECURITY constants for Cygwin.
2542
2543 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
2544
2545         * libc/sys/cygwin/crt0.c: Add copyright hint.
2546         * libc/sys/cygwin/sys/dirent.h: Ditto.
2547         * libc/sys/cygwin/sys/param.h: Ditto.
2548         * libc/sys/cygwin/sys/utime.h: Ditto.
2549         * libc/sys/cygwin/sys/utmp.h: Ditto.
2550
2551 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
2552
2553         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2554         equivalent to LONGINT.
2555
2556 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
2557
2558         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2559         jmpbuf on MIPS64 targets.
2560         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2561
2562 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
2563
2564         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
2565           declarations.
2566
2567 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
2568
2569         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2570         For RTEMS, define to be ssize_t.  Default to int if not defined.
2571         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2572         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2573         * libc/stdio/local.h (__sread, __swrite): Likewise.
2574         * libc/include/sys/reent.h (_read, _write): Likewise.
2575         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2576         * libc/syscalls/sysread.c (read): Likewise.
2577         * libc/syscalls/syswrite.c (write): Likewise.
2578
2579 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
2580
2581         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2582
2583 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
2584
2585         * libc/include/sys/stat.h: Use special defines for executable stat bits
2586         when compiling for Cygwin.
2587         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2588         for Cygwin.
2589
2590 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2591
2592         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2593         of strtok_r is always defined.
2594
2595 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2596
2597         * libc/include/machine/ansi.h: New dummy header file.
2598
2599 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
2600
2601         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2602         changed the copyright information to allow free modification of the
2603         file with no reference to "copying.dj".
2604         * libc/include/sys/stat-dj.h: Ditto.
2605         * libc/machine/i386/setjmp.S: Ditto.
2606         * libc/sys/h8300hms/sys/file.h: Ditto.
2607         * libc/sys/sysmec/access.c: Ditto.
2608         * libc/sys/sysnecv850/access.c: Ditto.
2609         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2610         * libc/stdlib/getenv_r.c: Ditto.
2611         * libc/stdlib/putenv_r.c: Ditto.
2612         * libc/stdlib/setenv_r.c: Ditto.
2613         * libc/stdlib/getenv.c: Removed DJ reference since any possible
2614         modifications will now be in the _r version of this file.
2615         * libc/stdlib/putenv.c: Ditto.
2616         * libc/stdlib/setenv.c: Ditto.
2617         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2618         valid.  Added a reference to DJ's web page that contains his address.
2619         * libc/sys/go32/*.s: Removed references to DJ's old address.
2620         * libc/sys/go32/*.c: Ditto.
2621         * libc/sys/go32/*.h: Ditto.
2622         * libc/sys/go32/*.S: Ditto.
2623         * libc/sys/go32/sys/*.h: Ditto.
2624
2625 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
2626
2627         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2628         HAVE_FCNTL flag check.
2629         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2630         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2631
2632 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
2633
2634         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2635
2636 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
2637
2638         * libc/include/stdlib.h: Add declarations of rand48 functions and
2639         their reentrant versions.
2640         * libc/include/sys/reent.h: Move macros from rand48.h. Add
2641         struct _rand48 for shared parameters of rand48 functions.
2642         (struct _reent): Add a variable _r48 of struct _rand48.
2643         (_REENT_INIT): Add _r48 initialization.
2644         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2645         (CHEWOUT_FILES): Add rand48.def.
2646         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2647         * libc/stdlib/Makefile.in: Regenerated.
2648         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2649         NetBSD C library.
2650         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2651         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2652         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2653         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2654         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2655         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2656         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2657         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2658         * libc/stdlib/rand48.c (__dorand48): Ditto.
2659         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2660         parameters into macros referring them in the reentrant structure.
2661
2662 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
2663
2664         * libc/include/sys/stat.h: Add mknod for Cygwin now that
2665         Cygwin definition has correct prototype.
2666
2667 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2668
2669         * libc/include/sys/stat.h: Must revert change for mknod
2670         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2671         prototype.
2672
2673 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2674
2675         * libc/include/stdio.h: Revert putw prototype.
2676
2677 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
2678
2679         * libc/include/grp.h: add prototype for initgroups.
2680         * libc/include/stdio.h: fix prototype for putw.
2681         * libc/include/sys/signal.h: add prototype for killpg.
2682         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2683         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2684         vhangup and remove duplicate sysconf prototype.
2685
2686 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
2687
2688         * libc/sys/rtems/sys/types.h: Removed.
2689
2690 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
2691
2692         * libc/include/locale.h: add LC_MESSAGES definition
2693
2694 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2695
2696         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2697         SYS_get_argN):
2698         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2699         __setup_argv_and_call_main): New.
2700
2701 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
2702
2703         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2704         if defined.
2705         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2706         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2707         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2708         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2709
2710 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
2711
2712         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2713         compiling under Cygwin.
2714
2715 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
2716
2717         * libc/include/math.h (signgam): Change to errno-like solution
2718         using a function to return the address of the real signgam.
2719         * libc/reent/signgam.c: New file containing __signgam().
2720         * libc/reent/Makefile.am: Added signgam.c to list of files.
2721         * libc/reent/Makefile.in: Regenerated.
2722
2723 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
2724
2725         * libc/sys/sh/syscalls.c (_times): New.
2726
2727         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2728         * libc/sys/sh/syscalls.c (_gettimeofday): New.
2729
2730 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2731
2732         * libc/include/math.h (signgam): Regress previous fix as
2733         it does not handle programs with extern int signgam in them.
2734
2735 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2736
2737         * libc/include/math.h (signgam): Changed to a macro refering to
2738         its location in the reentrant structure.
2739
2740 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2741
2742         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2743         that suppressed . for %.0f, 0.1.  Check now looks if there
2744         are padding zeroes (expt) in addition to any digits (ndig) to
2745         print.
2746
2747 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
2748
2749         * libc/sys/arc/Makefile.am: New file.
2750         * libc/sys/arc/Makefile.in: Ditto.
2751         * libc/sys/arc/aclocal.m4: Ditto.
2752         * libc/sys/arc/configure: Ditto.
2753         * libc/sys/arc/configure.in: Ditto.
2754         * libc/sys/arc/crt0.S: Ditto.
2755         * libc/sys/arc/isatty.c: Ditto.
2756         * libc/sys/arc/mem-layout.c: Ditto.
2757         * libc/sys/arc/sbrk.c: Ditto.
2758         * libc/sys/arc/syscalls.c: Ditto.
2759         * libc/sys/arc/sys/syscall.h: Ditto.
2760
2761 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
2762
2763         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2764
2765 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
2766
2767         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2768
2769 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
2770
2771         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2772
2773 2001-01-09  Nick Clifton  <nickc@redhat.com>
2774
2775         * configure.host (v859): Remove unsupported compiler options.
2776
2777 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
2778
2779         * src/newlib/configure.host (*-*-rtems*): add printf long long
2780         support for RTEMS.
2781
2782 2000-12-19  Graham Stott <grahams@redhat.com>
2783
2784         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2785
2786 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2787
2788         * configure.host: Turn on long double I/O for Cygwin.
2789
2790 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2791
2792         * MAINTAINERS: Removed Ranjith.
2793         * NEWS: Updated for 1.9.0.
2794         * README: Updated.
2795         * acinclude.m4: Updated to release 1.9.0.
2796         * aclocal.m4 configure
2797           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2798           libc/machine/aclocal.m4 libc/machine/configure
2799           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2800           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2801           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2802           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2803           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2804           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2805           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2806           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2807           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2808           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2809           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2810           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2811           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2812           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2813           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2814           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2815           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2816           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2817           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2818           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2819           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2820           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2821           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2822           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2823           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2824           libc/sys/aclocal.m4 libc/sys/configure
2825           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2826           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2827           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2828           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2829           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2830           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2831           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2832           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2833           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2834           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2835           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2836           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2837           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2838           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2839           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2840           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2841           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2842           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2843           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2844           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2845           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2846           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2847           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2848           libm/aclocal.m4 libm/configure: Regenerated.
2849
2850 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2851
2852         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2853         when __CYGWIN__ is defined.
2854
2855 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2856
2857         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2858         that categorizes a long double as NaN, Infinity, or other.
2859         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2860         isinfl and isnanl static routines which were i386-specific.  Changed 
2861         calls to the two removed routines to a single _ldcheck call.
2862         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2863
2864 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2865
2866         * Makefile.am: Fixed install-data-local target to use
2867         $(mkinstalldirs) for the installed header files to ensure
2868         the directories exist before copying.
2869         * Makefile.in: Regenerated.
2870
2871 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2872
2873         * libc/include/sys/unistd.h: Restored Cygwin _SC
2874         constants and moved new constants appropriately
2875         so Cygwin will build.
2876
2877 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2878
2879         * Merge RTEMS specific .h files into main libc/include.
2880         * libc/sys/rtems/include/signal.h: Removed.
2881         * libc/sys/rtems/include/time.h: Removed.
2882         * libc/sys/rtems/sys/features.h: Removed.
2883         * libc/sys/rtems/sys/sched.h: Removed.
2884         * libc/sys/rtems/sys/siginfo.h: Removed.
2885         * libc/sys/rtems/sys/signal.h: Removed.
2886         * libc/sys/rtems/sys/time.h: Removed.
2887         * libc/sys/rtems/sys/times.h: Removed.
2888         definitions for time_t and clock_t since these are
2889         no longer in time.h.
2890         * libc/include/pthread.h: New file.
2891         * libc/include/sys/sched.h: New file.
2892         * libc/include/sys/features.h: New file.
2893         * libc/include/time.h: Removed duplicate definition of clock_t
2894         and time_t, get them from <sys/types.h> instead.  Add prototypes
2895         for POSIX clock and timer functionality.
2896         * libc/sys/linux/sys/types.h: Changed to include
2897         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2898         * libc/include/sys/signal.h: Add more complete set of POSIX
2899         signal functionality including real-time and threaded signals.
2900         * libc/include/sys/types.h: Add clock_t, time_t, struct
2901         timespec, and struct itimerspec.  Centralizing these makes 
2902         things cleaner.  RTEMS uses 64-bit dev_t.
2903         Added numerous primitive definitions
2904         for pthreads including macros, pthread_attr_t,
2905         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2906         pthread_once_t, and pthread_t.
2907         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2908         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2909         Feature flags removed and moved to new file <sys/features.h>.
2910         Full set of POSIX sysconf() constants
2911
2912 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2913
2914         * configure.host: Added x86 linux target.
2915         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2916         definitions provided if not already defined.
2917         * libc/sys/linux/crt0.c: New file.
2918         * libc/sys/linux/Makefile.am: Ditto.
2919         * libc/sys/linux/Makefile.in: Ditto.
2920         * libc/sys/linux/aclocal.m4: Ditto.
2921         * libc/sys/linux/brk.c: Ditto.
2922         * libc/sys/linux/configure: Ditto.
2923         * libc/sys/linux/configure.in: Ditto.
2924         * libc/sys/linux/getoptlong.c: Ditto.
2925         * libc/sys/linux/ids.c: Ditto.
2926         * libc/sys/linux/inode.c: Ditto.
2927         * libc/sys/linux/io.c: Ditto.
2928         * libc/sys/linux/linux.c: Ditto.
2929         * libc/sys/linux/process.c: Ditto.
2930         * libc/sys/linux/realpath.c: Ditto.
2931         * libc/sys/linux/select.c: Ditto.
2932         * libc/sys/linux/signal.c: Ditto.
2933         * libc/sys/linux/systat.c: Ditto.
2934         * libc/sys/linux/termios.c: Ditto.
2935         * libc/sys/linux/time.c: Ditto.
2936         * libc/sys/linux/wait.c: Ditto.
2937         * libc/sys/linux/include/alloca.h: Ditto.
2938         * libc/sys/linux/include/getopt.h: Ditto.
2939         * libc/sys/linux/include/stdint.h: Ditto.
2940         * libc/sys/linux/include/unistd.h: Ditto.
2941         * libc/sys/linux/sys/cdefs.h: Ditto.
2942         * libc/sys/linux/sys/dirent.h: Ditto.
2943         * libc/sys/linux/sys/errno.h: Ditto.
2944         * libc/sys/linux/sys/fcntl.h: Ditto.
2945         * libc/sys/linux/sys/file.h: Ditto.
2946         * libc/sys/linux/sys/ioctl.h: Ditto.
2947         * libc/sys/linux/sys/resource.h: Ditto.
2948         * libc/sys/linux/sys/signal.h: Ditto.
2949         * libc/sys/linux/sys/stat.h: Ditto.
2950         * libc/sys/linux/sys/syscall.h: Ditto.
2951         * libc/sys/linux/sys/termios.h: Ditto.
2952         * libc/sys/linux/sys/time.h: Ditto.
2953         * libc/sys/linux/sys/types.h: Ditto.
2954         * libc/sys/linux/sys/utmp.h: Ditto.
2955         * libc/sys/linux/sys/utsname.h: Ditto.
2956         * libc/sys/linux/sys/wait.h: Ditto.
2957
2958 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2959
2960         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2961         can be a relative path to $(top_srcdir)/install.sh so ensure the
2962         autoconf detected settings are properly passed recursively.
2963         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2964         properly to subdirectories.
2965         * Makefile.in: Regenerated.
2966
2967 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2968
2969         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2970         a floating point register unless really printing a floating
2971         point number.
2972
2973 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2974
2975         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2976         Also removed \r's.
2977         (asctoeg): Replaced alloca call with stack array and malloc
2978         when storage exceeds reasonable limit.
2979         (e53toe): Fixed einfin calls missing ldp parameter.
2980         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2981
2982 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2983
2984
2985         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2986
2987 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2988
2989         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2990         * libc/stdlib/Makefile.in: Regenerated.
2991         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2992         * libc/stdio/vfieeefp.h: Added long double bit structures.
2993         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2994         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2995         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2996         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2997         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2998         _strtold routines used for conversions between character
2999         and long double.
3000
3001 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3002
3003         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
3004
3005 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3006
3007         * libc/include/machine/time.h: RTEMS systems can configure clock
3008         tick rate so use sysconf() to ask.
3009
3010 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3011
3012         * libc/include/sys/times.h: Add reference to POSIX standard.
3013
3014 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3015
3016         * libc/include/sys/time.h: Added BSD timer manipulation macros
3017         used by RTEMS code.
3018
3019 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3020
3021         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
3022         referenced by code generated by gcc 2.8.1.
3023         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
3024         satisfy gcc.
3025
3026 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3027
3028         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
3029
3030 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3031
3032         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
3033
3034 2000-12-04  Joel Sherrill <joel@OARcorp.com>
3035
3036         * configure.host (or16, or32): New entries for OpenCores
3037         OpenRisc CPUs.
3038         (*-*-rtems*): Add -DNO_EXEC.
3039
3040 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
3041
3042         * libc/include/sys/errno.h: Added comments on many error numbers.
3043         * libc/string/strerror.c: Added some more strings.
3044
3045 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
3046
3047         * libc/sys/sh/syscalls.c (_link): New stub.
3048
3049 2000-11-29  Nick Clifton  <nickc@redhat.com>
3050
3051         * configure.host: Add xscale target.
3052         * libc/machine/xscale: New directory.
3053         * libc/machine/xscale/Makefile.am: New file.
3054         * libc/machine/xscale/Makefile.in: New file.
3055         * libc/machine/xscale/aclocal.m4: New file.
3056         * libc/machine/xscale/configure: New file.
3057         * libc/machine/xscale/configure.in: New file.
3058         * libc/machine/xscale/memchr.S: New file.
3059         * libc/machine/xscale/memcmp.S: New file.
3060         * libc/machine/xscale/memcpy.S: New file.
3061         * libc/machine/xscale/memmove.S: New file.
3062         * libc/machine/xscale/memset.S: New file.
3063         * libc/machine/xscale/strchr.S: New file.
3064         * libc/machine/xscale/strcmp.S: New file.
3065         * libc/machine/xscale/strcpy.S: New file.
3066         * libc/machine/xscale/strlen.S: New file.
3067
3068 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3069
3070         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
3071         avoid compiler warnings.
3072
3073 2000-11-22  Michael Meissner  <meissner@redhat.com>
3074
3075         * libc/posix/execl.c (execl): Don't reference environ directly,
3076         reference it only via a static pointer to avoid problems with some
3077         shared library systems and with different uses of small data where
3078         the user specifies his own version of environ.
3079         * libc/posix/execv.c (execv): Ditto.
3080         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
3081         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
3082         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
3083
3084         * libc/stdlib/getenv.c (environ): Delete unused reference to
3085         environ.
3086
3087         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
3088         colorization.
3089         * libc/stdlib/system.c: Ditto.
3090
3091 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
3092
3093         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
3094         including windows headers.
3095
3096 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
3097
3098         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
3099         * libc/include/dirent.h: Added definition of MAXNAMLEN if
3100         not defined by sys/dirent.h.
3101         * libc/posix/execvp.c: Added include of dirent.h to get
3102         MAXNAMLEN value which used to be in unistd.h.
3103
3104 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3105
3106         * libc/include/sys/types.h: Change type of i to `size_t' in
3107         FD_ZERO macro to avoid compiler warnings.
3108
3109 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
3110
3111         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
3112         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
3113
3114 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
3115
3116         * libc/include/sys/unistd.h: Add defines for sysconf values
3117         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
3118         _SC_AVPHYS_PAGES.
3119
3120 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
3121
3122         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
3123         declarations for __CYGWIN__.
3124
3125 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
3126
3127         * libc/signal/signal.c (__sigtramp_r): ISO C requires
3128         case labels to be integral constant expressions, so
3129         use an if/else tree instead.
3130         (_raise_r): Likewise.
3131
3132 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
3133
3134         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
3135         clipping patch from e-mail reader.
3136
3137 2000-09-13  Will Cohen  <wcohen@redhat.com>
3138
3139         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
3140         Added return value 0.
3141         (_longjmp): Allow longjmp to return value of second argument
3142         passed to it.
3143
3144 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
3145
3146         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
3147         inline code to prevent having to include another header file.
3148
3149 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
3150
3151         * Makefile.am: Fix space vs. tab problem in install-data-local.
3152         * Makefile.in: Regenerate.
3153
3154 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
3155
3156         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
3157         (_EXPARM): New macro for defining a function parameter.
3158         * libc/include/stdlib.h: Use _EXPARM.
3159         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
3160
3161 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
3162
3163         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
3164         required, as documented in the gnu coding standards.
3165         * Makefile.in: Regenerate.
3166
3167 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
3168
3169         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
3170         make O_NDELAY and O_NONBLOCK have the same value.
3171
3172 2000-08-30  Kazu Hirata  <kazu@hxi.com>
3173
3174         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
3175
3176 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3177
3178         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
3179         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
3180         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
3181         everywhere else.
3182
3183 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
3184
3185         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
3186         * libc/include/string.h: Don't include <sys/types.h>,
3187         as it causes really bad namespace pollution.  Don't declare
3188         swab(), it is properly declared in unistd.h.
3189
3190 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3191
3192         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
3193         (broken) support for non-existent /etc/passwd field "comment".
3194
3195 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3196
3197         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
3198         only if _DIRENT_HAVE_D_NAMLEN is defined.
3199         (alphasort): aligned prototype with
3200         libc/sys/cygwin/sys/dirent.h and simplified function body.
3201         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
3202         long telldir (DIR *) as mentioned in annex B of POSIX.1
3203
3204 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3205
3206         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
3207         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
3208         Added __CLI and __STI macros (controlled via
3209         _I386MACH_ALLOW_HW_INTERRUPTS macro).
3210         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
3211         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
3212         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
3213         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
3214         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
3215         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
3216         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
3217         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
3218         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
3219         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
3220         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
3221         for all global entry points.
3222         * libc/machine/i386/setjmp.S: removed code replicated in
3223         libc/machine/i386/i386mach.h and included i386mach.h instead;
3224         Use __CLI and __STI instead of cli and sti.
3225
3226 2000-08-25  DJ Delorie  <dj@redhat.com>
3227
3228         * libc/include/sys/unistd.h (environ): this one isn't from the
3229         DLL, no __IMPORT
3230
3231 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
3232
3233         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
3234         environ when compiling under cygwin since it is already declared in
3235         unistd.h.
3236
3237 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3238
3239         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
3240         like  x << y-z  to the equivalent  x << (y-z).
3241         (d2b): changed if statements with assignment to perform the
3242         assignment prior to the if check.
3243         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
3244         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
3245         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
3246         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
3247         precedence.
3248         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
3249         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
3250         execve.c).
3251         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
3252         precedence.
3253         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
3254         clarify && and || precendence (and to remove pascalism).
3255         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
3256         * libm/math/s_infconst.c: added another pair of braces to all
3257         initializers for __infinity (need three: for __infinity[1] array,
3258         for union __dmath, and for i[2]).
3259
3260 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3261
3262         * libc/stdlib/abort.c: changed description: uses "raise" instead of
3263         "getpid" and "kill"; added: uses "write" and "_exit".
3264         Also included unistd.h for "_exit" prototype.
3265         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
3266         reent.h for "_fork_r" and "_wait_r" prototypes.
3267         (do_system): changed  extern char *environ[] to POSIX-friendly 
3268         extern char **environ.
3269         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
3270         prototypes.
3271         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
3272         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
3273         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
3274         * libc/reent/openr.c: included fcntl.h for "open" prototype.
3275         * libc/reent/signalr.c: included signal.h for "kill" prototype,
3276         unistd.h for "getpid" prototype.
3277         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
3278         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
3279         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
3280         prototype.  Also included stdlib.h for "abort", string.h for
3281         "strdup" and "strncmp" prototypes.
3282         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
3283         "strncpy", unistd.h for "read" and "close" prototypes.
3284         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
3285         "strcat" prototypes.
3286
3287 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
3288
3289         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
3290         used later (ifdef __SCLE)
3291         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
3292         used later (ifdef MB_CAPABLE)
3293         * libc/string/memset.c (memset): removed unused variables "count"
3294         and "unaligned_addr"
3295         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
3296         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
3297         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
3298         and "gid"
3299
3300 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3301
3302         * libc/stdlib/envlock.c: changed documented "__env_lock" and
3303         "__env_unlock" prototype from "void *" or "char *" to
3304         "struct _reent *" to match real function.  Also added include
3305         of envlock.h.
3306         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
3307         "__malloc_unlock" prototype from "void *" or "char *" to
3308         "struct _reent *" to match real function.
3309         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
3310         prototypes (for getenv_r.c and setenv_r.c).
3311
3312 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
3313
3314         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
3315         and prototype in cygwin's utmp.h
3316
3317 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
3318
3319         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
3320
3321 2000-08-09  Nick Clifton  <nickc@cygnus.com>
3322
3323         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
3324         epilogue and to allow the functions to be used in a Thumb based
3325         toolchain.
3326
3327 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
3328
3329         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
3330         so size of 0 results in nothing being written to string.
3331         Also fixed code so that when size is non-zero, there is only
3332         a maximum of size - 1 characters written to the array and
3333         a nul terminator is appended at the end.
3334         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3335
3336 2000-08-01  DJ Delorie  <dj@redhat.com>
3337
3338         * libc/include/sys/config.h: define __IMPORT appropriately
3339         * libc/include/ctype.h (_ctype_): use __IMPORT
3340         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
3341         * libc/include/math.h (__mb_cur_max): ditto
3342         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
3343         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
3344         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
3345         * libc/include/unistd.h (environ): ditto
3346
3347 2000-07-28  Michael Meissner  <meissner@redhat.com>
3348
3349         * libc/include/math.h (__infinity): Declare as an array without
3350         bounds to get around small data support.  Rewrite Cygwin support
3351         to be more general.
3352         * libm/math/s_infconst.c (__infinity): Ditto.
3353         * libm/mathfp/s_infconst.c (__infinity): Ditto.
3354
3355 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
3356
3357         * libc/include/math.h: Use appropriate dll import linkage for
3358         __infinity under Cygwin.
3359
3360 2000-07-13  DJ Delorie  <dj@cygnus.com>
3361
3362         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
3363
3364 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
3365
3366         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
3367         to argument list for AngelSWI_Reason_GetCmdLine.
3368
3369 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
3370
3371         * configure.host: Add support for AVR target.
3372         * libc/include/machine/ieeefp.h: Likewise.
3373         * libc/include/sys/config.h: Likewise.
3374
3375 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
3376
3377         * README: Newlib 1.8.2 must be built in a separate directory
3378         than the sources.
3379
3380 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3381
3382         * libc/include/sys/reent.h (_rand_next): Added __extension__
3383         qualifier as long long type is not strict ANSI.
3384         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
3385         to long long constant.
3386
3387 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
3388
3389         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
3390         `setegid' provided by Cygwin.
3391
3392 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
3393
3394         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
3395         account for Cygwin.
3396
3397 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3398
3399         * libc/include/sys/reent.h (_rand_next): Changed to
3400         unsigned long long and moved to end of _reent struct in _new union.
3401         (_REENT_INIT): Changed to move _rand_next initialization.
3402         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
3403         linear congruential algorithm that is used by DJGPP.
3404
3405 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
3406
3407         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
3408         * libc/include/sys/config.h: Define __RAND_MAX.
3409
3410 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3411
3412         * libc/stdlib/rand_r.c: New algorithm that meets minimal
3413         standard.
3414
3415 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
3416
3417         * libc/include/string.h: Work around problem with strsignal and gdb.
3418
3419 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
3420
3421         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3422         * libc/include/malloc.h: Ditto.
3423         * libc/include/process.h: Ditto.
3424         * libc/include/stdio.h: Ditto.
3425         * libc/include/stdlib.h: Ditto.
3426         * libc/include/time.h: Ditto.
3427         * libc/include/machine/setjmp.h: Ditto.
3428         * libc/include/sys/errno.h: Ditto.
3429         * libc/include/sys/signal.h: Ditto.
3430         * libc/include/sys/stat.h: Ditto.
3431         * libc/include/sys/time.h: Ditto.
3432         * libc/include/sys/unistd.h: Ditto.
3433         * libc/include/string.h: Ditto.  strsignal should return a const char *.
3434
3435 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
3436
3437         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3438         * libm/common/s_log1p.c (log1p): Likewise.
3439         * libm/common/s_scalbn.c (scalbn): Likewise.
3440         * libm/math/e_log.c: Likewise.
3441         * libm/math/e_asin.c: Likewise.
3442         * libm/math/ef_asin.c: Likewise.
3443         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3444         * libm/math/e_j1.c (pone, qone): Likewise.
3445         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3446         * libm/math/ef_j1.c (ponef, qonef): Likewise.
3447         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3448         * libm/mathfp/e_j1.c (pone, qone): Likewise.
3449         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3450         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3451
3452 2000-05-19  DJ Delorie  <dj@cygnus.com>
3453
3454         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3455         (__sread): always read in binary mode
3456         (__swrite): always write in binary mode
3457         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3458         compatibility issues with different dll versions
3459         * libc/stdio/fopen.c: use __stextmode
3460         * libc/stdio/fdopen.c: ditto
3461         * libc/stdio/freopen.c: ditto
3462         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3463         * libc/stdio/local.h: declare __stextmode
3464         
3465 2000-05-18  DJ Delorie  <dj@cygnus.com>
3466
3467         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3468         
3469 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3470
3471         * libc/include/ctype.h: Changed tolower and toupper macros
3472         to use __extension__ to prevent pedantic warnings.
3473
3474 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
3475
3476         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3477         structures.
3478
3479 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
3480
3481         * libc/include/machine/ieeefp.h: Add ia64 support.
3482         * configure.host: Likewise.
3483
3484 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
3485
3486         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3487         month is now padded with space, not zero.  This now conforms to
3488         ANSI standard.
3489
3490 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
3491
3492         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3493         host or network path") used by cygwin. Add some comments.
3494
3495 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
3496
3497         * libc/include/stdio.h (FILE): define __SCLE for "convert line
3498         endings" for Cygwin.
3499         (__sgetc): convert line endings if needed
3500         (__sputc): ditto
3501         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3502         * libc/stdio/fopen.c (_fopen_r): ditto
3503         * libc/stdio/freopen.c (freopen): ditto
3504         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3505         * libc/stdio/fvwrite.c (__sfvwrite): ditto
3506
3507 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
3508
3509         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3510         post-increment when it is worth it, spacewise.
3511
3512 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
3513
3514         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3515         * libc/stdio/findfp.c (std): Added declaration of flags and file.
3516         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
3517         return type.
3518         * libc/stdio/putchar.c (putchar): Added return statement.
3519         * libc/stdio/refill.c (lflush): Added correct parentheses.
3520         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3521         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
3522         prints long value to use l qualifier.
3523         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3524         messages and initialized local values: ilim, ilim1, and spec_case.
3525         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3526         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3527         * libc/stdlib/mprec.c: Ditto.
3528         * libc/stdlib/setenv_r.c: Ditto.
3529         * libc/stdlib/strtod.c: Ditto.
3530         * libc/stdlib/strtol.c: Ditto.
3531         * libc/stdlib/strtoul.c: Ditto.
3532         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3533         * libm/common/sf_log1p.c: Ditto.
3534         * libm/common/sf_scalbn.c: Ditto.
3535         * libm/math/ef_log.c: Ditto.
3536
3537 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
3538
3539         * libc/posix/execvp.c (execvp): Check path for
3540         trailing slash.
3541
3542 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
3543
3544         * libc/include/sys/unistd.h: Add prototypes for
3545         fchmod, fchown, lchown.
3546
3547 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3548
3549         * acinclude.m4: Changed release to 1.8.2.
3550         * aclocal.m4 configure doc/aclocal.m4 doc/configure
3551           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3552           libc/machine/configure libc/machine/a29k/aclocal.m4
3553           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3554           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3555           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3556           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3557           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3558           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3559           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3560           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3561           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3562           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3563           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3564           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3565           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3566           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3567           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3568           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3569           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3570           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3571           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3572           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3573           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3574           libc/machine/v850/configure libc/machine/w65/aclocal.m4
3575           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3576           libc/machine/z8k/configure libc/sys/aclocal.m4
3577           libc/sys/aclocal.m4 libc/sys/configure
3578           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3579           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3580           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3581           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3582           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3583           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3584           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3585           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3586           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3587           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3588           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3589           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3590           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3591           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3592           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3593           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3594           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3595           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3596           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3597           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3598           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3599           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3600           libm/aclocal.m4 libm/configure: Regenerated.
3601
3602 2000-03-24  Nick Clifton  <nickc@cygnus.com>
3603
3604         * libc/sys/arm/syscalls.c: Fix compile time warnings.
3605         (do_AngelSWI): Add "cc" to list o registers clobbered.
3606
3607 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3608
3609         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3610         information to be clobbered by an Angel C library support syscall. 
3611
3612 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3613
3614         * libc/stdlib/envlock.c: Fixed comment typo.
3615
3616 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3617
3618         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3619         code to update nread as each character is processed instead
3620         of using buffer contents which throw away leading zeroes.
3621
3622 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
3623
3624         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3625
3626 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
3627
3628         * libc/include/string.h: Include <sys/types.h>.
3629
3630 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3631
3632         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3633         with XSH5, not SVID.
3634
3635 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3636
3637         * libc/include/string.h: Changed last argument back to ssize_t
3638         to make it compatible with XPG4 definition which is 
3639         defined in <unistd.h>.  There is a conflict in the SVID 3
3640         and XPG4 definitions and newlib will settle with XPG4.
3641         * libc/string/swab.c: Ditto.
3642
3643 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3644
3645         * libc/include/string.h: Changed last argument to size_t.
3646         * libc/string/swab.c: Changed last argument to size_t.
3647
3648 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3649
3650         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3651         (CHEWOUT_FILES): Added unlinkr.def.
3652         * libc/reent/Makefile.in: Rebuilt.
3653         * libc/sys.tex: Include unlinkr.def.
3654         * libc/reent/linkr.c (_unlink_r): Moved to...
3655         * libc/reent/unlinkr.c: ... new file.
3656
3657 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3658
3659         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3660         (CHEWOUT_FILES): Added swab.def.
3661         * libc/string/Makefile.in: Rebuilt.
3662         * libc/string/string.tex: Include swab.def.
3663         * libc/include/string.h (swab): Declare.
3664         * libc/string/swab.c: New file.
3665
3666 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3667
3668         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3669         (CHEWOUT_FILES): Added getw.def and putw.def.
3670         * libc/stdio/Makefile.in: Rebuilt.
3671         * libc/stdio/stdio.tex: Include getw.def and putw.def.
3672         * libc/stdio/getw.c: New file.
3673         * libc/stdio/putw.c: New file.
3674
3675 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3676
3677         * libc/stdio/flags.c (__sflags): Added check that mode[1]
3678         is non-null before looking at mode[2].
3679
3680 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3681
3682         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3683         * libm/mathfp/sf_atan.c: Ditto.
3684
3685 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
3686
3687         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3688
3689 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3690
3691         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3692         _DOUBLE_IS_32BITS.
3693
3694 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3695
3696         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3697         call prior to calling _VFPRINTF_R so reentrant data area is set.
3698         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3699
3700 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3701
3702         * libc/stdio/vfscanf.c (limits.h): #include.
3703         (MAX_LONG_LEN): #define.
3704         (__svfscanf): Handle floating point numbers with arbitrary amounts
3705         of leading zeroes.
3706
3707 2000-02-15  Nick Clifton  <nickc@cygnus.com>
3708
3709         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3710         zero.  Set the blocksize to 1024/
3711
3712 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3713
3714         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
3715         with line buffering.
3716
3717 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3718
3719         * acinclude.m4: Changed include directory for winsup headers. 
3720         * aclocal.m4 configure libc/aclocal.m4
3721           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3722           libc/locale/Makefile.in libc/machine/aclocal.m4
3723           libc/machine/configure libc/machine/a29k/aclocal.m4
3724           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3725           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3726           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3727           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3728           libc/machine/fr30/configure
3729           libc/machine/h8300/aclocal.m4
3730           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3731           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3732           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3733           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3734           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3735           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3736           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3737           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3738           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3739           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3740           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3741           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3742           libc/machine/powerpc/configure 
3743           libc/machine/sh/aclocal.m4
3744           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3745           libc/machine/sparc/configure
3746           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3747           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3748           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3749           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3750           libc/misc/Makefile.in libc/posix/Makefile.in
3751           libc/reent/Makefile.in 
3752           libc/signal/Makefile.in
3753           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3754           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3755           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3756           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3757           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3758           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3759           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3760           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3761           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3762           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3763           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3764           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3765           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3766           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3767           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3768           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3769           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3770           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3771           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3772           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3773           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3774           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3775           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3776           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3777           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3778           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3779           libm/configure: Regenerated.
3780
3781 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
3782
3783         * libc/stdlib/putenv_r.c (_putenv_r): New file.
3784         * libc/stdlib/strdup_r.c (_strdup_r): New file.
3785         * libc/include/string.h: Added _strdup_r.
3786         * libc/stdlib/putenv.c: Added call to reentrant version. 
3787         * libc/stdlib/strdup.c: Ditto.
3788         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3789         * libc/include/stdlib.h: Ditto.
3790         * libc/stdlib/Makefile.in: Regenerated. 
3791         * libc/string/Makefile.in: Regenerated.
3792         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3793         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3794         management calls to reentrant versions.
3795         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3796         * libc/stdlib/wctomb.c: Ditto.
3797         * libc/stdlib/mblen.c: Ditto.
3798         * libc/stdlib/mbstowcs.c: Ditto.
3799         * libc/stdlib/mbtowc.c: Ditto. 
3800         * libc/stdlib/getenv.c: Ditto.
3801         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3802         and _strdup_r.
3803
3804 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
3805
3806         patch from Corinna Vinschen <corinna@vinschen.de>
3807         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3808
3809 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
3810
3811         * libm/mathfp/s_atangent.c: Fix exponent calculation.
3812         * libm/mathfp/s_ldexp.c: Ditto.
3813         * libm/mathfp/sf_atangent.c: Ditto.
3814         * libm/mathfp/sf_ldexp.c: Ditto.
3815
3816 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3817
3818         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3819         * libc/include/locale.h: define NULL to be 0.
3820
3821 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
3822
3823         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3824         function.
3825
3826 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
3827
3828         * libc/machine/mn10300/setjmp.S: Handle am33.
3829
3830 1999-11-26  Nick Clifton  <nickc@cygnus.com>
3831
3832         * libc/sys/arm/syscalls.c: Add function prototypes.
3833         (stack_ptr): Move declaration before function definitions.
3834
3835 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3836
3837         * NEWS: Updated version information.
3838         * README: Ditto.
3839
3840 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
3841
3842         * libc/machine/i386/strchr.S: Fixed alignment test.
3843
3844 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
3845
3846         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3847
3848 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3849
3850         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3851         ensuring that there is space between the two.
3852
3853 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3854
3855         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3856         only.
3857
3858 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3859
3860         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3861         section
3862
3863 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3864
3865         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3866         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3867
3868 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3869         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3870           per POSIX 1003.1b.
3871         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3872           per POSIX 1003.1b.
3873
3874 1999-09-13  DJ Delorie  <dj@cygnus.com>
3875
3876         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3877         also.
3878
3879 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3880
3881         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3882         also note BUFSIZ as its size.
3883
3884 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3885
3886         * configure.host: Corrected feature defines for RTEMS.
3887         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3888         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3889         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3890           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3891           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3892           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3893           _PC_PRIO_IO, and _PC_SYNC_IO.
3894         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3895         * libc/machine/m68k/Makefile.in: Regenerated.
3896         * libc/machine/m68k/strcpy.c: New file.
3897         * libc/machine/m68k/strlen.c: New file.
3898         * libc/stdio/tmpnam.c: Always make the returned name usable.
3899         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3900         * libc/sys/rtems/sys/dirent.h: New file.
3901         * libc/sys/rtems/sys/types.h: Added dev_t.
3902
3903 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3904
3905         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3906
3907 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3908
3909         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3910         my patch.
3911
3912 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3913
3914         patch from Jeff Johnston <jjohnstn@cygnus.com>
3915         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3916         buffer is not in a useful state.
3917
3918 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3919
3920         * libc/sys/arm/syscalls.c (_link): Add stub.
3921
3922 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3923
3924         * ftell.c (ftell): Use actual position within buffer for text mode.
3925         * findfp.c (std): Initialize ptr->_bf._size.
3926
3927 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3928
3929         * libc/include/sys/unistd.h: Add nice() declaration.
3930
3931 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3932
3933         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3934         declare as a thumb function so that the disassembler will see the
3935         mode change.
3936
3937 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3938
3939         * libc/reent/reent.tex: Updated list of reentrant functions.
3940
3941 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3942
3943         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3944         
3945 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3946
3947         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3948         separate file.
3949         * libc/stdio/snprintf.c: New file.
3950         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3951         separate file.
3952         * libc/stdio/vsnprintf.c: New file.
3953         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3954         * libc/stdio/Makefile.in: Regenerated.
3955
3956 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3957
3958         Patch submitted by Egor Duda <deo@logos-m.ru>:
3959         * libc/include/stdio.h: Add declarations for *nprintf.
3960         * libc/stdio/sprintf.c (snprintf): New function.
3961         (_snprintf_r): New function.
3962         * libc/stdio/vsprintf.c (vsnprintf): New function.
3963         (_vnsprintf_r): New function.
3964
3965 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3966
3967         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3968         * libm/Makefile.am (stmp-targetdep): Ditto.
3969         * libc/Makefile.in: Regenerated.
3970         * libm/Makefile.in: Ditto.
3971
3972 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3973
3974         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3975         * libm/Makefile.am (stmp-targetdep): Ditto.
3976         * libc/Makefile.in: Regenerated.
3977         * libm/Makefile.in: Ditto.
3978
3979 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3980
3981         * Makefile.am: Removed dependencies on all-recursive and added "."
3982         to the SUBDIRS list to prevent infinite recursion from occurring.
3983         Also removed any references to EXTRA_DATA.
3984         * libc/Makefile.am: Ditto.
3985         * libc/machine/Makefile.am: Ditto.
3986         * libc/machine/i386/Makefile.am: Ditto.
3987         * libm/Makefile.am: Ditto.
3988         * libc/sys/Makefile.am: Ditto.
3989         * Makefile.in: Regenerated.
3990         * aclocal.m4: Ditto.
3991         * configure: Ditto.
3992         * doc/Makefile.in: Ditto.
3993         * doc/aclocal.m4: Ditto.
3994         * doc/configure: Ditto.
3995         * libc/Makefile.in: Ditto.
3996         * libc/aclocal.m4: Ditto.
3997         * libc/configure: Ditto.
3998         * libc/machine/Makefile.in: Ditto.
3999         * libc/machine/aclocal.m4: Ditto.
4000         * libc/machine/configure: Ditto.
4001         * libc/machine/mn10300/Makefile.in: Ditto.
4002         * libc/machine/mn10300/aclocal.m4: Ditto.
4003         * libc/machine/mn10300/configure: Ditto.
4004         * libc/sys/Makefile.in: Ditto.
4005         * libc/sys/aclocal.m4: Ditto.
4006         * libc/sys/configure: Ditto.
4007         * libm/Makefile.in: Ditto.
4008         * libm/aclocal.m4: Ditto.
4009         * libm/configure: Ditto.
4010
4011 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
4012
4013         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
4014
4015 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
4016
4017         * libc/include/stdlib.h: Add reentrant routines.
4018         * libc/stdlib/Makefile.am: Add reentrant routines.
4019         * libc/stdlib/Makefile.in: Ditto.
4020         * libc/stdlib/envlock.c: New file.
4021         * libc/stdlib/envlock.h: New file.
4022         * libc/stdlib/getenv.c: Modify to call reentrant routine.
4023         * libc/stdlib/getenv_r.c: New file.
4024         * libc/stdlib/mblen.c: Modify to call reentrant routine.
4025         * libc/stdlib/mblen_r.c: New file.
4026         * libc/stdlib/setenv.c: Modify to call reentrant routine.
4027         * libc/stdlib/setenv_r.c: New file.
4028         * libc/stdlib/stdlib.tex: Add reentrant routines.
4029
4030 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
4031
4032         * libc/include/sys/types.h: Define __MS_types__ whenever
4033         cygwin or win32.
4034
4035 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
4036
4037         * libc/include/machine/ieeefp.h: Always default to little
4038         endian if Windows, regardless of architecture.
4039         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
4040         regardless of architecture.
4041
4042 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
4043
4044         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
4045         _WIN32 isn't defined.
4046
4047 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4048
4049         * libm/common/s_rint.c (rint): Add volatile qualifier for
4050         intermediate value w.
4051         * libm/common/sf_rint.c (rintf): Ditto.
4052
4053 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4054
4055         * libc/sys/arm/syscalls.c (remap_handle): Added check to
4056         ensure that std streams are initialized before being referenced.
4057
4058 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
4059
4060         * README: Update reference to newlib@cygnus.com new
4061         newlib@sourceware.cygnus.com address.
4062
4063 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
4064
4065         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
4066         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
4067         defined, even if _WIN32 isn't defined.
4068
4069 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
4070
4071         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
4072
4073 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
4074
4075         * libc/include/sys/reent.h: Change Long and ULong to __Long and
4076         __ULong.
4077         * libc/stdlib/dtoa.c: Ditto.
4078         * libc/stdlib/mprec.c: Ditto.
4079         * libc/stdlib/mprec.h: Ditto.
4080         * libc/stdlib/strtod.c: Ditto.
4081
4082 1999-04-21  Nick Clifton  <nickc@cygnus.com>
4083
4084         * configure.host (mcore): Remove mcore machine directory.
4085
4086 1999-04-18  Nick Clifton  <nickc@cygnus.com>
4087
4088         * libc/include/machine/ieeefp.h: Add support for mcore target.
4089         * libc/include/machine/setjmp.h: Add support for mcore target.
4090         * configure.host: Add support for mcore target.
4091
4092 1999-04-13  Mark Salter  <msalter@cygnus.com>
4093
4094         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
4095         * libc/sys/arm/syscalls.c: Added isatty.
4096
4097 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4098
4099         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
4100         insert zeroes after significant digits.
4101
4102 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4103         
4104         * libc/stdio/vfprintf.c (cvt): Changed floating point
4105         cvt routine to use union used by dtoa to properly determine
4106         if the sign bit is on or not.
4107         * libc/stdio/vfieeefp.h: New file
4108         
4109 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4110
4111         * aclocal.m4: Regenerated.
4112         * configure: Regenerated.
4113
4114 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4115
4116         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
4117         f_tanf reference.
4118         * libc/machine/i386/Makefile.in: Regenerated.
4119
4120 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4121
4122         * acinclude.m4: Changed to work with new automake.
4123         * configure: Regenerated.
4124         * libc/machine/i386/aclocal.m4: Regenerated.
4125         * libc/machine/i386/configure: Regenerated.
4126
4127 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
4128
4129         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
4130         for telldir() and seekdir().  Rename unused structure element
4131         for use with these two routines.
4132
4133 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4134
4135         * libc/time/mktime.c (validate_structure): Multiple fixes to
4136         code to handle cases where input fields are outside valid ranges.
4137         * libc/stdlib/div.c (div): Modified invalid rounding check.
4138         * libc/stdlib/ldiv.c (ldiv): Ditto.
4139
4140 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4141
4142         * libc/machine/i386/memcpy.S: Performance rewrite.
4143         * libc/machine/i386/memmove.S: Ditto.
4144         * libc/machine/i386/i386mach.h: Added more register definitions.
4145         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
4146         option used.
4147         * libc/include/machine/fastmath.h: Add definitions for x86
4148         fast-math routines.
4149
4150 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
4151
4152         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
4153
4154 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
4155
4156         Adjust newlib headers for new Cygwin Win32 API header files:
4157         * libc/include/sys/time.h: Check _WINSOCK_H rather than
4158         _GNU_H_WINDOWS32_SOCKETS.
4159         * libc/include/sys/types.h: Ditto.
4160
4161 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
4162
4163         *include/sys/reent.h: Add checks for size of Bigint element Long.
4164         *libc/dtoa.c: Change routines to use generic Long type.
4165         *libc/mprec.c: Change routines to use generic Long type.
4166         *libc/mprec.h: Change routines to use generic Long type.
4167
4168 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
4169
4170         * libc/Makefile.am: Add .def files.
4171         * libc/Makefile.in: Regenerate.
4172         * libc/e_acosh.c: Documentation update.
4173         * libc/e_atanh.c: Documentation update.
4174         * libc/e_hypot.c: Documentation update.
4175         * libc/e_remainder.c: Documentation update.
4176         * libc/er_lgamma.c: Documentation update.
4177         * libc/mathfp.tex: Documentation update.
4178         * libc/s_acos.c: Documentation update.
4179         * libc/s_atan.c: Documentation update.
4180         * libc/s_atan2.c: Documentation update.
4181         * libc/s_cosh.c: Documentation update.
4182         * libc/s_fmod.c: Documentation update.
4183         * libc/s_isnan.c: Documentation update.
4184         * libc/s_log10.c: Documentation update.
4185         * libc/s_pow.c: Documentation update.
4186         * libc/w_jn.c: Documentation update.
4187
4188 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
4189
4190         * aclocal.m4: Regenerate.
4191         * configure: Regenerate.
4192
4193 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4194
4195         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
4196         to return 1 if user specified return code is 0.
4197         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
4198
4199 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4200
4201         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
4202         to save the return address.  Fixed longjmp to return to the original
4203         calling address of setjmp and to return the user specified return code
4204         rather than default to 1.
4205         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
4206
4207 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4208
4209         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
4210
4211 1999-02-10  Nick Clifton  <nickc@cygnus.com>
4212
4213         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
4214         volatile so that its assignments will not be discarded.
4215
4216 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4217
4218         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
4219         be __STRICT_ANSI__ which is generated by compiler.
4220         * libc/include/ctype.h: Ditto.
4221         * libc/include/math.h: Ditto.
4222         * libc/include/stdio.h: Ditto.
4223         * libc/include/stdlib.h: Ditto.
4224         * libc/include/string.h: Ditto.
4225         * libc/include/sys/signal.h: Ditto.
4226
4227 1999-02-08  Nick Clifton  <nickc@cygnus.com>
4228
4229         * configure.host: Add support for StrongARM target.
4230
4231 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4232
4233         * libc/string/strncpy.c (strncpy): Removed redundant code
4234         that was copying bytes if data unaligned.
4235
4236 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
4237
4238         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
4239         mbstowcs.def, and wcstombs.def.
4240
4241 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
4242
4243         * libc/include/sys/errno.h: Add Cygwin errno.
4244         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
4245         is specified.
4246
4247 1999-01-29  Nick Clifton  <nickc@cygnus.com>
4248
4249         * libc/sys/arm/syscalls.c: Move C library functions into seperate
4250         file.
4251         
4252         * libc/sys/arm/libcfunc.c: New file containing C library functions
4253         from syscalls.c
4254
4255         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
4256         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
4257
4258
4259 1999-01-27  Michael Meissner  <meissner@cygnus.com>
4260
4261         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
4262         type, and cut size in half so that the jmp_buf array is guaranteed
4263         to be aligned on a 64-bit boundary.
4264
4265 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4266
4267         * libc/string/strings.tex: Added information about
4268         strcasecmp and strncasecmp.
4269         * libc/stdlib/stdlib.tex: Added missing information
4270         about mblen, mbstowcs, and wcstombs.
4271         * libc/string/strchr.c: Changed how mask is built to use
4272         shift operators so register will be used instead of storage.
4273
4274 1999-01-22  DJ Delorie  <dj@cygnus.com>
4275
4276         * libc/include/stdlib.h: don't use dllimport if we're building
4277         newlib, since it's inside cygwin.dll
4278
4279 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
4280
4281         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
4282         _ctype_ under cygwin.
4283
4284 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
4285
4286         * include/stdlib.h: Fix typo from previous checkin.
4287
4288 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
4289
4290         * include/ctype.h: Use __declspec(dllimport) method for exporting
4291         variable from cygwin DLL.
4292         * include/time.h: Ditto.
4293         * sys/errno.h: Ditto.
4294         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
4295         * libc/locale/locale.c: Use __declspec(dllexport) method for
4296         exporting variable from cygwin DLL.
4297
4298 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
4299
4300         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
4301         access of bogus pointer will result in SIGSEGV.
4302
4303 1999-01-07  Nick Clifton  <nickc@cygnus.com>
4304
4305         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
4306         of an underscore prefix to function names.
4307
4308 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
4309
4310         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
4311         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
4312
4313 1998-12-31  Michael Meissner  <meissner@cygnus.com>
4314
4315         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
4316         to `%' if not already defined.
4317
4318 1998-12-30  Michael Meissner  <meissner@cygnus.com>
4319
4320         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
4321         arguments const char *, not char *.
4322         * libc/include/stdio.h (_tempnam_r): Ditto.
4323
4324         * libc/include/sys/reent.h (struct _reent): The _sig_func type
4325         points to a function taking an integer, not void.
4326
4327 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
4328
4329         * configure.host: Add a define for Cygwin builds.
4330         * libc/include/ctype.h: Don't use dll imported variables in newlib.
4331
4332 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
4333
4334         * libc/include/ctype.h: Define _ctype_ as dll imported variable
4335         for use with Cygwin.
4336         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
4337         dll imported variables for use with Cygwin.
4338         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
4339         as a dll imported variable for Cygwin.
4340
4341 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
4342
4343         * libc/include/sys/unistd.h: Add proto for getpass.
4344
4345 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
4346
4347         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
4348         alphasort.
4349
4350 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
4351
4352         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
4353         not posix_path_list_p.
4354
4355 1998-12-15  Nick Clifton  <nickc@cygnus.com>
4356
4357         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
4358         a signed int.
4359
4360 1998-12-13  Nick Clifton  <nickc@cygnus.com>
4361
4362         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
4363
4364 1998-12-12  Nick Clifton  <nickc@cygnus.com>
4365
4366         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
4367         <msalter@cygnus.com>
4368         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
4369         * libc/machine/fr30/Makefile.in: Regenerated.
4370
4371 1998-12-11  Nick Clifton  <nickc@cygnus.com>
4372
4373         * configure.host: Remove use of libc/sys for FR30 port.
4374         * libc/sys/fr30: Remove directory (replaced by libgloss).
4375
4376 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
4377
4378         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
4379         * libc/string/strncat.c (ALIGNED): Ditto.
4380
4381 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
4382
4383         * libc/include/sys/time.h: include sys/types.h
4384
4385 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4386
4387         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
4388         comparison found when checking word at a time.
4389
4390 1998-12-04  Nick Clifton  <nickc@cygnus.com>
4391
4392         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
4393
4394 1998-12-03  Nick Clifton  <nickc@cygnus.com>
4395
4396         * libc/sys/fr30/syscalls.c (_times): New function stub.
4397
4398 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4399
4400         * configure.host (mach_add_setjmp): Replaced mach_add_objs
4401         with mach_add_setjmp flag which indicates if setjmp should
4402         be added to the machine directory objects.
4403         * acinclude.m4: Removed reference to mach_add_objs.
4404         * aclocal.m4: Regenerated.
4405         * Makefile.in: Regenerated.
4406         * configure: Regenerated.
4407         * libc/aclocal.m4: Regenerated.
4408         * libc/Makefile.in: Regenerated.
4409         * libc/configure: Regenerated.
4410         * libc/machine/aclocal.m4: Regenerated.
4411         * libc/machine/Makefile.in: Regenerated.
4412         * libc/machine/configure: Regenerated.
4413         * libc/machine/i386/aclocal.m4: Regenerated.
4414         * libc/machine/i386/Makefile.am: Altered to selectively add
4415         setjmp.S to the src files list.
4416         * libc/machine/i386/Makefile.in: Regenerated.
4417         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
4418         * libc/machine/i386/configure: Regenerated.
4419
4420 1998-12-02  Nick Clifton  <nickc@cygnus.com>
4421
4422         * libc/sys/fr30/crt0.s (_start): Fix function names.
4423
4424         * libc/machine/fr30: New directory
4425         * libc/machine/fr30/Makefile.am: New file.
4426         * libc/machine/fr30/Makefile.in: New generated file.
4427         * libc/machine/fr30/configure.in: New file.
4428         * libc/machine/fr30/configure: New generated file.
4429         * libc/machine/fr30/aclocal.m4: New generated file.
4430         * libc/sys/fr30/Makefile.am: New file.
4431         * libc/sys/fr30/Makefile.in: New generated file.
4432         * libc/sys/fr30/configure.in: New file.
4433         * libc/sys/fr30/configure: New generated file.
4434         * libc/sys/fr30/syscalls.c: New file.
4435
4436 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
4437
4438         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4439
4440 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
4441
4442         * libc/time/strftime.c (strftime): Also handle %y for years before
4443         1900.
4444
4445 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
4446
4447         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4448         UNIX convention.  Perform tolower on characters before comparing
4449         them rather than use toupper.
4450         * libc/string/strncasecmp.c (strncasecmp): Ditto.
4451
4452 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4453         
4454         * configure.host: Added using i386 machine directory
4455         for all x86 cross-compiler and configuring
4456         which added object files to use via new "mach_add_objs" variable.
4457         * configure: Regenerated.
4458         * libc/configure: Regenerated.
4459         * libc/Makefile.in: Regenerated.
4460         * libc/aclocal.m4: Regenerated.
4461         * libc/ctype/Makefile.in: Regenerated.
4462         * libc/errno/Makefile.in: Regenerated.
4463         * libc/locale/Makefile.in: Regenerated.
4464         * libc/machine/Makefile.in: Regenerated.
4465         * libc/machine/aclocal.m4: Regenerated.
4466         * libc/machine/configure: Regenerated.
4467         * libc/posix/Makefile.in: Regenerated.
4468         * libc/reent/Makefile.in: Regenerated.
4469         * libc/signal/Makefile.in: Regenerated.
4470         * libc/stdio/Makefile.in: Regenerated.
4471         * libc/stdlib/Makefile.in: Regenerated.
4472         * libc/string/Makefile.in: Regenerated.
4473         * libc/string/memmove.c: Optimized code to use memcpy
4474         logic when performing a non-destructive copy.
4475         * libc/string/strncmp.c: Altered code to allow building
4476         optimized for size or speed.
4477         * libc/syscalls/Makefile.in: Regenerated.
4478         * libc/time/Makefile.in: Regenerated.
4479         * libc/unix/Makefile.in: Regenerated.
4480         * libc/machine/i386/Makefile.am: Added new files and reference
4481         to "mach_add_objs" to indicate optional object files.
4482         * libc/machine/i386/Makefile.in: Regenerated.
4483         * libc/machine/i386/aclocal.m4: Regenerated.
4484         * libc/machine/i386/configure: Regenerated.
4485         * libc/machine/i386/memchr.S: New file that implements
4486         function in Intel assembler.
4487         * libc/machine/i386/memcmp.S: ditto.
4488         * libc/machine/i386/memcpy.S: ditto.
4489         * libc/machine/i386/memmove.S: ditto.
4490         * libc/machine/i386/memset.S: ditto.
4491         * libc/machine/i386/strchr.S: ditto.
4492         * libc/machine/i386/strlen.S: ditto.
4493         * libc/machine/i386/f_atan2.S: New file that implements
4494         fast version of math function to be used by compiler when
4495         --ffast_math compile option is used.
4496         * libc/machine/i386/f_atan2f.S: ditto.
4497         * libc/machine/i386/f_exp.c: ditto.
4498         * libc/machine/i386/f_expf.c: ditto.
4499         * libc/machine/i386/f_frexp.S: ditto.
4500         * libc/machine/i386/f_frexpf.S: ditto.
4501         * libc/machine/i386/f_ldexp.S: ditto.
4502         * libc/machine/i386/f_ldexpf.S: ditto.
4503         * libc/machine/i386/f_log.S: ditto.
4504         * libc/machine/i386/f_logf.S: ditto.
4505         * libc/machine/i386/f_log10.S: ditto.
4506         * libc/machine/i386/f_log10f.S: ditto.
4507         * libc/machine/i386/f_math.h: New file.
4508         * libc/machine/i386/f_pow.c: ditto.
4509         * libc/machine/i386/f_powf.S: ditto.
4510         * libc/machine/i386/f_tan.S: ditto.
4511         * libc/machine/i386/f_tan.S: ditto.
4512         * libc/machine/i386/i386mach.h: New file.
4513
4514 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
4515
4516         patch from Mumit Khan <khan@xraylith.wisc.edu>
4517         * libc/include/stdio.h (tempnam): Add prototype.
4518         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4519         (tempnam): Adhere to prototype.
4520
4521 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
4522
4523         * Makefile.am: Add default for AR_FLAGS.
4524         * Makefile.in: Regenerate.
4525
4526 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
4527
4528         * libc/include/time.h: move __cplusplus wrapper after includes
4529         * libc/include/sys/time.h: ditto.  If Cygwin, include
4530         sys/select.h.
4531         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4532
4533 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
4534
4535         * libc/time/strftime.c (strftime): Handle %y after year 2000.
4536
4537 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
4538
4539         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4540         abnormnal end-of-crt0 marker.
4541
4542 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
4543
4544         * libc/sys/fr30/crt0.s: New file/directory.
4545         * libc/include/machine/setjmp.h: Add FR30 target.
4546         * libc/include/machine/ieeefp.h: Add FR30 target.
4547         * configure.host: Add FR30 target.
4548
4549 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4550
4551         * libm/math: Files that are duplicated in common directory removed.
4552         * libm/math/fdlibm.h: Removed.
4553         * libm/math/s_cbrt.c: Removed.
4554         * libm/math/s_copysign.c: Removed.
4555         * libm/math/s_expm1.c: Removed.
4556         * libm/math/s_finite.c: Removed.
4557         * libm/math/s_ilogb.c: Removed.
4558         * libm/math/s_infinity.c: Removed.
4559         * libm/math/s_lib_ver.c: Removed.
4560         * libm/math/s_log1p.c: Removed.
4561         * libm/math/s_logb.c: Removed.
4562         * libm/math/s_matherr.c: Removed.
4563         * libm/math/s_modf.c: Removed.
4564         * libm/math/s_nan.c: Removed.
4565         * libm/math/s_nextafter.c: Removed.
4566         * libm/math/s_rint.c: Removed.
4567         * libm/math/s_scalbn.c: Removed.
4568         * libm/math/sf_cbrt.c: Removed.
4569         * libm/math/sf_copysign.c: Removed.
4570         * libm/math/sf_expm1.c: Removed.
4571         * libm/math/sf_finite.c: Removed.
4572         * libm/math/sf_ilogb.c: Removed.
4573         * libm/math/sf_infinity.c: Removed.
4574         * libm/math/sf_log1p.c: Removed.
4575         * libm/math/sf_logb.c: Removed.
4576         * libm/math/sf_modf.c: Removed.
4577         * libm/math/sf_nan.c: Removed.
4578         * libm/math/sf_nextafter.c: Removed.
4579         * libm/math/sf_rint.c: Removed.
4580         * libm/math/sf_scalbn.c: Removed.
4581         * libm/math/Makefile.am: Removed references to deleted files (above).
4582         * libm/math/Makefile.in: Regenerated.
4583         * libm/Makefile.am: Added common directory to math.
4584         * libm/Makefile.in: Regenerated.
4585
4586 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4587
4588         * libm/mathfp: Add non-ANSI functions.
4589         * libm/mathfp/e_acosh.c acosh(): New file.
4590         * libm/mathfp/e_atanh.c atanh(): New file.
4591         * libm/mathfp/e_hypot.c hypot(): New file.
4592         * libm/mathfp/e_j0.c j0(): New file.
4593         * libm/mathfp/e_j1.c j1(): New file.
4594         * libm/mathfp/e_remainder.c remainder(): New file.
4595         * libm/mathfp/e_scalb.c scalb(): New file.
4596         * libm/mathfp/ef_acosh.c acoshf(): New file.
4597         * libm/mathfp/ef_atanh.c atanhf(): New file.
4598         * libm/mathfp/ef_hypot.c hypotf(): New file.
4599         * libm/mathfp/ef_j0.c j0f(): New file.
4600         * libm/mathfp/ef_j1.c j1f(): New file.
4601         * libm/mathfp/ef_remainder.c remainderf(): New file.
4602         * libm/mathfp/ef_scalb.c scalbf(): New file.
4603         * libm/mathfp/er_gamma.c gamma_r: New file.
4604         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4605         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4606         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4607         * libm/mathfp/w_cabs.c cabs(): New file.
4608         * libm/mathfp/w_drem.c drem(): New file.
4609         * libm/mathfp/w_jn.c jn(): New file.
4610         * libm/mathfp/wf_cabs.c cabsf(): New file.
4611         * libm/mathfp/wf_drem.c dremf(): New file.
4612         * libm/mathfp/wf_jn.c jnf(): New file.
4613
4614 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
4615
4616         * libc/sys/cygwin32: remove directory and contents
4617         * libc/sys/cygwin: and add back, losing the "32".
4618         * configure.host: check for cygwin* instead of cygwin32.
4619         * acinclude.m4: ditto.
4620         * aclocal.m4: regenerate with aclocal
4621         * configure: regenerate with autoconf
4622
4623 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
4624
4625         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4626         for length
4627
4628 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4629
4630         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4631         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4632         to make rand/srand, strtok, asctime, localtime, w_gamma,
4633         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
4634         time.h to bring in struct tm definition.
4635         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4636         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4637         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4638         instead of static variable.
4639         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4640         struct reent instead of static variable.
4641         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4642         struct reent instead of static variable.
4643         * libm/math/Makefile.am: Removed s_signgam.o.
4644         * libm/math/Makefile.in: Regenerated.
4645         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4646         struct reent instead of global variable 'signgam'.
4647         * libm/math/w_lgamma.c (lgamma): Likewise.
4648         * libm/math/wf_gamma.c (gammaf): Likewise.
4649         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4650         * libm/math/s_signgam.c: Removed.
4651         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4652         to be const.
4653         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4654         to be const.
4655         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4656         libc/include/reent.h.
4657         * libc/reent/Makefile.in: Regenerated.
4658         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4659         to be const.
4660         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4661         'JIS_action_table' to be const.
4662         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4663
4664 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
4665
4666         * acinclude.m4:  $with_target_subdir should default to '.'
4667         or confusion results when configuring in same directory as sources.
4668         * Regenerate all aclocal.m4 and configure files.
4669
4670 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4671
4672         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4673         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
4674         for platforms where sizeof(size_t) < sizeof(long) via
4675         SIZE_T_SMALLER_THAN_LONG macro.
4676         
4677 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4678
4679         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4680         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4681         which sets _CLOCKS_PER_SEC_ for selected machines.
4682         * libc/include/machine/time.h: New file.
4683
4684 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4685
4686         * libc/syscalls/sysexecve.c: New file.
4687         * libc/syscalls/sysgettod.c: New file.
4688         * libc/syscalls/systimes.c: New file.
4689         * libc/syscalls/Makefile.am: Added new objects.
4690         * libc/syscalls/Makefile.in: Regenerated.
4691         * libc/include/_syslist.h (_execve): Moved define in file.
4692         * libc/include/reent.h:  Added _execve_r declaration.
4693         * libc/Makefile.in: Regenerated.
4694         * libc/ctype/Makefile.in: Regenerated.
4695         * libc/errno/Makefile.in: Regenerated.
4696         * libc/locale/Makefile.in: Regenerated.
4697         * libc/machine/Makefile.in: Regenerated.
4698         * libc/misc/Makefile.in: Regenerated.
4699         * libc/posix/Makefile.in: Regenerated.
4700         * libc/reent/Makefile.in: Regenerated.
4701         * libc/reent/execr.c (_execve_r): Added _execve_r function.
4702         * libc/signal/Makefile.in: Regenerated.
4703         * libc/stdio/Makefile.in: Regenerated.
4704         * libc/time/Makefile.in: Regenerated.
4705         * libc/unix/Makefile.in: Regenerated.
4706         * libm/mathfp/Makefile.in: Regenerated.
4707
4708 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4709
4710         * libc/string/Makefile.in: Regenerated.
4711         * libc/string/memchr.c (memchr): Moved code to reduce object size.
4712         * libc/string/memcpy.c (memcpy): Ditto.
4713         * libc/string/memcmp.c (memcmp): Ditto.
4714         * libc/string/memset.c (memset): Ditto.
4715         * libc/string/strchr.c (strchr): Ditto.
4716         * libc/string/strcmp.c (strcmp): Ditto.
4717         * libc/string/strcpy.c (strcpy): Ditto.
4718         * libc/string/strlen.c (strlen): Ditto.
4719
4720 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4721
4722         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4723         to generate aclocal.m4.
4724         * libm/Makefile.in: Regenerated.
4725         * libm/aclocal.m4: Regenerated.
4726         * libm/configure: Regenerated.
4727         * libm/math/Makefile.in: Regenerated.
4728         * libm/mathfp/Makefile.in: Regenerated.
4729
4730 1998-09-25  Mark Salter  <msalter@cygnus.com>
4731
4732         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4733         by adding leading and trailing underscores to symbol names.
4734
4735 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
4736
4737         * Makefile.in: Add default for AR_FLAGS.
4738
4739 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
4740
4741         patch from ian@airs.com (Ian Taylor):
4742         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4743         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4744         is needed for detecting the build machine.  Required for
4745         cygwin native builds.
4746
4747         * Regenerate all aclocal.m4 and configure files.
4748
4749 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
4750
4751         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4752         used to start with LC.
4753
4754 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4755
4756         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4757         (longjmp): Likewise.
4758
4759 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4760
4761         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4762         the test for small number of bytes.
4763
4764 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4765
4766         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
4767         math library that uses floating point algorithms instead of the old
4768         libm.
4769         * Makefile.in: Regenerate with automake version 1.3b.
4770         * configure: Rebuild.
4771         * libm/Makefile.in: Regenerate with automake version 1.3b.
4772         * libm/aclocal.m4: Regenerate.
4773         * libm/configure: Rebuild.
4774         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4775         * libm/acinclude.m4: Define macros for configure.in.
4776         * libm/config.h.in: Generate.
4777         * libm/mathfp/Makefile.am: New file.
4778         * libm/mathfp/Makefile.in: Generate.
4779         * libm/mathfp/s_acos.c (acos): New file.
4780         * libm/mathfp/s_asin.c (asin): New file.
4781         * libm/mathfp/s_asine.c (asine): New file.
4782         * libm/mathfp/s_atan.c (atan): New file.
4783         * libm/mathfp/s_atan2.c (atan2): New file.
4784         * libm/mathfp/s_atangent.c (atangent): New file.
4785         * libm/mathfp/s_ceil.c (ceil): New file.
4786         * libm/mathfp/s_copysign.c (copysign): New file.
4787         * libm/mathfp/s_cos.c (cos): New file.
4788         * libm/mathfp/s_cosh.c (cosh): New file.
4789         * libm/mathfp/s_exp.c (exp): New file.
4790         * libm/mathfp/s_fabs.c (fabs): New file.
4791         * libm/mathfp/s_finite.c (finite): New file.
4792         * libm/mathfp/s_floor.c (floor): New file.
4793         * libm/mathfp/s_fmod.c (fmod): New file.
4794         * libm/mathfp/s_frexp.c (frexp): New file.
4795         * libm/mathfp/s_infconst.c: New file.
4796         * libm/mathfp/s_isinf (isinf).c: New file.
4797         * libm/mathfp/s_isnan.c (isnan): New file.
4798         * libm/mathfp/s_ispos.c (ispos): New file.
4799         * libm/mathfp/s_ldexp.c (ldexp): New file.
4800         * libm/mathfp/s_log.c (log): New file.
4801         * libm/mathfp/s_log10.c (log10): New file.
4802         * libm/mathfp/s_logarithm.c (logarithm): New file.
4803         * libm/mathfp/s_mathcnst.c: New file.
4804         * libm/mathfp/s_modf (modf).c: New file.
4805         * libm/mathfp/s_numtest.c (numtest): New file.
4806         * libm/mathfp/s_pow.c (pow): New file.
4807         * libm/mathfp/s_scalbn.c (scalbn): New file.
4808         * libm/mathfp/s_sin (sin).c: New file.
4809         * libm/mathfp/s_sine.c (sine): New file.
4810         * libm/mathfp/s_sineh.c (sineh): New file.
4811         * libm/mathfp/s_sinf.c (sinf): New file.
4812         * libm/mathfp/s_sinh.c (sinh): New file.
4813         * libm/mathfp/s_sqrt.c (sqrt): New file.
4814         * libm/mathfp/s_tan.c (tan): New file.
4815         * libm/mathfp/s_tanh.c (tanh): New file.
4816         * libm/mathfp/sf_acos.c (acosf): New file.
4817         * libm/mathfp/sf_asin.c (asinf): New file.
4818         * libm/mathfp/sf_asine.c (asinef): New file.
4819         * libm/mathfp/sf_atan.c (atanf): New file.
4820         * libm/mathfp/sf_atan2.c (atan2f): New file.
4821         * libm/mathfp/sf_atangent.c (atangent): New file.
4822         * libm/mathfp/sf_ceil.c (ceilf): New file.
4823         * libm/mathfp/sf_copysign.c (copysignf): New file.
4824         * libm/mathfp/sf_cos.c (cosf): New file.
4825         * libm/mathfp/sf_cosh.c (coshf): New file.
4826         * libm/mathfp/sf_exp.c (expf): New file.
4827         * libm/mathfp/sf_fabs.c (fabsf): New file.
4828         * libm/mathfp/sf_finite.c (finitef): New file.
4829         * libm/mathfp/sf_floor.c (floorf): New file.
4830         * libm/mathfp/sf_fmod.c (fmodf): New file.
4831         * libm/mathfp/sf_frexp.c (frexpf): New file.
4832         * libm/mathfp/sf_isinf.c (isinff): New file.
4833         * libm/mathfp/sf_isnan.c (isnanf): New file.
4834         * libm/mathfp/sf_ispos.c (isposf): New file.
4835         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4836         * libm/mathfp/sf_log.c (logf): New file.
4837         * libm/mathfp/sf_log10.c (log10f): New file.
4838         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4839         * libm/mathfp/sf_modf.c (modff): New file.
4840         * libm/mathfp/sf_numtest.c (numtestf): New file.
4841         * libm/mathfp/sf_pow.c (powf): New file.
4842         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4843         * libm/mathfp/sf_sin.c (sinf): New file.
4844         * libm/mathfp/sf_sine.c (sinef): New file.
4845         * libm/mathfp/sf_sineh.c (sinehf): New file.
4846         * libm/mathfp/sf_sinh.c (sinhf): New file.
4847         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4848         * libm/mathfp/sf_tan.c (tanf): New file.
4849         * libm/mathfp/sf_tanh.c (tanhf): New file.
4850         * libm/mathfp/zmath.h: New file.
4851
4852 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4853
4854         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4855         exit if it has been overwritten by pre-fetching in delay slot.
4856
4857 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4858
4859         * Makefile.am (tooldir): Add in host_alias, so that multilib
4860         libraries are installed in the directory the compiler looks in.
4861         * Makefile.in: Regenerate.
4862
4863         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4864
4865 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4866
4867         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4868         ahead of test for number of bytes being moved.
4869
4870 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4871
4872         * libc/include/sys/unistd.h: Nothing special needed for
4873         _exit under cygwin.
4874
4875 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4876
4877         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4878         conform to user label naming conventions. 
4879
4880 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4881
4882         * libc/sys/cygwin32/sys/utime.h: variable names in
4883         protos should start with two leading underscores
4884         * libc/include/string.h: ditto
4885         * libc/include/sys/signal.h: ditto
4886         * libc/include/sys/stat.h: ditto
4887         * libc/include/sys/time.h: ditto
4888         * libc/include/sys/unistd.h: ditto
4889         * libc/include/ctype.h: ditto
4890         * libc/include/stdlib.h: ditto
4891         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4892         void, same with _sig_func.
4893
4894 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4895
4896         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4897         for MB_CAPABLE to reduce code size when newlib is not configured
4898         with --enable-newlib-mb.
4899         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4900         mbtowc_r.o to minimize size.
4901         * libc/stdlib/Makefile.in: Rebuild.
4902         
4903 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4904
4905         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4906         to -DREENT.
4907         * libc/sys/sparc64/Makefile.in: Rebuild.
4908         
4909 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4910
4911         * Makefile.am (MAKEOVERRIDES): Define.
4912         * Makefile.in: Rebuild.
4913
4914 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4915
4916         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4917
4918 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4919
4920         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4921         newlib_cflags when looking for targ-include.
4922         * */aclocal.m4, */configure: Rebuild.
4923
4924 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4925
4926         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4927         to "_end".
4928
4929 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4930
4931         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4932         on SPARCs with little-endian data.
4933         * libc/include/machine/ieeefp.h: Ditto.
4934
4935 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4936
4937         * acinclude.m4: Handle a relative srcdir correctly when setting
4938         newlib_cflags.
4939         * */aclocal.m4, */configure: Rebuild.
4940
4941 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4942
4943         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4944         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4945         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4946         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4947         * libm/math/wr_gamma.c (gamma_r): ditto 
4948         * libm/math/wf_sqrt.c (sqrtf): ditto 
4949         * libm/math/wf_sinh.c (sinhf): ditto 
4950         * libm/math/wf_scalb.c (scalbf): ditto 
4951         * libm/math/wf_remainder.c (remainderf): ditto 
4952         * libm/math/wf_pow.c (powf): ditto 
4953         * libm/math/wf_log10.c (log10f): ditto 
4954         * libm/math/wf_log.c (logf): ditto 
4955         * libm/math/wf_lgamma.c (lgammaf): ditto 
4956         * libm/math/wf_jn.c (jnf, ynf): ditto 
4957         * libm/math/wf_j1.c (j1f, y1f): ditto 
4958         * libm/math/wf_j0.c (j0f, y0f): ditto 
4959         * libm/math/wf_hypot.c (hypotf): ditto 
4960         * libm/math/wf_gamma.c (gammaf): ditto 
4961         * libm/math/wf_fmod.c (fmodf): ditto 
4962         * libm/math/wf_exp.c (expf): ditto 
4963         * libm/math/wf_cosh.c (coshf): ditto 
4964         * libm/math/wf_atanh.c (atanhf): ditto 
4965         * libm/math/wf_atan2f.c (atan2f): ditto 
4966         * libm/math/wf_asin.c (asinf): ditto 
4967         * libm/math/wf_acosh.c (acoshf): ditto 
4968         * libm/math/wf_acos.c (acosf): ditto 
4969         * libm/math/w_sqrt.c (sqrt): ditto 
4970         * libm/math/w_sinh.c (sinh): ditto 
4971         * libm/math/w_scalb.c (scalb): ditto 
4972         * libm/math/w_remainder.c (remainder): ditto 
4973         * libm/math/w_pow.c (pow): ditto 
4974         * libm/math/w_log10.c (log10): ditto 
4975         * libm/math/w_log.c (log): ditto 
4976         * libm/math/w_lgamma.c (lgamma): ditto 
4977         * libm/math/w_jn.c (jn, yn): ditto 
4978         * libm/math/w_j1.c (j1, y1): ditto 
4979         * libm/math/w_j0.c (j0, y0): ditto 
4980         * libm/math/w_hypot.c (hypot): ditto 
4981         * libm/math/w_gamma.c (gamma): ditto 
4982         * libm/math/w_fmod.c (fmod): ditto 
4983         * libm/math/w_exp.c (exp): ditto 
4984         * libm/math/w_cosh.c (cosh): ditto 
4985         * libm/math/w_atanh.c (atanh): ditto 
4986         * libm/math/w_atan2f.c (atan2): ditto 
4987         * libm/math/w_asin.c (asin): ditto 
4988         * libm/math/w_acosh.c (acosh): ditto 
4989         * libm/math/w_acos.c (acos): ditto 
4990
4991 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
4992
4993         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4994         (fsrc): Add wf_cabs.c and wf_drem.c.
4995         * libm/math/Makefile.in: Rebuild.
4996
4997         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
4998         unused directory variables.  Remove duplicate CFLAGS.
4999         * Makefile.in: Rebuild.
5000
5001         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
5002         with $(CC_FOR_BUILD).
5003         (makedoc.o): Likewise.
5004         * doc/Makefile.in: Rebuild.
5005
5006         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
5007         force a definition of COMPILE.
5008         (libfoo_a_SOURCES): Define.
5009         * libc/sys/cygwin32/Makefile.in: Rebuild.
5010         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
5011         force a definition of COMPILE.
5012         (libfoo_a_SOURCES): Define.
5013         * libc/sys/tic80/Makefile.in: Rebuild.
5014
5015 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
5016
5017         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
5018         flag.
5019
5020 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
5021
5022         * Build using autoconf and automake.  Added many Makefile.am and
5023         configure.in files, plus generated files.  Old configure.in files
5024         and all old Makefile.in files completely replaced.  Removed
5025         host/any.  Added acinclude.m4 and configure.host.
5026
5027 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
5028
5029         * libc/stdio/vfprintf.c: enable long long support, sometimes.
5030         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
5031
5032 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5033
5034         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
5035         * libc/machine/sh/Makefile.in: Add rules for new files.
5036
5037 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5038
5039         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
5040         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
5041         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
5042
5043 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
5044
5045         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
5046         code is ignored.
5047
5048 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5049
5050         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
5051         internal static buffer when s is NULL, as prescribed by ANSI.
5052
5053 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
5054
5055         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
5056         removed.
5057         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
5058         libc/stdlib will be used for h8300hms.
5059         
5060 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5061
5062         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
5063         version that can be built either for speed or size.
5064         * libc/machine/mn10300/memset.S (_memset): ditto
5065         * libc/machine/mn10300/memchr.S (_memchr): ditto
5066         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
5067         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
5068         * libc/machine/mn10300/strchr.S (_strchr): ditto
5069         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
5070         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
5071         * libc/machine/mn10300/Makefile.in: Added entries for
5072         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
5073         strcmp.o, strcpy.o, and strlen.o.
5074
5075 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
5076
5077         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
5078         been replaced with libgloss/mn10200.
5079
5080 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
5081
5082         * libc/string/strchr.c (strchr): Make s a constant pointer to
5083         avoid warning.
5084
5085 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
5086
5087         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
5088         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
5089         board SWIs instead of Demon board SWIs).
5090
5091 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
5092
5093         * libc/string/strncat.c (strncat):  Make -Os act the same as
5094         PREFER_SIZE_OVER_SPEED being defined.
5095
5096 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
5097
5098         * libc/string/memchr.c (memchr): Make -Os act the same as
5099         PREFER_SIZE_OVER_SPEED being defined.
5100         * libc/string/memcmp.c (memcmp): Ditto.
5101         * libc/string/memcpy.c (memcpy): Ditto.
5102         * libc/string/memset.c (memset): Ditto.
5103         * libc/string/strcat.c (strcat): Ditto.
5104         * libc/string/strchr.c (strchr): Ditto.
5105         * libc/string/strcmp.c (strcmp): Ditto.
5106         * libc/string/strcpy.c (strcpy): Ditto.
5107         * libc/string/strlen.c (strlen): Ditto.
5108         * libc/string/strncat.c (strncat): Ditto.
5109         * libc/string/strncmp.c (strncmp): Ditto.
5110         * libc/string/strncpy.c (strncpy): Ditto.
5111
5112 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
5113
5114         * libc/include/sys/itimer.h: remove
5115         * libc/include/sys/time.h: itimer stuff should be here
5116
5117 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5118
5119         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
5120         bit instead of comparing to 0 so -0.0 can be printed correctly.
5121
5122 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5123
5124         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
5125
5126 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
5127
5128         * libc/include/sys/unistd.h: fix sync() proto
5129         * libc/include/sys/fcntl.h: remove _close which is already
5130         defined in unistd.h.
5131         * libc/include/sys/time.h: add getitimer proto
5132
5133 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
5134
5135         * libc/string/strchr.c: convert arg to unsigned char
5136         * libc/include/stdlib.h: add protos for random, srandom
5137         * libc/include/sys/stat.h: add lstat proto
5138         * libc/include/sys/time.h: add setitimer proto
5139         * libc/include/sys/unistd.h: add readlink, symlink protos
5140         * libc/include/process.h: instead of including windows.h and using
5141         HANDLEs in sexec protos, just use void *s.  Need to include
5142         sys/types.h.
5143
5144 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
5145
5146         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
5147
5148 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
5149
5150         * libc/include/process.h: add secure exec protos
5151
5152 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
5153
5154         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
5155         which are accessed as both doubles and integers.
5156         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
5157         * libc/stdlib/strtod.c (_strtod_r): Likewise.
5158         * libc/stdlib/mprec.h: Add "union double_union" and change
5159         word0/word1 macros to use it.
5160
5161 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
5162
5163         * libc/include/sys/signal.h: add __cplusplus wrapper
5164
5165 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
5166
5167         * libc/include/sys/utime.h: new generic file that gets replaced by
5168         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
5169         function.
5170         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
5171         * libc/include/time.h: remove duplicate utime proto
5172         * libc/include/utime.h: add comment
5173
5174 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
5175
5176         * libc/include/sys/time.h: Add missing include to
5177         allow use of _EXFUN.  Remove times function that is
5178         already defined in times.h.
5179
5180 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
5181
5182         * libc/include/time.h: Fix typo in tzset.
5183
5184 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
5185
5186         * libc/include/sys/time.h: add missing Cygwin32 function protos
5187         * libc/include/sys/unistd.h: ditto
5188         * libc/include/time.h: ditto
5189
5190 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
5191
5192         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
5193         FIXME.
5194         * libc/include/sys/types.h: add a new __MS_types__ section
5195         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
5196         __BIT_TYPES_DEFINED__.
5197
5198 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
5199
5200         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
5201         since it overrides the one in libc/include/sys.  Also, start
5202         including types.h.
5203
5204 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
5205
5206         * libm/math/Makefile.in: add s_signgam.o to obj list
5207
5208 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5209
5210         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
5211
5212 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
5213
5214         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
5215         so don't use defines.
5216
5217 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
5218
5219         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
5220
5221 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
5222
5223         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
5224         _current_locale as default locale.
5225
5226 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
5227
5228         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
5229         insufficient space in a chunk.
5230
5231 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5232
5233         * configure.in (links): Added check for --enable-newlib-mb configure
5234         option which defines the MB_CAPABLE macro.
5235         * libc/locale/locale.c (_setlocale_r): Added support for setting
5236         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
5237         defined.
5238         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
5239         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
5240         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
5241         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
5242         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
5243         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
5244         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
5245         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
5246         * libc/stdlib/Makefile.in: Added new multibyte
5247         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
5248         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
5249         _mbstowcs_r(), and _wcstombs_r().
5250         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
5251         for JIS, SJIS, and EUC-JP characters.
5252         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
5253         MB_CAPABLE defined.
5254         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
5255         MB_CAPABLE defined.
5256         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
5257         MB_CAPABLE defined.
5258         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
5259         if MB_CAPABLE defined.
5260         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
5261         if MB_CAPABLE defined.
5262         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
5263         to the format string processing when MB_CAPABLE.
5264         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
5265         call _mbtowc_r().
5266
5267 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
5268
5269         The following modifications are courtesy of Anthony Thompson,
5270         athompson@cambridge.arm.com:
5271         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
5272         boith RDI and RDP monitors.
5273         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
5274         RDI and RDP monitors.
5275
5276 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5277
5278         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
5279         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
5280         (_swiopen): Fixed open flags to treat write with append as just append.
5281         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
5282         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
5283
5284 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5285
5286         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
5287         When needing to transfer an initial 2-byte-word, store as
5288         two single bytes.
5289
5290 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5291
5292         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
5293         __SH3E__ .
5294         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
5295         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
5296
5297 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
5298
5299         * configure.in (target_cflags): If --enable-target-optspace, use
5300         -Os to compile newlib rather than -O2.  Default to using -Os for
5301         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
5302         used.
5303
5304 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
5305
5306         * libc/include/machine/setjmp.h: change sigsetjmp and
5307         siglongjmp definitions to use an array instead of a struct
5308         for __CYGWIN32__
5309
5310 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
5311
5312         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
5313
5314 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
5315
5316         * libc/string/strxfrm.c: fix to get correct return value
5317
5318 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
5319
5320         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
5321         builds.  Make mode change labels global so that they will be seen
5322         by the debugger.
5323
5324 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
5325
5326         * configure.in (links): Do not use ARM debiugging protocols for PE
5327         builds.
5328
5329         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
5330         message. 
5331
5332 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5333
5334         * libc/stdio/findfp.c (__sinit): Made stdout default to
5335         line buffered mode as defined by ANSI.
5336
5337 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
5338
5339         * libc/include/sys/itimer.h: New file.
5340
5341         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
5342
5343 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5344
5345         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
5346         failure.
5347
5348 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
5349
5350         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
5351         insns.
5352
5353 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
5354
5355         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
5356
5357 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
5358
5359         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
5360         support.
5361
5362         * libc/include/machine/setjmp.h: Add D30V support.
5363
5364         * configure.in (d30v-*): Add d30v machine directory.
5365
5366 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
5367
5368         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
5369         been replaced with libgloss/mn10300.
5370
5371 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
5372
5373         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
5374         it is no longer needed.
5375
5376 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
5377
5378         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
5379
5380 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
5381
5382         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
5383         the file when O_APPEND is set, wherever the EOF happens to be at
5384         that time. 
5385
5386 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
5387         
5388         patch from cgf@bbc.com (Christopher Faylor):
5389         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
5390         convention of closing fp prior to attempting to open the file
5391         argument.  This allows correct operation when reopening
5392         stdin/stdout/stderr.  Replaces last freopen.c patch.
5393
5394 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
5395
5396         patch from cgf@bbc.com (Christopher Faylor):
5397         * libc/stdio/freopen.c: freopen was not preserving the fd
5398         of the stream being operated on.  This confuses programs that
5399         expect that the handles for stdout and stderr will be 1 and 2.
5400
5401 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
5402
5403         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
5404
5405 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
5406
5407         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
5408
5409 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5410
5411         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
5412         altered to not use a branch.  Also added hint that last
5413         bclr in longjmp will likely result in branch.
5414         
5415
5416 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
5417
5418         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
5419
5420 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
5421
5422         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5423         v850 builds.
5424
5425         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
5426
5427 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5428
5429         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5430         that loads FR14 to specify offset of 8 rather than 4
5431         so it loads from offset 96 (where setjmp stored it).
5432
5433 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5434
5435         * libc/machine/sh/memcpy.S: (_memcpy): Update to
5436         latest version supplied by customer.
5437         * libc/machine/sh/memset.S (_memset): Ditto.
5438
5439 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
5440
5441         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5442         PR14730). 
5443
5444 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
5445
5446         * libc/include/string.h: remove redefinition of ffs
5447
5448 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
5449
5450         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5451         defined
5452
5453 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5454
5455         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5456         TI Libraries to link to libc.a
5457         
5458 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
5459
5460         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5461         * libc/include/sys/stat.h (_{,f}stat): Ditto.
5462         * libc/include/sys/wait.h (_wait): Ditto.
5463         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5464         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5465
5466 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
5467
5468         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
5469         minded stabs so function name shows up when running the simulator
5470         with -t.
5471         * libc/sys/d10v/{crt0,trap}.S: Ditto.
5472
5473 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
5474
5475         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
5476         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5477         Use R5 where we used to use R3.
5478         
5479 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
5480
5481         * libc/stdlib/getopt.c (getopt): replaced __progname
5482         with nargv[0] to improve portability to imbedded systems.
5483
5484 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
5485
5486         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5487         patch supplied by Tont.Thompson@arm.com to fix the creation of the
5488         stdout file.
5489
5490 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
5491
5492         * libc/stdio/tmpnam.c (worker): Generate a different file name
5493         each time.
5494
5495         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5496         fails, try an execlp for sh.
5497
5498         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5499         option for the winsup include directory.
5500
5501 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
5502
5503         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5504         debugging interface from Tony.Thompson@arm.com.
5505         
5506         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5507         * libc/sys/arm/swi.h: ditto.
5508
5509 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
5510
5511         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5512         DIR struct used for readdir hashes.
5513
5514 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
5515
5516         * libc/string/strchr.c: Use "unsigned chars" as necessary.
5517
5518 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
5519
5520         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5521         integer targets.
5522
5523 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5524
5525         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5526         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5527         * libc/include/malloc.h: Add extern "C" if __cplusplus.
5528         (__malloc_copy): Declare.
5529
5530 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
5531
5532         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5533         <sys/config.h>.
5534         (POINTER_UINT): Define.
5535         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5536         (MALLOC_ALIGNMENT): Don't define if already defined.
5537         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5538         long.
5539
5540 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
5541
5542         * libc/string/memset.c (memset): Fiddle with code so that the long
5543         value being stored is not a stack value.  Unroll storing longs 4
5544         times.
5545
5546 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
5547
5548         * Reduce code size for libm modules.
5549         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5550         and simply move code into sqrt.
5551         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5552         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5553         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5554         * libm/math/wr_gamma.c (gamma_r): Likewise.
5555         * libm/math/wf_sinh.c (sinfh): Likewise.
5556         * libm/math/w_sinh.c (sinh): Likewise.
5557         * libm/math/wf_scalb.c (scalbf): Likewise.
5558         * libm/math/w_scalb.c (scalb): Likewise.
5559         * libm/math/wf_remainder.c (remainderf): Likewise.
5560         * libm/math/w_remainder.c (remainder): Likewise.
5561         * libm/math/wf_pow.c (powf): Likewise.
5562         * libm/math/w_pow.c (pow): Likewise.
5563         * libm/math/wf_log10.c (log10f): Likewise.
5564         * libm/math/w_log10.c (log10): Likewise.
5565         * libm/math/wf_log.c (logf): Likewise.
5566         * libm/math/w_log.c (log): Likewise.
5567         * libm/math/w_lgamma.c (lgamma): Likewise.
5568         * libm/math/wf_lgamma.c (lgammaf): Likewise.
5569         * libm/math/wf_jn.c (jnf): Likewise.
5570         * libm/math/w_jn.c (jn): Likewise.
5571         * libm/math/wf_j1.c (j1f): Likewise.
5572         * libm/math/w_j1.c (j1): Likewise.
5573         * libm/math/wf_j0.c (j0f): Likewise.
5574         * libm/math/w_j0.c (j0): Likewise.
5575         * libm/math/wf_hypot.c (hypotf): Likewise.
5576         * libm/math/w_hypot.c (hypot): Likewise.
5577         * libm/math/wf_gamma.c (gammaf): Likewise.
5578         * libm/math/w_gamma.c (gamma): Likewise.
5579         * libm/math/wf_fmod.c (fmodf): Likewise.
5580         * libm/math/w_fmod.c (fmod): Likewise.
5581         * libm/math/wf_exp.c (expf): Likewise.
5582         * libm/math/w_exp.c (exp): Likewise.
5583         * libm/math/wf_cosh.c (coshf): Likewise.
5584         * libm/math/w_cosh.c (cosh): Likewise.
5585         * libm/math/wf_atanh.c (atanhf): Likewise.
5586         * libm/math/w_atanh.c (atanh): Likewise.
5587         * libm/math/wf_atan2.c (atan2f): Likewise.
5588         * libm/math/w_atan2.c (atan2): Likewise.
5589         * libm/math/wf_asin.c (asinf): Likewise.
5590         * libm/math/w_asin.c (asin): Likewise.
5591         * libm/math/wf_acosh.c (acoshf): Likewise.
5592         * libm/math/w_acosh.c (acosh): Likewise.
5593         * libm/math/wf_acos.c (asocf): Likewise.
5594         * libm/math/w_acos.c (acos): Likewise.
5595         * libm/math/wf_sqrt.c (sqrtf): Likewise.
5596         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5597         for embedded systems.
5598
5599 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
5600
5601         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5602         Lea in case of a foreign sbrk.
5603
5604 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
5605
5606         Incorporate Doug Lea's malloc:
5607         * libc/stdlib/mallocr.c: Completely replaced.
5608         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5609         (realloc): Remove.
5610         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5611         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5612         mallopt.
5613         (mallinfo, malloc_stats, mallopt): New functions.
5614         (_mstats_r): Just call _malloc_stats_r.
5615         * libc/stdlib/malign.c: New file.
5616         * libc/stdlib/mlock.c: New file.
5617         * libc/stdlib/msize.c: New file.
5618         * libc/stdlib/mtrim.c: New file.
5619         * libc/stdlib/realloc.c: New file.
5620         * libc/stdlib/valloc.c: New file.
5621         * libc/stdlib/malloc.h: Remove.
5622         * libc/stdlib/callocr.c: Remove.
5623         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5624         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5625         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5626         reallocr.o, valloc.o, vallocr.o.
5627         (CHEWOUT_FILES): Add mlock.def, mstats.def.
5628         (MALLOC_CFLAGS): New variable.
5629         (mallocr.o): New target, build from mallocr.c.
5630         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5631         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5632         (msizer.o, malloptr.o): Likewise.
5633         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5634         (valloc.o): New target.
5635         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5636         * libc/include/malloc.h: Declare struct mallinfo, and new
5637         routines.
5638         * libc/include/stdlib.h (cfree): Correct declaration.
5639
5640 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
5641
5642         * libc/include/machine/setjmp.h: Add support for Thumb target.
5643
5644         * libc/include/machine/ieeefp.h: Add support for Thumb target.
5645
5646         * configure.in (links): Add support for Thumb target.
5647
5648 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
5649
5650         * libc/sys/arm/setjmp.S: Updated with version from branch.
5651
5652 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
5653
5654         * libc/include/stdio.h: add POSIX-required define L_ctermid
5655         for ctermid
5656
5657 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
5658
5659         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5660         addition to MISSING_SYSCALL_NAMES.
5661
5662 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5663
5664         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
5665
5666 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
5667
5668         * libc/include/string.h: change strsignal proto to return
5669         a char *.  This eliminates compile problems in gdb resulting
5670         from gdb's definition of strsignal in defs.h.
5671
5672 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
5673
5674         * libc/sys/cygwin32/sys/utime.h: new (moved here from
5675         winsup/include) so as not to conflict with the one in
5676         libc/include.
5677         * libc/include/string.h: add protos for strsignal, strtosigno
5678
5679 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
5680
5681         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5682
5683         * configure.in (d30v-*-*): Add configuration.
5684
5685 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
5686
5687         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5688         to select which kind of debug monitor is in use for an ARM target.
5689
5690         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5691         Angel and Demon debug monitors.  Part of this code was supplied by
5692         Tony Thompson at ARM: athompso@arm.com.
5693
5694 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
5695
5696         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5697         semantics when the count is greater than the length of the second
5698         source string.
5699
5700 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
5701
5702         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5703         * libc/include/sys/unistd.h: add protos for usleep, truncate,
5704         truncate and ftruncate take off_t, not size_t
5705
5706 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
5707
5708         * libc/string/strcat.c (strcat): Add missing comment end.
5709         * libc/string/strncat.c (strncat): Likewise.
5710
5711 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
5712
5713         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5714         targets. 
5715         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
5716         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5717         defined.  
5718         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5719         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5720         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5721
5722 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
5723
5724         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5725         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5726
5727 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
5728
5729         * libc/machine/i386/setjmp.S: New file.
5730         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5731         (OFILES): Add setjmp.o.
5732         (setjmp.o): Add rule for.
5733         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5734
5735 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
5736                          Jeffrey A Law  (law@cygnus.com)
5737
5738         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5739         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5740         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5741         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5742
5743 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
5744
5745         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5746         rules. 
5747
5748         * libc/include/sys/config.h: Use __v850 to select v850
5749         endianness. 
5750
5751         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5752         buffer size.
5753
5754         * libc/include/machine/ieeefp.h: Use __v850 to select v850
5755         endianness. 
5756
5757 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
5758
5759         * libc/stdlib/setenv.c: change unsetenv definition to match
5760         style of setenv (with _DEFUN).  The string should be a const.
5761         * libc/include/stdlib.h: unsetenv proto should return void.
5762
5763 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
5764
5765         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5766
5767 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
5768
5769         * libc/stdio/glue.h: remove.
5770         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5771         * libc/stdio/Makefile.in: remove glue.h dependencies
5772
5773 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
5774
5775         * libc/sys/sysnecv850/crt0.S: Created V850e version.
5776         
5777 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
5778
5779         * configure.in (target_cpu): Add `arc'.
5780
5781 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
5782
5783         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
5784           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5785         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5786         * newlib/libc/reent/reent.c: Add _wrapup_reent.
5787         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5788
5789 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
5790
5791         * libc/machine/mips/setjmp.S: Handle mips16 builds.
5792
5793 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5794
5795         * libc/include/stdio.h (siprintf): Declare.
5796
5797 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
5798
5799         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5800         TARGET_CFLAGS and NEWLIB_FLAGS.
5801
5802 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5803
5804         * configure.in (links): Add support for v850ea target.
5805
5806 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5807
5808         * configure.in (links): Add support for v850e target.
5809
5810 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
5811
5812         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5813
5814 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
5815
5816         * configure.in (arc-*-*): Add support for.
5817         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5818
5819 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5820
5821         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5822
5823 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
5824
5825         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5826         comparison which accesses invalid memory when the key is
5827         larger than the last member of the array.
5828         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5829         for CYGWIN32
5830         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5831
5832 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5833
5834         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5835         not _STRICT_ANSI.
5836
5837 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
5838
5839         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5840         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5841
5842 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
5843
5844         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5845         to load/store memory.
5846
5847 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
5848
5849         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5850         underscores if _WIN32.
5851
5852 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
5853
5854         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5855         support ifdef _USE_WRITE missed in last change.
5856         From Anders Blomdell <anders.blomdell@control.lth.se>.
5857
5858 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5859
5860         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5861         (_tmpnam_r, _tempnam_r): Update.
5862
5863 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5864
5865         * libc/machine/sparc/setjmp.S: New file.
5866         * libc/machine/sparc/Makefile.in: Add setjmp.
5867         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5868
5869 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5870
5871         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5872
5873 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5874
5875         From Joel Sherrill <joel@oarcorp.com>.
5876         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5877
5878         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5879         * configure.in: Recognize *-*-rtems*.
5880         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5881         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5882         time.h,times.h,types.h}: New files.
5883         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5884
5885 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5886
5887         patch from sos@prospect.com.ru (Sergey Okhapkin):
5888         * include/sys/wait.h: correct operator precidence bug
5889         in WIFSIGNALED
5890
5891 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5892
5893         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5894         with newlib's unsetenv function
5895         * libc/sys/cygwin32/sys: new directory for includes
5896         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5897         here from winsup/include/sys
5898
5899 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5900
5901         * libc/include/sys/unistd.h: _exit should only be
5902         labelled noreturn when not __CYGWIN32__
5903         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5904         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5905         increment NSIG
5906
5907 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5908
5909         * libc/include/sys/time.h: Only define timeval and timezone if
5910         _GNU_H_WINDOWS32_SOCKETS is not defined.
5911         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5912
5913 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5914
5915         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5916         * libc/machine/mn10300/setjmp.S: Likewise.
5917
5918         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5919         the mn10300 (more relaxing opportunities).
5920
5921 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5922
5923         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5924         Build libraries with -mstrict-align.
5925
5926 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5927
5928         * libc/string/strlwr.c: New file.
5929         * libc/string/strupr.c: New file.
5930         * libc/include/string.h: Declare strlwr and strupr.
5931         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5932         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5933         (strlwr.o, strupr.o): New targets.
5934         * libc/string/strings.tex: Include strlwr and strupr docs.
5935
5936         * libc/include/sys/types.h: Don't define u_char, et. al., if
5937         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5938         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5939         _types_fd_set rather than fd_set, and define fd_set as a macro.
5940
5941         * libc/include/malloc.h: New file.
5942
5943         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5944         strnicmp if they are not already defined.
5945
5946         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5947         _timezone, _daylight, and _tzname.
5948
5949 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5950
5951         * configure.in: Sort all configuration tables.
5952
5953         From Joel Sherrill <joel@oarcorp.com>
5954         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5955
5956 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5957
5958         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5959         use int when declaring kill.
5960
5961         * libc/include/sys/timeb.h: New file.
5962
5963 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5964
5965         * libc/include/sys/time.h: add itimer support for Cygwin32
5966
5967 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5968
5969         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5970         out a message that abort was called to stderr.
5971
5972 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5973
5974         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5975         so that libio doesn't freak.
5976
5977         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5978         int.
5979
5980         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5981         memory sizes, not int.
5982
5983 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
5984
5985         * libm/math/ef_hypot.c: Use long constants where
5986         appropriate.
5987         * libm/math/ef_sqrt.c: Ditto.
5988
5989         * libc/sys/sysmec/times.c(_times): Change to times.
5990
5991         * libc/sys/sysmec/read.c(_read): The third argument is
5992         size_t.
5993         * libc/sys/sysmec/write.c (_write): Ditto.
5994
5995         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5996         (_lseek): It's off_t for the second argument.
5997
5998 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
5999
6000         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
6001         as well as machine/ieeefp.h.
6002
6003 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
6004
6005         * libc/include/sys/signal.h: add signal protos for winsup
6006         functions (when __CYGWIN32__), include types.h
6007         * libc/include/sys/types.h: Change __go32_types__ internal
6008         define to __MS_types__ since it's used for more than just
6009         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
6010         defined.
6011         * libc/include/sys/unistd.h: add ftruncate proto for
6012         winsup functions (when __CYGWIN32__)
6013
6014 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
6015
6016         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
6017
6018 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
6019
6020         * libc/include/machine/setjmp.h: Add tic80 support.
6021         * libc/machine/tic80/setjmp.S: Likewise.
6022
6023 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
6024
6025         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
6026         link programs from libraries only (such as in the X11
6027         distribution)
6028
6029 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
6030
6031         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
6032         supplied elsewhere in newlib.
6033
6034 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
6035
6036         * Makefile.in (INSTALL): Change install.sh to install-sh.
6037
6038 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6039
6040         * README: update WWW address for on-line documentation.
6041
6042 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
6043
6044         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
6045         increment NSIG
6046
6047 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
6048
6049         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
6050         mn10300.
6051         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
6052
6053 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
6054
6055         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
6056         * libc/sys/d10v/syscalls.c: Likewise.
6057         * libc/sys/h8300hms/sbrk.c: Likewise.
6058         * libc/sys/h8500hms/syscalls.c: Likewise.
6059         * libc/sys/m88kbug/syscalls.c: Likewise.
6060         * libc/sys/sh/syscalls.c: Likewise.
6061         * libc/sys/sysmec/sbrk.c: Likewise.
6062         * libc/sys/sysnecv850/sbrk.c: Likewise.
6063         * libc/sys/w65/syscalls.c: Likewise.
6064         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
6065
6066 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
6067
6068         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
6069         emulated syscall instead of "trap".
6070
6071 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
6072
6073         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
6074         not trap 0.
6075
6076 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
6077
6078         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
6079
6080 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
6081
6082         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
6083         not "sh".
6084         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
6085         not "d10v".
6086         * libc/sys/tic80/crt0.c: New file for TIc80.
6087         * libc/sys/tic80/Makefile.in: New file for TIc80.
6088         * libc/machine/tic80/Makefile.in: New file for TIc80.
6089
6090 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
6091
6092         * libc/machine/sh/memcpy.S: New file.
6093         * libc/machine/sh/memset.S: New file.
6094         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
6095
6096 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
6097
6098         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
6099         for TIc80.
6100
6101 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
6102
6103         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
6104         the mn10200.
6105
6106 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
6107
6108         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
6109         (patch from andrew@pogo.WV.TEK.COM).
6110
6111 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
6112
6113         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
6114         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
6115
6116 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
6117
6118         * configure.in:  Add cases for "tic80" to set machine_dir,
6119         sys_dir, and syscall_dir.
6120
6121 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
6122
6123         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
6124
6125 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
6126
6127         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
6128
6129 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
6130
6131         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
6132         Use proper constant prefix.
6133
6134 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
6135
6136         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
6137         that loses on the mn10200 where ints and pointers are different
6138         sizes.
6139
6140 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
6141
6142         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
6143         target as signal is provided in winsup.
6144
6145 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
6146
6147         * libc/include/sys/process.h: Corrected const definitions
6148         in spawn functions. Added cwait.
6149
6150 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
6151
6152         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
6153         doubles.
6154         * libc/include/sys/config.h: Similarly.
6155
6156 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6157
6158         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
6159         target_cflags.
6160         (i[3456]86-*-sco*): Ditto.
6161
6162         * libc/signal/Makefile.in (OFILES): Add signal.o.
6163         (CFILES): Add signal.c.
6164
6165         * libc/signal/raise.c (_raise_r): Only compile code if
6166         SIGNAL_PROVIDED is defined.
6167
6168         * libc/signal/signal.c: Redo whole file so that it works with
6169         current newlib.  Use _kill_r if no signal handler provided.
6170
6171         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
6172         signal stubs.
6173         * libc/sys/sysvnecv70/Makefile.in: Ditto.
6174         * libc/sys/sysnecv850/Makefile.in: Ditto.
6175
6176         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
6177         * libc/sys/sysmec/{raise,signal}.c: Ditto.
6178         * libc/sys/sysvnecv70/signal.s: Ditto.
6179         * libc/sys/sysnecv850/raise.c: Ditto.
6180
6181         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
6182         simulator and debugger can tell the difference between a signal
6183         being raised and an exit system call.
6184
6185         * NEWS: Document software signals being provided.
6186
6187 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6188
6189         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
6190         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
6191         include/sys/config.h.
6192         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
6193         Change from 'inpure_data'.
6194         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
6195         &impure_data, not &inpure_data.
6196
6197         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
6198         and and System V ABI, define so that _impure_ptr lives in the
6199         .sdata section.
6200
6201 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6202
6203         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
6204         nothing if not defined.
6205         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
6206         its attributes.
6207
6208         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
6209
6210 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
6211
6212         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
6213         * libc/sys/sysmec/trap.s: Handle mn10200 too.
6214         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
6215
6216 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
6217
6218         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
6219
6220 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
6221
6222         * libc/include/sys/errno.h: Added net errno's.
6223
6224 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6225
6226         * libc/misc/ffs.c: New file to support ffs function for GCC test
6227         gcc.c-torture/execute/960909-1.c.
6228
6229         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
6230
6231 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
6232
6233         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
6234         * libc/sys/sysmec/trap.S: Likewise.
6235
6236 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
6237
6238         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
6239         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
6240
6241 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
6242
6243         * libc/sys/sysmec/signal.c: Dummy file.
6244         * libc/sys/sysmec/Makefile.in: Build it.
6245
6246 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
6247
6248         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
6249         mips16.
6250
6251 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
6252
6253         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
6254         c-startup and simulator traps.
6255
6256
6257         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
6258         * libc/sys/sysmec/trap0.S: Likewise.
6259
6260 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6261
6262         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
6263         round to double word alignment.
6264         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
6265         byte alignment.
6266
6267         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
6268
6269         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
6270         out of memory.
6271
6272 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
6273
6274         * configure.in: Handle mn10200 and mn10300.
6275         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
6276         * libc/include/sys/config.h: Likewise.
6277         * libc/sys/sysmec: New directory for mec stuff.
6278         * libc/machine/mn10300: New directory for mn10300 stuff.
6279         * libc/machine/mn10200: Similarly for mn10200 stuff.
6280
6281 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
6282
6283         * libc/sys/arm/crt0.S: Use .text, not .section .text.
6284         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
6285
6286         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
6287         (nlink_t): Change type from unsigned int to unsigned short.
6288         (mode_t): Ensure size is 32 bits even if int is 16.
6289         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
6290         (st_spare[123]): Change type from int to long.
6291
6292 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6293
6294         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
6295         byte boundary.
6296
6297         * configure.in (d10v*): Define SMALL_MEMORY.
6298
6299 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6300
6301         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
6302         -mrelocatable-lib and -mno-eabi flags.
6303
6304 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
6305
6306         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
6307         Fix handling of mis-aligned source operand when both the
6308         destination & length are properly aligned.
6309         
6310 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
6311
6312         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
6313         times.o, time.o and gettime.o
6314         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
6315         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
6316         SYS_gettimeofday.
6317
6318 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
6319
6320         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
6321         * libc/sys/sysnecv850/access.c: New file.
6322
6323 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
6324
6325         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
6326
6327         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
6328         long.
6329
6330 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
6331
6332         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
6333
6334 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
6335
6336         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
6337         * libc/include/sys/config.h: Add m32r support.
6338
6339 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
6340
6341         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
6342         here.
6343
6344 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
6345
6346         * libc/include/machine/setjmp.h: Add D10v support.
6347
6348 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
6349
6350         * configure.in: Configure the "libc/syscalls" directory for
6351         the v850.
6352
6353         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
6354         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
6355         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
6356         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
6357         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
6358
6359 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
6360
6361         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
6362         stack for args for main and other routines.  Zero out args for
6363         main.
6364
6365         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
6366         correctly.
6367
6368 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6369
6370         * libc/stdio/findfp.c (std): Remove extraneous ';' after
6371         function.
6372
6373         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
6374
6375         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
6376         real system calls now.
6377
6378         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
6379         before casting them to int.
6380         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
6381
6382         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
6383         aligning pointer.
6384         * libc/string/memset.c (memset): Ditto.
6385         
6386         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
6387         first convert ints to _POINTER_INT to eliminate GCC warning.
6388
6389         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
6390         processing %p.
6391
6392         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
6393         from 65000 if ints are only 16 bits.
6394
6395         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
6396         from 50000 if ints are only 16 bits.
6397
6398         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
6399         int type that is the same size as a pointer.
6400
6401         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
6402         processing %p.
6403         (get_number): Explicitly cast number to long before shifting by 16
6404         or 24, in case ints are short.
6405
6406         * libc/include/sys/config.h (_POINTER_INT): Define as short.
6407
6408 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
6409
6410         * libc/string.h: Added ffs, removed swab.
6411         * libc/sys/errno.h: Added EOPNOTSUPP.
6412         * libc/sys/unistd.h: Added swab.
6413
6414 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
6415
6416         * libc/include/sys/stat.h: Added fchmod.
6417         * libc/include/sys/unistd.h: Added fsync.
6418
6419 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
6420
6421         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6422         and ECONNRESET (104) for cygwin32.
6423
6424 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
6425
6426         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6427         do the static destructors.
6428         
6429 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
6430
6431         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
6432
6433 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
6434
6435         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6436         * configure.in: Recognize m32r-*-*.
6437
6438 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
6439
6440         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6441         __rt_stkovf_split_small): Added default software stack overflow
6442         handlers, which just call SWI_Exit.
6443         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6444         limit initialisation.
6445
6446 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
6447
6448         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6449
6450 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
6451
6452         * libc/include/sys/types.h: Added ssize_t definition.
6453         
6454 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6455
6456         * libc/machine/d10v/setjmp.S: Use ';' for comments.
6457         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6458
6459         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6460         branch around a single ldi instruction.
6461
6462         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6463         Call exit, instead of just issuing a stop instruction.
6464
6465 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6466
6467         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6468
6469 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6470
6471         * libc/stdlib/mprec.h: Explicitly declare all large constants as
6472         longs, and then cast them to __uint32_t.
6473
6474         * libc/include/sys/config.h: Protect against multiple inclusions.
6475
6476 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
6477
6478         * configure.in (d10v*): Set syscall_dir.
6479
6480 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
6481
6482         * libc/sys/d10v/crt0.S: Set stack pointer.
6483
6484 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
6485
6486         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6487         in assembly for efficiency.  Change calling convention to allow
6488         long ints to be returned.
6489
6490 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6491
6492         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6493
6494 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
6495
6496         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6497         Handle empty entries in $PATH.
6498
6499 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
6500
6501         * libc/machine/d10v/setjmp.S: Make it really work.
6502
6503 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
6504
6505         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6506         the .stack section.
6507
6508 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
6509
6510         * sys/sysnecv850/sys/file.h: Remove.
6511         * sys/sysnecv850/sys/syscall.h: New file.
6512         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6513         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6514         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6515         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6516         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6517         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6518         * sys/sysnec850/trap.S: New file.
6519         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6520         syscalls.
6521         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6522         * sys/sysnec850/sbrk.c: New version.
6523
6524 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
6525
6526         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
6527         as long as r6 is less than r7.
6528
6529 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
6530
6531         * Makefile.in (mostlyclean): Separate from clean target.  Don't
6532         remove *.a or targ-include.
6533         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6534
6535 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6536
6537         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6538         d10v.
6539         (__SMALL_BITFIELDS): Ditto.
6540
6541         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6542
6543 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
6544
6545         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6546         prefix.
6547
6548         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6549         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6550         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6551         * libc/sys/sysnecv850/write.c (write): Likewise.
6552
6553         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6554         .bss.
6555
6556 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6557
6558         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6559         appropriately for D10V, depending on -mint16/-mint32.
6560
6561 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
6562
6563         * configure.in: Add cases for D10V.
6564
6565 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6566
6567         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6568
6569 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
6570
6571         * libc/include/machine/ieeefp.h: Fix typo.
6572
6573 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
6574
6575         * libc/sys/d10v: New directory for D10V stuff.
6576         * libc/include/machine/ieeefp.h: Add D10V defines.
6577
6578 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
6579
6580         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6581         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6582         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6583         * libc/string/strerror.c (strerror): Add them.
6584
6585 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
6586
6587         * libc/sys/sysnecv850: New directory for v850 stuff.
6588
6589         * libc/machine/v850: New directory for v850 stuff.
6590         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6591
6592         * configure.in: Add support for the v850.
6593
6594         * libc/include/machine/ieeefp.h: Add v850 defines.
6595         * libc/include/machine/setjmp.h: Likewise.
6596         * libc/include/sys/config.h: Add v850 defines.
6597
6598 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
6599
6600         * libc/include/machine/ieeefp.h
6601         * libc/include/machine/setjmp.h
6602         * libc/include/sys/fcntl.h
6603         * libc/include/sys/signal.h
6604         * libc/include/sys/types.h
6605         * libc/stdlib/system.c:
6606         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6607         API availability, __CYGWIN32__ for cygwin32 environment specific).
6608
6609 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
6610
6611         * libc/include/stdlib.h: add multibyte character functions.  Add
6612         __eprintf for assert.
6613
6614 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6615
6616         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6617         arithmetic or __alignof__ to properly get the alignment, instead
6618         of hardwiring it to 4.
6619
6620 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
6621
6622         * libc/stdio/fseek.c: add fflush call to adjust seek offset
6623         on append stream (fix from NetBSD sources), adjust curoff offset
6624         for ungetc's benefit.
6625         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6626         * libc/stdio/rewind.c: replace code with up to date NetBSD
6627         code to undo hacks made to work around above problem of not
6628         having fflush call mentioned above
6629
6630 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6631
6632         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6633         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6634         Partially revert last changes.  The thread specific errno is set
6635         iff if the underlying syscall fails and the global errno is not
6636         zero.
6637
6638 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6639
6640         * libc/reent/filer.c: Removed files, all functions have split out
6641         into their own files.
6642         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
6643         New files containing functions formally in filer.c
6644         * libc/reent/Makefile.in: Updated for above change.
6645
6646         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6647         syscall fails, not if errno is changed.
6648         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
6649         _write_r): Likewise.
6650         * libc/reent/fstatr.c (_fstat_r): Likewise.
6651         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6652         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6653         * libc/reent/signalr.c (_kill_r): Likewise.
6654         * libc/reent/statr.c (_stat_r): Likewise.
6655         * libc/reent/timer.c (_gettimeofday_r): Likewise.
6656
6657         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6658         signalr.c, statr.c, timer.c} (errno): declare extern rather
6659         than as a common.
6660
6661         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6662         instead of calling vfprintf so that i*printf will not require
6663         floating point support code.
6664         
6665 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
6666
6667         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6668         path delimiter.
6669         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6670         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6671
6672 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
6673
6674         * libc/include/signal.h: _sig_func_ptr function takes an int
6675         * libc/include/sys/signal.h: sa_handler function takes an int
6676
6677 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
6678
6679         * libc/include/machine/ieeefp.h: Simplify H8/S support.
6680         * libc/include/sys/config.h: Add missing H8/S conditional.
6681
6682 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
6683
6684         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6685
6686 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
6687
6688         * libc/include/machine/setjmp.h: Handle H8/S.
6689         * libc/include/machine/ieeefp.h: Likewise.
6690         * libc/include/sys/config.h: Likewise.
6691         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6692         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6693         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6694         * libc/sys/h8300hms/crt0.S: Likewise.
6695
6696 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6697
6698         * Makefile.in (datadir): Set to $(prefix)/share.
6699         (oldincludedir, docdir): Removed.
6700         * doc/Makefile.in (datadir): Set to $(prefix)/share.
6701         (oldincludedir, docdir): Removed.
6702         * libc/Makefile.in (datadir): Set to $(prefix)/share.
6703         (oldincludedir, docdir): Removed.
6704         * libm/Makefile.in (datadir): Set to $(prefix)/share.
6705         (oldincludedir, docdir): Removed.
6706
6707 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
6708
6709         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6710         _reent struct.
6711
6712 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
6713
6714         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
6715         fetch current path rules with sysconf and handler posix/win32
6716         appropriately.
6717
6718         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6719
6720         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6721         (WAIT_CHILD): Always define.
6722
6723 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
6724
6725         * libc/stdlib/eprintf.c: New file.
6726         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6727         (eprintf.o): New target.
6728
6729 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
6730
6731         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6732         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6733
6734 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
6735
6736         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6737         NT in PowerPC endianess cases.
6738
6739 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6740
6741         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6742
6743 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6744
6745         * libc/string/strtok.c: Fix doc typo.
6746
6747 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6748
6749         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6750         _next, _scanpoint, _signgam fields.
6751
6752         * libc/include/stdlib.h (rand_r): Added new declaration.
6753         (_rand_r, _srand_r): Removed declarations.
6754         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6755         have been made obsolete by rand_r.
6756         * libc/stdlib/rand_r.c: New file, rand_r function as specified
6757         by POSIX.1c.
6758         
6759         * libc/string/strtok.c: Update documentation to describe
6760         strtok_r().
6761
6762 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
6763
6764         * libc/include/sys/stat.h (stat structure): Use the expanded stat
6765         structure on Solaris, and PowerPC systems even though __svr4__ is
6766         defined.
6767
6768 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6769
6770         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6771
6772 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6773
6774         * host/any: Use ../.. rather than .. to get to the main build
6775         directory.  This matches the current layout of the build
6776         directory.
6777
6778 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
6779
6780         * libc/machine/h8300/__main.S: Delete.  No longer needed.
6781         * libc/machine/h8300/Makefile.in: Corresponding changes.
6782         * libc/sys/h8300hms/crt1.c: New file.
6783         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6784         * libc/sys/h8300hms/crt0.s: Call __main.
6785
6786         * libc/sys/h8300hms/crt0.S: Use temporary label names
6787         for branch targets.
6788
6789 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
6790
6791         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6792
6793 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6794
6795         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6796         .sdata on the PowerPC so that we can link newlib with code
6797         compiled with -msdata.
6798
6799 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
6800
6801         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6802
6803 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
6804
6805         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6806         exception handler to __cygwin_exception_handler.
6807
6808 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
6809
6810         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6811
6812 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
6813
6814         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6815         SunOS VPATH.
6816         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6817         wcstombs.o): Likewise.
6818
6819 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
6820
6821         * libc/stdlib/environ.c (initial_env): New static local.
6822         (environ): Point to `initial_env'.
6823
6824         * libc/include/machine/setjmp.h: Clean up.
6825         (__H8300H__,__PPC__): Define _JBTYPE.
6826         (__arm__): Provide entry for.
6827         (sigjmp_buf): Delete.
6828         (jmp_buf): Use _JBTYPE if defined, otherwise int.
6829
6830 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
6831
6832         * libc/machine/h8300/strcmp.S: Sign extend the result to
6833         32bits so we don't lose with -mint32.
6834
6835 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
6836
6837         * libc/sys/go32/sys/errno.h: New file.
6838         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6839         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6840         errno's address (make compatible with rest of newlib).
6841         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6842         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6843
6844 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6845
6846         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6847         * libc/machine/sparc/Makefile.in: Build them.
6848         * libc/machine/sparc/machine/sparclet.h: New file.
6849
6850 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6851
6852         * libc/machine/sh/asm.h: New file.
6853         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6854         support for SH3e's FP registers.  Use asm.h.
6855
6856 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6857
6858         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6859         as first argument.  Call _dtoa_r and pass the reent structure
6860         instead of calling __dtoa.
6861
6862 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6863
6864         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6865         the h8300, h8500, and others.  Add comments for some rather
6866         dubious code.
6867
6868 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6869
6870         * Makefile.in (check): Check that testsuite exists before cd.
6871
6872 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6873
6874         * libc/include/string.h (strsep): Correct prototype.
6875
6876 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6877
6878         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6879         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6880         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6881
6882 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6883
6884         * libc/posix/{creat.c,isatty.c}: New files.
6885         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6886
6887         * libc/sys/sparc64/crt0.S (environ): Delete.
6888         (.LHaveBias): Renamed from HaveBias.
6889
6890 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6891
6892         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6893         (_morecore_r): Delete SBRK_IS_ALLOC support.
6894
6895 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6896
6897         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6898         module rather than touch, so we don't get warning messages when
6899         all of the libraries are combined into libc.a.
6900
6901 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6902
6903         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6904         crt0.s replaced by version in libgloss.
6905
6906 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6907
6908         * libc/reent/Makefile.in (OFILES): Add impure.o.
6909         * libc/reent/impure.o: New file, define initial reentrancy struct.
6910         * libc/reent/reent.c: Remove above definition.
6911
6912         * libm/math/sf_asinh.c: Fix typo.
6913
6914         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6915         srf_ldexp.o.
6916         
6917         * libm/libm.texinfo: Change documentation to reflect changes
6918         in reentrancy model.
6919         * libm/math/w_gamma.c: Likewise.
6920
6921 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6922
6923         * configure.in (*-*-cygwin32): New.
6924         (*-*-win32): Deleted.
6925         * libc/sys/win32 renamed libc/sys/cygwin32.
6926
6927 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6928
6929         * libc/include/sys/file.h: New include file.
6930
6931 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6932
6933         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6934
6935 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6936
6937         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6938
6939 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6940
6941         * doc/makedoc.c (realloc): Declare at file scope.
6942         (catchar): Not here.
6943
6944 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6945
6946         * Makefile.in (VERSION): Update to 1.7.0.
6947         * {libc,libm}/Makefile.in (VERSION): Likewise.
6948         * configure.in: Minor clean up of multilib stuff.
6949
6950         From David Johnson <davidj@ICSI.Berkeley.EDU>
6951         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6952
6953         * libc/stdlib/environ.c: New file.
6954         * libc/stdlib/Makefile.in (OFILES): Build it.
6955         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6956         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6957         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6958         * libc/sys/netware/environ.c: Deleted.
6959
6960 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6961
6962         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6963
6964 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6965
6966         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6967         declaration out to external scope and declare it PTR, not char *.
6968
6969 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6970
6971         * libc/include/sys/unistd.h (getpagesize): New declaration.
6972         (_SC_PAGESIZE): New definition.
6973         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6974         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6975
6976 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6977
6978         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6979         addressing. System call returns size, not (last address + 1).
6980
6981 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6982
6983         * libm/math/*.c: Removed _foo_r() reentrancy API.
6984         * libc/include/math.h: Removed _foo_r prototypes and macros.
6985
6986         * libm/math/*.c: On systems with IEEE single precision "doubles" 
6987         move foo() -> foof() wrapper code from the files that implement
6988         the standard IEEE double precision functions to the files that 
6989         implement IEEE single precision functions. (ie. On those systems
6990         sin is moved from s_sin.c to sf_sin.c).  There should eventually
6991         be use of a C extension (like gcc's alias attribute) so that the
6992         wrappers are not needed at all.
6993
6994         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6995         strict NEC V810 compiler.
6996         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6997         for same reason.
6998
6999 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7000
7001         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
7002         from NetBSD C library.
7003         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
7004
7005         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
7006         and adapted from implementation I wrote for NetBSD C library.
7007         The difference is __assert doesn't take a format argument,
7008         so that there won't be multiple copies of the same string
7009         constant in the executable if assertions are enabled in
7010         more than one source module.
7011         * libc/include/assert.h (assert): Changed to call __assert.
7012
7013 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7014
7015         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
7016         word1 on systems with 32 bit doubles.
7017         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
7018         so that we can do arithmetic on them.
7019         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
7020         compilers.
7021         
7022 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7023
7024         * libc/sys/arm/crt0.S: Zero bss.
7025
7026 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
7027
7028         * libc/include/unctrl.h: New file.
7029         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
7030         * configure.in (subdirs): Add libc/misc.
7031         * libc/Makefile.in (SUBDIRS): Add misc.
7032         (SUBLIBS): Add misc/lib.a.
7033
7034         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
7035
7036 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
7037
7038         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
7039         (_vfprintf_r): Call CHECK_INIT.
7040
7041 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
7042
7043         * Makefile.in (MULTITOP): Delete.
7044         (MULTISRCTOP, MULTIBUILDTOP): Add.
7045         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
7046         instead of cfg-ml-pos.in.
7047
7048 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
7049
7050         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
7051         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
7052         presence.
7053
7054 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7055
7056         * libc/string/strtok.c: Include string.h to pick up strtok_r
7057         prototype.
7058
7059 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7060
7061         * libc/string/strtok.c: include <_ansi.h>.
7062         * libc/time/asctime_r.c: `reresult' -> `result'.
7063
7064 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7065
7066         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
7067         in #ifndef _REENT_ONLY ... #endif conditional.
7068
7069         * libc/include/string.h (_strtok_r): Remove declaration.
7070         * libc/include/time.h (_asctime_r): Remove declaration.
7071         * libc/string/strtok.c (_strtok_r): Removed.
7072         * libc/time/asctime.c (_asctime_r): Removed.
7073
7074         * libc/string/Makefile.in (OFILES): Add new object.
7075         * libc/string/strtok_r.c: New file.  strtok_r function as
7076         specified by POSIX.1c, adapted from strtok implementation 
7077         from NetBSD C library.
7078         * libc/string/strtok.c (strtok): Reimplemented in terms of 
7079         strtok_r.
7080
7081         * libc/time/Makefile.in (OFILES): Add new objects.
7082         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
7083         New files, reentrant time functions specified by POSIX.1c.
7084         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
7085         reentrant time functions re-written in terms of reentrant 
7086         functions.
7087         * libc/time/lcltime.c: Renamed from localtime.c
7088
7089         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
7090         gmtime_r, and localtime_r.
7091
7092 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
7093
7094         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
7095         * libc/include/sys/unistd.h (getlogin): Revert change of
7096         Oct 19.
7097         * libc/include/sys/signal.h (sigprocmask): Change prototype
7098         so it compiles with c++.
7099
7100 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
7101
7102         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
7103         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
7104         to give some room in case we need to align the jmp_buf.
7105         
7106         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
7107         the new ppc-asm.h include file the compiler provides to specify
7108         function prologue/epilogue.  Eliminate saves of the xer and ctr
7109         registers, which are volatile.  Before starting to save registers,
7110         align to 8 byte boundary.
7111
7112 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
7113
7114         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
7115         referenced by standard libraries.
7116
7117 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
7118         
7119         * libc/unix/Makefile.in, libc/string/Makefile.in,
7120         libc/stdio/Makefile.in, libc/reent/Makefile.in,
7121         libc/posix/Makefile.in:
7122         Remove tabs from otherwise empty line.  Confuses some
7123         older non-GNU versions of "make".
7124
7125 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
7126
7127         * libc/sys/unistd.h (getlogin): Returns const char *.
7128
7129 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
7130
7131         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
7132         * libc/include/errno.h: Moved into and include...
7133         * libc/include/sys/errno.h: New file.
7134         * libc/include/sys/wait.h: New file.
7135         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
7136         * libc/sys/win32/*: Moved out.
7137         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
7138         * configure.in (i[345]86-*-win32): HAVE_RENAME
7139
7140 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
7141
7142         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
7143         avoid macro expansion for these two names.
7144
7145 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
7146
7147         * libc/machine/h8500/psi.S: r6 renamed to fp.
7148
7149 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
7150
7151         * configure.in (powerpc*): No longer need to define
7152         NO_LONGLONG_POINTERS to supress warnings.
7153
7154 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7155
7156         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
7157         through PTR instead of directly.
7158
7159         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
7160         non-standard constructor support.
7161
7162 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7163
7164         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
7165         address of the Bigint instead of the address of its _x field,
7166         as the size the result buffer was calculated accordingly.  
7167         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
7168
7169         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
7170         from NetBSD C library.  No longer special cases division by 
7171         zero (which needs to be done by the application anyway), but
7172         it doesn't need to call abs() (or labs()) four times either.
7173         
7174         * libc/stdlib/qsort.c: Replaced with implementation from 
7175         NetBSD C library.
7176
7177 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7178
7179         * libc/stdio/vfprintf.c: Replaced with implementation from
7180         NetBSD C library (which is derived from the 4.4BSD C library).
7181         * libc/stdio/cvt.c: Removed.
7182         * libc/stdio/Makefile: Updated.
7183         
7184 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
7185
7186         * libc/sys/win32/syscalls.c (rename): New.
7187         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
7188
7189 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7190
7191         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
7192         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
7193
7194         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
7195         (setjmp.o): Delete rule to build setjmp.o.
7196         * libc/sys/sh/setjmp.S: Delete file.
7197
7198 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7199
7200         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
7201         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
7202         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
7203         pow5mult and s2b to identifiers with leading underscores.
7204         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
7205         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
7206
7207 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
7208
7209         * libc/sys/posix/popen.c (sys/types.h): Include.
7210
7211 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
7212
7213         * libc/sys/win32/syscalls.h (fhandler): New struct.
7214         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
7215         (__fhandler_normal): Declare.
7216         (hinfo): New member op_handlers.
7217         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
7218         (__write): Likewise.
7219         (_read, _write, _open, _close, _lseek): Validate fd here.
7220         Move file type specific stuff to foo_normal.
7221         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
7222         New functions.
7223         (__lookup_fhandler): New function.
7224         (__lookup_fhandler_hook, __fhandler_normal): New variables.
7225
7226         From anders.blomdell@control.lth.se (Anders Blomdell)
7227         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
7228         Don't touch standard handles.
7229         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
7230         (_execve): Only create __FD_TABLE__ if necessary.
7231         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
7232
7233 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
7234
7235         * libc/sys/win32/sys/termios.h (FLUSHO): New.
7236         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
7237         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
7238         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
7239         without a handler is received.
7240         * libc/sys/win32/Makefile.in: Remove --nodelete.
7241         * libc/sys/win32/resouce.c (gettimeofday): New.
7242         * libc/sys/win32/syscalls.c (path_to_real_path): New.
7243         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
7244
7245 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
7246
7247         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
7248         Don't append "/*" to search pattern if trailing '/' already there,
7249         append "*".
7250         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
7251         like /'s, convert them to \'s.  Handle //<drive>/ path names.
7252         Add space for quoted \'s in arg string.  Print translated prog name
7253         and original prog name.
7254         (_execve): Handle parent doing exec a teensy bit better.
7255         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
7256         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
7257         path needs conversion, handle both cases.  Delete `const' from result.
7258         (hash_path_name): New function.
7259         (_open): Call it.
7260         (_stat): Likewise.  Fill in more fields for directories.
7261         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
7262         (wait_for_any): Fix trace message.
7263         (waitpid): Explicitly test for intpid == 0.
7264
7265         From anders.blomdell@control.lth.se (Anders Blomdell)
7266         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
7267         so `next' is valid.
7268
7269 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
7270
7271         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
7272         complicated.
7273
7274 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
7275
7276         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
7277         at all, not just == 1.
7278         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
7279
7280 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7281
7282         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
7283         * libc/sys/win32/include/wintypes.h: include <winnt.h>
7284         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
7285         file.
7286
7287 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
7288
7289         * libc/sys/syscalls.c (getcwd): Fix off by one error.
7290
7291         * libc/sys/signal.c (sleep): Fill it in.
7292         * libc/sys/termios.c (tcflush): Use PurgeComm
7293         (tcsetattr): Set some more of the bits.
7294         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
7295
7296 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
7297
7298         * libc/sys/arm/crt0.S (fp): Initialize to 0.
7299         Conditionally include .idata$3 stuff ifdef __pe__.
7300
7301 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
7302
7303         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
7304         * libc/sys/win32/pipe.c (pipe): Ditto.
7305         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
7306         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
7307         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
7308         (tcgetattr): Contents are new.
7309         * libc/sys/win32/include/winkernel.h (DCB): New.
7310         (GetCommState, SetCommState): New.
7311
7312 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
7313
7314         * libc/sys/arm/crt0.S (_start): Define.
7315
7316 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7317
7318         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
7319         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
7320
7321         * libc/sys/win32/sysconf.c: New
7322         * libc/sys/win32/sys/winadvapi.h: New
7323         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
7324         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
7325         * libc/sys/win32/pipe.c (pipe): Ditto.
7326         * libc/sys/win32/signal.c (_raise): New.
7327         (_kill): Moved from spawn.c
7328         * libc/sys/win32/spawn.c (kill): Moved to signal.c
7329         * libc/sys/win32/syscalls.c (__read): Use new fields.
7330         (_open): Ditto.
7331         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
7332         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
7333         * libc/include/sys/unistd.h (rmdir): Takes const path.
7334         * libc/include/sys/stat.h (mkdir): Takes const path.
7335         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
7336
7337 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
7338
7339         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
7340
7341         Add support for specifying paths as //<drive>/foo/bar.
7342         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
7343         (__path_to_real_path): Declare.
7344         (PATH_TO_REAL_PATH): New macro.
7345         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
7346         (__path_needs_conversion_p, __path_to_real_path): New functions.
7347         (_open): Fix test for error return from CreateFileA.
7348         Handle new path syntax.
7349         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
7350         * libc/sys/win32/dirsearch.c (opendir): Likewise.
7351
7352 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
7353
7354         * libc/sys/win32/include/*.h: Reorganized
7355         * libc/sys/win32/include/WINREADME: New.
7356         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
7357         * libc/sys/win32/*.c: Fix for new include scheme.
7358         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
7359         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
7360         * libc/sys/win32/passwd.c (*): Fix.
7361         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
7362         (_stat): Get directory owner and permissions right.
7363         * libc/sys/win32/syscalls.h (uinfo): New.
7364         * libc/sys/win32/version.def: Remove leading underscores.
7365
7366 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7367
7368         * libc/sys/win32/key.c: include "include/wincon.h".
7369
7370 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
7371
7372         * libc/sys/win32/{key, stubs}.c: New.
7373         * libc/sys/win32/Makefile: Adjust to cope.
7374         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
7375         (environ_init): Change env names to upper case.
7376         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
7377         * libc/sys/win32/passwd.c (*): Fill in the functions.
7378         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
7379         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
7380         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
7381         (_open): Initialze hmap->execable_p too.
7382         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
7383         (_fstat): Fill in permissions.
7384         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
7385
7386 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
7387
7388         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
7389         if defined.
7390         (cfg-ml-pos.in invocation): Likewise.
7391
7392 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7393
7394         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
7395         s_isnan.o and sf_isnan.o.
7396
7397 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
7398
7399         * All Makefile.in files: added maintainer-clean target as a
7400         synonym for realclean.
7401
7402 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
7403
7404         * libc/include/machine/setjmp.h: Add hppa support.
7405         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
7406         support.
7407         * libc/machine/hppa/Makefile.in: Related changes.
7408
7409 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
7410
7411         * configure.in (machine_dir): Don't set for v810-*-*.
7412
7413 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7414
7415         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
7416         conventions correctly.
7417
7418 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
7419
7420         * libc/stdio/puts.c: Update documentation of return value to match
7421         ANSI standard.
7422
7423 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
7424
7425         Fix file descriptor inheritance.
7426         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7427         (NOT_OPEN_FD): Fix.
7428         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7429         close-on-exec flag not set.  Initialize child's entire fd table.
7430         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7431         CHILD_P.
7432         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7433         if CHILD_P.  Initialize entire hmap entry.
7434         (dup): Only create new handle as inheritable if CHILD_P.
7435         (dup2): Likewise.  Properly initialize hmap entry.
7436
7437         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7438         _spawn.
7439         (_exit): Use CHILD_P.
7440         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7441         (_stat): Likewise.
7442
7443 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7444
7445         * libc/sys/win32/crt0.c (passover): fix up the state table.
7446         * libc/posix/popen.c: Added.
7447         * libc/posix/Makefile.in: compile popen.c.
7448         
7449 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
7450
7451         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7452         h8/500 define _DOUBLE_IS_32BITS.
7453
7454 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
7455
7456         Get vfork/exec/spawn/cwait/wait working again.
7457         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7458         (procinfo): New member vfork_level.
7459         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7460         (vfork_init_first): Use GetCurrentProcessId to get pid.
7461         Initialize vfork_level.
7462         (vfork_init): Delete __PID__.
7463         (environ_init): New function.  Undo patch of Aug 19, Posix says
7464         environment variables are case sensitive.
7465         (mainCRTStartup): Call it.
7466         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7467         (my_longjump: Make static.
7468         (_spawn): New argument `h'.  Delete setting of __PID__.
7469         Delete local `idx'.  Look for chars that need quotes, rather than
7470         ones that don't.  Set handle of created process in `h'.
7471         Result is process id if created task.
7472         (allocate_spawn_entry): New function.
7473         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
7474         (_execve): Set __FD_TABLE__ before spawning child.
7475         Scan our fd table when passing fds, not our parent's.
7476         Store handle and pid in procinfo entry.
7477         (vfork0): Ensure strace message always printed.
7478         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7479         (vfork): Don't clobber result of vfork0.
7480         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7481         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7482
7483         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7484         and `exit_code'.
7485         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7486         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
7487         adding vfork level to pseudo-pid.  
7488         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7489         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7490         (_exit): If child, set exit code.
7491         (__vfork_record_death): Only close process handle if valid.
7492         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7493         didn't exec.
7494         (wait_for_any): Likewise.  Start scan after root entry.
7495
7496 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7497
7498         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7499         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7500         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7501         of actual file length.
7502
7503         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7504         * libc/include/paths.h: _PATH_BSHELL added.
7505         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7506         and STDERR_FILENO.
7507
7508 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7509
7510         * libc/include/ar.h: Added.
7511         * libc/include/sys/types.h: ino_t goes back to 32-bits.
7512         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7513         * libc/sys/win32/syscalls.c (_open): compute .namehash based
7514         on filename.
7515         (_fstat): use .namehash for inode number of the fd.
7516
7517 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7518
7519         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7520          Change hinfo to __this_procinfo.
7521         * libc/sys/win32/crt0.c: Remove procinfo_list.
7522
7523 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7524
7525         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7526         win32 environment.
7527
7528 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7529
7530         * libc/sys/win32/include/grp.h: Removed.
7531         * libc/sys/include/grp.h: Added.
7532         * libc/sys/win32/grp.c: Include <grp.h>.
7533
7534 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
7535
7536         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7537         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7538         Defined for all but strict ANSI.
7539         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7540         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7541         * libc/signal/signal.c (_signal_r): Changed from using
7542         _MAX_SIGNALS to NSIG.  
7543         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7544          __hmap): Deleted.
7545         (__strace, __vfork_next_pid): New.
7546         (__exe_suffix): Default to 1.
7547         (passover, table): Understand quoted arguments.
7548         (vfork_init_first): New.
7549         (vfork_init): Initialize new process structure.
7550         (mainCRTStartup): Pass environ to main.
7551         * exceptions.c (__sig_mask): New
7552         (ehandler3): Ignore signals in mask.
7553         (really_exit): Remove CHILD_P test.
7554         * pipe.c (pipe, dup, dup2): Use new process and file structure.
7555         * resource.c (getrusage): Ditto.
7556         * signal.c (sigprocmask): New.
7557         * spawn.c (*): Rewritten.
7558         * syscalls.c (*): Use new process and file structure.
7559         (find_unused_handle): New.
7560         * syscalls.h (MAX_HANDLES): Deleted.
7561         (hinfo): Removed child_created_p.
7562         (MAX_CHILDREN): Deleted.
7563         (vfork_jmp_info, procinfo): New.
7564         * wait.c (*): Mostly new.
7565         * sys/strace.h (_STRACE_PARANOID): New.
7566         * sys/param.h: New file.
7567
7568 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7569
7570         * libc/include/sys/stat.h: add S_BLKSIZE.
7571         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7572         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7573         types under win32.
7574         (mode_t): add a #else to avoid multiple definitons.
7575
7576         * libc/sys/win32/Makefile.in: add grp.c.
7577         * libc/sys/win32/grp.c: include grp.h correctly.
7578         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7579         of the st structure with real information.
7580         * libc/sys/win32 (dirent): d_ino is of type ino_t.
7581
7582 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
7583
7584         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7585         and (maybe) sparc64.
7586         (nlink_t): Provide typedef.
7587
7588 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7589
7590         * libc/sys/win32/grp.c: New file.
7591         * libc/sys/win32/include/grp.h: New file.
7592
7593 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7594
7595         * libc/include/machine/ieeefp.h: Added whitespace to make this
7596         file easier to maintain.
7597         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7598         depending on the value of __LITTLE_ENDIAN__.
7599         On the sh3e, define _DOUBLE_IS_32BITS.
7600         
7601 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7602
7603         * libc/sys/vr4300/syscalls.c: Added missing support
7604         routines. _raise() and getpid().
7605
7606 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
7607
7608         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7609
7610 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7611
7612         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7613         and VR4300 processor.
7614         * libc/sys/vr4300: Add directory.
7615         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7616         monitor run-time support.
7617
7618 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7619
7620         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7621         * libc/stdlib/stdlib.tex: Don't include atol.def.
7622
7623 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7624
7625         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7626
7627 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
7628
7629         * libc/ctype/Makefile.in: Fill in _to* dependencies.
7630
7631 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
7632
7633         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7634         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7635         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7636         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7637         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7638
7639 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7640
7641         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7642
7643 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7644
7645         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7646         * libc/stdlib/atoff.c: New file.
7647         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7648         * libc/stdlib/atoi.c (atol): Removed.
7649         * libc/stdlib/atol.c: Removed duplicate documentation.
7650
7651         * libc/include/ctype.h (_tolower, _toupper): Moved inside
7652         #ifndef _STRICT_ANSI conditional.
7653         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7654         * libc/ctype/_tolower.c: New file.
7655         * libc/ctype/_toupper.c: New file.
7656         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7657         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7658         * libc/ctype/toascii.c (_toascii): Removed.
7659
7660 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7661
7662         * libc/sys/sparc64/sys/types.h: Deleted.
7663
7664 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7665
7666         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7667         and recognize Windows_95 systems.
7668
7669 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7670
7671         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7672         and passed fds should be opened in text mode.
7673
7674 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7675
7676         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7677         in __hmap, set to binary mode by default.
7678
7679 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7680
7681         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7682         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
7683         vector 34.
7684
7685 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
7686
7687         * Makefile.in (install): Install all libraries found in the
7688         top level.  If there's a sys/<type>/include directory,
7689         install those headers into include.
7690
7691         * libc/sys/win32/kernel.def351: Delete
7692         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7693         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7694         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7695         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7696         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7697         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7698         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7699         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7700
7701         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7702         * libc/sys/win32/crt0.c: Force all env names to upper case.
7703         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7704         * libc/sys/win32/*.c: Headers have moved.
7705         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7706         __vfork_child_idx is now __vfork_child_ptr.
7707
7708         * posix/execvp (execvp): Don't crash if no PATH envname.
7709
7710 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7711
7712         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7713         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7714         through the _freelist instead of through the _reclaim list.
7715         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7716         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7717         sources.
7718
7719 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7720
7721         * libc/machine/h8500/setjmp.S: New file.
7722         * libc/include/machine/setjmp.h: Updated for H8/500.
7723
7724 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
7725
7726         * libc/sys/win32/syscalls.c (_open): More stracing.
7727         (_stat): Open the file in O_BINARY.
7728
7729 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7730
7731         * libc/machine/h8300/setjmp.S: New file.
7732         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7733
7734 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
7735
7736         * libc/sys/win32/crt0.c (__exe_suffix): New global.
7737         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7738         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7739         __exe_suffix.  Free fd_tab after setting env variable.
7740         (spawnv,_execve): Update.
7741         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7742         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7743         (__small_vfprintf): New function.
7744         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7745         * libc/sys/win32/wait.c (cwait): Validate argument.
7746
7747         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7748         (process_deletion_queue): Likewise.
7749
7750         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7751
7752 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
7753
7754         * libc/sys/win32: Copyrights and gratuitous indenting.
7755
7756 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
7757
7758         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7759         (process_deletion_queue): Likewise.
7760         (__close_all_files): New function.
7761         (_close): Only queue file deletion if really a file.
7762         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7763         _P_APPEND_EXE.
7764         (_exit): Call __close_all_files.
7765
7766         * libc/stdlib/system.c: #include <errno.h>.
7767         (_system_r): Fix results in -DNO_EXEC case.
7768
7769         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7770         Reorganize structure.
7771         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7772         if argument is valid.  Save directory name in DIR.  malloc space
7773         for dirent struct separately.
7774         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7775
7776         * libc/include/errno.h (ENAMETOOLONG): Define.
7777         * libc/string/strerror.c (strerror): Reword ENFILE.
7778         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7779
7780 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
7781
7782         * libc/sys/win32/crt0.c (__progname): New global.
7783         (mainCRTStartup): Support strace=bitmask,filename.
7784         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7785         * libc/sys/win32/syscalls.c (_write): Print parent trace message
7786         if error.
7787         (getcwd): Handle len too small.  Convert '\\' to '/'.
7788         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7789         Add prototypes for open, creat, fcntl.
7790         (O_APPEND): Change value to conform to Microsoft's value.
7791         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7792
7793         * libc/stdlib/getopt.c: New file.
7794         * libc/stdlib/Makefile.in: Build it.
7795
7796 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
7797
7798         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7799         Fix scanning of $PATH.
7800         * libc/posix/exec*.c: Call _execve, not execve.
7801         * libc/posix/execve.c: New file.
7802         * libc/posix/Makefile.in (OFILES): Add execve.o.
7803
7804         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7805         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7806         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
7807         * libc/sys/win32/crt0.c: Update _STRACE calls.
7808         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7809
7810         * libc/sys/win32/smallprint.c (rn): Fix digit list.
7811
7812         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7813         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7814         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7815         Print __seterrno trace message first.
7816         (_execve): Renamed from execve.
7817         (vfork): Update __strace usage.
7818         (__vfork_child_pid): Deleted.
7819         (__vfork_children, __vfork_child_idx): New globals.
7820         (_spawnvp): New function.
7821         (spawnvp, spawnv, _execve): Call _spawnvp.
7822         (init_child): Record child in __vfork_children.
7823         (__vfork_get_entry, __vfork_record_death): New functions.
7824         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7825         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7826         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
7827         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7828         (children): New typedef.
7829         (__vfork_children,__vfork_child_idx): Declare.
7830         (__vfork_get_entry,__vfork_record_death): Declare.
7831         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7832         (waitpid): Handle pid == -1.
7833         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7834         * configure.in (i386-win32): Add -DNO_FORK.
7835         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7836         * libc/reent/execr.c (_fork_r): Likewise.
7837         * libc/stdlib/system.c (do_system): New function.
7838         If WIN32, try to get shell path from $SH_PATH, use vfork.
7839         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7840         otherwise return 0.
7841
7842 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
7843
7844         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7845         * libc/sys/win32/fcntl.h: Don't include self.
7846         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7847         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7848         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7849         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7850         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7851         Correct prototypes.
7852         * libc/sys/win32/strace.c: New file.
7853         * libc/sys/win32/smallprint.c: New file.
7854         * libc/sys/win32/crt0.c (func): Delete.
7855         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7856         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7857         * libc/sys/win32/exceptions.c: Lint.
7858         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7859         Clean up handle usage.
7860         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7861         (open.c): Default file type is text.
7862         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7863         * libc/sys/win32/advapi32.def: New      
7864
7865 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7866
7867         * configure.in (posix_dir, libc_posix_lib): New variables.
7868         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7869         (i[345]86-*-win32): Define posix_dir.
7870         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7871         (if unix_dir): Fix typo.
7872         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7873         scandir,seekdir,telldir}: New files.
7874         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7875         from libc/unix.
7876         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7877         (SUBDIRS): Add posix.
7878         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7879
7880         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7881         (NSIG): Increase to 21.
7882         * libc/include/sys/unistd.h (pid_t): Move from here,
7883         * libc/include/sys/types.h (pid_t): to here.
7884
7885         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7886         (__ptrace): Delete.
7887         (hinfo): New members close_exec_p, child_created_p.
7888         (struct exception_list): Define.
7889         (__hmap): Redefine as pointer to table.
7890         (__parent_hmap, __child_hmap): New globals.
7891         (__set_errno, __really_exit): Declare.
7892         (__vfork_child_pid): Declare.
7893         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7894         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7895         (__parent_hmap, __child_hmap): New globals.
7896         (__hmap): Redefine as pointer to active map.
7897         (__get_console): New function.
7898         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7899         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7900         mapping table from it if defined.
7901         (argv, envp): Dump if __strace >= 4.
7902         (main): Call here.
7903         * libc/sys/win32/exceptions.c (myp): Redefine.
7904         (__syscalls_b): Delete.
7905         (__stack_trace): New function.
7906         (ehandler3): Update to use _STRACE.  Print stack trace.
7907         Call __really_exit instead of exit.
7908         (init_exceptions): Delete args argc,argv.  New arg mine.
7909         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7910         FindFirstFileA, FindNextFileA, GetComputerNameA,
7911         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7912         * libc/sys/win32/signal.c (signal): Validate arg.
7913         (alarm, sleep): Define as stubs for now.
7914         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7915         (__syscalls_b, errno): Delete.
7916         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7917         (__seterrno): Handle more errors.
7918         (__sys_printf): Renamed from _ptrace.
7919         (__really_exit): New function.
7920         (queue_file_deletion, process_deletion_queue): New functions.
7921         (__resume_parent): New function.
7922         (_unlink): Handle trying to delete open file.
7923         (__totime_t): Renamed from totime_t.
7924         (setsid, __read, __write): New functions.
7925         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7926         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7927         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7928         * libc/sys/win32/console.c: Update to new definition of __hmap.
7929         * libc/sys/win32/Makefile.in: Build new files.
7930         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7931         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7932         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7933         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7934
7935 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7936
7937         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7938
7939 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7940
7941         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7942         have been made to the master dtoa.c sources (from netlib.att.com)
7943         since they were integrated into newlib in early 1992.  Fixes
7944         problems with storage leaks and handling of numbers with very
7945         negative exponents.
7946         
7947 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7948
7949         * Makefile.in (all): set rootpre and srcrootpre before calling
7950         sub-makes.
7951
7952 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7953
7954         * libc/sys/win32/crt0.c: Change __hmap usage.
7955         * libc/sys/win32/exceptions.c: Use _ptrace call.
7956         * libc/sys/win32/syscalls.c: Use _ptrace call.
7957         (read, write): Cope with DOS style CRLF when in TEXT mode.
7958         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7959         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7960         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7961         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7962         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7963
7964 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7965
7966         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7967
7968         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7969         wrappers for hypot() and remainder() for BSD libm compatibility.
7970         These are public domain implementations written by me for the
7971         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7972         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7973         (fobj): Added wf_cabs.o and wf_drem.o.
7974
7975 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7976
7977         * libc/sys/h8500hms/misc.c: New file.
7978         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7979
7980 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7981
7982         * libc/time/localtime.c (localtime): Fix problem with leap year
7983         handling.  Stole algorithm from Arthur David Olson's tz code.
7984         
7985 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
7986
7987         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7988
7989         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7990         (_exit): Use argument.
7991
7992 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
7993
7994         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7995
7996 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7997
7998         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7999
8000 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8001
8002         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
8003         target_cflags.
8004
8005 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
8006
8007         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
8008         ptrace with case insensitivity
8009         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
8010         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8011         New files.
8012
8013 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
8014
8015         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8016         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
8017         (all, install, *clean): Use new multilib support.
8018         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
8019
8020 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
8021
8022         * libc/include/sys/signal.h (__WIN32__): New.
8023
8024         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
8025
8026         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
8027         (ulp, b2d): Handle 32 bit doubles.
8028         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
8029         * libc/stdlib/strtod.c (_strtod_r): Ditto.
8030
8031 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
8032
8033         from medp@primag.co.uk:
8034         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
8035         dynamically allocated buffers.
8036
8037 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
8038
8039         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
8040         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
8041
8042 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
8043
8044         * configure.in (powerpc): Fix previous fix.
8045
8046 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
8047
8048         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
8049         directories for this target.
8050
8051 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
8052
8053         * configure.in (hppa): Add machine_dir definition.
8054         * libc/machine/hppa: New directory with PA specific implementations
8055         of the basic memory/string functions.
8056
8057 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
8058
8059         * configure.in: Update current PowerPC multilib directories.
8060         Split big and little endian configurations.
8061
8062 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
8063
8064         * configure.in: Add --enable-single-float option to configure to
8065         control use of MIPS single-float directories.  Default to yes.
8066
8067         * Makefile.in (all): Don't recurse into multilib directory if it
8068         does not exist.
8069
8070 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8071
8072         * libc/sys/sh/syscalls.c: Fix typo.
8073
8074 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8075
8076         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
8077         Pass down DLLTOOL.
8078         * libc/include/process.h: Define WAIT_CHILD.
8079         * libc/include/types.h: Get sizes right for win32.
8080         * configure.in (i386-*-pe): Becomes i386-win32.
8081         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8082         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
8083         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
8084         is defined.
8085
8086 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8087
8088         * configure.in (i[345]86-*-pe):  New target (NT).
8089         * host/any: DLLTOOL new.
8090         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
8091         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
8092         WIN32 (just enough to cross host the comp-tools).
8093
8094 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
8095
8096         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
8097         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
8098
8099 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
8100
8101         * libc/include/machine/ieeefp.h (arm): Change to always be
8102         __IEEE_BIG_ENDIAN (even on little endian ARM's).
8103
8104 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8105
8106         * libc/sys/crt0.S: Initialze sp, and call exit after main.
8107         * libc/sys/syscalls.c (abort): New.
8108         * configure.in (arm): Define ABORT_PROVIDED.
8109
8110 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8111
8112         * configure.in (powerpc): Define multidirs.
8113
8114 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
8115
8116         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
8117
8118 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
8119
8120         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
8121
8122 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
8123
8124         * configure.in, libc/include/machine/ieeefp.h: Modified
8125         for arm:
8126         libc/machine/arm/*, libc/sys/arm/*: New
8127
8128 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8129
8130         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
8131           __powerpc__ when determining endianness.
8132
8133 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8134
8135         * configure.in (m68*): Add multidir for the m68332.
8136
8137         * host/any (CC): Fix typo in last change.
8138
8139 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
8140
8141         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
8142         when determining endianness.
8143         * libc/include/machine/ieeefp.h: Ditto.
8144         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
8145         operands.
8146
8147 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
8148
8149         * libc/include/errno.h (ENOTEMPTY): Define.
8150
8151 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8152
8153         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
8154           target_cflags.
8155
8156         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
8157           and umultiply.o.
8158
8159         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
8160           instead of only when open succeeds.  ANSI requires that multiple
8161           calls to tmpnam() result in different files.
8162
8163         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
8164           objects pulled in from /lib/libc.a that must be renamed before
8165           being pulled into newlib.  /lib/libc.a's div.o conflicted with
8166           newlib's file with the same name.
8167
8168         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
8169
8170         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
8171           the build tree will only be used if the executables are present
8172           (instead of just the Makefiles).
8173
8174         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
8175           wcstombs): Define.
8176         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
8177           versions of these functions that I orignally wrote for the
8178           NetBSD C library.
8179         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
8180           versions I wrote for NetBSD.
8181
8182 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
8183
8184         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
8185         * libc/sys/sparclite/crt0.s: ditto.
8186
8187 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
8188
8189         * configure.in: Add soft-float for proelf.
8190
8191 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
8192
8193         * libc/stdlib/mprec.h (Bcopy): Copy the right number
8194         of bytes.
8195
8196 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
8197
8198         * Makefile.in (all): Depend on `force'.
8199         * configure.in (syscall_dir): Renamed from fake_sys_dir.
8200         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
8201         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
8202         * libc/Makefile.in: Likewise.
8203         * libc/include/reent.h: Update syscall references.
8204         (_fcntl_r): Add prototype.
8205         * libc/syscalls/*.c #include <reent.h>.
8206         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
8207
8208 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
8209
8210         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
8211         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
8212         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
8213         (time.h, sys/types.h): Always include (even if MSDOS).
8214         (stat): Fix prototype.
8215
8216 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
8217
8218         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
8219
8220 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
8221
8222         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
8223
8224 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
8225
8226         * libc/include/regdef.h: New file.
8227         * libc/machine/mips/machine/regdef.h: New file.
8228
8229 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
8230
8231         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
8232
8233 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
8234
8235         * libc/sys/sh/crt0.S: Pass main's return to exit.
8236         * libc/sys/sh/trap.S: Put errno in the right place.
8237
8238 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8239
8240         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
8241         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
8242         * libm/math/ef_rem_pio2.c: Likewise.
8243         * libm/math/e_log10.c: Remove unused static one.
8244         * libm/math/ef_log10.c: Likewise.
8245         * libm/math/s_frexp.c: Likewise.
8246         * libm/math/sf_frexp.c: Likewise.
8247
8248 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
8249
8250         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
8251         longjmp.S: Upgraded.
8252         * libc/sys/go32/sys/setjmp.h: Upgraded.
8253         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
8254
8255 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8256
8257         * configure.in: Add many entries to multidirs for mips targets.
8258
8259 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
8260
8261         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
8262           5.2 which fixes bug where jn(-1,x) is three times larger than
8263           the actual answer.
8264         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
8265
8266 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
8267
8268         * libc/sys/w65/sys/syscalls.h: New file
8269         * libc/include/machine/ieeefp.h: W65 support.
8270         * libc/include/sys/config.h: Ditto.
8271         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
8272         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
8273         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
8274
8275 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8276
8277         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
8278
8279 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
8280
8281         * Makefile.in, configure.in: Remove any references to the old
8282         "stub" dir.
8283
8284 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8285
8286         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
8287         uses ... in prototype.
8288
8289
8290 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
8291
8292         * libc/sys/a29khif/sys/libconfig.h: Remove.
8293         * libc/sys/go32/sys/libconfig.h: Remove.
8294         * libc/sys/sun4/sys/libconfig.h: Remove.
8295         * libc/sys/sysvi386/sys/libconfig.h: Remove.
8296         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
8297         * libc/sys/sparc64/sys/libconfig.h: Remove.
8298
8299         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
8300         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
8301         * libc/include/math.h: Change all uses of _FLOAT_RET and
8302         _FLOAT_ARG to float.
8303         * libm/test/math.c: Likewise.
8304         * testsuite/libm.sac/math.c: Likewise.
8305         * testsuite/libm.sac/working/math.c: Likewise.
8306
8307 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
8308
8309         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
8310         gcc calls gas with endian option.
8311         * configure.in (sh): Build little endian version too.
8312
8313 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8314
8315         * configure.in: Configure big and little endian versions for MIPS
8316         targets.
8317
8318 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
8319
8320         * libc/include/limits.h: Deleted.
8321         * libc/include/machine/limits.h: Deleted.
8322
8323 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
8324
8325         * ChangeLog: Remove stub directory. This has all been rewritten
8326         and moved to devo/libgloss.
8327
8328 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
8329
8330         * Makefile.in (dvi): Add to info target, use $@ in sub make.
8331         (docs): Merge into info target.
8332         * libm/Makefile.in (dvi): Add $(srcdir).
8333         * libm/math/Makefile.in (chobjs): Remove underscores from file
8334         names.  Texinfo doesn't like them.
8335         (wacos.def, ...): Add explicit targets for all .def files.
8336         * libm/math/math.tex: Remove underscores from @include file names.
8337         * doc/Makefile.in (dvi): Add dummy target.
8338         * testsuite/Makefile.in (dvi): Add dummy target.
8339
8340 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
8341
8342         * Makefile.in (VERSION): Define.  For net newlib releases.
8343
8344 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
8345
8346         * README: New file.
8347
8348 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
8349
8350         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
8351
8352 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8353
8354         * libc/stdlib/setenv.c (_findenv): Declare.
8355
8356         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
8357         fcntl to not use _EXFUN, and change string parameters to open and
8358         creat to be ``const char *''.
8359         * libc/sys/sparc64/sys/fcntl.h: Likewise.
8360         * libc/sys/sparc64/creat.c (creat): Make PATH const.
8361         * libc/syscalls/sysopen.c: Include <fcntl.h>.
8362         (open) Make _FILE const.
8363         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
8364         (_creat): Make PATH const.
8365         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
8366         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
8367         * libc/sys/m88kbug/syscalls.c (open): Likewise.
8368         * libc/sys/sh/syscalls.c (_open): Likewise.
8369         * stub/shared/glue.c (open): Make BUF const.
8370         * stub/ex93x/syscalls.c (open): Make FILENAME const.
8371
8372 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
8373
8374         * libc/include/errno.h: Add ENMFILE
8375         * libc/include/sys/config.h: Support Z8000.
8376         * libc/include/sys/signal.h: New signals for go32.
8377         * libc/machine/h8500/psi.S (__addpsir0r0): New function
8378         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
8379         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
8380         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
8381         size is variable, depending upon CHUNK_POWER.
8382         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
8383
8384 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
8385
8386         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
8387
8388 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8389
8390         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
8391
8392 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8393
8394         * configure.in: Change i[34]86 to i[345]86.
8395
8396         * libc/include/math.h: Don't define HUGE_VAL if it is already
8397         defined.
8398
8399 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8400
8401         * testsuite/libm.sac/test_erfc.c: Correct some result values.
8402         * testsuite/libm.sac/test_gammaf.c: Likewise.
8403         * testsuite/libm.sac/test_sin.c: Likewise.
8404         * testsuite/libm.sac/test_tanh.c: Likewise.
8405
8406 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8407
8408         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
8409         already set.  Define typedefs __int32_t and __uint32_t.
8410         * libc/include/math.h: Include <machine/ieeefp.h>.
8411         (union __dmath): Use __uint32_t.
8412         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
8413         instead of int and unsigned int.
8414
8415 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8416
8417         Replace the math library with the SunPRO fdlibm package.
8418         * libm/math: Completely changed all files.
8419         * libm/ieeefp: Remove contents and directory.
8420         * libm/Makefile.in (LIBM_FP_LIB): Remove.
8421         (SUBDIRS): Just set to math/lib.a.
8422         * libm/libm.texinfo: Updated for new library.
8423         * libc/include/math.h: Extensive changes for new math library.
8424         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8425         from _FLOAT_ARG to float.
8426         (maxpowtwo, maxpowtwof): Don't declare.
8427         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8428         (libm_fp_lib): Removed.
8429         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8430         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8431         argument to ${RUNTEST}.
8432         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8433         (.c.o): New rule.
8434         (RUNTESTFLAGS): Set CC and CFLAGS.
8435         (TESTS): Remove test_log2 and test_log2f.
8436         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8437         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8438         _FLOAT_ARG, for single precision argument type.
8439         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8440         expected failure.  Close the input pipe.
8441         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8442         Correct misspelling of inaccurate.
8443         (test_mok): Use ``inaccurate'', not ``wrong''.
8444         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8445         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8446         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8447         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8448         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8449         test_yn.c): Correct many result values.  Many are still wrong.
8450
8451         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8452         just copy the string.
8453         (_gcvt): Always return the buffer.
8454
8455 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8456
8457         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8458
8459 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
8460
8461         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8462         structure.
8463         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8464         (_reclaim_reent): declare new entry point.
8465         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8466         functions.
8467
8468         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8469         ever allocated, so that we can later reclaim them all.
8470         (pow5mult): make reentrant.
8471
8472         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8473         so that when given NULL as a buffer, return a pointer to static
8474         space in the rent structure.  This is not documented behaviour;
8475         it's only to support ecvt and fcvt, which aren't ANSI anyway.
8476         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8477         therefore become reentrant).
8478         
8479         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8480
8481 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8482
8483         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8484
8485 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8486
8487         * Makefile.in: Make link to libg.a after libc.a; this is needed
8488           for the testsuites to build executables when everything comes
8489           from the tree.
8490
8491 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
8492
8493         * libc/Makefile.in: Add a VERSION variable so we can keep track.
8494         * libm/Makefile.in: Add a VERSION variable so we can keep track.
8495
8496 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8497
8498         * libc/include/stdio.h: Use __VALIST, not va_list.
8499
8500 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
8501
8502         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8503         testsuite/libm.sac/execute.exp:
8504           Replace error proc calls with perror calls.
8505
8506 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
8507
8508         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8509         * libc/include/time.h: #define NULL as 0L.
8510
8511 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
8512
8513         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8514         care of it.
8515
8516 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8517
8518         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8519         not __unix__.
8520
8521 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
8522
8523         * configure.in (TARGET_CFLAGS): Set -O2 as default.
8524         (z8k-*-*): Use syscalls fake sys dir.
8525         * libc/sys/z8k/glue.c: Rename syscalls.
8526         * libc/sys/go32/Makefile.in: Use new routines.
8527         * libc/machine/Makefile.in: Fix typo in ln stuff.
8528
8529 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8530
8531         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8532         * libc/Makefile.in (crt0.o): Likewise.
8533         * libc/machine/Makefile.in (lib.a): Likewise.
8534         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8535
8536         All Makefile.in files: Added mostlyclean, realclean and distclean
8537         targets.
8538
8539         * Makefile.in: Don't bother to unexport XTRAFLAGS or
8540         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8541         the top level Makefile.
8542
8543 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
8544
8545         * libc/sys/sparc64/sys/stat.h: New file.
8546         * libc/sys/sparc64/sys/time.h: New file.
8547         * libc/sys/sparc64/sys/types.h: New file.
8548
8549 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
8550
8551         * stub/ex93x/crt0.s (start): Add code to clear bss.
8552
8553 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
8554
8555         * libc/include/sys/types.h (time_t): Properly protect inside
8556         #ifndef __time_t_defined.
8557
8558         * libc/stdio/fileno.c: New file.
8559         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8560         (fileno.o): Add dependency.
8561         * libc/include/stdio.h (__sgetc): Rename never to _never.
8562         (fileno macro): Disable, needs to do CHECK_INIT first.
8563
8564 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
8565
8566         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8567         goal.
8568
8569         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8570         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8571         runtest.
8572         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8573         runtest.
8574
8575 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
8576
8577         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8578         of the various constants.
8579
8580 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
8581
8582         * libc/include/math.h: #ifndef __math_68881 around things which
8583         conflict with the (gcc-provided) inline functions in
8584         gcc/ginclude/math-68881.h.
8585
8586 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
8587
8588         * libc/include/_syslist.h (_gettimeofday): Define.
8589         (_times): Ditto.
8590         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8591         (struct tms, timeval, timezone): Declare.
8592         (_gettimeofday_r, _times_r): Declare.
8593         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
8594         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8595         (time_t): Add multiple definition protection, __time_t_defined.
8596         * libc/include/sys/time.h: Don't #include <time.h>.
8597         Always define struct timezone (remove #ifndef _TIME_H_).
8598         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
8599         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8600         * libc/reent/Makefile.in (OFILES): Add timer.o.
8601         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
8602         * libc/reent/timer.c: New file.
8603         * libc/time/clock.c: #include <reent.h>.
8604         (clock): Call _times_r instead of times.
8605         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8606         HAVE_GET_TIME_OF_DAY.
8607         Add comment regarding supporting OS routine(s) required (for docs).
8608         #include <reent.h>.
8609         (time): Call _gettimeofday_r instead of gettimeofday.
8610         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8611         * libc/time/ctime.c: Ditto.
8612         * libc/time/strftime.c: Ditto.
8613         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8614         (TEMPLATE_SFILES_R): Define here.  Also define times.
8615         Add times_r.o/times.S dependence.
8616         (time2.c, junk.c): Deleted.
8617         * libc/sys/sparc64/time2.c: Deleted.
8618         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8619
8620         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8621         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8622         * libc/sys/sparc64/junk.c: Deleted.
8623
8624 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
8625
8626         * libc/sys/sparc64/Makefile.in: Add times syscall.
8627         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8628         be used with and without it.  Add comment clarifying Medium/Anywhere
8629         model requirements.
8630         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8631         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8632         even if obsolete.
8633
8634 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
8635
8636         * configure.in (target_cflags): Move init.
8637         (sparc64-*-*): Define HAVE_BLKSIZE.
8638
8639 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
8640
8641         * libc/include/sys/_types.h: New file.
8642         * libc/include/reent.h: #include it.
8643         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8644         MISSING_SYSCALL_NAMES.
8645         Sort syscalls.
8646         * libc/include/_syslist.h: Remove _raise.
8647         * libc/reent/signalr.c: New file.
8648         * libc/reent/Makefile.in: Compile it.
8649         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8650         Add doc for raise and _raise_r.
8651         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8652         (raise): Call _raise_r.
8653         (_raise_r): Call _getpid_r and _kill_r.
8654         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8655         (abort): Loop forever calling raise and _exit.
8656
8657 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8658
8659         * configure.in: Remove extraneous echo.
8660
8661 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
8662
8663         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8664         collision with unistd.h, and fix for svr4.
8665
8666 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
8667
8668         * libc/stdio/local.h (_llicvt): Declare.
8669         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8670         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8671         (_llicvt): Define.
8672         (_sicvt): Fix function header (`value' is short).
8673         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8674         Add printing of long long's support.
8675         Add printing of 8 byte pointer support.
8676
8677 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
8678
8679         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8680         stat, chmod): New hooks. 
8681         (sbrk): Abort if stack and heap collide.
8682         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8683         shortcut when given small args.
8684         * libc/machine/sh/setjmp.s: Rewritten.
8685         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8686         of cmp/str instruction.
8687
8688 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8689
8690         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8691         and machine_dir powerpc.
8692         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8693         Add cases for __powerpc__.
8694         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8695         New files.
8696
8697         * libc/include/stdio.h (_iprintf_r): Declare correctly.
8698
8699 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
8700
8701         * libc/stdlib/callocr.c: New file with _calloc_r in it.
8702         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8703
8704 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
8705
8706         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8707         (print_e): More comments to describe args, etc.
8708         "type" arg may now be 'g' or 'G' for %g/G format --> remove
8709         trailing blanks.
8710         (_gcvt): Remove locals decpt, sign, end, p, done.
8711         More comments for print_e invocation.
8712         Pass "type" to print_e as is (g/G).
8713
8714 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
8715
8716         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8717         stock m68000. 
8718
8719 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
8720
8721         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8722         works with any sized pointer, including ones bigger than ints and
8723         longs.
8724
8725 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
8726
8727         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8728
8729 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8730
8731         * libc/include/stdlib.h (_calloc_r): Add prototype.
8732         * libc/machine/h8500/negsi2.c: New file.
8733         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8734         large unsigned numbers.
8735         * libc/machine/h8500/cmpsi.c: Add cmppsi.
8736         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8737         works when sizeof(size_t) != sizeof(char *).
8738         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8739         get play area
8740         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8741
8742 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
8743
8744         * libc/include/assert.h (assert): Handle -traditional.
8745
8746 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
8747
8748         * Makefile.in: added ; after every "fi" and "done" that wasn't at
8749         the end of a line (ie. anything before a backslash continuation)
8750         so that bash handles them.
8751
8752 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8753
8754         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8755         stat to lstat
8756
8757 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
8758
8759         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8760         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8761         libc/machine/sh/udivsi3.s: Use new calling convention.
8762
8763 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
8764
8765         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8766         chmod, access, chdir, chown by making _path const. Also fix _amode
8767         param of access.
8768
8769 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
8770
8771         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8772         _khif_tmpnam, because it doesn't comply with ANSI but may be
8773         useful anyway. Real tmpnam was already in libc/stdio, and was
8774         colliding with this one (pr 2176.) 
8775         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8776         the wrong idea anyhow.
8777
8778 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8779
8780         * configure.in: Remove h8300h, we have multilib now.
8781
8782 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
8783
8784         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8785         functions, to get preference over the ones in libiberty (since we
8786         provide correct declarations in <string.h>.
8787         * libc/string/Makefile.in: add support for strncasecmp,
8788         strcasecmp.
8789
8790 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
8791
8792         * Change netware config not to look for cpu explicitly.
8793
8794 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8795
8796         * libc/sys/sparc64/{creat.c,junk.c}: New files.
8797         * libc/sys/sparc64/Makefile.in: Add dependencies.
8798
8799 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
8800
8801         * configure.in: Clean up v9 a bit, new "os" aoutv8.
8802
8803 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
8804
8805         * libc/include/sys/reent.h: make structure smaller by allocating
8806         some stuff when needed.
8807         * libc/signal/signal.c: allocate as needed
8808         * libc/stdio/findfp.c,stdio/local.h: ditto
8809         * libc/stdlib/mprec.c: ditto
8810
8811         * libc/time/localtime.c: don't return a dangling stack ptr.
8812
8813 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8814
8815         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8816
8817 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8818
8819         * libc/include/stdio.h (__sputc): comment out static inline which
8820           confuses coff toolchains.
8821
8822 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
8823
8824         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8825         _write.s, getpid.c, kill.c, read.s}:
8826         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8827         through the syscalls directory.
8828
8829 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8830
8831         * configure.in: fixed double quote gotcha.
8832
8833 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8834
8835         * stub/ex931: stub library for sparclite board.
8836         * stub/idp: Renamed from mc68ec. Added contructor table
8837         stuff to linker script.
8838         * stub/mvme135: Renamed from m68kmvme. Added contructor table
8839         stuff to linker script.
8840
8841 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8842
8843         * configure.in: Configure testsuites only if they exist.
8844
8845 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8846
8847         * configure.in: Don't set machine_dir for i386 until there is
8848         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
8849         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8850         CLOCK_PROVIDED and MALLOC_PROVIDED.
8851
8852         * libc/sys/netware: New directory.  Contains simplistic and
8853         probably incorrect stubs for NetWare.  Should be enough to load
8854         the library.
8855         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8856         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8857         stub files.
8858
8859         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8860         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8861         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8862         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8863
8864 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8865
8866         * testsuite/Makefile.in: add "docs" dummy target for consistency
8867         with rest of newlib; turn "info" and "install-info" into dummy
8868         targets, since they wouldn't have worked.  (Depended on
8869         nonexistent "doc" subdir.)
8870
8871 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8872
8873         * configure.in: handle mips* instead of mips
8874
8875 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8876
8877         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8878         a version of libc/sys/*/sys/dirent.h, it includes the next
8879         <dirent.h> file in case there is one lurking somewhere.
8880
8881 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8882
8883         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8884         compliance, namely: Accept a minus sign.  Consider a single 0 with
8885         a radix of 0 as being a conversion.  Determine overflow correctly.
8886         If an overflow occurs, set *ptr to the end of the number, not the
8887         middle.
8888         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8889
8890 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8891
8892         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8893
8894 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8895
8896         * Makefile.in (INSTALL): Use $srcrootpre.
8897         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8898         can't handle it.
8899         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8900         it.
8901         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8902         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8903         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8904         * libm/math/Makefile.in (matherr.o): Ditto.
8905
8906 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8907
8908         * configure.in: Build multidirs for z8k.
8909         * libc/include/stdlib.h (_strtoul_r): add prototype.
8910         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8911         * libc/include/machine/setjmp.h: Add for z8k.
8912         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8913         * libc/sys/z8ksim/glue.c: tidy up.
8914
8915 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8916
8917         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8918         New files.  Requires execve system call.
8919         * libc/unix/Makefile.in: Use them.
8920         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8921         Deleted, moved to libc/unix.
8922         * libc/sys/sparc64/Makefile.in: Remove them.
8923
8924 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8925
8926         * libc/sys/sparc64/{template.S template_r.S}: New files.
8927         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8928         from templates.
8929         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8930         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8931         umask.S unlink.S wait4.S write.S}: Removed, now built from
8932         templates.
8933
8934 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8935
8936         * libc/time/time.c: #include <_ansi.h>.
8937
8938 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8939
8940         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8941
8942 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8943
8944         * configure.in: match m8* rather than m88k so that m88110 is
8945           recognized as well.
8946
8947 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8948
8949         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8950         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8951         misc.c: New file.
8952
8953         * configure.in: Add multilib support to h8300.
8954
8955 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8956
8957         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8958         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8959         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8960
8961 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8962
8963         * configure.in: Corrected multidirs for sparc target.
8964
8965 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8966
8967         Support for building newlib multiple times with different
8968         compilation flags.
8969         * configure.in: Only configure doc at top level.  Set multidirs
8970         when appropriate for target, unless not at top level.  If
8971         multidirs is set, independently configure each subdirectory.
8972         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8973         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8974         automagically set by configure.in.
8975         (all): If MULTIDIRS is set, build multiple copies of libraries.
8976         (install): If MULTIDIRS is set, install multiple copies of
8977         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8978         MULTISUBDIR is set, don't bother to install header files.
8979         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8980         ${srcrootpre}.
8981         * stub/configure.in: Set MULTISUBDIR appropriately.
8982         * stub/Makefile.in (install): Install in
8983         $(tooldir)/lib/$(MULTISUBDIR).
8984         * All Makefile.in files: Define SRCTOP as well as TOP.
8985
8986 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
8987
8988         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8989         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8990
8991 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8992
8993         * libc/sys/h8300hms/exit.c (_exit): New function.
8994
8995 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8996
8997         * configure.in: recognize m88110.
8998
8999 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9000
9001         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
9002           prototype main and call with args.
9003
9004 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
9005
9006         First real try at system traps for m88k-bug.
9007         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
9008           to real trap calls.
9009         * libc/sys/m88kbug/sys/systraps.h: new file.
9010
9011 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9012
9013         Patches to fix info building when target does not use sys
9014         directory.
9015         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
9016         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
9017           libc/sys.tex.
9018         * libc/sys/Makefile.in (doc): do nothing.
9019
9020 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9021
9022         * libc/Makefile.in (CRT0): new macro.
9023           (all): depend on $(CRT0) rather than crt0.o.
9024
9025         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
9026           do not default crt0, instead, set crt0 and crt0_dir based on
9027           sys_dir and stub_dir.
9028
9029         * Makefile.in (CRT0_DIR): new macro.
9030           (all): depend on $(CRT0) rather than crt0.o which may not exist.
9031           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
9032           $(CRT0).
9033           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
9034
9035 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9036
9037         * testsuite/lib/libm.exp: 
9038                 added code to support compiling and linking of tests for 
9039                 libm.sac (paranoia to be added next) and processing the 
9040                 pass or failure of the tests.
9041
9042         * testsuite/config/unix-libm.exp:
9043                 platform specific proc's for dealing with compiler, linker
9044                 and the way we execute and process the test results.
9045
9046         * testsuite/libm.sac/execute.exp:
9047                 generic framework for the sac tests. the config and lib 
9048                 expect code for specific platforms tie it all together.
9049
9050         * testsuite/libm.sac/test_is.c:
9051                 changed the output of the test to be consistant with the
9052                 other tests. parsing of pass nad fail messages is now fixed.
9053
9054 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
9055
9056         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
9057         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
9058         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
9059         #ifdef __cplusplus, surround by extern ""C { ... }.
9060         * libc/include/assert.h:  Do *not* protect assert.h against
9061         multiple inclusion!  Also, #undef it before #define, to allow
9062         redefinition.
9063         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
9064         should be only in unistd.h.
9065
9066         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
9067         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
9068         ... }.
9069
9070 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
9071
9072         * libc/machine/sparc/Makefile.in: Must create a library, even
9073         if empty.
9074
9075 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9076
9077         * configure.in: set machine_dir for m88k.  edit crt0 definition
9078           into makefiles.
9079
9080         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
9081
9082         * libc/Makefile.in (all): also build crt0.o.
9083
9084         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
9085           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
9086           to remove CRT0.
9087
9088         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
9089           (all): reworked to build in place.
9090           (clean): remove lib.a
9091           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
9092
9093         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
9094           (_start): key off edata rather than _start_bss.
9095
9096 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
9097
9098         * libc/include/sys/unistd.h, libc/include/reent.h,
9099         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
9100
9101 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9102
9103         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
9104
9105         * Makefile.in (libc.a): break into two rules, one for libc.a and
9106           one for libc/libc.a.  Force subdirs current before rebuilding
9107           library.
9108           (libm.a): break into two rules, one for libm.a and one for
9109           libm/libm.a.  Force subdirs current before rebuilding library.
9110
9111         * libc/Makefile.in (SUBLIBS): fix typo.
9112
9113         * libc/sys/Makefile.in (all): force descent into subdirs, then
9114           rebuild library iff out of of date.
9115
9116 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
9117
9118         Rework so that library is built and then finished rather than
9119         being built on each invocation of make.
9120
9121         * host/any (machine_dir, sys_dir, signal_dir): these are not
9122           shared and have been moved to their associated Makefile.in's.
9123           (AR_FLAGS): switch to qc which is faster.
9124         * configure.in: no longer assign machine_dir for m88k.  set
9125           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
9126           stub_dir set, then add to configdirs.  add comment about silly
9127           configuration.
9128           (configdirs): drop stub.  It will be added only
9129           when needed.
9130           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
9131           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
9132           stub_lib, crt0): new variables for tailoring lower level
9133           makefiles.  Assign accordingly and edit into makefiles.
9134         * libm/Makefile.in: updated copyright.
9135           (TARGETLIB): removed.
9136           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
9137           (SUBDIRS): removed TARGETDEP_DIRS.
9138           (LIBM_FP_LIB, SUBLIBS): new macros.
9139           (all): reworked.
9140           (force): new target to force rebuilds.
9141           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9142         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
9143           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
9144           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
9145           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
9146           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
9147           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
9148           stub/m68kmvme/Makefile.in: updated copyright.
9149           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
9150           (all): reworked.  made this the default rule.
9151           (clean): also remove lib.a.
9152           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9153         * stub/Makefile.in: updated copyright.
9154           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
9155           (stub_lib): new macro.
9156           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
9157           RANLIB.
9158           (all): reworked.
9159           (clean, install): assume stub_dir exists.
9160           (Makefile): depend on configure.in.  call $(SHELL) rather than
9161           sh.  drop redundant ./
9162         * stub/configure.in (stublib): new macro, assign it, edit it into
9163           makefiles.
9164         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
9165           updated copyright.
9166           (all): reworked.
9167           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9168         * libc/Makefile.in (TARGETCRT0): removed.
9169           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
9170           TARGETCRT0.
9171           (SUBDIRS): drop TARGETDEP_DIRS.
9172           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
9173           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
9174           (force): new target to force rebuilds.
9175         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
9176           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
9177           removed.
9178           (clean): assume sys_dir always exists.
9179         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
9180           drop redundant ./
9181         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
9182           libc/locale/Makefile.in, libc/machine/Makefile.in,
9183           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
9184           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
9185           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
9186           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
9187           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
9188           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
9189           libc/signal/Makefile.in, libc/stdio/Makefile.in,
9190           libc/stdlib/Makefile.in, libc/string/Makefile.in,
9191           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
9192           libc/time/Makefile.in, libc/unix/Makefile.in,
9193           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
9194           (TARGETLIB): removed.
9195           (all): reworked.
9196           (clean): also remove lib.a.
9197           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
9198         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
9199           new macros.
9200           (SUBDIRS): moved to follow frag inclusion, change stub to
9201           stub_dir.
9202           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
9203           are now set in the libc Makefile.
9204         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
9205           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
9206           TARGETCRT0.
9207           (force): new target to force rebuilds.
9208         * stub/configure.in: determine and set stub_lib for for Makefile.
9209
9210 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
9211
9212         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
9213         crt0.s renamed to crt0.S.
9214         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
9215
9216         * libc/machine/h8300/Makefile.in: Make `all' the default target.
9217         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
9218         h8300h.
9219         * libc/machine/h8300/defines.h: Add macros to handle pointers for
9220         h8300 (16 bits) and h8300h (32 bits).
9221         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
9222         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
9223
9224 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
9225
9226         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
9227         implementation of setjmp and longjmp for the m88k.
9228         * libc/include/machine/setjmp.h: Added __m88000__ case.
9229
9230 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
9231
9232         * configure.in: Recognize h8300h as variant of h8300.
9233
9234 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
9235
9236         * libc/include/sys/unistd.h (read, write): get prototypes right.
9237         (sbrk): New prototype.
9238         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
9239         * libc/stdio/local.h: Include unistd.h.
9240         * libc/machine/h8300/syscalls.c: Names have changed.
9241
9242 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
9243
9244         * configure.in: add sys_dir assignment for m88k-bug.
9245
9246 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9247
9248         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
9249         a.out or elf.
9250         * libc/sys/sparc64: all *.S files: Use new macros.
9251         * libc/sys/sparc64/isatty.c: New file.
9252         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
9253         functions beyond what newlib provides.
9254
9255 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
9256
9257         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
9258         svr4.
9259
9260 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
9261
9262         * libc/include/machine/ieeefp.h: Add support for h8/300h.
9263
9264 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
9265
9266         * configure.in: add m88k.
9267         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
9268         sanity check so no one else need ever chase what I did to find
9269         this.
9270
9271         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
9272
9273 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
9274
9275         * doc/makedoc.c: Include <ctype.h>.
9276
9277 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
9278
9279         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9280         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9281         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
9282
9283         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
9284
9285 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
9286
9287         * libc/include/errno.h (ENOSYS): Added.
9288
9289         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
9290
9291 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
9292
9293         * libc/stdio/fflush.c (fflush): Check for reent struct
9294         initialization.
9295         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
9296
9297 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
9298
9299         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
9300         out of dtoa.c so it doesn't pollute the namespace.
9301         * libc/include/_syslist.h: new file -- mappings from _function to
9302         function, for systems where we can't win (by default, all of them,
9303         until we start updating system calls.)
9304         * libc/syscalls: new directory -- stubs for exporting _function
9305         names as unmodified function names.
9306         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
9307         _syslist.h on all platforms by default, but put hooks in for
9308         fake_sys_dir so we can include it when we've renamed the system
9309         calls.
9310         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
9311         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
9312         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
9313         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
9314         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
9315         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
9316         non ANSI functions to call _function.
9317
9318 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
9319
9320         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
9321         when base 16 is specified.  Don't accept non-digits if radix > 10.
9322
9323 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
9324
9325         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
9326
9327 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9328
9329         * libc/include/sys/stat.h: Surround text after #endif with
9330         comments.
9331
9332 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
9333
9334         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
9335         _malloc_r, _realloc_r, and free_r call the corresponding
9336         non-reentrant functions.
9337
9338         * libm/math/modf.c (modf): We now take the address of ipart, so
9339         don't make it a register variable.
9340
9341 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
9342
9343         * libm/math/*: Rename all xxx_r fns to _xxx_r.
9344
9345 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
9346
9347         * libc/libc.texinfo and embedded docn throughout: formatting
9348         improvements, minor rephrasing for clarity, and improved
9349         reentrancy docn.
9350
9351 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9352
9353         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
9354
9355         * libc/stdio/cvt.c (_licvt): Print the right value on machines
9356         where sizeof(int) != sizeof(long).
9357
9358 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9359
9360         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
9361         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
9362         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
9363         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
9364         libm/math/matherr.c: changes for better docn formatting (info).
9365
9366         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
9367         libc/reent/reent.tex, libc/signal/signal.tex,
9368         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
9369         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
9370         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
9371         makeinfo node defaulting to get better Info file node structure.
9372         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
9373         Also include a few formerly missing sections (subroutines).
9374
9375         * doc/doc.str: delete fossil expansion for "func"
9376
9377         * default.menu, no-signal.menu: delete.
9378
9379         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
9380         method used to adjust doc for missing "signals" chapter when 
9381         signal_dir is empty.
9382
9383 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9384
9385         * configure.in: added testsuite/libm.sac
9386
9387 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
9388
9389         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
9390         code model).
9391
9392 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
9393
9394         * libm/Makefile.in: Use $(MAKE) rather than make, and define
9395         MAKEOVERRIDES to be empty.
9396
9397 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
9398
9399         * configure.in: Don't build mips-*-* with -msoft-float, since that
9400         makes it incompatible with hard floating point.
9401
9402 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9403
9404         * Makefile.in: added recursive 'make check'
9405
9406 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
9407
9408         * configure.in: added ./testsuite ./testsuite/libm.paranoia
9409         * ./testsuite/Makefile.in: created
9410         * ./testsuite/libm.paranoia: paranoia tests added
9411
9412 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
9413
9414         * configure.in: For mips-*-* set machine_dir to mips.
9415
9416         * libc/machine/mips: New directory.
9417         * libc/machine/mips/Makefile.in: New file.
9418         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
9419         setjmp and longjmp.
9420         * libc/include/machine/setjmp.h: Added __mips__ case.
9421
9422         * libc/machine/lmips: Removed unused and useless directory.
9423
9424 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
9425
9426         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9427
9428 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
9429
9430         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9431         start up).
9432
9433 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
9434
9435         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9436         SETJMP_H.
9437
9438 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
9439
9440         * libm/test/convert.c: structure member errno -> errno_val.
9441         Must include <errno.h> to use errno, it's a macro now.
9442         * libm/test/math.c: Ditto.
9443         * libm/test/math2.c: Include errno.h.
9444         * libm/test/string.c: Ditto.
9445         * libm/test/test.h: structure member errno -> errno_val.
9446         Remove extern int errno decl.
9447
9448 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
9449
9450         * libc/stdio/Makefile.in: Added dependencies on local header
9451         files.
9452         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9453         files.
9454
9455 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
9456
9457         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9458
9459 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9460
9461         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9462         Initialize _data.
9463
9464         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9465         * libc/stdio/local.h: Add prototype for _licvt.
9466
9467         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9468         instead of malloc,reealloc.
9469
9470         * libc/stdlib/local.h: New file.
9471         * libc/stdlib/efgcvt.c: #include local.h.
9472         (gcvt): Fix call to _gcvt.
9473         * libc/stdlib/ecvtbuf.c: #include local.h.
9474
9475         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9476         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9477         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9478
9479         * libc/stdlib/atexit.c: moved global data to struct _reent.
9480         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9481
9482         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9483
9484 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
9485
9486         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9487         here from ../reent.h.
9488
9489 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
9490
9491         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9492         should be provided in both libc.a and libm.a.
9493         (libc.a): Depend on targ-include and libm.a.  Copy
9494         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9495         (libm.a): Depend on targ-include.
9496         * configure.in (subdirs): Removed libc/math.
9497
9498 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9499
9500         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9501
9502 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
9503
9504         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9505         sys/reent.h instead of reent.h.
9506         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9507         headers moved to sys/reent.h.  
9508         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9509         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9510         __need__MAX_SIGNALS defined.
9511         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9512         std{in,out,err} refer to new _std{in,out,err} members.
9513
9514 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
9515
9516         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9517         case.
9518
9519 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
9520
9521         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9522         rather than whatever macro seterrno() has.
9523
9524 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
9525
9526         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9527         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9528
9529         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9530         __STDC__.
9531
9532         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9533         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9534         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9535
9536         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9537         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9538
9539         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9540         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9541         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9542         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9543         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9544         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9545         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9546         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
9547         for ANSI.  structure members given leading "_" for ANSI.  Use
9548         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9549
9550         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9551         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9552         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
9553         reent_struct renamed to struct _reent for ANSI.
9554         Structure members given leading "_" for ANSI.
9555         _CONST --> const in prototypes.
9556         Use _HAVE_STDC instead of __STDC__.
9557
9558         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9559         _xxx_r.
9560         struct reent_struct renamed to struct _reent for ANSI.
9561         Structure members given leading "_" for ANSI.
9562
9563         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9564         _xxx_r.
9565         struct reent_struct renamed to struct _reent for ANSI.
9566
9567         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9568         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9569         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9570         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9571         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9572
9573         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9574         signal.h, stdio.h, stdlib.h, string.h, time.h}:
9575         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9576         #ifndef _STRICT_ANSI non-ANSI routines.
9577         Reentrant routines renamed from _r_xxx to _xxx_r.
9578         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9579         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9580         Clean up namespace (structure members have leading "_").
9581         struct reent_struct renamed to struct _reent for ANSI compliance.
9582         _CONST --> const in function prototypes.
9583
9584         * libc/include/string.h: Add NULL and size_t.
9585
9586         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9587         unlink, wait, wait4. Reentrant syscall routines close, fork,
9588         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9589         write.
9590         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9591         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9592         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9593         write.S}: Define reentrant versions.
9594         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9595         reentrant syscalls.
9596
9597         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9598
9599         * libc/include/stdlib.h (RAND_MAX): Fix value.
9600
9601 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
9602
9603         * libc/sys/a29khif/_main.c: Removed unnecessary file.
9604         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9605         VPATH support targets after all: target.
9606
9607         * stub/mvme135/mvme.S: Renamed exceptionhandler to
9608         exceptionHandler, which is what mvme135-stub.c expects.
9609
9610 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
9611
9612         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9613
9614         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9615         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9616         compliant).
9617
9618 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9619
9620         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9621         first.
9622         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9623         _r_write): Ditto.
9624         libc/reent/fstatr.c (_r_fstat): Ditto.
9625         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9626         libc/reent/sbrkr.c (_r_sbrk): Ditto.
9627         libc/reent/statr.c (_r_stat): Ditto.
9628
9629         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9630         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9631         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9632         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9633         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9634         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9635         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9636         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9637         (__swrite): Ditto for _r_lseek, _r_write.
9638         (__sseek): Ditto for _r_lseek.
9639         (__close): Ditto for _r_close.
9640         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9641
9642         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9643         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9644
9645         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9646         to make reent_struct the first argument (and thus consistent with
9647         the rest of newlib).
9648
9649         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9650         reference to __STDC__.
9651
9652 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
9653
9654         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9655         global __cleanup.
9656
9657 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
9658
9659         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9660         first.
9661         libc/stdio/fclose.c (fclose): Ditto.
9662
9663 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
9664
9665         * Run through indent and rename reentrant routines for ANSI.
9666         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9667         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9668         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9669         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9670         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9671         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9672         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9673         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9674         vsprintf.c wbuf.c wsetup.c local.h}
9675
9676         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9677
9678         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9679         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9680         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9681         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9682         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9683         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9684
9685         * Run through indent.
9686         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9687         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9688         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9689         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9690         strxfrm.c}
9691
9692         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9693         localtime.c mktime.c strftime.c time.c}:
9694         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9695
9696         * Reformatting + renaming (for ANSI, GNU style, consistency).
9697         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9698         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9699         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9700
9701 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
9702
9703         * libc/include/stdio.h (stdin_r): Fix.
9704
9705 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
9706
9707         * Makefile.in: Unexport some variables to keep GNU make from
9708         putting them in the environment and using up needed ARG_MAX space
9709         (a hack is used to let this work with older makes as well).
9710
9711 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
9712
9713         * Makefile.in: Use $(MAKE) rather than make.
9714         (MAKEOVERRIDES): Define to be empty.
9715         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9716         (libc.a, libm.a): Depend on targ-include.
9717         * host/any (LD): Don't define.
9718         (INCLUDES): Use targ-include.   
9719         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9720         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9721         * libc/Makefile.in: Use $(MAKE) rather than make.
9722         (MAKEOVERRIDES): Define to be empty.
9723         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9724         (all): Rewrote to be slightly smaller.
9725         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9726         Define to be empty.
9727         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9728         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9729
9730 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
9731
9732         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9733         with errno/errno.c.
9734
9735 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
9736
9737         * Changes for reentrancy.
9738         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9739         Use ptr->_errno, not errno.
9740         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9741         libc/stdio/remove.c (remove_r): New function.
9742         libc/stdio/rename.c (rename_r): New function.
9743         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9744         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9745         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9746         reentrant versions of system calls.
9747         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9748         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9749         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9750         libc/stdio/findfp.c: Include <string.h>.
9751         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9752         "local.h".
9753         libc/stdio/wbuf.c: Include "fvwrite.h"
9754
9755         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9756         <string.h>.
9757         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9758         (NULL): Don't define if already defined.
9759         libc/stdlib/system.c: Call reentrant versions of system calls.
9760         (system_r): New function.
9761
9762         * Changes for reentrancy.
9763         libc/include/_ansi.h (_PARAMS): New macro.
9764         libc/include/errno.h: Define errno as a macro that calls __errno.
9765         (__errno_r): New macro for reentrant code.
9766         libc/include/math.h: Include reent.h.  Declare many reentrant
9767         functions.
9768         (signgam): Now a macro, not a variable.
9769         (struct exception): Added err field.
9770         libc/include/reent.h: Don't declare __sglue.  Added function
9771         declarations.
9772         (struct reent_struct): Moved errno to beginning.  Added _signgam.
9773         libc/include/stdio.h, libc/include/stdlib.h: Added function
9774         declarations.
9775
9776         * More reentrancy hacking.
9777         libc/errno/errno.c (__errno): New function.
9778         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9779         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9780         files.
9781         
9782         * Added many new reentrant functions to libm/math/*.
9783         libm/math/error.c (__matherror): Added reent_struct pointer
9784         argument. Changed all callers.
9785         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9786         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9787         libm/math/tan.h: Removed obsolete unused header files.
9788
9789         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9790
9791         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9792
9793 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9794
9795         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9796         delay slots.
9797
9798 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9799
9800         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
9801
9802 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9803
9804         * libc/reent/reent.tex:  New file.  (text from
9805         newlib/libc/libc.texinfo)
9806         * libc/stdio/tmpnam.c:  fixed doc typo
9807         * libc/stdlib/rand.c:   fixed doc typo
9808
9809 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9810
9811         * libc/reent/reent.tex:  New file.  (text from
9812         newlib/libc/libc.texinfo)
9813
9814 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9815
9816         support for reentrancy
9817         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9818         new files
9819         * libc/errno/errno.c, libc/include/ieeefp.h,
9820         libc/include/locale.h, libc/include/reent.h,
9821         libc/include/signal.h, libc/include/stdio.h,
9822         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9823         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9824         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9825         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9826         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9827         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9828         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9829         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9830         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9831         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9832         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9833         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9834         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9835         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9836         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9837         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9838         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9839         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9840         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9841         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9842         libc/time/strftime.c: modify to provide reentracy.
9843
9844         new routines:
9845         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9846         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9847         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9848         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9849         mstats_r, realloc_r, localeconv_r, setlocale_r
9850
9851 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
9852
9853         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9854         libc/include/sys/config.h, libc/include/sys/signal.h,
9855         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9856         provided macros (such as m68000), use the ansi version
9857         (__m68000__) so that the library can be used with code compiled
9858         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9859         and sparc.
9860
9861 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9862
9863         * configure.in (sparc*): Don't set -fsoft-float for sparc
9864         configurations.  Do set -fsoft-float for sparclite configurations.
9865
9866 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9867
9868         * default.menu, no-signal.menu: alternate forms of libc main menu
9869           (in newlib rather than newlib/libc due to configuration restrictions)
9870
9871         * configure.in: select one of the two menus above, link to
9872         libc.menu
9873
9874         * libc/libc.texinfo: include menu from separate file
9875
9876 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9877
9878         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9879         (info): Split long shell command in half.
9880         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9881         sub-makes, just CHEW and TARGETDOC. 
9882         (targetdep.tex): Removed now special handling of sys and machine
9883         subdirectories, made obsolete some time ago.
9884         * libc/machine/Makefile.in (doc): Don't pass everything to
9885         sub-make, just CHEW and TARGETDOC.
9886         (Makefile): New target.
9887         * libc/sys/Makefile.in (Makefile): New target.
9888
9889 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9890
9891         * Makefile.in (here and most subdirectories): Only pass down CHEW
9892         and TARGETDOC when making info, not for other targets.
9893
9894         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9895         $(AR_FLAGS) rather than $(ARUPDATE).
9896
9897 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9898
9899         * Try to reduce command line length:
9900         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9901         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9902         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9903         (info): Pass CHEW to other subdirs.
9904
9905 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9906
9907         * configure.in: add signal_dir, like unix_dir, but by default it
9908         is set to "signal" so that a29khif can turn it off (since a29khif
9909         has raise() as part of machine-specific signal.s.)
9910
9911 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9912
9913         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9914         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9915         correctly.
9916         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9917         libc/stdio/vfprintf: type lint.
9918         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9919         initialzation code.
9920         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9921
9922 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9923
9924         * stub/mvme135/mvme135-asm.S: new file.
9925         stub/mvme135mvme135-stub.c: moved all assembler routines into
9926         mvme135-asm.S.
9927         stub/mvme135/Makefile.in: build mvme135-stub.o.
9928
9929 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9930
9931         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9932         sub-Makefiles instead, to try to avoid line length limitations.
9933
9934 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9935
9936         * libc/include/unistd.h (read, write):  Use void* instead of
9937         char*.
9938
9939 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9940
9941         * stub/go32/resetpc: sample script to send a reset packet to the
9942         stub
9943
9944         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9945         DOS environment, which compiles with Turbo C.
9946
9947         * stub/go32/DSER32.LNK: new file, linker commands for serial
9948         remote stub.
9949
9950         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9951         start up message to identify version; call set_debug_traps.
9952
9953         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9954         keyboard interaction); call handle_exception() in go_til_stop,
9955         rather than return, so that the remote stub gets control.
9956
9957         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9958         rename, rather than mv), set flags that work with current Turbo C,
9959         including using the /3 flag; also, add commands to build dser32.
9960
9961         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9962         default Turbo C installation (\tc rather than \usr)
9963
9964         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9965         "&..."
9966
9967 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9968
9969         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9970
9971 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9972
9973         * libc/stdio/cvt.c (licvt): new function to convert ints when
9974         sizeof(int) != sizeof(long).
9975
9976         * libc/include/stdio.h: added prototype for iprintf.
9977         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9978
9979 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9980
9981         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9982         __REGISTER_PREFIX__.
9983
9984 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9985
9986         * libc/sys/m68kbare: moved into stub directory.
9987
9988 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9989
9990         * configure.in, Makefile.in: created new directory stub, to hold
9991         sample code for specific targets.
9992
9993 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
9994
9995         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9996         in the unified libc/include/sys/fcntl.h.
9997
9998 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
9999
10000         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
10001         printed .01, not 0.01.
10002
10003 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
10004
10005         * configure.in: compile with -m68000 for m68* targets.
10006
10007 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
10008
10009         * libm/math/remainder.c (remainder): document the svr4 and sunos
10010         references used to construct the function.
10011
10012 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
10013
10014         * libm/math/remainder.c (rint, remainder): fix old typos.
10015         * libm/math/Makefile.in: actually build remainder.c (functions
10016         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
10017         page.)
10018
10019 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
10020
10021         * libc/string/bcopy.c: BSD version works on overlapping strings,
10022         so ours should too.
10023
10024         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
10025         ("SHELL").
10026
10027 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
10028
10029         * Makefile.in (docs): new target.
10030
10031 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
10032
10033         * libc/include/sys/times.h: define clock_t as required by POSIX.
10034         libc/include/time.h: protect clock_t from multiple definitions.
10035
10036 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10037
10038         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
10039         does not need more than the original three iterations to get
10040         within 1 ulp. (Paranoia tests for rounding to better than that,
10041         but further iterations *don't* help, only more subtle changes
10042         can.)
10043
10044 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
10045
10046         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
10047         were doing nothing useful.
10048
10049 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
10050
10051         * configure.in: define MALLOC_PROVIDED for vxworks targets;
10052         removed sys_dir settings of vxworks68 and vxworks960.
10053         host/any: don't pass -nostdinc to gcc, since newlib no longer
10054         provides all required header files.
10055
10056         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
10057         is not defined; this provides a hook for VxWorks.
10058
10059 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10060
10061         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
10062         buffer if buf is NULL, don't do it here -- it is already being
10063         done by makebuf elsewhere in stdio.
10064
10065 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
10066
10067         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
10068         that C programs can call functions without using initial
10069         underscores.
10070
10071 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
10072
10073         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
10074
10075 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
10076
10077         * configure.in: set TARGET_CFLAGS for certain CPU types to
10078         -msoft-float.
10079
10080 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
10081
10082         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
10083
10084 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
10085
10086         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
10087         m68k*-unknown-coff.
10088
10089 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
10090
10091         * libc/include/stdio.h: define __need___va_list before including
10092         <stdarg.h>, to avoid defining va_arg, et. al.
10093
10094 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
10095
10096         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
10097         (don't cd to the user's home directory).
10098
10099         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
10100         In general this is the wrong thing to do, but I can't get around
10101         GNU make's insistence on passing command line arguments any other
10102         way.
10103
10104 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
10105
10106         * configure.in: always configure the libc/sys directory, since it
10107         now provides a required documentation file.
10108
10109         * Makefile.in: replaced all instances of $(MAKE) with make.  In
10110         general this is the wrong thing to do, but I can't get around GNU
10111         make's insistence on passing command line arguments any other way.
10112
10113 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
10114
10115         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
10116         terminated.
10117
10118         * libc/stdio/local.h: include <stdarg.h> to define va_list.
10119         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
10120
10121         * libc/include/float.h, libc/include/stdarg.h,
10122         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
10123         versions instead.
10124         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
10125         <stdarg.h>, not from <machine/types.h>.  Protect definition of
10126         NULL.
10127         libc/include/time.h: get size_t from stddef.h.  Protect definition
10128         of NULL.
10129         libc/include/machine/limits.h: override gcc <limits.h> by defining
10130         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
10131         get correct INT_MIN and LONG_LONG values.
10132         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
10133         size_t or va_list at all; they're now gotten from stddef.h
10134         instead.
10135         libc/include/machine/varargs.h: removed; use gcc version instead.
10136         libc/include/sys/types.h: explicitly include <machine/types.h>.
10137
10138         * libm/math/sqrt.h: using the fp-bit routines appears to require
10139         more iterations.
10140
10141         * Makefile.in, host/any: let system include files override machine
10142         include files.
10143
10144 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10145
10146         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
10147         override _*_T_ definitions defaulted here.
10148
10149 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
10150
10151         * Makefile.in (install): install the include files in
10152         $(tooldir)/include, not $(exec_prefix)/include.
10153
10154 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
10155
10156         * Makefile.in (install): fixed typo, and changed install to not
10157         force rebuild of libc.a and libm.a.
10158
10159 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
10160
10161         * libc/sys/a29khif/*: Changed all .include's to include
10162         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
10163         that they will be installed for the user.
10164
10165         * Makefile.in (all): create targ-include, a directory holding the
10166         machine and system specific header files during the build.
10167         (install): fixed installation of machine and system specific
10168         header files.
10169
10170         * Makefile.in: fixed comment.
10171         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
10172         we can pass $(INCLUDES) to it.
10173
10174 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
10175
10176         * libc/include/sys/param.h: new generic file, which may be
10177         overridden for specific systems.
10178
10179         * libc/include/sys/signal.h: define all ANSI signal names, and
10180         NSIG (which is not ANSI) for a29k.
10181
10182 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
10183
10184         * Makefile.in: don't pass down arguments the lower level makes
10185         will not need.
10186         * libc/Makefile.in: recurse directly, rather than using subdir_do,
10187         in hopes of avoiding argument length limits.
10188         * libm/Makefile.in: recurse directly, rather using subdir_do, in
10189         hopes of avoiding argument length limits.
10190
10191 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
10192
10193         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
10194         mode_t is defined.
10195
10196 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
10197
10198         * Fixed make info and make install-info for newlib, changing most
10199         Makefile.in and several *.tex files.  Moved doc directory from
10200         libc to top level.
10201
10202         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
10203         Should be rewritten.
10204
10205         * libc/string/strings.tex: renamed node index to node index
10206         function, so that it does not conflict with the top level index
10207         node.
10208
10209         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
10210
10211 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
10212
10213         * Overhauled general configuration for newlib.  Eliminated all
10214         target dependent Makefile fragments.  Create libraries in newlib
10215         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
10216         than CROSS_CC, et. al.  Broke make docs; will fix later.
10217
10218         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
10219         Should be rewritten.
10220
10221 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
10222
10223         * libc/configure.in: cleaned up somewhat; switch on ${target}
10224         rather than ${target_alias}.
10225         * libm/configure.in: cleaned up somewhat; switch on ${target}
10226         rather than ${target_alias}.
10227
10228         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
10229         * libc/include/ctype.h: marked _ctype_ as _CONST.
10230
10231         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
10232         _CONST.
10233
10234         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
10235         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
10236         libc/stdio/gets.c (gets): removed non-ANSI warning message.
10237         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
10238
10239         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
10240         bigtens, tinytens): marked arrays _CONST.
10241         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
10242         rather than a static variable.
10243
10244         * libc/time/asctime.c (asctime), libc/time/localtime.c
10245         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
10246         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
10247         mname_len, mname): Marked static arrays _CONST.
10248
10249         * libm/math/gamma.h: made local variables non-static.
10250
10251         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
10252         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
10253         _CONST.
10254
10255         * libm/math/constants.c: removed file, because the constants it
10256         defined were never referenced.
10257         libm/math/Makefile.in: removed references to constants.c.
10258         libm/math/mathimpl.h: removed declarations of constants.
10259
10260 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
10261
10262         * libc/include/machine/varargs.h: only call __builtin_saveregs if
10263         it is sensibly defined in libgcc2.  Checks preprocessor defines,
10264         which is not a good solution.
10265
10266         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
10267
10268         * libm/frexp.c: handle denormalized numbers as arguments.
10269
10270         * libm/math/Makefile.in: added some dependencies for .c files
10271         which include local .h files.
10272
10273 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
10274
10275         * libc/configure.in: set target_alias for OSE*.  Replace
10276         target_makefile_frag if it is blank.
10277
10278         * libc/Makefile.in: make sure everything is passed to subsidiary
10279         makes; create all directories when installing.
10280
10281         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
10282         CROSS_ARUPDATE instead of AR.
10283
10284         * libm/configure.in: set target_alias for OSE*.  Replace
10285         target_makefile_frag if it is blank.
10286
10287         * libm/Makefile.in: make sure everything is passed to subsidiary
10288         makes; create all directories when installing.
10289
10290 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
10291
10292         * add following change from libc copy.
10293
10294 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10295
10296         * libc/libc.texinfo: make copyright disclaimers appear on back of
10297         title page; make format of same slightly less ugly; avoid using
10298         underbars in section headings (avoids nasty texinfo bug in table
10299         of contents).
10300
10301         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
10302           comments only) avoid using underbars in section headings
10303
10304         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10305           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
10306           changes in comments only): shorten headings ieeefp/infinity.c,
10307           ieeefp/isnan.c: (doc, comments only) more informative headings
10308
10309         * libc/math/bessel.c: (doc, comments only) shorten heading
10310
10311         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
10312         (doc, comments only) shorten headings
10313
10314         * libc/time/localtime.c (doc, comments only): shorten headings
10315
10316         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
10317           isnan
10318           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
10319           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
10320           headings
10321           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
10322           only) more informative headings
10323         * libm/math/bessel.c: (doc, comments only) shorten heading
10324
10325 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
10326
10327         * .../Makefile.in: use CROSS_ARUPDATE consistently.
10328         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
10329         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
10330         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
10331         defined, the one from the .mt file will be correct.
10332         * libc/include/machine, libc/include/sys: created, and populated
10333         with common files from machine/*/machine. ifdefs were used for
10334         most, typically by handling exceptions first and then filling in
10335         defaults. Files with D.J. Delorie copyright #included rather than
10336         copied. Most files in include/sys really were the same in the
10337         original.
10338         * libc/include/...: cleaned up use of _EXFUN.
10339         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
10340         it with double quotes, not angles.
10341
10342 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
10343
10344         * libc/Makefile.in: always create installation directories.
10345
10346 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
10347
10348         * libc/configure.in: handle host properly (using canonical
10349         triples), better error message for the case of target not found
10350
10351 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
10352
10353         * libc/Makefile.in (insincdir): Ensure this directory exists
10354         before attempting installation.
10355
10356 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10357
10358         * libc/stdlib/assert.c: now calls abort like it should
10359         * libc/sys/a29khif: many many patches for 29khif work
10360         * libc/machine/i386: gnulib2 expanded there.
10361
10362 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10363
10364         Added accurate fp conversion routines to stdlib, moved dcvt from
10365         stdio to stdlib and called it ecvtbuf:
10366         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
10367         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
10368         routines
10369         * libc/libc.texinfo: Modifed to include the copyright info from
10370         the mprec files
10371         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
10372         * libc/test/ : many vector which tested for the implementation
10373         defined returns of strange conversion requests have been updated
10374         to relflect the new implementation
10375
10376 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10377
10378         * libc/libc.texinfo: new chapter on variable arg lists
10379         (stdarg.h/varargs.h)
10380         * libc/libc.texinfo: new title
10381         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
10382         (doc only) shorter headings for better formatting.
10383
10384 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10385
10386         * libc/libc.texinfo: three more info menu entries
10387         * libc/locale/locale.tex: new chapter
10388         * libc/locale/locale.c: new doc for setlocale, localeconv
10389         * libc/locale/Makefile.in: use new locale doc
10390         * libc/signal/signal.tex: new chapter
10391         * libc/signal/raise.c, libc/signal/signal.c: new doc
10392         * libc/signal/Makefile.in: use new doc
10393         * libc/time/time.tex: new chapter
10394         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
10395         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
10396         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
10397         * libc/time/Makefile.in: use new doc
10398
10399 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10400
10401         * libm/math/log1p.c: split to use the new function way of float
10402         function definition. math/log1p.h deleted
10403         * libm/math/scalb.c: obsolete and deleted
10404         * libm/math/scalbn.c: created from part log1p.c
10405         * libm/math/Makefile.in: know about log1p and scalbn
10406
10407 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10408
10409         * libc/ctype/isupper.c: revise doc;
10410           libc/ctype/ctype.tex: use doc from isupper.c
10411
10412         * libc/string/bzero.c: new doc
10413
10414 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10415
10416         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
10417         new doc
10418         * libc/stdlib/Makefile.in: extract new doc
10419         * libc/stdlib/stdlib.tex: use new doc
10420
10421         * libc/string/strerror.c: expanded doc.
10422
10423         * libc/stdio/Makefile.in: extract doc from more files
10424         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10425         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10426         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10427         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10428         libc/stdio/vsprintf.c: new doc
10429         * libc/stdio/stdio.tex: use new doc
10430
10431 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10432
10433         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10434         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10435         finitef functions.
10436         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10437         time ago.
10438
10439         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10440         * libc/stdio/setbuf.c: added ansi style definition.
10441         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10442         buffer if none provided.
10443         * libc/stdio/tmpfile.c: lint
10444         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10445         rather than using static, also make sure file isn't already
10446         present.  Uses P_tmpdir. (tempnam): rewritten to use new
10447         subroutine, and uses P_tmpdir.
10448         * libc/stdio/siprintf.c: created
10449
10450 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10451
10452         Release 1.03 for NEC, major mods. Main differences from release
10453         1.02::
10454
10455         More tests in test/:
10456         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10457         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10458         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10459         get/set mask, get/set sticky and get/set roundtoi.  Tests
10460         that setting the bits changes the way arithmetic is done.
10461         * string.c: added test to make sure memcmp does it with unsigned
10462         chars.
10463         * test.c: cleaned up and removed lint.
10464         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10465         dvec.c: tests for string to value conversions,  sprintf, scanf,
10466         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10467         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
10468         rounding in sprintf too.
10469         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
10470         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10471         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10472         and function form.
10473         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10474         powf
10475
10476         In the library:
10477         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10478         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10479         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10480         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10481         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10482         than sprintf.
10483         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
10484         * Method of producting float versions of double functions has
10485         changed, functions will be modified gradually. So far:
10486         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10487         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10488         altered
10489         * libc/string/memcmp.c: now uses unsigned chars
10490         * libc/string/bcmp.c, libc/string/strcpy.c,
10491         libc/stsring/strxfrm.c: fixed doc
10492         * libc/sys/sysvnecv70.tex: fix example of sbrk code
10493 \f
10494 Local Variables:
10495 version-control: never
10496 End: