OSDN Git Service

* Makefile.am: Fix space vs. tab problem in install-data-local.
[pf3gnuchains/pf3gnuchains3x.git] / newlib / ChangeLog
1 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
2
3         * Makefile.am: Fix space vs. tab problem in install-data-local.
4         * Makefile.in: Regenerate.
5
6 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
7
8         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
9         (_EXPARM): New macro for defining a function parameter.
10         * libc/include/stdlib.h: Use _EXPARM.
11         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
12
13 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
14
15         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
16         required, as documented in the gnu coding standards.
17         * Makefile.in: Regenerate.
18
19 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
20
21         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
22         make O_NDELAY and O_NONBLOCK have the same value.
23
24 2000-08-30  Kazu Hirata  <kazu@hxi.com>
25
26         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
27
28 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
29
30         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
31         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
32         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
33         everywhere else.
34
35 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
36
37         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
38         * libc/include/string.h: Don't include <sys/types.h>,
39         as it causes really bad namespace pollution.  Don't declare
40         swab(), it is properly declared in unistd.h.
41
42 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
43
44         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
45         (broken) support for non-existent /etc/passwd field "comment".
46
47 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
48
49         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
50         only if _DIRENT_HAVE_D_NAMLEN is defined.
51         (alphasort): aligned prototype with
52         libc/sys/cygwin/sys/dirent.h and simplified function body.
53         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
54         long telldir (DIR *) as mentioned in annex B of POSIX.1
55
56 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
57
58         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
59         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
60         Added __CLI and __STI macros (controlled via
61         _I386MACH_ALLOW_HW_INTERRUPTS macro).
62         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
63         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
64         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
65         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
66         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
67         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
68         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
69         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
70         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
71         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
72         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
73         for all global entry points.
74         * libc/machine/i386/setjmp.S: removed code replicated in
75         libc/machine/i386/i386mach.h and included i386mach.h instead;
76         Use __CLI and __STI instead of cli and sti.
77
78 2000-08-25  DJ Delorie  <dj@redhat.com>
79
80         * libc/include/sys/unistd.h (environ): this one isn't from the
81         DLL, no __IMPORT
82
83 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
84
85         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
86         environ when compiling under cygwin since it is already declared in
87         unistd.h.
88
89 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
90
91         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
92         like  x << y-z  to the equivalent  x << (y-z).
93         (d2b): changed if statements with assignment to perform the
94         assignment prior to the if check.
95         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
96         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
97         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
98         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
99         precedence.
100         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
101         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
102         execve.c).
103         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
104         precedence.
105         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
106         clarify && and || precendence (and to remove pascalism).
107         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
108         * libm/math/s_infconst.c: added another pair of braces to all
109         initializers for __infinity (need three: for __infinity[1] array,
110         for union __dmath, and for i[2]).
111
112 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
113
114         * libc/stdlib/abort.c: changed description: uses "raise" instead of
115         "getpid" and "kill"; added: uses "write" and "_exit".
116         Also included unistd.h for "_exit" prototype.
117         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
118         reent.h for "_fork_r" and "_wait_r" prototypes.
119         (do_system): changed  extern char *environ[] to POSIX-friendly 
120         extern char **environ.
121         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
122         prototypes.
123         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
124         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
125         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
126         * libc/reent/openr.c: included fcntl.h for "open" prototype.
127         * libc/reent/signalr.c: included signal.h for "kill" prototype,
128         unistd.h for "getpid" prototype.
129         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
130         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
131         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
132         prototype.  Also included stdlib.h for "abort", string.h for
133         "strdup" and "strncmp" prototypes.
134         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
135         "strncpy", unistd.h for "read" and "close" prototypes.
136         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
137         "strcat" prototypes.
138
139 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
140
141         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
142         used later (ifdef __SCLE)
143         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
144         used later (ifdef MB_CAPABLE)
145         * libc/string/memset.c (memset): removed unused variables "count"
146         and "unaligned_addr"
147         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
148         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
149         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
150         and "gid"
151
152 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
153
154         * libc/stdlib/envlock.c: changed documented "__env_lock" and
155         "__env_unlock" prototype from "void *" or "char *" to
156         "struct _reent *" to match real function.  Also added include
157         of envlock.h.
158         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
159         "__malloc_unlock" prototype from "void *" or "char *" to
160         "struct _reent *" to match real function.
161         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
162         prototypes (for getenv_r.c and setenv_r.c).
163
164 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
165
166         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
167         and prototype in cygwin's utmp.h
168
169 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
170
171         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
172
173 2000-08-09  Nick Clifton  <nickc@cygnus.com>
174
175         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
176         epilogue and to allow the functions to be used in a Thumb based
177         toolchain.
178
179 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
180
181         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
182         so size of 0 results in nothing being written to string.
183         Also fixed code so that when size is non-zero, there is only
184         a maximum of size - 1 characters written to the array and
185         a nul terminator is appended at the end.
186         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
187
188 2000-08-01  DJ Delorie  <dj@redhat.com>
189
190         * libc/include/sys/config.h: define __IMPORT appropriately
191         * libc/include/ctype.h (_ctype_): use __IMPORT
192         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
193         * libc/include/math.h (__mb_cur_max): ditto
194         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
195         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
196         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
197         * libc/include/unistd.h (environ): ditto
198
199 2000-07-28  Michael Meissner  <meissner@redhat.com>
200
201         * libc/include/math.h (__infinity): Declare as an array without
202         bounds to get around small data support.  Rewrite Cygwin support
203         to be more general.
204         * libm/math/s_infconst.c (__infinity): Ditto.
205         * libm/mathfp/s_infconst.c (__infinity): Ditto.
206
207 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
208
209         * libc/include/math.h: Use appropriate dll import linkage for
210         __infinity under Cygwin.
211
212 2000-07-13  DJ Delorie  <dj@cygnus.com>
213
214         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
215
216 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
217
218         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
219         to argument list for AngelSWI_Reason_GetCmdLine.
220
221 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
222
223         * configure.host: Add support for AVR target.
224         * libc/include/machine/ieeefp.h: Likewise.
225         * libc/include/sys/config.h: Likewise.
226
227 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
228
229         * README: Newlib 1.8.2 must be built in a separate directory
230         than the sources.
231
232 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
233
234         * libc/include/sys/reent.h (_rand_next): Added __extension__
235         qualifier as long long type is not strict ANSI.
236         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
237         to long long constant.
238
239 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
240
241         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
242         `setegid' provided by Cygwin.
243
244 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
245
246         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
247         account for Cygwin.
248
249 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
250
251         * libc/include/sys/reent.h (_rand_next): Changed to
252         unsigned long long and moved to end of _reent struct in _new union.
253         (_REENT_INIT): Changed to move _rand_next initialization.
254         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
255         linear congruential algorithm that is used by DJGPP.
256
257 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
258
259         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
260         * libc/include/sys/config.h: Define __RAND_MAX.
261
262 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
263
264         * libc/stdlib/rand_r.c: New algorithm that meets minimal
265         standard.
266
267 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
268
269         * libc/include/string.h: Work around problem with strsignal and gdb.
270
271 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
272
273         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
274         * libc/include/malloc.h: Ditto.
275         * libc/include/process.h: Ditto.
276         * libc/include/stdio.h: Ditto.
277         * libc/include/stdlib.h: Ditto.
278         * libc/include/time.h: Ditto.
279         * libc/include/machine/setjmp.h: Ditto.
280         * libc/include/sys/errno.h: Ditto.
281         * libc/include/sys/signal.h: Ditto.
282         * libc/include/sys/stat.h: Ditto.
283         * libc/include/sys/time.h: Ditto.
284         * libc/include/sys/unistd.h: Ditto.
285         * libc/include/string.h: Ditto.  strsignal should return a const char *.
286
287 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
288
289         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
290         * libm/common/s_log1p.c (log1p): Likewise.
291         * libm/common/s_scalbn.c (scalbn): Likewise.
292         * libm/math/e_log.c: Likewise.
293         * libm/math/e_asin.c: Likewise.
294         * libm/math/ef_asin.c: Likewise.
295         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
296         * libm/math/e_j1.c (pone, qone): Likewise.
297         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
298         * libm/math/ef_j1.c (ponef, qonef): Likewise.
299         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
300         * libm/mathfp/e_j1.c (pone, qone): Likewise.
301         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
302         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
303
304 2000-05-19  DJ Delorie  <dj@cygnus.com>
305
306         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
307         (__sread): always read in binary mode
308         (__swrite): always write in binary mode
309         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
310         compatibility issues with different dll versions
311         * libc/stdio/fopen.c: use __stextmode
312         * libc/stdio/fdopen.c: ditto
313         * libc/stdio/freopen.c: ditto
314         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
315         * libc/stdio/local.h: declare __stextmode
316         
317 2000-05-18  DJ Delorie  <dj@cygnus.com>
318
319         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
320         
321 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
322
323         * libc/include/ctype.h: Changed tolower and toupper macros
324         to use __extension__ to prevent pedantic warnings.
325
326 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
327
328         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
329         structures.
330
331 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
332
333         * libc/include/machine/ieeefp.h: Add ia64 support.
334         * configure.host: Likewise.
335
336 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
337
338         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
339         month is now padded with space, not zero.  This now conforms to
340         ANSI standard.
341
342 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
343
344         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
345         host or network path") used by cygwin. Add some comments.
346
347 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
348
349         * libc/include/stdio.h (FILE): define __SCLE for "convert line
350         endings" for Cygwin.
351         (__sgetc): convert line endings if needed
352         (__sputc): ditto
353         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
354         * libc/stdio/fopen.c (_fopen_r): ditto
355         * libc/stdio/freopen.c (freopen): ditto
356         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
357         * libc/stdio/fvwrite.c (__sfvwrite): ditto
358
359 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
360
361         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
362         post-increment when it is worth it, spacewise.
363
364 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
365
366         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
367         * libc/stdio/findfp.c (std): Added declaration of flags and file.
368         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
369         return type.
370         * libc/stdio/putchar.c (putchar): Added return statement.
371         * libc/stdio/refill.c (lflush): Added correct parentheses.
372         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
373         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
374         prints long value to use l qualifier.
375         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
376         messages and initialized local values: ilim, ilim1, and spec_case.
377         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
378         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
379         * libc/stdlib/mprec.c: Ditto.
380         * libc/stdlib/setenv_r.c: Ditto.
381         * libc/stdlib/strtod.c: Ditto.
382         * libc/stdlib/strtol.c: Ditto.
383         * libc/stdlib/strtoul.c: Ditto.
384         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
385         * libm/common/sf_log1p.c: Ditto.
386         * libm/common/sf_scalbn.c: Ditto.
387         * libm/math/ef_log.c: Ditto.
388
389 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
390
391         * libc/posix/execvp.c (execvp): Check path for
392         trailing slash.
393
394 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
395
396         * libc/include/sys/unistd.h: Add prototypes for
397         fchmod, fchown, lchown.
398
399 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
400
401         * acinclude.m4: Changed release to 1.8.2.
402         * aclocal.m4 configure doc/aclocal.m4 doc/configure
403           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
404           libc/machine/configure libc/machine/a29k/aclocal.m4
405           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
406           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
407           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
408           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
409           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
410           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
411           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
412           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
413           libc/machine/i386/configure libc/machine/i960/aclocal.m4
414           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
415           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
416           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
417           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
418           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
419           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
420           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
421           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
422           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
423           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
424           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
425           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
426           libc/machine/v850/configure libc/machine/w65/aclocal.m4
427           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
428           libc/machine/z8k/configure libc/sys/aclocal.m4
429           libc/sys/aclocal.m4 libc/sys/configure
430           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
431           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
432           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
433           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
434           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
435           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
436           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
437           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
438           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
439           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
440           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
441           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
442           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
443           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
444           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
445           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
446           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
447           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
448           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
449           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
450           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
451           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
452           libm/aclocal.m4 libm/configure: Regenerated.
453
454 2000-03-24  Nick Clifton  <nickc@cygnus.com>
455
456         * libc/sys/arm/syscalls.c: Fix compile time warnings.
457         (do_AngelSWI): Add "cc" to list o registers clobbered.
458
459 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
460
461         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
462         information to be clobbered by an Angel C library support syscall. 
463
464 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
465
466         * libc/stdlib/envlock.c: Fixed comment typo.
467
468 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
469
470         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
471         code to update nread as each character is processed instead
472         of using buffer contents which throw away leading zeroes.
473
474 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
475
476         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
477
478 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
479
480         * libc/include/string.h: Include <sys/types.h>.
481
482 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
483
484         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
485         with XSH5, not SVID.
486
487 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
488
489         * libc/include/string.h: Changed last argument back to ssize_t
490         to make it compatible with XPG4 definition which is 
491         defined in <unistd.h>.  There is a conflict in the SVID 3
492         and XPG4 definitions and newlib will settle with XPG4.
493         * libc/string/swab.c: Ditto.
494
495 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
496
497         * libc/include/string.h: Changed last argument to size_t.
498         * libc/string/swab.c: Changed last argument to size_t.
499
500 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
501
502         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
503         (CHEWOUT_FILES): Added unlinkr.def.
504         * libc/reent/Makefile.in: Rebuilt.
505         * libc/sys.tex: Include unlinkr.def.
506         * libc/reent/linkr.c (_unlink_r): Moved to...
507         * libc/reent/unlinkr.c: ... new file.
508
509 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
510
511         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
512         (CHEWOUT_FILES): Added swab.def.
513         * libc/string/Makefile.in: Rebuilt.
514         * libc/string/string.tex: Include swab.def.
515         * libc/include/string.h (swab): Declare.
516         * libc/string/swab.c: New file.
517
518 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
519
520         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
521         (CHEWOUT_FILES): Added getw.def and putw.def.
522         * libc/stdio/Makefile.in: Rebuilt.
523         * libc/stdio/stdio.tex: Include getw.def and putw.def.
524         * libc/stdio/getw.c: New file.
525         * libc/stdio/putw.c: New file.
526
527 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
528
529         * libc/stdio/flags.c (__sflags): Added check that mode[1]
530         is non-null before looking at mode[2].
531
532 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
533
534         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
535         * libm/mathfp/sf_atan.c: Ditto.
536
537 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
538
539         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
540
541 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
542
543         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
544         _DOUBLE_IS_32BITS.
545
546 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
547
548         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
549         call prior to calling _VFPRINTF_R so reentrant data area is set.
550         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
551
552 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
553
554         * libc/stdio/vfscanf.c (limits.h): #include.
555         (MAX_LONG_LEN): #define.
556         (__svfscanf): Handle floating point numbers with arbitrary amounts
557         of leading zeroes.
558
559 2000-02-15  Nick Clifton  <nickc@cygnus.com>
560
561         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
562         zero.  Set the blocksize to 1024/
563
564 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
565
566         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
567         with line buffering.
568
569 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
570
571         * acinclude.m4: Changed include directory for winsup headers. 
572         * aclocal.m4 configure libc/aclocal.m4
573           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
574           libc/locale/Makefile.in libc/machine/aclocal.m4
575           libc/machine/configure libc/machine/a29k/aclocal.m4
576           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
577           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
578           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
579           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
580           libc/machine/fr30/configure
581           libc/machine/h8300/aclocal.m4
582           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
583           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
584           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
585           libc/machine/i386/configure libc/machine/i960/aclocal.m4
586           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
587           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
588           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
589           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
590           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
591           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
592           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
593           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
594           libc/machine/powerpc/configure 
595           libc/machine/sh/aclocal.m4
596           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
597           libc/machine/sparc/configure
598           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
599           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
600           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
601           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
602           libc/misc/Makefile.in libc/posix/Makefile.in
603           libc/reent/Makefile.in 
604           libc/signal/Makefile.in
605           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
606           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
607           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
608           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
609           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
610           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
611           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
612           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
613           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
614           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
615           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
616           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
617           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
618           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
619           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
620           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
621           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
622           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
623           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
624           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
625           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
626           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
627           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
628           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
629           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
630           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
631           libm/configure: Regenerated.
632
633 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
634
635         * libc/stdlib/putenv_r.c (_putenv_r): New file.
636         * libc/stdlib/strdup_r.c (_strdup_r): New file.
637         * libc/include/string.h: Added _strdup_r.
638         * libc/stdlib/putenv.c: Added call to reentrant version. 
639         * libc/stdlib/strdup.c: Ditto.
640         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
641         * libc/include/stdlib.h: Ditto.
642         * libc/stdlib/Makefile.in: Regenerated. 
643         * libc/string/Makefile.in: Regenerated.
644         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
645         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
646         management calls to reentrant versions.
647         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
648         * libc/stdlib/wctomb.c: Ditto.
649         * libc/stdlib/mblen.c: Ditto.
650         * libc/stdlib/mbstowcs.c: Ditto.
651         * libc/stdlib/mbtowc.c: Ditto. 
652         * libc/stdlib/getenv.c: Ditto.
653         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
654         and _strdup_r.
655
656 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
657
658         patch from Corinna Vinschen <corinna@vinschen.de>
659         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
660
661 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
662
663         * libm/mathfp/s_atangent.c: Fix exponent calculation.
664         * libm/mathfp/s_ldexp.c: Ditto.
665         * libm/mathfp/sf_atangent.c: Ditto.
666         * libm/mathfp/sf_ldexp.c: Ditto.
667
668 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
669
670         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
671         * libc/include/locale.h: define NULL to be 0.
672
673 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
674
675         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
676         function.
677
678 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
679
680         * libc/machine/mn10300/setjmp.S: Handle am33.
681
682 1999-11-26  Nick Clifton  <nickc@cygnus.com>
683
684         * libc/sys/arm/syscalls.c: Add function prototypes.
685         (stack_ptr): Move declaration before function definitions.
686
687 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
688
689         * NEWS: Updated version information.
690         * README: Ditto.
691
692 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
693
694         * libc/machine/i386/strchr.S: Fixed alignment test.
695
696 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
697
698         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
699
700 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
701
702         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
703         ensuring that there is space between the two.
704
705 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
706
707         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
708         only.
709
710 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
711
712         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
713         section
714
715 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
716
717         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
718         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
719
720 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
721         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
722           per POSIX 1003.1b.
723         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
724           per POSIX 1003.1b.
725
726 1999-09-13  DJ Delorie  <dj@cygnus.com>
727
728         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
729         also.
730
731 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
732
733         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
734         also note BUFSIZ as its size.
735
736 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
737
738         * configure.host: Corrected feature defines for RTEMS.
739         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
740         * libc/include/sys/stat.h: mkfifo() should take const path arg.
741         * libc/include/sys/unistd.h: pathconf() should take const path arg.
742           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
743           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
744           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
745           _PC_PRIO_IO, and _PC_SYNC_IO.
746         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
747         * libc/machine/m68k/Makefile.in: Regenerated.
748         * libc/machine/m68k/strcpy.c: New file.
749         * libc/machine/m68k/strlen.c: New file.
750         * libc/stdio/tmpnam.c: Always make the returned name usable.
751         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
752         * libc/sys/rtems/sys/dirent.h: New file.
753         * libc/sys/rtems/sys/types.h: Added dev_t.
754
755 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
756
757         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
758
759 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
760
761         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
762         my patch.
763
764 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
765
766         patch from Jeff Johnston <jjohnstn@cygnus.com>
767         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
768         buffer is not in a useful state.
769
770 1999-09-01  Nick Clifton  <nickc@cygnus.com>
771
772         * libc/sys/arm/syscalls.c (_link): Add stub.
773
774 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
775
776         * ftell.c (ftell): Use actual position within buffer for text mode.
777         * findfp.c (std): Initialize ptr->_bf._size.
778
779 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
780
781         * libc/include/sys/unistd.h: Add nice() declaration.
782
783 1999-08-09  Nick Clifton  <nickc@cygnus.com>
784
785         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
786         declare as a thumb function so that the disassembler will see the
787         mode change.
788
789 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
790
791         * libc/reent/reent.tex: Updated list of reentrant functions.
792
793 1999-07-09  Michael Meissner  <meissner@cygnus.com>
794
795         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
796         
797 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
798
799         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
800         separate file.
801         * libc/stdio/snprintf.c: New file.
802         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
803         separate file.
804         * libc/stdio/vsnprintf.c: New file.
805         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
806         * libc/stdio/Makefile.in: Regenerated.
807
808 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
809
810         Patch submitted by Egor Duda <deo@logos-m.ru>:
811         * libc/include/stdio.h: Add declarations for *nprintf.
812         * libc/stdio/sprintf.c (snprintf): New function.
813         (_snprintf_r): New function.
814         * libc/stdio/vsprintf.c (vsnprintf): New function.
815         (_vnsprintf_r): New function.
816
817 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
818
819         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
820         * libm/Makefile.am (stmp-targetdep): Ditto.
821         * libc/Makefile.in: Regenerated.
822         * libm/Makefile.in: Ditto.
823
824 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
825
826         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
827         * libm/Makefile.am (stmp-targetdep): Ditto.
828         * libc/Makefile.in: Regenerated.
829         * libm/Makefile.in: Ditto.
830
831 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
832
833         * Makefile.am: Removed dependencies on all-recursive and added "."
834         to the SUBDIRS list to prevent infinite recursion from occurring.
835         Also removed any references to EXTRA_DATA.
836         * libc/Makefile.am: Ditto.
837         * libc/machine/Makefile.am: Ditto.
838         * libc/machine/i386/Makefile.am: Ditto.
839         * libm/Makefile.am: Ditto.
840         * libc/sys/Makefile.am: Ditto.
841         * Makefile.in: Regenerated.
842         * aclocal.m4: Ditto.
843         * configure: Ditto.
844         * doc/Makefile.in: Ditto.
845         * doc/aclocal.m4: Ditto.
846         * doc/configure: Ditto.
847         * libc/Makefile.in: Ditto.
848         * libc/aclocal.m4: Ditto.
849         * libc/configure: Ditto.
850         * libc/machine/Makefile.in: Ditto.
851         * libc/machine/aclocal.m4: Ditto.
852         * libc/machine/configure: Ditto.
853         * libc/machine/mn10300/Makefile.in: Ditto.
854         * libc/machine/mn10300/aclocal.m4: Ditto.
855         * libc/machine/mn10300/configure: Ditto.
856         * libc/sys/Makefile.in: Ditto.
857         * libc/sys/aclocal.m4: Ditto.
858         * libc/sys/configure: Ditto.
859         * libm/Makefile.in: Ditto.
860         * libm/aclocal.m4: Ditto.
861         * libm/configure: Ditto.
862
863 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
864
865         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
866
867 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
868
869         * libc/include/stdlib.h: Add reentrant routines.
870         * libc/stdlib/Makefile.am: Add reentrant routines.
871         * libc/stdlib/Makefile.in: Ditto.
872         * libc/stdlib/envlock.c: New file.
873         * libc/stdlib/envlock.h: New file.
874         * libc/stdlib/getenv.c: Modify to call reentrant routine.
875         * libc/stdlib/getenv_r.c: New file.
876         * libc/stdlib/mblen.c: Modify to call reentrant routine.
877         * libc/stdlib/mblen_r.c: New file.
878         * libc/stdlib/setenv.c: Modify to call reentrant routine.
879         * libc/stdlib/setenv_r.c: New file.
880         * libc/stdlib/stdlib.tex: Add reentrant routines.
881
882 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
883
884         * libc/include/sys/types.h: Define __MS_types__ whenever
885         cygwin or win32.
886
887 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
888
889         * libc/include/machine/ieeefp.h: Always default to little
890         endian if Windows, regardless of architecture.
891         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
892         regardless of architecture.
893
894 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
895
896         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
897         _WIN32 isn't defined.
898
899 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
900
901         * libm/common/s_rint.c (rint): Add volatile qualifier for
902         intermediate value w.
903         * libm/common/sf_rint.c (rintf): Ditto.
904
905 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
906
907         * libc/sys/arm/syscalls.c (remap_handle): Added check to
908         ensure that std streams are initialized before being referenced.
909
910 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
911
912         * README: Update reference to newlib@cygnus.com new
913         newlib@sourceware.cygnus.com address.
914
915 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
916
917         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
918         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
919         defined, even if _WIN32 isn't defined.
920
921 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
922
923         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
924
925 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
926
927         * libc/include/sys/reent.h: Change Long and ULong to __Long and
928         __ULong.
929         * libc/stdlib/dtoa.c: Ditto.
930         * libc/stdlib/mprec.c: Ditto.
931         * libc/stdlib/mprec.h: Ditto.
932         * libc/stdlib/strtod.c: Ditto.
933
934 1999-04-21  Nick Clifton  <nickc@cygnus.com>
935
936         * configure.host (mcore): Remove mcore machine directory.
937
938 1999-04-18  Nick Clifton  <nickc@cygnus.com>
939
940         * libc/include/machine/ieeefp.h: Add support for mcore target.
941         * libc/include/machine/setjmp.h: Add support for mcore target.
942         * configure.host: Add support for mcore target.
943
944 1999-04-13  Mark Salter  <msalter@cygnus.com>
945
946         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
947         * libc/sys/arm/syscalls.c: Added isatty.
948
949 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
950
951         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
952         insert zeroes after significant digits.
953
954 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
955         
956         * libc/stdio/vfprintf.c (cvt): Changed floating point
957         cvt routine to use union used by dtoa to properly determine
958         if the sign bit is on or not.
959         * libc/stdio/vfieeefp.h: New file
960         
961 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
962
963         * aclocal.m4: Regenerated.
964         * configure: Regenerated.
965
966 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
967
968         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
969         f_tanf reference.
970         * libc/machine/i386/Makefile.in: Regenerated.
971
972 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
973
974         * acinclude.m4: Changed to work with new automake.
975         * configure: Regenerated.
976         * libc/machine/i386/aclocal.m4: Regenerated.
977         * libc/machine/i386/configure: Regenerated.
978
979 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
980
981         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
982         for telldir() and seekdir().  Rename unused structure element
983         for use with these two routines.
984
985 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
986
987         * libc/time/mktime.c (validate_structure): Multiple fixes to
988         code to handle cases where input fields are outside valid ranges.
989         * libc/stdlib/div.c (div): Modified invalid rounding check.
990         * libc/stdlib/ldiv.c (ldiv): Ditto.
991
992 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
993
994         * libc/machine/i386/memcpy.S: Performance rewrite.
995         * libc/machine/i386/memmove.S: Ditto.
996         * libc/machine/i386/i386mach.h: Added more register definitions.
997         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
998         option used.
999         * libc/include/machine/fastmath.h: Add definitions for x86
1000         fast-math routines.
1001
1002 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
1003
1004         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
1005
1006 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
1007
1008         Adjust newlib headers for new Cygwin Win32 API header files:
1009         * libc/include/sys/time.h: Check _WINSOCK_H rather than
1010         _GNU_H_WINDOWS32_SOCKETS.
1011         * libc/include/sys/types.h: Ditto.
1012
1013 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
1014
1015         *include/sys/reent.h: Add checks for size of Bigint element Long.
1016         *libc/dtoa.c: Change routines to use generic Long type.
1017         *libc/mprec.c: Change routines to use generic Long type.
1018         *libc/mprec.h: Change routines to use generic Long type.
1019
1020 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
1021
1022         * libc/Makefile.am: Add .def files.
1023         * libc/Makefile.in: Regenerate.
1024         * libc/e_acosh.c: Documentation update.
1025         * libc/e_atanh.c: Documentation update.
1026         * libc/e_hypot.c: Documentation update.
1027         * libc/e_remainder.c: Documentation update.
1028         * libc/er_lgamma.c: Documentation update.
1029         * libc/mathfp.tex: Documentation update.
1030         * libc/s_acos.c: Documentation update.
1031         * libc/s_atan.c: Documentation update.
1032         * libc/s_atan2.c: Documentation update.
1033         * libc/s_cosh.c: Documentation update.
1034         * libc/s_fmod.c: Documentation update.
1035         * libc/s_isnan.c: Documentation update.
1036         * libc/s_log10.c: Documentation update.
1037         * libc/s_pow.c: Documentation update.
1038         * libc/w_jn.c: Documentation update.
1039
1040 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
1041
1042         * aclocal.m4: Regenerate.
1043         * configure: Regenerate.
1044
1045 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1046
1047         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
1048         to return 1 if user specified return code is 0.
1049         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
1050
1051 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1052
1053         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
1054         to save the return address.  Fixed longjmp to return to the original
1055         calling address of setjmp and to return the user specified return code
1056         rather than default to 1.
1057         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
1058
1059 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1060
1061         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
1062
1063 1999-02-10  Nick Clifton  <nickc@cygnus.com>
1064
1065         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
1066         volatile so that its assignments will not be discarded.
1067
1068 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1069
1070         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
1071         be __STRICT_ANSI__ which is generated by compiler.
1072         * libc/include/ctype.h: Ditto.
1073         * libc/include/math.h: Ditto.
1074         * libc/include/stdio.h: Ditto.
1075         * libc/include/stdlib.h: Ditto.
1076         * libc/include/string.h: Ditto.
1077         * libc/include/sys/signal.h: Ditto.
1078
1079 1999-02-08  Nick Clifton  <nickc@cygnus.com>
1080
1081         * configure.host: Add support for StrongARM target.
1082
1083 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1084
1085         * libc/string/strncpy.c (strncpy): Removed redundant code
1086         that was copying bytes if data unaligned.
1087
1088 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
1089
1090         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
1091         mbstowcs.def, and wcstombs.def.
1092
1093 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
1094
1095         * libc/include/sys/errno.h: Add Cygwin errno.
1096         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
1097         is specified.
1098
1099 1999-01-29  Nick Clifton  <nickc@cygnus.com>
1100
1101         * libc/sys/arm/syscalls.c: Move C library functions into seperate
1102         file.
1103         
1104         * libc/sys/arm/libcfunc.c: New file containing C library functions
1105         from syscalls.c
1106
1107         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
1108         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
1109
1110
1111 1999-01-27  Michael Meissner  <meissner@cygnus.com>
1112
1113         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
1114         type, and cut size in half so that the jmp_buf array is guaranteed
1115         to be aligned on a 64-bit boundary.
1116
1117 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1118
1119         * libc/string/strings.tex: Added information about
1120         strcasecmp and strncasecmp.
1121         * libc/stdlib/stdlib.tex: Added missing information
1122         about mblen, mbstowcs, and wcstombs.
1123         * libc/string/strchr.c: Changed how mask is built to use
1124         shift operators so register will be used instead of storage.
1125
1126 1999-01-22  DJ Delorie  <dj@cygnus.com>
1127
1128         * libc/include/stdlib.h: don't use dllimport if we're building
1129         newlib, since it's inside cygwin.dll
1130
1131 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
1132
1133         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
1134         _ctype_ under cygwin.
1135
1136 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
1137
1138         * include/stdlib.h: Fix typo from previous checkin.
1139
1140 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
1141
1142         * include/ctype.h: Use __declspec(dllimport) method for exporting
1143         variable from cygwin DLL.
1144         * include/time.h: Ditto.
1145         * sys/errno.h: Ditto.
1146         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
1147         * libc/locale/locale.c: Use __declspec(dllexport) method for
1148         exporting variable from cygwin DLL.
1149
1150 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
1151
1152         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
1153         access of bogus pointer will result in SIGSEGV.
1154
1155 1999-01-07  Nick Clifton  <nickc@cygnus.com>
1156
1157         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
1158         of an underscore prefix to function names.
1159
1160 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
1161
1162         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
1163         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
1164
1165 1998-12-31  Michael Meissner  <meissner@cygnus.com>
1166
1167         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
1168         to `%' if not already defined.
1169
1170 1998-12-30  Michael Meissner  <meissner@cygnus.com>
1171
1172         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
1173         arguments const char *, not char *.
1174         * libc/include/stdio.h (_tempnam_r): Ditto.
1175
1176         * libc/include/sys/reent.h (struct _reent): The _sig_func type
1177         points to a function taking an integer, not void.
1178
1179 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
1180
1181         * configure.host: Add a define for Cygwin builds.
1182         * libc/include/ctype.h: Don't use dll imported variables in newlib.
1183
1184 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
1185
1186         * libc/include/ctype.h: Define _ctype_ as dll imported variable
1187         for use with Cygwin.
1188         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
1189         dll imported variables for use with Cygwin.
1190         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
1191         as a dll imported variable for Cygwin.
1192
1193 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
1194
1195         * libc/include/sys/unistd.h: Add proto for getpass.
1196
1197 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
1198
1199         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
1200         alphasort.
1201
1202 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
1203
1204         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
1205         not posix_path_list_p.
1206
1207 1998-12-15  Nick Clifton  <nickc@cygnus.com>
1208
1209         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
1210         a signed int.
1211
1212 1998-12-13  Nick Clifton  <nickc@cygnus.com>
1213
1214         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
1215
1216 1998-12-12  Nick Clifton  <nickc@cygnus.com>
1217
1218         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
1219         <msalter@cygnus.com>
1220         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
1221         * libc/machine/fr30/Makefile.in: Regenerated.
1222
1223 1998-12-11  Nick Clifton  <nickc@cygnus.com>
1224
1225         * configure.host: Remove use of libc/sys for FR30 port.
1226         * libc/sys/fr30: Remove directory (replaced by libgloss).
1227
1228 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
1229
1230         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
1231         * libc/string/strncat.c (ALIGNED): Ditto.
1232
1233 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
1234
1235         * libc/include/sys/time.h: include sys/types.h
1236
1237 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1238
1239         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
1240         comparison found when checking word at a time.
1241
1242 1998-12-04  Nick Clifton  <nickc@cygnus.com>
1243
1244         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
1245
1246 1998-12-03  Nick Clifton  <nickc@cygnus.com>
1247
1248         * libc/sys/fr30/syscalls.c (_times): New function stub.
1249
1250 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1251
1252         * configure.host (mach_add_setjmp): Replaced mach_add_objs
1253         with mach_add_setjmp flag which indicates if setjmp should
1254         be added to the machine directory objects.
1255         * acinclude.m4: Removed reference to mach_add_objs.
1256         * aclocal.m4: Regenerated.
1257         * Makefile.in: Regenerated.
1258         * configure: Regenerated.
1259         * libc/aclocal.m4: Regenerated.
1260         * libc/Makefile.in: Regenerated.
1261         * libc/configure: Regenerated.
1262         * libc/machine/aclocal.m4: Regenerated.
1263         * libc/machine/Makefile.in: Regenerated.
1264         * libc/machine/configure: Regenerated.
1265         * libc/machine/i386/aclocal.m4: Regenerated.
1266         * libc/machine/i386/Makefile.am: Altered to selectively add
1267         setjmp.S to the src files list.
1268         * libc/machine/i386/Makefile.in: Regenerated.
1269         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
1270         * libc/machine/i386/configure: Regenerated.
1271
1272 1998-12-02  Nick Clifton  <nickc@cygnus.com>
1273
1274         * libc/sys/fr30/crt0.s (_start): Fix function names.
1275
1276         * libc/machine/fr30: New directory
1277         * libc/machine/fr30/Makefile.am: New file.
1278         * libc/machine/fr30/Makefile.in: New generated file.
1279         * libc/machine/fr30/configure.in: New file.
1280         * libc/machine/fr30/configure: New generated file.
1281         * libc/machine/fr30/aclocal.m4: New generated file.
1282         * libc/sys/fr30/Makefile.am: New file.
1283         * libc/sys/fr30/Makefile.in: New generated file.
1284         * libc/sys/fr30/configure.in: New file.
1285         * libc/sys/fr30/configure: New generated file.
1286         * libc/sys/fr30/syscalls.c: New file.
1287
1288 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
1289
1290         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
1291
1292 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
1293
1294         * libc/time/strftime.c (strftime): Also handle %y for years before
1295         1900.
1296
1297 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
1298
1299         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
1300         UNIX convention.  Perform tolower on characters before comparing
1301         them rather than use toupper.
1302         * libc/string/strncasecmp.c (strncasecmp): Ditto.
1303
1304 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1305         
1306         * configure.host: Added using i386 machine directory
1307         for all x86 cross-compiler and configuring
1308         which added object files to use via new "mach_add_objs" variable.
1309         * configure: Regenerated.
1310         * libc/configure: Regenerated.
1311         * libc/Makefile.in: Regenerated.
1312         * libc/aclocal.m4: Regenerated.
1313         * libc/ctype/Makefile.in: Regenerated.
1314         * libc/errno/Makefile.in: Regenerated.
1315         * libc/locale/Makefile.in: Regenerated.
1316         * libc/machine/Makefile.in: Regenerated.
1317         * libc/machine/aclocal.m4: Regenerated.
1318         * libc/machine/configure: Regenerated.
1319         * libc/posix/Makefile.in: Regenerated.
1320         * libc/reent/Makefile.in: Regenerated.
1321         * libc/signal/Makefile.in: Regenerated.
1322         * libc/stdio/Makefile.in: Regenerated.
1323         * libc/stdlib/Makefile.in: Regenerated.
1324         * libc/string/Makefile.in: Regenerated.
1325         * libc/string/memmove.c: Optimized code to use memcpy
1326         logic when performing a non-destructive copy.
1327         * libc/string/strncmp.c: Altered code to allow building
1328         optimized for size or speed.
1329         * libc/syscalls/Makefile.in: Regenerated.
1330         * libc/time/Makefile.in: Regenerated.
1331         * libc/unix/Makefile.in: Regenerated.
1332         * libc/machine/i386/Makefile.am: Added new files and reference
1333         to "mach_add_objs" to indicate optional object files.
1334         * libc/machine/i386/Makefile.in: Regenerated.
1335         * libc/machine/i386/aclocal.m4: Regenerated.
1336         * libc/machine/i386/configure: Regenerated.
1337         * libc/machine/i386/memchr.S: New file that implements
1338         function in Intel assembler.
1339         * libc/machine/i386/memcmp.S: ditto.
1340         * libc/machine/i386/memcpy.S: ditto.
1341         * libc/machine/i386/memmove.S: ditto.
1342         * libc/machine/i386/memset.S: ditto.
1343         * libc/machine/i386/strchr.S: ditto.
1344         * libc/machine/i386/strlen.S: ditto.
1345         * libc/machine/i386/f_atan2.S: New file that implements
1346         fast version of math function to be used by compiler when
1347         --ffast_math compile option is used.
1348         * libc/machine/i386/f_atan2f.S: ditto.
1349         * libc/machine/i386/f_exp.c: ditto.
1350         * libc/machine/i386/f_expf.c: ditto.
1351         * libc/machine/i386/f_frexp.S: ditto.
1352         * libc/machine/i386/f_frexpf.S: ditto.
1353         * libc/machine/i386/f_ldexp.S: ditto.
1354         * libc/machine/i386/f_ldexpf.S: ditto.
1355         * libc/machine/i386/f_log.S: ditto.
1356         * libc/machine/i386/f_logf.S: ditto.
1357         * libc/machine/i386/f_log10.S: ditto.
1358         * libc/machine/i386/f_log10f.S: ditto.
1359         * libc/machine/i386/f_math.h: New file.
1360         * libc/machine/i386/f_pow.c: ditto.
1361         * libc/machine/i386/f_powf.S: ditto.
1362         * libc/machine/i386/f_tan.S: ditto.
1363         * libc/machine/i386/f_tan.S: ditto.
1364         * libc/machine/i386/i386mach.h: New file.
1365
1366 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
1367
1368         patch from Mumit Khan <khan@xraylith.wisc.edu>
1369         * libc/include/stdio.h (tempnam): Add prototype.
1370         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
1371         (tempnam): Adhere to prototype.
1372
1373 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
1374
1375         * Makefile.am: Add default for AR_FLAGS.
1376         * Makefile.in: Regenerate.
1377
1378 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
1379
1380         * libc/include/time.h: move __cplusplus wrapper after includes
1381         * libc/include/sys/time.h: ditto.  If Cygwin, include
1382         sys/select.h.
1383         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
1384
1385 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
1386
1387         * libc/time/strftime.c (strftime): Handle %y after year 2000.
1388
1389 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
1390
1391         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
1392         abnormnal end-of-crt0 marker.
1393
1394 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
1395
1396         * libc/sys/fr30/crt0.s: New file/directory.
1397         * libc/include/machine/setjmp.h: Add FR30 target.
1398         * libc/include/machine/ieeefp.h: Add FR30 target.
1399         * configure.host: Add FR30 target.
1400
1401 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
1402
1403         * libm/math: Files that are duplicated in common directory removed.
1404         * libm/math/fdlibm.h: Removed.
1405         * libm/math/s_cbrt.c: Removed.
1406         * libm/math/s_copysign.c: Removed.
1407         * libm/math/s_expm1.c: Removed.
1408         * libm/math/s_finite.c: Removed.
1409         * libm/math/s_ilogb.c: Removed.
1410         * libm/math/s_infinity.c: Removed.
1411         * libm/math/s_lib_ver.c: Removed.
1412         * libm/math/s_log1p.c: Removed.
1413         * libm/math/s_logb.c: Removed.
1414         * libm/math/s_matherr.c: Removed.
1415         * libm/math/s_modf.c: Removed.
1416         * libm/math/s_nan.c: Removed.
1417         * libm/math/s_nextafter.c: Removed.
1418         * libm/math/s_rint.c: Removed.
1419         * libm/math/s_scalbn.c: Removed.
1420         * libm/math/sf_cbrt.c: Removed.
1421         * libm/math/sf_copysign.c: Removed.
1422         * libm/math/sf_expm1.c: Removed.
1423         * libm/math/sf_finite.c: Removed.
1424         * libm/math/sf_ilogb.c: Removed.
1425         * libm/math/sf_infinity.c: Removed.
1426         * libm/math/sf_log1p.c: Removed.
1427         * libm/math/sf_logb.c: Removed.
1428         * libm/math/sf_modf.c: Removed.
1429         * libm/math/sf_nan.c: Removed.
1430         * libm/math/sf_nextafter.c: Removed.
1431         * libm/math/sf_rint.c: Removed.
1432         * libm/math/sf_scalbn.c: Removed.
1433         * libm/math/Makefile.am: Removed references to deleted files (above).
1434         * libm/math/Makefile.in: Regenerated.
1435         * libm/Makefile.am: Added common directory to math.
1436         * libm/Makefile.in: Regenerated.
1437
1438 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
1439
1440         * libm/mathfp: Add non-ANSI functions.
1441         * libm/mathfp/e_acosh.c acosh(): New file.
1442         * libm/mathfp/e_atanh.c atanh(): New file.
1443         * libm/mathfp/e_hypot.c hypot(): New file.
1444         * libm/mathfp/e_j0.c j0(): New file.
1445         * libm/mathfp/e_j1.c j1(): New file.
1446         * libm/mathfp/e_remainder.c remainder(): New file.
1447         * libm/mathfp/e_scalb.c scalb(): New file.
1448         * libm/mathfp/ef_acosh.c acoshf(): New file.
1449         * libm/mathfp/ef_atanh.c atanhf(): New file.
1450         * libm/mathfp/ef_hypot.c hypotf(): New file.
1451         * libm/mathfp/ef_j0.c j0f(): New file.
1452         * libm/mathfp/ef_j1.c j1f(): New file.
1453         * libm/mathfp/ef_remainder.c remainderf(): New file.
1454         * libm/mathfp/ef_scalb.c scalbf(): New file.
1455         * libm/mathfp/er_gamma.c gamma_r: New file.
1456         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
1457         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
1458         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
1459         * libm/mathfp/w_cabs.c cabs(): New file.
1460         * libm/mathfp/w_drem.c drem(): New file.
1461         * libm/mathfp/w_jn.c jn(): New file.
1462         * libm/mathfp/wf_cabs.c cabsf(): New file.
1463         * libm/mathfp/wf_drem.c dremf(): New file.
1464         * libm/mathfp/wf_jn.c jnf(): New file.
1465
1466 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
1467
1468         * libc/sys/cygwin32: remove directory and contents
1469         * libc/sys/cygwin: and add back, losing the "32".
1470         * configure.host: check for cygwin* instead of cygwin32.
1471         * acinclude.m4: ditto.
1472         * aclocal.m4: regenerate with aclocal
1473         * configure: regenerate with autoconf
1474
1475 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
1476
1477         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
1478         for length
1479
1480 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1481
1482         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
1483         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
1484         to make rand/srand, strtok, asctime, localtime, w_gamma,
1485         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
1486         time.h to bring in struct tm definition.
1487         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
1488         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
1489         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
1490         instead of static variable.
1491         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
1492         struct reent instead of static variable.
1493         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
1494         struct reent instead of static variable.
1495         * libm/math/Makefile.am: Removed s_signgam.o.
1496         * libm/math/Makefile.in: Regenerated.
1497         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
1498         struct reent instead of global variable 'signgam'.
1499         * libm/math/w_lgamma.c (lgamma): Likewise.
1500         * libm/math/wf_gamma.c (gammaf): Likewise.
1501         * libm/math/wf_lgamma.c (lgammaf): Likewise.
1502         * libm/math/s_signgam.c: Removed.
1503         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
1504         to be const.
1505         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
1506         to be const.
1507         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
1508         libc/include/reent.h.
1509         * libc/reent/Makefile.in: Regenerated.
1510         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
1511         to be const.
1512         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
1513         'JIS_action_table' to be const.
1514         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
1515
1516 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
1517
1518         * acinclude.m4:  $with_target_subdir should default to '.'
1519         or confusion results when configuring in same directory as sources.
1520         * Regenerate all aclocal.m4 and configure files.
1521
1522 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1523
1524         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
1525         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
1526         for platforms where sizeof(size_t) < sizeof(long) via
1527         SIZE_T_SMALLER_THAN_LONG macro.
1528         
1529 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1530
1531         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
1532         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
1533         which sets _CLOCKS_PER_SEC_ for selected machines.
1534         * libc/include/machine/time.h: New file.
1535
1536 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1537
1538         * libc/syscalls/sysexecve.c: New file.
1539         * libc/syscalls/sysgettod.c: New file.
1540         * libc/syscalls/systimes.c: New file.
1541         * libc/syscalls/Makefile.am: Added new objects.
1542         * libc/syscalls/Makefile.in: Regenerated.
1543         * libc/include/_syslist.h (_execve): Moved define in file.
1544         * libc/include/reent.h:  Added _execve_r declaration.
1545         * libc/Makefile.in: Regenerated.
1546         * libc/ctype/Makefile.in: Regenerated.
1547         * libc/errno/Makefile.in: Regenerated.
1548         * libc/locale/Makefile.in: Regenerated.
1549         * libc/machine/Makefile.in: Regenerated.
1550         * libc/misc/Makefile.in: Regenerated.
1551         * libc/posix/Makefile.in: Regenerated.
1552         * libc/reent/Makefile.in: Regenerated.
1553         * libc/reent/execr.c (_execve_r): Added _execve_r function.
1554         * libc/signal/Makefile.in: Regenerated.
1555         * libc/stdio/Makefile.in: Regenerated.
1556         * libc/time/Makefile.in: Regenerated.
1557         * libc/unix/Makefile.in: Regenerated.
1558         * libm/mathfp/Makefile.in: Regenerated.
1559
1560 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1561
1562         * libc/string/Makefile.in: Regenerated.
1563         * libc/string/memchr.c (memchr): Moved code to reduce object size.
1564         * libc/string/memcpy.c (memcpy): Ditto.
1565         * libc/string/memcmp.c (memcmp): Ditto.
1566         * libc/string/memset.c (memset): Ditto.
1567         * libc/string/strchr.c (strchr): Ditto.
1568         * libc/string/strcmp.c (strcmp): Ditto.
1569         * libc/string/strcpy.c (strcpy): Ditto.
1570         * libc/string/strlen.c (strlen): Ditto.
1571
1572 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1573
1574         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1575         to generate aclocal.m4.
1576         * libm/Makefile.in: Regenerated.
1577         * libm/aclocal.m4: Regenerated.
1578         * libm/configure: Regenerated.
1579         * libm/math/Makefile.in: Regenerated.
1580         * libm/mathfp/Makefile.in: Regenerated.
1581
1582 1998-09-25  Mark Salter  <msalter@cygnus.com>
1583
1584         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1585         by adding leading and trailing underscores to symbol names.
1586
1587 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
1588
1589         * Makefile.in: Add default for AR_FLAGS.
1590
1591 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
1592
1593         patch from ian@airs.com (Ian Taylor):
1594         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1595         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1596         is needed for detecting the build machine.  Required for
1597         cygwin native builds.
1598
1599         * Regenerate all aclocal.m4 and configure files.
1600
1601 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
1602
1603         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
1604         used to start with LC.
1605
1606 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1607
1608         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
1609         (longjmp): Likewise.
1610
1611 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1612
1613         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
1614         the test for small number of bytes.
1615
1616 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
1617
1618         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
1619         math library that uses floating point algorithms instead of the old
1620         libm.
1621         * Makefile.in: Regenerate with automake version 1.3b.
1622         * configure: Rebuild.
1623         * libm/Makefile.in: Regenerate with automake version 1.3b.
1624         * libm/aclocal.m4: Regenerate.
1625         * libm/configure: Rebuild.
1626         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
1627         * libm/acinclude.m4: Define macros for configure.in.
1628         * libm/config.h.in: Generate.
1629         * libm/mathfp/Makefile.am: New file.
1630         * libm/mathfp/Makefile.in: Generate.
1631         * libm/mathfp/s_acos.c (acos): New file.
1632         * libm/mathfp/s_asin.c (asin): New file.
1633         * libm/mathfp/s_asine.c (asine): New file.
1634         * libm/mathfp/s_atan.c (atan): New file.
1635         * libm/mathfp/s_atan2.c (atan2): New file.
1636         * libm/mathfp/s_atangent.c (atangent): New file.
1637         * libm/mathfp/s_ceil.c (ceil): New file.
1638         * libm/mathfp/s_copysign.c (copysign): New file.
1639         * libm/mathfp/s_cos.c (cos): New file.
1640         * libm/mathfp/s_cosh.c (cosh): New file.
1641         * libm/mathfp/s_exp.c (exp): New file.
1642         * libm/mathfp/s_fabs.c (fabs): New file.
1643         * libm/mathfp/s_finite.c (finite): New file.
1644         * libm/mathfp/s_floor.c (floor): New file.
1645         * libm/mathfp/s_fmod.c (fmod): New file.
1646         * libm/mathfp/s_frexp.c (frexp): New file.
1647         * libm/mathfp/s_infconst.c: New file.
1648         * libm/mathfp/s_isinf (isinf).c: New file.
1649         * libm/mathfp/s_isnan.c (isnan): New file.
1650         * libm/mathfp/s_ispos.c (ispos): New file.
1651         * libm/mathfp/s_ldexp.c (ldexp): New file.
1652         * libm/mathfp/s_log.c (log): New file.
1653         * libm/mathfp/s_log10.c (log10): New file.
1654         * libm/mathfp/s_logarithm.c (logarithm): New file.
1655         * libm/mathfp/s_mathcnst.c: New file.
1656         * libm/mathfp/s_modf (modf).c: New file.
1657         * libm/mathfp/s_numtest.c (numtest): New file.
1658         * libm/mathfp/s_pow.c (pow): New file.
1659         * libm/mathfp/s_scalbn.c (scalbn): New file.
1660         * libm/mathfp/s_sin (sin).c: New file.
1661         * libm/mathfp/s_sine.c (sine): New file.
1662         * libm/mathfp/s_sineh.c (sineh): New file.
1663         * libm/mathfp/s_sinf.c (sinf): New file.
1664         * libm/mathfp/s_sinh.c (sinh): New file.
1665         * libm/mathfp/s_sqrt.c (sqrt): New file.
1666         * libm/mathfp/s_tan.c (tan): New file.
1667         * libm/mathfp/s_tanh.c (tanh): New file.
1668         * libm/mathfp/sf_acos.c (acosf): New file.
1669         * libm/mathfp/sf_asin.c (asinf): New file.
1670         * libm/mathfp/sf_asine.c (asinef): New file.
1671         * libm/mathfp/sf_atan.c (atanf): New file.
1672         * libm/mathfp/sf_atan2.c (atan2f): New file.
1673         * libm/mathfp/sf_atangent.c (atangent): New file.
1674         * libm/mathfp/sf_ceil.c (ceilf): New file.
1675         * libm/mathfp/sf_copysign.c (copysignf): New file.
1676         * libm/mathfp/sf_cos.c (cosf): New file.
1677         * libm/mathfp/sf_cosh.c (coshf): New file.
1678         * libm/mathfp/sf_exp.c (expf): New file.
1679         * libm/mathfp/sf_fabs.c (fabsf): New file.
1680         * libm/mathfp/sf_finite.c (finitef): New file.
1681         * libm/mathfp/sf_floor.c (floorf): New file.
1682         * libm/mathfp/sf_fmod.c (fmodf): New file.
1683         * libm/mathfp/sf_frexp.c (frexpf): New file.
1684         * libm/mathfp/sf_isinf.c (isinff): New file.
1685         * libm/mathfp/sf_isnan.c (isnanf): New file.
1686         * libm/mathfp/sf_ispos.c (isposf): New file.
1687         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
1688         * libm/mathfp/sf_log.c (logf): New file.
1689         * libm/mathfp/sf_log10.c (log10f): New file.
1690         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
1691         * libm/mathfp/sf_modf.c (modff): New file.
1692         * libm/mathfp/sf_numtest.c (numtestf): New file.
1693         * libm/mathfp/sf_pow.c (powf): New file.
1694         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
1695         * libm/mathfp/sf_sin.c (sinf): New file.
1696         * libm/mathfp/sf_sine.c (sinef): New file.
1697         * libm/mathfp/sf_sineh.c (sinehf): New file.
1698         * libm/mathfp/sf_sinh.c (sinhf): New file.
1699         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
1700         * libm/mathfp/sf_tan.c (tanf): New file.
1701         * libm/mathfp/sf_tanh.c (tanhf): New file.
1702         * libm/mathfp/zmath.h: New file.
1703
1704 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1705
1706         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
1707         exit if it has been overwritten by pre-fetching in delay slot.
1708
1709 1998-09-01  Michael Meissner  <meissner@cygnus.com>
1710
1711         * Makefile.am (tooldir): Add in host_alias, so that multilib
1712         libraries are installed in the directory the compiler looks in.
1713         * Makefile.in: Regenerate.
1714
1715         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
1716
1717 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1718
1719         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
1720         ahead of test for number of bytes being moved.
1721
1722 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
1723
1724         * libc/include/sys/unistd.h: Nothing special needed for
1725         _exit under cygwin.
1726
1727 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
1728
1729         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
1730         conform to user label naming conventions. 
1731
1732 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
1733
1734         * libc/sys/cygwin32/sys/utime.h: variable names in
1735         protos should start with two leading underscores
1736         * libc/include/string.h: ditto
1737         * libc/include/sys/signal.h: ditto
1738         * libc/include/sys/stat.h: ditto
1739         * libc/include/sys/time.h: ditto
1740         * libc/include/sys/unistd.h: ditto
1741         * libc/include/ctype.h: ditto
1742         * libc/include/stdlib.h: ditto
1743         * libc/include/sys/reent.h: struct _atexit function ptr takes a
1744         void, same with _sig_func.
1745
1746 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1747
1748         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
1749         for MB_CAPABLE to reduce code size when newlib is not configured
1750         with --enable-newlib-mb.
1751         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
1752         mbtowc_r.o to minimize size.
1753         * libc/stdlib/Makefile.in: Rebuild.
1754         
1755 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
1756
1757         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
1758         to -DREENT.
1759         * libc/sys/sparc64/Makefile.in: Rebuild.
1760         
1761 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
1762
1763         * Makefile.am (MAKEOVERRIDES): Define.
1764         * Makefile.in: Rebuild.
1765
1766 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
1767
1768         * libc/sys/sparc64/sys/stat.h (stat): Add const.
1769
1770 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
1771
1772         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
1773         newlib_cflags when looking for targ-include.
1774         * */aclocal.m4, */configure: Rebuild.
1775
1776 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
1777
1778         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
1779         to "_end".
1780
1781 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
1782
1783         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
1784         on SPARCs with little-endian data.
1785         * libc/include/machine/ieeefp.h: Ditto.
1786
1787 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
1788
1789         * acinclude.m4: Handle a relative srcdir correctly when setting
1790         newlib_cflags.
1791         * */aclocal.m4, */configure: Rebuild.
1792
1793 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1794
1795         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
1796         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
1797         * libm/math/wrf_gamma.c (gammaf_r): ditto 
1798         * libm/math/wr_lgamma.c (lgamma_r): ditto 
1799         * libm/math/wr_gamma.c (gamma_r): ditto 
1800         * libm/math/wf_sqrt.c (sqrtf): ditto 
1801         * libm/math/wf_sinh.c (sinhf): ditto 
1802         * libm/math/wf_scalb.c (scalbf): ditto 
1803         * libm/math/wf_remainder.c (remainderf): ditto 
1804         * libm/math/wf_pow.c (powf): ditto 
1805         * libm/math/wf_log10.c (log10f): ditto 
1806         * libm/math/wf_log.c (logf): ditto 
1807         * libm/math/wf_lgamma.c (lgammaf): ditto 
1808         * libm/math/wf_jn.c (jnf, ynf): ditto 
1809         * libm/math/wf_j1.c (j1f, y1f): ditto 
1810         * libm/math/wf_j0.c (j0f, y0f): ditto 
1811         * libm/math/wf_hypot.c (hypotf): ditto 
1812         * libm/math/wf_gamma.c (gammaf): ditto 
1813         * libm/math/wf_fmod.c (fmodf): ditto 
1814         * libm/math/wf_exp.c (expf): ditto 
1815         * libm/math/wf_cosh.c (coshf): ditto 
1816         * libm/math/wf_atanh.c (atanhf): ditto 
1817         * libm/math/wf_atan2f.c (atan2f): ditto 
1818         * libm/math/wf_asin.c (asinf): ditto 
1819         * libm/math/wf_acosh.c (acoshf): ditto 
1820         * libm/math/wf_acos.c (acosf): ditto 
1821         * libm/math/w_sqrt.c (sqrt): ditto 
1822         * libm/math/w_sinh.c (sinh): ditto 
1823         * libm/math/w_scalb.c (scalb): ditto 
1824         * libm/math/w_remainder.c (remainder): ditto 
1825         * libm/math/w_pow.c (pow): ditto 
1826         * libm/math/w_log10.c (log10): ditto 
1827         * libm/math/w_log.c (log): ditto 
1828         * libm/math/w_lgamma.c (lgamma): ditto 
1829         * libm/math/w_jn.c (jn, yn): ditto 
1830         * libm/math/w_j1.c (j1, y1): ditto 
1831         * libm/math/w_j0.c (j0, y0): ditto 
1832         * libm/math/w_hypot.c (hypot): ditto 
1833         * libm/math/w_gamma.c (gamma): ditto 
1834         * libm/math/w_fmod.c (fmod): ditto 
1835         * libm/math/w_exp.c (exp): ditto 
1836         * libm/math/w_cosh.c (cosh): ditto 
1837         * libm/math/w_atanh.c (atanh): ditto 
1838         * libm/math/w_atan2f.c (atan2): ditto 
1839         * libm/math/w_asin.c (asin): ditto 
1840         * libm/math/w_acosh.c (acosh): ditto 
1841         * libm/math/w_acos.c (acos): ditto 
1842
1843 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
1844
1845         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
1846         (fsrc): Add wf_cabs.c and wf_drem.c.
1847         * libm/math/Makefile.in: Rebuild.
1848
1849         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
1850         unused directory variables.  Remove duplicate CFLAGS.
1851         * Makefile.in: Rebuild.
1852
1853         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
1854         with $(CC_FOR_BUILD).
1855         (makedoc.o): Likewise.
1856         * doc/Makefile.in: Rebuild.
1857
1858         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
1859         force a definition of COMPILE.
1860         (libfoo_a_SOURCES): Define.
1861         * libc/sys/cygwin32/Makefile.in: Rebuild.
1862         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
1863         force a definition of COMPILE.
1864         (libfoo_a_SOURCES): Define.
1865         * libc/sys/tic80/Makefile.in: Rebuild.
1866
1867 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
1868
1869         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
1870         flag.
1871
1872 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
1873
1874         * Build using autoconf and automake.  Added many Makefile.am and
1875         configure.in files, plus generated files.  Old configure.in files
1876         and all old Makefile.in files completely replaced.  Removed
1877         host/any.  Added acinclude.m4 and configure.host.
1878
1879 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
1880
1881         * libc/stdio/vfprintf.c: enable long long support, sometimes.
1882         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
1883
1884 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1885
1886         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
1887         * libc/machine/sh/Makefile.in: Add rules for new files.
1888
1889 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1890
1891         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
1892         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
1893         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
1894
1895 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
1896
1897         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
1898         code is ignored.
1899
1900 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1901
1902         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
1903         internal static buffer when s is NULL, as prescribed by ANSI.
1904
1905 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
1906
1907         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
1908         removed.
1909         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
1910         libc/stdlib will be used for h8300hms.
1911         
1912 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1913
1914         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
1915         version that can be built either for speed or size.
1916         * libc/machine/mn10300/memset.S (_memset): ditto
1917         * libc/machine/mn10300/memchr.S (_memchr): ditto
1918         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
1919         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
1920         * libc/machine/mn10300/strchr.S (_strchr): ditto
1921         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
1922         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
1923         * libc/machine/mn10300/Makefile.in: Added entries for
1924         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
1925         strcmp.o, strcpy.o, and strlen.o.
1926
1927 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
1928
1929         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
1930         been replaced with libgloss/mn10200.
1931
1932 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
1933
1934         * libc/string/strchr.c (strchr): Make s a constant pointer to
1935         avoid warning.
1936
1937 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
1938
1939         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
1940         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
1941         board SWIs instead of Demon board SWIs).
1942
1943 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
1944
1945         * libc/string/strncat.c (strncat):  Make -Os act the same as
1946         PREFER_SIZE_OVER_SPEED being defined.
1947
1948 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
1949
1950         * libc/string/memchr.c (memchr): Make -Os act the same as
1951         PREFER_SIZE_OVER_SPEED being defined.
1952         * libc/string/memcmp.c (memcmp): Ditto.
1953         * libc/string/memcpy.c (memcpy): Ditto.
1954         * libc/string/memset.c (memset): Ditto.
1955         * libc/string/strcat.c (strcat): Ditto.
1956         * libc/string/strchr.c (strchr): Ditto.
1957         * libc/string/strcmp.c (strcmp): Ditto.
1958         * libc/string/strcpy.c (strcpy): Ditto.
1959         * libc/string/strlen.c (strlen): Ditto.
1960         * libc/string/strncat.c (strncat): Ditto.
1961         * libc/string/strncmp.c (strncmp): Ditto.
1962         * libc/string/strncpy.c (strncpy): Ditto.
1963
1964 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
1965
1966         * libc/include/sys/itimer.h: remove
1967         * libc/include/sys/time.h: itimer stuff should be here
1968
1969 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
1970
1971         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
1972         bit instead of comparing to 0 so -0.0 can be printed correctly.
1973
1974 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1975
1976         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
1977
1978 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
1979
1980         * libc/include/sys/unistd.h: fix sync() proto
1981         * libc/include/sys/fcntl.h: remove _close which is already
1982         defined in unistd.h.
1983         * libc/include/sys/time.h: add getitimer proto
1984
1985 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
1986
1987         * libc/string/strchr.c: convert arg to unsigned char
1988         * libc/include/stdlib.h: add protos for random, srandom
1989         * libc/include/sys/stat.h: add lstat proto
1990         * libc/include/sys/time.h: add setitimer proto
1991         * libc/include/sys/unistd.h: add readlink, symlink protos
1992         * libc/include/process.h: instead of including windows.h and using
1993         HANDLEs in sexec protos, just use void *s.  Need to include
1994         sys/types.h.
1995
1996 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
1997
1998         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
1999
2000 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
2001
2002         * libc/include/process.h: add secure exec protos
2003
2004 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
2005
2006         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
2007         which are accessed as both doubles and integers.
2008         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
2009         * libc/stdlib/strtod.c (_strtod_r): Likewise.
2010         * libc/stdlib/mprec.h: Add "union double_union" and change
2011         word0/word1 macros to use it.
2012
2013 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
2014
2015         * libc/include/sys/signal.h: add __cplusplus wrapper
2016
2017 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
2018
2019         * libc/include/sys/utime.h: new generic file that gets replaced by
2020         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
2021         function.
2022         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
2023         * libc/include/time.h: remove duplicate utime proto
2024         * libc/include/utime.h: add comment
2025
2026 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
2027
2028         * libc/include/sys/time.h: Add missing include to
2029         allow use of _EXFUN.  Remove times function that is
2030         already defined in times.h.
2031
2032 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
2033
2034         * libc/include/time.h: Fix typo in tzset.
2035
2036 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
2037
2038         * libc/include/sys/time.h: add missing Cygwin32 function protos
2039         * libc/include/sys/unistd.h: ditto
2040         * libc/include/time.h: ditto
2041
2042 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
2043
2044         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
2045         FIXME.
2046         * libc/include/sys/types.h: add a new __MS_types__ section
2047         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
2048         __BIT_TYPES_DEFINED__.
2049
2050 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
2051
2052         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
2053         since it overrides the one in libc/include/sys.  Also, start
2054         including types.h.
2055
2056 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
2057
2058         * libm/math/Makefile.in: add s_signgam.o to obj list
2059
2060 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2061
2062         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
2063
2064 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
2065
2066         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
2067         so don't use defines.
2068
2069 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
2070
2071         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
2072
2073 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
2074
2075         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
2076         _current_locale as default locale.
2077
2078 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
2079
2080         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
2081         insufficient space in a chunk.
2082
2083 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2084
2085         * configure.in (links): Added check for --enable-newlib-mb configure
2086         option which defines the MB_CAPABLE macro.
2087         * libc/locale/locale.c (_setlocale_r): Added support for setting
2088         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
2089         defined.
2090         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
2091         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
2092         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
2093         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
2094         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
2095         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
2096         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
2097         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
2098         * libc/stdlib/Makefile.in: Added new multibyte
2099         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
2100         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
2101         _mbstowcs_r(), and _wcstombs_r().
2102         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
2103         for JIS, SJIS, and EUC-JP characters.
2104         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
2105         MB_CAPABLE defined.
2106         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
2107         MB_CAPABLE defined.
2108         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
2109         MB_CAPABLE defined.
2110         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
2111         if MB_CAPABLE defined.
2112         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
2113         if MB_CAPABLE defined.
2114         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
2115         to the format string processing when MB_CAPABLE.
2116         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
2117         call _mbtowc_r().
2118
2119 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
2120
2121         The following modifications are courtesy of Anthony Thompson,
2122         athompson@cambridge.arm.com:
2123         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
2124         boith RDI and RDP monitors.
2125         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
2126         RDI and RDP monitors.
2127
2128 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2129
2130         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
2131         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
2132         (_swiopen): Fixed open flags to treat write with append as just append.
2133         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
2134         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
2135
2136 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2137
2138         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
2139         When needing to transfer an initial 2-byte-word, store as
2140         two single bytes.
2141
2142 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2143
2144         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
2145         __SH3E__ .
2146         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
2147         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
2148
2149 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
2150
2151         * configure.in (target_cflags): If --enable-target-optspace, use
2152         -Os to compile newlib rather than -O2.  Default to using -Os for
2153         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
2154         used.
2155
2156 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
2157
2158         * libc/include/machine/setjmp.h: change sigsetjmp and
2159         siglongjmp definitions to use an array instead of a struct
2160         for __CYGWIN32__
2161
2162 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
2163
2164         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
2165
2166 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
2167
2168         * libc/string/strxfrm.c: fix to get correct return value
2169
2170 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
2171
2172         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
2173         builds.  Make mode change labels global so that they will be seen
2174         by the debugger.
2175
2176 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
2177
2178         * configure.in (links): Do not use ARM debiugging protocols for PE
2179         builds.
2180
2181         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
2182         message. 
2183
2184 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2185
2186         * libc/stdio/findfp.c (__sinit): Made stdout default to
2187         line buffered mode as defined by ANSI.
2188
2189 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
2190
2191         * libc/include/sys/itimer.h: New file.
2192
2193         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
2194
2195 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2196
2197         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
2198         failure.
2199
2200 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
2201
2202         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
2203         insns.
2204
2205 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
2206
2207         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
2208
2209 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
2210
2211         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
2212         support.
2213
2214         * libc/include/machine/setjmp.h: Add D30V support.
2215
2216         * configure.in (d30v-*): Add d30v machine directory.
2217
2218 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
2219
2220         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
2221         been replaced with libgloss/mn10300.
2222
2223 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
2224
2225         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
2226         it is no longer needed.
2227
2228 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
2229
2230         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
2231
2232 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
2233
2234         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
2235         the file when O_APPEND is set, wherever the EOF happens to be at
2236         that time. 
2237
2238 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
2239         
2240         patch from cgf@bbc.com (Christopher Faylor):
2241         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
2242         convention of closing fp prior to attempting to open the file
2243         argument.  This allows correct operation when reopening
2244         stdin/stdout/stderr.  Replaces last freopen.c patch.
2245
2246 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
2247
2248         patch from cgf@bbc.com (Christopher Faylor):
2249         * libc/stdio/freopen.c: freopen was not preserving the fd
2250         of the stream being operated on.  This confuses programs that
2251         expect that the handles for stdout and stderr will be 1 and 2.
2252
2253 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
2254
2255         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
2256
2257 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
2258
2259         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
2260
2261 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2262
2263         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
2264         altered to not use a branch.  Also added hint that last
2265         bclr in longjmp will likely result in branch.
2266         
2267
2268 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
2269
2270         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
2271
2272 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
2273
2274         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
2275         v850 builds.
2276
2277         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
2278
2279 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2280
2281         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
2282         that loads FR14 to specify offset of 8 rather than 4
2283         so it loads from offset 96 (where setjmp stored it).
2284
2285 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2286
2287         * libc/machine/sh/memcpy.S: (_memcpy): Update to
2288         latest version supplied by customer.
2289         * libc/machine/sh/memset.S (_memset): Ditto.
2290
2291 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
2292
2293         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
2294         PR14730). 
2295
2296 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
2297
2298         * libc/include/string.h: remove redefinition of ffs
2299
2300 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
2301
2302         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
2303         defined
2304
2305 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
2306
2307         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
2308         TI Libraries to link to libc.a
2309         
2310 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
2311
2312         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
2313         * libc/include/sys/stat.h (_{,f}stat): Ditto.
2314         * libc/include/sys/wait.h (_wait): Ditto.
2315         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
2316         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
2317
2318 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
2319
2320         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
2321         minded stabs so function name shows up when running the simulator
2322         with -t.
2323         * libc/sys/d10v/{crt0,trap}.S: Ditto.
2324
2325 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
2326
2327         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
2328         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
2329         Use R5 where we used to use R3.
2330         
2331 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
2332
2333         * libc/stdlib/getopt.c (getopt): replaced __progname
2334         with nargv[0] to improve portability to imbedded systems.
2335
2336 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
2337
2338         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
2339         patch supplied by Tont.Thompson@arm.com to fix the creation of the
2340         stdout file.
2341
2342 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
2343
2344         * libc/stdio/tmpnam.c (worker): Generate a different file name
2345         each time.
2346
2347         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
2348         fails, try an execlp for sh.
2349
2350         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
2351         option for the winsup include directory.
2352
2353 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
2354
2355         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
2356         debugging interface from Tony.Thompson@arm.com.
2357         
2358         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
2359         * libc/sys/arm/swi.h: ditto.
2360
2361 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
2362
2363         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
2364         DIR struct used for readdir hashes.
2365
2366 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
2367
2368         * libc/string/strchr.c: Use "unsigned chars" as necessary.
2369
2370 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
2371
2372         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
2373         integer targets.
2374
2375 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
2376
2377         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
2378         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
2379         * libc/include/malloc.h: Add extern "C" if __cplusplus.
2380         (__malloc_copy): Declare.
2381
2382 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
2383
2384         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
2385         <sys/config.h>.
2386         (POINTER_UINT): Define.
2387         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
2388         (MALLOC_ALIGNMENT): Don't define if already defined.
2389         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
2390         long.
2391
2392 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
2393
2394         * libc/string/memset.c (memset): Fiddle with code so that the long
2395         value being stored is not a stack value.  Unroll storing longs 4
2396         times.
2397
2398 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
2399
2400         * Reduce code size for libm modules.
2401         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
2402         and simply move code into sqrt.
2403         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
2404         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
2405         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
2406         * libm/math/wr_gamma.c (gamma_r): Likewise.
2407         * libm/math/wf_sinh.c (sinfh): Likewise.
2408         * libm/math/w_sinh.c (sinh): Likewise.
2409         * libm/math/wf_scalb.c (scalbf): Likewise.
2410         * libm/math/w_scalb.c (scalb): Likewise.
2411         * libm/math/wf_remainder.c (remainderf): Likewise.
2412         * libm/math/w_remainder.c (remainder): Likewise.
2413         * libm/math/wf_pow.c (powf): Likewise.
2414         * libm/math/w_pow.c (pow): Likewise.
2415         * libm/math/wf_log10.c (log10f): Likewise.
2416         * libm/math/w_log10.c (log10): Likewise.
2417         * libm/math/wf_log.c (logf): Likewise.
2418         * libm/math/w_log.c (log): Likewise.
2419         * libm/math/w_lgamma.c (lgamma): Likewise.
2420         * libm/math/wf_lgamma.c (lgammaf): Likewise.
2421         * libm/math/wf_jn.c (jnf): Likewise.
2422         * libm/math/w_jn.c (jn): Likewise.
2423         * libm/math/wf_j1.c (j1f): Likewise.
2424         * libm/math/w_j1.c (j1): Likewise.
2425         * libm/math/wf_j0.c (j0f): Likewise.
2426         * libm/math/w_j0.c (j0): Likewise.
2427         * libm/math/wf_hypot.c (hypotf): Likewise.
2428         * libm/math/w_hypot.c (hypot): Likewise.
2429         * libm/math/wf_gamma.c (gammaf): Likewise.
2430         * libm/math/w_gamma.c (gamma): Likewise.
2431         * libm/math/wf_fmod.c (fmodf): Likewise.
2432         * libm/math/w_fmod.c (fmod): Likewise.
2433         * libm/math/wf_exp.c (expf): Likewise.
2434         * libm/math/w_exp.c (exp): Likewise.
2435         * libm/math/wf_cosh.c (coshf): Likewise.
2436         * libm/math/w_cosh.c (cosh): Likewise.
2437         * libm/math/wf_atanh.c (atanhf): Likewise.
2438         * libm/math/w_atanh.c (atanh): Likewise.
2439         * libm/math/wf_atan2.c (atan2f): Likewise.
2440         * libm/math/w_atan2.c (atan2): Likewise.
2441         * libm/math/wf_asin.c (asinf): Likewise.
2442         * libm/math/w_asin.c (asin): Likewise.
2443         * libm/math/wf_acosh.c (acoshf): Likewise.
2444         * libm/math/w_acosh.c (acosh): Likewise.
2445         * libm/math/wf_acos.c (asocf): Likewise.
2446         * libm/math/w_acos.c (acos): Likewise.
2447         * libm/math/wf_sqrt.c (sqrtf): Likewise.
2448         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
2449         for embedded systems.
2450
2451 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
2452
2453         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
2454         Lea in case of a foreign sbrk.
2455
2456 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
2457
2458         Incorporate Doug Lea's malloc:
2459         * libc/stdlib/mallocr.c: Completely replaced.
2460         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
2461         (realloc): Remove.
2462         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
2463         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
2464         mallopt.
2465         (mallinfo, malloc_stats, mallopt): New functions.
2466         (_mstats_r): Just call _malloc_stats_r.
2467         * libc/stdlib/malign.c: New file.
2468         * libc/stdlib/mlock.c: New file.
2469         * libc/stdlib/msize.c: New file.
2470         * libc/stdlib/mtrim.c: New file.
2471         * libc/stdlib/realloc.c: New file.
2472         * libc/stdlib/valloc.c: New file.
2473         * libc/stdlib/malloc.h: Remove.
2474         * libc/stdlib/callocr.c: Remove.
2475         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
2476         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
2477         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
2478         reallocr.o, valloc.o, vallocr.o.
2479         (CHEWOUT_FILES): Add mlock.def, mstats.def.
2480         (MALLOC_CFLAGS): New variable.
2481         (mallocr.o): New target, build from mallocr.c.
2482         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
2483         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
2484         (msizer.o, malloptr.o): Likewise.
2485         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
2486         (valloc.o): New target.
2487         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
2488         * libc/include/malloc.h: Declare struct mallinfo, and new
2489         routines.
2490         * libc/include/stdlib.h (cfree): Correct declaration.
2491
2492 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
2493
2494         * libc/include/machine/setjmp.h: Add support for Thumb target.
2495
2496         * libc/include/machine/ieeefp.h: Add support for Thumb target.
2497
2498         * configure.in (links): Add support for Thumb target.
2499
2500 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
2501
2502         * libc/sys/arm/setjmp.S: Updated with version from branch.
2503
2504 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
2505
2506         * libc/include/stdio.h: add POSIX-required define L_ctermid
2507         for ctermid
2508
2509 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
2510
2511         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
2512         addition to MISSING_SYSCALL_NAMES.
2513
2514 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2515
2516         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
2517
2518 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
2519
2520         * libc/include/string.h: change strsignal proto to return
2521         a char *.  This eliminates compile problems in gdb resulting
2522         from gdb's definition of strsignal in defs.h.
2523
2524 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
2525
2526         * libc/sys/cygwin32/sys/utime.h: new (moved here from
2527         winsup/include) so as not to conflict with the one in
2528         libc/include.
2529         * libc/include/string.h: add protos for strsignal, strtosigno
2530
2531 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
2532
2533         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
2534
2535         * configure.in (d30v-*-*): Add configuration.
2536
2537 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
2538
2539         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
2540         to select which kind of debug monitor is in use for an ARM target.
2541
2542         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
2543         Angel and Demon debug monitors.  Part of this code was supplied by
2544         Tony Thompson at ARM: athompso@arm.com.
2545
2546 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
2547
2548         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
2549         semantics when the count is greater than the length of the second
2550         source string.
2551
2552 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
2553
2554         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2555         * libc/include/sys/unistd.h: add protos for usleep, truncate,
2556         truncate and ftruncate take off_t, not size_t
2557
2558 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
2559
2560         * libc/string/strcat.c (strcat): Add missing comment end.
2561         * libc/string/strncat.c (strncat): Likewise.
2562
2563 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
2564
2565         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2566         targets. 
2567         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
2568         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2569         defined.  
2570         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2571         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2572         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2573
2574 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
2575
2576         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2577         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2578
2579 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
2580
2581         * libc/machine/i386/setjmp.S: New file.
2582         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2583         (OFILES): Add setjmp.o.
2584         (setjmp.o): Add rule for.
2585         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2586
2587 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
2588                          Jeffrey A Law  (law@cygnus.com)
2589
2590         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2591         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2592         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2593         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2594
2595 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
2596
2597         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
2598         rules. 
2599
2600         * libc/include/sys/config.h: Use __v850 to select v850
2601         endianness. 
2602
2603         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
2604         buffer size.
2605
2606         * libc/include/machine/ieeefp.h: Use __v850 to select v850
2607         endianness. 
2608
2609 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
2610
2611         * libc/stdlib/setenv.c: change unsetenv definition to match
2612         style of setenv (with _DEFUN).  The string should be a const.
2613         * libc/include/stdlib.h: unsetenv proto should return void.
2614
2615 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
2616
2617         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
2618
2619 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
2620
2621         * libc/stdio/glue.h: remove.
2622         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
2623         * libc/stdio/Makefile.in: remove glue.h dependencies
2624
2625 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
2626
2627         * libc/sys/sysnecv850/crt0.S: Created V850e version.
2628         
2629 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
2630
2631         * configure.in (target_cpu): Add `arc'.
2632
2633 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
2634
2635         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
2636           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
2637         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
2638         * newlib/libc/reent/reent.c: Add _wrapup_reent.
2639         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
2640
2641 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
2642
2643         * libc/machine/mips/setjmp.S: Handle mips16 builds.
2644
2645 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
2646
2647         * libc/include/stdio.h (siprintf): Declare.
2648
2649 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
2650
2651         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
2652         TARGET_CFLAGS and NEWLIB_FLAGS.
2653
2654 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
2655
2656         * configure.in (links): Add support for v850ea target.
2657
2658 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
2659
2660         * configure.in (links): Add support for v850e target.
2661
2662 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
2663
2664         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
2665
2666 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
2667
2668         * configure.in (arc-*-*): Add support for.
2669         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
2670
2671 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
2672
2673         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
2674
2675 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
2676
2677         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
2678         comparison which accesses invalid memory when the key is
2679         larger than the last member of the array.
2680         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
2681         for CYGWIN32
2682         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
2683
2684 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
2685
2686         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
2687         not _STRICT_ANSI.
2688
2689 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
2690
2691         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
2692         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
2693
2694 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
2695
2696         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
2697         to load/store memory.
2698
2699 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
2700
2701         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
2702         underscores if _WIN32.
2703
2704 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
2705
2706         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
2707         support ifdef _USE_WRITE missed in last change.
2708         From Anders Blomdell <anders.blomdell@control.lth.se>.
2709
2710 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
2711
2712         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
2713         (_tmpnam_r, _tempnam_r): Update.
2714
2715 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
2716
2717         * libc/machine/sparc/setjmp.S: New file.
2718         * libc/machine/sparc/Makefile.in: Add setjmp.
2719         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
2720
2721 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
2722
2723         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
2724
2725 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
2726
2727         From Joel Sherrill <joel@oarcorp.com>.
2728         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
2729
2730         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
2731         * configure.in: Recognize *-*-rtems*.
2732         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
2733         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
2734         time.h,times.h,types.h}: New files.
2735         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
2736
2737 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
2738
2739         patch from sos@prospect.com.ru (Sergey Okhapkin):
2740         * include/sys/wait.h: correct operator precidence bug
2741         in WIFSIGNALED
2742
2743 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
2744
2745         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
2746         with newlib's unsetenv function
2747         * libc/sys/cygwin32/sys: new directory for includes
2748         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
2749         here from winsup/include/sys
2750
2751 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
2752
2753         * libc/include/sys/unistd.h: _exit should only be
2754         labelled noreturn when not __CYGWIN32__
2755         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
2756         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
2757         increment NSIG
2758
2759 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
2760
2761         * libc/include/sys/time.h: Only define timeval and timezone if
2762         _GNU_H_WINDOWS32_SOCKETS is not defined.
2763         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
2764
2765 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
2766
2767         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
2768         * libc/machine/mn10300/setjmp.S: Likewise.
2769
2770         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
2771         the mn10300 (more relaxing opportunities).
2772
2773 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
2774
2775         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
2776         Build libraries with -mstrict-align.
2777
2778 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
2779
2780         * libc/string/strlwr.c: New file.
2781         * libc/string/strupr.c: New file.
2782         * libc/include/string.h: Declare strlwr and strupr.
2783         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
2784         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
2785         (strlwr.o, strupr.o): New targets.
2786         * libc/string/strings.tex: Include strlwr and strupr docs.
2787
2788         * libc/include/sys/types.h: Don't define u_char, et. al., if
2789         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
2790         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
2791         _types_fd_set rather than fd_set, and define fd_set as a macro.
2792
2793         * libc/include/malloc.h: New file.
2794
2795         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
2796         strnicmp if they are not already defined.
2797
2798         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
2799         _timezone, _daylight, and _tzname.
2800
2801 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
2802
2803         * configure.in: Sort all configuration tables.
2804
2805         From Joel Sherrill <joel@oarcorp.com>
2806         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
2807
2808 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
2809
2810         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
2811         use int when declaring kill.
2812
2813         * libc/include/sys/timeb.h: New file.
2814
2815 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
2816
2817         * libc/include/sys/time.h: add itimer support for Cygwin32
2818
2819 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
2820
2821         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
2822         out a message that abort was called to stderr.
2823
2824 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
2825
2826         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
2827         so that libio doesn't freak.
2828
2829         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
2830         int.
2831
2832         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
2833         memory sizes, not int.
2834
2835 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
2836
2837         * libm/math/ef_hypot.c: Use long constants where
2838         appropriate.
2839         * libm/math/ef_sqrt.c: Ditto.
2840
2841         * libc/sys/sysmec/times.c(_times): Change to times.
2842
2843         * libc/sys/sysmec/read.c(_read): The third argument is
2844         size_t.
2845         * libc/sys/sysmec/write.c (_write): Ditto.
2846
2847         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
2848         (_lseek): It's off_t for the second argument.
2849
2850 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
2851
2852         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
2853         as well as machine/ieeefp.h.
2854
2855 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
2856
2857         * libc/include/sys/signal.h: add signal protos for winsup
2858         functions (when __CYGWIN32__), include types.h
2859         * libc/include/sys/types.h: Change __go32_types__ internal
2860         define to __MS_types__ since it's used for more than just
2861         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
2862         defined.
2863         * libc/include/sys/unistd.h: add ftruncate proto for
2864         winsup functions (when __CYGWIN32__)
2865
2866 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
2867
2868         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
2869
2870 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
2871
2872         * libc/include/machine/setjmp.h: Add tic80 support.
2873         * libc/machine/tic80/setjmp.S: Likewise.
2874
2875 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
2876
2877         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
2878         link programs from libraries only (such as in the X11
2879         distribution)
2880
2881 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
2882
2883         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
2884         supplied elsewhere in newlib.
2885
2886 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
2887
2888         * Makefile.in (INSTALL): Change install.sh to install-sh.
2889
2890 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
2891
2892         * README: update WWW address for on-line documentation.
2893
2894 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
2895
2896         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
2897         increment NSIG
2898
2899 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
2900
2901         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
2902         mn10300.
2903         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
2904
2905 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
2906
2907         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
2908         * libc/sys/d10v/syscalls.c: Likewise.
2909         * libc/sys/h8300hms/sbrk.c: Likewise.
2910         * libc/sys/h8500hms/syscalls.c: Likewise.
2911         * libc/sys/m88kbug/syscalls.c: Likewise.
2912         * libc/sys/sh/syscalls.c: Likewise.
2913         * libc/sys/sysmec/sbrk.c: Likewise.
2914         * libc/sys/sysnecv850/sbrk.c: Likewise.
2915         * libc/sys/w65/syscalls.c: Likewise.
2916         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
2917
2918 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
2919
2920         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
2921         emulated syscall instead of "trap".
2922
2923 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
2924
2925         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
2926         not trap 0.
2927
2928 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
2929
2930         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
2931
2932 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
2933
2934         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
2935         not "sh".
2936         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
2937         not "d10v".
2938         * libc/sys/tic80/crt0.c: New file for TIc80.
2939         * libc/sys/tic80/Makefile.in: New file for TIc80.
2940         * libc/machine/tic80/Makefile.in: New file for TIc80.
2941
2942 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
2943
2944         * libc/machine/sh/memcpy.S: New file.
2945         * libc/machine/sh/memset.S: New file.
2946         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
2947
2948 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
2949
2950         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
2951         for TIc80.
2952
2953 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
2954
2955         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
2956         the mn10200.
2957
2958 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
2959
2960         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
2961         (patch from andrew@pogo.WV.TEK.COM).
2962
2963 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
2964
2965         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
2966         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
2967
2968 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
2969
2970         * configure.in:  Add cases for "tic80" to set machine_dir,
2971         sys_dir, and syscall_dir.
2972
2973 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
2974
2975         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
2976
2977 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
2978
2979         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
2980
2981 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
2982
2983         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
2984         Use proper constant prefix.
2985
2986 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
2987
2988         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
2989         that loses on the mn10200 where ints and pointers are different
2990         sizes.
2991
2992 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
2993
2994         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
2995         target as signal is provided in winsup.
2996
2997 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
2998
2999         * libc/include/sys/process.h: Corrected const definitions
3000         in spawn functions. Added cwait.
3001
3002 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
3003
3004         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
3005         doubles.
3006         * libc/include/sys/config.h: Similarly.
3007
3008 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3009
3010         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
3011         target_cflags.
3012         (i[3456]86-*-sco*): Ditto.
3013
3014         * libc/signal/Makefile.in (OFILES): Add signal.o.
3015         (CFILES): Add signal.c.
3016
3017         * libc/signal/raise.c (_raise_r): Only compile code if
3018         SIGNAL_PROVIDED is defined.
3019
3020         * libc/signal/signal.c: Redo whole file so that it works with
3021         current newlib.  Use _kill_r if no signal handler provided.
3022
3023         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
3024         signal stubs.
3025         * libc/sys/sysvnecv70/Makefile.in: Ditto.
3026         * libc/sys/sysnecv850/Makefile.in: Ditto.
3027
3028         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
3029         * libc/sys/sysmec/{raise,signal}.c: Ditto.
3030         * libc/sys/sysvnecv70/signal.s: Ditto.
3031         * libc/sys/sysnecv850/raise.c: Ditto.
3032
3033         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
3034         simulator and debugger can tell the difference between a signal
3035         being raised and an exit system call.
3036
3037         * NEWS: Document software signals being provided.
3038
3039 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3040
3041         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
3042         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
3043         include/sys/config.h.
3044         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
3045         Change from 'inpure_data'.
3046         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
3047         &impure_data, not &inpure_data.
3048
3049         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
3050         and and System V ABI, define so that _impure_ptr lives in the
3051         .sdata section.
3052
3053 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3054
3055         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
3056         nothing if not defined.
3057         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
3058         its attributes.
3059
3060         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
3061
3062 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
3063
3064         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
3065         * libc/sys/sysmec/trap.s: Handle mn10200 too.
3066         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
3067
3068 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
3069
3070         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
3071
3072 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
3073
3074         * libc/include/sys/errno.h: Added net errno's.
3075
3076 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3077
3078         * libc/misc/ffs.c: New file to support ffs function for GCC test
3079         gcc.c-torture/execute/960909-1.c.
3080
3081         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
3082
3083 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
3084
3085         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
3086         * libc/sys/sysmec/trap.S: Likewise.
3087
3088 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
3089
3090         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
3091         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
3092
3093 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
3094
3095         * libc/sys/sysmec/signal.c: Dummy file.
3096         * libc/sys/sysmec/Makefile.in: Build it.
3097
3098 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
3099
3100         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
3101         mips16.
3102
3103 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
3104
3105         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
3106         c-startup and simulator traps.
3107
3108
3109         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
3110         * libc/sys/sysmec/trap0.S: Likewise.
3111
3112 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3113
3114         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
3115         round to double word alignment.
3116         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
3117         byte alignment.
3118
3119         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
3120
3121         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
3122         out of memory.
3123
3124 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
3125
3126         * configure.in: Handle mn10200 and mn10300.
3127         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
3128         * libc/include/sys/config.h: Likewise.
3129         * libc/sys/sysmec: New directory for mec stuff.
3130         * libc/machine/mn10300: New directory for mn10300 stuff.
3131         * libc/machine/mn10200: Similarly for mn10200 stuff.
3132
3133 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
3134
3135         * libc/sys/arm/crt0.S: Use .text, not .section .text.
3136         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
3137
3138         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
3139         (nlink_t): Change type from unsigned int to unsigned short.
3140         (mode_t): Ensure size is 32 bits even if int is 16.
3141         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
3142         (st_spare[123]): Change type from int to long.
3143
3144 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3145
3146         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
3147         byte boundary.
3148
3149         * configure.in (d10v*): Define SMALL_MEMORY.
3150
3151 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3152
3153         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
3154         -mrelocatable-lib and -mno-eabi flags.
3155
3156 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
3157
3158         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
3159         Fix handling of mis-aligned source operand when both the
3160         destination & length are properly aligned.
3161         
3162 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
3163
3164         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
3165         times.o, time.o and gettime.o
3166         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
3167         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
3168         SYS_gettimeofday.
3169
3170 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
3171
3172         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
3173         * libc/sys/sysnecv850/access.c: New file.
3174
3175 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
3176
3177         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
3178
3179         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
3180         long.
3181
3182 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
3183
3184         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
3185
3186 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
3187
3188         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
3189         * libc/include/sys/config.h: Add m32r support.
3190
3191 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
3192
3193         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
3194         here.
3195
3196 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
3197
3198         * libc/include/machine/setjmp.h: Add D10v support.
3199
3200 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
3201
3202         * configure.in: Configure the "libc/syscalls" directory for
3203         the v850.
3204
3205         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
3206         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
3207         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
3208         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
3209         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
3210
3211 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
3212
3213         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
3214         stack for args for main and other routines.  Zero out args for
3215         main.
3216
3217         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
3218         correctly.
3219
3220 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3221
3222         * libc/stdio/findfp.c (std): Remove extraneous ';' after
3223         function.
3224
3225         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
3226
3227         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
3228         real system calls now.
3229
3230         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
3231         before casting them to int.
3232         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
3233
3234         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
3235         aligning pointer.
3236         * libc/string/memset.c (memset): Ditto.
3237         
3238         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
3239         first convert ints to _POINTER_INT to eliminate GCC warning.
3240
3241         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
3242         processing %p.
3243
3244         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
3245         from 65000 if ints are only 16 bits.
3246
3247         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
3248         from 50000 if ints are only 16 bits.
3249
3250         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
3251         int type that is the same size as a pointer.
3252
3253         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
3254         processing %p.
3255         (get_number): Explicitly cast number to long before shifting by 16
3256         or 24, in case ints are short.
3257
3258         * libc/include/sys/config.h (_POINTER_INT): Define as short.
3259
3260 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
3261
3262         * libc/string.h: Added ffs, removed swab.
3263         * libc/sys/errno.h: Added EOPNOTSUPP.
3264         * libc/sys/unistd.h: Added swab.
3265
3266 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
3267
3268         * libc/include/sys/stat.h: Added fchmod.
3269         * libc/include/sys/unistd.h: Added fsync.
3270
3271 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
3272
3273         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
3274         and ECONNRESET (104) for cygwin32.
3275
3276 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
3277
3278         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
3279         do the static destructors.
3280         
3281 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
3282
3283         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
3284
3285 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
3286
3287         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
3288         * configure.in: Recognize m32r-*-*.
3289
3290 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
3291
3292         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
3293         __rt_stkovf_split_small): Added default software stack overflow
3294         handlers, which just call SWI_Exit.
3295         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
3296         limit initialisation.
3297
3298 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
3299
3300         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
3301
3302 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
3303
3304         * libc/include/sys/types.h: Added ssize_t definition.
3305         
3306 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3307
3308         * libc/machine/d10v/setjmp.S: Use ';' for comments.
3309         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
3310
3311         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
3312         branch around a single ldi instruction.
3313
3314         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
3315         Call exit, instead of just issuing a stop instruction.
3316
3317 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3318
3319         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
3320
3321 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3322
3323         * libc/stdlib/mprec.h: Explicitly declare all large constants as
3324         longs, and then cast them to __uint32_t.
3325
3326         * libc/include/sys/config.h: Protect against multiple inclusions.
3327
3328 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
3329
3330         * configure.in (d10v*): Set syscall_dir.
3331
3332 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
3333
3334         * libc/sys/d10v/crt0.S: Set stack pointer.
3335
3336 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
3337
3338         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
3339         in assembly for efficiency.  Change calling convention to allow
3340         long ints to be returned.
3341
3342 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3343
3344         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
3345
3346 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
3347
3348         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
3349         Handle empty entries in $PATH.
3350
3351 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
3352
3353         * libc/machine/d10v/setjmp.S: Make it really work.
3354
3355 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
3356
3357         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
3358         the .stack section.
3359
3360 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
3361
3362         * sys/sysnecv850/sys/file.h: Remove.
3363         * sys/sysnecv850/sys/syscall.h: New file.
3364         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
3365         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
3366         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
3367         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
3368         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
3369         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
3370         * sys/sysnec850/trap.S: New file.
3371         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
3372         syscalls.
3373         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
3374         * sys/sysnec850/sbrk.c: New version.
3375
3376 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
3377
3378         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
3379         as long as r6 is less than r7.
3380
3381 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
3382
3383         * Makefile.in (mostlyclean): Separate from clean target.  Don't
3384         remove *.a or targ-include.
3385         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
3386
3387 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3388
3389         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
3390         d10v.
3391         (__SMALL_BITFIELDS): Ditto.
3392
3393         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
3394
3395 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
3396
3397         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
3398         prefix.
3399
3400         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
3401         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
3402         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
3403         * libc/sys/sysnecv850/write.c (write): Likewise.
3404
3405         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
3406         .bss.
3407
3408 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3409
3410         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
3411         appropriately for D10V, depending on -mint16/-mint32.
3412
3413 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
3414
3415         * configure.in: Add cases for D10V.
3416
3417 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3418
3419         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3420
3421 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
3422
3423         * libc/include/machine/ieeefp.h: Fix typo.
3424
3425 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
3426
3427         * libc/sys/d10v: New directory for D10V stuff.
3428         * libc/include/machine/ieeefp.h: Add D10V defines.
3429
3430 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
3431
3432         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
3433         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
3434         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
3435         * libc/string/strerror.c (strerror): Add them.
3436
3437 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
3438
3439         * libc/sys/sysnecv850: New directory for v850 stuff.
3440
3441         * libc/machine/v850: New directory for v850 stuff.
3442         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
3443
3444         * configure.in: Add support for the v850.
3445
3446         * libc/include/machine/ieeefp.h: Add v850 defines.
3447         * libc/include/machine/setjmp.h: Likewise.
3448         * libc/include/sys/config.h: Add v850 defines.
3449
3450 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
3451
3452         * libc/include/machine/ieeefp.h
3453         * libc/include/machine/setjmp.h
3454         * libc/include/sys/fcntl.h
3455         * libc/include/sys/signal.h
3456         * libc/include/sys/types.h
3457         * libc/stdlib/system.c:
3458         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
3459         API availability, __CYGWIN32__ for cygwin32 environment specific).
3460
3461 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
3462
3463         * libc/include/stdlib.h: add multibyte character functions.  Add
3464         __eprintf for assert.
3465
3466 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3467
3468         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
3469         arithmetic or __alignof__ to properly get the alignment, instead
3470         of hardwiring it to 4.
3471
3472 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
3473
3474         * libc/stdio/fseek.c: add fflush call to adjust seek offset
3475         on append stream (fix from NetBSD sources), adjust curoff offset
3476         for ungetc's benefit.
3477         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
3478         * libc/stdio/rewind.c: replace code with up to date NetBSD
3479         code to undo hacks made to work around above problem of not
3480         having fflush call mentioned above
3481
3482 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3483
3484         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
3485         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
3486         Partially revert last changes.  The thread specific errno is set
3487         iff if the underlying syscall fails and the global errno is not
3488         zero.
3489
3490 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3491
3492         * libc/reent/filer.c: Removed files, all functions have split out
3493         into their own files.
3494         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
3495         New files containing functions formally in filer.c
3496         * libc/reent/Makefile.in: Updated for above change.
3497
3498         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
3499         syscall fails, not if errno is changed.
3500         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
3501         _write_r): Likewise.
3502         * libc/reent/fstatr.c (_fstat_r): Likewise.
3503         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
3504         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
3505         * libc/reent/signalr.c (_kill_r): Likewise.
3506         * libc/reent/statr.c (_stat_r): Likewise.
3507         * libc/reent/timer.c (_gettimeofday_r): Likewise.
3508
3509         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
3510         signalr.c, statr.c, timer.c} (errno): declare extern rather
3511         than as a common.
3512
3513         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
3514         instead of calling vfprintf so that i*printf will not require
3515         floating point support code.
3516         
3517 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
3518
3519         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
3520         path delimiter.
3521         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
3522         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
3523
3524 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
3525
3526         * libc/include/signal.h: _sig_func_ptr function takes an int
3527         * libc/include/sys/signal.h: sa_handler function takes an int
3528
3529 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
3530
3531         * libc/include/machine/ieeefp.h: Simplify H8/S support.
3532         * libc/include/sys/config.h: Add missing H8/S conditional.
3533
3534 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
3535
3536         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
3537
3538 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
3539
3540         * libc/include/machine/setjmp.h: Handle H8/S.
3541         * libc/include/machine/ieeefp.h: Likewise.
3542         * libc/include/sys/config.h: Likewise.
3543         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
3544         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
3545         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
3546         * libc/sys/h8300hms/crt0.S: Likewise.
3547
3548 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
3549
3550         * Makefile.in (datadir): Set to $(prefix)/share.
3551         (oldincludedir, docdir): Removed.
3552         * doc/Makefile.in (datadir): Set to $(prefix)/share.
3553         (oldincludedir, docdir): Removed.
3554         * libc/Makefile.in (datadir): Set to $(prefix)/share.
3555         (oldincludedir, docdir): Removed.
3556         * libm/Makefile.in (datadir): Set to $(prefix)/share.
3557         (oldincludedir, docdir): Removed.
3558
3559 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
3560
3561         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3562         _reent struct.
3563
3564 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
3565
3566         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
3567         fetch current path rules with sysconf and handler posix/win32
3568         appropriately.
3569
3570         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3571
3572         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3573         (WAIT_CHILD): Always define.
3574
3575 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
3576
3577         * libc/stdlib/eprintf.c: New file.
3578         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3579         (eprintf.o): New target.
3580
3581 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
3582
3583         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3584         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3585
3586 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
3587
3588         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3589         NT in PowerPC endianess cases.
3590
3591 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3592
3593         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3594
3595 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3596
3597         * libc/string/strtok.c: Fix doc typo.
3598
3599 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3600
3601         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
3602         _next, _scanpoint, _signgam fields.
3603
3604         * libc/include/stdlib.h (rand_r): Added new declaration.
3605         (_rand_r, _srand_r): Removed declarations.
3606         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
3607         have been made obsolete by rand_r.
3608         * libc/stdlib/rand_r.c: New file, rand_r function as specified
3609         by POSIX.1c.
3610         
3611         * libc/string/strtok.c: Update documentation to describe
3612         strtok_r().
3613
3614 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
3615
3616         * libc/include/sys/stat.h (stat structure): Use the expanded stat
3617         structure on Solaris, and PowerPC systems even though __svr4__ is
3618         defined.
3619
3620 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
3621
3622         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
3623
3624 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
3625
3626         * host/any: Use ../.. rather than .. to get to the main build
3627         directory.  This matches the current layout of the build
3628         directory.
3629
3630 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
3631
3632         * libc/machine/h8300/__main.S: Delete.  No longer needed.
3633         * libc/machine/h8300/Makefile.in: Corresponding changes.
3634         * libc/sys/h8300hms/crt1.c: New file.
3635         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
3636         * libc/sys/h8300hms/crt0.s: Call __main.
3637
3638         * libc/sys/h8300hms/crt0.S: Use temporary label names
3639         for branch targets.
3640
3641 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
3642
3643         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
3644
3645 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3646
3647         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
3648         .sdata on the PowerPC so that we can link newlib with code
3649         compiled with -msdata.
3650
3651 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
3652
3653         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
3654
3655 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
3656
3657         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
3658         exception handler to __cygwin_exception_handler.
3659
3660 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
3661
3662         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
3663
3664 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
3665
3666         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
3667         SunOS VPATH.
3668         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
3669         wcstombs.o): Likewise.
3670
3671 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
3672
3673         * libc/stdlib/environ.c (initial_env): New static local.
3674         (environ): Point to `initial_env'.
3675
3676         * libc/include/machine/setjmp.h: Clean up.
3677         (__H8300H__,__PPC__): Define _JBTYPE.
3678         (__arm__): Provide entry for.
3679         (sigjmp_buf): Delete.
3680         (jmp_buf): Use _JBTYPE if defined, otherwise int.
3681
3682 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
3683
3684         * libc/machine/h8300/strcmp.S: Sign extend the result to
3685         32bits so we don't lose with -mint32.
3686
3687 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
3688
3689         * libc/sys/go32/sys/errno.h: New file.
3690         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
3691         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
3692         errno's address (make compatible with rest of newlib).
3693         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
3694         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
3695
3696 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
3697
3698         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
3699         * libc/machine/sparc/Makefile.in: Build them.
3700         * libc/machine/sparc/machine/sparclet.h: New file.
3701
3702 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3703
3704         * libc/machine/sh/asm.h: New file.
3705         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
3706         support for SH3e's FP registers.  Use asm.h.
3707
3708 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
3709
3710         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
3711         as first argument.  Call _dtoa_r and pass the reent structure
3712         instead of calling __dtoa.
3713
3714 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
3715
3716         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
3717         the h8300, h8500, and others.  Add comments for some rather
3718         dubious code.
3719
3720 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
3721
3722         * Makefile.in (check): Check that testsuite exists before cd.
3723
3724 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3725
3726         * libc/include/string.h (strsep): Correct prototype.
3727
3728 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
3729
3730         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
3731         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
3732         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
3733
3734 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
3735
3736         * libc/posix/{creat.c,isatty.c}: New files.
3737         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
3738
3739         * libc/sys/sparc64/crt0.S (environ): Delete.
3740         (.LHaveBias): Renamed from HaveBias.
3741
3742 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
3743
3744         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
3745         (_morecore_r): Delete SBRK_IS_ALLOC support.
3746
3747 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3748
3749         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
3750         module rather than touch, so we don't get warning messages when
3751         all of the libraries are combined into libc.a.
3752
3753 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
3754
3755         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
3756         crt0.s replaced by version in libgloss.
3757
3758 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
3759
3760         * libc/reent/Makefile.in (OFILES): Add impure.o.
3761         * libc/reent/impure.o: New file, define initial reentrancy struct.
3762         * libc/reent/reent.c: Remove above definition.
3763
3764         * libm/math/sf_asinh.c: Fix typo.
3765
3766         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
3767         srf_ldexp.o.
3768         
3769         * libm/libm.texinfo: Change documentation to reflect changes
3770         in reentrancy model.
3771         * libm/math/w_gamma.c: Likewise.
3772
3773 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
3774
3775         * configure.in (*-*-cygwin32): New.
3776         (*-*-win32): Deleted.
3777         * libc/sys/win32 renamed libc/sys/cygwin32.
3778
3779 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3780
3781         * libc/include/sys/file.h: New include file.
3782
3783 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
3784
3785         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
3786
3787 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
3788
3789         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
3790
3791 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
3792
3793         * doc/makedoc.c (realloc): Declare at file scope.
3794         (catchar): Not here.
3795
3796 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
3797
3798         * Makefile.in (VERSION): Update to 1.7.0.
3799         * {libc,libm}/Makefile.in (VERSION): Likewise.
3800         * configure.in: Minor clean up of multilib stuff.
3801
3802         From David Johnson <davidj@ICSI.Berkeley.EDU>
3803         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
3804
3805         * libc/stdlib/environ.c: New file.
3806         * libc/stdlib/Makefile.in (OFILES): Build it.
3807         * libc/sys/h8500hms/crt0.c (environ): Deleted.
3808         * libc/sys/m88kbug/crt0.c (environ): Deleted.
3809         * libc/sys/z8ksim/crt0.c (environ): Deleted.
3810         * libc/sys/netware/environ.c: Deleted.
3811
3812 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
3813
3814         * configure.in (links): set sys_dir, posix_dir, syscall_dir
3815
3816 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
3817
3818         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
3819         declaration out to external scope and declare it PTR, not char *.
3820
3821 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
3822
3823         * libc/include/sys/unistd.h (getpagesize): New declaration.
3824         (_SC_PAGESIZE): New definition.
3825         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
3826         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
3827
3828 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
3829
3830         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
3831         addressing. System call returns size, not (last address + 1).
3832
3833 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
3834
3835         * libm/math/*.c: Removed _foo_r() reentrancy API.
3836         * libc/include/math.h: Removed _foo_r prototypes and macros.
3837
3838         * libm/math/*.c: On systems with IEEE single precision "doubles" 
3839         move foo() -> foof() wrapper code from the files that implement
3840         the standard IEEE double precision functions to the files that 
3841         implement IEEE single precision functions. (ie. On those systems
3842         sin is moved from s_sin.c to sf_sin.c).  There should eventually
3843         be use of a C extension (like gcc's alias attribute) so that the
3844         wrappers are not needed at all.
3845
3846         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
3847         strict NEC V810 compiler.
3848         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
3849         for same reason.
3850
3851 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
3852
3853         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
3854         from NetBSD C library.
3855         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
3856
3857         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
3858         and adapted from implementation I wrote for NetBSD C library.
3859         The difference is __assert doesn't take a format argument,
3860         so that there won't be multiple copies of the same string
3861         constant in the executable if assertions are enabled in
3862         more than one source module.
3863         * libc/include/assert.h (assert): Changed to call __assert.
3864
3865 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
3866
3867         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
3868         word1 on systems with 32 bit doubles.
3869         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
3870         so that we can do arithmetic on them.
3871         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
3872         compilers.
3873         
3874 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
3875
3876         * libc/sys/arm/crt0.S: Zero bss.
3877
3878 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
3879
3880         * libc/include/unctrl.h: New file.
3881         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
3882         * configure.in (subdirs): Add libc/misc.
3883         * libc/Makefile.in (SUBDIRS): Add misc.
3884         (SUBLIBS): Add misc/lib.a.
3885
3886         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
3887
3888 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
3889
3890         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
3891         (_vfprintf_r): Call CHECK_INIT.
3892
3893 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
3894
3895         * Makefile.in (MULTITOP): Delete.
3896         (MULTISRCTOP, MULTIBUILDTOP): Add.
3897         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
3898         instead of cfg-ml-pos.in.
3899
3900 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
3901
3902         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
3903         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
3904         presence.
3905
3906 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
3907
3908         * libc/string/strtok.c: Include string.h to pick up strtok_r
3909         prototype.
3910
3911 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
3912
3913         * libc/string/strtok.c: include <_ansi.h>.
3914         * libc/time/asctime_r.c: `reresult' -> `result'.
3915
3916 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
3917
3918         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
3919         in #ifndef _REENT_ONLY ... #endif conditional.
3920
3921         * libc/include/string.h (_strtok_r): Remove declaration.
3922         * libc/include/time.h (_asctime_r): Remove declaration.
3923         * libc/string/strtok.c (_strtok_r): Removed.
3924         * libc/time/asctime.c (_asctime_r): Removed.
3925
3926         * libc/string/Makefile.in (OFILES): Add new object.
3927         * libc/string/strtok_r.c: New file.  strtok_r function as
3928         specified by POSIX.1c, adapted from strtok implementation 
3929         from NetBSD C library.
3930         * libc/string/strtok.c (strtok): Reimplemented in terms of 
3931         strtok_r.
3932
3933         * libc/time/Makefile.in (OFILES): Add new objects.
3934         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
3935         New files, reentrant time functions specified by POSIX.1c.
3936         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
3937         reentrant time functions re-written in terms of reentrant 
3938         functions.
3939         * libc/time/lcltime.c: Renamed from localtime.c
3940
3941         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
3942         gmtime_r, and localtime_r.
3943
3944 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
3945
3946         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
3947         * libc/include/sys/unistd.h (getlogin): Revert change of
3948         Oct 19.
3949         * libc/include/sys/signal.h (sigprocmask): Change prototype
3950         so it compiles with c++.
3951
3952 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
3953
3954         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
3955         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
3956         to give some room in case we need to align the jmp_buf.
3957         
3958         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
3959         the new ppc-asm.h include file the compiler provides to specify
3960         function prologue/epilogue.  Eliminate saves of the xer and ctr
3961         registers, which are volatile.  Before starting to save registers,
3962         align to 8 byte boundary.
3963
3964 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
3965
3966         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
3967         referenced by standard libraries.
3968
3969 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
3970         
3971         * libc/unix/Makefile.in, libc/string/Makefile.in,
3972         libc/stdio/Makefile.in, libc/reent/Makefile.in,
3973         libc/posix/Makefile.in:
3974         Remove tabs from otherwise empty line.  Confuses some
3975         older non-GNU versions of "make".
3976
3977 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
3978
3979         * libc/sys/unistd.h (getlogin): Returns const char *.
3980
3981 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
3982
3983         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
3984         * libc/include/errno.h: Moved into and include...
3985         * libc/include/sys/errno.h: New file.
3986         * libc/include/sys/wait.h: New file.
3987         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
3988         * libc/sys/win32/*: Moved out.
3989         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
3990         * configure.in (i[345]86-*-win32): HAVE_RENAME
3991
3992 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
3993
3994         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
3995         avoid macro expansion for these two names.
3996
3997 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
3998
3999         * libc/machine/h8500/psi.S: r6 renamed to fp.
4000
4001 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
4002
4003         * configure.in (powerpc*): No longer need to define
4004         NO_LONGLONG_POINTERS to supress warnings.
4005
4006 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
4007
4008         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
4009         through PTR instead of directly.
4010
4011         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
4012         non-standard constructor support.
4013
4014 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4015
4016         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
4017         address of the Bigint instead of the address of its _x field,
4018         as the size the result buffer was calculated accordingly.  
4019         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
4020
4021         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
4022         from NetBSD C library.  No longer special cases division by 
4023         zero (which needs to be done by the application anyway), but
4024         it doesn't need to call abs() (or labs()) four times either.
4025         
4026         * libc/stdlib/qsort.c: Replaced with implementation from 
4027         NetBSD C library.
4028
4029 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4030
4031         * libc/stdio/vfprintf.c: Replaced with implementation from
4032         NetBSD C library (which is derived from the 4.4BSD C library).
4033         * libc/stdio/cvt.c: Removed.
4034         * libc/stdio/Makefile: Updated.
4035         
4036 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
4037
4038         * libc/sys/win32/syscalls.c (rename): New.
4039         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
4040
4041 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
4042
4043         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
4044         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
4045
4046         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
4047         (setjmp.o): Delete rule to build setjmp.o.
4048         * libc/sys/sh/setjmp.S: Delete file.
4049
4050 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4051
4052         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
4053         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
4054         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
4055         pow5mult and s2b to identifiers with leading underscores.
4056         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
4057         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
4058
4059 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
4060
4061         * libc/sys/posix/popen.c (sys/types.h): Include.
4062
4063 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
4064
4065         * libc/sys/win32/syscalls.h (fhandler): New struct.
4066         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
4067         (__fhandler_normal): Declare.
4068         (hinfo): New member op_handlers.
4069         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
4070         (__write): Likewise.
4071         (_read, _write, _open, _close, _lseek): Validate fd here.
4072         Move file type specific stuff to foo_normal.
4073         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
4074         New functions.
4075         (__lookup_fhandler): New function.
4076         (__lookup_fhandler_hook, __fhandler_normal): New variables.
4077
4078         From anders.blomdell@control.lth.se (Anders Blomdell)
4079         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
4080         Don't touch standard handles.
4081         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
4082         (_execve): Only create __FD_TABLE__ if necessary.
4083         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
4084
4085 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
4086
4087         * libc/sys/win32/sys/termios.h (FLUSHO): New.
4088         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
4089         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
4090         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
4091         without a handler is received.
4092         * libc/sys/win32/Makefile.in: Remove --nodelete.
4093         * libc/sys/win32/resouce.c (gettimeofday): New.
4094         * libc/sys/win32/syscalls.c (path_to_real_path): New.
4095         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
4096
4097 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
4098
4099         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
4100         Don't append "/*" to search pattern if trailing '/' already there,
4101         append "*".
4102         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
4103         like /'s, convert them to \'s.  Handle //<drive>/ path names.
4104         Add space for quoted \'s in arg string.  Print translated prog name
4105         and original prog name.
4106         (_execve): Handle parent doing exec a teensy bit better.
4107         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
4108         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
4109         path needs conversion, handle both cases.  Delete `const' from result.
4110         (hash_path_name): New function.
4111         (_open): Call it.
4112         (_stat): Likewise.  Fill in more fields for directories.
4113         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
4114         (wait_for_any): Fix trace message.
4115         (waitpid): Explicitly test for intpid == 0.
4116
4117         From anders.blomdell@control.lth.se (Anders Blomdell)
4118         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
4119         so `next' is valid.
4120
4121 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
4122
4123         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
4124         complicated.
4125
4126 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
4127
4128         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
4129         at all, not just == 1.
4130         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
4131
4132 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
4133
4134         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
4135         * libc/sys/win32/include/wintypes.h: include <winnt.h>
4136         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
4137         file.
4138
4139 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
4140
4141         * libc/sys/syscalls.c (getcwd): Fix off by one error.
4142
4143         * libc/sys/signal.c (sleep): Fill it in.
4144         * libc/sys/termios.c (tcflush): Use PurgeComm
4145         (tcsetattr): Set some more of the bits.
4146         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
4147
4148 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
4149
4150         * libc/sys/arm/crt0.S (fp): Initialize to 0.
4151         Conditionally include .idata$3 stuff ifdef __pe__.
4152
4153 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
4154
4155         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
4156         * libc/sys/win32/pipe.c (pipe): Ditto.
4157         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
4158         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
4159         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
4160         (tcgetattr): Contents are new.
4161         * libc/sys/win32/include/winkernel.h (DCB): New.
4162         (GetCommState, SetCommState): New.
4163
4164 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
4165
4166         * libc/sys/arm/crt0.S (_start): Define.
4167
4168 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
4169
4170         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
4171         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
4172
4173         * libc/sys/win32/sysconf.c: New
4174         * libc/sys/win32/sys/winadvapi.h: New
4175         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
4176         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
4177         * libc/sys/win32/pipe.c (pipe): Ditto.
4178         * libc/sys/win32/signal.c (_raise): New.
4179         (_kill): Moved from spawn.c
4180         * libc/sys/win32/spawn.c (kill): Moved to signal.c
4181         * libc/sys/win32/syscalls.c (__read): Use new fields.
4182         (_open): Ditto.
4183         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
4184         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
4185         * libc/include/sys/unistd.h (rmdir): Takes const path.
4186         * libc/include/sys/stat.h (mkdir): Takes const path.
4187         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
4188
4189 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
4190
4191         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
4192
4193         Add support for specifying paths as //<drive>/foo/bar.
4194         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
4195         (__path_to_real_path): Declare.
4196         (PATH_TO_REAL_PATH): New macro.
4197         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
4198         (__path_needs_conversion_p, __path_to_real_path): New functions.
4199         (_open): Fix test for error return from CreateFileA.
4200         Handle new path syntax.
4201         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
4202         * libc/sys/win32/dirsearch.c (opendir): Likewise.
4203
4204 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
4205
4206         * libc/sys/win32/include/*.h: Reorganized
4207         * libc/sys/win32/include/WINREADME: New.
4208         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
4209         * libc/sys/win32/*.c: Fix for new include scheme.
4210         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
4211         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
4212         * libc/sys/win32/passwd.c (*): Fix.
4213         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
4214         (_stat): Get directory owner and permissions right.
4215         * libc/sys/win32/syscalls.h (uinfo): New.
4216         * libc/sys/win32/version.def: Remove leading underscores.
4217
4218 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4219
4220         * libc/sys/win32/key.c: include "include/wincon.h".
4221
4222 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
4223
4224         * libc/sys/win32/{key, stubs}.c: New.
4225         * libc/sys/win32/Makefile: Adjust to cope.
4226         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
4227         (environ_init): Change env names to upper case.
4228         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
4229         * libc/sys/win32/passwd.c (*): Fill in the functions.
4230         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
4231         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
4232         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
4233         (_open): Initialze hmap->execable_p too.
4234         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
4235         (_fstat): Fill in permissions.
4236         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
4237
4238 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
4239
4240         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
4241         if defined.
4242         (cfg-ml-pos.in invocation): Likewise.
4243
4244 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4245
4246         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
4247         s_isnan.o and sf_isnan.o.
4248
4249 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
4250
4251         * All Makefile.in files: added maintainer-clean target as a
4252         synonym for realclean.
4253
4254 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
4255
4256         * libc/include/machine/setjmp.h: Add hppa support.
4257         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
4258         support.
4259         * libc/machine/hppa/Makefile.in: Related changes.
4260
4261 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
4262
4263         * configure.in (machine_dir): Don't set for v810-*-*.
4264
4265 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4266
4267         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
4268         conventions correctly.
4269
4270 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
4271
4272         * libc/stdio/puts.c: Update documentation of return value to match
4273         ANSI standard.
4274
4275 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
4276
4277         Fix file descriptor inheritance.
4278         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
4279         (NOT_OPEN_FD): Fix.
4280         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
4281         close-on-exec flag not set.  Initialize child's entire fd table.
4282         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
4283         CHILD_P.
4284         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
4285         if CHILD_P.  Initialize entire hmap entry.
4286         (dup): Only create new handle as inheritable if CHILD_P.
4287         (dup2): Likewise.  Properly initialize hmap entry.
4288
4289         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
4290         _spawn.
4291         (_exit): Use CHILD_P.
4292         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
4293         (_stat): Likewise.
4294
4295 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4296
4297         * libc/sys/win32/crt0.c (passover): fix up the state table.
4298         * libc/posix/popen.c: Added.
4299         * libc/posix/Makefile.in: compile popen.c.
4300         
4301 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
4302
4303         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
4304         h8/500 define _DOUBLE_IS_32BITS.
4305
4306 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
4307
4308         Get vfork/exec/spawn/cwait/wait working again.
4309         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
4310         (procinfo): New member vfork_level.
4311         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
4312         (vfork_init_first): Use GetCurrentProcessId to get pid.
4313         Initialize vfork_level.
4314         (vfork_init): Delete __PID__.
4315         (environ_init): New function.  Undo patch of Aug 19, Posix says
4316         environment variables are case sensitive.
4317         (mainCRTStartup): Call it.
4318         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
4319         (my_longjump: Make static.
4320         (_spawn): New argument `h'.  Delete setting of __PID__.
4321         Delete local `idx'.  Look for chars that need quotes, rather than
4322         ones that don't.  Set handle of created process in `h'.
4323         Result is process id if created task.
4324         (allocate_spawn_entry): New function.
4325         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
4326         (_execve): Set __FD_TABLE__ before spawning child.
4327         Scan our fd table when passing fds, not our parent's.
4328         Store handle and pid in procinfo entry.
4329         (vfork0): Ensure strace message always printed.
4330         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
4331         (vfork): Don't clobber result of vfork0.
4332         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
4333         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
4334
4335         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
4336         and `exit_code'.
4337         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
4338         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
4339         adding vfork level to pseudo-pid.  
4340         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
4341         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
4342         (_exit): If child, set exit code.
4343         (__vfork_record_death): Only close process handle if valid.
4344         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
4345         didn't exec.
4346         (wait_for_any): Likewise.  Start scan after root entry.
4347
4348 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
4349
4350         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
4351         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
4352         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
4353         of actual file length.
4354
4355         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
4356         * libc/include/paths.h: _PATH_BSHELL added.
4357         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
4358         and STDERR_FILENO.
4359
4360 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
4361
4362         * libc/include/ar.h: Added.
4363         * libc/include/sys/types.h: ino_t goes back to 32-bits.
4364         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
4365         * libc/sys/win32/syscalls.c (_open): compute .namehash based
4366         on filename.
4367         (_fstat): use .namehash for inode number of the fd.
4368
4369 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
4370
4371         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
4372          Change hinfo to __this_procinfo.
4373         * libc/sys/win32/crt0.c: Remove procinfo_list.
4374
4375 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4376
4377         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
4378         win32 environment.
4379
4380 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
4381
4382         * libc/sys/win32/include/grp.h: Removed.
4383         * libc/sys/include/grp.h: Added.
4384         * libc/sys/win32/grp.c: Include <grp.h>.
4385
4386 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
4387
4388         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
4389         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
4390         Defined for all but strict ANSI.
4391         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
4392         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
4393         * libc/signal/signal.c (_signal_r): Changed from using
4394         _MAX_SIGNALS to NSIG.  
4395         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
4396          __hmap): Deleted.
4397         (__strace, __vfork_next_pid): New.
4398         (__exe_suffix): Default to 1.
4399         (passover, table): Understand quoted arguments.
4400         (vfork_init_first): New.
4401         (vfork_init): Initialize new process structure.
4402         (mainCRTStartup): Pass environ to main.
4403         * exceptions.c (__sig_mask): New
4404         (ehandler3): Ignore signals in mask.
4405         (really_exit): Remove CHILD_P test.
4406         * pipe.c (pipe, dup, dup2): Use new process and file structure.
4407         * resource.c (getrusage): Ditto.
4408         * signal.c (sigprocmask): New.
4409         * spawn.c (*): Rewritten.
4410         * syscalls.c (*): Use new process and file structure.
4411         (find_unused_handle): New.
4412         * syscalls.h (MAX_HANDLES): Deleted.
4413         (hinfo): Removed child_created_p.
4414         (MAX_CHILDREN): Deleted.
4415         (vfork_jmp_info, procinfo): New.
4416         * wait.c (*): Mostly new.
4417         * sys/strace.h (_STRACE_PARANOID): New.
4418         * sys/param.h: New file.
4419
4420 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4421
4422         * libc/include/sys/stat.h: add S_BLKSIZE.
4423         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
4424         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
4425         types under win32.
4426         (mode_t): add a #else to avoid multiple definitons.
4427
4428         * libc/sys/win32/Makefile.in: add grp.c.
4429         * libc/sys/win32/grp.c: include grp.h correctly.
4430         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
4431         of the st structure with real information.
4432         * libc/sys/win32 (dirent): d_ino is of type ino_t.
4433
4434 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
4435
4436         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
4437         and (maybe) sparc64.
4438         (nlink_t): Provide typedef.
4439
4440 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
4441
4442         * libc/sys/win32/grp.c: New file.
4443         * libc/sys/win32/include/grp.h: New file.
4444
4445 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4446
4447         * libc/include/machine/ieeefp.h: Added whitespace to make this
4448         file easier to maintain.
4449         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
4450         depending on the value of __LITTLE_ENDIAN__.
4451         On the sh3e, define _DOUBLE_IS_32BITS.
4452         
4453 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
4454
4455         * libc/sys/vr4300/syscalls.c: Added missing support
4456         routines. _raise() and getpid().
4457
4458 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
4459
4460         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
4461
4462 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
4463
4464         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
4465         and VR4300 processor.
4466         * libc/sys/vr4300: Add directory.
4467         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
4468         monitor run-time support.
4469
4470 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4471
4472         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
4473         * libc/stdlib/stdlib.tex: Don't include atol.def.
4474
4475 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4476
4477         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
4478
4479 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
4480
4481         * libc/ctype/Makefile.in: Fill in _to* dependencies.
4482
4483 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
4484
4485         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
4486         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
4487         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
4488         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
4489         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
4490
4491 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4492
4493         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
4494
4495 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4496
4497         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
4498         * libc/stdlib/atoff.c: New file.
4499         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
4500         * libc/stdlib/atoi.c (atol): Removed.
4501         * libc/stdlib/atol.c: Removed duplicate documentation.
4502
4503         * libc/include/ctype.h (_tolower, _toupper): Moved inside
4504         #ifndef _STRICT_ANSI conditional.
4505         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
4506         * libc/ctype/_tolower.c: New file.
4507         * libc/ctype/_toupper.c: New file.
4508         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
4509         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
4510         * libc/ctype/toascii.c (_toascii): Removed.
4511
4512 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
4513
4514         * libc/sys/sparc64/sys/types.h: Deleted.
4515
4516 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4517
4518         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
4519         and recognize Windows_95 systems.
4520
4521 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4522
4523         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
4524         and passed fds should be opened in text mode.
4525
4526 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
4527
4528         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
4529         in __hmap, set to binary mode by default.
4530
4531 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4532
4533         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
4534         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
4535         vector 34.
4536
4537 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
4538
4539         * Makefile.in (install): Install all libraries found in the
4540         top level.  If there's a sys/<type>/include directory,
4541         install those headers into include.
4542
4543         * libc/sys/win32/kernel.def351: Delete
4544         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
4545         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
4546         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
4547         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
4548         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
4549         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
4550         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4551         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4552
4553         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4554         * libc/sys/win32/crt0.c: Force all env names to upper case.
4555         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4556         * libc/sys/win32/*.c: Headers have moved.
4557         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4558         __vfork_child_idx is now __vfork_child_ptr.
4559
4560         * posix/execvp (execvp): Don't crash if no PATH envname.
4561
4562 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4563
4564         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4565         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4566         through the _freelist instead of through the _reclaim list.
4567         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4568         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4569         sources.
4570
4571 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4572
4573         * libc/machine/h8500/setjmp.S: New file.
4574         * libc/include/machine/setjmp.h: Updated for H8/500.
4575
4576 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
4577
4578         * libc/sys/win32/syscalls.c (_open): More stracing.
4579         (_stat): Open the file in O_BINARY.
4580
4581 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4582
4583         * libc/machine/h8300/setjmp.S: New file.
4584         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4585
4586 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
4587
4588         * libc/sys/win32/crt0.c (__exe_suffix): New global.
4589         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4590         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4591         __exe_suffix.  Free fd_tab after setting env variable.
4592         (spawnv,_execve): Update.
4593         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4594         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4595         (__small_vfprintf): New function.
4596         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4597         * libc/sys/win32/wait.c (cwait): Validate argument.
4598
4599         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
4600         (process_deletion_queue): Likewise.
4601
4602         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
4603
4604 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
4605
4606         * libc/sys/win32: Copyrights and gratuitous indenting.
4607
4608 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
4609
4610         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
4611         (process_deletion_queue): Likewise.
4612         (__close_all_files): New function.
4613         (_close): Only queue file deletion if really a file.
4614         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
4615         _P_APPEND_EXE.
4616         (_exit): Call __close_all_files.
4617
4618         * libc/stdlib/system.c: #include <errno.h>.
4619         (_system_r): Fix results in -DNO_EXEC case.
4620
4621         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
4622         Reorganize structure.
4623         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
4624         if argument is valid.  Save directory name in DIR.  malloc space
4625         for dirent struct separately.
4626         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
4627
4628         * libc/include/errno.h (ENAMETOOLONG): Define.
4629         * libc/string/strerror.c (strerror): Reword ENFILE.
4630         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
4631
4632 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
4633
4634         * libc/sys/win32/crt0.c (__progname): New global.
4635         (mainCRTStartup): Support strace=bitmask,filename.
4636         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
4637         * libc/sys/win32/syscalls.c (_write): Print parent trace message
4638         if error.
4639         (getcwd): Handle len too small.  Convert '\\' to '/'.
4640         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
4641         Add prototypes for open, creat, fcntl.
4642         (O_APPEND): Change value to conform to Microsoft's value.
4643         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
4644
4645         * libc/stdlib/getopt.c: New file.
4646         * libc/stdlib/Makefile.in: Build it.
4647
4648 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
4649
4650         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
4651         Fix scanning of $PATH.
4652         * libc/posix/exec*.c: Call _execve, not execve.
4653         * libc/posix/execve.c: New file.
4654         * libc/posix/Makefile.in (OFILES): Add execve.o.
4655
4656         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
4657         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
4658         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
4659         * libc/sys/win32/crt0.c: Update _STRACE calls.
4660         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
4661
4662         * libc/sys/win32/smallprint.c (rn): Fix digit list.
4663
4664         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
4665         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
4666         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
4667         Print __seterrno trace message first.
4668         (_execve): Renamed from execve.
4669         (vfork): Update __strace usage.
4670         (__vfork_child_pid): Deleted.
4671         (__vfork_children, __vfork_child_idx): New globals.
4672         (_spawnvp): New function.
4673         (spawnvp, spawnv, _execve): Call _spawnvp.
4674         (init_child): Record child in __vfork_children.
4675         (__vfork_get_entry, __vfork_record_death): New functions.
4676         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
4677         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
4678         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
4679         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
4680         (children): New typedef.
4681         (__vfork_children,__vfork_child_idx): Declare.
4682         (__vfork_get_entry,__vfork_record_death): Declare.
4683         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
4684         (waitpid): Handle pid == -1.
4685         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
4686         * configure.in (i386-win32): Add -DNO_FORK.
4687         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
4688         * libc/reent/execr.c (_fork_r): Likewise.
4689         * libc/stdlib/system.c (do_system): New function.
4690         If WIN32, try to get shell path from $SH_PATH, use vfork.
4691         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
4692         otherwise return 0.
4693
4694 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
4695
4696         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
4697         * libc/sys/win32/fcntl.h: Don't include self.
4698         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
4699         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
4700         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
4701         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
4702         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
4703         Correct prototypes.
4704         * libc/sys/win32/strace.c: New file.
4705         * libc/sys/win32/smallprint.c: New file.
4706         * libc/sys/win32/crt0.c (func): Delete.
4707         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
4708         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
4709         * libc/sys/win32/exceptions.c: Lint.
4710         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
4711         Clean up handle usage.
4712         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
4713         (open.c): Default file type is text.
4714         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
4715         * libc/sys/win32/advapi32.def: New      
4716
4717 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
4718
4719         * configure.in (posix_dir, libc_posix_lib): New variables.
4720         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
4721         (i[345]86-*-win32): Define posix_dir.
4722         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
4723         (if unix_dir): Fix typo.
4724         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
4725         scandir,seekdir,telldir}: New files.
4726         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
4727         from libc/unix.
4728         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
4729         (SUBDIRS): Add posix.
4730         (SUBLIBS): Add $(LIBC_POSIX_LIB).
4731
4732         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
4733         (NSIG): Increase to 21.
4734         * libc/include/sys/unistd.h (pid_t): Move from here,
4735         * libc/include/sys/types.h (pid_t): to here.
4736
4737         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
4738         (__ptrace): Delete.
4739         (hinfo): New members close_exec_p, child_created_p.
4740         (struct exception_list): Define.
4741         (__hmap): Redefine as pointer to table.
4742         (__parent_hmap, __child_hmap): New globals.
4743         (__set_errno, __really_exit): Declare.
4744         (__vfork_child_pid): Declare.
4745         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
4746         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
4747         (__parent_hmap, __child_hmap): New globals.
4748         (__hmap): Redefine as pointer to active map.
4749         (__get_console): New function.
4750         (mainCRTStartup): Change leading '=' in environ vars to '!'.
4751         (env __FD_TABLE__): Watch for this and initialize our fd/handle
4752         mapping table from it if defined.
4753         (argv, envp): Dump if __strace >= 4.
4754         (main): Call here.
4755         * libc/sys/win32/exceptions.c (myp): Redefine.
4756         (__syscalls_b): Delete.
4757         (__stack_trace): New function.
4758         (ehandler3): Update to use _STRACE.  Print stack trace.
4759         Call __really_exit instead of exit.
4760         (init_exceptions): Delete args argc,argv.  New arg mine.
4761         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
4762         FindFirstFileA, FindNextFileA, GetComputerNameA,
4763         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
4764         * libc/sys/win32/signal.c (signal): Validate arg.
4765         (alarm, sleep): Define as stubs for now.
4766         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
4767         (__syscalls_b, errno): Delete.
4768         (__vfork_child_pid, __vfork_jmp_buf): New globals.
4769         (__seterrno): Handle more errors.
4770         (__sys_printf): Renamed from _ptrace.
4771         (__really_exit): New function.
4772         (queue_file_deletion, process_deletion_queue): New functions.
4773         (__resume_parent): New function.
4774         (_unlink): Handle trying to delete open file.
4775         (__totime_t): Renamed from totime_t.
4776         (setsid, __read, __write): New functions.
4777         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
4778         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
4779         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
4780         * libc/sys/win32/console.c: Update to new definition of __hmap.
4781         * libc/sys/win32/Makefile.in: Build new files.
4782         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
4783         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
4784         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
4785         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
4786
4787 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
4788
4789         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
4790
4791 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4792
4793         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
4794         have been made to the master dtoa.c sources (from netlib.att.com)
4795         since they were integrated into newlib in early 1992.  Fixes
4796         problems with storage leaks and handling of numbers with very
4797         negative exponents.
4798         
4799 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4800
4801         * Makefile.in (all): set rootpre and srcrootpre before calling
4802         sub-makes.
4803
4804 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
4805
4806         * libc/sys/win32/crt0.c: Change __hmap usage.
4807         * libc/sys/win32/exceptions.c: Use _ptrace call.
4808         * libc/sys/win32/syscalls.c: Use _ptrace call.
4809         (read, write): Cope with DOS style CRLF when in TEXT mode.
4810         * libc/sys/win32/syscalls.h: Declare hinfo struct.
4811         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
4812         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
4813         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
4814         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
4815
4816 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4817
4818         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
4819
4820         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
4821         wrappers for hypot() and remainder() for BSD libm compatibility.
4822         These are public domain implementations written by me for the
4823         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
4824         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
4825         (fobj): Added wf_cabs.o and wf_drem.o.
4826
4827 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4828
4829         * libc/sys/h8500hms/misc.c: New file.
4830         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
4831
4832 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4833
4834         * libc/time/localtime.c (localtime): Fix problem with leap year
4835         handling.  Stole algorithm from Arthur David Olson's tz code.
4836         
4837 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
4838
4839         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
4840
4841         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
4842         (_exit): Use argument.
4843
4844 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
4845
4846         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
4847
4848 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
4849
4850         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
4851
4852 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4853
4854         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
4855         target_cflags.
4856
4857 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
4858
4859         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
4860         ptrace with case insensitivity
4861         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
4862         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
4863         New files.
4864
4865 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
4866
4867         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4868         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
4869         (all, install, *clean): Use new multilib support.
4870         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4871
4872 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
4873
4874         * libc/include/sys/signal.h (__WIN32__): New.
4875
4876         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
4877
4878         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
4879         (ulp, b2d): Handle 32 bit doubles.
4880         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
4881         * libc/stdlib/strtod.c (_strtod_r): Ditto.
4882
4883 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
4884
4885         from medp@primag.co.uk:
4886         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
4887         dynamically allocated buffers.
4888
4889 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
4890
4891         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
4892         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
4893
4894 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
4895
4896         * configure.in (powerpc): Fix previous fix.
4897
4898 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
4899
4900         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
4901         directories for this target.
4902
4903 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
4904
4905         * configure.in (hppa): Add machine_dir definition.
4906         * libc/machine/hppa: New directory with PA specific implementations
4907         of the basic memory/string functions.
4908
4909 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
4910
4911         * configure.in: Update current PowerPC multilib directories.
4912         Split big and little endian configurations.
4913
4914 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
4915
4916         * configure.in: Add --enable-single-float option to configure to
4917         control use of MIPS single-float directories.  Default to yes.
4918
4919         * Makefile.in (all): Don't recurse into multilib directory if it
4920         does not exist.
4921
4922 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4923
4924         * libc/sys/sh/syscalls.c: Fix typo.
4925
4926 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4927
4928         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
4929         Pass down DLLTOOL.
4930         * libc/include/process.h: Define WAIT_CHILD.
4931         * libc/include/types.h: Get sizes right for win32.
4932         * configure.in (i386-*-pe): Becomes i386-win32.
4933         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4934         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
4935         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
4936         is defined.
4937
4938 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4939
4940         * configure.in (i[345]86-*-pe):  New target (NT).
4941         * host/any: DLLTOOL new.
4942         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4943         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
4944         WIN32 (just enough to cross host the comp-tools).
4945
4946 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
4947
4948         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
4949         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
4950
4951 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
4952
4953         * libc/include/machine/ieeefp.h (arm): Change to always be
4954         __IEEE_BIG_ENDIAN (even on little endian ARM's).
4955
4956 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4957
4958         * libc/sys/crt0.S: Initialze sp, and call exit after main.
4959         * libc/sys/syscalls.c (abort): New.
4960         * configure.in (arm): Define ABORT_PROVIDED.
4961
4962 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4963
4964         * configure.in (powerpc): Define multidirs.
4965
4966 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
4967
4968         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
4969
4970 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
4971
4972         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
4973
4974 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
4975
4976         * configure.in, libc/include/machine/ieeefp.h: Modified
4977         for arm:
4978         libc/machine/arm/*, libc/sys/arm/*: New
4979
4980 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4981
4982         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
4983           __powerpc__ when determining endianness.
4984
4985 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
4986
4987         * configure.in (m68*): Add multidir for the m68332.
4988
4989         * host/any (CC): Fix typo in last change.
4990
4991 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
4992
4993         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
4994         when determining endianness.
4995         * libc/include/machine/ieeefp.h: Ditto.
4996         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
4997         operands.
4998
4999 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
5000
5001         * libc/include/errno.h (ENOTEMPTY): Define.
5002
5003 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
5004
5005         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
5006           target_cflags.
5007
5008         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
5009           and umultiply.o.
5010
5011         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
5012           instead of only when open succeeds.  ANSI requires that multiple
5013           calls to tmpnam() result in different files.
5014
5015         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
5016           objects pulled in from /lib/libc.a that must be renamed before
5017           being pulled into newlib.  /lib/libc.a's div.o conflicted with
5018           newlib's file with the same name.
5019
5020         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
5021
5022         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
5023           the build tree will only be used if the executables are present
5024           (instead of just the Makefiles).
5025
5026         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
5027           wcstombs): Define.
5028         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
5029           versions of these functions that I orignally wrote for the
5030           NetBSD C library.
5031         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
5032           versions I wrote for NetBSD.
5033
5034 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
5035
5036         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
5037         * libc/sys/sparclite/crt0.s: ditto.
5038
5039 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
5040
5041         * configure.in: Add soft-float for proelf.
5042
5043 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
5044
5045         * libc/stdlib/mprec.h (Bcopy): Copy the right number
5046         of bytes.
5047
5048 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
5049
5050         * Makefile.in (all): Depend on `force'.
5051         * configure.in (syscall_dir): Renamed from fake_sys_dir.
5052         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
5053         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
5054         * libc/Makefile.in: Likewise.
5055         * libc/include/reent.h: Update syscall references.
5056         (_fcntl_r): Add prototype.
5057         * libc/syscalls/*.c #include <reent.h>.
5058         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
5059
5060 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
5061
5062         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
5063         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
5064         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
5065         (time.h, sys/types.h): Always include (even if MSDOS).
5066         (stat): Fix prototype.
5067
5068 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
5069
5070         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
5071
5072 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
5073
5074         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
5075
5076 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
5077
5078         * libc/include/regdef.h: New file.
5079         * libc/machine/mips/machine/regdef.h: New file.
5080
5081 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
5082
5083         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
5084
5085 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
5086
5087         * libc/sys/sh/crt0.S: Pass main's return to exit.
5088         * libc/sys/sh/trap.S: Put errno in the right place.
5089
5090 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5091
5092         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
5093         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
5094         * libm/math/ef_rem_pio2.c: Likewise.
5095         * libm/math/e_log10.c: Remove unused static one.
5096         * libm/math/ef_log10.c: Likewise.
5097         * libm/math/s_frexp.c: Likewise.
5098         * libm/math/sf_frexp.c: Likewise.
5099
5100 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
5101
5102         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
5103         longjmp.S: Upgraded.
5104         * libc/sys/go32/sys/setjmp.h: Upgraded.
5105         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
5106
5107 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5108
5109         * configure.in: Add many entries to multidirs for mips targets.
5110
5111 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
5112
5113         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
5114           5.2 which fixes bug where jn(-1,x) is three times larger than
5115           the actual answer.
5116         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
5117
5118 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
5119
5120         * libc/sys/w65/sys/syscalls.h: New file
5121         * libc/include/machine/ieeefp.h: W65 support.
5122         * libc/include/sys/config.h: Ditto.
5123         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
5124         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
5125         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
5126
5127 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5128
5129         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
5130
5131 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
5132
5133         * Makefile.in, configure.in: Remove any references to the old
5134         "stub" dir.
5135
5136 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5137
5138         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
5139         uses ... in prototype.
5140
5141
5142 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
5143
5144         * libc/sys/a29khif/sys/libconfig.h: Remove.
5145         * libc/sys/go32/sys/libconfig.h: Remove.
5146         * libc/sys/sun4/sys/libconfig.h: Remove.
5147         * libc/sys/sysvi386/sys/libconfig.h: Remove.
5148         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
5149         * libc/sys/sparc64/sys/libconfig.h: Remove.
5150
5151         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
5152         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
5153         * libc/include/math.h: Change all uses of _FLOAT_RET and
5154         _FLOAT_ARG to float.
5155         * libm/test/math.c: Likewise.
5156         * testsuite/libm.sac/math.c: Likewise.
5157         * testsuite/libm.sac/working/math.c: Likewise.
5158
5159 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
5160
5161         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
5162         gcc calls gas with endian option.
5163         * configure.in (sh): Build little endian version too.
5164
5165 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5166
5167         * configure.in: Configure big and little endian versions for MIPS
5168         targets.
5169
5170 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
5171
5172         * libc/include/limits.h: Deleted.
5173         * libc/include/machine/limits.h: Deleted.
5174
5175 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
5176
5177         * ChangeLog: Remove stub directory. This has all been rewritten
5178         and moved to devo/libgloss.
5179
5180 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
5181
5182         * Makefile.in (dvi): Add to info target, use $@ in sub make.
5183         (docs): Merge into info target.
5184         * libm/Makefile.in (dvi): Add $(srcdir).
5185         * libm/math/Makefile.in (chobjs): Remove underscores from file
5186         names.  Texinfo doesn't like them.
5187         (wacos.def, ...): Add explicit targets for all .def files.
5188         * libm/math/math.tex: Remove underscores from @include file names.
5189         * doc/Makefile.in (dvi): Add dummy target.
5190         * testsuite/Makefile.in (dvi): Add dummy target.
5191
5192 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
5193
5194         * Makefile.in (VERSION): Define.  For net newlib releases.
5195
5196 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
5197
5198         * README: New file.
5199
5200 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
5201
5202         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
5203
5204 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5205
5206         * libc/stdlib/setenv.c (_findenv): Declare.
5207
5208         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
5209         fcntl to not use _EXFUN, and change string parameters to open and
5210         creat to be ``const char *''.
5211         * libc/sys/sparc64/sys/fcntl.h: Likewise.
5212         * libc/sys/sparc64/creat.c (creat): Make PATH const.
5213         * libc/syscalls/sysopen.c: Include <fcntl.h>.
5214         (open) Make _FILE const.
5215         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
5216         (_creat): Make PATH const.
5217         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
5218         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
5219         * libc/sys/m88kbug/syscalls.c (open): Likewise.
5220         * libc/sys/sh/syscalls.c (_open): Likewise.
5221         * stub/shared/glue.c (open): Make BUF const.
5222         * stub/ex93x/syscalls.c (open): Make FILENAME const.
5223
5224 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
5225
5226         * libc/include/errno.h: Add ENMFILE
5227         * libc/include/sys/config.h: Support Z8000.
5228         * libc/include/sys/signal.h: New signals for go32.
5229         * libc/machine/h8500/psi.S (__addpsir0r0): New function
5230         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
5231         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
5232         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
5233         size is variable, depending upon CHUNK_POWER.
5234         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
5235
5236 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
5237
5238         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
5239
5240 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5241
5242         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
5243
5244 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5245
5246         * configure.in: Change i[34]86 to i[345]86.
5247
5248         * libc/include/math.h: Don't define HUGE_VAL if it is already
5249         defined.
5250
5251 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5252
5253         * testsuite/libm.sac/test_erfc.c: Correct some result values.
5254         * testsuite/libm.sac/test_gammaf.c: Likewise.
5255         * testsuite/libm.sac/test_sin.c: Likewise.
5256         * testsuite/libm.sac/test_tanh.c: Likewise.
5257
5258 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5259
5260         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
5261         already set.  Define typedefs __int32_t and __uint32_t.
5262         * libc/include/math.h: Include <machine/ieeefp.h>.
5263         (union __dmath): Use __uint32_t.
5264         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
5265         instead of int and unsigned int.
5266
5267 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5268
5269         Replace the math library with the SunPRO fdlibm package.
5270         * libm/math: Completely changed all files.
5271         * libm/ieeefp: Remove contents and directory.
5272         * libm/Makefile.in (LIBM_FP_LIB): Remove.
5273         (SUBDIRS): Just set to math/lib.a.
5274         * libm/libm.texinfo: Updated for new library.
5275         * libc/include/math.h: Extensive changes for new math library.
5276         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
5277         from _FLOAT_ARG to float.
5278         (maxpowtwo, maxpowtwof): Don't declare.
5279         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
5280         (libm_fp_lib): Removed.
5281         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
5282         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
5283         argument to ${RUNTEST}.
5284         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
5285         (.c.o): New rule.
5286         (RUNTESTFLAGS): Set CC and CFLAGS.
5287         (TESTS): Remove test_log2 and test_log2f.
5288         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
5289         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
5290         _FLOAT_ARG, for single precision argument type.
5291         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
5292         expected failure.  Close the input pipe.
5293         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
5294         Correct misspelling of inaccurate.
5295         (test_mok): Use ``inaccurate'', not ``wrong''.
5296         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
5297         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
5298         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
5299         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
5300         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
5301         test_yn.c): Correct many result values.  Many are still wrong.
5302
5303         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
5304         just copy the string.
5305         (_gcvt): Always return the buffer.
5306
5307 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
5308
5309         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
5310
5311 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
5312
5313         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
5314         structure.
5315         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
5316         (_reclaim_reent): declare new entry point.
5317         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
5318         functions.
5319
5320         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
5321         ever allocated, so that we can later reclaim them all.
5322         (pow5mult): make reentrant.
5323
5324         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
5325         so that when given NULL as a buffer, return a pointer to static
5326         space in the rent structure.  This is not documented behaviour;
5327         it's only to support ecvt and fcvt, which aren't ANSI anyway.
5328         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
5329         therefore become reentrant).
5330         
5331         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
5332
5333 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5334
5335         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
5336
5337 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
5338
5339         * Makefile.in: Make link to libg.a after libc.a; this is needed
5340           for the testsuites to build executables when everything comes
5341           from the tree.
5342
5343 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
5344
5345         * libc/Makefile.in: Add a VERSION variable so we can keep track.
5346         * libm/Makefile.in: Add a VERSION variable so we can keep track.
5347
5348 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
5349
5350         * libc/include/stdio.h: Use __VALIST, not va_list.
5351
5352 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
5353
5354         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
5355         testsuite/libm.sac/execute.exp:
5356           Replace error proc calls with perror calls.
5357
5358 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
5359
5360         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
5361         * libc/include/time.h: #define NULL as 0L.
5362
5363 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
5364
5365         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
5366         care of it.
5367
5368 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5369
5370         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
5371         not __unix__.
5372
5373 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
5374
5375         * configure.in (TARGET_CFLAGS): Set -O2 as default.
5376         (z8k-*-*): Use syscalls fake sys dir.
5377         * libc/sys/z8k/glue.c: Rename syscalls.
5378         * libc/sys/go32/Makefile.in: Use new routines.
5379         * libc/machine/Makefile.in: Fix typo in ln stuff.
5380
5381 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5382
5383         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
5384         * libc/Makefile.in (crt0.o): Likewise.
5385         * libc/machine/Makefile.in (lib.a): Likewise.
5386         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
5387
5388         All Makefile.in files: Added mostlyclean, realclean and distclean
5389         targets.
5390
5391         * Makefile.in: Don't bother to unexport XTRAFLAGS or
5392         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
5393         the top level Makefile.
5394
5395 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
5396
5397         * libc/sys/sparc64/sys/stat.h: New file.
5398         * libc/sys/sparc64/sys/time.h: New file.
5399         * libc/sys/sparc64/sys/types.h: New file.
5400
5401 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
5402
5403         * stub/ex93x/crt0.s (start): Add code to clear bss.
5404
5405 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
5406
5407         * libc/include/sys/types.h (time_t): Properly protect inside
5408         #ifndef __time_t_defined.
5409
5410         * libc/stdio/fileno.c: New file.
5411         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
5412         (fileno.o): Add dependency.
5413         * libc/include/stdio.h (__sgetc): Rename never to _never.
5414         (fileno macro): Disable, needs to do CHECK_INIT first.
5415
5416 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
5417
5418         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
5419         goal.
5420
5421         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
5422         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
5423         runtest.
5424         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
5425         runtest.
5426
5427 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
5428
5429         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
5430         of the various constants.
5431
5432 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
5433
5434         * libc/include/math.h: #ifndef __math_68881 around things which
5435         conflict with the (gcc-provided) inline functions in
5436         gcc/ginclude/math-68881.h.
5437
5438 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
5439
5440         * libc/include/_syslist.h (_gettimeofday): Define.
5441         (_times): Ditto.
5442         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
5443         (struct tms, timeval, timezone): Declare.
5444         (_gettimeofday_r, _times_r): Declare.
5445         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
5446         #ifdef _CLOCK_T_ surrounding definition of clock_t.
5447         (time_t): Add multiple definition protection, __time_t_defined.
5448         * libc/include/sys/time.h: Don't #include <time.h>.
5449         Always define struct timezone (remove #ifndef _TIME_H_).
5450         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
5451         #ifdef _CLOCK_T_ surrounding definition of clock_t.
5452         * libc/reent/Makefile.in (OFILES): Add timer.o.
5453         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
5454         * libc/reent/timer.c: New file.
5455         * libc/time/clock.c: #include <reent.h>.
5456         (clock): Call _times_r instead of times.
5457         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
5458         HAVE_GET_TIME_OF_DAY.
5459         Add comment regarding supporting OS routine(s) required (for docs).
5460         #include <reent.h>.
5461         (time): Call _gettimeofday_r instead of gettimeofday.
5462         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
5463         * libc/time/ctime.c: Ditto.
5464         * libc/time/strftime.c: Ditto.
5465         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
5466         (TEMPLATE_SFILES_R): Define here.  Also define times.
5467         Add times_r.o/times.S dependence.
5468         (time2.c, junk.c): Deleted.
5469         * libc/sys/sparc64/time2.c: Deleted.
5470         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
5471
5472         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
5473         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
5474         * libc/sys/sparc64/junk.c: Deleted.
5475
5476 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
5477
5478         * libc/sys/sparc64/Makefile.in: Add times syscall.
5479         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
5480         be used with and without it.  Add comment clarifying Medium/Anywhere
5481         model requirements.
5482         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
5483         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
5484         even if obsolete.
5485
5486 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
5487
5488         * configure.in (target_cflags): Move init.
5489         (sparc64-*-*): Define HAVE_BLKSIZE.
5490
5491 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
5492
5493         * libc/include/sys/_types.h: New file.
5494         * libc/include/reent.h: #include it.
5495         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
5496         MISSING_SYSCALL_NAMES.
5497         Sort syscalls.
5498         * libc/include/_syslist.h: Remove _raise.
5499         * libc/reent/signalr.c: New file.
5500         * libc/reent/Makefile.in: Compile it.
5501         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
5502         Add doc for raise and _raise_r.
5503         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
5504         (raise): Call _raise_r.
5505         (_raise_r): Call _getpid_r and _kill_r.
5506         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
5507         (abort): Loop forever calling raise and _exit.
5508
5509 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5510
5511         * configure.in: Remove extraneous echo.
5512
5513 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
5514
5515         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
5516         collision with unistd.h, and fix for svr4.
5517
5518 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
5519
5520         * libc/stdio/local.h (_llicvt): Declare.
5521         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
5522         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
5523         (_llicvt): Define.
5524         (_sicvt): Fix function header (`value' is short).
5525         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
5526         Add printing of long long's support.
5527         Add printing of 8 byte pointer support.
5528
5529 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
5530
5531         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
5532         stat, chmod): New hooks. 
5533         (sbrk): Abort if stack and heap collide.
5534         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
5535         shortcut when given small args.
5536         * libc/machine/sh/setjmp.s: Rewritten.
5537         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
5538         of cmp/str instruction.
5539
5540 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5541
5542         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
5543         and machine_dir powerpc.
5544         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
5545         Add cases for __powerpc__.
5546         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
5547         New files.
5548
5549         * libc/include/stdio.h (_iprintf_r): Declare correctly.
5550
5551 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
5552
5553         * libc/stdlib/callocr.c: New file with _calloc_r in it.
5554         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5555
5556 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
5557
5558         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5559         (print_e): More comments to describe args, etc.
5560         "type" arg may now be 'g' or 'G' for %g/G format --> remove
5561         trailing blanks.
5562         (_gcvt): Remove locals decpt, sign, end, p, done.
5563         More comments for print_e invocation.
5564         Pass "type" to print_e as is (g/G).
5565
5566 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
5567
5568         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5569         stock m68000. 
5570
5571 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
5572
5573         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5574         works with any sized pointer, including ones bigger than ints and
5575         longs.
5576
5577 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
5578
5579         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5580
5581 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
5582
5583         * libc/include/stdlib.h (_calloc_r): Add prototype.
5584         * libc/machine/h8500/negsi2.c: New file.
5585         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5586         large unsigned numbers.
5587         * libc/machine/h8500/cmpsi.c: Add cmppsi.
5588         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5589         works when sizeof(size_t) != sizeof(char *).
5590         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5591         get play area
5592         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5593
5594 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
5595
5596         * libc/include/assert.h (assert): Handle -traditional.
5597
5598 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
5599
5600         * Makefile.in: added ; after every "fi" and "done" that wasn't at
5601         the end of a line (ie. anything before a backslash continuation)
5602         so that bash handles them.
5603
5604 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
5605
5606         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
5607         stat to lstat
5608
5609 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
5610
5611         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
5612         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
5613         libc/machine/sh/udivsi3.s: Use new calling convention.
5614
5615 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
5616
5617         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
5618         chmod, access, chdir, chown by making _path const. Also fix _amode
5619         param of access.
5620
5621 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
5622
5623         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
5624         _khif_tmpnam, because it doesn't comply with ANSI but may be
5625         useful anyway. Real tmpnam was already in libc/stdio, and was
5626         colliding with this one (pr 2176.) 
5627         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
5628         the wrong idea anyhow.
5629
5630 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
5631
5632         * configure.in: Remove h8300h, we have multilib now.
5633
5634 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
5635
5636         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
5637         functions, to get preference over the ones in libiberty (since we
5638         provide correct declarations in <string.h>.
5639         * libc/string/Makefile.in: add support for strncasecmp,
5640         strcasecmp.
5641
5642 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
5643
5644         * Change netware config not to look for cpu explicitly.
5645
5646 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
5647
5648         * libc/sys/sparc64/{creat.c,junk.c}: New files.
5649         * libc/sys/sparc64/Makefile.in: Add dependencies.
5650
5651 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
5652
5653         * configure.in: Clean up v9 a bit, new "os" aoutv8.
5654
5655 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
5656
5657         * libc/include/sys/reent.h: make structure smaller by allocating
5658         some stuff when needed.
5659         * libc/signal/signal.c: allocate as needed
5660         * libc/stdio/findfp.c,stdio/local.h: ditto
5661         * libc/stdlib/mprec.c: ditto
5662
5663         * libc/time/localtime.c: don't return a dangling stack ptr.
5664
5665 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
5666
5667         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
5668
5669 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5670
5671         * libc/include/stdio.h (__sputc): comment out static inline which
5672           confuses coff toolchains.
5673
5674 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
5675
5676         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
5677         _write.s, getpid.c, kill.c, read.s}:
5678         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
5679         through the syscalls directory.
5680
5681 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
5682
5683         * configure.in: fixed double quote gotcha.
5684
5685 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
5686
5687         * stub/ex931: stub library for sparclite board.
5688         * stub/idp: Renamed from mc68ec. Added contructor table
5689         stuff to linker script.
5690         * stub/mvme135: Renamed from m68kmvme. Added contructor table
5691         stuff to linker script.
5692
5693 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5694
5695         * configure.in: Configure testsuites only if they exist.
5696
5697 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5698
5699         * configure.in: Don't set machine_dir for i386 until there is
5700         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
5701         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
5702         CLOCK_PROVIDED and MALLOC_PROVIDED.
5703
5704         * libc/sys/netware: New directory.  Contains simplistic and
5705         probably incorrect stubs for NetWare.  Should be enough to load
5706         the library.
5707         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
5708         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
5709         stub files.
5710
5711         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
5712         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
5713         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
5714         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
5715
5716 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
5717
5718         * testsuite/Makefile.in: add "docs" dummy target for consistency
5719         with rest of newlib; turn "info" and "install-info" into dummy
5720         targets, since they wouldn't have worked.  (Depended on
5721         nonexistent "doc" subdir.)
5722
5723 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
5724
5725         * configure.in: handle mips* instead of mips
5726
5727 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
5728
5729         * libc/include/sys/dirent.h: New file.  If it is not overridden by
5730         a version of libc/sys/*/sys/dirent.h, it includes the next
5731         <dirent.h> file in case there is one lurking somewhere.
5732
5733 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5734
5735         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
5736         compliance, namely: Accept a minus sign.  Consider a single 0 with
5737         a radix of 0 as being a conversion.  Determine overflow correctly.
5738         If an overflow occurs, set *ptr to the end of the number, not the
5739         middle.
5740         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
5741
5742 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
5743
5744         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
5745
5746 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
5747
5748         * Makefile.in (INSTALL): Use $srcrootpre.
5749         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
5750         can't handle it.
5751         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
5752         it.
5753         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
5754         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
5755         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
5756         * libm/math/Makefile.in (matherr.o): Ditto.
5757
5758 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
5759
5760         * configure.in: Build multidirs for z8k.
5761         * libc/include/stdlib.h (_strtoul_r): add prototype.
5762         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
5763         * libc/include/machine/setjmp.h: Add for z8k.
5764         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
5765         * libc/sys/z8ksim/glue.c: tidy up.
5766
5767 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
5768
5769         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
5770         New files.  Requires execve system call.
5771         * libc/unix/Makefile.in: Use them.
5772         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
5773         Deleted, moved to libc/unix.
5774         * libc/sys/sparc64/Makefile.in: Remove them.
5775
5776 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
5777
5778         * libc/sys/sparc64/{template.S template_r.S}: New files.
5779         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
5780         from templates.
5781         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
5782         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
5783         umask.S unlink.S wait4.S write.S}: Removed, now built from
5784         templates.
5785
5786 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
5787
5788         * libc/time/time.c: #include <_ansi.h>.
5789
5790 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
5791
5792         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
5793
5794 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5795
5796         * configure.in: match m8* rather than m88k so that m88110 is
5797           recognized as well.
5798
5799 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
5800
5801         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
5802         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
5803         misc.c: New file.
5804
5805         * configure.in: Add multilib support to h8300.
5806
5807 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
5808
5809         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
5810         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
5811         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
5812
5813 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5814
5815         * configure.in: Corrected multidirs for sparc target.
5816
5817 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
5818
5819         Support for building newlib multiple times with different
5820         compilation flags.
5821         * configure.in: Only configure doc at top level.  Set multidirs
5822         when appropriate for target, unless not at top level.  If
5823         multidirs is set, independently configure each subdirectory.
5824         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
5825         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
5826         automagically set by configure.in.
5827         (all): If MULTIDIRS is set, build multiple copies of libraries.
5828         (install): If MULTIDIRS is set, install multiple copies of
5829         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
5830         MULTISUBDIR is set, don't bother to install header files.
5831         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
5832         ${srcrootpre}.
5833         * stub/configure.in: Set MULTISUBDIR appropriately.
5834         * stub/Makefile.in (install): Install in
5835         $(tooldir)/lib/$(MULTISUBDIR).
5836         * All Makefile.in files: Define SRCTOP as well as TOP.
5837
5838 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
5839
5840         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
5841         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
5842
5843 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
5844
5845         * libc/sys/h8300hms/exit.c (_exit): New function.
5846
5847 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5848
5849         * configure.in: recognize m88110.
5850
5851 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5852
5853         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
5854           prototype main and call with args.
5855
5856 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
5857
5858         First real try at system traps for m88k-bug.
5859         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
5860           to real trap calls.
5861         * libc/sys/m88kbug/sys/systraps.h: new file.
5862
5863 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5864
5865         Patches to fix info building when target does not use sys
5866         directory.
5867         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
5868         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
5869           libc/sys.tex.
5870         * libc/sys/Makefile.in (doc): do nothing.
5871
5872 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5873
5874         * libc/Makefile.in (CRT0): new macro.
5875           (all): depend on $(CRT0) rather than crt0.o.
5876
5877         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
5878           do not default crt0, instead, set crt0 and crt0_dir based on
5879           sys_dir and stub_dir.
5880
5881         * Makefile.in (CRT0_DIR): new macro.
5882           (all): depend on $(CRT0) rather than crt0.o which may not exist.
5883           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
5884           $(CRT0).
5885           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
5886
5887 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
5888
5889         * testsuite/lib/libm.exp: 
5890                 added code to support compiling and linking of tests for 
5891                 libm.sac (paranoia to be added next) and processing the 
5892                 pass or failure of the tests.
5893
5894         * testsuite/config/unix-libm.exp:
5895                 platform specific proc's for dealing with compiler, linker
5896                 and the way we execute and process the test results.
5897
5898         * testsuite/libm.sac/execute.exp:
5899                 generic framework for the sac tests. the config and lib 
5900                 expect code for specific platforms tie it all together.
5901
5902         * testsuite/libm.sac/test_is.c:
5903                 changed the output of the test to be consistant with the
5904                 other tests. parsing of pass nad fail messages is now fixed.
5905
5906 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
5907
5908         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
5909         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
5910         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
5911         #ifdef __cplusplus, surround by extern ""C { ... }.
5912         * libc/include/assert.h:  Do *not* protect assert.h against
5913         multiple inclusion!  Also, #undef it before #define, to allow
5914         redefinition.
5915         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
5916         should be only in unistd.h.
5917
5918         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
5919         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
5920         ... }.
5921
5922 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
5923
5924         * libc/machine/sparc/Makefile.in: Must create a library, even
5925         if empty.
5926
5927 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5928
5929         * configure.in: set machine_dir for m88k.  edit crt0 definition
5930           into makefiles.
5931
5932         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
5933
5934         * libc/Makefile.in (all): also build crt0.o.
5935
5936         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
5937           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
5938           to remove CRT0.
5939
5940         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
5941           (all): reworked to build in place.
5942           (clean): remove lib.a
5943           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
5944
5945         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
5946           (_start): key off edata rather than _start_bss.
5947
5948 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
5949
5950         * libc/include/sys/unistd.h, libc/include/reent.h,
5951         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
5952
5953 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5954
5955         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
5956
5957         * Makefile.in (libc.a): break into two rules, one for libc.a and
5958           one for libc/libc.a.  Force subdirs current before rebuilding
5959           library.
5960           (libm.a): break into two rules, one for libm.a and one for
5961           libm/libm.a.  Force subdirs current before rebuilding library.
5962
5963         * libc/Makefile.in (SUBLIBS): fix typo.
5964
5965         * libc/sys/Makefile.in (all): force descent into subdirs, then
5966           rebuild library iff out of of date.
5967
5968 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
5969
5970         Rework so that library is built and then finished rather than
5971         being built on each invocation of make.
5972
5973         * host/any (machine_dir, sys_dir, signal_dir): these are not
5974           shared and have been moved to their associated Makefile.in's.
5975           (AR_FLAGS): switch to qc which is faster.
5976         * configure.in: no longer assign machine_dir for m88k.  set
5977           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
5978           stub_dir set, then add to configdirs.  add comment about silly
5979           configuration.
5980           (configdirs): drop stub.  It will be added only
5981           when needed.
5982           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
5983           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
5984           stub_lib, crt0): new variables for tailoring lower level
5985           makefiles.  Assign accordingly and edit into makefiles.
5986         * libm/Makefile.in: updated copyright.
5987           (TARGETLIB): removed.
5988           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
5989           (SUBDIRS): removed TARGETDEP_DIRS.
5990           (LIBM_FP_LIB, SUBLIBS): new macros.
5991           (all): reworked.
5992           (force): new target to force rebuilds.
5993           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
5994         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
5995           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
5996           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
5997           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
5998           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
5999           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
6000           stub/m68kmvme/Makefile.in: updated copyright.
6001           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
6002           (all): reworked.  made this the default rule.
6003           (clean): also remove lib.a.
6004           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
6005         * stub/Makefile.in: updated copyright.
6006           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
6007           (stub_lib): new macro.
6008           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
6009           RANLIB.
6010           (all): reworked.
6011           (clean, install): assume stub_dir exists.
6012           (Makefile): depend on configure.in.  call $(SHELL) rather than
6013           sh.  drop redundant ./
6014         * stub/configure.in (stublib): new macro, assign it, edit it into
6015           makefiles.
6016         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
6017           updated copyright.
6018           (all): reworked.
6019           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
6020         * libc/Makefile.in (TARGETCRT0): removed.
6021           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
6022           TARGETCRT0.
6023           (SUBDIRS): drop TARGETDEP_DIRS.
6024           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
6025           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
6026           (force): new target to force rebuilds.
6027         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
6028           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
6029           removed.
6030           (clean): assume sys_dir always exists.
6031         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
6032           drop redundant ./
6033         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
6034           libc/locale/Makefile.in, libc/machine/Makefile.in,
6035           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
6036           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
6037           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
6038           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
6039           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
6040           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
6041           libc/signal/Makefile.in, libc/stdio/Makefile.in,
6042           libc/stdlib/Makefile.in, libc/string/Makefile.in,
6043           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
6044           libc/time/Makefile.in, libc/unix/Makefile.in,
6045           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
6046           (TARGETLIB): removed.
6047           (all): reworked.
6048           (clean): also remove lib.a.
6049           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
6050         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
6051           new macros.
6052           (SUBDIRS): moved to follow frag inclusion, change stub to
6053           stub_dir.
6054           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
6055           are now set in the libc Makefile.
6056         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
6057           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
6058           TARGETCRT0.
6059           (force): new target to force rebuilds.
6060         * stub/configure.in: determine and set stub_lib for for Makefile.
6061
6062 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
6063
6064         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
6065         crt0.s renamed to crt0.S.
6066         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
6067
6068         * libc/machine/h8300/Makefile.in: Make `all' the default target.
6069         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
6070         h8300h.
6071         * libc/machine/h8300/defines.h: Add macros to handle pointers for
6072         h8300 (16 bits) and h8300h (32 bits).
6073         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
6074         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
6075
6076 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
6077
6078         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
6079         implementation of setjmp and longjmp for the m88k.
6080         * libc/include/machine/setjmp.h: Added __m88000__ case.
6081
6082 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
6083
6084         * configure.in: Recognize h8300h as variant of h8300.
6085
6086 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
6087
6088         * libc/include/sys/unistd.h (read, write): get prototypes right.
6089         (sbrk): New prototype.
6090         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
6091         * libc/stdio/local.h: Include unistd.h.
6092         * libc/machine/h8300/syscalls.c: Names have changed.
6093
6094 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
6095
6096         * configure.in: add sys_dir assignment for m88k-bug.
6097
6098 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
6099
6100         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
6101         a.out or elf.
6102         * libc/sys/sparc64: all *.S files: Use new macros.
6103         * libc/sys/sparc64/isatty.c: New file.
6104         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
6105         functions beyond what newlib provides.
6106
6107 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
6108
6109         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
6110         svr4.
6111
6112 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
6113
6114         * libc/include/machine/ieeefp.h: Add support for h8/300h.
6115
6116 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
6117
6118         * configure.in: add m88k.
6119         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
6120         sanity check so no one else need ever chase what I did to find
6121         this.
6122
6123         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
6124
6125 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
6126
6127         * doc/makedoc.c: Include <ctype.h>.
6128
6129 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
6130
6131         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6132         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6133         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6134
6135         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
6136
6137 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
6138
6139         * libc/include/errno.h (ENOSYS): Added.
6140
6141         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
6142
6143 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
6144
6145         * libc/stdio/fflush.c (fflush): Check for reent struct
6146         initialization.
6147         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
6148
6149 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
6150
6151         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
6152         out of dtoa.c so it doesn't pollute the namespace.
6153         * libc/include/_syslist.h: new file -- mappings from _function to
6154         function, for systems where we can't win (by default, all of them,
6155         until we start updating system calls.)
6156         * libc/syscalls: new directory -- stubs for exporting _function
6157         names as unmodified function names.
6158         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
6159         _syslist.h on all platforms by default, but put hooks in for
6160         fake_sys_dir so we can include it when we've renamed the system
6161         calls.
6162         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
6163         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
6164         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
6165         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
6166         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
6167         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
6168         non ANSI functions to call _function.
6169
6170 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
6171
6172         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
6173         when base 16 is specified.  Don't accept non-digits if radix > 10.
6174
6175 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
6176
6177         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
6178
6179 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
6180
6181         * libc/include/sys/stat.h: Surround text after #endif with
6182         comments.
6183
6184 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
6185
6186         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
6187         _malloc_r, _realloc_r, and free_r call the corresponding
6188         non-reentrant functions.
6189
6190         * libm/math/modf.c (modf): We now take the address of ipart, so
6191         don't make it a register variable.
6192
6193 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
6194
6195         * libm/math/*: Rename all xxx_r fns to _xxx_r.
6196
6197 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
6198
6199         * libc/libc.texinfo and embedded docn throughout: formatting
6200         improvements, minor rephrasing for clarity, and improved
6201         reentrancy docn.
6202
6203 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6204
6205         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
6206
6207         * libc/stdio/cvt.c (_licvt): Print the right value on machines
6208         where sizeof(int) != sizeof(long).
6209
6210 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
6211
6212         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
6213         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
6214         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
6215         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
6216         libm/math/matherr.c: changes for better docn formatting (info).
6217
6218         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
6219         libc/reent/reent.tex, libc/signal/signal.tex,
6220         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
6221         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
6222         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
6223         makeinfo node defaulting to get better Info file node structure.
6224         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
6225         Also include a few formerly missing sections (subroutines).
6226
6227         * doc/doc.str: delete fossil expansion for "func"
6228
6229         * default.menu, no-signal.menu: delete.
6230
6231         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
6232         method used to adjust doc for missing "signals" chapter when 
6233         signal_dir is empty.
6234
6235 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
6236
6237         * configure.in: added testsuite/libm.sac
6238
6239 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
6240
6241         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
6242         code model).
6243
6244 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
6245
6246         * libm/Makefile.in: Use $(MAKE) rather than make, and define
6247         MAKEOVERRIDES to be empty.
6248
6249 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
6250
6251         * configure.in: Don't build mips-*-* with -msoft-float, since that
6252         makes it incompatible with hard floating point.
6253
6254 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
6255
6256         * Makefile.in: added recursive 'make check'
6257
6258 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
6259
6260         * configure.in: added ./testsuite ./testsuite/libm.paranoia
6261         * ./testsuite/Makefile.in: created
6262         * ./testsuite/libm.paranoia: paranoia tests added
6263
6264 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
6265
6266         * configure.in: For mips-*-* set machine_dir to mips.
6267
6268         * libc/machine/mips: New directory.
6269         * libc/machine/mips/Makefile.in: New file.
6270         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
6271         setjmp and longjmp.
6272         * libc/include/machine/setjmp.h: Added __mips__ case.
6273
6274         * libc/machine/lmips: Removed unused and useless directory.
6275
6276 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
6277
6278         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
6279
6280 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
6281
6282         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
6283         start up).
6284
6285 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
6286
6287         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
6288         SETJMP_H.
6289
6290 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
6291
6292         * libm/test/convert.c: structure member errno -> errno_val.
6293         Must include <errno.h> to use errno, it's a macro now.
6294         * libm/test/math.c: Ditto.
6295         * libm/test/math2.c: Include errno.h.
6296         * libm/test/string.c: Ditto.
6297         * libm/test/test.h: structure member errno -> errno_val.
6298         Remove extern int errno decl.
6299
6300 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
6301
6302         * libc/stdio/Makefile.in: Added dependencies on local header
6303         files.
6304         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
6305         files.
6306
6307 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
6308
6309         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
6310
6311 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
6312
6313         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
6314         Initialize _data.
6315
6316         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
6317         * libc/stdio/local.h: Add prototype for _licvt.
6318
6319         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
6320         instead of malloc,reealloc.
6321
6322         * libc/stdlib/local.h: New file.
6323         * libc/stdlib/efgcvt.c: #include local.h.
6324         (gcvt): Fix call to _gcvt.
6325         * libc/stdlib/ecvtbuf.c: #include local.h.
6326
6327         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
6328         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
6329         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
6330
6331         * libc/stdlib/atexit.c: moved global data to struct _reent.
6332         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
6333
6334         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
6335
6336 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
6337
6338         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
6339         here from ../reent.h.
6340
6341 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
6342
6343         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
6344         should be provided in both libc.a and libm.a.
6345         (libc.a): Depend on targ-include and libm.a.  Copy
6346         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
6347         (libm.a): Depend on targ-include.
6348         * configure.in (subdirs): Removed libc/math.
6349
6350 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6351
6352         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
6353
6354 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
6355
6356         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
6357         sys/reent.h instead of reent.h.
6358         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
6359         headers moved to sys/reent.h.  
6360         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
6361         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
6362         __need__MAX_SIGNALS defined.
6363         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
6364         std{in,out,err} refer to new _std{in,out,err} members.
6365
6366 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
6367
6368         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
6369         case.
6370
6371 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
6372
6373         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
6374         rather than whatever macro seterrno() has.
6375
6376 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
6377
6378         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
6379         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
6380
6381         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
6382         __STDC__.
6383
6384         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
6385         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
6386         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
6387
6388         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
6389         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
6390
6391         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
6392         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
6393         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
6394         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
6395         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
6396         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
6397         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
6398         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
6399         for ANSI.  structure members given leading "_" for ANSI.  Use
6400         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6401
6402         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
6403         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
6404         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
6405         reent_struct renamed to struct _reent for ANSI.
6406         Structure members given leading "_" for ANSI.
6407         _CONST --> const in prototypes.
6408         Use _HAVE_STDC instead of __STDC__.
6409
6410         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
6411         _xxx_r.
6412         struct reent_struct renamed to struct _reent for ANSI.
6413         Structure members given leading "_" for ANSI.
6414
6415         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
6416         _xxx_r.
6417         struct reent_struct renamed to struct _reent for ANSI.
6418
6419         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
6420         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
6421         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
6422         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
6423         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
6424
6425         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
6426         signal.h, stdio.h, stdlib.h, string.h, time.h}:
6427         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6428         #ifndef _STRICT_ANSI non-ANSI routines.
6429         Reentrant routines renamed from _r_xxx to _xxx_r.
6430         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
6431         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
6432         Clean up namespace (structure members have leading "_").
6433         struct reent_struct renamed to struct _reent for ANSI compliance.
6434         _CONST --> const in function prototypes.
6435
6436         * libc/include/string.h: Add NULL and size_t.
6437
6438         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
6439         unlink, wait, wait4. Reentrant syscall routines close, fork,
6440         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
6441         write.
6442         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
6443         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
6444         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
6445         write.S}: Define reentrant versions.
6446         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
6447         reentrant syscalls.
6448
6449         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
6450
6451         * libc/include/stdlib.h (RAND_MAX): Fix value.
6452
6453 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
6454
6455         * libc/sys/a29khif/_main.c: Removed unnecessary file.
6456         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
6457         VPATH support targets after all: target.
6458
6459         * stub/mvme135/mvme.S: Renamed exceptionhandler to
6460         exceptionHandler, which is what mvme135-stub.c expects.
6461
6462 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
6463
6464         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
6465
6466         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
6467         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
6468         compliant).
6469
6470 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
6471
6472         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
6473         first.
6474         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
6475         _r_write): Ditto.
6476         libc/reent/fstatr.c (_r_fstat): Ditto.
6477         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
6478         libc/reent/sbrkr.c (_r_sbrk): Ditto.
6479         libc/reent/statr.c (_r_stat): Ditto.
6480
6481         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
6482         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
6483         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
6484         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
6485         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
6486         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
6487         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
6488         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
6489         (__swrite): Ditto for _r_lseek, _r_write.
6490         (__sseek): Ditto for _r_lseek.
6491         (__close): Ditto for _r_close.
6492         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
6493
6494         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
6495         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
6496
6497         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
6498         to make reent_struct the first argument (and thus consistent with
6499         the rest of newlib).
6500
6501         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
6502         reference to __STDC__.
6503
6504 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
6505
6506         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
6507         global __cleanup.
6508
6509 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
6510
6511         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
6512         first.
6513         libc/stdio/fclose.c (fclose): Ditto.
6514
6515 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
6516
6517         * Run through indent and rename reentrant routines for ANSI.
6518         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
6519         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
6520         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
6521         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
6522         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
6523         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
6524         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
6525         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
6526         vsprintf.c wbuf.c wsetup.c local.h}
6527
6528         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
6529
6530         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
6531         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
6532         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
6533         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
6534         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
6535         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
6536
6537         * Run through indent.
6538         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
6539         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
6540         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
6541         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
6542         strxfrm.c}
6543
6544         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
6545         localtime.c mktime.c strftime.c time.c}:
6546         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
6547
6548         * Reformatting + renaming (for ANSI, GNU style, consistency).
6549         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
6550         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6551         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6552
6553 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
6554
6555         * libc/include/stdio.h (stdin_r): Fix.
6556
6557 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
6558
6559         * Makefile.in: Unexport some variables to keep GNU make from
6560         putting them in the environment and using up needed ARG_MAX space
6561         (a hack is used to let this work with older makes as well).
6562
6563 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
6564
6565         * Makefile.in: Use $(MAKE) rather than make.
6566         (MAKEOVERRIDES): Define to be empty.
6567         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6568         (libc.a, libm.a): Depend on targ-include.
6569         * host/any (LD): Don't define.
6570         (INCLUDES): Use targ-include.   
6571         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6572         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6573         * libc/Makefile.in: Use $(MAKE) rather than make.
6574         (MAKEOVERRIDES): Define to be empty.
6575         (FLAGS_TO_PASS): Don't pass LD (it's not used).
6576         (all): Rewrote to be slightly smaller.
6577         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6578         Define to be empty.
6579         (FLAGS_TO_PASS): Don't pass LD (it's not used).
6580         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6581
6582 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
6583
6584         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6585         with errno/errno.c.
6586
6587 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
6588
6589         * Changes for reentrancy.
6590         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6591         Use ptr->_errno, not errno.
6592         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6593         libc/stdio/remove.c (remove_r): New function.
6594         libc/stdio/rename.c (rename_r): New function.
6595         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6596         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6597         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
6598         reentrant versions of system calls.
6599         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
6600         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
6601         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
6602         libc/stdio/findfp.c: Include <string.h>.
6603         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
6604         "local.h".
6605         libc/stdio/wbuf.c: Include "fvwrite.h"
6606
6607         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
6608         <string.h>.
6609         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
6610         (NULL): Don't define if already defined.
6611         libc/stdlib/system.c: Call reentrant versions of system calls.
6612         (system_r): New function.
6613
6614         * Changes for reentrancy.
6615         libc/include/_ansi.h (_PARAMS): New macro.
6616         libc/include/errno.h: Define errno as a macro that calls __errno.
6617         (__errno_r): New macro for reentrant code.
6618         libc/include/math.h: Include reent.h.  Declare many reentrant
6619         functions.
6620         (signgam): Now a macro, not a variable.
6621         (struct exception): Added err field.
6622         libc/include/reent.h: Don't declare __sglue.  Added function
6623         declarations.
6624         (struct reent_struct): Moved errno to beginning.  Added _signgam.
6625         libc/include/stdio.h, libc/include/stdlib.h: Added function
6626         declarations.
6627
6628         * More reentrancy hacking.
6629         libc/errno/errno.c (__errno): New function.
6630         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
6631         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
6632         files.
6633         
6634         * Added many new reentrant functions to libm/math/*.
6635         libm/math/error.c (__matherror): Added reent_struct pointer
6636         argument. Changed all callers.
6637         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
6638         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
6639         libm/math/tan.h: Removed obsolete unused header files.
6640
6641         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
6642
6643         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
6644
6645 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6646
6647         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
6648         delay slots.
6649
6650 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
6651
6652         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
6653
6654 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
6655
6656         * libc/reent/reent.tex:  New file.  (text from
6657         newlib/libc/libc.texinfo)
6658         * libc/stdio/tmpnam.c:  fixed doc typo
6659         * libc/stdlib/rand.c:   fixed doc typo
6660
6661 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
6662
6663         * libc/reent/reent.tex:  New file.  (text from
6664         newlib/libc/libc.texinfo)
6665
6666 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6667
6668         support for reentrancy
6669         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
6670         new files
6671         * libc/errno/errno.c, libc/include/ieeefp.h,
6672         libc/include/locale.h, libc/include/reent.h,
6673         libc/include/signal.h, libc/include/stdio.h,
6674         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
6675         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
6676         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
6677         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
6678         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6679         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
6680         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
6681         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
6682         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
6683         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
6684         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
6685         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
6686         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
6687         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
6688         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
6689         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
6690         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
6691         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
6692         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
6693         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
6694         libc/time/strftime.c: modify to provide reentracy.
6695
6696         new routines:
6697         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
6698         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
6699         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
6700         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
6701         mstats_r, realloc_r, localeconv_r, setlocale_r
6702
6703 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
6704
6705         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
6706         libc/include/sys/config.h, libc/include/sys/signal.h,
6707         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
6708         provided macros (such as m68000), use the ansi version
6709         (__m68000__) so that the library can be used with code compiled
6710         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
6711         and sparc.
6712
6713 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
6714
6715         * configure.in (sparc*): Don't set -fsoft-float for sparc
6716         configurations.  Do set -fsoft-float for sparclite configurations.
6717
6718 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
6719
6720         * default.menu, no-signal.menu: alternate forms of libc main menu
6721           (in newlib rather than newlib/libc due to configuration restrictions)
6722
6723         * configure.in: select one of the two menus above, link to
6724         libc.menu
6725
6726         * libc/libc.texinfo: include menu from separate file
6727
6728 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
6729
6730         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
6731         (info): Split long shell command in half.
6732         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
6733         sub-makes, just CHEW and TARGETDOC. 
6734         (targetdep.tex): Removed now special handling of sys and machine
6735         subdirectories, made obsolete some time ago.
6736         * libc/machine/Makefile.in (doc): Don't pass everything to
6737         sub-make, just CHEW and TARGETDOC.
6738         (Makefile): New target.
6739         * libc/sys/Makefile.in (Makefile): New target.
6740
6741 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
6742
6743         * Makefile.in (here and most subdirectories): Only pass down CHEW
6744         and TARGETDOC when making info, not for other targets.
6745
6746         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
6747         $(AR_FLAGS) rather than $(ARUPDATE).
6748
6749 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
6750
6751         * Try to reduce command line length:
6752         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
6753         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
6754         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
6755         (info): Pass CHEW to other subdirs.
6756
6757 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
6758
6759         * configure.in: add signal_dir, like unix_dir, but by default it
6760         is set to "signal" so that a29khif can turn it off (since a29khif
6761         has raise() as part of machine-specific signal.s.)
6762
6763 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
6764
6765         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
6766         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
6767         correctly.
6768         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
6769         libc/stdio/vfprintf: type lint.
6770         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
6771         initialzation code.
6772         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
6773
6774 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
6775
6776         * stub/mvme135/mvme135-asm.S: new file.
6777         stub/mvme135mvme135-stub.c: moved all assembler routines into
6778         mvme135-asm.S.
6779         stub/mvme135/Makefile.in: build mvme135-stub.o.
6780
6781 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
6782
6783         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
6784         sub-Makefiles instead, to try to avoid line length limitations.
6785
6786 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
6787
6788         * libc/include/unistd.h (read, write):  Use void* instead of
6789         char*.
6790
6791 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
6792
6793         * stub/go32/resetpc: sample script to send a reset packet to the
6794         stub
6795
6796         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
6797         DOS environment, which compiles with Turbo C.
6798
6799         * stub/go32/DSER32.LNK: new file, linker commands for serial
6800         remote stub.
6801
6802         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
6803         start up message to identify version; call set_debug_traps.
6804
6805         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
6806         keyboard interaction); call handle_exception() in go_til_stop,
6807         rather than return, so that the remote stub gets control.
6808
6809         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
6810         rename, rather than mv), set flags that work with current Turbo C,
6811         including using the /3 flag; also, add commands to build dser32.
6812
6813         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
6814         default Turbo C installation (\tc rather than \usr)
6815
6816         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
6817         "&..."
6818
6819 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
6820
6821         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
6822
6823 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
6824
6825         * libc/stdio/cvt.c (licvt): new function to convert ints when
6826         sizeof(int) != sizeof(long).
6827
6828         * libc/include/stdio.h: added prototype for iprintf.
6829         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
6830
6831 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
6832
6833         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
6834         __REGISTER_PREFIX__.
6835
6836 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
6837
6838         * libc/sys/m68kbare: moved into stub directory.
6839
6840 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
6841
6842         * configure.in, Makefile.in: created new directory stub, to hold
6843         sample code for specific targets.
6844
6845 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
6846
6847         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
6848         in the unified libc/include/sys/fcntl.h.
6849
6850 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
6851
6852         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
6853         printed .01, not 0.01.
6854
6855 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
6856
6857         * configure.in: compile with -m68000 for m68* targets.
6858
6859 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
6860
6861         * libm/math/remainder.c (remainder): document the svr4 and sunos
6862         references used to construct the function.
6863
6864 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
6865
6866         * libm/math/remainder.c (rint, remainder): fix old typos.
6867         * libm/math/Makefile.in: actually build remainder.c (functions
6868         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
6869         page.)
6870
6871 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
6872
6873         * libc/string/bcopy.c: BSD version works on overlapping strings,
6874         so ours should too.
6875
6876         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
6877         ("SHELL").
6878
6879 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
6880
6881         * Makefile.in (docs): new target.
6882
6883 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
6884
6885         * libc/include/sys/times.h: define clock_t as required by POSIX.
6886         libc/include/time.h: protect clock_t from multiple definitions.
6887
6888 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
6889
6890         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
6891         does not need more than the original three iterations to get
6892         within 1 ulp. (Paranoia tests for rounding to better than that,
6893         but further iterations *don't* help, only more subtle changes
6894         can.)
6895
6896 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
6897
6898         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
6899         were doing nothing useful.
6900
6901 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
6902
6903         * configure.in: define MALLOC_PROVIDED for vxworks targets;
6904         removed sys_dir settings of vxworks68 and vxworks960.
6905         host/any: don't pass -nostdinc to gcc, since newlib no longer
6906         provides all required header files.
6907
6908         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
6909         is not defined; this provides a hook for VxWorks.
6910
6911 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
6912
6913         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
6914         buffer if buf is NULL, don't do it here -- it is already being
6915         done by makebuf elsewhere in stdio.
6916
6917 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
6918
6919         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
6920         that C programs can call functions without using initial
6921         underscores.
6922
6923 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
6924
6925         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
6926
6927 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
6928
6929         * configure.in: set TARGET_CFLAGS for certain CPU types to
6930         -msoft-float.
6931
6932 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
6933
6934         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
6935
6936 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
6937
6938         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
6939         m68k*-unknown-coff.
6940
6941 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
6942
6943         * libc/include/stdio.h: define __need___va_list before including
6944         <stdarg.h>, to avoid defining va_arg, et. al.
6945
6946 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
6947
6948         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
6949         (don't cd to the user's home directory).
6950
6951         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
6952         In general this is the wrong thing to do, but I can't get around
6953         GNU make's insistence on passing command line arguments any other
6954         way.
6955
6956 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
6957
6958         * configure.in: always configure the libc/sys directory, since it
6959         now provides a required documentation file.
6960
6961         * Makefile.in: replaced all instances of $(MAKE) with make.  In
6962         general this is the wrong thing to do, but I can't get around GNU
6963         make's insistence on passing command line arguments any other way.
6964
6965 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
6966
6967         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
6968         terminated.
6969
6970         * libc/stdio/local.h: include <stdarg.h> to define va_list.
6971         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
6972
6973         * libc/include/float.h, libc/include/stdarg.h,
6974         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
6975         versions instead.
6976         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
6977         <stdarg.h>, not from <machine/types.h>.  Protect definition of
6978         NULL.
6979         libc/include/time.h: get size_t from stddef.h.  Protect definition
6980         of NULL.
6981         libc/include/machine/limits.h: override gcc <limits.h> by defining
6982         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
6983         get correct INT_MIN and LONG_LONG values.
6984         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
6985         size_t or va_list at all; they're now gotten from stddef.h
6986         instead.
6987         libc/include/machine/varargs.h: removed; use gcc version instead.
6988         libc/include/sys/types.h: explicitly include <machine/types.h>.
6989
6990         * libm/math/sqrt.h: using the fp-bit routines appears to require
6991         more iterations.
6992
6993         * Makefile.in, host/any: let system include files override machine
6994         include files.
6995
6996 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
6997
6998         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
6999         override _*_T_ definitions defaulted here.
7000
7001 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
7002
7003         * Makefile.in (install): install the include files in
7004         $(tooldir)/include, not $(exec_prefix)/include.
7005
7006 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
7007
7008         * Makefile.in (install): fixed typo, and changed install to not
7009         force rebuild of libc.a and libm.a.
7010
7011 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
7012
7013         * libc/sys/a29khif/*: Changed all .include's to include
7014         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
7015         that they will be installed for the user.
7016
7017         * Makefile.in (all): create targ-include, a directory holding the
7018         machine and system specific header files during the build.
7019         (install): fixed installation of machine and system specific
7020         header files.
7021
7022         * Makefile.in: fixed comment.
7023         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
7024         we can pass $(INCLUDES) to it.
7025
7026 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
7027
7028         * libc/include/sys/param.h: new generic file, which may be
7029         overridden for specific systems.
7030
7031         * libc/include/sys/signal.h: define all ANSI signal names, and
7032         NSIG (which is not ANSI) for a29k.
7033
7034 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
7035
7036         * Makefile.in: don't pass down arguments the lower level makes
7037         will not need.
7038         * libc/Makefile.in: recurse directly, rather than using subdir_do,
7039         in hopes of avoiding argument length limits.
7040         * libm/Makefile.in: recurse directly, rather using subdir_do, in
7041         hopes of avoiding argument length limits.
7042
7043 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
7044
7045         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
7046         mode_t is defined.
7047
7048 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
7049
7050         * Fixed make info and make install-info for newlib, changing most
7051         Makefile.in and several *.tex files.  Moved doc directory from
7052         libc to top level.
7053
7054         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
7055         Should be rewritten.
7056
7057         * libc/string/strings.tex: renamed node index to node index
7058         function, so that it does not conflict with the top level index
7059         node.
7060
7061         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
7062
7063 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
7064
7065         * Overhauled general configuration for newlib.  Eliminated all
7066         target dependent Makefile fragments.  Create libraries in newlib
7067         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
7068         than CROSS_CC, et. al.  Broke make docs; will fix later.
7069
7070         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
7071         Should be rewritten.
7072
7073 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
7074
7075         * libc/configure.in: cleaned up somewhat; switch on ${target}
7076         rather than ${target_alias}.
7077         * libm/configure.in: cleaned up somewhat; switch on ${target}
7078         rather than ${target_alias}.
7079
7080         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
7081         * libc/include/ctype.h: marked _ctype_ as _CONST.
7082
7083         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
7084         _CONST.
7085
7086         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
7087         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
7088         libc/stdio/gets.c (gets): removed non-ANSI warning message.
7089         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
7090
7091         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
7092         bigtens, tinytens): marked arrays _CONST.
7093         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
7094         rather than a static variable.
7095
7096         * libc/time/asctime.c (asctime), libc/time/localtime.c
7097         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
7098         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
7099         mname_len, mname): Marked static arrays _CONST.
7100
7101         * libm/math/gamma.h: made local variables non-static.
7102
7103         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
7104         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
7105         _CONST.
7106
7107         * libm/math/constants.c: removed file, because the constants it
7108         defined were never referenced.
7109         libm/math/Makefile.in: removed references to constants.c.
7110         libm/math/mathimpl.h: removed declarations of constants.
7111
7112 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
7113
7114         * libc/include/machine/varargs.h: only call __builtin_saveregs if
7115         it is sensibly defined in libgcc2.  Checks preprocessor defines,
7116         which is not a good solution.
7117
7118         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
7119
7120         * libm/frexp.c: handle denormalized numbers as arguments.
7121
7122         * libm/math/Makefile.in: added some dependencies for .c files
7123         which include local .h files.
7124
7125 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
7126
7127         * libc/configure.in: set target_alias for OSE*.  Replace
7128         target_makefile_frag if it is blank.
7129
7130         * libc/Makefile.in: make sure everything is passed to subsidiary
7131         makes; create all directories when installing.
7132
7133         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
7134         CROSS_ARUPDATE instead of AR.
7135
7136         * libm/configure.in: set target_alias for OSE*.  Replace
7137         target_makefile_frag if it is blank.
7138
7139         * libm/Makefile.in: make sure everything is passed to subsidiary
7140         makes; create all directories when installing.
7141
7142 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
7143
7144         * add following change from libc copy.
7145
7146 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7147
7148         * libc/libc.texinfo: make copyright disclaimers appear on back of
7149         title page; make format of same slightly less ugly; avoid using
7150         underbars in section headings (avoids nasty texinfo bug in table
7151         of contents).
7152
7153         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
7154           comments only) avoid using underbars in section headings
7155
7156         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7157           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
7158           changes in comments only): shorten headings ieeefp/infinity.c,
7159           ieeefp/isnan.c: (doc, comments only) more informative headings
7160
7161         * libc/math/bessel.c: (doc, comments only) shorten heading
7162
7163         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
7164         (doc, comments only) shorten headings
7165
7166         * libc/time/localtime.c (doc, comments only): shorten headings
7167
7168         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7169           isnan
7170           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
7171           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
7172           headings
7173           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
7174           only) more informative headings
7175         * libm/math/bessel.c: (doc, comments only) shorten heading
7176
7177 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
7178
7179         * .../Makefile.in: use CROSS_ARUPDATE consistently.
7180         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
7181         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
7182         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
7183         defined, the one from the .mt file will be correct.
7184         * libc/include/machine, libc/include/sys: created, and populated
7185         with common files from machine/*/machine. ifdefs were used for
7186         most, typically by handling exceptions first and then filling in
7187         defaults. Files with D.J. Delorie copyright #included rather than
7188         copied. Most files in include/sys really were the same in the
7189         original.
7190         * libc/include/...: cleaned up use of _EXFUN.
7191         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
7192         it with double quotes, not angles.
7193
7194 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
7195
7196         * libc/Makefile.in: always create installation directories.
7197
7198 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
7199
7200         * libc/configure.in: handle host properly (using canonical
7201         triples), better error message for the case of target not found
7202
7203 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
7204
7205         * libc/Makefile.in (insincdir): Ensure this directory exists
7206         before attempting installation.
7207
7208 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7209
7210         * libc/stdlib/assert.c: now calls abort like it should
7211         * libc/sys/a29khif: many many patches for 29khif work
7212         * libc/machine/i386: gnulib2 expanded there.
7213
7214 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7215
7216         Added accurate fp conversion routines to stdlib, moved dcvt from
7217         stdio to stdlib and called it ecvtbuf:
7218         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
7219         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
7220         routines
7221         * libc/libc.texinfo: Modifed to include the copyright info from
7222         the mprec files
7223         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
7224         * libc/test/ : many vector which tested for the implementation
7225         defined returns of strange conversion requests have been updated
7226         to relflect the new implementation
7227
7228 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7229
7230         * libc/libc.texinfo: new chapter on variable arg lists
7231         (stdarg.h/varargs.h)
7232         * libc/libc.texinfo: new title
7233         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
7234         (doc only) shorter headings for better formatting.
7235
7236 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7237
7238         * libc/libc.texinfo: three more info menu entries
7239         * libc/locale/locale.tex: new chapter
7240         * libc/locale/locale.c: new doc for setlocale, localeconv
7241         * libc/locale/Makefile.in: use new locale doc
7242         * libc/signal/signal.tex: new chapter
7243         * libc/signal/raise.c, libc/signal/signal.c: new doc
7244         * libc/signal/Makefile.in: use new doc
7245         * libc/time/time.tex: new chapter
7246         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
7247         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
7248         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
7249         * libc/time/Makefile.in: use new doc
7250
7251 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7252
7253         * libm/math/log1p.c: split to use the new function way of float
7254         function definition. math/log1p.h deleted
7255         * libm/math/scalb.c: obsolete and deleted
7256         * libm/math/scalbn.c: created from part log1p.c
7257         * libm/math/Makefile.in: know about log1p and scalbn
7258
7259 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7260
7261         * libc/ctype/isupper.c: revise doc;
7262           libc/ctype/ctype.tex: use doc from isupper.c
7263
7264         * libc/string/bzero.c: new doc
7265
7266 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
7267
7268         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
7269         new doc
7270         * libc/stdlib/Makefile.in: extract new doc
7271         * libc/stdlib/stdlib.tex: use new doc
7272
7273         * libc/string/strerror.c: expanded doc.
7274
7275         * libc/stdio/Makefile.in: extract doc from more files
7276         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
7277         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
7278         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
7279         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
7280         libc/stdio/vsprintf.c: new doc
7281         * libc/stdio/stdio.tex: use new doc
7282
7283 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7284
7285         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
7286         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
7287         finitef functions.
7288         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
7289         time ago.
7290
7291         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
7292         * libc/stdio/setbuf.c: added ansi style definition.
7293         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
7294         buffer if none provided.
7295         * libc/stdio/tmpfile.c: lint
7296         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
7297         rather than using static, also make sure file isn't already
7298         present.  Uses P_tmpdir. (tempnam): rewritten to use new
7299         subroutine, and uses P_tmpdir.
7300         * libc/stdio/siprintf.c: created
7301
7302 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
7303
7304         Release 1.03 for NEC, major mods. Main differences from release
7305         1.02::
7306
7307         More tests in test/:
7308         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
7309         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
7310         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
7311         get/set mask, get/set sticky and get/set roundtoi.  Tests
7312         that setting the bits changes the way arithmetic is done.
7313         * string.c: added test to make sure memcmp does it with unsigned
7314         chars.
7315         * test.c: cleaned up and removed lint.
7316         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
7317         dvec.c: tests for string to value conversions,  sprintf, scanf,
7318         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
7319         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
7320         rounding in sprintf too.
7321         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
7322         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
7323         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
7324         and function form.
7325         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
7326         powf
7327
7328         In the library:
7329         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
7330         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
7331         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
7332         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
7333         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
7334         than sprintf.
7335         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
7336         * Method of producting float versions of double functions has
7337         changed, functions will be modified gradually. So far:
7338         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
7339         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
7340         altered
7341         * libc/string/memcmp.c: now uses unsigned chars
7342         * libc/string/bcmp.c, libc/string/strcpy.c,
7343         libc/stsring/strxfrm.c: fixed doc
7344         * libc/sys/sysvnecv70.tex: fix example of sbrk code
7345 \f
7346 Local Variables:
7347 version-control: never
7348 End: