OSDN Git Service

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