OSDN Git Service

2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / ChangeLog
1 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
2
3         * libc/include/stdio.h (__getline, __getdelim): New prototypes.
4         * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5         [HAVE_GETDATE](getdate_err): New error code.
6         * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
7         * libc/stdio/Makefile.in: Regenerated.
8         * libc/stdio/getdelim.c: New file.
9         * libc/stdio/getline.c: Ditto.
10         * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
11         and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
12         * libc/sys/linux/Makefile.in: Regenerated.
13         * libc/sys/linux/getdate.c: New file.
14         * libc/sys/linux/getdate_err.c: Ditto.
15         * libc/sys/linux/ntp_gettime.c: Ditto.
16         * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
17         * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
18
19 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
20
21         * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
22         * libc/include/machine/types.h: Skip __off_t, __pid_t, and
23         __loff_t definitions if special _HAVE_SYSTYPES macro defined.
24         * libc/include/sys/config.h: Removed _uint*, _int* definitions.
25         * libc/include/sys/param.h: Remove i386 case which is handled
26         by default case.
27         (BIG_ENDIAN, LITTLE_ENDIAN): Protect
28         definitions in case they are already defined.
29         (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
30         _IEEE_LITTLE_ENDIAN flags.
31         * libc/include/sys/reent.h: Change __uint32_t references to
32         use _ULong instead.
33         (_REENT_GETDATE_REENT_P): New macro.
34         * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
35         (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
36         * libc/search/hash.h: Add default setting of BYTE_ORDER,
37         LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
38         * libc/sys/linux/sys/types.h: Include <sys/_types.h>.  Define
39         ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
40         pid_t, off_t, loff_t, caddr_t, and daddr_t type
41         definitions which are done by subsequent glibc headers.
42         Add macro definitions to prevent subsequent header files from
43         defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
44         intptr_t to after glibc definitions of types they are based on.
45
46 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
47
48         * libc/include/errno.h: Protect from multiple inclusion.
49
50 2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
51
52         * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
53
54 2002-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
55
56         * Makefile.am (LIB_OBJECTLISTS): Add
57         libc/search/objectlist.awk.in.
58         * libc/Makefile.am (SUBDIRS): Add search.
59         (SUBLIBS): Add search/libsearch.la.
60         * libc/configure.in (AC_OUTPUT): Add search/Makefile.
61         * libc/search: New directory.
62         * libc/search/Makefile.am: New file.
63         * libc/search/extern.h: New file.
64         * libc/search/hash.c: New file.
65         * libc/search/hash.h: New file.
66         * libc/search/hash_bigkey.c: New file.
67         * libc/search/hash_buf.c: New file.
68         * libc/search/hash_func.c: New file.
69         * libc/search/hash_log2.c: New file.
70         * libc/search/hash_page.c: New file.
71         * libc/search/hcreate.3: New file.
72         * libc/search/hcreate.c: New file.
73         * libc/search/hcreate.c~: New file.
74         * libc/search/hcreate_r.c: New file.
75         * libc/search/ndbm.c: New file.
76         * libc/search/page.h: New file.
77         * libc/search/tdelete.c: New file.
78         * libc/search/tdestroy.c: New file.
79         * libc/search/tfind.c: New file.
80         * libc/search/tsearch.3: New file.
81         * libc/search/tsearch.c: New file.
82         * libc/search/twalk.c: New file.
83         * libc/include/db.h: New file.
84         * libc/include/ndbm.h: New file.
85         * libc/include/search.h: New file.
86         * libc/include/sys/queue.h: New file.
87         * libc/include/sys/cdefs.h: New file.
88         * libc/include/sys/param.h
89         [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
90         LITTLE_ENDIAN or BIG_ENDIAN.
91         * libc/include/sys/errno.h (EFTYPE): New macro.
92         * libc/search/bsearch.c: Move from libc/stdlib.
93         * libc/search/qsort.c: Likewise.
94         * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
95         qsort.c.
96         (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
97         * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
98
99 2002-06-19  Jeff Johnston  <jjohnstn@redhat.com>
100
101         * libc/sys/linux/Makefile.am: Add support for message queue routines,
102         ipc routines, and ftok.
103         * libc/sys/linux/Makefile.in: Regenerated.
104         * libc/sys/linux/ftok.c: New file.
105         * libc/sys/linux/ipc.c: Ditto.
106         * libc/sys/linux/mq_close.c: Ditto.
107         * libc/sys/linux/mq_getattr.c: Ditto.
108         * libc/sys/linux/mq_notify.c: Ditto.
109         * libc/sys/linux/mq_open.c: Ditto.
110         * libc/sys/linux/mq_receive.c: Ditto.
111         * libc/sys/linux/mq_send.c: Ditto.
112         * libc/sys/linux/mq_setattr.c: Ditto.
113         * libc/sys/linux/mq_unlink.c: Ditto.
114         * libc/sys/linux/mqlocal.h: Ditto.
115         * libc/sys/linux/include/mqueue.h: Ditto.
116         * libc/sys/linux/sys/types.h: Define __gid_t_defined and
117         __uid_t_defined.
118
119 2002-06-19  J"orn Rennecke <joern.rennecke@superh.com>
120
121         * libm/common/sf_lround.c (round): Change name to: (lround).
122         * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
123         remquof.
124
125 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
126
127         * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
128         procedure.
129         (newlib_pass_fail): Change to compile and run only one file.
130         * testsuite/newlib.locale/locale.exp: Use new
131         newlib_pass_fail_all procedure.
132         * testsuite/newlib.string/string.exp: Likewise.
133
134 2002-06-18  Dave Brolley  <brolley@redhat.com>
135
136         From Catherine Moore, Michael Meissner, Richard Sandiford:
137         * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
138         (_JBTYPE): Ditto.
139         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
140         (__ATTRIBUTE_IMPURE_PTR__): Ditto.
141         * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
142         * configure.host: Support frv-*-*.
143         * libc/machine/frv/Makefile.am: New file.
144         * libc/machine/frv/configure.in: New file.
145         * libc/machine/frv/setjmp.S: New file.
146
147 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
148
149         * libc/include/ctype.h: Remove isblank macro.
150
151         * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
152         * libc/ctype/isblank.c: New file.
153         * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
154         declaration.  Add isblank macro.
155
156 2002-06-18  Jeff Johnston  <jjohnstn@redhat.com>
157
158         * testsuite/newlib.stdlib/atexit.c: New file.
159         * testsuite/newlib.stdlib/atexit.exp: Ditto.
160         * testsuite/newlib.string/tstring.c: Change default start size
161         to something more reasonable for embedded platforms.
162
163 2002-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
164
165         * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
166
167         * libc/argz: New directory.
168         * libc/argz/*: New files.
169         * libc/argz/argz_add.c: New file.
170         * libc/argz/argz_add_sep.c: New file.
171         * libc/argz/argz_append.c: New file.
172         * libc/argz/argz_count.c: New file.
173         * libc/argz/argz_create.c: New file.
174         * libc/argz/argz_create_sep.c: New file.
175         * libc/argz/argz_delete.c: New file.
176         * libc/argz/argz_extract.c: New file.
177         * libc/argz/argz_insert.c: New file.
178         * libc/argz/argz_next.c: New file.
179         * libc/argz/argz_replace.c: New file.
180         * libc/argz/argz_stringify.c: New file.
181         * libc/argz/buf_findstr.c: New file.
182         * libc/argz/envz_add.c: New file.
183         * libc/argz/envz_entry.c: New file.
184         * libc/argz/envz_get.c: New file.
185         * libc/argz/envz_merge.c: New file.
186         * libc/argz/envz_remove.c: New file.
187         * libc/argz/envz_strip.c: New file.
188         * libc/include/argz.h: New file.
189         * libc/include/envz.h: New file.
190         * Makefile.am (LIBC_OBJECTLISTS): Add
191         libc/argz/objectlist.awk.in.
192         * libc/Makefile.am (SUBDIRS): Add argz.
193         (SUBLIBS): Add argz/libargz.la.
194         * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
195         * libc/include/errno.h: Add error_t typedef.
196
197 2002-06-13  Jeff Johnston  <jjohnstn@redhat.com>
198
199         * libc/include/stdlib.h: Add _Exit prototype.
200         * libc/stdlib/Makefile.am: Add _Exit.c support.
201         * libc/stdlib/Makefile.in: Ditto.
202         * libc/stdlib/_Exit.c: New file.
203
204 2002-06-13  Stephen L. Moshier  <steve@moshier.net>
205
206         * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
207         x is close to -1.0 and y is very large to use ax (absolute value)
208         instead of x.
209         * libm/math/ef_pow.c (__ieee754_powf): Ditto.
210
211 Thu Jun 13 19:23:40 2002  J"orn Rennecke <joern.rennecke@superh.com>
212
213         * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
214         Fix clobbering bytes before destination if src and dst have same
215         non-zero misalignment.
216
217         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
218         Fixed bug in writing end of set region.
219
220 2002-06-10  Christopher Faylor  <cgf@redhat.com>
221
222         * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
223         spawnve declaration.
224
225 2002-06-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
226
227         * libm/common/s_fdim.c: New file.
228         * libm/common/s_fma.c: Likewise.
229         * libm/common/s_fmax.c: Likewise.
230         * libm/common/s_fmin.c: Likewise.
231         * libm/common/s_fpclassify.c: Likewise.
232         * libm/common/s_lrint.c: Likewise.
233         * libm/common/s_lround.c: Likewise.
234         * libm/common/s_nearbyint.c: Likewise.
235         * libm/common/s_remquo.c: Likewise.
236         * libm/common/s_round.c: Likewise.
237         * libm/common/s_scalbln.c: Likewise.
238         * libm/common/s_signbit.c: Likewise.
239         * libm/common/s_trunc.c: Likewise.
240         * libm/common/sf_fdim.c: Likewise.
241         * libm/common/sf_fma.c: Likewise.
242         * libm/common/sf_fmax.c: Likewise.
243         * libm/common/sf_fmin.c: Likewise.
244         * libm/common/sf_lrint.c: Likewise.
245         * libm/common/sf_lround.c: Likewise.
246         * libm/common/sf_nearbyint.c: Likewise.
247         * libm/common/sf_remquo.c: Likewise.
248         * libm/common/sf_round.c: Likewise.
249         * libm/common/sf_scalbln.c: Likewise.
250         * libm/common/sf_trunc.c: Likewise.
251         * libm/math/w_exp2.c: Likewise.
252         * libm/math/w_tgamma.c: Likewise.
253         * libm/math/wf_exp2.c: Likewise.
254         * libm/math/wf_tgamma.c: Likewise.
255         * libm/mathfp/s_exp2.c: Likewise.
256         * libm/mathfp/s_tgamma.c: Likewise.
257         * libm/mathfp/sf_exp2.c: Likewise.
258         * libm/mathfp/sf_tgamma.c: Likewise.
259         * libm/math/er_gamma.c: Fix return value.
260         * libm/math/erf_gamma.c: Likewise.
261         * libm/mathfp/er_gamma.c: Likewise.
262         * libm/mathfp/erf_gamma.c: Likewise.
263         * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
264         declarations and macros.
265         Regenerated all Makefile.in, aclocal.m4 and configure files to
266         use new libtool macros in top-level libtool.m4
267
268 2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>
269
270         * libc/include/string.h[__linux__]: Add strsignal prototype.
271         * libc/include/sys/lock.h: New file with default locking support.
272         * libc/include/sys/reent.h: Add signal buffer support for strsignal
273         and psignal.
274         * libc/posix/Makefile.am: Add support for readdir_r.c.
275         * libc/posix/Makefile.in: Regenerated.
276         * libc/posix/closedir.c: Add locking support and hash table cleanup.
277         * libc/posix/opendir.c: Add lock support.
278         * libc/posix/readdir.c: Ditto.
279         * libc/posix/rewinddir.c: Ditto.
280         * libc/posix/scandir.c: Ditto.
281         * libc/posix/seekdir.c: Ditto.
282         * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
283         clean up leftover hash table entries.
284         * libc/posix/readdir_r.c: New file.
285         * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
286         * libc/sys/linux/Makefile.in: Regenerated.
287         * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
288         * libc/sys/linux/sys/signal.h: Add psignal prototype.
289         * libc/sys/linux/psignal.c: New file.
290         * libc/sys/linux/strsignal.c: Ditto.
291
292 2002-06-03  Corinna Vinschen  <corinna@vinschen.de>
293
294         * libc/include/sys/types.h: Don't define dev_t when compiling for
295         Cygwin.
296
297 2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>
298
299         * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
300         make siglist.inc dependent on sig.c instead of signal.c.
301         * libc/sys/linux/Makefile.in: Regenerated.
302         * libc/sys/linux/sig.c: Rename from signal.c and change code to
303         use NSIG instead of _NSIG. 
304         * libc/sys/linux/sigaction.c: New file.
305         * libc/sys/linux/signal.c: Changed to be linux signal() function
306         so as to override regular newlib default signal.c.
307         * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
308         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
309         * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
310         * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
311         * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
312         default linux sigset_t typedef by defining it equal to __sigset_t.
313         * libc/unix/sigset.c: Add check so code isn't compiled on systems
314         with a sigset_t that isn't implemented with a single int.
315
316 2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
317
318         * libc/sys/linux/Makefile.am: Add support for new files.
319         * libc/sys/linux/Makefile.in: Regenerated.
320         * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
321         * libc/sys/linux/signal.c: Change to use real-time syscalls for
322         sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
323         it is in a separate file now.
324         * libc/sys/linux/machine/i386/Makefile.am
325         * libc/sys/linux/machine/i386/Makefile.in
326         * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
327         * libc/sys/linux/sigaction.c: New file.
328         * libc/sys/linux/sigqueue.c: Ditto.
329         * libc/sys/linux/sigwait.c: Ditto.
330         * libc/sys/linux/machine/i386/sigaction.c: Ditto.
331         * libc/sys/linux/kernel_sigaction.h: Ditto.
332
333 2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
334
335         * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
336         tcsendbrk.c.
337         * libc/sys/linux/Makefile.in: Regenerated.
338         * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
339         tcgetpgrp(), and tcsetpgrp() functions.
340         * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
341         to get __MAX_BAUD rate.
342         * libc/sys/linux/machine/i386/include/termios.h: New file.
343         * libc/include/machine/termios.h: Ditto.
344         * libc/sys/linux/cfspeed.c: Ditto.
345         * libc/sys/linux/tcsendbrk.c: Ditto.
346
347 2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
348
349         * libc/include/string.h: Add strnlen and strerror_r prototypes.
350         * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
351         * libc/string/Makefile.in: Regenerated.
352         * libc/string/strerror_r.c: New file.
353         * libc/string/strnlen.c: New file.
354         * libc/sys/linux/Makefile.am: Add rename.c.
355         * libc/sys/linux/Makefile.in: Regenerated.
356         * libc/sys/linux/rename.c: New file to override default rename.
357
358 2002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
359
360         * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
361         * libc/sys/linux/sys/time.h: Add conversion macros.
362         * libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
363         * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
364         * libc/sys/linux/gethostname.c: New file.
365         * libc/sys/linux/seteuid.c: New file.
366         * libc/sys/linux/sysctl.c: New file.
367         
368 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
369
370         * libc/string/Makefile.am: Add support for strsep.c.
371         * libc/string/Makefile.in: Regenerated.
372         * libc/string/strsep.c: New file.
373         * libc/string/strtok.c: Change to call __strtok_r service routine.
374         * libc/string/strtok_r.c: Add __strtok_r routine which takes
375         additional flag parameter regarding whether to skip leading delimeters.
376         Change strtok_r to call __strtok_r.
377
378 2002-05-23  Gareth Pearce  <tilps@hotmail.com>
379
380         * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
381         * libc/stdio/Makefile.in: Regenerated.
382         * libc/stdio/setbuffer.c: New file.
383         * libc/stdio/setlinebuf.c: New file.
384
385 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
386
387         * libc/sys/linux/Makefile.am: Add resource.c.
388         * libc/sys/linux/Makefile.in: Regenerated.
389         * libc/sys/linux/resource.c: New file.
390         * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
391         * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
392         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
393         * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
394         are now found in libc/sys/linux/resource.c.
395
396 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
397
398         * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
399         to use void * pointers and comply with Single Unix spec.
400         * libc/string/bcmp.c: Change to use void * instead of char *.
401         * libc/string/bcopy.c: Ditto.
402         * libc/string/bzero.c: Ditto.
403
404 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
405
406         * libc/sys/linux/shm_open.c: New file.
407         * libc/sys/linux/shm_unlink.c: Ditto.
408         * libc/sys/linux/Makefile.am: Add support for shm_open.c and
409         shm_unlink.c.
410         * libc/sys/linux/Makefile.in: Regenerated.
411         * libc/sys/linux/sys/types.h: Add some additional checks to see
412         if clock_t or time_t is already defined.
413
414 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
415
416         * Makefile.am: Don't pass $toollibdir down directly in
417         AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
418         Pass it under the name: top_toollibdir.
419         * Makefile.in: Regenerated.
420
421 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
422
423         * libc/include/sys/types.h: Revert previous patch.
424
425 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
426
427         * libc/include/sys/types.h: Include cygwin/types.h always under
428         Cygwin, not only if _POSIX_THREADS is defined.
429
430 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
431
432         * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
433
434 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
435
436         * Makefile.am: Copy and install headers from sys/machine/include
437         directory.  Also pass $toollibdir to lower-level directories.
438         * Makefile.in: Regenerated.
439         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
440         stderr to use _REENT macro instead of _impure_ptr directly.
441         * libc/include/sys/config.h[__i386__][__linux__]: Define
442         __DYNAMIC_REENT__.
443         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
444         call to __getreent() function if !__SINGLE_THREAD__ and
445         __DYNAMIC_REENT__ is set.
446         * libc/reent/Makefile.am: Add support for getreent.c.
447         * libc/reent/Makefile.in: Regenerated.
448         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
449         * libc/sys/linux/Makefile.am: Add support for new files.
450         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
451         * libc/sys/linux/Makefile.in: Regenerated.
452         * libc/sys/linux/configure: Ditto.
453         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
454         __close, __read, __write, __poll, __open, __lseek, __fcntl from
455         their __libc_ counterparts.
456         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
457         and weak-alias to regular names.
458         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
459         to pread64 and __pread64.
460         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
461         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
462         weak-alias to pwrite64.
463         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
464         __libc_sched_getscheduler, __libc_sched_get_priority_max,
465         __libc_sched_get_priority_min, and __libc_sched_setschedule to
466         name with __ instead of __libc_. 
467         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
468         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
469         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
470         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
471         to raise.
472         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
473         __libc_send to __send.
474         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
475         __gettimeofday.
476         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
477         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
478         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
479         type and typedef __jmp_buf to jmp_buf.
480         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
481         setjmp.S.
482         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
483         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
484         section.
485         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
486         prefix for function macros and then use weak_alias() to regular names.
487         * libc/sys/linux/machine/i386/syscall.h: Ditto.
488         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
489         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
490         to be flockfile() and funlockfile() respectively.
491         * libc/sys/linux/sys/types.h
492         * libc/reent/getreent.c: New file.
493         * libc/sys/linux/flockfile.c: Ditto.
494         * libc/sys/linux/funlockfile.c: Ditto.
495         * libc/sys/linux/getreent.c: Ditto.
496         * libc/sys/linux/pread.c: Ditto.
497         * libc/sys/linux/pwrite.c: Ditto.
498         * libc/sys/linux/raise.c: Ditto.
499         * libc/sys/linux/system.c: Ditto.
500         * libc/sys/linux/tcdrain.c: Ditto.
501         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
502         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
503         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
504         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
505         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
506
507 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
508
509         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
510         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
511         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
512         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
513
514 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
515
516         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
517         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
518         exit point.
519
520 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
521
522         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
523         options when testing natively on i[3456]86-*-linux.
524
525         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
526         only one pass or fail per test file.  Trim \r's from output
527         values received from test programs.  Remove support for named
528         tests.
529         * testsuite/newlib.locale/UTF-8.exp: Update to support new
530         newlib_check_output behaviour.
531         * testsuite/newlib.locale/UTF-8.c: Likewise.
532
533 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
534
535         * libc/include/stdlib.h: Add on_exit prototype.
536         * libc/include/sys/reent.h (struct _atexit): Add argument array
537         and bits to track type of exit routine to support both on_exit
538         and atexit.
539         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
540         by default and change the setting of the atexit structure.
541         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
542         * libc/stdlib/on_exit.c: New file.
543         * libc/stdlib/Makefile.am: Add support for on_exit.
544         * libc/stdlib/Makefile.in: Regenerated.
545         * libc/stdlib/atexit.c: Change to initialize types field.
546         * libc/stdlib/exit.c: Change to look at types field for each
547         exit routine and either call an atexit-style or an on_exit-style
548         routine accordingly.
549
550 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
551
552         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
553         allow v specifier with n or L specifiers.  For vector c format,
554         move tmp declaration to the top.
555
556 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
557
558         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
559         the original format specifier when looping for vectors to compensate
560         for any changes made in vector %g format processing.
561         Also add syntax checking for various invalid scenarios
562         involving vector format extensions.
563         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
564         return code setting for vector formats.  Also treat vector
565         separator mismatch as a match error instead of an input error.
566         Perform some syntax checking for vector formats.
567
568 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
569
570         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
571         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
572         * libc/string/strlcat.c: New file.
573         * libc/string/strlcpy.c: New file.
574
575 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
576
577         * libc/string/strchr.c: Fix comment typo.
578
579 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
580
581         * acinclude.m4: Add support for --enable-newlib-multithread.
582         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
583         --enable-newlib-multithread=no.
584
585         * libc/stdio/getc_u.c: New file.
586         * libc/stdio/getchar_u.c: New file.
587         * libc/stdio/putc_u.c: New file.
588         * libc/stdio/putchar_u.c: New file.
589         * libc/include/stdio.h: Add declarations for getc_unlocked,
590         getchar_unlocked, putc_unlocked and putchar_unlocked.
591         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
592         (CHEWOUT_FILES): Add new files' .def's.
593         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
594
595 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
596
597         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
598         Also handle as single quad word when destination ends at last
599         byte of first quad word.  Fix byte selection in single quad code.
600
601 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
602
603         * libc/include/sys/stdio.h: New file.
604         * libc/sys/linux/sys/stdio.h: New file.
605         * libc/include/stdio.h: Add declarations for flockfile,
606         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
607         * libc/stdio/clearerr.c: Add file locking.
608         * libc/stdio/fclose.c: Likewise.
609         * libc/stdio/feof.c: Likewise.
610         * libc/stdio/ferror.c: Likewise.
611         * libc/stdio/fflush.c: Likewise.
612         * libc/stdio/fgetc.c: Likewise.
613         * libc/stdio/fgetpos.c: Likewise.
614         * libc/stdio/fgets.c: Likewise.
615         * libc/stdio/fileno.c: Likewise.
616         * libc/stdio/fputc.c: Likewise.
617         * libc/stdio/fputs.c: Likewise.
618         * libc/stdio/fread.c: Likewise.
619         * libc/stdio/freopen.c: Likewise.
620         * libc/stdio/fseek.c: Likewise.
621         * libc/stdio/ftell.c: Likewise.
622         * libc/stdio/fwrite.c: Likewise.
623         * libc/stdio/getc.c: Likewise.
624         * libc/stdio/putc.c: Likewise.
625         * libc/stdio/setvbuf.c: Likewise.
626         * libc/stdio/ungetc.c: Likewise.
627         * libc/stdio/vfprintf.c: Likewise.
628
629 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
630
631         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
632         support for 'p' format.  Fix code to print bytes for vector
633         integer formats that do not specify 'h' or 'l'.
634         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
635         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
636         formats that do not specify 'h' or 'l'.
637
638         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
639
640 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
641
642         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
643         (_sbrk): Add cast of return value.
644
645 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
646
647         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
648         (_REENT_L64A_BUF): New macro for accessing area.
649         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
650         *  libc/stdlib/Makefile.in: Regenerated.
651         *  libc/stdlib/a64l.c: New file.
652         *  libc/stdlib/l64a.c: New file.
653
654 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
655
656         * libc/unix/pread.c: Fix typo for _pread_r.
657         * libc/unix/pwrite.c: Fix type for _pwrite_r.
658         * libc/sys/linux/pread64.c: Fix typo for read syscall.
659         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
660
661 2002-05-03  Christopher Faylor  <cgf@redhat.com>
662
663         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
664
665 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
666
667         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
668
669 2002-05-01  Christopher Faylor  <cgf@redhat.com>
670
671         * utmp.h: Define more UNIX constants.
672
673 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
674
675         * Makefile.am: Add support for checking multilibs.
676
677         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
678         (SUBDEFS): Add LIBC_EXTRA_DEF.
679         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
680         (LIBC_EXTRA_DEF): Likewise.
681         (extra_dir): Likewise.
682         * libc/machine/xscale/machine: New directory.
683         * libc/machine/xscale/machine/profile.h: New file.
684
685         * Makefile.am (site.exp): Remove newlib_cflags.  Add
686         multibuildtop.
687         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
688         * testsuite/lib/flags.exp: New file.
689         * testsuite/lib/newlib.exp: Load flags.exp.
690         (newlib_target_compile): Remove libgloss directory references.
691         (newlib_init): Remove newlib_cflags references.
692
693 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
694
695         * testsuite/lib/newlib.exp (newlib_target_compile): Change
696         method of finding libgloss_target_dir.
697
698         * Makefile.am (site.exp): Change host_alias, host_triplet,
699         target_alias, target_triplet to refer to gcc's host and target
700         variables (newlib's build and host variables).
701         * testsuite/lib/newlib.exp (newlib_init): Change build
702         references to host references, host references to target
703         references to reflect Makefile.am changes.
704         (newlib_target_compile): Likewise.
705         (newlib_finish): Likewise.
706
707 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
708
709         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
710
711 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
712
713         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
714         (_system): New function. Ditto.
715         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
716         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
717         targets.
718
719 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
720
721         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
722         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
723         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
724         *  libc/sys/linux/Makefile.in: Regenerated.
725         *  libc/unix/Makefile.in: Ditto.
726         *  libc/sys/linux/pread64.c: New file.
727         *  libc/sys/linux/pwrite64.c: Ditto.
728         *  libc/unix/pread.c: Ditto.
729         *  libc/unix/pwrite.c: Ditto.
730
731 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
732
733         *  libc/sys/linux/Makefile.am: Add io64.c.
734         *  libc/sys/linux/Makefile.in: Regenerated.
735         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
736         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
737         *  libc/sys/linux/io64.c: New file.
738
739 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
740
741         * configure.in (CC_FOR_NEWLIB): New variable that
742         bases on $(CC) and adds targ-include and libc/include as
743         -isystem directives if they are not already part of $(CC).
744         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
745         $(CC_FOR_NEWLIB).
746         * configure: Regenerated.
747         * Makefile.in: Ditto.
748
749 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
750
751         *  libc/sys/linux/Makefile.am: Add support for sched.c.
752         *  libc/sys/linux/Makefile.in: Regenerated.
753         *  libc/sys/linux/sched.c: New file.
754         *  libc/sys/linux/sys/types.h: Add struct timespec.
755
756 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
757
758         * configure.in (CC_FOR_BUILD): Set to gcc whether
759         cross-compiling or not.
760         (CC): Add -isystem's for targ-include and libc/include when they
761         do not already appear in CC.
762
763 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
764
765         * Makefile.am (check-DEJAGNU): New target.
766         (site.exp): Likewise.
767         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
768         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
769         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
770         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
771         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
772         * testsuite: New directory.
773         * testsuite/config: Likewise.
774         * testsuite/lib: Likewise.
775         * testsuite/newlib.locale: Likewise.
776         * testsuite/newlib.string: Likewise.
777         * testsuite/config/default.exp: New file.
778         * testsuite/lib/checkoutput.exp: New file.
779         * testsuite/lib/newlib.exp: New file.
780         * testsuite/lib/passfail.exp: New file.
781         * testsuite/newlib.locale/UTF-8.c: New file.
782         * testsuite/newlib.locale/UTF-8.exp: New file.
783         * testsuite/newlib.locale/locale.exp: New file.
784         * testsuite/newlib.string/string.exp: New file.
785         * testsuite/newlib.string/tstring.c: New file.
786
787 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
788
789         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
790         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
791         *  libc/sys/linux/Makefile.in: Regenerated.
792         *  libc/sys/linux/mmap.c: New file.
793         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
794         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
795
796 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
797
798         * acinclude.m4 (newlib_cflags): Remove include directories that
799         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
800
801 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
802
803         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
804         * libc/machine/xscale/memcmp.c: Ditto.
805         * libc/machine/xscale/memcpy.c: Ditto.
806         * libc/machine/xscale/memmove.c: Ditto.
807         * libc/machine/xscale/memset.c: Ditto.
808         * libc/machine/xscale/strchr.c: Ditto.
809         * libc/machine/xscale/strcmp.c: Ditto.
810         * libc/machine/xscale/strcpy.c: Ditto.
811         * libc/machine/xscale/strlen.c: Ditto.
812
813 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
814
815         * libc/include/sys/config.h: Remove include of <limits.h>.
816         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
817         define INT_MAX and LONG_MAX.  Use them in tests.
818
819 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
820
821         *  configure.host: Add support for powerpc-eabialtivec*.
822         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
823         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
824         *  libc/include/machine/malloc.h: New file.
825         *  libc/include/machine/stdlib.h: Ditto.
826         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
827         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
828         sources based on configuration.
829         *  libc/machine/powerpc/Makefile.in: Regenerated.
830         *  libc/machine/powerpc/configure: Ditto.
831         *  libc/machine/powerpc/configure.in: Add check for
832         powerpc-eabialtivec* in which case add in additional source files.
833         *  libc/machine/powerpc/setjmp.S: Add altivec support.
834         *  libc/machine/powerpc/vec_calloc.c: New file.
835         *  libc/machine/powerpc/vec_free.c: Ditto.
836         *  libc/machine/powerpc/vec_malloc.c: Ditto.
837         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
838         *  libc/machine/powerpc/vec_realloc.c: Ditto.
839         *  libc/machine/powerpc/machine/malloc.h: Ditto.
840         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
841         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
842         with added altivec format specifiers.
843         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
844         added altivec format specifiers.
845
846 2002-04-19      Joel Sherrill <joel@OARcorp.com>
847
848         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
849         while autoconf is trying to link main(){}.
850
851 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
852
853         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
854         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
855
856 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
857
858         * libc/time/time.tex: Add tzset info.
859
860 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
861
862         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
863         (strptime): Moved prototype to be within !__STRICT_ANSI__.
864         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
865         (tzname): Defined for all platforms.
866         (daylight, timezone): Defined only for CYGWIN.
867         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
868         environment set up.
869         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
870         environment variable is set.
871         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
872         tzset_r.c.
873         * libc/time/Makefile.in: Regenerated.
874         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
875         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
876         * libc/time/lcltime_r.c (lcltime_r): Ditto.
877         * libc/time/local.h: New local header file.
878         * libc/time/mktime.c (mktime): Add timezone support.
879         * libc/time/mktm_r.c: New file which is the common engine
880         for gmtime_r and lcltime_r.  This code has timezone support.
881         * libc/time/strftime.c (strftime): Add %Z timezone support.
882         * libc/time/tzlock.c: New file containing timezone lock stubs.
883         * libc/time/tzset.c: New file containing tzset() routine.
884         * libc/time/tzset_r.c: New file containing _tzset_r and
885         internal routine for calculating timezone changes for specified year.
886
887 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
888
889         * configure.in (CRT0_DIR): Set to libc/.
890         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
891         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
892         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
893         $(CRT1_DIR)/$(CRT1).
894         * libc/machine/xstormy16/Makefile.in: Regenerated.
895         * libc/machine/xstormy16/aclocal.m4: Regenerated.
896         * libc/machine/xstormy16/configure: Regenerated.
897
898 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
899
900         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
901         fails, don't bail out, and try to correct next time.
902
903         * libc/include/sys/config.h: Include limits.h.
904
905 2002-04-12  Eric Norum  <eric.norum@usask.com>
906
907         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
908         routine to allow autoconf to determine that building executables
909         for rtems works.
910         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
911         (rtems_gxx_mutex_once): Ditto.
912
913 2002-04-09  Tom Rix  <trix@redhat.com>
914
915         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
916
917 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
918
919         * libc/include/time.h: Fix strptime declaration.
920         * libc/time/Makefile.am: Add strptime.c.
921         * libc/time/Makefile.in: Regenerated.
922         * libc/time/strptime.c: New file.
923
924 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
925
926         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
927         siglongjmp prototype, and sigsetjmp macro definition.
928         * libc/sys/linux/siglongjmp.c: New file.
929         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
930         * libc/sys/linux/Makefile.in: Regenerated.
931
932 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
933
934         * Makefile.am: Add support for installing crt1.o if one exists.
935         * configure.host: Specify crt1.o for linux.
936         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
937         * Makefile.in: Regenerated.
938         * configure: Ditto.
939         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
940         Added for non-Cygwin, non-RTEMS configurations.
941         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
942         * libc/sys/linux/Makefile.in: Regenerated.
943         * libc/sys/linux/crt1.c: New empty file to override one defaulted
944         by gcc.  This fixes problem with reconfiguring linux newlib build.
945         * libc/sys/linux/sysconf.c: New file.
946
947 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
948
949         * configure.host: Add support for machine subdirectory of
950         sys subdirectory.
951         * configure.in: Add check for sys machine subdirectory.
952         * Makefile.am: Ditto.
953         * configure: Regenerated.
954         * Makefile.in: Ditto.
955         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
956         * libc/sys/linux/sys/syscall.h: Ditto.
957         * libc/sys/linux/sleep.c: New file.
958         * libc/sys/linux/socket.c: Ditto.
959         * libc/sys/linux/sockops.h: Ditto.
960         * libc/sys/linux/stack.c: Ditto.
961         * libc/sys/linux/usleep.c: Ditto.
962         * libc/sys/linux/machine/Makefile.am: Ditto.
963         * libc/sys/linux/machine/Makefile.in: Ditto.
964         * libc/sys/linux/machine/aclocal.m4: Ditto.
965         * libc/sys/linux/machine/configure: Ditto.
966         * libc/sys/linux/machine/configure.in: Ditto.
967         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
968         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
969         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
970         * libc/sys/linux/machine/i386/configure: Ditto.
971         * libc/sys/linux/machine/i386/configure.in: Ditto.
972         * libc/sys/linux/machine/i386/crt0.c: Ditto.
973         * libc/sys/linux/machine/i386/sigset.c: Ditto.
974         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
975         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
976         * libc/sys/linux/machine/i386/syscall.h: Ditto.
977         * libc/sys/linux/sys/select.h: Ditto.
978         * libc/sys/linux/configure.in: Add support for machine directory.
979         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
980         * libc/sys/linux/Makefile.in: Regenerated.
981         * libc/sys/linux/configure: Ditto.
982         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
983         * libc/sys/linux/inode.c: Ditto.
984         * libc/sys/linux/linux.c: Ditto.
985         * libc/sys/linux/process.c: Ditto.
986         * libc/sys/linux/systat.c: Ditto.
987         * libc/sys/linux/time.c: Ditto.
988         * libc/sys/linux/wait.c: Ditto.
989         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
990         * libc/sys/linux/io.c: Change header plus add readv/writev.
991         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
992         use __sigsuspend syscall.
993         * libc/sys/linux/select.c: Change header plus change select to
994         use _newselect syscall.
995         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
996         used by glibc header files.
997         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
998         types.
999
1000 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1001
1002         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1003         initializing a struct _reent that has been dynamically allocated.
1004         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1005         _REENT_SMALL and does nothing otherwise.
1006         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1007         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1008         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1009         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1010         [_REENT_SMALL](struct _misc_reent): New structure containing
1011         miscellaneous reentrant areas needed by newlib.
1012         [_REENT_SMALL](struct _reent): Add _misc pointer.
1013         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1014         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1015         and _REENT_STRTOK_LAST macros.
1016         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1017         and _REENT_MBLEN_STATE macros.
1018         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1019         and _REENT_MBTOWC_STATE macros.
1020         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1021         and _REENT_WCTOMB_STATE macros.
1022
1023 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1024
1025         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1026
1027 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1028
1029         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1030
1031 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1032
1033         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1034         Store high part of leading bytes too.
1035
1036 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1037
1038         * libm/math/ef_hypot.c: Increase scale factor to 68.
1039
1040 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1041
1042         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1043         error.
1044
1045 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1046
1047         * libc/sys/go32/access.c: Change license to relaxed license
1048         used in identical file throughout newlib/libgloss.
1049
1050 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1051
1052         * libc/sys/arm/access.c: New file.
1053         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1054         * libc/sys/arm/Makefile.in: Regenerate.
1055         * libc/sys/arm/syscalls.c (_stat): New function.
1056
1057 2002-03-11  Michael Meissner  <meissner@redhat.com>
1058
1059         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1060         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1061         * libc/machine/mips/Makefile.in: Regenerate.
1062         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1063         * libc/machine/mips/memset.c: Dito.
1064         * libc/machine/mips/strcmp.c: Dito.
1065         * libc/machine/mips/strlen.c: Dito.
1066         * libc/machine/mips/strncmp.c: Dito.
1067
1068 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1069
1070         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1071         object so it works for shared library or statici library.
1072 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1073
1074         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
1075         (strptime): Moved prototype to be within !__STRICT_ANSI__.
1076         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1077         (tzname): Defined for all platforms.
1078         (daylight, timezone): Defined only for CYGWIN.
1079         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1080         environment set up.
1081         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1082         environment variable is set.
1083         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1084         tzset_r.c.
1085         *  libc/time/Makefile.in: Regenerated.
1086         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1087         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1088         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
1089         *  libc/time/local.h: New local header file.
1090         *  libc/time/mktime.c (mktime): Add timezone support.
1091         *  libc/time/mktm_r.c: New file which is the common engine
1092         for gmtime_r and lcltime_r.  This code has timezone support.
1093         *  libc/time/strftime.c (strftime): Add %Z timezone support.
1094         *  libc/time/tzlock.c: New file containing timezone lock stubs.
1095         *  libc/time/tzset.c: New file containing tzset() routine.
1096         *  libc/time/tzset_r.c: New file containing _tzset_r and
1097         internal routine for calculating timezone changes for specified year.
1098
1099 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1100
1101         * configure.in (CRT0_DIR): Set to libc/.
1102         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1103         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1104         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
1105         $(CRT1_DIR)/$(CRT1).
1106         * libc/machine/xstormy16/Makefile.in: Regenerated.
1107         * libc/machine/xstormy16/aclocal.m4: Regenerated.
1108         * libc/machine/xstormy16/configure: Regenerated.
1109
1110 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
1111
1112         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1113         fails, don't bail out, and try to correct next time.
1114
1115         * libc/include/sys/config.h: Include limits.h.
1116
1117 2002-04-12  Eric Norum  <eric.norum@usask.com>
1118
1119         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1120         routine to allow autoconf to determine that building executables
1121         for rtems works.
1122         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1123         (rtems_gxx_mutex_once): Ditto.
1124
1125 2002-04-09  Tom Rix  <trix@redhat.com>
1126
1127         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1128
1129 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1130
1131         * libc/include/time.h: Fix strptime declaration.
1132         * libc/time/Makefile.am: Add strptime.c.
1133         * libc/time/Makefile.in: Regenerated.
1134         * libc/time/strptime.c: New file.
1135
1136 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
1137
1138         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1139         siglongjmp prototype, and sigsetjmp macro definition.
1140         * libc/sys/linux/siglongjmp.c: New file.
1141         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1142         * libc/sys/linux/Makefile.in: Regenerated.
1143
1144 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
1145
1146         * Makefile.am: Add support for installing crt1.o if one exists.
1147         * configure.host: Specify crt1.o for linux.
1148         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1149         * Makefile.in: Regenerated.
1150         * configure: Ditto.
1151         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1152         Added for non-Cygwin, non-RTEMS configurations.
1153         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1154         * libc/sys/linux/Makefile.in: Regenerated.
1155         * libc/sys/linux/crt1.c: New empty file to override one defaulted
1156         by gcc.  This fixes problem with reconfiguring linux newlib build.
1157         * libc/sys/linux/sysconf.c: New file.
1158
1159 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
1160
1161         * configure.host: Add support for machine subdirectory of
1162         sys subdirectory.
1163         * configure.in: Add check for sys machine subdirectory.
1164         * Makefile.am: Ditto.
1165         * configure: Regenerated.
1166         * Makefile.in: Ditto.
1167         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1168         * libc/sys/linux/sys/syscall.h: Ditto.
1169         * libc/sys/linux/sleep.c: New file.
1170         * libc/sys/linux/socket.c: Ditto.
1171         * libc/sys/linux/sockops.h: Ditto.
1172         * libc/sys/linux/stack.c: Ditto.
1173         * libc/sys/linux/usleep.c: Ditto.
1174         * libc/sys/linux/machine/Makefile.am: Ditto.
1175         * libc/sys/linux/machine/Makefile.in: Ditto.
1176         * libc/sys/linux/machine/aclocal.m4: Ditto.
1177         * libc/sys/linux/machine/configure: Ditto.
1178         * libc/sys/linux/machine/configure.in: Ditto.
1179         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1180         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1181         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1182         * libc/sys/linux/machine/i386/configure: Ditto.
1183         * libc/sys/linux/machine/i386/configure.in: Ditto.
1184         * libc/sys/linux/machine/i386/crt0.c: Ditto.
1185         * libc/sys/linux/machine/i386/sigset.c: Ditto.
1186         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1187         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1188         * libc/sys/linux/machine/i386/syscall.h: Ditto.
1189         * libc/sys/linux/sys/select.h: Ditto.
1190         * libc/sys/linux/configure.in: Add support for machine directory.
1191         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1192         * libc/sys/linux/Makefile.in: Regenerated.
1193         * libc/sys/linux/configure: Ditto.
1194         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1195         * libc/sys/linux/inode.c: Ditto.
1196         * libc/sys/linux/linux.c: Ditto.
1197         * libc/sys/linux/process.c: Ditto.
1198         * libc/sys/linux/systat.c: Ditto.
1199         * libc/sys/linux/time.c: Ditto.
1200         * libc/sys/linux/wait.c: Ditto.
1201         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1202         * libc/sys/linux/io.c: Change header plus add readv/writev.
1203         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1204         use __sigsuspend syscall.
1205         * libc/sys/linux/select.c: Change header plus change select to
1206         use _newselect syscall.
1207         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1208         used by glibc header files.
1209         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1210         types.
1211
1212 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1213
1214         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1215         initializing a struct _reent that has been dynamically allocated.
1216         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1217         _REENT_SMALL and does nothing otherwise.
1218         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1219         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1220         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1221         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1222         [_REENT_SMALL](struct _misc_reent): New structure containing
1223         miscellaneous reentrant areas needed by newlib.
1224         [_REENT_SMALL](struct _reent): Add _misc pointer.
1225         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1226         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1227         and _REENT_STRTOK_LAST macros.
1228         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1229         and _REENT_MBLEN_STATE macros.
1230         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1231         and _REENT_MBTOWC_STATE macros.
1232         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1233         and _REENT_WCTOMB_STATE macros.
1234
1235 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1236
1237         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1238
1239 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1240
1241         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1242
1243 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1244
1245         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1246         Store high part of leading bytes too.
1247
1248 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1249
1250         * libm/math/ef_hypot.c: Increase scale factor to 68.
1251
1252 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1253
1254         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1255         error.
1256
1257 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1258
1259         * libc/sys/go32/access.c: Change license to relaxed license
1260         used in identical file throughout newlib/libgloss.
1261
1262 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1263
1264         * libc/sys/arm/access.c: New file.
1265         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1266         * libc/sys/arm/Makefile.in: Regenerate.
1267         * libc/sys/arm/syscalls.c (_stat): New function.
1268
1269 2002-03-11  Michael Meissner  <meissner@redhat.com>
1270
1271         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1272         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1273         * libc/machine/mips/Makefile.in: Regenerate.
1274         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1275         * libc/machine/mips/memset.c: Dito.
1276         * libc/machine/mips/strcmp.c: Dito.
1277         * libc/machine/mips/strlen.c: Dito.
1278         * libc/machine/mips/strncmp.c: Dito.
1279
1280 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1281
1282         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1283         object so it works for shared library or statici library.
1284         * libc/machine/i386/Makefile.in: Regenerated.
1285
1286 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
1287
1288         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1289         Add memcpy.S, memset.S and strcpy.S.
1290         * libc/machine/sh/Makefile.in: Regenerate.
1291         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1292         (SHHI, SHLO): Define.
1293         * libc/machine/sh/memset.S: Add code for SH5.
1294         * libc/machine/sh/memset.S: Likewise.
1295         * libc/machine/sh/strcpy.S: Likewise.
1296
1297 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
1298
1299         * configure.host: Add check for --disable-newlib-io-float
1300         configuration option and add -DNO_FLOATING_POINT to newlib cflags
1301         if appropriate.
1302         * acinclude.m4: Added --disable-newlib-io-float option.
1303         * aclocal.m4: Regenerated.
1304         * configure: Ditto.
1305         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1306         * libc/*/aclocal.m4 libc/*/configure 
1307         * libm/*/aclocal.m4 libm/*/configure: Ditto.
1308         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1309         if NO_FLOATING_POINT flag is not defined.
1310
1311 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
1312
1313         * libc/include/sys/config.h: Add __extension__ in front of
1314         long long references.
1315
1316 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1317
1318         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1319         (_stat): Ditto.
1320
1321 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1322
1323         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1324         of off_t.
1325
1326 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1327
1328         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1329         clobbered registers.
1330
1331 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1332
1333         * configure.host (newlib_cflags): When host is in m68* add
1334         -DCOMPACT_CTYPE.
1335
1336 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
1337
1338         * libc/include/sys/config.h: Add definitions for
1339         __int16_t, __uint16_t, __int64_t, and __uint64_t.
1340
1341 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
1342
1343         * libc/sys/mmixware/link.c: New.
1344         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1345         volatile.
1346         * libc/sys/mmixware/times.c (_times): Renamed from times.
1347         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1348         properly by reading previous contents, not through BinaryReadWrite.
1349         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1350         * libc/sys/mmixware/Makefile.in: Regenerate.
1351
1352 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
1353
1354         * libc/include/grp.h: Don't declare group functions when compiling
1355         Cygwin.
1356
1357 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
1358
1359         * libc/include/grp.h: Include Cygwin specific header.
1360         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
1361         when compiling for Cygwin.
1362         * libc/include/sys/types.h: Don't define off_t, uid_t
1363         and gid_t when compiling for Cygwin.
1364
1365 2002-02-08  matthew green  <mrg@redhat.com>
1366
1367         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1368         _REENT_EMERGENCY_SIZE, not sizeof(char *).
1369
1370 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
1371
1372         Contribute sh64-elf.
1373         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1374         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1375         support in printf.
1376         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
1377         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1378         any labels.
1379         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1380         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1381         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1382         * libc/machine/sh/configure.in: Rework conditionals.
1383         * libc/machine/sh/Makefile.am: Likewise.
1384         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1385         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1386         * configure.host: Match `sh*'.
1387         * libc/include/machine/setjmp.h: Define for SH5.
1388         * libc/machine/sh/configure.in: Detect SH5.
1389         * libc/machine/sh/configure: Rebuilt.
1390         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1391         * libc/machine/sh/Makefile.in: Rebuilt.
1392         * libc/machine/sh/asm.h: Adjust for SH5.
1393         * libc/machine/sh/setjmp.S: Implement in SHmedia.
1394         * libc/sys/sh/crt0.S: Likewise.
1395         * libc/sys/sh/trap.S: Likewise.
1396
1397 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1398
1399         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1400         (mach_add_obj): Conditionally set to setjmp.o or nothing.
1401         (LIB_SOURCES): Remove $(mach_add_src).
1402         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1403         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1404         * libc/machine/i386/Makefile.in: Regenerate.
1405
1406 2002-02-05  Manik Raina <manik@cisco.com>
1407
1408         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1409         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1410         s, p, k, and outstr.
1411         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1412
1413 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1414
1415         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1416         _REENT_CHECK_EMERGENCY macro.
1417
1418 2002-02-03  matthew green  <mrg@redhat.com>
1419
1420         * libc/reent/signgam.c (__signgam): Fix error in previous.
1421
1422 2002-02-02  matthew green  <mrg@redhat.com>
1423
1424         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1425
1426         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1427         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1428         * libc/include/sys/reent.h (struct _reent): Completely new version
1429         for _REENT_SMALL.
1430         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1431         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1432         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1433         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1434         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1435         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1436         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1437         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1438         (_REENT_EMERGENCY): Likewise.
1439
1440         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1441         the start of the real __sFILE, used for stdin, stdout and stderr until
1442         they are setup properly.
1443         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1444         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1445         allocated stdin, stdout and stderr.
1446         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1447         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1448         * libc/stdio/perror.c (_perror_r): Likewise.
1449         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1450         * libc/stdio/putchar.c (_putchar_r): Likewise.
1451         * libc/stdio/puts.c (_puts_r): Likewise.
1452         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1453         * libc/stdio/vprintf.c (vprintf): Likewise.
1454         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1455
1456         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1457
1458         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1459         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1460         for _REENT_SMALL.
1461         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1462         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1463
1464         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1465         _REENT_SMALL.
1466         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1467         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1468         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1469         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1470         * libc/stdlib/rand48.c (__dorand48): Likewise.
1471         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1472         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1473         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1474         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1475         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1476         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1477         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1478         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1479         * libc/stdlib/rand.c (rand): Likewise.
1480
1481         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1482         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1483
1484         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1485         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1486         * libc/include/sys/reent.h (struct _mprec): New structure.
1487
1488         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1489         _unused_strtok_last.
1490         * libc/string/strtok.c (strtok): Use a local static variable.
1491
1492         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1493         (_REENT_EMERGENCY_SIZE): Likewise.
1494         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1495         _REENT_ASCTIME_BUF().
1496         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1497         _REENT_TM().
1498
1499         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1500         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1501         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1502         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1503         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1504         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1505
1506 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1507
1508         * configure.host (xstormy16): Don't use the generic malloc.
1509         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1510         * libc/machine/xstormy16/Makefile.in: Regenerate.
1511         * libc/machine/xstormy16/mallocr.c: New file.
1512         * libc/machine/xstormy16/tiny-malloc.c: New file.
1513
1514 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1515
1516         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1517         when _CYGWIN_TYPES_H is not defined.
1518
1519 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1520
1521         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1522
1523 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1524
1525         * libc/include/sys/signal.h: Remove pthread_kill declaration
1526         when __CYGWIN__ is defined.
1527
1528 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1529
1530         * libc/include/time.h: Add prototype for strptime for Cygwin.
1531
1532 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1533
1534         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1535         dst was not word aligned.
1536
1537         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1538         if too much memory is requested.
1539
1540 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1541
1542         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1543         reads blanks from the input file to break if EOF reached
1544         rather than end processing.
1545
1546 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1547
1548         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1549
1550 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1551
1552         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1553         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1554         libc/include/sys/config.h: Ditto.
1555
1556 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1557
1558         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1559
1560 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1561             Catherine Moore  <clm@redhat.com>
1562             Richard Henderson  <rth@redhat.com>
1563             Corinna Vinschen  <vinschen@redhat.com>
1564
1565         * configure.host: Add support for xstormy16.
1566         * libc/include/machine/ieeefp.h: Add support for xstormy16.
1567         * libc/include/machine/setjmp.h: Add support for xstormy16.
1568         * libc/include/sys/config.h: Add support for xstormy16.
1569         * libc/machine/xstormy16/Makefile.am: New file.
1570         * libc/machine/xstormy16/Makefile.in: New file.
1571         * libc/machine/xstormy16/aclocal.m4: New file.
1572         * libc/machine/xstormy16/configure: New file.
1573         * libc/machine/xstormy16/configure.in: New file.
1574         * libc/machine/xstormy16/setjmp.S: New file.
1575
1576 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1577
1578         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1579         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1580
1581 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
1582
1583         * libm/machine/Makefile.am: Change rules to create correct lib.a.
1584         * libm/machine/Makefile.in: Regenerated through automake.
1585
1586 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1587
1588         * Makefile.am (DOCDIR): Force to empty string when doc
1589         directory is not present.
1590
1591 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1592
1593         * libc/machine/i386/f_*: Move to libm/machine/i386.
1594
1595 2001-12-18      Joel Sherrill <joel@OARcorp.com>
1596
1597         * libm/machine/Makefile.am: Add dummy doc stub so
1598         "make info" works.
1599
1600 2001-12-17      Joel Sherrill <joel@OARcorp.com>
1601
1602         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1603
1604 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1605
1606         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1607         $(COMPILE) rather than $(CC).
1608         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1609         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1610         $(LIB_COMPILE) change.
1611         (vfiprintf.$(oext)): Likewise.
1612
1613 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
1614
1615         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1616         conditionalized including of getopt stuff.
1617
1618 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1619
1620         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1621         compile line.
1622         (vfiprintf.$(oext)): Likewise.
1623
1624 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1625
1626         * Makefile.shared: New file.
1627         * libc/sys/linux/shared.ld: New file.
1628         * libm/machine/*: New files.
1629         * libm/machine/i386/*: New files.
1630         * Makefile.am: Add libtool support.  Change math and mathfp
1631         references to variables.
1632         * configure.host: Add variables for libtool support.  Add
1633         libm_machine_dir variable.
1634         * configure.in: Add objectlist variables, for libtool
1635         support.  Add CC_FOR_BUILD tests.
1636         * libc/Makefile.am: Add libtool support.  Change crt0.o
1637         reference to be a variable reference.
1638         * libc/configure.in: Add libtool support.  Change sublib
1639         names to be lib${subdir}.la when using libtool.
1640         * libc/ctype/Makefile.am: Add libtool support.
1641         * libc/errno/Makefile.am: Likewise.
1642         * libc/locale/Makefile.am: Likewise.
1643         * libc/machine/Makefile.am: Likewise.
1644         * libc/machine/configure.in: Likewise.
1645         * libc/machine/i386/Makefile.am: Likewise.
1646         * libc/machine/i386/configure.in: Likewise.
1647         * libc/misc/Makefile.am: Likewise.
1648         * libc/posix/Makefile.am: Likewise.
1649         * libc/reent/Makefile.am: Likewise.
1650         * libc/signal/Makefile.am: Likewise.
1651         * libc/stdio/Makefile.am: Likewise.
1652         * libc/stdlib/Makefile.am: Likewise.
1653         * libc/string/Makefile.am: Likewise.
1654         * libc/sys/Makefile.am: Likewise.
1655         * libc/sys/configure.in: Likewise.
1656         * libc/sys/linux/Makefile.am: Add libtool support.  Change
1657         awk reference to a variable reference.  Change signal.h
1658         reference to a variable reference.
1659         * libc/sys/linux/configure.in: Add libtool support.
1660         * libc/syscalls/Makefile.am: Likewise.
1661         * libc/time/Makefile.am: Likewise.
1662         * libc/unix/Makefile.am: Likewise.
1663         * libm/Makefile.am: Add libtool support.  Change math and
1664         mathfp references to variables.
1665         * libm/configure.in: Add libtool support.  Add
1666         LIBM_MACHINE_LIB variable.
1667         * libm/common/Makefile.am: Add libtool support.
1668         * libm/math/Makefile.am: Likewise.
1669         * libm/mathfp/Makefile.am: Likewise.
1670         Regenerate all Makefile.in, aclocal.m4, and configure.
1671
1672 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1673
1674         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1675
1676 2001-12-06  John Peacock <jpeacock@rowman.com>
1677
1678         * libc/include/sys/unistd.h: Correct ualarm declaration.
1679
1680 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1681
1682         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1683         vector before calling the initialisation functions.
1684
1685 2001-11-29  Christopher Faylor  <cgf@redhat.com>
1686
1687         * libc/include/dirent.h: Protect against multiple inclusion.
1688
1689 2001-11-27  Christopher Faylor  <cgf@redhat.com>
1690
1691         * libc/include/sys/types.h: Define useconds_t.
1692         * libc/include/sys/ulimit.h: Declare ualarm.
1693
1694 2001-11-21  Christopher Faylor  <cgf@redhat.com>
1695
1696         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1697
1698 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
1699
1700         * libc/sys/mmixware/*: Tweak license header in all source files.
1701
1702 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
1703
1704         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1705         to here.  Rearrange for general inclusion by stdlib.h.
1706         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1707         isn't defined.
1708         * libc/sys/linux/include/alloca.h: Move to libc/include.
1709
1710 2001-11-12  Anthony Green  <green@redhat.com>
1711
1712         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1713
1714 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
1715
1716         * libc/sys/mmixware/*: Correct spacing in all source files.
1717         * libc/sys/mmixware/syscall.h: Move misplaced file...
1718         * libc/sys/mmixware/sys/syscall.h: ...here.
1719
1720 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
1721
1722         * libc/include/machine/ieeefp.h: Add support for mmix target.
1723         * libc/include/machine/setjmp.h: Ditto.
1724         * configure.host: Ditto.
1725         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1726         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1727         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1728         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1729         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1730         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1731         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1732         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1733         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1734         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1735         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1736         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1737         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1738         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1739         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1740         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1741         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1742         libc/sys/mmixware/aclocal.m4: Generate.
1743
1744 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
1745
1746         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1747         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1748         when __CYGWIN__ is defined.
1749         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1750         logwtmp().
1751
1752 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
1753
1754         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1755         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1756         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1757         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1758
1759 2001-10-24  Christopher Faylor  <cgf@redhat.com>
1760
1761         * libc/stdio/fseek.c: Reset pointer to buffer base
1762         when forced to seek outside of current buffer contents.
1763         This prevents the code from erroneously thinking there is
1764         anything in the current buffer.
1765
1766 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
1767
1768         * libc/include/math.h: The C++ standard adds the single-precision
1769         versions of the elementary functions.
1770
1771 2001-10-22  Christopher Faylor  <cgf@redhat.com>
1772
1773         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1774         throughout.
1775         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1776         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1777         * system.c (_system_r): Ditto.
1778
1779 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
1780
1781         * libc/include/sys/unistd.h: Add prototype for fchdir() when
1782         __CYGWIN__ or __rtems__ is defined.
1783
1784 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
1785
1786         * libc/include/stdlib.h: add declarations for
1787         _strtoull_r, _strtoll_r, strtoull, and strtoll.
1788         * libc/stdio/local.h: remove declarations of
1789         __strtoull_r and __strtoll_r.
1790         * libc/stdio/vfscanf.c(__svfscanf_r): call
1791         _strtoull_r instead of __strtoull_r. Ditto
1792         _strtoll_r vs. __strtoll_r.
1793         * libc/stdlib/Makefile.am: add new files to
1794         .c list and .def list
1795         * libc/stdlib/Makefile.in: regenerate
1796         * libc/stdlib/strtoll_r.c: rename __strtoll_r
1797         as _strtoll_r
1798         * libc/stdlib/strtoull_r.c: rename __strtoull_r
1799         as _strtoull_r
1800         * libc/stdlib/strtoull.c: new file
1801         * libc/stdlib/strtoll.c: new file
1802
1803 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
1804
1805         * libc/include/process.h: Add getpid() declaration.
1806
1807 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1808
1809         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1810         for new style arm/elf ctor/dtor handling.
1811         Minor formatting tidy up.
1812
1813 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
1814
1815         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1816         and strtoull_r.c.
1817         * libc/stdlib/Makefile.in: Regenerated.
1818         * libc/stdlib/strtoll_r.c: New file.
1819         * libc/stdlib/strtoull_r.c: New file.
1820         * libc/stdio/local.h: Add prototypes for long long string
1821         conversion routines.
1822         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1823         tied to %L integer conversion specifier.
1824
1825 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
1826
1827         * strftime.c (strftime): Fix "%W" implementation to properly handle
1828         Mondays too.
1829
1830 2001-09-07  Jeff Law  <law@redhat.com>
1831
1832         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1833         __fini with "mov.l" instead of "mov.w".
1834
1835 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
1836
1837         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1838         and getopt.h.
1839
1840 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
1841
1842         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1843
1844 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1845
1846         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1847         field.
1848         (__DIRENT_VERSION): New define.
1849
1850 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1851
1852         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1853         Shrink __d_reserved accordingly to keep structure size.
1854         (dirfd): Declare external.
1855
1856 2001-08-29  Joel Sherrill <joel@OARcorp.com>
1857
1858         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1859
1860 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1861
1862         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1863           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1864           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1865           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1866           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1867           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1868           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1869           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1870         Add conditional compilation to avoid HW FPU instructions
1871         when compiled for soft-float.
1872
1873 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1874
1875         * Makefile.am: Add check for ln failing when creating libg.a
1876         so that cp gets used as a backup.
1877         * Makefile.in: Regenerated.
1878
1879 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1880
1881         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1882         No longer include time.h.  Add struct __tm to use for
1883         _localtime_buf in the reentrant structure.  Add a
1884         _NULL definition to use in initializing the reentrant struct.
1885         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1886         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1887         <sys/_types.h>.
1888         * libc/include/sys/unistd.h: Include <sys/_types.h>.
1889         * libc/time/lcltime.c (localtime): Cast the reentrant struct
1890         _localtime_buf to be struct tm *.
1891
1892 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
1893
1894         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1895         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1896         __ctors_end.
1897         * libc/sys/h8300hms/syscalls.c: Include errno.h.
1898         (_unlink): New stub function.
1899
1900 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
1901
1902         * libc/include/sys/errno.h: Add a cautionary comment.
1903
1904 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
1905
1906         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1907         for SIZE_SZ so that alignment ends up a minimum of 8.
1908
1909 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
1910
1911         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1912         arguments.
1913
1914         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1915         Cygwin.
1916
1917 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
1918
1919         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1920         macro constants for mallopt options.
1921         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1922
1923 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
1924
1925         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1926         otherwise default.
1927
1928 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
1929
1930         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1931
1932 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
1933
1934         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1935         Define for little endian ARMs.
1936
1937         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1938         __IEEE_BYTES_LITTLE_ENDIAN is defined.
1939
1940 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
1941
1942         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1943
1944 2001-06-11  Egor Duda  <deo@logos-m.ru>
1945
1946         * libc/ctype/ctype_.c: When compiled with gcc on platforms
1947         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1948         initialized memory region. Platform can define COMPACT_CTYPE
1949         to avoid allocation of the additional 128 bytes of data.
1950         Add pointer to _ctype_ array. Always initialize all _ctype_
1951         array elements.
1952
1953 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
1954
1955         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1956         NULL pointer.
1957
1958 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1959
1960         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1961
1962 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
1963
1964         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1965         matching, non-word alignment, and the length is <= 4 but more than
1966         enough to move them over a word boundary.
1967         Add comments explaining what each instruction does.
1968
1969 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
1970
1971         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1972         * libc/include/sys/unistd.h: Ditto.
1973
1974 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
1975
1976         * libc/string/strrchr.c: Use strchr for the speed improvements.
1977
1978 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
1979
1980         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1981         real file systems, let __smakebuf() determine if line buffering
1982         should be used for stdout.
1983
1984 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1985
1986         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1987
1988 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1989
1990         * libc/include/stdlib.h: Add prototype for _strtod_r.
1991
1992 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
1993
1994         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1995         * libc/stdio/vprintf.c (_vprintf_r): new function
1996         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1997         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1998         _DEFUN, and call _vfprintf_r, not vfprintf.
1999         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2000         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2001         _DEFUN, and call _vfprintf_r, not vfprintf.
2002
2003 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
2004   
2005         * libc/include/sys/unistd.h [X_OK]: Use better protection against
2006         Cygwin X_OK definitions in sys/file.h.
2007
2008 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
2009
2010         * libc/include/sys/time.h: Define timercmp and other macros for
2011         __CYGWIN__, too.
2012
2013 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2014         
2015         * acinclude.m4: Added --enable-malloc-debugging configure flag.
2016         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2017         --enable-malloc-debugging selected.
2018         * aclocal.m4 configure: Regenerated.
2019           libm/aclocal.m4 libm/configure: Ditto.
2020         * libc/aclocal.m4 libc/configure: Ditto.
2021         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2022         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2023         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2024         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2025         * doc/aclocal.m4 doc/configure: Ditto.
2026
2027 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2028
2029         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2030         into one list.
2031         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2032         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2033         function prototypes.
2034         (_fscanf_r, _sscanf_r): Ditto.
2035         * libc/include/stdlib.h: Added _strtod_r prototype.
2036         * libc/stdio/Makefile.am: Add new v*scanf functions.
2037         * libc/stdio/Makefile.in: Regenerate.
2038         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2039         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
2040         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2041         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2042         (sscanf): Changed to call __svfscanf_r with _REENT argument.
2043         (_sscanf_r): New routine.
2044         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2045         with __svfscanf_r prototype.
2046         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2047         routines.
2048         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2049         structure as argument as calls reentrant versions of helper functions
2050         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2051         to _strtol_r and _strtod_r respectively.
2052         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2053         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2054         _REENT argument.
2055         * libc/stdio/vscanf.c: New file.
2056         * libc/stdio/vsscanf.c: Ditto.
2057
2058 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
2059
2060         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
2061         Define daylight to _daylight if it is not defined
2062         Prepare a variable export of timezone based on timezonevariable. 
2063         (Cannot be used with the timezone() function.)
2064
2065 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
2066
2067         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2068          Correct the numerical values.
2069
2070 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
2071
2072         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2073
2074 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
2075
2076         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2077         on case insensitve file systems.
2078
2079 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
2080
2081         * libc/include/sys/features.h: Add appropriate defines for Cygwin
2082         pthread support.
2083         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2084         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2085         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
2086
2087 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
2088
2089         * libc/include/machine/ieeefp.h: Comment about new configuration
2090         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2091         * libm/common/fdlib.h: Define new macros for testing floats.
2092         * libm/common/sf_*: Use them.
2093         * libm/math/ef_*: Likewise.
2094         * libm/math/sf_*: Likewise.
2095
2096 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
2097
2098         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2099         prolog to by-pass possible assembler error.
2100
2101 2001-03-21  Egor Duda  <deo@logos-m.ru>
2102
2103         Allow building internal stubs for non-reentrant syscalls
2104         if target provides its own malloc
2105         * libc/reent/reent.c (errno): Move definition here.
2106         * libc/reent/sbrkr.c: From here.
2107
2108 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
2109
2110         * libc/include/sys/types.h (BSD int typedefs): Guard with
2111         _BSDTYPES_DEFINED rather than _WINSOCK_H.
2112         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2113         _SYS_TYPES_FD_SET.
2114         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2115         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2116
2117 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
2118
2119         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2120         _PC_POSIX_SECURITY constants for Cygwin.
2121
2122 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
2123
2124         * libc/sys/cygwin/crt0.c: Add copyright hint.
2125         * libc/sys/cygwin/sys/dirent.h: Ditto.
2126         * libc/sys/cygwin/sys/param.h: Ditto.
2127         * libc/sys/cygwin/sys/utime.h: Ditto.
2128         * libc/sys/cygwin/sys/utmp.h: Ditto.
2129
2130 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
2131
2132         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2133         equivalent to LONGINT.
2134
2135 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
2136
2137         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2138         jmpbuf on MIPS64 targets.
2139         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2140
2141 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
2142
2143         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
2144           declarations.
2145
2146 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
2147
2148         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2149         For RTEMS, define to be ssize_t.  Default to int if not defined.
2150         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2151         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2152         * libc/stdio/local.h (__sread, __swrite): Likewise.
2153         * libc/include/sys/reent.h (_read, _write): Likewise.
2154         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2155         * libc/syscalls/sysread.c (read): Likewise.
2156         * libc/syscalls/syswrite.c (write): Likewise.
2157
2158 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
2159
2160         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2161
2162 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
2163
2164         * libc/include/sys/stat.h: Use special defines for executable stat bits
2165         when compiling for Cygwin.
2166         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2167         for Cygwin.
2168
2169 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2170
2171         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2172         of strtok_r is always defined.
2173
2174 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2175
2176         * libc/include/machine/ansi.h: New dummy header file.
2177
2178 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
2179
2180         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2181         changed the copyright information to allow free modification of the
2182         file with no reference to "copying.dj".
2183         * libc/include/sys/stat-dj.h: Ditto.
2184         * libc/machine/i386/setjmp.S: Ditto.
2185         * libc/sys/h8300hms/sys/file.h: Ditto.
2186         * libc/sys/sysmec/access.c: Ditto.
2187         * libc/sys/sysnecv850/access.c: Ditto.
2188         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2189         * libc/stdlib/getenv_r.c: Ditto.
2190         * libc/stdlib/putenv_r.c: Ditto.
2191         * libc/stdlib/setenv_r.c: Ditto.
2192         * libc/stdlib/getenv.c: Removed DJ reference since any possible
2193         modifications will now be in the _r version of this file.
2194         * libc/stdlib/putenv.c: Ditto.
2195         * libc/stdlib/setenv.c: Ditto.
2196         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2197         valid.  Added a reference to DJ's web page that contains his address.
2198         * libc/sys/go32/*.s: Removed references to DJ's old address.
2199         * libc/sys/go32/*.c: Ditto.
2200         * libc/sys/go32/*.h: Ditto.
2201         * libc/sys/go32/*.S: Ditto.
2202         * libc/sys/go32/sys/*.h: Ditto.
2203
2204 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
2205
2206         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2207         HAVE_FCNTL flag check.
2208         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2209         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2210
2211 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
2212
2213         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2214
2215 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
2216
2217         * libc/include/stdlib.h: Add declarations of rand48 functions and
2218         their reentrant versions.
2219         * libc/include/sys/reent.h: Move macros from rand48.h. Add
2220         struct _rand48 for shared parameters of rand48 functions.
2221         (struct _reent): Add a variable _r48 of struct _rand48.
2222         (_REENT_INIT): Add _r48 initialization.
2223         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2224         (CHEWOUT_FILES): Add rand48.def.
2225         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2226         * libc/stdlib/Makefile.in: Regenerated.
2227         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2228         NetBSD C library.
2229         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2230         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2231         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2232         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2233         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2234         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2235         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2236         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2237         * libc/stdlib/rand48.c (__dorand48): Ditto.
2238         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2239         parameters into macros referring them in the reentrant structure.
2240
2241 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
2242
2243         * libc/include/sys/stat.h: Add mknod for Cygwin now that
2244         Cygwin definition has correct prototype.
2245
2246 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2247
2248         * libc/include/sys/stat.h: Must revert change for mknod
2249         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2250         prototype.
2251
2252 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2253
2254         * libc/include/stdio.h: Revert putw prototype.
2255
2256 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
2257
2258         * libc/include/grp.h: add prototype for initgroups.
2259         * libc/include/stdio.h: fix prototype for putw.
2260         * libc/include/sys/signal.h: add prototype for killpg.
2261         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2262         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2263         vhangup and remove duplicate sysconf prototype.
2264
2265 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
2266
2267         * libc/sys/rtems/sys/types.h: Removed.
2268
2269 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
2270
2271         * libc/include/locale.h: add LC_MESSAGES definition
2272
2273 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2274
2275         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2276         SYS_get_argN):
2277         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2278         __setup_argv_and_call_main): New.
2279
2280 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
2281
2282         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2283         if defined.
2284         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2285         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2286         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2287         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2288
2289 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
2290
2291         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2292         compiling under Cygwin.
2293
2294 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
2295
2296         * libc/include/math.h (signgam): Change to errno-like solution
2297         using a function to return the address of the real signgam.
2298         * libc/reent/signgam.c: New file containing __signgam().
2299         * libc/reent/Makefile.am: Added signgam.c to list of files.
2300         * libc/reent/Makefile.in: Regenerated.
2301
2302 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
2303
2304         * libc/sys/sh/syscalls.c (_times): New.
2305
2306         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2307         * libc/sys/sh/syscalls.c (_gettimeofday): New.
2308
2309 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2310
2311         * libc/include/math.h (signgam): Regress previous fix as
2312         it does not handle programs with extern int signgam in them.
2313
2314 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2315
2316         * libc/include/math.h (signgam): Changed to a macro refering to
2317         its location in the reentrant structure.
2318
2319 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2320
2321         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2322         that suppressed . for %.0f, 0.1.  Check now looks if there
2323         are padding zeroes (expt) in addition to any digits (ndig) to
2324         print.
2325
2326 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
2327
2328         * libc/sys/arc/Makefile.am: New file.
2329         * libc/sys/arc/Makefile.in: Ditto.
2330         * libc/sys/arc/aclocal.m4: Ditto.
2331         * libc/sys/arc/configure: Ditto.
2332         * libc/sys/arc/configure.in: Ditto.
2333         * libc/sys/arc/crt0.S: Ditto.
2334         * libc/sys/arc/isatty.c: Ditto.
2335         * libc/sys/arc/mem-layout.c: Ditto.
2336         * libc/sys/arc/sbrk.c: Ditto.
2337         * libc/sys/arc/syscalls.c: Ditto.
2338         * libc/sys/arc/sys/syscall.h: Ditto.
2339
2340 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
2341
2342         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2343
2344 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
2345
2346         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2347
2348 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
2349
2350         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2351
2352 2001-01-09  Nick Clifton  <nickc@redhat.com>
2353
2354         * configure.host (v859): Remove unsupported compiler options.
2355
2356 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
2357
2358         * src/newlib/configure.host (*-*-rtems*): add printf long long
2359         support for RTEMS.
2360
2361 2000-12-19  Graham Stott <grahams@redhat.com>
2362
2363         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2364
2365 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2366
2367         * configure.host: Turn on long double I/O for Cygwin.
2368
2369 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2370
2371         * MAINTAINERS: Removed Ranjith.
2372         * NEWS: Updated for 1.9.0.
2373         * README: Updated.
2374         * acinclude.m4: Updated to release 1.9.0.
2375         * aclocal.m4 configure
2376           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2377           libc/machine/aclocal.m4 libc/machine/configure
2378           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2379           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2380           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2381           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2382           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2383           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2384           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2385           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2386           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2387           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2388           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2389           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2390           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2391           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2392           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2393           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2394           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2395           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2396           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2397           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2398           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2399           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2400           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2401           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2402           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2403           libc/sys/aclocal.m4 libc/sys/configure
2404           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2405           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2406           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2407           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2408           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2409           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2410           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2411           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2412           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2413           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2414           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2415           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2416           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2417           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2418           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2419           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2420           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2421           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2422           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2423           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2424           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2425           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2426           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2427           libm/aclocal.m4 libm/configure: Regenerated.
2428
2429 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2430
2431         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2432         when __CYGWIN__ is defined.
2433
2434 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2435
2436         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2437         that categorizes a long double as NaN, Infinity, or other.
2438         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2439         isinfl and isnanl static routines which were i386-specific.  Changed 
2440         calls to the two removed routines to a single _ldcheck call.
2441         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2442
2443 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2444
2445         * Makefile.am: Fixed install-data-local target to use
2446         $(mkinstalldirs) for the installed header files to ensure
2447         the directories exist before copying.
2448         * Makefile.in: Regenerated.
2449
2450 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2451
2452         * libc/include/sys/unistd.h: Restored Cygwin _SC
2453         constants and moved new constants appropriately
2454         so Cygwin will build.
2455
2456 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2457
2458         * Merge RTEMS specific .h files into main libc/include.
2459         * libc/sys/rtems/include/signal.h: Removed.
2460         * libc/sys/rtems/include/time.h: Removed.
2461         * libc/sys/rtems/sys/features.h: Removed.
2462         * libc/sys/rtems/sys/sched.h: Removed.
2463         * libc/sys/rtems/sys/siginfo.h: Removed.
2464         * libc/sys/rtems/sys/signal.h: Removed.
2465         * libc/sys/rtems/sys/time.h: Removed.
2466         * libc/sys/rtems/sys/times.h: Removed.
2467         definitions for time_t and clock_t since these are
2468         no longer in time.h.
2469         * libc/include/pthread.h: New file.
2470         * libc/include/sys/sched.h: New file.
2471         * libc/include/sys/features.h: New file.
2472         * libc/include/time.h: Removed duplicate definition of clock_t
2473         and time_t, get them from <sys/types.h> instead.  Add prototypes
2474         for POSIX clock and timer functionality.
2475         * libc/sys/linux/sys/types.h: Changed to include
2476         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2477         * libc/include/sys/signal.h: Add more complete set of POSIX
2478         signal functionality including real-time and threaded signals.
2479         * libc/include/sys/types.h: Add clock_t, time_t, struct
2480         timespec, and struct itimerspec.  Centralizing these makes 
2481         things cleaner.  RTEMS uses 64-bit dev_t.
2482         Added numerous primitive definitions
2483         for pthreads including macros, pthread_attr_t,
2484         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2485         pthread_once_t, and pthread_t.
2486         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2487         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2488         Feature flags removed and moved to new file <sys/features.h>.
2489         Full set of POSIX sysconf() constants
2490
2491 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2492
2493         * configure.host: Added x86 linux target.
2494         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2495         definitions provided if not already defined.
2496         * libc/sys/linux/crt0.c: New file.
2497         * libc/sys/linux/Makefile.am: Ditto.
2498         * libc/sys/linux/Makefile.in: Ditto.
2499         * libc/sys/linux/aclocal.m4: Ditto.
2500         * libc/sys/linux/brk.c: Ditto.
2501         * libc/sys/linux/configure: Ditto.
2502         * libc/sys/linux/configure.in: Ditto.
2503         * libc/sys/linux/getoptlong.c: Ditto.
2504         * libc/sys/linux/ids.c: Ditto.
2505         * libc/sys/linux/inode.c: Ditto.
2506         * libc/sys/linux/io.c: Ditto.
2507         * libc/sys/linux/linux.c: Ditto.
2508         * libc/sys/linux/process.c: Ditto.
2509         * libc/sys/linux/realpath.c: Ditto.
2510         * libc/sys/linux/select.c: Ditto.
2511         * libc/sys/linux/signal.c: Ditto.
2512         * libc/sys/linux/systat.c: Ditto.
2513         * libc/sys/linux/termios.c: Ditto.
2514         * libc/sys/linux/time.c: Ditto.
2515         * libc/sys/linux/wait.c: Ditto.
2516         * libc/sys/linux/include/alloca.h: Ditto.
2517         * libc/sys/linux/include/getopt.h: Ditto.
2518         * libc/sys/linux/include/stdint.h: Ditto.
2519         * libc/sys/linux/include/unistd.h: Ditto.
2520         * libc/sys/linux/sys/cdefs.h: Ditto.
2521         * libc/sys/linux/sys/dirent.h: Ditto.
2522         * libc/sys/linux/sys/errno.h: Ditto.
2523         * libc/sys/linux/sys/fcntl.h: Ditto.
2524         * libc/sys/linux/sys/file.h: Ditto.
2525         * libc/sys/linux/sys/ioctl.h: Ditto.
2526         * libc/sys/linux/sys/resource.h: Ditto.
2527         * libc/sys/linux/sys/signal.h: Ditto.
2528         * libc/sys/linux/sys/stat.h: Ditto.
2529         * libc/sys/linux/sys/syscall.h: Ditto.
2530         * libc/sys/linux/sys/termios.h: Ditto.
2531         * libc/sys/linux/sys/time.h: Ditto.
2532         * libc/sys/linux/sys/types.h: Ditto.
2533         * libc/sys/linux/sys/utmp.h: Ditto.
2534         * libc/sys/linux/sys/utsname.h: Ditto.
2535         * libc/sys/linux/sys/wait.h: Ditto.
2536
2537 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2538
2539         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2540         can be a relative path to $(top_srcdir)/install.sh so ensure the
2541         autoconf detected settings are properly passed recursively.
2542         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2543         properly to subdirectories.
2544         * Makefile.in: Regenerated.
2545
2546 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2547
2548         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2549         a floating point register unless really printing a floating
2550         point number.
2551
2552 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2553
2554         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2555         Also removed \r's.
2556         (asctoeg): Replaced alloca call with stack array and malloc
2557         when storage exceeds reasonable limit.
2558         (e53toe): Fixed einfin calls missing ldp parameter.
2559         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2560
2561 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2562
2563
2564         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2565
2566 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2567
2568         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2569         * libc/stdlib/Makefile.in: Regenerated.
2570         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2571         * libc/stdio/vfieeefp.h: Added long double bit structures.
2572         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2573         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2574         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2575         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2576         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2577         _strtold routines used for conversions between character
2578         and long double.
2579
2580 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2581
2582         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2583
2584 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2585
2586         * libc/include/machine/time.h: RTEMS systems can configure clock
2587         tick rate so use sysconf() to ask.
2588
2589 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2590
2591         * libc/include/sys/times.h: Add reference to POSIX standard.
2592
2593 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2594
2595         * libc/include/sys/time.h: Added BSD timer manipulation macros
2596         used by RTEMS code.
2597
2598 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2599
2600         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2601         referenced by code generated by gcc 2.8.1.
2602         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
2603         satisfy gcc.
2604
2605 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2606
2607         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2608
2609 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2610
2611         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2612
2613 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2614
2615         * configure.host (or16, or32): New entries for OpenCores
2616         OpenRisc CPUs.
2617         (*-*-rtems*): Add -DNO_EXEC.
2618
2619 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2620
2621         * libc/include/sys/errno.h: Added comments on many error numbers.
2622         * libc/string/strerror.c: Added some more strings.
2623
2624 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
2625
2626         * libc/sys/sh/syscalls.c (_link): New stub.
2627
2628 2000-11-29  Nick Clifton  <nickc@redhat.com>
2629
2630         * configure.host: Add xscale target.
2631         * libc/machine/xscale: New directory.
2632         * libc/machine/xscale/Makefile.am: New file.
2633         * libc/machine/xscale/Makefile.in: New file.
2634         * libc/machine/xscale/aclocal.m4: New file.
2635         * libc/machine/xscale/configure: New file.
2636         * libc/machine/xscale/configure.in: New file.
2637         * libc/machine/xscale/memchr.S: New file.
2638         * libc/machine/xscale/memcmp.S: New file.
2639         * libc/machine/xscale/memcpy.S: New file.
2640         * libc/machine/xscale/memmove.S: New file.
2641         * libc/machine/xscale/memset.S: New file.
2642         * libc/machine/xscale/strchr.S: New file.
2643         * libc/machine/xscale/strcmp.S: New file.
2644         * libc/machine/xscale/strcpy.S: New file.
2645         * libc/machine/xscale/strlen.S: New file.
2646
2647 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2648
2649         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2650         avoid compiler warnings.
2651
2652 2000-11-22  Michael Meissner  <meissner@redhat.com>
2653
2654         * libc/posix/execl.c (execl): Don't reference environ directly,
2655         reference it only via a static pointer to avoid problems with some
2656         shared library systems and with different uses of small data where
2657         the user specifies his own version of environ.
2658         * libc/posix/execv.c (execv): Ditto.
2659         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2660         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2661         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2662
2663         * libc/stdlib/getenv.c (environ): Delete unused reference to
2664         environ.
2665
2666         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2667         colorization.
2668         * libc/stdlib/system.c: Ditto.
2669
2670 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
2671
2672         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2673         including windows headers.
2674
2675 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
2676
2677         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2678         * libc/include/dirent.h: Added definition of MAXNAMLEN if
2679         not defined by sys/dirent.h.
2680         * libc/posix/execvp.c: Added include of dirent.h to get
2681         MAXNAMLEN value which used to be in unistd.h.
2682
2683 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2684
2685         * libc/include/sys/types.h: Change type of i to `size_t' in
2686         FD_ZERO macro to avoid compiler warnings.
2687
2688 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
2689
2690         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2691         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
2692
2693 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2694
2695         * libc/include/sys/unistd.h: Add defines for sysconf values
2696         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2697         _SC_AVPHYS_PAGES.
2698
2699 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
2700
2701         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2702         declarations for __CYGWIN__.
2703
2704 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
2705
2706         * libc/signal/signal.c (__sigtramp_r): ISO C requires
2707         case labels to be integral constant expressions, so
2708         use an if/else tree instead.
2709         (_raise_r): Likewise.
2710
2711 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2712
2713         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2714         clipping patch from e-mail reader.
2715
2716 2000-09-13  Will Cohen  <wcohen@redhat.com>
2717
2718         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2719         Added return value 0.
2720         (_longjmp): Allow longjmp to return value of second argument
2721         passed to it.
2722
2723 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
2724
2725         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2726         inline code to prevent having to include another header file.
2727
2728 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
2729
2730         * Makefile.am: Fix space vs. tab problem in install-data-local.
2731         * Makefile.in: Regenerate.
2732
2733 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
2734
2735         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2736         (_EXPARM): New macro for defining a function parameter.
2737         * libc/include/stdlib.h: Use _EXPARM.
2738         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2739
2740 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
2741
2742         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2743         required, as documented in the gnu coding standards.
2744         * Makefile.in: Regenerate.
2745
2746 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
2747
2748         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2749         make O_NDELAY and O_NONBLOCK have the same value.
2750
2751 2000-08-30  Kazu Hirata  <kazu@hxi.com>
2752
2753         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2754
2755 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2756
2757         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2758         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2759         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2760         everywhere else.
2761
2762 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
2763
2764         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2765         * libc/include/string.h: Don't include <sys/types.h>,
2766         as it causes really bad namespace pollution.  Don't declare
2767         swab(), it is properly declared in unistd.h.
2768
2769 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2770
2771         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2772         (broken) support for non-existent /etc/passwd field "comment".
2773
2774 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2775
2776         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2777         only if _DIRENT_HAVE_D_NAMLEN is defined.
2778         (alphasort): aligned prototype with
2779         libc/sys/cygwin/sys/dirent.h and simplified function body.
2780         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2781         long telldir (DIR *) as mentioned in annex B of POSIX.1
2782
2783 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2784
2785         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2786         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2787         Added __CLI and __STI macros (controlled via
2788         _I386MACH_ALLOW_HW_INTERRUPTS macro).
2789         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2790         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2791         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2792         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2793         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2794         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2795         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2796         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2797         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2798         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2799         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2800         for all global entry points.
2801         * libc/machine/i386/setjmp.S: removed code replicated in
2802         libc/machine/i386/i386mach.h and included i386mach.h instead;
2803         Use __CLI and __STI instead of cli and sti.
2804
2805 2000-08-25  DJ Delorie  <dj@redhat.com>
2806
2807         * libc/include/sys/unistd.h (environ): this one isn't from the
2808         DLL, no __IMPORT
2809
2810 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
2811
2812         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2813         environ when compiling under cygwin since it is already declared in
2814         unistd.h.
2815
2816 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2817
2818         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2819         like  x << y-z  to the equivalent  x << (y-z).
2820         (d2b): changed if statements with assignment to perform the
2821         assignment prior to the if check.
2822         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2823         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2824         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2825         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2826         precedence.
2827         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2828         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
2829         execve.c).
2830         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2831         precedence.
2832         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2833         clarify && and || precendence (and to remove pascalism).
2834         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2835         * libm/math/s_infconst.c: added another pair of braces to all
2836         initializers for __infinity (need three: for __infinity[1] array,
2837         for union __dmath, and for i[2]).
2838
2839 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2840
2841         * libc/stdlib/abort.c: changed description: uses "raise" instead of
2842         "getpid" and "kill"; added: uses "write" and "_exit".
2843         Also included unistd.h for "_exit" prototype.
2844         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2845         reent.h for "_fork_r" and "_wait_r" prototypes.
2846         (do_system): changed  extern char *environ[] to POSIX-friendly 
2847         extern char **environ.
2848         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2849         prototypes.
2850         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2851         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2852         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2853         * libc/reent/openr.c: included fcntl.h for "open" prototype.
2854         * libc/reent/signalr.c: included signal.h for "kill" prototype,
2855         unistd.h for "getpid" prototype.
2856         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2857         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2858         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2859         prototype.  Also included stdlib.h for "abort", string.h for
2860         "strdup" and "strncmp" prototypes.
2861         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2862         "strncpy", unistd.h for "read" and "close" prototypes.
2863         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2864         "strcat" prototypes.
2865
2866 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
2867
2868         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2869         used later (ifdef __SCLE)
2870         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2871         used later (ifdef MB_CAPABLE)
2872         * libc/string/memset.c (memset): removed unused variables "count"
2873         and "unaligned_addr"
2874         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2875         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2876         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2877         and "gid"
2878
2879 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2880
2881         * libc/stdlib/envlock.c: changed documented "__env_lock" and
2882         "__env_unlock" prototype from "void *" or "char *" to
2883         "struct _reent *" to match real function.  Also added include
2884         of envlock.h.
2885         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2886         "__malloc_unlock" prototype from "void *" or "char *" to
2887         "struct _reent *" to match real function.
2888         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2889         prototypes (for getenv_r.c and setenv_r.c).
2890
2891 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2892
2893         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2894         and prototype in cygwin's utmp.h
2895
2896 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
2897
2898         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2899
2900 2000-08-09  Nick Clifton  <nickc@cygnus.com>
2901
2902         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2903         epilogue and to allow the functions to be used in a Thumb based
2904         toolchain.
2905
2906 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
2907
2908         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2909         so size of 0 results in nothing being written to string.
2910         Also fixed code so that when size is non-zero, there is only
2911         a maximum of size - 1 characters written to the array and
2912         a nul terminator is appended at the end.
2913         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2914
2915 2000-08-01  DJ Delorie  <dj@redhat.com>
2916
2917         * libc/include/sys/config.h: define __IMPORT appropriately
2918         * libc/include/ctype.h (_ctype_): use __IMPORT
2919         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2920         * libc/include/math.h (__mb_cur_max): ditto
2921         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2922         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2923         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2924         * libc/include/unistd.h (environ): ditto
2925
2926 2000-07-28  Michael Meissner  <meissner@redhat.com>
2927
2928         * libc/include/math.h (__infinity): Declare as an array without
2929         bounds to get around small data support.  Rewrite Cygwin support
2930         to be more general.
2931         * libm/math/s_infconst.c (__infinity): Ditto.
2932         * libm/mathfp/s_infconst.c (__infinity): Ditto.
2933
2934 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
2935
2936         * libc/include/math.h: Use appropriate dll import linkage for
2937         __infinity under Cygwin.
2938
2939 2000-07-13  DJ Delorie  <dj@cygnus.com>
2940
2941         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2942
2943 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
2944
2945         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2946         to argument list for AngelSWI_Reason_GetCmdLine.
2947
2948 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
2949
2950         * configure.host: Add support for AVR target.
2951         * libc/include/machine/ieeefp.h: Likewise.
2952         * libc/include/sys/config.h: Likewise.
2953
2954 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2955
2956         * README: Newlib 1.8.2 must be built in a separate directory
2957         than the sources.
2958
2959 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2960
2961         * libc/include/sys/reent.h (_rand_next): Added __extension__
2962         qualifier as long long type is not strict ANSI.
2963         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2964         to long long constant.
2965
2966 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
2967
2968         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2969         `setegid' provided by Cygwin.
2970
2971 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
2972
2973         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2974         account for Cygwin.
2975
2976 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2977
2978         * libc/include/sys/reent.h (_rand_next): Changed to
2979         unsigned long long and moved to end of _reent struct in _new union.
2980         (_REENT_INIT): Changed to move _rand_next initialization.
2981         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2982         linear congruential algorithm that is used by DJGPP.
2983
2984 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2985
2986         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2987         * libc/include/sys/config.h: Define __RAND_MAX.
2988
2989 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2990
2991         * libc/stdlib/rand_r.c: New algorithm that meets minimal
2992         standard.
2993
2994 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
2995
2996         * libc/include/string.h: Work around problem with strsignal and gdb.
2997
2998 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
2999
3000         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3001         * libc/include/malloc.h: Ditto.
3002         * libc/include/process.h: Ditto.
3003         * libc/include/stdio.h: Ditto.
3004         * libc/include/stdlib.h: Ditto.
3005         * libc/include/time.h: Ditto.
3006         * libc/include/machine/setjmp.h: Ditto.
3007         * libc/include/sys/errno.h: Ditto.
3008         * libc/include/sys/signal.h: Ditto.
3009         * libc/include/sys/stat.h: Ditto.
3010         * libc/include/sys/time.h: Ditto.
3011         * libc/include/sys/unistd.h: Ditto.
3012         * libc/include/string.h: Ditto.  strsignal should return a const char *.
3013
3014 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
3015
3016         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3017         * libm/common/s_log1p.c (log1p): Likewise.
3018         * libm/common/s_scalbn.c (scalbn): Likewise.
3019         * libm/math/e_log.c: Likewise.
3020         * libm/math/e_asin.c: Likewise.
3021         * libm/math/ef_asin.c: Likewise.
3022         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3023         * libm/math/e_j1.c (pone, qone): Likewise.
3024         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3025         * libm/math/ef_j1.c (ponef, qonef): Likewise.
3026         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3027         * libm/mathfp/e_j1.c (pone, qone): Likewise.
3028         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3029         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3030
3031 2000-05-19  DJ Delorie  <dj@cygnus.com>
3032
3033         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3034         (__sread): always read in binary mode
3035         (__swrite): always write in binary mode
3036         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3037         compatibility issues with different dll versions
3038         * libc/stdio/fopen.c: use __stextmode
3039         * libc/stdio/fdopen.c: ditto
3040         * libc/stdio/freopen.c: ditto
3041         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3042         * libc/stdio/local.h: declare __stextmode
3043         
3044 2000-05-18  DJ Delorie  <dj@cygnus.com>
3045
3046         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3047         
3048 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3049
3050         * libc/include/ctype.h: Changed tolower and toupper macros
3051         to use __extension__ to prevent pedantic warnings.
3052
3053 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
3054
3055         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3056         structures.
3057
3058 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
3059
3060         * libc/include/machine/ieeefp.h: Add ia64 support.
3061         * configure.host: Likewise.
3062
3063 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
3064
3065         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3066         month is now padded with space, not zero.  This now conforms to
3067         ANSI standard.
3068
3069 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
3070
3071         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3072         host or network path") used by cygwin. Add some comments.
3073
3074 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
3075
3076         * libc/include/stdio.h (FILE): define __SCLE for "convert line
3077         endings" for Cygwin.
3078         (__sgetc): convert line endings if needed
3079         (__sputc): ditto
3080         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3081         * libc/stdio/fopen.c (_fopen_r): ditto
3082         * libc/stdio/freopen.c (freopen): ditto
3083         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3084         * libc/stdio/fvwrite.c (__sfvwrite): ditto
3085
3086 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
3087
3088         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3089         post-increment when it is worth it, spacewise.
3090
3091 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
3092
3093         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3094         * libc/stdio/findfp.c (std): Added declaration of flags and file.
3095         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
3096         return type.
3097         * libc/stdio/putchar.c (putchar): Added return statement.
3098         * libc/stdio/refill.c (lflush): Added correct parentheses.
3099         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3100         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
3101         prints long value to use l qualifier.
3102         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3103         messages and initialized local values: ilim, ilim1, and spec_case.
3104         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3105         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3106         * libc/stdlib/mprec.c: Ditto.
3107         * libc/stdlib/setenv_r.c: Ditto.
3108         * libc/stdlib/strtod.c: Ditto.
3109         * libc/stdlib/strtol.c: Ditto.
3110         * libc/stdlib/strtoul.c: Ditto.
3111         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3112         * libm/common/sf_log1p.c: Ditto.
3113         * libm/common/sf_scalbn.c: Ditto.
3114         * libm/math/ef_log.c: Ditto.
3115
3116 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
3117
3118         * libc/posix/execvp.c (execvp): Check path for
3119         trailing slash.
3120
3121 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
3122
3123         * libc/include/sys/unistd.h: Add prototypes for
3124         fchmod, fchown, lchown.
3125
3126 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3127
3128         * acinclude.m4: Changed release to 1.8.2.
3129         * aclocal.m4 configure doc/aclocal.m4 doc/configure
3130           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3131           libc/machine/configure libc/machine/a29k/aclocal.m4
3132           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3133           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3134           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3135           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3136           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3137           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3138           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3139           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3140           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3141           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3142           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3143           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3144           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3145           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3146           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3147           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3148           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3149           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3150           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3151           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3152           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3153           libc/machine/v850/configure libc/machine/w65/aclocal.m4
3154           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3155           libc/machine/z8k/configure libc/sys/aclocal.m4
3156           libc/sys/aclocal.m4 libc/sys/configure
3157           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3158           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3159           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3160           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3161           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3162           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3163           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3164           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3165           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3166           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3167           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3168           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3169           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3170           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3171           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3172           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3173           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3174           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3175           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3176           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3177           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3178           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3179           libm/aclocal.m4 libm/configure: Regenerated.
3180
3181 2000-03-24  Nick Clifton  <nickc@cygnus.com>
3182
3183         * libc/sys/arm/syscalls.c: Fix compile time warnings.
3184         (do_AngelSWI): Add "cc" to list o registers clobbered.
3185
3186 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3187
3188         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3189         information to be clobbered by an Angel C library support syscall. 
3190
3191 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3192
3193         * libc/stdlib/envlock.c: Fixed comment typo.
3194
3195 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3196
3197         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3198         code to update nread as each character is processed instead
3199         of using buffer contents which throw away leading zeroes.
3200
3201 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
3202
3203         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3204
3205 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
3206
3207         * libc/include/string.h: Include <sys/types.h>.
3208
3209 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3210
3211         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3212         with XSH5, not SVID.
3213
3214 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3215
3216         * libc/include/string.h: Changed last argument back to ssize_t
3217         to make it compatible with XPG4 definition which is 
3218         defined in <unistd.h>.  There is a conflict in the SVID 3
3219         and XPG4 definitions and newlib will settle with XPG4.
3220         * libc/string/swab.c: Ditto.
3221
3222 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3223
3224         * libc/include/string.h: Changed last argument to size_t.
3225         * libc/string/swab.c: Changed last argument to size_t.
3226
3227 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3228
3229         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3230         (CHEWOUT_FILES): Added unlinkr.def.
3231         * libc/reent/Makefile.in: Rebuilt.
3232         * libc/sys.tex: Include unlinkr.def.
3233         * libc/reent/linkr.c (_unlink_r): Moved to...
3234         * libc/reent/unlinkr.c: ... new file.
3235
3236 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3237
3238         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3239         (CHEWOUT_FILES): Added swab.def.
3240         * libc/string/Makefile.in: Rebuilt.
3241         * libc/string/string.tex: Include swab.def.
3242         * libc/include/string.h (swab): Declare.
3243         * libc/string/swab.c: New file.
3244
3245 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3246
3247         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3248         (CHEWOUT_FILES): Added getw.def and putw.def.
3249         * libc/stdio/Makefile.in: Rebuilt.
3250         * libc/stdio/stdio.tex: Include getw.def and putw.def.
3251         * libc/stdio/getw.c: New file.
3252         * libc/stdio/putw.c: New file.
3253
3254 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3255
3256         * libc/stdio/flags.c (__sflags): Added check that mode[1]
3257         is non-null before looking at mode[2].
3258
3259 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3260
3261         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3262         * libm/mathfp/sf_atan.c: Ditto.
3263
3264 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
3265
3266         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3267
3268 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3269
3270         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3271         _DOUBLE_IS_32BITS.
3272
3273 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3274
3275         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3276         call prior to calling _VFPRINTF_R so reentrant data area is set.
3277         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3278
3279 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3280
3281         * libc/stdio/vfscanf.c (limits.h): #include.
3282         (MAX_LONG_LEN): #define.
3283         (__svfscanf): Handle floating point numbers with arbitrary amounts
3284         of leading zeroes.
3285
3286 2000-02-15  Nick Clifton  <nickc@cygnus.com>
3287
3288         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3289         zero.  Set the blocksize to 1024/
3290
3291 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3292
3293         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
3294         with line buffering.
3295
3296 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3297
3298         * acinclude.m4: Changed include directory for winsup headers. 
3299         * aclocal.m4 configure libc/aclocal.m4
3300           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3301           libc/locale/Makefile.in libc/machine/aclocal.m4
3302           libc/machine/configure libc/machine/a29k/aclocal.m4
3303           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3304           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3305           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3306           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3307           libc/machine/fr30/configure
3308           libc/machine/h8300/aclocal.m4
3309           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3310           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3311           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3312           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3313           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3314           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3315           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3316           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3317           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3318           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3319           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3320           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3321           libc/machine/powerpc/configure 
3322           libc/machine/sh/aclocal.m4
3323           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3324           libc/machine/sparc/configure
3325           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3326           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3327           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3328           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3329           libc/misc/Makefile.in libc/posix/Makefile.in
3330           libc/reent/Makefile.in 
3331           libc/signal/Makefile.in
3332           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3333           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3334           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3335           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3336           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3337           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3338           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3339           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3340           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3341           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3342           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3343           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3344           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3345           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3346           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3347           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3348           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3349           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3350           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3351           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3352           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3353           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3354           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3355           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3356           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3357           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3358           libm/configure: Regenerated.
3359
3360 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
3361
3362         * libc/stdlib/putenv_r.c (_putenv_r): New file.
3363         * libc/stdlib/strdup_r.c (_strdup_r): New file.
3364         * libc/include/string.h: Added _strdup_r.
3365         * libc/stdlib/putenv.c: Added call to reentrant version. 
3366         * libc/stdlib/strdup.c: Ditto.
3367         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3368         * libc/include/stdlib.h: Ditto.
3369         * libc/stdlib/Makefile.in: Regenerated. 
3370         * libc/string/Makefile.in: Regenerated.
3371         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3372         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3373         management calls to reentrant versions.
3374         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3375         * libc/stdlib/wctomb.c: Ditto.
3376         * libc/stdlib/mblen.c: Ditto.
3377         * libc/stdlib/mbstowcs.c: Ditto.
3378         * libc/stdlib/mbtowc.c: Ditto. 
3379         * libc/stdlib/getenv.c: Ditto.
3380         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3381         and _strdup_r.
3382
3383 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
3384
3385         patch from Corinna Vinschen <corinna@vinschen.de>
3386         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3387
3388 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
3389
3390         * libm/mathfp/s_atangent.c: Fix exponent calculation.
3391         * libm/mathfp/s_ldexp.c: Ditto.
3392         * libm/mathfp/sf_atangent.c: Ditto.
3393         * libm/mathfp/sf_ldexp.c: Ditto.
3394
3395 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3396
3397         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3398         * libc/include/locale.h: define NULL to be 0.
3399
3400 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
3401
3402         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3403         function.
3404
3405 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
3406
3407         * libc/machine/mn10300/setjmp.S: Handle am33.
3408
3409 1999-11-26  Nick Clifton  <nickc@cygnus.com>
3410
3411         * libc/sys/arm/syscalls.c: Add function prototypes.
3412         (stack_ptr): Move declaration before function definitions.
3413
3414 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3415
3416         * NEWS: Updated version information.
3417         * README: Ditto.
3418
3419 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
3420
3421         * libc/machine/i386/strchr.S: Fixed alignment test.
3422
3423 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
3424
3425         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3426
3427 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3428
3429         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3430         ensuring that there is space between the two.
3431
3432 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3433
3434         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3435         only.
3436
3437 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3438
3439         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3440         section
3441
3442 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3443
3444         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3445         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3446
3447 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3448         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3449           per POSIX 1003.1b.
3450         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3451           per POSIX 1003.1b.
3452
3453 1999-09-13  DJ Delorie  <dj@cygnus.com>
3454
3455         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3456         also.
3457
3458 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3459
3460         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3461         also note BUFSIZ as its size.
3462
3463 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3464
3465         * configure.host: Corrected feature defines for RTEMS.
3466         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3467         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3468         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3469           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3470           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3471           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3472           _PC_PRIO_IO, and _PC_SYNC_IO.
3473         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3474         * libc/machine/m68k/Makefile.in: Regenerated.
3475         * libc/machine/m68k/strcpy.c: New file.
3476         * libc/machine/m68k/strlen.c: New file.
3477         * libc/stdio/tmpnam.c: Always make the returned name usable.
3478         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3479         * libc/sys/rtems/sys/dirent.h: New file.
3480         * libc/sys/rtems/sys/types.h: Added dev_t.
3481
3482 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3483
3484         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3485
3486 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3487
3488         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3489         my patch.
3490
3491 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3492
3493         patch from Jeff Johnston <jjohnstn@cygnus.com>
3494         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3495         buffer is not in a useful state.
3496
3497 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3498
3499         * libc/sys/arm/syscalls.c (_link): Add stub.
3500
3501 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3502
3503         * ftell.c (ftell): Use actual position within buffer for text mode.
3504         * findfp.c (std): Initialize ptr->_bf._size.
3505
3506 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3507
3508         * libc/include/sys/unistd.h: Add nice() declaration.
3509
3510 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3511
3512         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3513         declare as a thumb function so that the disassembler will see the
3514         mode change.
3515
3516 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3517
3518         * libc/reent/reent.tex: Updated list of reentrant functions.
3519
3520 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3521
3522         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3523         
3524 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3525
3526         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3527         separate file.
3528         * libc/stdio/snprintf.c: New file.
3529         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3530         separate file.
3531         * libc/stdio/vsnprintf.c: New file.
3532         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3533         * libc/stdio/Makefile.in: Regenerated.
3534
3535 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3536
3537         Patch submitted by Egor Duda <deo@logos-m.ru>:
3538         * libc/include/stdio.h: Add declarations for *nprintf.
3539         * libc/stdio/sprintf.c (snprintf): New function.
3540         (_snprintf_r): New function.
3541         * libc/stdio/vsprintf.c (vsnprintf): New function.
3542         (_vnsprintf_r): New function.
3543
3544 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3545
3546         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3547         * libm/Makefile.am (stmp-targetdep): Ditto.
3548         * libc/Makefile.in: Regenerated.
3549         * libm/Makefile.in: Ditto.
3550
3551 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3552
3553         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3554         * libm/Makefile.am (stmp-targetdep): Ditto.
3555         * libc/Makefile.in: Regenerated.
3556         * libm/Makefile.in: Ditto.
3557
3558 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3559
3560         * Makefile.am: Removed dependencies on all-recursive and added "."
3561         to the SUBDIRS list to prevent infinite recursion from occurring.
3562         Also removed any references to EXTRA_DATA.
3563         * libc/Makefile.am: Ditto.
3564         * libc/machine/Makefile.am: Ditto.
3565         * libc/machine/i386/Makefile.am: Ditto.
3566         * libm/Makefile.am: Ditto.
3567         * libc/sys/Makefile.am: Ditto.
3568         * Makefile.in: Regenerated.
3569         * aclocal.m4: Ditto.
3570         * configure: Ditto.
3571         * doc/Makefile.in: Ditto.
3572         * doc/aclocal.m4: Ditto.
3573         * doc/configure: Ditto.
3574         * libc/Makefile.in: Ditto.
3575         * libc/aclocal.m4: Ditto.
3576         * libc/configure: Ditto.
3577         * libc/machine/Makefile.in: Ditto.
3578         * libc/machine/aclocal.m4: Ditto.
3579         * libc/machine/configure: Ditto.
3580         * libc/machine/mn10300/Makefile.in: Ditto.
3581         * libc/machine/mn10300/aclocal.m4: Ditto.
3582         * libc/machine/mn10300/configure: Ditto.
3583         * libc/sys/Makefile.in: Ditto.
3584         * libc/sys/aclocal.m4: Ditto.
3585         * libc/sys/configure: Ditto.
3586         * libm/Makefile.in: Ditto.
3587         * libm/aclocal.m4: Ditto.
3588         * libm/configure: Ditto.
3589
3590 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3591
3592         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3593
3594 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3595
3596         * libc/include/stdlib.h: Add reentrant routines.
3597         * libc/stdlib/Makefile.am: Add reentrant routines.
3598         * libc/stdlib/Makefile.in: Ditto.
3599         * libc/stdlib/envlock.c: New file.
3600         * libc/stdlib/envlock.h: New file.
3601         * libc/stdlib/getenv.c: Modify to call reentrant routine.
3602         * libc/stdlib/getenv_r.c: New file.
3603         * libc/stdlib/mblen.c: Modify to call reentrant routine.
3604         * libc/stdlib/mblen_r.c: New file.
3605         * libc/stdlib/setenv.c: Modify to call reentrant routine.
3606         * libc/stdlib/setenv_r.c: New file.
3607         * libc/stdlib/stdlib.tex: Add reentrant routines.
3608
3609 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
3610
3611         * libc/include/sys/types.h: Define __MS_types__ whenever
3612         cygwin or win32.
3613
3614 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
3615
3616         * libc/include/machine/ieeefp.h: Always default to little
3617         endian if Windows, regardless of architecture.
3618         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3619         regardless of architecture.
3620
3621 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
3622
3623         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3624         _WIN32 isn't defined.
3625
3626 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3627
3628         * libm/common/s_rint.c (rint): Add volatile qualifier for
3629         intermediate value w.
3630         * libm/common/sf_rint.c (rintf): Ditto.
3631
3632 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3633
3634         * libc/sys/arm/syscalls.c (remap_handle): Added check to
3635         ensure that std streams are initialized before being referenced.
3636
3637 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
3638
3639         * README: Update reference to newlib@cygnus.com new
3640         newlib@sourceware.cygnus.com address.
3641
3642 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
3643
3644         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3645         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3646         defined, even if _WIN32 isn't defined.
3647
3648 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
3649
3650         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3651
3652 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
3653
3654         * libc/include/sys/reent.h: Change Long and ULong to __Long and
3655         __ULong.
3656         * libc/stdlib/dtoa.c: Ditto.
3657         * libc/stdlib/mprec.c: Ditto.
3658         * libc/stdlib/mprec.h: Ditto.
3659         * libc/stdlib/strtod.c: Ditto.
3660
3661 1999-04-21  Nick Clifton  <nickc@cygnus.com>
3662
3663         * configure.host (mcore): Remove mcore machine directory.
3664
3665 1999-04-18  Nick Clifton  <nickc@cygnus.com>
3666
3667         * libc/include/machine/ieeefp.h: Add support for mcore target.
3668         * libc/include/machine/setjmp.h: Add support for mcore target.
3669         * configure.host: Add support for mcore target.
3670
3671 1999-04-13  Mark Salter  <msalter@cygnus.com>
3672
3673         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3674         * libc/sys/arm/syscalls.c: Added isatty.
3675
3676 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3677
3678         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3679         insert zeroes after significant digits.
3680
3681 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3682         
3683         * libc/stdio/vfprintf.c (cvt): Changed floating point
3684         cvt routine to use union used by dtoa to properly determine
3685         if the sign bit is on or not.
3686         * libc/stdio/vfieeefp.h: New file
3687         
3688 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3689
3690         * aclocal.m4: Regenerated.
3691         * configure: Regenerated.
3692
3693 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3694
3695         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3696         f_tanf reference.
3697         * libc/machine/i386/Makefile.in: Regenerated.
3698
3699 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3700
3701         * acinclude.m4: Changed to work with new automake.
3702         * configure: Regenerated.
3703         * libc/machine/i386/aclocal.m4: Regenerated.
3704         * libc/machine/i386/configure: Regenerated.
3705
3706 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
3707
3708         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3709         for telldir() and seekdir().  Rename unused structure element
3710         for use with these two routines.
3711
3712 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3713
3714         * libc/time/mktime.c (validate_structure): Multiple fixes to
3715         code to handle cases where input fields are outside valid ranges.
3716         * libc/stdlib/div.c (div): Modified invalid rounding check.
3717         * libc/stdlib/ldiv.c (ldiv): Ditto.
3718
3719 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3720
3721         * libc/machine/i386/memcpy.S: Performance rewrite.
3722         * libc/machine/i386/memmove.S: Ditto.
3723         * libc/machine/i386/i386mach.h: Added more register definitions.
3724         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3725         option used.
3726         * libc/include/machine/fastmath.h: Add definitions for x86
3727         fast-math routines.
3728
3729 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3730
3731         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3732
3733 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
3734
3735         Adjust newlib headers for new Cygwin Win32 API header files:
3736         * libc/include/sys/time.h: Check _WINSOCK_H rather than
3737         _GNU_H_WINDOWS32_SOCKETS.
3738         * libc/include/sys/types.h: Ditto.
3739
3740 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3741
3742         *include/sys/reent.h: Add checks for size of Bigint element Long.
3743         *libc/dtoa.c: Change routines to use generic Long type.
3744         *libc/mprec.c: Change routines to use generic Long type.
3745         *libc/mprec.h: Change routines to use generic Long type.
3746
3747 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3748
3749         * libc/Makefile.am: Add .def files.
3750         * libc/Makefile.in: Regenerate.
3751         * libc/e_acosh.c: Documentation update.
3752         * libc/e_atanh.c: Documentation update.
3753         * libc/e_hypot.c: Documentation update.
3754         * libc/e_remainder.c: Documentation update.
3755         * libc/er_lgamma.c: Documentation update.
3756         * libc/mathfp.tex: Documentation update.
3757         * libc/s_acos.c: Documentation update.
3758         * libc/s_atan.c: Documentation update.
3759         * libc/s_atan2.c: Documentation update.
3760         * libc/s_cosh.c: Documentation update.
3761         * libc/s_fmod.c: Documentation update.
3762         * libc/s_isnan.c: Documentation update.
3763         * libc/s_log10.c: Documentation update.
3764         * libc/s_pow.c: Documentation update.
3765         * libc/w_jn.c: Documentation update.
3766
3767 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
3768
3769         * aclocal.m4: Regenerate.
3770         * configure: Regenerate.
3771
3772 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3773
3774         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3775         to return 1 if user specified return code is 0.
3776         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3777
3778 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3779
3780         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3781         to save the return address.  Fixed longjmp to return to the original
3782         calling address of setjmp and to return the user specified return code
3783         rather than default to 1.
3784         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3785
3786 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3787
3788         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3789
3790 1999-02-10  Nick Clifton  <nickc@cygnus.com>
3791
3792         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3793         volatile so that its assignments will not be discarded.
3794
3795 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3796
3797         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3798         be __STRICT_ANSI__ which is generated by compiler.
3799         * libc/include/ctype.h: Ditto.
3800         * libc/include/math.h: Ditto.
3801         * libc/include/stdio.h: Ditto.
3802         * libc/include/stdlib.h: Ditto.
3803         * libc/include/string.h: Ditto.
3804         * libc/include/sys/signal.h: Ditto.
3805
3806 1999-02-08  Nick Clifton  <nickc@cygnus.com>
3807
3808         * configure.host: Add support for StrongARM target.
3809
3810 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3811
3812         * libc/string/strncpy.c (strncpy): Removed redundant code
3813         that was copying bytes if data unaligned.
3814
3815 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
3816
3817         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3818         mbstowcs.def, and wcstombs.def.
3819
3820 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
3821
3822         * libc/include/sys/errno.h: Add Cygwin errno.
3823         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3824         is specified.
3825
3826 1999-01-29  Nick Clifton  <nickc@cygnus.com>
3827
3828         * libc/sys/arm/syscalls.c: Move C library functions into seperate
3829         file.
3830         
3831         * libc/sys/arm/libcfunc.c: New file containing C library functions
3832         from syscalls.c
3833
3834         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3835         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3836
3837
3838 1999-01-27  Michael Meissner  <meissner@cygnus.com>
3839
3840         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3841         type, and cut size in half so that the jmp_buf array is guaranteed
3842         to be aligned on a 64-bit boundary.
3843
3844 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3845
3846         * libc/string/strings.tex: Added information about
3847         strcasecmp and strncasecmp.
3848         * libc/stdlib/stdlib.tex: Added missing information
3849         about mblen, mbstowcs, and wcstombs.
3850         * libc/string/strchr.c: Changed how mask is built to use
3851         shift operators so register will be used instead of storage.
3852
3853 1999-01-22  DJ Delorie  <dj@cygnus.com>
3854
3855         * libc/include/stdlib.h: don't use dllimport if we're building
3856         newlib, since it's inside cygwin.dll
3857
3858 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
3859
3860         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3861         _ctype_ under cygwin.
3862
3863 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
3864
3865         * include/stdlib.h: Fix typo from previous checkin.
3866
3867 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
3868
3869         * include/ctype.h: Use __declspec(dllimport) method for exporting
3870         variable from cygwin DLL.
3871         * include/time.h: Ditto.
3872         * sys/errno.h: Ditto.
3873         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3874         * libc/locale/locale.c: Use __declspec(dllexport) method for
3875         exporting variable from cygwin DLL.
3876
3877 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
3878
3879         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3880         access of bogus pointer will result in SIGSEGV.
3881
3882 1999-01-07  Nick Clifton  <nickc@cygnus.com>
3883
3884         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3885         of an underscore prefix to function names.
3886
3887 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3888
3889         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3890         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3891
3892 1998-12-31  Michael Meissner  <meissner@cygnus.com>
3893
3894         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3895         to `%' if not already defined.
3896
3897 1998-12-30  Michael Meissner  <meissner@cygnus.com>
3898
3899         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3900         arguments const char *, not char *.
3901         * libc/include/stdio.h (_tempnam_r): Ditto.
3902
3903         * libc/include/sys/reent.h (struct _reent): The _sig_func type
3904         points to a function taking an integer, not void.
3905
3906 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
3907
3908         * configure.host: Add a define for Cygwin builds.
3909         * libc/include/ctype.h: Don't use dll imported variables in newlib.
3910
3911 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
3912
3913         * libc/include/ctype.h: Define _ctype_ as dll imported variable
3914         for use with Cygwin.
3915         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3916         dll imported variables for use with Cygwin.
3917         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3918         as a dll imported variable for Cygwin.
3919
3920 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
3921
3922         * libc/include/sys/unistd.h: Add proto for getpass.
3923
3924 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
3925
3926         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3927         alphasort.
3928
3929 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
3930
3931         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3932         not posix_path_list_p.
3933
3934 1998-12-15  Nick Clifton  <nickc@cygnus.com>
3935
3936         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3937         a signed int.
3938
3939 1998-12-13  Nick Clifton  <nickc@cygnus.com>
3940
3941         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3942
3943 1998-12-12  Nick Clifton  <nickc@cygnus.com>
3944
3945         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3946         <msalter@cygnus.com>
3947         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3948         * libc/machine/fr30/Makefile.in: Regenerated.
3949
3950 1998-12-11  Nick Clifton  <nickc@cygnus.com>
3951
3952         * configure.host: Remove use of libc/sys for FR30 port.
3953         * libc/sys/fr30: Remove directory (replaced by libgloss).
3954
3955 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
3956
3957         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3958         * libc/string/strncat.c (ALIGNED): Ditto.
3959
3960 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
3961
3962         * libc/include/sys/time.h: include sys/types.h
3963
3964 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3965
3966         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3967         comparison found when checking word at a time.
3968
3969 1998-12-04  Nick Clifton  <nickc@cygnus.com>
3970
3971         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3972
3973 1998-12-03  Nick Clifton  <nickc@cygnus.com>
3974
3975         * libc/sys/fr30/syscalls.c (_times): New function stub.
3976
3977 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3978
3979         * configure.host (mach_add_setjmp): Replaced mach_add_objs
3980         with mach_add_setjmp flag which indicates if setjmp should
3981         be added to the machine directory objects.
3982         * acinclude.m4: Removed reference to mach_add_objs.
3983         * aclocal.m4: Regenerated.
3984         * Makefile.in: Regenerated.
3985         * configure: Regenerated.
3986         * libc/aclocal.m4: Regenerated.
3987         * libc/Makefile.in: Regenerated.
3988         * libc/configure: Regenerated.
3989         * libc/machine/aclocal.m4: Regenerated.
3990         * libc/machine/Makefile.in: Regenerated.
3991         * libc/machine/configure: Regenerated.
3992         * libc/machine/i386/aclocal.m4: Regenerated.
3993         * libc/machine/i386/Makefile.am: Altered to selectively add
3994         setjmp.S to the src files list.
3995         * libc/machine/i386/Makefile.in: Regenerated.
3996         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3997         * libc/machine/i386/configure: Regenerated.
3998
3999 1998-12-02  Nick Clifton  <nickc@cygnus.com>
4000
4001         * libc/sys/fr30/crt0.s (_start): Fix function names.
4002
4003         * libc/machine/fr30: New directory
4004         * libc/machine/fr30/Makefile.am: New file.
4005         * libc/machine/fr30/Makefile.in: New generated file.
4006         * libc/machine/fr30/configure.in: New file.
4007         * libc/machine/fr30/configure: New generated file.
4008         * libc/machine/fr30/aclocal.m4: New generated file.
4009         * libc/sys/fr30/Makefile.am: New file.
4010         * libc/sys/fr30/Makefile.in: New generated file.
4011         * libc/sys/fr30/configure.in: New file.
4012         * libc/sys/fr30/configure: New generated file.
4013         * libc/sys/fr30/syscalls.c: New file.
4014
4015 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
4016
4017         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4018
4019 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
4020
4021         * libc/time/strftime.c (strftime): Also handle %y for years before
4022         1900.
4023
4024 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
4025
4026         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4027         UNIX convention.  Perform tolower on characters before comparing
4028         them rather than use toupper.
4029         * libc/string/strncasecmp.c (strncasecmp): Ditto.
4030
4031 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4032         
4033         * configure.host: Added using i386 machine directory
4034         for all x86 cross-compiler and configuring
4035         which added object files to use via new "mach_add_objs" variable.
4036         * configure: Regenerated.
4037         * libc/configure: Regenerated.
4038         * libc/Makefile.in: Regenerated.
4039         * libc/aclocal.m4: Regenerated.
4040         * libc/ctype/Makefile.in: Regenerated.
4041         * libc/errno/Makefile.in: Regenerated.
4042         * libc/locale/Makefile.in: Regenerated.
4043         * libc/machine/Makefile.in: Regenerated.
4044         * libc/machine/aclocal.m4: Regenerated.
4045         * libc/machine/configure: Regenerated.
4046         * libc/posix/Makefile.in: Regenerated.
4047         * libc/reent/Makefile.in: Regenerated.
4048         * libc/signal/Makefile.in: Regenerated.
4049         * libc/stdio/Makefile.in: Regenerated.
4050         * libc/stdlib/Makefile.in: Regenerated.
4051         * libc/string/Makefile.in: Regenerated.
4052         * libc/string/memmove.c: Optimized code to use memcpy
4053         logic when performing a non-destructive copy.
4054         * libc/string/strncmp.c: Altered code to allow building
4055         optimized for size or speed.
4056         * libc/syscalls/Makefile.in: Regenerated.
4057         * libc/time/Makefile.in: Regenerated.
4058         * libc/unix/Makefile.in: Regenerated.
4059         * libc/machine/i386/Makefile.am: Added new files and reference
4060         to "mach_add_objs" to indicate optional object files.
4061         * libc/machine/i386/Makefile.in: Regenerated.
4062         * libc/machine/i386/aclocal.m4: Regenerated.
4063         * libc/machine/i386/configure: Regenerated.
4064         * libc/machine/i386/memchr.S: New file that implements
4065         function in Intel assembler.
4066         * libc/machine/i386/memcmp.S: ditto.
4067         * libc/machine/i386/memcpy.S: ditto.
4068         * libc/machine/i386/memmove.S: ditto.
4069         * libc/machine/i386/memset.S: ditto.
4070         * libc/machine/i386/strchr.S: ditto.
4071         * libc/machine/i386/strlen.S: ditto.
4072         * libc/machine/i386/f_atan2.S: New file that implements
4073         fast version of math function to be used by compiler when
4074         --ffast_math compile option is used.
4075         * libc/machine/i386/f_atan2f.S: ditto.
4076         * libc/machine/i386/f_exp.c: ditto.
4077         * libc/machine/i386/f_expf.c: ditto.
4078         * libc/machine/i386/f_frexp.S: ditto.
4079         * libc/machine/i386/f_frexpf.S: ditto.
4080         * libc/machine/i386/f_ldexp.S: ditto.
4081         * libc/machine/i386/f_ldexpf.S: ditto.
4082         * libc/machine/i386/f_log.S: ditto.
4083         * libc/machine/i386/f_logf.S: ditto.
4084         * libc/machine/i386/f_log10.S: ditto.
4085         * libc/machine/i386/f_log10f.S: ditto.
4086         * libc/machine/i386/f_math.h: New file.
4087         * libc/machine/i386/f_pow.c: ditto.
4088         * libc/machine/i386/f_powf.S: ditto.
4089         * libc/machine/i386/f_tan.S: ditto.
4090         * libc/machine/i386/f_tan.S: ditto.
4091         * libc/machine/i386/i386mach.h: New file.
4092
4093 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
4094
4095         patch from Mumit Khan <khan@xraylith.wisc.edu>
4096         * libc/include/stdio.h (tempnam): Add prototype.
4097         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4098         (tempnam): Adhere to prototype.
4099
4100 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
4101
4102         * Makefile.am: Add default for AR_FLAGS.
4103         * Makefile.in: Regenerate.
4104
4105 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
4106
4107         * libc/include/time.h: move __cplusplus wrapper after includes
4108         * libc/include/sys/time.h: ditto.  If Cygwin, include
4109         sys/select.h.
4110         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4111
4112 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
4113
4114         * libc/time/strftime.c (strftime): Handle %y after year 2000.
4115
4116 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
4117
4118         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4119         abnormnal end-of-crt0 marker.
4120
4121 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
4122
4123         * libc/sys/fr30/crt0.s: New file/directory.
4124         * libc/include/machine/setjmp.h: Add FR30 target.
4125         * libc/include/machine/ieeefp.h: Add FR30 target.
4126         * configure.host: Add FR30 target.
4127
4128 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4129
4130         * libm/math: Files that are duplicated in common directory removed.
4131         * libm/math/fdlibm.h: Removed.
4132         * libm/math/s_cbrt.c: Removed.
4133         * libm/math/s_copysign.c: Removed.
4134         * libm/math/s_expm1.c: Removed.
4135         * libm/math/s_finite.c: Removed.
4136         * libm/math/s_ilogb.c: Removed.
4137         * libm/math/s_infinity.c: Removed.
4138         * libm/math/s_lib_ver.c: Removed.
4139         * libm/math/s_log1p.c: Removed.
4140         * libm/math/s_logb.c: Removed.
4141         * libm/math/s_matherr.c: Removed.
4142         * libm/math/s_modf.c: Removed.
4143         * libm/math/s_nan.c: Removed.
4144         * libm/math/s_nextafter.c: Removed.
4145         * libm/math/s_rint.c: Removed.
4146         * libm/math/s_scalbn.c: Removed.
4147         * libm/math/sf_cbrt.c: Removed.
4148         * libm/math/sf_copysign.c: Removed.
4149         * libm/math/sf_expm1.c: Removed.
4150         * libm/math/sf_finite.c: Removed.
4151         * libm/math/sf_ilogb.c: Removed.
4152         * libm/math/sf_infinity.c: Removed.
4153         * libm/math/sf_log1p.c: Removed.
4154         * libm/math/sf_logb.c: Removed.
4155         * libm/math/sf_modf.c: Removed.
4156         * libm/math/sf_nan.c: Removed.
4157         * libm/math/sf_nextafter.c: Removed.
4158         * libm/math/sf_rint.c: Removed.
4159         * libm/math/sf_scalbn.c: Removed.
4160         * libm/math/Makefile.am: Removed references to deleted files (above).
4161         * libm/math/Makefile.in: Regenerated.
4162         * libm/Makefile.am: Added common directory to math.
4163         * libm/Makefile.in: Regenerated.
4164
4165 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4166
4167         * libm/mathfp: Add non-ANSI functions.
4168         * libm/mathfp/e_acosh.c acosh(): New file.
4169         * libm/mathfp/e_atanh.c atanh(): New file.
4170         * libm/mathfp/e_hypot.c hypot(): New file.
4171         * libm/mathfp/e_j0.c j0(): New file.
4172         * libm/mathfp/e_j1.c j1(): New file.
4173         * libm/mathfp/e_remainder.c remainder(): New file.
4174         * libm/mathfp/e_scalb.c scalb(): New file.
4175         * libm/mathfp/ef_acosh.c acoshf(): New file.
4176         * libm/mathfp/ef_atanh.c atanhf(): New file.
4177         * libm/mathfp/ef_hypot.c hypotf(): New file.
4178         * libm/mathfp/ef_j0.c j0f(): New file.
4179         * libm/mathfp/ef_j1.c j1f(): New file.
4180         * libm/mathfp/ef_remainder.c remainderf(): New file.
4181         * libm/mathfp/ef_scalb.c scalbf(): New file.
4182         * libm/mathfp/er_gamma.c gamma_r: New file.
4183         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4184         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4185         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4186         * libm/mathfp/w_cabs.c cabs(): New file.
4187         * libm/mathfp/w_drem.c drem(): New file.
4188         * libm/mathfp/w_jn.c jn(): New file.
4189         * libm/mathfp/wf_cabs.c cabsf(): New file.
4190         * libm/mathfp/wf_drem.c dremf(): New file.
4191         * libm/mathfp/wf_jn.c jnf(): New file.
4192
4193 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
4194
4195         * libc/sys/cygwin32: remove directory and contents
4196         * libc/sys/cygwin: and add back, losing the "32".
4197         * configure.host: check for cygwin* instead of cygwin32.
4198         * acinclude.m4: ditto.
4199         * aclocal.m4: regenerate with aclocal
4200         * configure: regenerate with autoconf
4201
4202 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
4203
4204         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4205         for length
4206
4207 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4208
4209         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4210         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4211         to make rand/srand, strtok, asctime, localtime, w_gamma,
4212         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
4213         time.h to bring in struct tm definition.
4214         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4215         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4216         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4217         instead of static variable.
4218         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4219         struct reent instead of static variable.
4220         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4221         struct reent instead of static variable.
4222         * libm/math/Makefile.am: Removed s_signgam.o.
4223         * libm/math/Makefile.in: Regenerated.
4224         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4225         struct reent instead of global variable 'signgam'.
4226         * libm/math/w_lgamma.c (lgamma): Likewise.
4227         * libm/math/wf_gamma.c (gammaf): Likewise.
4228         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4229         * libm/math/s_signgam.c: Removed.
4230         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4231         to be const.
4232         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4233         to be const.
4234         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4235         libc/include/reent.h.
4236         * libc/reent/Makefile.in: Regenerated.
4237         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4238         to be const.
4239         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4240         'JIS_action_table' to be const.
4241         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4242
4243 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
4244
4245         * acinclude.m4:  $with_target_subdir should default to '.'
4246         or confusion results when configuring in same directory as sources.
4247         * Regenerate all aclocal.m4 and configure files.
4248
4249 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4250
4251         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4252         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
4253         for platforms where sizeof(size_t) < sizeof(long) via
4254         SIZE_T_SMALLER_THAN_LONG macro.
4255         
4256 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4257
4258         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4259         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4260         which sets _CLOCKS_PER_SEC_ for selected machines.
4261         * libc/include/machine/time.h: New file.
4262
4263 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4264
4265         * libc/syscalls/sysexecve.c: New file.
4266         * libc/syscalls/sysgettod.c: New file.
4267         * libc/syscalls/systimes.c: New file.
4268         * libc/syscalls/Makefile.am: Added new objects.
4269         * libc/syscalls/Makefile.in: Regenerated.
4270         * libc/include/_syslist.h (_execve): Moved define in file.
4271         * libc/include/reent.h:  Added _execve_r declaration.
4272         * libc/Makefile.in: Regenerated.
4273         * libc/ctype/Makefile.in: Regenerated.
4274         * libc/errno/Makefile.in: Regenerated.
4275         * libc/locale/Makefile.in: Regenerated.
4276         * libc/machine/Makefile.in: Regenerated.
4277         * libc/misc/Makefile.in: Regenerated.
4278         * libc/posix/Makefile.in: Regenerated.
4279         * libc/reent/Makefile.in: Regenerated.
4280         * libc/reent/execr.c (_execve_r): Added _execve_r function.
4281         * libc/signal/Makefile.in: Regenerated.
4282         * libc/stdio/Makefile.in: Regenerated.
4283         * libc/time/Makefile.in: Regenerated.
4284         * libc/unix/Makefile.in: Regenerated.
4285         * libm/mathfp/Makefile.in: Regenerated.
4286
4287 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4288
4289         * libc/string/Makefile.in: Regenerated.
4290         * libc/string/memchr.c (memchr): Moved code to reduce object size.
4291         * libc/string/memcpy.c (memcpy): Ditto.
4292         * libc/string/memcmp.c (memcmp): Ditto.
4293         * libc/string/memset.c (memset): Ditto.
4294         * libc/string/strchr.c (strchr): Ditto.
4295         * libc/string/strcmp.c (strcmp): Ditto.
4296         * libc/string/strcpy.c (strcpy): Ditto.
4297         * libc/string/strlen.c (strlen): Ditto.
4298
4299 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4300
4301         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4302         to generate aclocal.m4.
4303         * libm/Makefile.in: Regenerated.
4304         * libm/aclocal.m4: Regenerated.
4305         * libm/configure: Regenerated.
4306         * libm/math/Makefile.in: Regenerated.
4307         * libm/mathfp/Makefile.in: Regenerated.
4308
4309 1998-09-25  Mark Salter  <msalter@cygnus.com>
4310
4311         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4312         by adding leading and trailing underscores to symbol names.
4313
4314 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
4315
4316         * Makefile.in: Add default for AR_FLAGS.
4317
4318 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
4319
4320         patch from ian@airs.com (Ian Taylor):
4321         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4322         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4323         is needed for detecting the build machine.  Required for
4324         cygwin native builds.
4325
4326         * Regenerate all aclocal.m4 and configure files.
4327
4328 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
4329
4330         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4331         used to start with LC.
4332
4333 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4334
4335         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4336         (longjmp): Likewise.
4337
4338 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4339
4340         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4341         the test for small number of bytes.
4342
4343 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4344
4345         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
4346         math library that uses floating point algorithms instead of the old
4347         libm.
4348         * Makefile.in: Regenerate with automake version 1.3b.
4349         * configure: Rebuild.
4350         * libm/Makefile.in: Regenerate with automake version 1.3b.
4351         * libm/aclocal.m4: Regenerate.
4352         * libm/configure: Rebuild.
4353         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4354         * libm/acinclude.m4: Define macros for configure.in.
4355         * libm/config.h.in: Generate.
4356         * libm/mathfp/Makefile.am: New file.
4357         * libm/mathfp/Makefile.in: Generate.
4358         * libm/mathfp/s_acos.c (acos): New file.
4359         * libm/mathfp/s_asin.c (asin): New file.
4360         * libm/mathfp/s_asine.c (asine): New file.
4361         * libm/mathfp/s_atan.c (atan): New file.
4362         * libm/mathfp/s_atan2.c (atan2): New file.
4363         * libm/mathfp/s_atangent.c (atangent): New file.
4364         * libm/mathfp/s_ceil.c (ceil): New file.
4365         * libm/mathfp/s_copysign.c (copysign): New file.
4366         * libm/mathfp/s_cos.c (cos): New file.
4367         * libm/mathfp/s_cosh.c (cosh): New file.
4368         * libm/mathfp/s_exp.c (exp): New file.
4369         * libm/mathfp/s_fabs.c (fabs): New file.
4370         * libm/mathfp/s_finite.c (finite): New file.
4371         * libm/mathfp/s_floor.c (floor): New file.
4372         * libm/mathfp/s_fmod.c (fmod): New file.
4373         * libm/mathfp/s_frexp.c (frexp): New file.
4374         * libm/mathfp/s_infconst.c: New file.
4375         * libm/mathfp/s_isinf (isinf).c: New file.
4376         * libm/mathfp/s_isnan.c (isnan): New file.
4377         * libm/mathfp/s_ispos.c (ispos): New file.
4378         * libm/mathfp/s_ldexp.c (ldexp): New file.
4379         * libm/mathfp/s_log.c (log): New file.
4380         * libm/mathfp/s_log10.c (log10): New file.
4381         * libm/mathfp/s_logarithm.c (logarithm): New file.
4382         * libm/mathfp/s_mathcnst.c: New file.
4383         * libm/mathfp/s_modf (modf).c: New file.
4384         * libm/mathfp/s_numtest.c (numtest): New file.
4385         * libm/mathfp/s_pow.c (pow): New file.
4386         * libm/mathfp/s_scalbn.c (scalbn): New file.
4387         * libm/mathfp/s_sin (sin).c: New file.
4388         * libm/mathfp/s_sine.c (sine): New file.
4389         * libm/mathfp/s_sineh.c (sineh): New file.
4390         * libm/mathfp/s_sinf.c (sinf): New file.
4391         * libm/mathfp/s_sinh.c (sinh): New file.
4392         * libm/mathfp/s_sqrt.c (sqrt): New file.
4393         * libm/mathfp/s_tan.c (tan): New file.
4394         * libm/mathfp/s_tanh.c (tanh): New file.
4395         * libm/mathfp/sf_acos.c (acosf): New file.
4396         * libm/mathfp/sf_asin.c (asinf): New file.
4397         * libm/mathfp/sf_asine.c (asinef): New file.
4398         * libm/mathfp/sf_atan.c (atanf): New file.
4399         * libm/mathfp/sf_atan2.c (atan2f): New file.
4400         * libm/mathfp/sf_atangent.c (atangent): New file.
4401         * libm/mathfp/sf_ceil.c (ceilf): New file.
4402         * libm/mathfp/sf_copysign.c (copysignf): New file.
4403         * libm/mathfp/sf_cos.c (cosf): New file.
4404         * libm/mathfp/sf_cosh.c (coshf): New file.
4405         * libm/mathfp/sf_exp.c (expf): New file.
4406         * libm/mathfp/sf_fabs.c (fabsf): New file.
4407         * libm/mathfp/sf_finite.c (finitef): New file.
4408         * libm/mathfp/sf_floor.c (floorf): New file.
4409         * libm/mathfp/sf_fmod.c (fmodf): New file.
4410         * libm/mathfp/sf_frexp.c (frexpf): New file.
4411         * libm/mathfp/sf_isinf.c (isinff): New file.
4412         * libm/mathfp/sf_isnan.c (isnanf): New file.
4413         * libm/mathfp/sf_ispos.c (isposf): New file.
4414         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4415         * libm/mathfp/sf_log.c (logf): New file.
4416         * libm/mathfp/sf_log10.c (log10f): New file.
4417         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4418         * libm/mathfp/sf_modf.c (modff): New file.
4419         * libm/mathfp/sf_numtest.c (numtestf): New file.
4420         * libm/mathfp/sf_pow.c (powf): New file.
4421         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4422         * libm/mathfp/sf_sin.c (sinf): New file.
4423         * libm/mathfp/sf_sine.c (sinef): New file.
4424         * libm/mathfp/sf_sineh.c (sinehf): New file.
4425         * libm/mathfp/sf_sinh.c (sinhf): New file.
4426         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4427         * libm/mathfp/sf_tan.c (tanf): New file.
4428         * libm/mathfp/sf_tanh.c (tanhf): New file.
4429         * libm/mathfp/zmath.h: New file.
4430
4431 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4432
4433         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4434         exit if it has been overwritten by pre-fetching in delay slot.
4435
4436 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4437
4438         * Makefile.am (tooldir): Add in host_alias, so that multilib
4439         libraries are installed in the directory the compiler looks in.
4440         * Makefile.in: Regenerate.
4441
4442         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4443
4444 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4445
4446         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4447         ahead of test for number of bytes being moved.
4448
4449 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4450
4451         * libc/include/sys/unistd.h: Nothing special needed for
4452         _exit under cygwin.
4453
4454 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4455
4456         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4457         conform to user label naming conventions. 
4458
4459 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4460
4461         * libc/sys/cygwin32/sys/utime.h: variable names in
4462         protos should start with two leading underscores
4463         * libc/include/string.h: ditto
4464         * libc/include/sys/signal.h: ditto
4465         * libc/include/sys/stat.h: ditto
4466         * libc/include/sys/time.h: ditto
4467         * libc/include/sys/unistd.h: ditto
4468         * libc/include/ctype.h: ditto
4469         * libc/include/stdlib.h: ditto
4470         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4471         void, same with _sig_func.
4472
4473 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4474
4475         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4476         for MB_CAPABLE to reduce code size when newlib is not configured
4477         with --enable-newlib-mb.
4478         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4479         mbtowc_r.o to minimize size.
4480         * libc/stdlib/Makefile.in: Rebuild.
4481         
4482 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4483
4484         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4485         to -DREENT.
4486         * libc/sys/sparc64/Makefile.in: Rebuild.
4487         
4488 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4489
4490         * Makefile.am (MAKEOVERRIDES): Define.
4491         * Makefile.in: Rebuild.
4492
4493 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4494
4495         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4496
4497 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4498
4499         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4500         newlib_cflags when looking for targ-include.
4501         * */aclocal.m4, */configure: Rebuild.
4502
4503 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4504
4505         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4506         to "_end".
4507
4508 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4509
4510         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4511         on SPARCs with little-endian data.
4512         * libc/include/machine/ieeefp.h: Ditto.
4513
4514 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4515
4516         * acinclude.m4: Handle a relative srcdir correctly when setting
4517         newlib_cflags.
4518         * */aclocal.m4, */configure: Rebuild.
4519
4520 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4521
4522         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4523         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4524         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4525         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4526         * libm/math/wr_gamma.c (gamma_r): ditto 
4527         * libm/math/wf_sqrt.c (sqrtf): ditto 
4528         * libm/math/wf_sinh.c (sinhf): ditto 
4529         * libm/math/wf_scalb.c (scalbf): ditto 
4530         * libm/math/wf_remainder.c (remainderf): ditto 
4531         * libm/math/wf_pow.c (powf): ditto 
4532         * libm/math/wf_log10.c (log10f): ditto 
4533         * libm/math/wf_log.c (logf): ditto 
4534         * libm/math/wf_lgamma.c (lgammaf): ditto 
4535         * libm/math/wf_jn.c (jnf, ynf): ditto 
4536         * libm/math/wf_j1.c (j1f, y1f): ditto 
4537         * libm/math/wf_j0.c (j0f, y0f): ditto 
4538         * libm/math/wf_hypot.c (hypotf): ditto 
4539         * libm/math/wf_gamma.c (gammaf): ditto 
4540         * libm/math/wf_fmod.c (fmodf): ditto 
4541         * libm/math/wf_exp.c (expf): ditto 
4542         * libm/math/wf_cosh.c (coshf): ditto 
4543         * libm/math/wf_atanh.c (atanhf): ditto 
4544         * libm/math/wf_atan2f.c (atan2f): ditto 
4545         * libm/math/wf_asin.c (asinf): ditto 
4546         * libm/math/wf_acosh.c (acoshf): ditto 
4547         * libm/math/wf_acos.c (acosf): ditto 
4548         * libm/math/w_sqrt.c (sqrt): ditto 
4549         * libm/math/w_sinh.c (sinh): ditto 
4550         * libm/math/w_scalb.c (scalb): ditto 
4551         * libm/math/w_remainder.c (remainder): ditto 
4552         * libm/math/w_pow.c (pow): ditto 
4553         * libm/math/w_log10.c (log10): ditto 
4554         * libm/math/w_log.c (log): ditto 
4555         * libm/math/w_lgamma.c (lgamma): ditto 
4556         * libm/math/w_jn.c (jn, yn): ditto 
4557         * libm/math/w_j1.c (j1, y1): ditto 
4558         * libm/math/w_j0.c (j0, y0): ditto 
4559         * libm/math/w_hypot.c (hypot): ditto 
4560         * libm/math/w_gamma.c (gamma): ditto 
4561         * libm/math/w_fmod.c (fmod): ditto 
4562         * libm/math/w_exp.c (exp): ditto 
4563         * libm/math/w_cosh.c (cosh): ditto 
4564         * libm/math/w_atanh.c (atanh): ditto 
4565         * libm/math/w_atan2f.c (atan2): ditto 
4566         * libm/math/w_asin.c (asin): ditto 
4567         * libm/math/w_acosh.c (acosh): ditto 
4568         * libm/math/w_acos.c (acos): ditto 
4569
4570 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
4571
4572         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4573         (fsrc): Add wf_cabs.c and wf_drem.c.
4574         * libm/math/Makefile.in: Rebuild.
4575
4576         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
4577         unused directory variables.  Remove duplicate CFLAGS.
4578         * Makefile.in: Rebuild.
4579
4580         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4581         with $(CC_FOR_BUILD).
4582         (makedoc.o): Likewise.
4583         * doc/Makefile.in: Rebuild.
4584
4585         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4586         force a definition of COMPILE.
4587         (libfoo_a_SOURCES): Define.
4588         * libc/sys/cygwin32/Makefile.in: Rebuild.
4589         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4590         force a definition of COMPILE.
4591         (libfoo_a_SOURCES): Define.
4592         * libc/sys/tic80/Makefile.in: Rebuild.
4593
4594 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
4595
4596         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4597         flag.
4598
4599 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
4600
4601         * Build using autoconf and automake.  Added many Makefile.am and
4602         configure.in files, plus generated files.  Old configure.in files
4603         and all old Makefile.in files completely replaced.  Removed
4604         host/any.  Added acinclude.m4 and configure.host.
4605
4606 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
4607
4608         * libc/stdio/vfprintf.c: enable long long support, sometimes.
4609         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4610
4611 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4612
4613         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4614         * libc/machine/sh/Makefile.in: Add rules for new files.
4615
4616 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4617
4618         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4619         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4620         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4621
4622 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
4623
4624         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4625         code is ignored.
4626
4627 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4628
4629         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4630         internal static buffer when s is NULL, as prescribed by ANSI.
4631
4632 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
4633
4634         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4635         removed.
4636         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
4637         libc/stdlib will be used for h8300hms.
4638         
4639 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4640
4641         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4642         version that can be built either for speed or size.
4643         * libc/machine/mn10300/memset.S (_memset): ditto
4644         * libc/machine/mn10300/memchr.S (_memchr): ditto
4645         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4646         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4647         * libc/machine/mn10300/strchr.S (_strchr): ditto
4648         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4649         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4650         * libc/machine/mn10300/Makefile.in: Added entries for
4651         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
4652         strcmp.o, strcpy.o, and strlen.o.
4653
4654 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
4655
4656         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4657         been replaced with libgloss/mn10200.
4658
4659 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
4660
4661         * libc/string/strchr.c (strchr): Make s a constant pointer to
4662         avoid warning.
4663
4664 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
4665
4666         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4667         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4668         board SWIs instead of Demon board SWIs).
4669
4670 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
4671
4672         * libc/string/strncat.c (strncat):  Make -Os act the same as
4673         PREFER_SIZE_OVER_SPEED being defined.
4674
4675 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
4676
4677         * libc/string/memchr.c (memchr): Make -Os act the same as
4678         PREFER_SIZE_OVER_SPEED being defined.
4679         * libc/string/memcmp.c (memcmp): Ditto.
4680         * libc/string/memcpy.c (memcpy): Ditto.
4681         * libc/string/memset.c (memset): Ditto.
4682         * libc/string/strcat.c (strcat): Ditto.
4683         * libc/string/strchr.c (strchr): Ditto.
4684         * libc/string/strcmp.c (strcmp): Ditto.
4685         * libc/string/strcpy.c (strcpy): Ditto.
4686         * libc/string/strlen.c (strlen): Ditto.
4687         * libc/string/strncat.c (strncat): Ditto.
4688         * libc/string/strncmp.c (strncmp): Ditto.
4689         * libc/string/strncpy.c (strncpy): Ditto.
4690
4691 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
4692
4693         * libc/include/sys/itimer.h: remove
4694         * libc/include/sys/time.h: itimer stuff should be here
4695
4696 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4697
4698         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4699         bit instead of comparing to 0 so -0.0 can be printed correctly.
4700
4701 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4702
4703         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4704
4705 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
4706
4707         * libc/include/sys/unistd.h: fix sync() proto
4708         * libc/include/sys/fcntl.h: remove _close which is already
4709         defined in unistd.h.
4710         * libc/include/sys/time.h: add getitimer proto
4711
4712 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
4713
4714         * libc/string/strchr.c: convert arg to unsigned char
4715         * libc/include/stdlib.h: add protos for random, srandom
4716         * libc/include/sys/stat.h: add lstat proto
4717         * libc/include/sys/time.h: add setitimer proto
4718         * libc/include/sys/unistd.h: add readlink, symlink protos
4719         * libc/include/process.h: instead of including windows.h and using
4720         HANDLEs in sexec protos, just use void *s.  Need to include
4721         sys/types.h.
4722
4723 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
4724
4725         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4726
4727 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
4728
4729         * libc/include/process.h: add secure exec protos
4730
4731 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
4732
4733         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4734         which are accessed as both doubles and integers.
4735         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4736         * libc/stdlib/strtod.c (_strtod_r): Likewise.
4737         * libc/stdlib/mprec.h: Add "union double_union" and change
4738         word0/word1 macros to use it.
4739
4740 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
4741
4742         * libc/include/sys/signal.h: add __cplusplus wrapper
4743
4744 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
4745
4746         * libc/include/sys/utime.h: new generic file that gets replaced by
4747         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4748         function.
4749         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4750         * libc/include/time.h: remove duplicate utime proto
4751         * libc/include/utime.h: add comment
4752
4753 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
4754
4755         * libc/include/sys/time.h: Add missing include to
4756         allow use of _EXFUN.  Remove times function that is
4757         already defined in times.h.
4758
4759 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
4760
4761         * libc/include/time.h: Fix typo in tzset.
4762
4763 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
4764
4765         * libc/include/sys/time.h: add missing Cygwin32 function protos
4766         * libc/include/sys/unistd.h: ditto
4767         * libc/include/time.h: ditto
4768
4769 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
4770
4771         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4772         FIXME.
4773         * libc/include/sys/types.h: add a new __MS_types__ section
4774         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4775         __BIT_TYPES_DEFINED__.
4776
4777 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
4778
4779         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4780         since it overrides the one in libc/include/sys.  Also, start
4781         including types.h.
4782
4783 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
4784
4785         * libm/math/Makefile.in: add s_signgam.o to obj list
4786
4787 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4788
4789         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4790
4791 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
4792
4793         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4794         so don't use defines.
4795
4796 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
4797
4798         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4799
4800 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
4801
4802         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4803         _current_locale as default locale.
4804
4805 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
4806
4807         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4808         insufficient space in a chunk.
4809
4810 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4811
4812         * configure.in (links): Added check for --enable-newlib-mb configure
4813         option which defines the MB_CAPABLE macro.
4814         * libc/locale/locale.c (_setlocale_r): Added support for setting
4815         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4816         defined.
4817         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4818         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4819         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4820         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4821         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4822         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4823         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4824         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4825         * libc/stdlib/Makefile.in: Added new multibyte
4826         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4827         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4828         _mbstowcs_r(), and _wcstombs_r().
4829         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4830         for JIS, SJIS, and EUC-JP characters.
4831         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4832         MB_CAPABLE defined.
4833         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4834         MB_CAPABLE defined.
4835         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4836         MB_CAPABLE defined.
4837         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4838         if MB_CAPABLE defined.
4839         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4840         if MB_CAPABLE defined.
4841         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4842         to the format string processing when MB_CAPABLE.
4843         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4844         call _mbtowc_r().
4845
4846 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
4847
4848         The following modifications are courtesy of Anthony Thompson,
4849         athompson@cambridge.arm.com:
4850         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4851         boith RDI and RDP monitors.
4852         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4853         RDI and RDP monitors.
4854
4855 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4856
4857         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4858         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4859         (_swiopen): Fixed open flags to treat write with append as just append.
4860         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4861         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4862
4863 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4864
4865         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4866         When needing to transfer an initial 2-byte-word, store as
4867         two single bytes.
4868
4869 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4870
4871         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4872         __SH3E__ .
4873         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4874         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4875
4876 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
4877
4878         * configure.in (target_cflags): If --enable-target-optspace, use
4879         -Os to compile newlib rather than -O2.  Default to using -Os for
4880         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4881         used.
4882
4883 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
4884
4885         * libc/include/machine/setjmp.h: change sigsetjmp and
4886         siglongjmp definitions to use an array instead of a struct
4887         for __CYGWIN32__
4888
4889 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
4890
4891         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4892
4893 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4894
4895         * libc/string/strxfrm.c: fix to get correct return value
4896
4897 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
4898
4899         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4900         builds.  Make mode change labels global so that they will be seen
4901         by the debugger.
4902
4903 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
4904
4905         * configure.in (links): Do not use ARM debiugging protocols for PE
4906         builds.
4907
4908         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4909         message. 
4910
4911 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4912
4913         * libc/stdio/findfp.c (__sinit): Made stdout default to
4914         line buffered mode as defined by ANSI.
4915
4916 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
4917
4918         * libc/include/sys/itimer.h: New file.
4919
4920         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4921
4922 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4923
4924         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4925         failure.
4926
4927 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
4928
4929         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4930         insns.
4931
4932 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
4933
4934         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4935
4936 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
4937
4938         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4939         support.
4940
4941         * libc/include/machine/setjmp.h: Add D30V support.
4942
4943         * configure.in (d30v-*): Add d30v machine directory.
4944
4945 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
4946
4947         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4948         been replaced with libgloss/mn10300.
4949
4950 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
4951
4952         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4953         it is no longer needed.
4954
4955 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4956
4957         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4958
4959 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
4960
4961         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4962         the file when O_APPEND is set, wherever the EOF happens to be at
4963         that time. 
4964
4965 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
4966         
4967         patch from cgf@bbc.com (Christopher Faylor):
4968         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4969         convention of closing fp prior to attempting to open the file
4970         argument.  This allows correct operation when reopening
4971         stdin/stdout/stderr.  Replaces last freopen.c patch.
4972
4973 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
4974
4975         patch from cgf@bbc.com (Christopher Faylor):
4976         * libc/stdio/freopen.c: freopen was not preserving the fd
4977         of the stream being operated on.  This confuses programs that
4978         expect that the handles for stdout and stderr will be 1 and 2.
4979
4980 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
4981
4982         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4983
4984 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
4985
4986         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4987
4988 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4989
4990         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4991         altered to not use a branch.  Also added hint that last
4992         bclr in longjmp will likely result in branch.
4993         
4994
4995 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
4996
4997         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4998
4999 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
5000
5001         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5002         v850 builds.
5003
5004         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
5005
5006 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5007
5008         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5009         that loads FR14 to specify offset of 8 rather than 4
5010         so it loads from offset 96 (where setjmp stored it).
5011
5012 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5013
5014         * libc/machine/sh/memcpy.S: (_memcpy): Update to
5015         latest version supplied by customer.
5016         * libc/machine/sh/memset.S (_memset): Ditto.
5017
5018 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
5019
5020         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5021         PR14730). 
5022
5023 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
5024
5025         * libc/include/string.h: remove redefinition of ffs
5026
5027 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
5028
5029         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5030         defined
5031
5032 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5033
5034         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5035         TI Libraries to link to libc.a
5036         
5037 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
5038
5039         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5040         * libc/include/sys/stat.h (_{,f}stat): Ditto.
5041         * libc/include/sys/wait.h (_wait): Ditto.
5042         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5043         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5044
5045 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
5046
5047         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
5048         minded stabs so function name shows up when running the simulator
5049         with -t.
5050         * libc/sys/d10v/{crt0,trap}.S: Ditto.
5051
5052 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
5053
5054         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
5055         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5056         Use R5 where we used to use R3.
5057         
5058 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
5059
5060         * libc/stdlib/getopt.c (getopt): replaced __progname
5061         with nargv[0] to improve portability to imbedded systems.
5062
5063 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
5064
5065         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5066         patch supplied by Tont.Thompson@arm.com to fix the creation of the
5067         stdout file.
5068
5069 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
5070
5071         * libc/stdio/tmpnam.c (worker): Generate a different file name
5072         each time.
5073
5074         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5075         fails, try an execlp for sh.
5076
5077         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5078         option for the winsup include directory.
5079
5080 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
5081
5082         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5083         debugging interface from Tony.Thompson@arm.com.
5084         
5085         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5086         * libc/sys/arm/swi.h: ditto.
5087
5088 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
5089
5090         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5091         DIR struct used for readdir hashes.
5092
5093 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
5094
5095         * libc/string/strchr.c: Use "unsigned chars" as necessary.
5096
5097 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
5098
5099         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5100         integer targets.
5101
5102 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5103
5104         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5105         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5106         * libc/include/malloc.h: Add extern "C" if __cplusplus.
5107         (__malloc_copy): Declare.
5108
5109 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
5110
5111         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5112         <sys/config.h>.
5113         (POINTER_UINT): Define.
5114         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5115         (MALLOC_ALIGNMENT): Don't define if already defined.
5116         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5117         long.
5118
5119 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
5120
5121         * libc/string/memset.c (memset): Fiddle with code so that the long
5122         value being stored is not a stack value.  Unroll storing longs 4
5123         times.
5124
5125 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
5126
5127         * Reduce code size for libm modules.
5128         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5129         and simply move code into sqrt.
5130         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5131         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5132         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5133         * libm/math/wr_gamma.c (gamma_r): Likewise.
5134         * libm/math/wf_sinh.c (sinfh): Likewise.
5135         * libm/math/w_sinh.c (sinh): Likewise.
5136         * libm/math/wf_scalb.c (scalbf): Likewise.
5137         * libm/math/w_scalb.c (scalb): Likewise.
5138         * libm/math/wf_remainder.c (remainderf): Likewise.
5139         * libm/math/w_remainder.c (remainder): Likewise.
5140         * libm/math/wf_pow.c (powf): Likewise.
5141         * libm/math/w_pow.c (pow): Likewise.
5142         * libm/math/wf_log10.c (log10f): Likewise.
5143         * libm/math/w_log10.c (log10): Likewise.
5144         * libm/math/wf_log.c (logf): Likewise.
5145         * libm/math/w_log.c (log): Likewise.
5146         * libm/math/w_lgamma.c (lgamma): Likewise.
5147         * libm/math/wf_lgamma.c (lgammaf): Likewise.
5148         * libm/math/wf_jn.c (jnf): Likewise.
5149         * libm/math/w_jn.c (jn): Likewise.
5150         * libm/math/wf_j1.c (j1f): Likewise.
5151         * libm/math/w_j1.c (j1): Likewise.
5152         * libm/math/wf_j0.c (j0f): Likewise.
5153         * libm/math/w_j0.c (j0): Likewise.
5154         * libm/math/wf_hypot.c (hypotf): Likewise.
5155         * libm/math/w_hypot.c (hypot): Likewise.
5156         * libm/math/wf_gamma.c (gammaf): Likewise.
5157         * libm/math/w_gamma.c (gamma): Likewise.
5158         * libm/math/wf_fmod.c (fmodf): Likewise.
5159         * libm/math/w_fmod.c (fmod): Likewise.
5160         * libm/math/wf_exp.c (expf): Likewise.
5161         * libm/math/w_exp.c (exp): Likewise.
5162         * libm/math/wf_cosh.c (coshf): Likewise.
5163         * libm/math/w_cosh.c (cosh): Likewise.
5164         * libm/math/wf_atanh.c (atanhf): Likewise.
5165         * libm/math/w_atanh.c (atanh): Likewise.
5166         * libm/math/wf_atan2.c (atan2f): Likewise.
5167         * libm/math/w_atan2.c (atan2): Likewise.
5168         * libm/math/wf_asin.c (asinf): Likewise.
5169         * libm/math/w_asin.c (asin): Likewise.
5170         * libm/math/wf_acosh.c (acoshf): Likewise.
5171         * libm/math/w_acosh.c (acosh): Likewise.
5172         * libm/math/wf_acos.c (asocf): Likewise.
5173         * libm/math/w_acos.c (acos): Likewise.
5174         * libm/math/wf_sqrt.c (sqrtf): Likewise.
5175         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5176         for embedded systems.
5177
5178 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
5179
5180         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5181         Lea in case of a foreign sbrk.
5182
5183 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
5184
5185         Incorporate Doug Lea's malloc:
5186         * libc/stdlib/mallocr.c: Completely replaced.
5187         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5188         (realloc): Remove.
5189         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5190         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5191         mallopt.
5192         (mallinfo, malloc_stats, mallopt): New functions.
5193         (_mstats_r): Just call _malloc_stats_r.
5194         * libc/stdlib/malign.c: New file.
5195         * libc/stdlib/mlock.c: New file.
5196         * libc/stdlib/msize.c: New file.
5197         * libc/stdlib/mtrim.c: New file.
5198         * libc/stdlib/realloc.c: New file.
5199         * libc/stdlib/valloc.c: New file.
5200         * libc/stdlib/malloc.h: Remove.
5201         * libc/stdlib/callocr.c: Remove.
5202         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5203         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5204         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5205         reallocr.o, valloc.o, vallocr.o.
5206         (CHEWOUT_FILES): Add mlock.def, mstats.def.
5207         (MALLOC_CFLAGS): New variable.
5208         (mallocr.o): New target, build from mallocr.c.
5209         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5210         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5211         (msizer.o, malloptr.o): Likewise.
5212         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5213         (valloc.o): New target.
5214         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5215         * libc/include/malloc.h: Declare struct mallinfo, and new
5216         routines.
5217         * libc/include/stdlib.h (cfree): Correct declaration.
5218
5219 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
5220
5221         * libc/include/machine/setjmp.h: Add support for Thumb target.
5222
5223         * libc/include/machine/ieeefp.h: Add support for Thumb target.
5224
5225         * configure.in (links): Add support for Thumb target.
5226
5227 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
5228
5229         * libc/sys/arm/setjmp.S: Updated with version from branch.
5230
5231 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
5232
5233         * libc/include/stdio.h: add POSIX-required define L_ctermid
5234         for ctermid
5235
5236 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
5237
5238         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5239         addition to MISSING_SYSCALL_NAMES.
5240
5241 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5242
5243         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
5244
5245 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
5246
5247         * libc/include/string.h: change strsignal proto to return
5248         a char *.  This eliminates compile problems in gdb resulting
5249         from gdb's definition of strsignal in defs.h.
5250
5251 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
5252
5253         * libc/sys/cygwin32/sys/utime.h: new (moved here from
5254         winsup/include) so as not to conflict with the one in
5255         libc/include.
5256         * libc/include/string.h: add protos for strsignal, strtosigno
5257
5258 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
5259
5260         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5261
5262         * configure.in (d30v-*-*): Add configuration.
5263
5264 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
5265
5266         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5267         to select which kind of debug monitor is in use for an ARM target.
5268
5269         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5270         Angel and Demon debug monitors.  Part of this code was supplied by
5271         Tony Thompson at ARM: athompso@arm.com.
5272
5273 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
5274
5275         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5276         semantics when the count is greater than the length of the second
5277         source string.
5278
5279 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
5280
5281         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5282         * libc/include/sys/unistd.h: add protos for usleep, truncate,
5283         truncate and ftruncate take off_t, not size_t
5284
5285 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
5286
5287         * libc/string/strcat.c (strcat): Add missing comment end.
5288         * libc/string/strncat.c (strncat): Likewise.
5289
5290 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
5291
5292         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5293         targets. 
5294         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
5295         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5296         defined.  
5297         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5298         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5299         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5300
5301 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
5302
5303         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5304         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5305
5306 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
5307
5308         * libc/machine/i386/setjmp.S: New file.
5309         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5310         (OFILES): Add setjmp.o.
5311         (setjmp.o): Add rule for.
5312         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5313
5314 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
5315                          Jeffrey A Law  (law@cygnus.com)
5316
5317         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5318         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5319         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5320         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5321
5322 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
5323
5324         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5325         rules. 
5326
5327         * libc/include/sys/config.h: Use __v850 to select v850
5328         endianness. 
5329
5330         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5331         buffer size.
5332
5333         * libc/include/machine/ieeefp.h: Use __v850 to select v850
5334         endianness. 
5335
5336 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
5337
5338         * libc/stdlib/setenv.c: change unsetenv definition to match
5339         style of setenv (with _DEFUN).  The string should be a const.
5340         * libc/include/stdlib.h: unsetenv proto should return void.
5341
5342 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
5343
5344         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5345
5346 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
5347
5348         * libc/stdio/glue.h: remove.
5349         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5350         * libc/stdio/Makefile.in: remove glue.h dependencies
5351
5352 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
5353
5354         * libc/sys/sysnecv850/crt0.S: Created V850e version.
5355         
5356 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
5357
5358         * configure.in (target_cpu): Add `arc'.
5359
5360 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
5361
5362         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
5363           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5364         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5365         * newlib/libc/reent/reent.c: Add _wrapup_reent.
5366         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5367
5368 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
5369
5370         * libc/machine/mips/setjmp.S: Handle mips16 builds.
5371
5372 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5373
5374         * libc/include/stdio.h (siprintf): Declare.
5375
5376 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
5377
5378         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5379         TARGET_CFLAGS and NEWLIB_FLAGS.
5380
5381 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5382
5383         * configure.in (links): Add support for v850ea target.
5384
5385 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5386
5387         * configure.in (links): Add support for v850e target.
5388
5389 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
5390
5391         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5392
5393 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
5394
5395         * configure.in (arc-*-*): Add support for.
5396         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5397
5398 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5399
5400         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5401
5402 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
5403
5404         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5405         comparison which accesses invalid memory when the key is
5406         larger than the last member of the array.
5407         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5408         for CYGWIN32
5409         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5410
5411 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5412
5413         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5414         not _STRICT_ANSI.
5415
5416 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
5417
5418         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5419         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5420
5421 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
5422
5423         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5424         to load/store memory.
5425
5426 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
5427
5428         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5429         underscores if _WIN32.
5430
5431 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
5432
5433         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5434         support ifdef _USE_WRITE missed in last change.
5435         From Anders Blomdell <anders.blomdell@control.lth.se>.
5436
5437 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5438
5439         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5440         (_tmpnam_r, _tempnam_r): Update.
5441
5442 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5443
5444         * libc/machine/sparc/setjmp.S: New file.
5445         * libc/machine/sparc/Makefile.in: Add setjmp.
5446         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5447
5448 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5449
5450         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5451
5452 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5453
5454         From Joel Sherrill <joel@oarcorp.com>.
5455         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5456
5457         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5458         * configure.in: Recognize *-*-rtems*.
5459         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5460         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5461         time.h,times.h,types.h}: New files.
5462         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5463
5464 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5465
5466         patch from sos@prospect.com.ru (Sergey Okhapkin):
5467         * include/sys/wait.h: correct operator precidence bug
5468         in WIFSIGNALED
5469
5470 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5471
5472         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5473         with newlib's unsetenv function
5474         * libc/sys/cygwin32/sys: new directory for includes
5475         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5476         here from winsup/include/sys
5477
5478 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5479
5480         * libc/include/sys/unistd.h: _exit should only be
5481         labelled noreturn when not __CYGWIN32__
5482         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5483         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5484         increment NSIG
5485
5486 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5487
5488         * libc/include/sys/time.h: Only define timeval and timezone if
5489         _GNU_H_WINDOWS32_SOCKETS is not defined.
5490         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5491
5492 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5493
5494         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5495         * libc/machine/mn10300/setjmp.S: Likewise.
5496
5497         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5498         the mn10300 (more relaxing opportunities).
5499
5500 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5501
5502         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5503         Build libraries with -mstrict-align.
5504
5505 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5506
5507         * libc/string/strlwr.c: New file.
5508         * libc/string/strupr.c: New file.
5509         * libc/include/string.h: Declare strlwr and strupr.
5510         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5511         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5512         (strlwr.o, strupr.o): New targets.
5513         * libc/string/strings.tex: Include strlwr and strupr docs.
5514
5515         * libc/include/sys/types.h: Don't define u_char, et. al., if
5516         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5517         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5518         _types_fd_set rather than fd_set, and define fd_set as a macro.
5519
5520         * libc/include/malloc.h: New file.
5521
5522         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5523         strnicmp if they are not already defined.
5524
5525         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5526         _timezone, _daylight, and _tzname.
5527
5528 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5529
5530         * configure.in: Sort all configuration tables.
5531
5532         From Joel Sherrill <joel@oarcorp.com>
5533         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5534
5535 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5536
5537         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5538         use int when declaring kill.
5539
5540         * libc/include/sys/timeb.h: New file.
5541
5542 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5543
5544         * libc/include/sys/time.h: add itimer support for Cygwin32
5545
5546 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5547
5548         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5549         out a message that abort was called to stderr.
5550
5551 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5552
5553         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5554         so that libio doesn't freak.
5555
5556         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5557         int.
5558
5559         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5560         memory sizes, not int.
5561
5562 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
5563
5564         * libm/math/ef_hypot.c: Use long constants where
5565         appropriate.
5566         * libm/math/ef_sqrt.c: Ditto.
5567
5568         * libc/sys/sysmec/times.c(_times): Change to times.
5569
5570         * libc/sys/sysmec/read.c(_read): The third argument is
5571         size_t.
5572         * libc/sys/sysmec/write.c (_write): Ditto.
5573
5574         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5575         (_lseek): It's off_t for the second argument.
5576
5577 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
5578
5579         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5580         as well as machine/ieeefp.h.
5581
5582 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
5583
5584         * libc/include/sys/signal.h: add signal protos for winsup
5585         functions (when __CYGWIN32__), include types.h
5586         * libc/include/sys/types.h: Change __go32_types__ internal
5587         define to __MS_types__ since it's used for more than just
5588         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
5589         defined.
5590         * libc/include/sys/unistd.h: add ftruncate proto for
5591         winsup functions (when __CYGWIN32__)
5592
5593 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5594
5595         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5596
5597 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
5598
5599         * libc/include/machine/setjmp.h: Add tic80 support.
5600         * libc/machine/tic80/setjmp.S: Likewise.
5601
5602 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
5603
5604         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5605         link programs from libraries only (such as in the X11
5606         distribution)
5607
5608 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
5609
5610         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5611         supplied elsewhere in newlib.
5612
5613 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
5614
5615         * Makefile.in (INSTALL): Change install.sh to install-sh.
5616
5617 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5618
5619         * README: update WWW address for on-line documentation.
5620
5621 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
5622
5623         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5624         increment NSIG
5625
5626 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
5627
5628         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5629         mn10300.
5630         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5631
5632 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
5633
5634         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5635         * libc/sys/d10v/syscalls.c: Likewise.
5636         * libc/sys/h8300hms/sbrk.c: Likewise.
5637         * libc/sys/h8500hms/syscalls.c: Likewise.
5638         * libc/sys/m88kbug/syscalls.c: Likewise.
5639         * libc/sys/sh/syscalls.c: Likewise.
5640         * libc/sys/sysmec/sbrk.c: Likewise.
5641         * libc/sys/sysnecv850/sbrk.c: Likewise.
5642         * libc/sys/w65/syscalls.c: Likewise.
5643         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5644
5645 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
5646
5647         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5648         emulated syscall instead of "trap".
5649
5650 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
5651
5652         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5653         not trap 0.
5654
5655 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
5656
5657         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5658
5659 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
5660
5661         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5662         not "sh".
5663         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5664         not "d10v".
5665         * libc/sys/tic80/crt0.c: New file for TIc80.
5666         * libc/sys/tic80/Makefile.in: New file for TIc80.
5667         * libc/machine/tic80/Makefile.in: New file for TIc80.
5668
5669 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
5670
5671         * libc/machine/sh/memcpy.S: New file.
5672         * libc/machine/sh/memset.S: New file.
5673         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5674
5675 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
5676
5677         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5678         for TIc80.
5679
5680 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
5681
5682         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5683         the mn10200.
5684
5685 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
5686
5687         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5688         (patch from andrew@pogo.WV.TEK.COM).
5689
5690 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
5691
5692         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5693         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5694
5695 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
5696
5697         * configure.in:  Add cases for "tic80" to set machine_dir,
5698         sys_dir, and syscall_dir.
5699
5700 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
5701
5702         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5703
5704 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
5705
5706         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5707
5708 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
5709
5710         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5711         Use proper constant prefix.
5712
5713 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
5714
5715         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5716         that loses on the mn10200 where ints and pointers are different
5717         sizes.
5718
5719 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
5720
5721         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5722         target as signal is provided in winsup.
5723
5724 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
5725
5726         * libc/include/sys/process.h: Corrected const definitions
5727         in spawn functions. Added cwait.
5728
5729 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
5730
5731         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5732         doubles.
5733         * libc/include/sys/config.h: Similarly.
5734
5735 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5736
5737         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5738         target_cflags.
5739         (i[3456]86-*-sco*): Ditto.
5740
5741         * libc/signal/Makefile.in (OFILES): Add signal.o.
5742         (CFILES): Add signal.c.
5743
5744         * libc/signal/raise.c (_raise_r): Only compile code if
5745         SIGNAL_PROVIDED is defined.
5746
5747         * libc/signal/signal.c: Redo whole file so that it works with
5748         current newlib.  Use _kill_r if no signal handler provided.
5749
5750         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5751         signal stubs.
5752         * libc/sys/sysvnecv70/Makefile.in: Ditto.
5753         * libc/sys/sysnecv850/Makefile.in: Ditto.
5754
5755         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5756         * libc/sys/sysmec/{raise,signal}.c: Ditto.
5757         * libc/sys/sysvnecv70/signal.s: Ditto.
5758         * libc/sys/sysnecv850/raise.c: Ditto.
5759
5760         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5761         simulator and debugger can tell the difference between a signal
5762         being raised and an exit system call.
5763
5764         * NEWS: Document software signals being provided.
5765
5766 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5767
5768         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5769         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
5770         include/sys/config.h.
5771         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5772         Change from 'inpure_data'.
5773         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
5774         &impure_data, not &inpure_data.
5775
5776         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5777         and and System V ABI, define so that _impure_ptr lives in the
5778         .sdata section.
5779
5780 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5781
5782         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5783         nothing if not defined.
5784         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5785         its attributes.
5786
5787         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
5788
5789 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
5790
5791         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5792         * libc/sys/sysmec/trap.s: Handle mn10200 too.
5793         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5794
5795 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
5796
5797         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5798
5799 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
5800
5801         * libc/include/sys/errno.h: Added net errno's.
5802
5803 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5804
5805         * libc/misc/ffs.c: New file to support ffs function for GCC test
5806         gcc.c-torture/execute/960909-1.c.
5807
5808         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5809
5810 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
5811
5812         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5813         * libc/sys/sysmec/trap.S: Likewise.
5814
5815 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
5816
5817         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5818         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5819
5820 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
5821
5822         * libc/sys/sysmec/signal.c: Dummy file.
5823         * libc/sys/sysmec/Makefile.in: Build it.
5824
5825 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
5826
5827         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5828         mips16.
5829
5830 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
5831
5832         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5833         c-startup and simulator traps.
5834
5835
5836         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5837         * libc/sys/sysmec/trap0.S: Likewise.
5838
5839 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5840
5841         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5842         round to double word alignment.
5843         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5844         byte alignment.
5845
5846         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5847
5848         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5849         out of memory.
5850
5851 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
5852
5853         * configure.in: Handle mn10200 and mn10300.
5854         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5855         * libc/include/sys/config.h: Likewise.
5856         * libc/sys/sysmec: New directory for mec stuff.
5857         * libc/machine/mn10300: New directory for mn10300 stuff.
5858         * libc/machine/mn10200: Similarly for mn10200 stuff.
5859
5860 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
5861
5862         * libc/sys/arm/crt0.S: Use .text, not .section .text.
5863         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5864
5865         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5866         (nlink_t): Change type from unsigned int to unsigned short.
5867         (mode_t): Ensure size is 32 bits even if int is 16.
5868         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5869         (st_spare[123]): Change type from int to long.
5870
5871 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5872
5873         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5874         byte boundary.
5875
5876         * configure.in (d10v*): Define SMALL_MEMORY.
5877
5878 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5879
5880         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5881         -mrelocatable-lib and -mno-eabi flags.
5882
5883 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
5884
5885         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5886         Fix handling of mis-aligned source operand when both the
5887         destination & length are properly aligned.
5888         
5889 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
5890
5891         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5892         times.o, time.o and gettime.o
5893         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5894         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5895         SYS_gettimeofday.
5896
5897 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
5898
5899         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5900         * libc/sys/sysnecv850/access.c: New file.
5901
5902 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
5903
5904         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5905
5906         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5907         long.
5908
5909 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
5910
5911         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5912
5913 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
5914
5915         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5916         * libc/include/sys/config.h: Add m32r support.
5917
5918 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
5919
5920         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
5921         here.
5922
5923 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
5924
5925         * libc/include/machine/setjmp.h: Add D10v support.
5926
5927 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
5928
5929         * configure.in: Configure the "libc/syscalls" directory for
5930         the v850.
5931
5932         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5933         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5934         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5935         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5936         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5937
5938 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
5939
5940         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
5941         stack for args for main and other routines.  Zero out args for
5942         main.
5943
5944         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
5945         correctly.
5946
5947 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5948
5949         * libc/stdio/findfp.c (std): Remove extraneous ';' after
5950         function.
5951
5952         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5953
5954         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5955         real system calls now.
5956
5957         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5958         before casting them to int.
5959         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5960
5961         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5962         aligning pointer.
5963         * libc/string/memset.c (memset): Ditto.
5964         
5965         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5966         first convert ints to _POINTER_INT to eliminate GCC warning.
5967
5968         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5969         processing %p.
5970
5971         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5972         from 65000 if ints are only 16 bits.
5973
5974         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5975         from 50000 if ints are only 16 bits.
5976
5977         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5978         int type that is the same size as a pointer.
5979
5980         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5981         processing %p.
5982         (get_number): Explicitly cast number to long before shifting by 16
5983         or 24, in case ints are short.
5984
5985         * libc/include/sys/config.h (_POINTER_INT): Define as short.
5986
5987 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
5988
5989         * libc/string.h: Added ffs, removed swab.
5990         * libc/sys/errno.h: Added EOPNOTSUPP.
5991         * libc/sys/unistd.h: Added swab.
5992
5993 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
5994
5995         * libc/include/sys/stat.h: Added fchmod.
5996         * libc/include/sys/unistd.h: Added fsync.
5997
5998 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
5999
6000         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6001         and ECONNRESET (104) for cygwin32.
6002
6003 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
6004
6005         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6006         do the static destructors.
6007         
6008 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
6009
6010         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
6011
6012 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
6013
6014         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6015         * configure.in: Recognize m32r-*-*.
6016
6017 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
6018
6019         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6020         __rt_stkovf_split_small): Added default software stack overflow
6021         handlers, which just call SWI_Exit.
6022         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6023         limit initialisation.
6024
6025 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
6026
6027         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6028
6029 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
6030
6031         * libc/include/sys/types.h: Added ssize_t definition.
6032         
6033 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6034
6035         * libc/machine/d10v/setjmp.S: Use ';' for comments.
6036         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6037
6038         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6039         branch around a single ldi instruction.
6040
6041         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6042         Call exit, instead of just issuing a stop instruction.
6043
6044 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6045
6046         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6047
6048 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6049
6050         * libc/stdlib/mprec.h: Explicitly declare all large constants as
6051         longs, and then cast them to __uint32_t.
6052
6053         * libc/include/sys/config.h: Protect against multiple inclusions.
6054
6055 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
6056
6057         * configure.in (d10v*): Set syscall_dir.
6058
6059 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
6060
6061         * libc/sys/d10v/crt0.S: Set stack pointer.
6062
6063 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
6064
6065         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6066         in assembly for efficiency.  Change calling convention to allow
6067         long ints to be returned.
6068
6069 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6070
6071         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6072
6073 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
6074
6075         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6076         Handle empty entries in $PATH.
6077
6078 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
6079
6080         * libc/machine/d10v/setjmp.S: Make it really work.
6081
6082 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
6083
6084         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6085         the .stack section.
6086
6087 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
6088
6089         * sys/sysnecv850/sys/file.h: Remove.
6090         * sys/sysnecv850/sys/syscall.h: New file.
6091         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6092         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6093         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6094         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6095         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6096         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6097         * sys/sysnec850/trap.S: New file.
6098         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6099         syscalls.
6100         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6101         * sys/sysnec850/sbrk.c: New version.
6102
6103 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
6104
6105         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
6106         as long as r6 is less than r7.
6107
6108 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
6109
6110         * Makefile.in (mostlyclean): Separate from clean target.  Don't
6111         remove *.a or targ-include.
6112         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6113
6114 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6115
6116         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6117         d10v.
6118         (__SMALL_BITFIELDS): Ditto.
6119
6120         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6121
6122 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
6123
6124         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6125         prefix.
6126
6127         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6128         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6129         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6130         * libc/sys/sysnecv850/write.c (write): Likewise.
6131
6132         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6133         .bss.
6134
6135 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6136
6137         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6138         appropriately for D10V, depending on -mint16/-mint32.
6139
6140 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
6141
6142         * configure.in: Add cases for D10V.
6143
6144 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6145
6146         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6147
6148 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
6149
6150         * libc/include/machine/ieeefp.h: Fix typo.
6151
6152 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
6153
6154         * libc/sys/d10v: New directory for D10V stuff.
6155         * libc/include/machine/ieeefp.h: Add D10V defines.
6156
6157 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
6158
6159         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6160         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6161         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6162         * libc/string/strerror.c (strerror): Add them.
6163
6164 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
6165
6166         * libc/sys/sysnecv850: New directory for v850 stuff.
6167
6168         * libc/machine/v850: New directory for v850 stuff.
6169         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6170
6171         * configure.in: Add support for the v850.
6172
6173         * libc/include/machine/ieeefp.h: Add v850 defines.
6174         * libc/include/machine/setjmp.h: Likewise.
6175         * libc/include/sys/config.h: Add v850 defines.
6176
6177 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
6178
6179         * libc/include/machine/ieeefp.h
6180         * libc/include/machine/setjmp.h
6181         * libc/include/sys/fcntl.h
6182         * libc/include/sys/signal.h
6183         * libc/include/sys/types.h
6184         * libc/stdlib/system.c:
6185         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6186         API availability, __CYGWIN32__ for cygwin32 environment specific).
6187
6188 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
6189
6190         * libc/include/stdlib.h: add multibyte character functions.  Add
6191         __eprintf for assert.
6192
6193 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6194
6195         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6196         arithmetic or __alignof__ to properly get the alignment, instead
6197         of hardwiring it to 4.
6198
6199 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
6200
6201         * libc/stdio/fseek.c: add fflush call to adjust seek offset
6202         on append stream (fix from NetBSD sources), adjust curoff offset
6203         for ungetc's benefit.
6204         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6205         * libc/stdio/rewind.c: replace code with up to date NetBSD
6206         code to undo hacks made to work around above problem of not
6207         having fflush call mentioned above
6208
6209 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6210
6211         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6212         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6213         Partially revert last changes.  The thread specific errno is set
6214         iff if the underlying syscall fails and the global errno is not
6215         zero.
6216
6217 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6218
6219         * libc/reent/filer.c: Removed files, all functions have split out
6220         into their own files.
6221         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
6222         New files containing functions formally in filer.c
6223         * libc/reent/Makefile.in: Updated for above change.
6224
6225         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6226         syscall fails, not if errno is changed.
6227         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
6228         _write_r): Likewise.
6229         * libc/reent/fstatr.c (_fstat_r): Likewise.
6230         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6231         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6232         * libc/reent/signalr.c (_kill_r): Likewise.
6233         * libc/reent/statr.c (_stat_r): Likewise.
6234         * libc/reent/timer.c (_gettimeofday_r): Likewise.
6235
6236         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6237         signalr.c, statr.c, timer.c} (errno): declare extern rather
6238         than as a common.
6239
6240         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6241         instead of calling vfprintf so that i*printf will not require
6242         floating point support code.
6243         
6244 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
6245
6246         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6247         path delimiter.
6248         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6249         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6250
6251 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
6252
6253         * libc/include/signal.h: _sig_func_ptr function takes an int
6254         * libc/include/sys/signal.h: sa_handler function takes an int
6255
6256 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
6257
6258         * libc/include/machine/ieeefp.h: Simplify H8/S support.
6259         * libc/include/sys/config.h: Add missing H8/S conditional.
6260
6261 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
6262
6263         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6264
6265 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
6266
6267         * libc/include/machine/setjmp.h: Handle H8/S.
6268         * libc/include/machine/ieeefp.h: Likewise.
6269         * libc/include/sys/config.h: Likewise.
6270         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6271         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6272         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6273         * libc/sys/h8300hms/crt0.S: Likewise.
6274
6275 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6276
6277         * Makefile.in (datadir): Set to $(prefix)/share.
6278         (oldincludedir, docdir): Removed.
6279         * doc/Makefile.in (datadir): Set to $(prefix)/share.
6280         (oldincludedir, docdir): Removed.
6281         * libc/Makefile.in (datadir): Set to $(prefix)/share.
6282         (oldincludedir, docdir): Removed.
6283         * libm/Makefile.in (datadir): Set to $(prefix)/share.
6284         (oldincludedir, docdir): Removed.
6285
6286 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
6287
6288         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6289         _reent struct.
6290
6291 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
6292
6293         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
6294         fetch current path rules with sysconf and handler posix/win32
6295         appropriately.
6296
6297         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6298
6299         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6300         (WAIT_CHILD): Always define.
6301
6302 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
6303
6304         * libc/stdlib/eprintf.c: New file.
6305         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6306         (eprintf.o): New target.
6307
6308 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
6309
6310         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6311         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6312
6313 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
6314
6315         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6316         NT in PowerPC endianess cases.
6317
6318 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6319
6320         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6321
6322 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6323
6324         * libc/string/strtok.c: Fix doc typo.
6325
6326 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6327
6328         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6329         _next, _scanpoint, _signgam fields.
6330
6331         * libc/include/stdlib.h (rand_r): Added new declaration.
6332         (_rand_r, _srand_r): Removed declarations.
6333         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6334         have been made obsolete by rand_r.
6335         * libc/stdlib/rand_r.c: New file, rand_r function as specified
6336         by POSIX.1c.
6337         
6338         * libc/string/strtok.c: Update documentation to describe
6339         strtok_r().
6340
6341 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
6342
6343         * libc/include/sys/stat.h (stat structure): Use the expanded stat
6344         structure on Solaris, and PowerPC systems even though __svr4__ is
6345         defined.
6346
6347 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6348
6349         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6350
6351 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6352
6353         * host/any: Use ../.. rather than .. to get to the main build
6354         directory.  This matches the current layout of the build
6355         directory.
6356
6357 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
6358
6359         * libc/machine/h8300/__main.S: Delete.  No longer needed.
6360         * libc/machine/h8300/Makefile.in: Corresponding changes.
6361         * libc/sys/h8300hms/crt1.c: New file.
6362         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6363         * libc/sys/h8300hms/crt0.s: Call __main.
6364
6365         * libc/sys/h8300hms/crt0.S: Use temporary label names
6366         for branch targets.
6367
6368 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
6369
6370         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6371
6372 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6373
6374         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6375         .sdata on the PowerPC so that we can link newlib with code
6376         compiled with -msdata.
6377
6378 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
6379
6380         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6381
6382 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
6383
6384         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6385         exception handler to __cygwin_exception_handler.
6386
6387 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
6388
6389         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6390
6391 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
6392
6393         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6394         SunOS VPATH.
6395         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6396         wcstombs.o): Likewise.
6397
6398 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
6399
6400         * libc/stdlib/environ.c (initial_env): New static local.
6401         (environ): Point to `initial_env'.
6402
6403         * libc/include/machine/setjmp.h: Clean up.
6404         (__H8300H__,__PPC__): Define _JBTYPE.
6405         (__arm__): Provide entry for.
6406         (sigjmp_buf): Delete.
6407         (jmp_buf): Use _JBTYPE if defined, otherwise int.
6408
6409 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
6410
6411         * libc/machine/h8300/strcmp.S: Sign extend the result to
6412         32bits so we don't lose with -mint32.
6413
6414 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
6415
6416         * libc/sys/go32/sys/errno.h: New file.
6417         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6418         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6419         errno's address (make compatible with rest of newlib).
6420         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6421         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6422
6423 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6424
6425         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6426         * libc/machine/sparc/Makefile.in: Build them.
6427         * libc/machine/sparc/machine/sparclet.h: New file.
6428
6429 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6430
6431         * libc/machine/sh/asm.h: New file.
6432         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6433         support for SH3e's FP registers.  Use asm.h.
6434
6435 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6436
6437         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6438         as first argument.  Call _dtoa_r and pass the reent structure
6439         instead of calling __dtoa.
6440
6441 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6442
6443         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6444         the h8300, h8500, and others.  Add comments for some rather
6445         dubious code.
6446
6447 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6448
6449         * Makefile.in (check): Check that testsuite exists before cd.
6450
6451 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6452
6453         * libc/include/string.h (strsep): Correct prototype.
6454
6455 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6456
6457         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6458         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6459         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6460
6461 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6462
6463         * libc/posix/{creat.c,isatty.c}: New files.
6464         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6465
6466         * libc/sys/sparc64/crt0.S (environ): Delete.
6467         (.LHaveBias): Renamed from HaveBias.
6468
6469 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6470
6471         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6472         (_morecore_r): Delete SBRK_IS_ALLOC support.
6473
6474 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6475
6476         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6477         module rather than touch, so we don't get warning messages when
6478         all of the libraries are combined into libc.a.
6479
6480 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6481
6482         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6483         crt0.s replaced by version in libgloss.
6484
6485 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6486
6487         * libc/reent/Makefile.in (OFILES): Add impure.o.
6488         * libc/reent/impure.o: New file, define initial reentrancy struct.
6489         * libc/reent/reent.c: Remove above definition.
6490
6491         * libm/math/sf_asinh.c: Fix typo.
6492
6493         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6494         srf_ldexp.o.
6495         
6496         * libm/libm.texinfo: Change documentation to reflect changes
6497         in reentrancy model.
6498         * libm/math/w_gamma.c: Likewise.
6499
6500 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6501
6502         * configure.in (*-*-cygwin32): New.
6503         (*-*-win32): Deleted.
6504         * libc/sys/win32 renamed libc/sys/cygwin32.
6505
6506 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6507
6508         * libc/include/sys/file.h: New include file.
6509
6510 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6511
6512         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6513
6514 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6515
6516         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6517
6518 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6519
6520         * doc/makedoc.c (realloc): Declare at file scope.
6521         (catchar): Not here.
6522
6523 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6524
6525         * Makefile.in (VERSION): Update to 1.7.0.
6526         * {libc,libm}/Makefile.in (VERSION): Likewise.
6527         * configure.in: Minor clean up of multilib stuff.
6528
6529         From David Johnson <davidj@ICSI.Berkeley.EDU>
6530         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6531
6532         * libc/stdlib/environ.c: New file.
6533         * libc/stdlib/Makefile.in (OFILES): Build it.
6534         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6535         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6536         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6537         * libc/sys/netware/environ.c: Deleted.
6538
6539 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6540
6541         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6542
6543 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6544
6545         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6546         declaration out to external scope and declare it PTR, not char *.
6547
6548 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6549
6550         * libc/include/sys/unistd.h (getpagesize): New declaration.
6551         (_SC_PAGESIZE): New definition.
6552         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6553         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6554
6555 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6556
6557         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6558         addressing. System call returns size, not (last address + 1).
6559
6560 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6561
6562         * libm/math/*.c: Removed _foo_r() reentrancy API.
6563         * libc/include/math.h: Removed _foo_r prototypes and macros.
6564
6565         * libm/math/*.c: On systems with IEEE single precision "doubles" 
6566         move foo() -> foof() wrapper code from the files that implement
6567         the standard IEEE double precision functions to the files that 
6568         implement IEEE single precision functions. (ie. On those systems
6569         sin is moved from s_sin.c to sf_sin.c).  There should eventually
6570         be use of a C extension (like gcc's alias attribute) so that the
6571         wrappers are not needed at all.
6572
6573         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6574         strict NEC V810 compiler.
6575         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6576         for same reason.
6577
6578 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6579
6580         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6581         from NetBSD C library.
6582         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6583
6584         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
6585         and adapted from implementation I wrote for NetBSD C library.
6586         The difference is __assert doesn't take a format argument,
6587         so that there won't be multiple copies of the same string
6588         constant in the executable if assertions are enabled in
6589         more than one source module.
6590         * libc/include/assert.h (assert): Changed to call __assert.
6591
6592 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6593
6594         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6595         word1 on systems with 32 bit doubles.
6596         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6597         so that we can do arithmetic on them.
6598         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6599         compilers.
6600         
6601 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6602
6603         * libc/sys/arm/crt0.S: Zero bss.
6604
6605 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
6606
6607         * libc/include/unctrl.h: New file.
6608         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6609         * configure.in (subdirs): Add libc/misc.
6610         * libc/Makefile.in (SUBDIRS): Add misc.
6611         (SUBLIBS): Add misc/lib.a.
6612
6613         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6614
6615 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
6616
6617         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6618         (_vfprintf_r): Call CHECK_INIT.
6619
6620 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
6621
6622         * Makefile.in (MULTITOP): Delete.
6623         (MULTISRCTOP, MULTIBUILDTOP): Add.
6624         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
6625         instead of cfg-ml-pos.in.
6626
6627 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6628
6629         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6630         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6631         presence.
6632
6633 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
6634
6635         * libc/string/strtok.c: Include string.h to pick up strtok_r
6636         prototype.
6637
6638 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6639
6640         * libc/string/strtok.c: include <_ansi.h>.
6641         * libc/time/asctime_r.c: `reresult' -> `result'.
6642
6643 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6644
6645         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6646         in #ifndef _REENT_ONLY ... #endif conditional.
6647
6648         * libc/include/string.h (_strtok_r): Remove declaration.
6649         * libc/include/time.h (_asctime_r): Remove declaration.
6650         * libc/string/strtok.c (_strtok_r): Removed.
6651         * libc/time/asctime.c (_asctime_r): Removed.
6652
6653         * libc/string/Makefile.in (OFILES): Add new object.
6654         * libc/string/strtok_r.c: New file.  strtok_r function as
6655         specified by POSIX.1c, adapted from strtok implementation 
6656         from NetBSD C library.
6657         * libc/string/strtok.c (strtok): Reimplemented in terms of 
6658         strtok_r.
6659
6660         * libc/time/Makefile.in (OFILES): Add new objects.
6661         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6662         New files, reentrant time functions specified by POSIX.1c.
6663         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6664         reentrant time functions re-written in terms of reentrant 
6665         functions.
6666         * libc/time/lcltime.c: Renamed from localtime.c
6667
6668         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6669         gmtime_r, and localtime_r.
6670
6671 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
6672
6673         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6674         * libc/include/sys/unistd.h (getlogin): Revert change of
6675         Oct 19.
6676         * libc/include/sys/signal.h (sigprocmask): Change prototype
6677         so it compiles with c++.
6678
6679 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
6680
6681         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6682         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
6683         to give some room in case we need to align the jmp_buf.
6684         
6685         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6686         the new ppc-asm.h include file the compiler provides to specify
6687         function prologue/epilogue.  Eliminate saves of the xer and ctr
6688         registers, which are volatile.  Before starting to save registers,
6689         align to 8 byte boundary.
6690
6691 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6692
6693         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6694         referenced by standard libraries.
6695
6696 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
6697         
6698         * libc/unix/Makefile.in, libc/string/Makefile.in,
6699         libc/stdio/Makefile.in, libc/reent/Makefile.in,
6700         libc/posix/Makefile.in:
6701         Remove tabs from otherwise empty line.  Confuses some
6702         older non-GNU versions of "make".
6703
6704 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6705
6706         * libc/sys/unistd.h (getlogin): Returns const char *.
6707
6708 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
6709
6710         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6711         * libc/include/errno.h: Moved into and include...
6712         * libc/include/sys/errno.h: New file.
6713         * libc/include/sys/wait.h: New file.
6714         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6715         * libc/sys/win32/*: Moved out.
6716         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6717         * configure.in (i[345]86-*-win32): HAVE_RENAME
6718
6719 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
6720
6721         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6722         avoid macro expansion for these two names.
6723
6724 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
6725
6726         * libc/machine/h8500/psi.S: r6 renamed to fp.
6727
6728 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6729
6730         * configure.in (powerpc*): No longer need to define
6731         NO_LONGLONG_POINTERS to supress warnings.
6732
6733 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6734
6735         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6736         through PTR instead of directly.
6737
6738         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
6739         non-standard constructor support.
6740
6741 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6742
6743         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6744         address of the Bigint instead of the address of its _x field,
6745         as the size the result buffer was calculated accordingly.  
6746         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6747
6748         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6749         from NetBSD C library.  No longer special cases division by 
6750         zero (which needs to be done by the application anyway), but
6751         it doesn't need to call abs() (or labs()) four times either.
6752         
6753         * libc/stdlib/qsort.c: Replaced with implementation from 
6754         NetBSD C library.
6755
6756 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6757
6758         * libc/stdio/vfprintf.c: Replaced with implementation from
6759         NetBSD C library (which is derived from the 4.4BSD C library).
6760         * libc/stdio/cvt.c: Removed.
6761         * libc/stdio/Makefile: Updated.
6762         
6763 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
6764
6765         * libc/sys/win32/syscalls.c (rename): New.
6766         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6767
6768 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6769
6770         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6771         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6772
6773         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6774         (setjmp.o): Delete rule to build setjmp.o.
6775         * libc/sys/sh/setjmp.S: Delete file.
6776
6777 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6778
6779         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6780         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6781         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
6782         pow5mult and s2b to identifiers with leading underscores.
6783         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6784         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
6785
6786 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
6787
6788         * libc/sys/posix/popen.c (sys/types.h): Include.
6789
6790 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
6791
6792         * libc/sys/win32/syscalls.h (fhandler): New struct.
6793         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6794         (__fhandler_normal): Declare.
6795         (hinfo): New member op_handlers.
6796         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6797         (__write): Likewise.
6798         (_read, _write, _open, _close, _lseek): Validate fd here.
6799         Move file type specific stuff to foo_normal.
6800         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6801         New functions.
6802         (__lookup_fhandler): New function.
6803         (__lookup_fhandler_hook, __fhandler_normal): New variables.
6804
6805         From anders.blomdell@control.lth.se (Anders Blomdell)
6806         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6807         Don't touch standard handles.
6808         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6809         (_execve): Only create __FD_TABLE__ if necessary.
6810         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6811
6812 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
6813
6814         * libc/sys/win32/sys/termios.h (FLUSHO): New.
6815         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6816         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6817         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6818         without a handler is received.
6819         * libc/sys/win32/Makefile.in: Remove --nodelete.
6820         * libc/sys/win32/resouce.c (gettimeofday): New.
6821         * libc/sys/win32/syscalls.c (path_to_real_path): New.
6822         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6823
6824 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
6825
6826         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6827         Don't append "/*" to search pattern if trailing '/' already there,
6828         append "*".
6829         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6830         like /'s, convert them to \'s.  Handle //<drive>/ path names.
6831         Add space for quoted \'s in arg string.  Print translated prog name
6832         and original prog name.
6833         (_execve): Handle parent doing exec a teensy bit better.
6834         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6835         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6836         path needs conversion, handle both cases.  Delete `const' from result.
6837         (hash_path_name): New function.
6838         (_open): Call it.
6839         (_stat): Likewise.  Fill in more fields for directories.
6840         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6841         (wait_for_any): Fix trace message.
6842         (waitpid): Explicitly test for intpid == 0.
6843
6844         From anders.blomdell@control.lth.se (Anders Blomdell)
6845         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6846         so `next' is valid.
6847
6848 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
6849
6850         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6851         complicated.
6852
6853 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
6854
6855         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6856         at all, not just == 1.
6857         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6858
6859 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6860
6861         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6862         * libc/sys/win32/include/wintypes.h: include <winnt.h>
6863         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6864         file.
6865
6866 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6867
6868         * libc/sys/syscalls.c (getcwd): Fix off by one error.
6869
6870         * libc/sys/signal.c (sleep): Fill it in.
6871         * libc/sys/termios.c (tcflush): Use PurgeComm
6872         (tcsetattr): Set some more of the bits.
6873         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6874
6875 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
6876
6877         * libc/sys/arm/crt0.S (fp): Initialize to 0.
6878         Conditionally include .idata$3 stuff ifdef __pe__.
6879
6880 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6881
6882         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6883         * libc/sys/win32/pipe.c (pipe): Ditto.
6884         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
6885         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6886         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6887         (tcgetattr): Contents are new.
6888         * libc/sys/win32/include/winkernel.h (DCB): New.
6889         (GetCommState, SetCommState): New.
6890
6891 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
6892
6893         * libc/sys/arm/crt0.S (_start): Define.
6894
6895 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
6896
6897         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6898         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6899
6900         * libc/sys/win32/sysconf.c: New
6901         * libc/sys/win32/sys/winadvapi.h: New
6902         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6903         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6904         * libc/sys/win32/pipe.c (pipe): Ditto.
6905         * libc/sys/win32/signal.c (_raise): New.
6906         (_kill): Moved from spawn.c
6907         * libc/sys/win32/spawn.c (kill): Moved to signal.c
6908         * libc/sys/win32/syscalls.c (__read): Use new fields.
6909         (_open): Ditto.
6910         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6911         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6912         * libc/include/sys/unistd.h (rmdir): Takes const path.
6913         * libc/include/sys/stat.h (mkdir): Takes const path.
6914         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6915
6916 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6917
6918         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6919
6920         Add support for specifying paths as //<drive>/foo/bar.
6921         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6922         (__path_to_real_path): Declare.
6923         (PATH_TO_REAL_PATH): New macro.
6924         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6925         (__path_needs_conversion_p, __path_to_real_path): New functions.
6926         (_open): Fix test for error return from CreateFileA.
6927         Handle new path syntax.
6928         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6929         * libc/sys/win32/dirsearch.c (opendir): Likewise.
6930
6931 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
6932
6933         * libc/sys/win32/include/*.h: Reorganized
6934         * libc/sys/win32/include/WINREADME: New.
6935         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6936         * libc/sys/win32/*.c: Fix for new include scheme.
6937         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6938         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6939         * libc/sys/win32/passwd.c (*): Fix.
6940         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6941         (_stat): Get directory owner and permissions right.
6942         * libc/sys/win32/syscalls.h (uinfo): New.
6943         * libc/sys/win32/version.def: Remove leading underscores.
6944
6945 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6946
6947         * libc/sys/win32/key.c: include "include/wincon.h".
6948
6949 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6950
6951         * libc/sys/win32/{key, stubs}.c: New.
6952         * libc/sys/win32/Makefile: Adjust to cope.
6953         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6954         (environ_init): Change env names to upper case.
6955         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6956         * libc/sys/win32/passwd.c (*): Fill in the functions.
6957         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6958         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6959         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6960         (_open): Initialze hmap->execable_p too.
6961         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6962         (_fstat): Fill in permissions.
6963         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6964
6965 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6966
6967         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6968         if defined.
6969         (cfg-ml-pos.in invocation): Likewise.
6970
6971 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6972
6973         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6974         s_isnan.o and sf_isnan.o.
6975
6976 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
6977
6978         * All Makefile.in files: added maintainer-clean target as a
6979         synonym for realclean.
6980
6981 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
6982
6983         * libc/include/machine/setjmp.h: Add hppa support.
6984         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6985         support.
6986         * libc/machine/hppa/Makefile.in: Related changes.
6987
6988 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6989
6990         * configure.in (machine_dir): Don't set for v810-*-*.
6991
6992 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6993
6994         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6995         conventions correctly.
6996
6997 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6998
6999         * libc/stdio/puts.c: Update documentation of return value to match
7000         ANSI standard.
7001
7002 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
7003
7004         Fix file descriptor inheritance.
7005         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7006         (NOT_OPEN_FD): Fix.
7007         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7008         close-on-exec flag not set.  Initialize child's entire fd table.
7009         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7010         CHILD_P.
7011         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7012         if CHILD_P.  Initialize entire hmap entry.
7013         (dup): Only create new handle as inheritable if CHILD_P.
7014         (dup2): Likewise.  Properly initialize hmap entry.
7015
7016         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7017         _spawn.
7018         (_exit): Use CHILD_P.
7019         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7020         (_stat): Likewise.
7021
7022 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7023
7024         * libc/sys/win32/crt0.c (passover): fix up the state table.
7025         * libc/posix/popen.c: Added.
7026         * libc/posix/Makefile.in: compile popen.c.
7027         
7028 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
7029
7030         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7031         h8/500 define _DOUBLE_IS_32BITS.
7032
7033 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
7034
7035         Get vfork/exec/spawn/cwait/wait working again.
7036         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7037         (procinfo): New member vfork_level.
7038         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7039         (vfork_init_first): Use GetCurrentProcessId to get pid.
7040         Initialize vfork_level.
7041         (vfork_init): Delete __PID__.
7042         (environ_init): New function.  Undo patch of Aug 19, Posix says
7043         environment variables are case sensitive.
7044         (mainCRTStartup): Call it.
7045         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7046         (my_longjump: Make static.
7047         (_spawn): New argument `h'.  Delete setting of __PID__.
7048         Delete local `idx'.  Look for chars that need quotes, rather than
7049         ones that don't.  Set handle of created process in `h'.
7050         Result is process id if created task.
7051         (allocate_spawn_entry): New function.
7052         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
7053         (_execve): Set __FD_TABLE__ before spawning child.
7054         Scan our fd table when passing fds, not our parent's.
7055         Store handle and pid in procinfo entry.
7056         (vfork0): Ensure strace message always printed.
7057         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7058         (vfork): Don't clobber result of vfork0.
7059         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7060         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7061
7062         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7063         and `exit_code'.
7064         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7065         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
7066         adding vfork level to pseudo-pid.  
7067         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7068         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7069         (_exit): If child, set exit code.
7070         (__vfork_record_death): Only close process handle if valid.
7071         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7072         didn't exec.
7073         (wait_for_any): Likewise.  Start scan after root entry.
7074
7075 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7076
7077         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7078         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7079         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7080         of actual file length.
7081
7082         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7083         * libc/include/paths.h: _PATH_BSHELL added.
7084         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7085         and STDERR_FILENO.
7086
7087 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7088
7089         * libc/include/ar.h: Added.
7090         * libc/include/sys/types.h: ino_t goes back to 32-bits.
7091         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7092         * libc/sys/win32/syscalls.c (_open): compute .namehash based
7093         on filename.
7094         (_fstat): use .namehash for inode number of the fd.
7095
7096 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7097
7098         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7099          Change hinfo to __this_procinfo.
7100         * libc/sys/win32/crt0.c: Remove procinfo_list.
7101
7102 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7103
7104         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7105         win32 environment.
7106
7107 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7108
7109         * libc/sys/win32/include/grp.h: Removed.
7110         * libc/sys/include/grp.h: Added.
7111         * libc/sys/win32/grp.c: Include <grp.h>.
7112
7113 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
7114
7115         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7116         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7117         Defined for all but strict ANSI.
7118         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7119         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7120         * libc/signal/signal.c (_signal_r): Changed from using
7121         _MAX_SIGNALS to NSIG.  
7122         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7123          __hmap): Deleted.
7124         (__strace, __vfork_next_pid): New.
7125         (__exe_suffix): Default to 1.
7126         (passover, table): Understand quoted arguments.
7127         (vfork_init_first): New.
7128         (vfork_init): Initialize new process structure.
7129         (mainCRTStartup): Pass environ to main.
7130         * exceptions.c (__sig_mask): New
7131         (ehandler3): Ignore signals in mask.
7132         (really_exit): Remove CHILD_P test.
7133         * pipe.c (pipe, dup, dup2): Use new process and file structure.
7134         * resource.c (getrusage): Ditto.
7135         * signal.c (sigprocmask): New.
7136         * spawn.c (*): Rewritten.
7137         * syscalls.c (*): Use new process and file structure.
7138         (find_unused_handle): New.
7139         * syscalls.h (MAX_HANDLES): Deleted.
7140         (hinfo): Removed child_created_p.
7141         (MAX_CHILDREN): Deleted.
7142         (vfork_jmp_info, procinfo): New.
7143         * wait.c (*): Mostly new.
7144         * sys/strace.h (_STRACE_PARANOID): New.
7145         * sys/param.h: New file.
7146
7147 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7148
7149         * libc/include/sys/stat.h: add S_BLKSIZE.
7150         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7151         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7152         types under win32.
7153         (mode_t): add a #else to avoid multiple definitons.
7154
7155         * libc/sys/win32/Makefile.in: add grp.c.
7156         * libc/sys/win32/grp.c: include grp.h correctly.
7157         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7158         of the st structure with real information.
7159         * libc/sys/win32 (dirent): d_ino is of type ino_t.
7160
7161 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
7162
7163         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7164         and (maybe) sparc64.
7165         (nlink_t): Provide typedef.
7166
7167 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7168
7169         * libc/sys/win32/grp.c: New file.
7170         * libc/sys/win32/include/grp.h: New file.
7171
7172 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7173
7174         * libc/include/machine/ieeefp.h: Added whitespace to make this
7175         file easier to maintain.
7176         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7177         depending on the value of __LITTLE_ENDIAN__.
7178         On the sh3e, define _DOUBLE_IS_32BITS.
7179         
7180 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7181
7182         * libc/sys/vr4300/syscalls.c: Added missing support
7183         routines. _raise() and getpid().
7184
7185 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
7186
7187         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7188
7189 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7190
7191         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7192         and VR4300 processor.
7193         * libc/sys/vr4300: Add directory.
7194         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7195         monitor run-time support.
7196
7197 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7198
7199         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7200         * libc/stdlib/stdlib.tex: Don't include atol.def.
7201
7202 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7203
7204         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7205
7206 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
7207
7208         * libc/ctype/Makefile.in: Fill in _to* dependencies.
7209
7210 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
7211
7212         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7213         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7214         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7215         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7216         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7217
7218 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7219
7220         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7221
7222 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7223
7224         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7225         * libc/stdlib/atoff.c: New file.
7226         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7227         * libc/stdlib/atoi.c (atol): Removed.
7228         * libc/stdlib/atol.c: Removed duplicate documentation.
7229
7230         * libc/include/ctype.h (_tolower, _toupper): Moved inside
7231         #ifndef _STRICT_ANSI conditional.
7232         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7233         * libc/ctype/_tolower.c: New file.
7234         * libc/ctype/_toupper.c: New file.
7235         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7236         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7237         * libc/ctype/toascii.c (_toascii): Removed.
7238
7239 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7240
7241         * libc/sys/sparc64/sys/types.h: Deleted.
7242
7243 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7244
7245         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7246         and recognize Windows_95 systems.
7247
7248 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7249
7250         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7251         and passed fds should be opened in text mode.
7252
7253 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7254
7255         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7256         in __hmap, set to binary mode by default.
7257
7258 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7259
7260         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7261         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
7262         vector 34.
7263
7264 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
7265
7266         * Makefile.in (install): Install all libraries found in the
7267         top level.  If there's a sys/<type>/include directory,
7268         install those headers into include.
7269
7270         * libc/sys/win32/kernel.def351: Delete
7271         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7272         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7273         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7274         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7275         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7276         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7277         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7278         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7279
7280         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7281         * libc/sys/win32/crt0.c: Force all env names to upper case.
7282         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7283         * libc/sys/win32/*.c: Headers have moved.
7284         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7285         __vfork_child_idx is now __vfork_child_ptr.
7286
7287         * posix/execvp (execvp): Don't crash if no PATH envname.
7288
7289 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7290
7291         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7292         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7293         through the _freelist instead of through the _reclaim list.
7294         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7295         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7296         sources.
7297
7298 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7299
7300         * libc/machine/h8500/setjmp.S: New file.
7301         * libc/include/machine/setjmp.h: Updated for H8/500.
7302
7303 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
7304
7305         * libc/sys/win32/syscalls.c (_open): More stracing.
7306         (_stat): Open the file in O_BINARY.
7307
7308 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7309
7310         * libc/machine/h8300/setjmp.S: New file.
7311         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7312
7313 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
7314
7315         * libc/sys/win32/crt0.c (__exe_suffix): New global.
7316         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7317         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7318         __exe_suffix.  Free fd_tab after setting env variable.
7319         (spawnv,_execve): Update.
7320         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7321         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7322         (__small_vfprintf): New function.
7323         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7324         * libc/sys/win32/wait.c (cwait): Validate argument.
7325
7326         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7327         (process_deletion_queue): Likewise.
7328
7329         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7330
7331 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
7332
7333         * libc/sys/win32: Copyrights and gratuitous indenting.
7334
7335 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
7336
7337         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7338         (process_deletion_queue): Likewise.
7339         (__close_all_files): New function.
7340         (_close): Only queue file deletion if really a file.
7341         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7342         _P_APPEND_EXE.
7343         (_exit): Call __close_all_files.
7344
7345         * libc/stdlib/system.c: #include <errno.h>.
7346         (_system_r): Fix results in -DNO_EXEC case.
7347
7348         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7349         Reorganize structure.
7350         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7351         if argument is valid.  Save directory name in DIR.  malloc space
7352         for dirent struct separately.
7353         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7354
7355         * libc/include/errno.h (ENAMETOOLONG): Define.
7356         * libc/string/strerror.c (strerror): Reword ENFILE.
7357         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7358
7359 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
7360
7361         * libc/sys/win32/crt0.c (__progname): New global.
7362         (mainCRTStartup): Support strace=bitmask,filename.
7363         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7364         * libc/sys/win32/syscalls.c (_write): Print parent trace message
7365         if error.
7366         (getcwd): Handle len too small.  Convert '\\' to '/'.
7367         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7368         Add prototypes for open, creat, fcntl.
7369         (O_APPEND): Change value to conform to Microsoft's value.
7370         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7371
7372         * libc/stdlib/getopt.c: New file.
7373         * libc/stdlib/Makefile.in: Build it.
7374
7375 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
7376
7377         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7378         Fix scanning of $PATH.
7379         * libc/posix/exec*.c: Call _execve, not execve.
7380         * libc/posix/execve.c: New file.
7381         * libc/posix/Makefile.in (OFILES): Add execve.o.
7382
7383         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7384         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7385         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
7386         * libc/sys/win32/crt0.c: Update _STRACE calls.
7387         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7388
7389         * libc/sys/win32/smallprint.c (rn): Fix digit list.
7390
7391         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7392         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7393         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7394         Print __seterrno trace message first.
7395         (_execve): Renamed from execve.
7396         (vfork): Update __strace usage.
7397         (__vfork_child_pid): Deleted.
7398         (__vfork_children, __vfork_child_idx): New globals.
7399         (_spawnvp): New function.
7400         (spawnvp, spawnv, _execve): Call _spawnvp.
7401         (init_child): Record child in __vfork_children.
7402         (__vfork_get_entry, __vfork_record_death): New functions.
7403         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7404         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7405         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
7406         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7407         (children): New typedef.
7408         (__vfork_children,__vfork_child_idx): Declare.
7409         (__vfork_get_entry,__vfork_record_death): Declare.
7410         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7411         (waitpid): Handle pid == -1.
7412         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7413         * configure.in (i386-win32): Add -DNO_FORK.
7414         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7415         * libc/reent/execr.c (_fork_r): Likewise.
7416         * libc/stdlib/system.c (do_system): New function.
7417         If WIN32, try to get shell path from $SH_PATH, use vfork.
7418         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7419         otherwise return 0.
7420
7421 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
7422
7423         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7424         * libc/sys/win32/fcntl.h: Don't include self.
7425         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7426         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7427         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7428         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7429         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7430         Correct prototypes.
7431         * libc/sys/win32/strace.c: New file.
7432         * libc/sys/win32/smallprint.c: New file.
7433         * libc/sys/win32/crt0.c (func): Delete.
7434         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7435         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7436         * libc/sys/win32/exceptions.c: Lint.
7437         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7438         Clean up handle usage.
7439         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7440         (open.c): Default file type is text.
7441         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7442         * libc/sys/win32/advapi32.def: New      
7443
7444 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7445
7446         * configure.in (posix_dir, libc_posix_lib): New variables.
7447         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7448         (i[345]86-*-win32): Define posix_dir.
7449         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7450         (if unix_dir): Fix typo.
7451         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7452         scandir,seekdir,telldir}: New files.
7453         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7454         from libc/unix.
7455         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7456         (SUBDIRS): Add posix.
7457         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7458
7459         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7460         (NSIG): Increase to 21.
7461         * libc/include/sys/unistd.h (pid_t): Move from here,
7462         * libc/include/sys/types.h (pid_t): to here.
7463
7464         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7465         (__ptrace): Delete.
7466         (hinfo): New members close_exec_p, child_created_p.
7467         (struct exception_list): Define.
7468         (__hmap): Redefine as pointer to table.
7469         (__parent_hmap, __child_hmap): New globals.
7470         (__set_errno, __really_exit): Declare.
7471         (__vfork_child_pid): Declare.
7472         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7473         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7474         (__parent_hmap, __child_hmap): New globals.
7475         (__hmap): Redefine as pointer to active map.
7476         (__get_console): New function.
7477         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7478         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7479         mapping table from it if defined.
7480         (argv, envp): Dump if __strace >= 4.
7481         (main): Call here.
7482         * libc/sys/win32/exceptions.c (myp): Redefine.
7483         (__syscalls_b): Delete.
7484         (__stack_trace): New function.
7485         (ehandler3): Update to use _STRACE.  Print stack trace.
7486         Call __really_exit instead of exit.
7487         (init_exceptions): Delete args argc,argv.  New arg mine.
7488         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7489         FindFirstFileA, FindNextFileA, GetComputerNameA,
7490         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7491         * libc/sys/win32/signal.c (signal): Validate arg.
7492         (alarm, sleep): Define as stubs for now.
7493         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7494         (__syscalls_b, errno): Delete.
7495         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7496         (__seterrno): Handle more errors.
7497         (__sys_printf): Renamed from _ptrace.
7498         (__really_exit): New function.
7499         (queue_file_deletion, process_deletion_queue): New functions.
7500         (__resume_parent): New function.
7501         (_unlink): Handle trying to delete open file.
7502         (__totime_t): Renamed from totime_t.
7503         (setsid, __read, __write): New functions.
7504         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7505         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7506         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7507         * libc/sys/win32/console.c: Update to new definition of __hmap.
7508         * libc/sys/win32/Makefile.in: Build new files.
7509         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7510         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7511         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7512         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7513
7514 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7515
7516         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7517
7518 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7519
7520         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7521         have been made to the master dtoa.c sources (from netlib.att.com)
7522         since they were integrated into newlib in early 1992.  Fixes
7523         problems with storage leaks and handling of numbers with very
7524         negative exponents.
7525         
7526 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7527
7528         * Makefile.in (all): set rootpre and srcrootpre before calling
7529         sub-makes.
7530
7531 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7532
7533         * libc/sys/win32/crt0.c: Change __hmap usage.
7534         * libc/sys/win32/exceptions.c: Use _ptrace call.
7535         * libc/sys/win32/syscalls.c: Use _ptrace call.
7536         (read, write): Cope with DOS style CRLF when in TEXT mode.
7537         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7538         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7539         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7540         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7541         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7542
7543 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7544
7545         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7546
7547         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7548         wrappers for hypot() and remainder() for BSD libm compatibility.
7549         These are public domain implementations written by me for the
7550         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7551         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7552         (fobj): Added wf_cabs.o and wf_drem.o.
7553
7554 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7555
7556         * libc/sys/h8500hms/misc.c: New file.
7557         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7558
7559 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7560
7561         * libc/time/localtime.c (localtime): Fix problem with leap year
7562         handling.  Stole algorithm from Arthur David Olson's tz code.
7563         
7564 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
7565
7566         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7567
7568         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7569         (_exit): Use argument.
7570
7571 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
7572
7573         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7574
7575 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7576
7577         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7578
7579 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7580
7581         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7582         target_cflags.
7583
7584 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
7585
7586         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
7587         ptrace with case insensitivity
7588         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7589         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7590         New files.
7591
7592 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
7593
7594         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7595         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7596         (all, install, *clean): Use new multilib support.
7597         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7598
7599 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
7600
7601         * libc/include/sys/signal.h (__WIN32__): New.
7602
7603         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7604
7605         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7606         (ulp, b2d): Handle 32 bit doubles.
7607         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
7608         * libc/stdlib/strtod.c (_strtod_r): Ditto.
7609
7610 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
7611
7612         from medp@primag.co.uk:
7613         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7614         dynamically allocated buffers.
7615
7616 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
7617
7618         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
7619         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
7620
7621 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7622
7623         * configure.in (powerpc): Fix previous fix.
7624
7625 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7626
7627         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7628         directories for this target.
7629
7630 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
7631
7632         * configure.in (hppa): Add machine_dir definition.
7633         * libc/machine/hppa: New directory with PA specific implementations
7634         of the basic memory/string functions.
7635
7636 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7637
7638         * configure.in: Update current PowerPC multilib directories.
7639         Split big and little endian configurations.
7640
7641 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
7642
7643         * configure.in: Add --enable-single-float option to configure to
7644         control use of MIPS single-float directories.  Default to yes.
7645
7646         * Makefile.in (all): Don't recurse into multilib directory if it
7647         does not exist.
7648
7649 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7650
7651         * libc/sys/sh/syscalls.c: Fix typo.
7652
7653 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7654
7655         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7656         Pass down DLLTOOL.
7657         * libc/include/process.h: Define WAIT_CHILD.
7658         * libc/include/types.h: Get sizes right for win32.
7659         * configure.in (i386-*-pe): Becomes i386-win32.
7660         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7661         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7662         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7663         is defined.
7664
7665 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7666
7667         * configure.in (i[345]86-*-pe):  New target (NT).
7668         * host/any: DLLTOOL new.
7669         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7670         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7671         WIN32 (just enough to cross host the comp-tools).
7672
7673 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
7674
7675         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7676         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
7677
7678 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
7679
7680         * libc/include/machine/ieeefp.h (arm): Change to always be
7681         __IEEE_BIG_ENDIAN (even on little endian ARM's).
7682
7683 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7684
7685         * libc/sys/crt0.S: Initialze sp, and call exit after main.
7686         * libc/sys/syscalls.c (abort): New.
7687         * configure.in (arm): Define ABORT_PROVIDED.
7688
7689 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7690
7691         * configure.in (powerpc): Define multidirs.
7692
7693 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
7694
7695         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7696
7697 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
7698
7699         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
7700
7701 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7702
7703         * configure.in, libc/include/machine/ieeefp.h: Modified
7704         for arm:
7705         libc/machine/arm/*, libc/sys/arm/*: New
7706
7707 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7708
7709         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7710           __powerpc__ when determining endianness.
7711
7712 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7713
7714         * configure.in (m68*): Add multidir for the m68332.
7715
7716         * host/any (CC): Fix typo in last change.
7717
7718 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
7719
7720         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7721         when determining endianness.
7722         * libc/include/machine/ieeefp.h: Ditto.
7723         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7724         operands.
7725
7726 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
7727
7728         * libc/include/errno.h (ENOTEMPTY): Define.
7729
7730 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7731
7732         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7733           target_cflags.
7734
7735         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7736           and umultiply.o.
7737
7738         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7739           instead of only when open succeeds.  ANSI requires that multiple
7740           calls to tmpnam() result in different files.
7741
7742         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7743           objects pulled in from /lib/libc.a that must be renamed before
7744           being pulled into newlib.  /lib/libc.a's div.o conflicted with
7745           newlib's file with the same name.
7746
7747         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7748
7749         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7750           the build tree will only be used if the executables are present
7751           (instead of just the Makefiles).
7752
7753         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7754           wcstombs): Define.
7755         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7756           versions of these functions that I orignally wrote for the
7757           NetBSD C library.
7758         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7759           versions I wrote for NetBSD.
7760
7761 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
7762
7763         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7764         * libc/sys/sparclite/crt0.s: ditto.
7765
7766 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
7767
7768         * configure.in: Add soft-float for proelf.
7769
7770 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
7771
7772         * libc/stdlib/mprec.h (Bcopy): Copy the right number
7773         of bytes.
7774
7775 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
7776
7777         * Makefile.in (all): Depend on `force'.
7778         * configure.in (syscall_dir): Renamed from fake_sys_dir.
7779         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7780         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7781         * libc/Makefile.in: Likewise.
7782         * libc/include/reent.h: Update syscall references.
7783         (_fcntl_r): Add prototype.
7784         * libc/syscalls/*.c #include <reent.h>.
7785         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7786
7787 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
7788
7789         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7790         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7791         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7792         (time.h, sys/types.h): Always include (even if MSDOS).
7793         (stat): Fix prototype.
7794
7795 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
7796
7797         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7798
7799 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7800
7801         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7802
7803 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
7804
7805         * libc/include/regdef.h: New file.
7806         * libc/machine/mips/machine/regdef.h: New file.
7807
7808 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
7809
7810         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7811
7812 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
7813
7814         * libc/sys/sh/crt0.S: Pass main's return to exit.
7815         * libc/sys/sh/trap.S: Put errno in the right place.
7816
7817 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7818
7819         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7820         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7821         * libm/math/ef_rem_pio2.c: Likewise.
7822         * libm/math/e_log10.c: Remove unused static one.
7823         * libm/math/ef_log10.c: Likewise.
7824         * libm/math/s_frexp.c: Likewise.
7825         * libm/math/sf_frexp.c: Likewise.
7826
7827 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
7828
7829         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7830         longjmp.S: Upgraded.
7831         * libc/sys/go32/sys/setjmp.h: Upgraded.
7832         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7833
7834 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7835
7836         * configure.in: Add many entries to multidirs for mips targets.
7837
7838 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7839
7840         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7841           5.2 which fixes bug where jn(-1,x) is three times larger than
7842           the actual answer.
7843         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7844
7845 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
7846
7847         * libc/sys/w65/sys/syscalls.h: New file
7848         * libc/include/machine/ieeefp.h: W65 support.
7849         * libc/include/sys/config.h: Ditto.
7850         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7851         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7852         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7853
7854 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7855
7856         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7857
7858 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
7859
7860         * Makefile.in, configure.in: Remove any references to the old
7861         "stub" dir.
7862
7863 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7864
7865         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7866         uses ... in prototype.
7867
7868
7869 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
7870
7871         * libc/sys/a29khif/sys/libconfig.h: Remove.
7872         * libc/sys/go32/sys/libconfig.h: Remove.
7873         * libc/sys/sun4/sys/libconfig.h: Remove.
7874         * libc/sys/sysvi386/sys/libconfig.h: Remove.
7875         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7876         * libc/sys/sparc64/sys/libconfig.h: Remove.
7877
7878         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7879         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7880         * libc/include/math.h: Change all uses of _FLOAT_RET and
7881         _FLOAT_ARG to float.
7882         * libm/test/math.c: Likewise.
7883         * testsuite/libm.sac/math.c: Likewise.
7884         * testsuite/libm.sac/working/math.c: Likewise.
7885
7886 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7887
7888         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7889         gcc calls gas with endian option.
7890         * configure.in (sh): Build little endian version too.
7891
7892 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7893
7894         * configure.in: Configure big and little endian versions for MIPS
7895         targets.
7896
7897 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
7898
7899         * libc/include/limits.h: Deleted.
7900         * libc/include/machine/limits.h: Deleted.
7901
7902 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
7903
7904         * ChangeLog: Remove stub directory. This has all been rewritten
7905         and moved to devo/libgloss.
7906
7907 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7908
7909         * Makefile.in (dvi): Add to info target, use $@ in sub make.
7910         (docs): Merge into info target.
7911         * libm/Makefile.in (dvi): Add $(srcdir).
7912         * libm/math/Makefile.in (chobjs): Remove underscores from file
7913         names.  Texinfo doesn't like them.
7914         (wacos.def, ...): Add explicit targets for all .def files.
7915         * libm/math/math.tex: Remove underscores from @include file names.
7916         * doc/Makefile.in (dvi): Add dummy target.
7917         * testsuite/Makefile.in (dvi): Add dummy target.
7918
7919 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
7920
7921         * Makefile.in (VERSION): Define.  For net newlib releases.
7922
7923 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
7924
7925         * README: New file.
7926
7927 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7928
7929         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7930
7931 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7932
7933         * libc/stdlib/setenv.c (_findenv): Declare.
7934
7935         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7936         fcntl to not use _EXFUN, and change string parameters to open and
7937         creat to be ``const char *''.
7938         * libc/sys/sparc64/sys/fcntl.h: Likewise.
7939         * libc/sys/sparc64/creat.c (creat): Make PATH const.
7940         * libc/syscalls/sysopen.c: Include <fcntl.h>.
7941         (open) Make _FILE const.
7942         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7943         (_creat): Make PATH const.
7944         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7945         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7946         * libc/sys/m88kbug/syscalls.c (open): Likewise.
7947         * libc/sys/sh/syscalls.c (_open): Likewise.
7948         * stub/shared/glue.c (open): Make BUF const.
7949         * stub/ex93x/syscalls.c (open): Make FILENAME const.
7950
7951 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7952
7953         * libc/include/errno.h: Add ENMFILE
7954         * libc/include/sys/config.h: Support Z8000.
7955         * libc/include/sys/signal.h: New signals for go32.
7956         * libc/machine/h8500/psi.S (__addpsir0r0): New function
7957         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7958         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7959         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7960         size is variable, depending upon CHUNK_POWER.
7961         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7962
7963 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7964
7965         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7966
7967 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7968
7969         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7970
7971 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7972
7973         * configure.in: Change i[34]86 to i[345]86.
7974
7975         * libc/include/math.h: Don't define HUGE_VAL if it is already
7976         defined.
7977
7978 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7979
7980         * testsuite/libm.sac/test_erfc.c: Correct some result values.
7981         * testsuite/libm.sac/test_gammaf.c: Likewise.
7982         * testsuite/libm.sac/test_sin.c: Likewise.
7983         * testsuite/libm.sac/test_tanh.c: Likewise.
7984
7985 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7986
7987         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7988         already set.  Define typedefs __int32_t and __uint32_t.
7989         * libc/include/math.h: Include <machine/ieeefp.h>.
7990         (union __dmath): Use __uint32_t.
7991         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7992         instead of int and unsigned int.
7993
7994 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7995
7996         Replace the math library with the SunPRO fdlibm package.
7997         * libm/math: Completely changed all files.
7998         * libm/ieeefp: Remove contents and directory.
7999         * libm/Makefile.in (LIBM_FP_LIB): Remove.
8000         (SUBDIRS): Just set to math/lib.a.
8001         * libm/libm.texinfo: Updated for new library.
8002         * libc/include/math.h: Extensive changes for new math library.
8003         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8004         from _FLOAT_ARG to float.
8005         (maxpowtwo, maxpowtwof): Don't declare.
8006         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8007         (libm_fp_lib): Removed.
8008         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8009         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8010         argument to ${RUNTEST}.
8011         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8012         (.c.o): New rule.
8013         (RUNTESTFLAGS): Set CC and CFLAGS.
8014         (TESTS): Remove test_log2 and test_log2f.
8015         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8016         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8017         _FLOAT_ARG, for single precision argument type.
8018         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8019         expected failure.  Close the input pipe.
8020         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8021         Correct misspelling of inaccurate.
8022         (test_mok): Use ``inaccurate'', not ``wrong''.
8023         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8024         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8025         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8026         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8027         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8028         test_yn.c): Correct many result values.  Many are still wrong.
8029
8030         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8031         just copy the string.
8032         (_gcvt): Always return the buffer.
8033
8034 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8035
8036         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8037
8038 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
8039
8040         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8041         structure.
8042         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8043         (_reclaim_reent): declare new entry point.
8044         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8045         functions.
8046
8047         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8048         ever allocated, so that we can later reclaim them all.
8049         (pow5mult): make reentrant.
8050
8051         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8052         so that when given NULL as a buffer, return a pointer to static
8053         space in the rent structure.  This is not documented behaviour;
8054         it's only to support ecvt and fcvt, which aren't ANSI anyway.
8055         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8056         therefore become reentrant).
8057         
8058         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8059
8060 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8061
8062         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8063
8064 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8065
8066         * Makefile.in: Make link to libg.a after libc.a; this is needed
8067           for the testsuites to build executables when everything comes
8068           from the tree.
8069
8070 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
8071
8072         * libc/Makefile.in: Add a VERSION variable so we can keep track.
8073         * libm/Makefile.in: Add a VERSION variable so we can keep track.
8074
8075 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8076
8077         * libc/include/stdio.h: Use __VALIST, not va_list.
8078
8079 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
8080
8081         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8082         testsuite/libm.sac/execute.exp:
8083           Replace error proc calls with perror calls.
8084
8085 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
8086
8087         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8088         * libc/include/time.h: #define NULL as 0L.
8089
8090 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
8091
8092         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8093         care of it.
8094
8095 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8096
8097         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8098         not __unix__.
8099
8100 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
8101
8102         * configure.in (TARGET_CFLAGS): Set -O2 as default.
8103         (z8k-*-*): Use syscalls fake sys dir.
8104         * libc/sys/z8k/glue.c: Rename syscalls.
8105         * libc/sys/go32/Makefile.in: Use new routines.
8106         * libc/machine/Makefile.in: Fix typo in ln stuff.
8107
8108 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8109
8110         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8111         * libc/Makefile.in (crt0.o): Likewise.
8112         * libc/machine/Makefile.in (lib.a): Likewise.
8113         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8114
8115         All Makefile.in files: Added mostlyclean, realclean and distclean
8116         targets.
8117
8118         * Makefile.in: Don't bother to unexport XTRAFLAGS or
8119         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8120         the top level Makefile.
8121
8122 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
8123
8124         * libc/sys/sparc64/sys/stat.h: New file.
8125         * libc/sys/sparc64/sys/time.h: New file.
8126         * libc/sys/sparc64/sys/types.h: New file.
8127
8128 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
8129
8130         * stub/ex93x/crt0.s (start): Add code to clear bss.
8131
8132 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
8133
8134         * libc/include/sys/types.h (time_t): Properly protect inside
8135         #ifndef __time_t_defined.
8136
8137         * libc/stdio/fileno.c: New file.
8138         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8139         (fileno.o): Add dependency.
8140         * libc/include/stdio.h (__sgetc): Rename never to _never.
8141         (fileno macro): Disable, needs to do CHECK_INIT first.
8142
8143 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
8144
8145         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8146         goal.
8147
8148         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8149         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8150         runtest.
8151         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8152         runtest.
8153
8154 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
8155
8156         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8157         of the various constants.
8158
8159 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
8160
8161         * libc/include/math.h: #ifndef __math_68881 around things which
8162         conflict with the (gcc-provided) inline functions in
8163         gcc/ginclude/math-68881.h.
8164
8165 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
8166
8167         * libc/include/_syslist.h (_gettimeofday): Define.
8168         (_times): Ditto.
8169         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8170         (struct tms, timeval, timezone): Declare.
8171         (_gettimeofday_r, _times_r): Declare.
8172         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
8173         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8174         (time_t): Add multiple definition protection, __time_t_defined.
8175         * libc/include/sys/time.h: Don't #include <time.h>.
8176         Always define struct timezone (remove #ifndef _TIME_H_).
8177         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
8178         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8179         * libc/reent/Makefile.in (OFILES): Add timer.o.
8180         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
8181         * libc/reent/timer.c: New file.
8182         * libc/time/clock.c: #include <reent.h>.
8183         (clock): Call _times_r instead of times.
8184         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8185         HAVE_GET_TIME_OF_DAY.
8186         Add comment regarding supporting OS routine(s) required (for docs).
8187         #include <reent.h>.
8188         (time): Call _gettimeofday_r instead of gettimeofday.
8189         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8190         * libc/time/ctime.c: Ditto.
8191         * libc/time/strftime.c: Ditto.
8192         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8193         (TEMPLATE_SFILES_R): Define here.  Also define times.
8194         Add times_r.o/times.S dependence.
8195         (time2.c, junk.c): Deleted.
8196         * libc/sys/sparc64/time2.c: Deleted.
8197         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8198
8199         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8200         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8201         * libc/sys/sparc64/junk.c: Deleted.
8202
8203 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
8204
8205         * libc/sys/sparc64/Makefile.in: Add times syscall.
8206         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8207         be used with and without it.  Add comment clarifying Medium/Anywhere
8208         model requirements.
8209         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8210         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8211         even if obsolete.
8212
8213 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
8214
8215         * configure.in (target_cflags): Move init.
8216         (sparc64-*-*): Define HAVE_BLKSIZE.
8217
8218 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
8219
8220         * libc/include/sys/_types.h: New file.
8221         * libc/include/reent.h: #include it.
8222         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8223         MISSING_SYSCALL_NAMES.
8224         Sort syscalls.
8225         * libc/include/_syslist.h: Remove _raise.
8226         * libc/reent/signalr.c: New file.
8227         * libc/reent/Makefile.in: Compile it.
8228         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8229         Add doc for raise and _raise_r.
8230         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8231         (raise): Call _raise_r.
8232         (_raise_r): Call _getpid_r and _kill_r.
8233         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8234         (abort): Loop forever calling raise and _exit.
8235
8236 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8237
8238         * configure.in: Remove extraneous echo.
8239
8240 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
8241
8242         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8243         collision with unistd.h, and fix for svr4.
8244
8245 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
8246
8247         * libc/stdio/local.h (_llicvt): Declare.
8248         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8249         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8250         (_llicvt): Define.
8251         (_sicvt): Fix function header (`value' is short).
8252         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8253         Add printing of long long's support.
8254         Add printing of 8 byte pointer support.
8255
8256 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
8257
8258         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8259         stat, chmod): New hooks. 
8260         (sbrk): Abort if stack and heap collide.
8261         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8262         shortcut when given small args.
8263         * libc/machine/sh/setjmp.s: Rewritten.
8264         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8265         of cmp/str instruction.
8266
8267 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8268
8269         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8270         and machine_dir powerpc.
8271         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8272         Add cases for __powerpc__.
8273         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8274         New files.
8275
8276         * libc/include/stdio.h (_iprintf_r): Declare correctly.
8277
8278 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
8279
8280         * libc/stdlib/callocr.c: New file with _calloc_r in it.
8281         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8282
8283 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
8284
8285         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8286         (print_e): More comments to describe args, etc.
8287         "type" arg may now be 'g' or 'G' for %g/G format --> remove
8288         trailing blanks.
8289         (_gcvt): Remove locals decpt, sign, end, p, done.
8290         More comments for print_e invocation.
8291         Pass "type" to print_e as is (g/G).
8292
8293 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
8294
8295         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8296         stock m68000. 
8297
8298 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
8299
8300         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8301         works with any sized pointer, including ones bigger than ints and
8302         longs.
8303
8304 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
8305
8306         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8307
8308 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8309
8310         * libc/include/stdlib.h (_calloc_r): Add prototype.
8311         * libc/machine/h8500/negsi2.c: New file.
8312         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8313         large unsigned numbers.
8314         * libc/machine/h8500/cmpsi.c: Add cmppsi.
8315         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8316         works when sizeof(size_t) != sizeof(char *).
8317         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8318         get play area
8319         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8320
8321 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
8322
8323         * libc/include/assert.h (assert): Handle -traditional.
8324
8325 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
8326
8327         * Makefile.in: added ; after every "fi" and "done" that wasn't at
8328         the end of a line (ie. anything before a backslash continuation)
8329         so that bash handles them.
8330
8331 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8332
8333         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8334         stat to lstat
8335
8336 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
8337
8338         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8339         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8340         libc/machine/sh/udivsi3.s: Use new calling convention.
8341
8342 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
8343
8344         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8345         chmod, access, chdir, chown by making _path const. Also fix _amode
8346         param of access.
8347
8348 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
8349
8350         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8351         _khif_tmpnam, because it doesn't comply with ANSI but may be
8352         useful anyway. Real tmpnam was already in libc/stdio, and was
8353         colliding with this one (pr 2176.) 
8354         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8355         the wrong idea anyhow.
8356
8357 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8358
8359         * configure.in: Remove h8300h, we have multilib now.
8360
8361 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
8362
8363         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8364         functions, to get preference over the ones in libiberty (since we
8365         provide correct declarations in <string.h>.
8366         * libc/string/Makefile.in: add support for strncasecmp,
8367         strcasecmp.
8368
8369 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
8370
8371         * Change netware config not to look for cpu explicitly.
8372
8373 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8374
8375         * libc/sys/sparc64/{creat.c,junk.c}: New files.
8376         * libc/sys/sparc64/Makefile.in: Add dependencies.
8377
8378 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
8379
8380         * configure.in: Clean up v9 a bit, new "os" aoutv8.
8381
8382 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
8383
8384         * libc/include/sys/reent.h: make structure smaller by allocating
8385         some stuff when needed.
8386         * libc/signal/signal.c: allocate as needed
8387         * libc/stdio/findfp.c,stdio/local.h: ditto
8388         * libc/stdlib/mprec.c: ditto
8389
8390         * libc/time/localtime.c: don't return a dangling stack ptr.
8391
8392 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8393
8394         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8395
8396 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8397
8398         * libc/include/stdio.h (__sputc): comment out static inline which
8399           confuses coff toolchains.
8400
8401 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
8402
8403         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8404         _write.s, getpid.c, kill.c, read.s}:
8405         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8406         through the syscalls directory.
8407
8408 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8409
8410         * configure.in: fixed double quote gotcha.
8411
8412 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8413
8414         * stub/ex931: stub library for sparclite board.
8415         * stub/idp: Renamed from mc68ec. Added contructor table
8416         stuff to linker script.
8417         * stub/mvme135: Renamed from m68kmvme. Added contructor table
8418         stuff to linker script.
8419
8420 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8421
8422         * configure.in: Configure testsuites only if they exist.
8423
8424 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8425
8426         * configure.in: Don't set machine_dir for i386 until there is
8427         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
8428         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8429         CLOCK_PROVIDED and MALLOC_PROVIDED.
8430
8431         * libc/sys/netware: New directory.  Contains simplistic and
8432         probably incorrect stubs for NetWare.  Should be enough to load
8433         the library.
8434         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8435         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8436         stub files.
8437
8438         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8439         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8440         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8441         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8442
8443 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8444
8445         * testsuite/Makefile.in: add "docs" dummy target for consistency
8446         with rest of newlib; turn "info" and "install-info" into dummy
8447         targets, since they wouldn't have worked.  (Depended on
8448         nonexistent "doc" subdir.)
8449
8450 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8451
8452         * configure.in: handle mips* instead of mips
8453
8454 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8455
8456         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8457         a version of libc/sys/*/sys/dirent.h, it includes the next
8458         <dirent.h> file in case there is one lurking somewhere.
8459
8460 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8461
8462         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8463         compliance, namely: Accept a minus sign.  Consider a single 0 with
8464         a radix of 0 as being a conversion.  Determine overflow correctly.
8465         If an overflow occurs, set *ptr to the end of the number, not the
8466         middle.
8467         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8468
8469 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8470
8471         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8472
8473 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8474
8475         * Makefile.in (INSTALL): Use $srcrootpre.
8476         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8477         can't handle it.
8478         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8479         it.
8480         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8481         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8482         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8483         * libm/math/Makefile.in (matherr.o): Ditto.
8484
8485 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8486
8487         * configure.in: Build multidirs for z8k.
8488         * libc/include/stdlib.h (_strtoul_r): add prototype.
8489         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8490         * libc/include/machine/setjmp.h: Add for z8k.
8491         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8492         * libc/sys/z8ksim/glue.c: tidy up.
8493
8494 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8495
8496         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8497         New files.  Requires execve system call.
8498         * libc/unix/Makefile.in: Use them.
8499         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8500         Deleted, moved to libc/unix.
8501         * libc/sys/sparc64/Makefile.in: Remove them.
8502
8503 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8504
8505         * libc/sys/sparc64/{template.S template_r.S}: New files.
8506         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8507         from templates.
8508         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8509         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8510         umask.S unlink.S wait4.S write.S}: Removed, now built from
8511         templates.
8512
8513 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8514
8515         * libc/time/time.c: #include <_ansi.h>.
8516
8517 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8518
8519         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8520
8521 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8522
8523         * configure.in: match m8* rather than m88k so that m88110 is
8524           recognized as well.
8525
8526 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8527
8528         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8529         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8530         misc.c: New file.
8531
8532         * configure.in: Add multilib support to h8300.
8533
8534 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8535
8536         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8537         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8538         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8539
8540 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8541
8542         * configure.in: Corrected multidirs for sparc target.
8543
8544 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8545
8546         Support for building newlib multiple times with different
8547         compilation flags.
8548         * configure.in: Only configure doc at top level.  Set multidirs
8549         when appropriate for target, unless not at top level.  If
8550         multidirs is set, independently configure each subdirectory.
8551         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8552         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8553         automagically set by configure.in.
8554         (all): If MULTIDIRS is set, build multiple copies of libraries.
8555         (install): If MULTIDIRS is set, install multiple copies of
8556         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8557         MULTISUBDIR is set, don't bother to install header files.
8558         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8559         ${srcrootpre}.
8560         * stub/configure.in: Set MULTISUBDIR appropriately.
8561         * stub/Makefile.in (install): Install in
8562         $(tooldir)/lib/$(MULTISUBDIR).
8563         * All Makefile.in files: Define SRCTOP as well as TOP.
8564
8565 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
8566
8567         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8568         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8569
8570 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8571
8572         * libc/sys/h8300hms/exit.c (_exit): New function.
8573
8574 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8575
8576         * configure.in: recognize m88110.
8577
8578 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8579
8580         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8581           prototype main and call with args.
8582
8583 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
8584
8585         First real try at system traps for m88k-bug.
8586         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
8587           to real trap calls.
8588         * libc/sys/m88kbug/sys/systraps.h: new file.
8589
8590 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8591
8592         Patches to fix info building when target does not use sys
8593         directory.
8594         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8595         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8596           libc/sys.tex.
8597         * libc/sys/Makefile.in (doc): do nothing.
8598
8599 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8600
8601         * libc/Makefile.in (CRT0): new macro.
8602           (all): depend on $(CRT0) rather than crt0.o.
8603
8604         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8605           do not default crt0, instead, set crt0 and crt0_dir based on
8606           sys_dir and stub_dir.
8607
8608         * Makefile.in (CRT0_DIR): new macro.
8609           (all): depend on $(CRT0) rather than crt0.o which may not exist.
8610           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8611           $(CRT0).
8612           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8613
8614 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8615
8616         * testsuite/lib/libm.exp: 
8617                 added code to support compiling and linking of tests for 
8618                 libm.sac (paranoia to be added next) and processing the 
8619                 pass or failure of the tests.
8620
8621         * testsuite/config/unix-libm.exp:
8622                 platform specific proc's for dealing with compiler, linker
8623                 and the way we execute and process the test results.
8624
8625         * testsuite/libm.sac/execute.exp:
8626                 generic framework for the sac tests. the config and lib 
8627                 expect code for specific platforms tie it all together.
8628
8629         * testsuite/libm.sac/test_is.c:
8630                 changed the output of the test to be consistant with the
8631                 other tests. parsing of pass nad fail messages is now fixed.
8632
8633 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
8634
8635         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8636         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8637         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8638         #ifdef __cplusplus, surround by extern ""C { ... }.
8639         * libc/include/assert.h:  Do *not* protect assert.h against
8640         multiple inclusion!  Also, #undef it before #define, to allow
8641         redefinition.
8642         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
8643         should be only in unistd.h.
8644
8645         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8646         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8647         ... }.
8648
8649 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
8650
8651         * libc/machine/sparc/Makefile.in: Must create a library, even
8652         if empty.
8653
8654 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8655
8656         * configure.in: set machine_dir for m88k.  edit crt0 definition
8657           into makefiles.
8658
8659         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8660
8661         * libc/Makefile.in (all): also build crt0.o.
8662
8663         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8664           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8665           to remove CRT0.
8666
8667         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8668           (all): reworked to build in place.
8669           (clean): remove lib.a
8670           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8671
8672         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8673           (_start): key off edata rather than _start_bss.
8674
8675 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
8676
8677         * libc/include/sys/unistd.h, libc/include/reent.h,
8678         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8679
8680 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8681
8682         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8683
8684         * Makefile.in (libc.a): break into two rules, one for libc.a and
8685           one for libc/libc.a.  Force subdirs current before rebuilding
8686           library.
8687           (libm.a): break into two rules, one for libm.a and one for
8688           libm/libm.a.  Force subdirs current before rebuilding library.
8689
8690         * libc/Makefile.in (SUBLIBS): fix typo.
8691
8692         * libc/sys/Makefile.in (all): force descent into subdirs, then
8693           rebuild library iff out of of date.
8694
8695 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8696
8697         Rework so that library is built and then finished rather than
8698         being built on each invocation of make.
8699
8700         * host/any (machine_dir, sys_dir, signal_dir): these are not
8701           shared and have been moved to their associated Makefile.in's.
8702           (AR_FLAGS): switch to qc which is faster.
8703         * configure.in: no longer assign machine_dir for m88k.  set
8704           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
8705           stub_dir set, then add to configdirs.  add comment about silly
8706           configuration.
8707           (configdirs): drop stub.  It will be added only
8708           when needed.
8709           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8710           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8711           stub_lib, crt0): new variables for tailoring lower level
8712           makefiles.  Assign accordingly and edit into makefiles.
8713         * libm/Makefile.in: updated copyright.
8714           (TARGETLIB): removed.
8715           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8716           (SUBDIRS): removed TARGETDEP_DIRS.
8717           (LIBM_FP_LIB, SUBLIBS): new macros.
8718           (all): reworked.
8719           (force): new target to force rebuilds.
8720           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8721         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8722           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8723           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8724           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8725           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8726           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8727           stub/m68kmvme/Makefile.in: updated copyright.
8728           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8729           (all): reworked.  made this the default rule.
8730           (clean): also remove lib.a.
8731           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8732         * stub/Makefile.in: updated copyright.
8733           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8734           (stub_lib): new macro.
8735           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
8736           RANLIB.
8737           (all): reworked.
8738           (clean, install): assume stub_dir exists.
8739           (Makefile): depend on configure.in.  call $(SHELL) rather than
8740           sh.  drop redundant ./
8741         * stub/configure.in (stublib): new macro, assign it, edit it into
8742           makefiles.
8743         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8744           updated copyright.
8745           (all): reworked.
8746           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8747         * libc/Makefile.in (TARGETCRT0): removed.
8748           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8749           TARGETCRT0.
8750           (SUBDIRS): drop TARGETDEP_DIRS.
8751           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8752           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8753           (force): new target to force rebuilds.
8754         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8755           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8756           removed.
8757           (clean): assume sys_dir always exists.
8758         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8759           drop redundant ./
8760         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8761           libc/locale/Makefile.in, libc/machine/Makefile.in,
8762           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8763           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8764           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8765           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8766           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8767           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8768           libc/signal/Makefile.in, libc/stdio/Makefile.in,
8769           libc/stdlib/Makefile.in, libc/string/Makefile.in,
8770           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8771           libc/time/Makefile.in, libc/unix/Makefile.in,
8772           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8773           (TARGETLIB): removed.
8774           (all): reworked.
8775           (clean): also remove lib.a.
8776           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8777         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8778           new macros.
8779           (SUBDIRS): moved to follow frag inclusion, change stub to
8780           stub_dir.
8781           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8782           are now set in the libc Makefile.
8783         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8784           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8785           TARGETCRT0.
8786           (force): new target to force rebuilds.
8787         * stub/configure.in: determine and set stub_lib for for Makefile.
8788
8789 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
8790
8791         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8792         crt0.s renamed to crt0.S.
8793         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8794
8795         * libc/machine/h8300/Makefile.in: Make `all' the default target.
8796         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8797         h8300h.
8798         * libc/machine/h8300/defines.h: Add macros to handle pointers for
8799         h8300 (16 bits) and h8300h (32 bits).
8800         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8801         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8802
8803 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
8804
8805         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8806         implementation of setjmp and longjmp for the m88k.
8807         * libc/include/machine/setjmp.h: Added __m88000__ case.
8808
8809 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
8810
8811         * configure.in: Recognize h8300h as variant of h8300.
8812
8813 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8814
8815         * libc/include/sys/unistd.h (read, write): get prototypes right.
8816         (sbrk): New prototype.
8817         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8818         * libc/stdio/local.h: Include unistd.h.
8819         * libc/machine/h8300/syscalls.c: Names have changed.
8820
8821 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
8822
8823         * configure.in: add sys_dir assignment for m88k-bug.
8824
8825 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8826
8827         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8828         a.out or elf.
8829         * libc/sys/sparc64: all *.S files: Use new macros.
8830         * libc/sys/sparc64/isatty.c: New file.
8831         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8832         functions beyond what newlib provides.
8833
8834 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
8835
8836         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8837         svr4.
8838
8839 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8840
8841         * libc/include/machine/ieeefp.h: Add support for h8/300h.
8842
8843 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
8844
8845         * configure.in: add m88k.
8846         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
8847         sanity check so no one else need ever chase what I did to find
8848         this.
8849
8850         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8851
8852 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8853
8854         * doc/makedoc.c: Include <ctype.h>.
8855
8856 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8857
8858         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8859         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8860         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8861
8862         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8863
8864 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
8865
8866         * libc/include/errno.h (ENOSYS): Added.
8867
8868         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8869
8870 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8871
8872         * libc/stdio/fflush.c (fflush): Check for reent struct
8873         initialization.
8874         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8875
8876 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
8877
8878         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8879         out of dtoa.c so it doesn't pollute the namespace.
8880         * libc/include/_syslist.h: new file -- mappings from _function to
8881         function, for systems where we can't win (by default, all of them,
8882         until we start updating system calls.)
8883         * libc/syscalls: new directory -- stubs for exporting _function
8884         names as unmodified function names.
8885         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8886         _syslist.h on all platforms by default, but put hooks in for
8887         fake_sys_dir so we can include it when we've renamed the system
8888         calls.
8889         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8890         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8891         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8892         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8893         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8894         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8895         non ANSI functions to call _function.
8896
8897 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8898
8899         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8900         when base 16 is specified.  Don't accept non-digits if radix > 10.
8901
8902 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
8903
8904         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8905
8906 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
8907
8908         * libc/include/sys/stat.h: Surround text after #endif with
8909         comments.
8910
8911 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8912
8913         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8914         _malloc_r, _realloc_r, and free_r call the corresponding
8915         non-reentrant functions.
8916
8917         * libm/math/modf.c (modf): We now take the address of ipart, so
8918         don't make it a register variable.
8919
8920 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
8921
8922         * libm/math/*: Rename all xxx_r fns to _xxx_r.
8923
8924 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
8925
8926         * libc/libc.texinfo and embedded docn throughout: formatting
8927         improvements, minor rephrasing for clarity, and improved
8928         reentrancy docn.
8929
8930 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8931
8932         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8933
8934         * libc/stdio/cvt.c (_licvt): Print the right value on machines
8935         where sizeof(int) != sizeof(long).
8936
8937 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8938
8939         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8940         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8941         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8942         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8943         libm/math/matherr.c: changes for better docn formatting (info).
8944
8945         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8946         libc/reent/reent.tex, libc/signal/signal.tex,
8947         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8948         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8949         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8950         makeinfo node defaulting to get better Info file node structure.
8951         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8952         Also include a few formerly missing sections (subroutines).
8953
8954         * doc/doc.str: delete fossil expansion for "func"
8955
8956         * default.menu, no-signal.menu: delete.
8957
8958         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8959         method used to adjust doc for missing "signals" chapter when 
8960         signal_dir is empty.
8961
8962 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8963
8964         * configure.in: added testsuite/libm.sac
8965
8966 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
8967
8968         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8969         code model).
8970
8971 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8972
8973         * libm/Makefile.in: Use $(MAKE) rather than make, and define
8974         MAKEOVERRIDES to be empty.
8975
8976 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
8977
8978         * configure.in: Don't build mips-*-* with -msoft-float, since that
8979         makes it incompatible with hard floating point.
8980
8981 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8982
8983         * Makefile.in: added recursive 'make check'
8984
8985 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8986
8987         * configure.in: added ./testsuite ./testsuite/libm.paranoia
8988         * ./testsuite/Makefile.in: created
8989         * ./testsuite/libm.paranoia: paranoia tests added
8990
8991 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8992
8993         * configure.in: For mips-*-* set machine_dir to mips.
8994
8995         * libc/machine/mips: New directory.
8996         * libc/machine/mips/Makefile.in: New file.
8997         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8998         setjmp and longjmp.
8999         * libc/include/machine/setjmp.h: Added __mips__ case.
9000
9001         * libc/machine/lmips: Removed unused and useless directory.
9002
9003 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
9004
9005         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9006
9007 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
9008
9009         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9010         start up).
9011
9012 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
9013
9014         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9015         SETJMP_H.
9016
9017 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
9018
9019         * libm/test/convert.c: structure member errno -> errno_val.
9020         Must include <errno.h> to use errno, it's a macro now.
9021         * libm/test/math.c: Ditto.
9022         * libm/test/math2.c: Include errno.h.
9023         * libm/test/string.c: Ditto.
9024         * libm/test/test.h: structure member errno -> errno_val.
9025         Remove extern int errno decl.
9026
9027 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
9028
9029         * libc/stdio/Makefile.in: Added dependencies on local header
9030         files.
9031         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9032         files.
9033
9034 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
9035
9036         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9037
9038 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9039
9040         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9041         Initialize _data.
9042
9043         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9044         * libc/stdio/local.h: Add prototype for _licvt.
9045
9046         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9047         instead of malloc,reealloc.
9048
9049         * libc/stdlib/local.h: New file.
9050         * libc/stdlib/efgcvt.c: #include local.h.
9051         (gcvt): Fix call to _gcvt.
9052         * libc/stdlib/ecvtbuf.c: #include local.h.
9053
9054         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9055         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9056         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9057
9058         * libc/stdlib/atexit.c: moved global data to struct _reent.
9059         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9060
9061         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9062
9063 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
9064
9065         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9066         here from ../reent.h.
9067
9068 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
9069
9070         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9071         should be provided in both libc.a and libm.a.
9072         (libc.a): Depend on targ-include and libm.a.  Copy
9073         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9074         (libm.a): Depend on targ-include.
9075         * configure.in (subdirs): Removed libc/math.
9076
9077 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9078
9079         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9080
9081 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
9082
9083         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9084         sys/reent.h instead of reent.h.
9085         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9086         headers moved to sys/reent.h.  
9087         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9088         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9089         __need__MAX_SIGNALS defined.
9090         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9091         std{in,out,err} refer to new _std{in,out,err} members.
9092
9093 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
9094
9095         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9096         case.
9097
9098 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
9099
9100         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9101         rather than whatever macro seterrno() has.
9102
9103 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
9104
9105         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9106         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9107
9108         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9109         __STDC__.
9110
9111         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9112         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9113         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9114
9115         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9116         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9117
9118         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9119         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9120         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9121         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9122         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9123         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9124         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9125         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
9126         for ANSI.  structure members given leading "_" for ANSI.  Use
9127         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9128
9129         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9130         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9131         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
9132         reent_struct renamed to struct _reent for ANSI.
9133         Structure members given leading "_" for ANSI.
9134         _CONST --> const in prototypes.
9135         Use _HAVE_STDC instead of __STDC__.
9136
9137         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9138         _xxx_r.
9139         struct reent_struct renamed to struct _reent for ANSI.
9140         Structure members given leading "_" for ANSI.
9141
9142         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9143         _xxx_r.
9144         struct reent_struct renamed to struct _reent for ANSI.
9145
9146         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9147         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9148         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9149         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9150         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9151
9152         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9153         signal.h, stdio.h, stdlib.h, string.h, time.h}:
9154         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9155         #ifndef _STRICT_ANSI non-ANSI routines.
9156         Reentrant routines renamed from _r_xxx to _xxx_r.
9157         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9158         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9159         Clean up namespace (structure members have leading "_").
9160         struct reent_struct renamed to struct _reent for ANSI compliance.
9161         _CONST --> const in function prototypes.
9162
9163         * libc/include/string.h: Add NULL and size_t.
9164
9165         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9166         unlink, wait, wait4. Reentrant syscall routines close, fork,
9167         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9168         write.
9169         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9170         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9171         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9172         write.S}: Define reentrant versions.
9173         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9174         reentrant syscalls.
9175
9176         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9177
9178         * libc/include/stdlib.h (RAND_MAX): Fix value.
9179
9180 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
9181
9182         * libc/sys/a29khif/_main.c: Removed unnecessary file.
9183         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9184         VPATH support targets after all: target.
9185
9186         * stub/mvme135/mvme.S: Renamed exceptionhandler to
9187         exceptionHandler, which is what mvme135-stub.c expects.
9188
9189 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
9190
9191         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9192
9193         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9194         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9195         compliant).
9196
9197 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9198
9199         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9200         first.
9201         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9202         _r_write): Ditto.
9203         libc/reent/fstatr.c (_r_fstat): Ditto.
9204         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9205         libc/reent/sbrkr.c (_r_sbrk): Ditto.
9206         libc/reent/statr.c (_r_stat): Ditto.
9207
9208         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9209         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9210         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9211         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9212         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9213         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9214         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9215         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9216         (__swrite): Ditto for _r_lseek, _r_write.
9217         (__sseek): Ditto for _r_lseek.
9218         (__close): Ditto for _r_close.
9219         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9220
9221         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9222         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9223
9224         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9225         to make reent_struct the first argument (and thus consistent with
9226         the rest of newlib).
9227
9228         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9229         reference to __STDC__.
9230
9231 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
9232
9233         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9234         global __cleanup.
9235
9236 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
9237
9238         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9239         first.
9240         libc/stdio/fclose.c (fclose): Ditto.
9241
9242 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
9243
9244         * Run through indent and rename reentrant routines for ANSI.
9245         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9246         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9247         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9248         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9249         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9250         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9251         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9252         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9253         vsprintf.c wbuf.c wsetup.c local.h}
9254
9255         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9256
9257         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9258         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9259         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9260         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9261         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9262         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9263
9264         * Run through indent.
9265         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9266         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9267         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9268         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9269         strxfrm.c}
9270
9271         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9272         localtime.c mktime.c strftime.c time.c}:
9273         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9274
9275         * Reformatting + renaming (for ANSI, GNU style, consistency).
9276         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9277         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9278         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9279
9280 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
9281
9282         * libc/include/stdio.h (stdin_r): Fix.
9283
9284 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
9285
9286         * Makefile.in: Unexport some variables to keep GNU make from
9287         putting them in the environment and using up needed ARG_MAX space
9288         (a hack is used to let this work with older makes as well).
9289
9290 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
9291
9292         * Makefile.in: Use $(MAKE) rather than make.
9293         (MAKEOVERRIDES): Define to be empty.
9294         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9295         (libc.a, libm.a): Depend on targ-include.
9296         * host/any (LD): Don't define.
9297         (INCLUDES): Use targ-include.   
9298         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9299         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9300         * libc/Makefile.in: Use $(MAKE) rather than make.
9301         (MAKEOVERRIDES): Define to be empty.
9302         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9303         (all): Rewrote to be slightly smaller.
9304         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9305         Define to be empty.
9306         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9307         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9308
9309 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
9310
9311         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9312         with errno/errno.c.
9313
9314 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
9315
9316         * Changes for reentrancy.
9317         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9318         Use ptr->_errno, not errno.
9319         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9320         libc/stdio/remove.c (remove_r): New function.
9321         libc/stdio/rename.c (rename_r): New function.
9322         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9323         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9324         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9325         reentrant versions of system calls.
9326         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9327         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9328         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9329         libc/stdio/findfp.c: Include <string.h>.
9330         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9331         "local.h".
9332         libc/stdio/wbuf.c: Include "fvwrite.h"
9333
9334         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9335         <string.h>.
9336         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9337         (NULL): Don't define if already defined.
9338         libc/stdlib/system.c: Call reentrant versions of system calls.
9339         (system_r): New function.
9340
9341         * Changes for reentrancy.
9342         libc/include/_ansi.h (_PARAMS): New macro.
9343         libc/include/errno.h: Define errno as a macro that calls __errno.
9344         (__errno_r): New macro for reentrant code.
9345         libc/include/math.h: Include reent.h.  Declare many reentrant
9346         functions.
9347         (signgam): Now a macro, not a variable.
9348         (struct exception): Added err field.
9349         libc/include/reent.h: Don't declare __sglue.  Added function
9350         declarations.
9351         (struct reent_struct): Moved errno to beginning.  Added _signgam.
9352         libc/include/stdio.h, libc/include/stdlib.h: Added function
9353         declarations.
9354
9355         * More reentrancy hacking.
9356         libc/errno/errno.c (__errno): New function.
9357         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9358         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9359         files.
9360         
9361         * Added many new reentrant functions to libm/math/*.
9362         libm/math/error.c (__matherror): Added reent_struct pointer
9363         argument. Changed all callers.
9364         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9365         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9366         libm/math/tan.h: Removed obsolete unused header files.
9367
9368         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9369
9370         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9371
9372 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9373
9374         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9375         delay slots.
9376
9377 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9378
9379         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
9380
9381 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9382
9383         * libc/reent/reent.tex:  New file.  (text from
9384         newlib/libc/libc.texinfo)
9385         * libc/stdio/tmpnam.c:  fixed doc typo
9386         * libc/stdlib/rand.c:   fixed doc typo
9387
9388 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9389
9390         * libc/reent/reent.tex:  New file.  (text from
9391         newlib/libc/libc.texinfo)
9392
9393 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9394
9395         support for reentrancy
9396         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9397         new files
9398         * libc/errno/errno.c, libc/include/ieeefp.h,
9399         libc/include/locale.h, libc/include/reent.h,
9400         libc/include/signal.h, libc/include/stdio.h,
9401         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9402         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9403         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9404         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9405         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9406         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9407         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9408         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9409         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9410         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9411         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9412         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9413         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9414         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9415         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9416         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9417         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9418         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9419         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9420         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9421         libc/time/strftime.c: modify to provide reentracy.
9422
9423         new routines:
9424         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9425         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9426         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9427         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9428         mstats_r, realloc_r, localeconv_r, setlocale_r
9429
9430 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
9431
9432         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9433         libc/include/sys/config.h, libc/include/sys/signal.h,
9434         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9435         provided macros (such as m68000), use the ansi version
9436         (__m68000__) so that the library can be used with code compiled
9437         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9438         and sparc.
9439
9440 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9441
9442         * configure.in (sparc*): Don't set -fsoft-float for sparc
9443         configurations.  Do set -fsoft-float for sparclite configurations.
9444
9445 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9446
9447         * default.menu, no-signal.menu: alternate forms of libc main menu
9448           (in newlib rather than newlib/libc due to configuration restrictions)
9449
9450         * configure.in: select one of the two menus above, link to
9451         libc.menu
9452
9453         * libc/libc.texinfo: include menu from separate file
9454
9455 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9456
9457         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9458         (info): Split long shell command in half.
9459         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9460         sub-makes, just CHEW and TARGETDOC. 
9461         (targetdep.tex): Removed now special handling of sys and machine
9462         subdirectories, made obsolete some time ago.
9463         * libc/machine/Makefile.in (doc): Don't pass everything to
9464         sub-make, just CHEW and TARGETDOC.
9465         (Makefile): New target.
9466         * libc/sys/Makefile.in (Makefile): New target.
9467
9468 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9469
9470         * Makefile.in (here and most subdirectories): Only pass down CHEW
9471         and TARGETDOC when making info, not for other targets.
9472
9473         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9474         $(AR_FLAGS) rather than $(ARUPDATE).
9475
9476 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9477
9478         * Try to reduce command line length:
9479         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9480         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9481         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9482         (info): Pass CHEW to other subdirs.
9483
9484 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9485
9486         * configure.in: add signal_dir, like unix_dir, but by default it
9487         is set to "signal" so that a29khif can turn it off (since a29khif
9488         has raise() as part of machine-specific signal.s.)
9489
9490 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9491
9492         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9493         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9494         correctly.
9495         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9496         libc/stdio/vfprintf: type lint.
9497         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9498         initialzation code.
9499         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9500
9501 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9502
9503         * stub/mvme135/mvme135-asm.S: new file.
9504         stub/mvme135mvme135-stub.c: moved all assembler routines into
9505         mvme135-asm.S.
9506         stub/mvme135/Makefile.in: build mvme135-stub.o.
9507
9508 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9509
9510         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9511         sub-Makefiles instead, to try to avoid line length limitations.
9512
9513 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9514
9515         * libc/include/unistd.h (read, write):  Use void* instead of
9516         char*.
9517
9518 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9519
9520         * stub/go32/resetpc: sample script to send a reset packet to the
9521         stub
9522
9523         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9524         DOS environment, which compiles with Turbo C.
9525
9526         * stub/go32/DSER32.LNK: new file, linker commands for serial
9527         remote stub.
9528
9529         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9530         start up message to identify version; call set_debug_traps.
9531
9532         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9533         keyboard interaction); call handle_exception() in go_til_stop,
9534         rather than return, so that the remote stub gets control.
9535
9536         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9537         rename, rather than mv), set flags that work with current Turbo C,
9538         including using the /3 flag; also, add commands to build dser32.
9539
9540         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9541         default Turbo C installation (\tc rather than \usr)
9542
9543         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9544         "&..."
9545
9546 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9547
9548         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9549
9550 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9551
9552         * libc/stdio/cvt.c (licvt): new function to convert ints when
9553         sizeof(int) != sizeof(long).
9554
9555         * libc/include/stdio.h: added prototype for iprintf.
9556         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9557
9558 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9559
9560         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9561         __REGISTER_PREFIX__.
9562
9563 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9564
9565         * libc/sys/m68kbare: moved into stub directory.
9566
9567 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9568
9569         * configure.in, Makefile.in: created new directory stub, to hold
9570         sample code for specific targets.
9571
9572 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
9573
9574         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9575         in the unified libc/include/sys/fcntl.h.
9576
9577 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
9578
9579         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9580         printed .01, not 0.01.
9581
9582 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
9583
9584         * configure.in: compile with -m68000 for m68* targets.
9585
9586 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
9587
9588         * libm/math/remainder.c (remainder): document the svr4 and sunos
9589         references used to construct the function.
9590
9591 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
9592
9593         * libm/math/remainder.c (rint, remainder): fix old typos.
9594         * libm/math/Makefile.in: actually build remainder.c (functions
9595         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9596         page.)
9597
9598 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
9599
9600         * libc/string/bcopy.c: BSD version works on overlapping strings,
9601         so ours should too.
9602
9603         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9604         ("SHELL").
9605
9606 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
9607
9608         * Makefile.in (docs): new target.
9609
9610 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
9611
9612         * libc/include/sys/times.h: define clock_t as required by POSIX.
9613         libc/include/time.h: protect clock_t from multiple definitions.
9614
9615 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9616
9617         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9618         does not need more than the original three iterations to get
9619         within 1 ulp. (Paranoia tests for rounding to better than that,
9620         but further iterations *don't* help, only more subtle changes
9621         can.)
9622
9623 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9624
9625         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9626         were doing nothing useful.
9627
9628 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9629
9630         * configure.in: define MALLOC_PROVIDED for vxworks targets;
9631         removed sys_dir settings of vxworks68 and vxworks960.
9632         host/any: don't pass -nostdinc to gcc, since newlib no longer
9633         provides all required header files.
9634
9635         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9636         is not defined; this provides a hook for VxWorks.
9637
9638 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9639
9640         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9641         buffer if buf is NULL, don't do it here -- it is already being
9642         done by makebuf elsewhere in stdio.
9643
9644 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9645
9646         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9647         that C programs can call functions without using initial
9648         underscores.
9649
9650 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
9651
9652         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9653
9654 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
9655
9656         * configure.in: set TARGET_CFLAGS for certain CPU types to
9657         -msoft-float.
9658
9659 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9660
9661         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9662
9663 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9664
9665         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9666         m68k*-unknown-coff.
9667
9668 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
9669
9670         * libc/include/stdio.h: define __need___va_list before including
9671         <stdarg.h>, to avoid defining va_arg, et. al.
9672
9673 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
9674
9675         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9676         (don't cd to the user's home directory).
9677
9678         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9679         In general this is the wrong thing to do, but I can't get around
9680         GNU make's insistence on passing command line arguments any other
9681         way.
9682
9683 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9684
9685         * configure.in: always configure the libc/sys directory, since it
9686         now provides a required documentation file.
9687
9688         * Makefile.in: replaced all instances of $(MAKE) with make.  In
9689         general this is the wrong thing to do, but I can't get around GNU
9690         make's insistence on passing command line arguments any other way.
9691
9692 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
9693
9694         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9695         terminated.
9696
9697         * libc/stdio/local.h: include <stdarg.h> to define va_list.
9698         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9699
9700         * libc/include/float.h, libc/include/stdarg.h,
9701         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9702         versions instead.
9703         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9704         <stdarg.h>, not from <machine/types.h>.  Protect definition of
9705         NULL.
9706         libc/include/time.h: get size_t from stddef.h.  Protect definition
9707         of NULL.
9708         libc/include/machine/limits.h: override gcc <limits.h> by defining
9709         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
9710         get correct INT_MIN and LONG_LONG values.
9711         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9712         size_t or va_list at all; they're now gotten from stddef.h
9713         instead.
9714         libc/include/machine/varargs.h: removed; use gcc version instead.
9715         libc/include/sys/types.h: explicitly include <machine/types.h>.
9716
9717         * libm/math/sqrt.h: using the fp-bit routines appears to require
9718         more iterations.
9719
9720         * Makefile.in, host/any: let system include files override machine
9721         include files.
9722
9723 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9724
9725         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9726         override _*_T_ definitions defaulted here.
9727
9728 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
9729
9730         * Makefile.in (install): install the include files in
9731         $(tooldir)/include, not $(exec_prefix)/include.
9732
9733 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9734
9735         * Makefile.in (install): fixed typo, and changed install to not
9736         force rebuild of libc.a and libm.a.
9737
9738 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
9739
9740         * libc/sys/a29khif/*: Changed all .include's to include
9741         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
9742         that they will be installed for the user.
9743
9744         * Makefile.in (all): create targ-include, a directory holding the
9745         machine and system specific header files during the build.
9746         (install): fixed installation of machine and system specific
9747         header files.
9748
9749         * Makefile.in: fixed comment.
9750         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9751         we can pass $(INCLUDES) to it.
9752
9753 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9754
9755         * libc/include/sys/param.h: new generic file, which may be
9756         overridden for specific systems.
9757
9758         * libc/include/sys/signal.h: define all ANSI signal names, and
9759         NSIG (which is not ANSI) for a29k.
9760
9761 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
9762
9763         * Makefile.in: don't pass down arguments the lower level makes
9764         will not need.
9765         * libc/Makefile.in: recurse directly, rather than using subdir_do,
9766         in hopes of avoiding argument length limits.
9767         * libm/Makefile.in: recurse directly, rather using subdir_do, in
9768         hopes of avoiding argument length limits.
9769
9770 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
9771
9772         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9773         mode_t is defined.
9774
9775 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9776
9777         * Fixed make info and make install-info for newlib, changing most
9778         Makefile.in and several *.tex files.  Moved doc directory from
9779         libc to top level.
9780
9781         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9782         Should be rewritten.
9783
9784         * libc/string/strings.tex: renamed node index to node index
9785         function, so that it does not conflict with the top level index
9786         node.
9787
9788         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9789
9790 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9791
9792         * Overhauled general configuration for newlib.  Eliminated all
9793         target dependent Makefile fragments.  Create libraries in newlib
9794         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
9795         than CROSS_CC, et. al.  Broke make docs; will fix later.
9796
9797         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9798         Should be rewritten.
9799
9800 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9801
9802         * libc/configure.in: cleaned up somewhat; switch on ${target}
9803         rather than ${target_alias}.
9804         * libm/configure.in: cleaned up somewhat; switch on ${target}
9805         rather than ${target_alias}.
9806
9807         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9808         * libc/include/ctype.h: marked _ctype_ as _CONST.
9809
9810         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9811         _CONST.
9812
9813         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9814         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9815         libc/stdio/gets.c (gets): removed non-ANSI warning message.
9816         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9817
9818         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9819         bigtens, tinytens): marked arrays _CONST.
9820         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9821         rather than a static variable.
9822
9823         * libc/time/asctime.c (asctime), libc/time/localtime.c
9824         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9825         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9826         mname_len, mname): Marked static arrays _CONST.
9827
9828         * libm/math/gamma.h: made local variables non-static.
9829
9830         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9831         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9832         _CONST.
9833
9834         * libm/math/constants.c: removed file, because the constants it
9835         defined were never referenced.
9836         libm/math/Makefile.in: removed references to constants.c.
9837         libm/math/mathimpl.h: removed declarations of constants.
9838
9839 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9840
9841         * libc/include/machine/varargs.h: only call __builtin_saveregs if
9842         it is sensibly defined in libgcc2.  Checks preprocessor defines,
9843         which is not a good solution.
9844
9845         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9846
9847         * libm/frexp.c: handle denormalized numbers as arguments.
9848
9849         * libm/math/Makefile.in: added some dependencies for .c files
9850         which include local .h files.
9851
9852 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
9853
9854         * libc/configure.in: set target_alias for OSE*.  Replace
9855         target_makefile_frag if it is blank.
9856
9857         * libc/Makefile.in: make sure everything is passed to subsidiary
9858         makes; create all directories when installing.
9859
9860         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9861         CROSS_ARUPDATE instead of AR.
9862
9863         * libm/configure.in: set target_alias for OSE*.  Replace
9864         target_makefile_frag if it is blank.
9865
9866         * libm/Makefile.in: make sure everything is passed to subsidiary
9867         makes; create all directories when installing.
9868
9869 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
9870
9871         * add following change from libc copy.
9872
9873 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9874
9875         * libc/libc.texinfo: make copyright disclaimers appear on back of
9876         title page; make format of same slightly less ugly; avoid using
9877         underbars in section headings (avoids nasty texinfo bug in table
9878         of contents).
9879
9880         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9881           comments only) avoid using underbars in section headings
9882
9883         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9884           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9885           changes in comments only): shorten headings ieeefp/infinity.c,
9886           ieeefp/isnan.c: (doc, comments only) more informative headings
9887
9888         * libc/math/bessel.c: (doc, comments only) shorten heading
9889
9890         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9891         (doc, comments only) shorten headings
9892
9893         * libc/time/localtime.c (doc, comments only): shorten headings
9894
9895         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9896           isnan
9897           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9898           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9899           headings
9900           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9901           only) more informative headings
9902         * libm/math/bessel.c: (doc, comments only) shorten heading
9903
9904 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9905
9906         * .../Makefile.in: use CROSS_ARUPDATE consistently.
9907         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9908         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9909         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9910         defined, the one from the .mt file will be correct.
9911         * libc/include/machine, libc/include/sys: created, and populated
9912         with common files from machine/*/machine. ifdefs were used for
9913         most, typically by handling exceptions first and then filling in
9914         defaults. Files with D.J. Delorie copyright #included rather than
9915         copied. Most files in include/sys really were the same in the
9916         original.
9917         * libc/include/...: cleaned up use of _EXFUN.
9918         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9919         it with double quotes, not angles.
9920
9921 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
9922
9923         * libc/Makefile.in: always create installation directories.
9924
9925 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9926
9927         * libc/configure.in: handle host properly (using canonical
9928         triples), better error message for the case of target not found
9929
9930 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
9931
9932         * libc/Makefile.in (insincdir): Ensure this directory exists
9933         before attempting installation.
9934
9935 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9936
9937         * libc/stdlib/assert.c: now calls abort like it should
9938         * libc/sys/a29khif: many many patches for 29khif work
9939         * libc/machine/i386: gnulib2 expanded there.
9940
9941 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9942
9943         Added accurate fp conversion routines to stdlib, moved dcvt from
9944         stdio to stdlib and called it ecvtbuf:
9945         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9946         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9947         routines
9948         * libc/libc.texinfo: Modifed to include the copyright info from
9949         the mprec files
9950         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9951         * libc/test/ : many vector which tested for the implementation
9952         defined returns of strange conversion requests have been updated
9953         to relflect the new implementation
9954
9955 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9956
9957         * libc/libc.texinfo: new chapter on variable arg lists
9958         (stdarg.h/varargs.h)
9959         * libc/libc.texinfo: new title
9960         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9961         (doc only) shorter headings for better formatting.
9962
9963 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9964
9965         * libc/libc.texinfo: three more info menu entries
9966         * libc/locale/locale.tex: new chapter
9967         * libc/locale/locale.c: new doc for setlocale, localeconv
9968         * libc/locale/Makefile.in: use new locale doc
9969         * libc/signal/signal.tex: new chapter
9970         * libc/signal/raise.c, libc/signal/signal.c: new doc
9971         * libc/signal/Makefile.in: use new doc
9972         * libc/time/time.tex: new chapter
9973         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9974         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9975         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9976         * libc/time/Makefile.in: use new doc
9977
9978 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9979
9980         * libm/math/log1p.c: split to use the new function way of float
9981         function definition. math/log1p.h deleted
9982         * libm/math/scalb.c: obsolete and deleted
9983         * libm/math/scalbn.c: created from part log1p.c
9984         * libm/math/Makefile.in: know about log1p and scalbn
9985
9986 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9987
9988         * libc/ctype/isupper.c: revise doc;
9989           libc/ctype/ctype.tex: use doc from isupper.c
9990
9991         * libc/string/bzero.c: new doc
9992
9993 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9994
9995         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9996         new doc
9997         * libc/stdlib/Makefile.in: extract new doc
9998         * libc/stdlib/stdlib.tex: use new doc
9999
10000         * libc/string/strerror.c: expanded doc.
10001
10002         * libc/stdio/Makefile.in: extract doc from more files
10003         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10004         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10005         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10006         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10007         libc/stdio/vsprintf.c: new doc
10008         * libc/stdio/stdio.tex: use new doc
10009
10010 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10011
10012         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10013         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10014         finitef functions.
10015         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10016         time ago.
10017
10018         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10019         * libc/stdio/setbuf.c: added ansi style definition.
10020         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10021         buffer if none provided.
10022         * libc/stdio/tmpfile.c: lint
10023         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10024         rather than using static, also make sure file isn't already
10025         present.  Uses P_tmpdir. (tempnam): rewritten to use new
10026         subroutine, and uses P_tmpdir.
10027         * libc/stdio/siprintf.c: created
10028
10029 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10030
10031         Release 1.03 for NEC, major mods. Main differences from release
10032         1.02::
10033
10034         More tests in test/:
10035         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10036         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10037         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10038         get/set mask, get/set sticky and get/set roundtoi.  Tests
10039         that setting the bits changes the way arithmetic is done.
10040         * string.c: added test to make sure memcmp does it with unsigned
10041         chars.
10042         * test.c: cleaned up and removed lint.
10043         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10044         dvec.c: tests for string to value conversions,  sprintf, scanf,
10045         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10046         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
10047         rounding in sprintf too.
10048         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
10049         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10050         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10051         and function form.
10052         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10053         powf
10054
10055         In the library:
10056         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10057         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10058         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10059         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10060         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10061         than sprintf.
10062         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
10063         * Method of producting float versions of double functions has
10064         changed, functions will be modified gradually. So far:
10065         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10066         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10067         altered
10068         * libc/string/memcmp.c: now uses unsigned chars
10069         * libc/string/bcmp.c, libc/string/strcpy.c,
10070         libc/stsring/strxfrm.c: fixed doc
10071         * libc/sys/sysvnecv70.tex: fix example of sbrk code
10072 \f
10073 Local Variables:
10074 version-control: never
10075 End: