OSDN Git Service

2002-06-21 Richard Earnshaw (rearnsha@arm.com)
[pf3gnuchains/pf3gnuchains3x.git] / newlib / ChangeLog
1 2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
2
3         * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
4         (BYTE_ORDER): Define as appropriate for the target.
5
6 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
7
8         * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
9         to _ssize_t.
10         * libc/sys/linux/io.c (read, write): Change to return ssize_t.
11
12 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
13
14         * libc/include/stdio.h (__getline, __getdelim): New prototypes.
15         * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
16         [HAVE_GETDATE](getdate_err): New error code.
17         * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
18         * libc/stdio/Makefile.in: Regenerated.
19         * libc/stdio/getdelim.c: New file.
20         * libc/stdio/getline.c: Ditto.
21         * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
22         and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
23         * libc/sys/linux/Makefile.in: Regenerated.
24         * libc/sys/linux/getdate.c: New file.
25         * libc/sys/linux/getdate_err.c: Ditto.
26         * libc/sys/linux/ntp_gettime.c: Ditto.
27         * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
28         * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
29
30 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
31
32         * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
33         * libc/include/machine/types.h: Skip __off_t, __pid_t, and
34         __loff_t definitions if special _HAVE_SYSTYPES macro defined.
35         * libc/include/sys/config.h: Removed _uint*, _int* definitions.
36         * libc/include/sys/param.h: Remove i386 case which is handled
37         by default case.
38         (BIG_ENDIAN, LITTLE_ENDIAN): Protect
39         definitions in case they are already defined.
40         (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
41         _IEEE_LITTLE_ENDIAN flags.
42         * libc/include/sys/reent.h: Change __uint32_t references to
43         use _ULong instead.
44         (_REENT_GETDATE_REENT_P): New macro.
45         * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
46         (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
47         * libc/search/hash.h: Add default setting of BYTE_ORDER,
48         LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
49         * libc/sys/linux/sys/types.h: Include <sys/_types.h>.  Define
50         ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
51         pid_t, off_t, loff_t, caddr_t, and daddr_t type
52         definitions which are done by subsequent glibc headers.
53         Add macro definitions to prevent subsequent header files from
54         defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
55         intptr_t to after glibc definitions of types they are based on.
56
57 2002-06-21  Jeff Johnston  <jjohnstn@redhat.com>
58
59         * libc/include/errno.h: Protect from multiple inclusion.
60
61 2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
62
63         * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
64
65 2002-06-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
66
67         * Makefile.am (LIB_OBJECTLISTS): Add
68         libc/search/objectlist.awk.in.
69         * libc/Makefile.am (SUBDIRS): Add search.
70         (SUBLIBS): Add search/libsearch.la.
71         * libc/configure.in (AC_OUTPUT): Add search/Makefile.
72         * libc/search: New directory.
73         * libc/search/Makefile.am: New file.
74         * libc/search/extern.h: New file.
75         * libc/search/hash.c: New file.
76         * libc/search/hash.h: New file.
77         * libc/search/hash_bigkey.c: New file.
78         * libc/search/hash_buf.c: New file.
79         * libc/search/hash_func.c: New file.
80         * libc/search/hash_log2.c: New file.
81         * libc/search/hash_page.c: New file.
82         * libc/search/hcreate.3: New file.
83         * libc/search/hcreate.c: New file.
84         * libc/search/hcreate.c~: New file.
85         * libc/search/hcreate_r.c: New file.
86         * libc/search/ndbm.c: New file.
87         * libc/search/page.h: New file.
88         * libc/search/tdelete.c: New file.
89         * libc/search/tdestroy.c: New file.
90         * libc/search/tfind.c: New file.
91         * libc/search/tsearch.3: New file.
92         * libc/search/tsearch.c: New file.
93         * libc/search/twalk.c: New file.
94         * libc/include/db.h: New file.
95         * libc/include/ndbm.h: New file.
96         * libc/include/search.h: New file.
97         * libc/include/sys/queue.h: New file.
98         * libc/include/sys/cdefs.h: New file.
99         * libc/include/sys/param.h
100         [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
101         LITTLE_ENDIAN or BIG_ENDIAN.
102         * libc/include/sys/errno.h (EFTYPE): New macro.
103         * libc/search/bsearch.c: Move from libc/stdlib.
104         * libc/search/qsort.c: Likewise.
105         * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
106         qsort.c.
107         (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
108         * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
109
110 2002-06-19  Jeff Johnston  <jjohnstn@redhat.com>
111
112         * libc/sys/linux/Makefile.am: Add support for message queue routines,
113         ipc routines, and ftok.
114         * libc/sys/linux/Makefile.in: Regenerated.
115         * libc/sys/linux/ftok.c: New file.
116         * libc/sys/linux/ipc.c: Ditto.
117         * libc/sys/linux/mq_close.c: Ditto.
118         * libc/sys/linux/mq_getattr.c: Ditto.
119         * libc/sys/linux/mq_notify.c: Ditto.
120         * libc/sys/linux/mq_open.c: Ditto.
121         * libc/sys/linux/mq_receive.c: Ditto.
122         * libc/sys/linux/mq_send.c: Ditto.
123         * libc/sys/linux/mq_setattr.c: Ditto.
124         * libc/sys/linux/mq_unlink.c: Ditto.
125         * libc/sys/linux/mqlocal.h: Ditto.
126         * libc/sys/linux/include/mqueue.h: Ditto.
127         * libc/sys/linux/sys/types.h: Define __gid_t_defined and
128         __uid_t_defined.
129
130 2002-06-19  J"orn Rennecke <joern.rennecke@superh.com>
131
132         * libm/common/sf_lround.c (round): Change name to: (lround).
133         * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
134         remquof.
135
136 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
137
138         * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
139         procedure.
140         (newlib_pass_fail): Change to compile and run only one file.
141         * testsuite/newlib.locale/locale.exp: Use new
142         newlib_pass_fail_all procedure.
143         * testsuite/newlib.string/string.exp: Likewise.
144
145 2002-06-18  Dave Brolley  <brolley@redhat.com>
146
147         From Catherine Moore, Michael Meissner, Richard Sandiford:
148         * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
149         (_JBTYPE): Ditto.
150         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
151         (__ATTRIBUTE_IMPURE_PTR__): Ditto.
152         * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
153         * configure.host: Support frv-*-*.
154         * libc/machine/frv/Makefile.am: New file.
155         * libc/machine/frv/configure.in: New file.
156         * libc/machine/frv/setjmp.S: New file.
157
158 2002-06-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
159
160         * libc/include/ctype.h: Remove isblank macro.
161
162         * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
163         * libc/ctype/isblank.c: New file.
164         * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
165         declaration.  Add isblank macro.
166
167 2002-06-18  Jeff Johnston  <jjohnstn@redhat.com>
168
169         * testsuite/newlib.stdlib/atexit.c: New file.
170         * testsuite/newlib.stdlib/atexit.exp: Ditto.
171         * testsuite/newlib.string/tstring.c: Change default start size
172         to something more reasonable for embedded platforms.
173
174 2002-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
175
176         * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
177
178         * libc/argz: New directory.
179         * libc/argz/*: New files.
180         * libc/argz/argz_add.c: New file.
181         * libc/argz/argz_add_sep.c: New file.
182         * libc/argz/argz_append.c: New file.
183         * libc/argz/argz_count.c: New file.
184         * libc/argz/argz_create.c: New file.
185         * libc/argz/argz_create_sep.c: New file.
186         * libc/argz/argz_delete.c: New file.
187         * libc/argz/argz_extract.c: New file.
188         * libc/argz/argz_insert.c: New file.
189         * libc/argz/argz_next.c: New file.
190         * libc/argz/argz_replace.c: New file.
191         * libc/argz/argz_stringify.c: New file.
192         * libc/argz/buf_findstr.c: New file.
193         * libc/argz/envz_add.c: New file.
194         * libc/argz/envz_entry.c: New file.
195         * libc/argz/envz_get.c: New file.
196         * libc/argz/envz_merge.c: New file.
197         * libc/argz/envz_remove.c: New file.
198         * libc/argz/envz_strip.c: New file.
199         * libc/include/argz.h: New file.
200         * libc/include/envz.h: New file.
201         * Makefile.am (LIBC_OBJECTLISTS): Add
202         libc/argz/objectlist.awk.in.
203         * libc/Makefile.am (SUBDIRS): Add argz.
204         (SUBLIBS): Add argz/libargz.la.
205         * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
206         * libc/include/errno.h: Add error_t typedef.
207
208 2002-06-13  Jeff Johnston  <jjohnstn@redhat.com>
209
210         * libc/include/stdlib.h: Add _Exit prototype.
211         * libc/stdlib/Makefile.am: Add _Exit.c support.
212         * libc/stdlib/Makefile.in: Ditto.
213         * libc/stdlib/_Exit.c: New file.
214
215 2002-06-13  Stephen L. Moshier  <steve@moshier.net>
216
217         * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
218         x is close to -1.0 and y is very large to use ax (absolute value)
219         instead of x.
220         * libm/math/ef_pow.c (__ieee754_powf): Ditto.
221
222 Thu Jun 13 19:23:40 2002  J"orn Rennecke <joern.rennecke@superh.com>
223
224         * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
225         Fix clobbering bytes before destination if src and dst have same
226         non-zero misalignment.
227
228         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
229         Fixed bug in writing end of set region.
230
231 2002-06-10  Christopher Faylor  <cgf@redhat.com>
232
233         * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
234         spawnve declaration.
235
236 2002-06-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
237
238         * libm/common/s_fdim.c: New file.
239         * libm/common/s_fma.c: Likewise.
240         * libm/common/s_fmax.c: Likewise.
241         * libm/common/s_fmin.c: Likewise.
242         * libm/common/s_fpclassify.c: Likewise.
243         * libm/common/s_lrint.c: Likewise.
244         * libm/common/s_lround.c: Likewise.
245         * libm/common/s_nearbyint.c: Likewise.
246         * libm/common/s_remquo.c: Likewise.
247         * libm/common/s_round.c: Likewise.
248         * libm/common/s_scalbln.c: Likewise.
249         * libm/common/s_signbit.c: Likewise.
250         * libm/common/s_trunc.c: Likewise.
251         * libm/common/sf_fdim.c: Likewise.
252         * libm/common/sf_fma.c: Likewise.
253         * libm/common/sf_fmax.c: Likewise.
254         * libm/common/sf_fmin.c: Likewise.
255         * libm/common/sf_lrint.c: Likewise.
256         * libm/common/sf_lround.c: Likewise.
257         * libm/common/sf_nearbyint.c: Likewise.
258         * libm/common/sf_remquo.c: Likewise.
259         * libm/common/sf_round.c: Likewise.
260         * libm/common/sf_scalbln.c: Likewise.
261         * libm/common/sf_trunc.c: Likewise.
262         * libm/math/w_exp2.c: Likewise.
263         * libm/math/w_tgamma.c: Likewise.
264         * libm/math/wf_exp2.c: Likewise.
265         * libm/math/wf_tgamma.c: Likewise.
266         * libm/mathfp/s_exp2.c: Likewise.
267         * libm/mathfp/s_tgamma.c: Likewise.
268         * libm/mathfp/sf_exp2.c: Likewise.
269         * libm/mathfp/sf_tgamma.c: Likewise.
270         * libm/math/er_gamma.c: Fix return value.
271         * libm/math/erf_gamma.c: Likewise.
272         * libm/mathfp/er_gamma.c: Likewise.
273         * libm/mathfp/erf_gamma.c: Likewise.
274         * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
275         declarations and macros.
276         Regenerated all Makefile.in, aclocal.m4 and configure files to
277         use new libtool macros in top-level libtool.m4
278
279 2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>
280
281         * libc/include/string.h[__linux__]: Add strsignal prototype.
282         * libc/include/sys/lock.h: New file with default locking support.
283         * libc/include/sys/reent.h: Add signal buffer support for strsignal
284         and psignal.
285         * libc/posix/Makefile.am: Add support for readdir_r.c.
286         * libc/posix/Makefile.in: Regenerated.
287         * libc/posix/closedir.c: Add locking support and hash table cleanup.
288         * libc/posix/opendir.c: Add lock support.
289         * libc/posix/readdir.c: Ditto.
290         * libc/posix/rewinddir.c: Ditto.
291         * libc/posix/scandir.c: Ditto.
292         * libc/posix/seekdir.c: Ditto.
293         * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
294         clean up leftover hash table entries.
295         * libc/posix/readdir_r.c: New file.
296         * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
297         * libc/sys/linux/Makefile.in: Regenerated.
298         * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
299         * libc/sys/linux/sys/signal.h: Add psignal prototype.
300         * libc/sys/linux/psignal.c: New file.
301         * libc/sys/linux/strsignal.c: Ditto.
302
303 2002-06-03  Corinna Vinschen  <corinna@vinschen.de>
304
305         * libc/include/sys/types.h: Don't define dev_t when compiling for
306         Cygwin.
307
308 2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>
309
310         * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
311         make siglist.inc dependent on sig.c instead of signal.c.
312         * libc/sys/linux/Makefile.in: Regenerated.
313         * libc/sys/linux/sig.c: Rename from signal.c and change code to
314         use NSIG instead of _NSIG. 
315         * libc/sys/linux/sigaction.c: New file.
316         * libc/sys/linux/signal.c: Changed to be linux signal() function
317         so as to override regular newlib default signal.c.
318         * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
319         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
320         * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
321         * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
322         * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
323         default linux sigset_t typedef by defining it equal to __sigset_t.
324         * libc/unix/sigset.c: Add check so code isn't compiled on systems
325         with a sigset_t that isn't implemented with a single int.
326
327 2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
328
329         * libc/sys/linux/Makefile.am: Add support for new files.
330         * libc/sys/linux/Makefile.in: Regenerated.
331         * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
332         * libc/sys/linux/signal.c: Change to use real-time syscalls for
333         sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
334         it is in a separate file now.
335         * libc/sys/linux/machine/i386/Makefile.am
336         * libc/sys/linux/machine/i386/Makefile.in
337         * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
338         * libc/sys/linux/sigaction.c: New file.
339         * libc/sys/linux/sigqueue.c: Ditto.
340         * libc/sys/linux/sigwait.c: Ditto.
341         * libc/sys/linux/machine/i386/sigaction.c: Ditto.
342         * libc/sys/linux/kernel_sigaction.h: Ditto.
343
344 2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
345
346         * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
347         tcsendbrk.c.
348         * libc/sys/linux/Makefile.in: Regenerated.
349         * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
350         tcgetpgrp(), and tcsetpgrp() functions.
351         * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
352         to get __MAX_BAUD rate.
353         * libc/sys/linux/machine/i386/include/termios.h: New file.
354         * libc/include/machine/termios.h: Ditto.
355         * libc/sys/linux/cfspeed.c: Ditto.
356         * libc/sys/linux/tcsendbrk.c: Ditto.
357
358 2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
359
360         * libc/include/string.h: Add strnlen and strerror_r prototypes.
361         * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
362         * libc/string/Makefile.in: Regenerated.
363         * libc/string/strerror_r.c: New file.
364         * libc/string/strnlen.c: New file.
365         * libc/sys/linux/Makefile.am: Add rename.c.
366         * libc/sys/linux/Makefile.in: Regenerated.
367         * libc/sys/linux/rename.c: New file to override default rename.
368
369 2002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
370
371         * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
372         * libc/sys/linux/sys/time.h: Add conversion macros.
373         * libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
374         * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
375         * libc/sys/linux/gethostname.c: New file.
376         * libc/sys/linux/seteuid.c: New file.
377         * libc/sys/linux/sysctl.c: New file.
378         
379 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
380
381         * libc/string/Makefile.am: Add support for strsep.c.
382         * libc/string/Makefile.in: Regenerated.
383         * libc/string/strsep.c: New file.
384         * libc/string/strtok.c: Change to call __strtok_r service routine.
385         * libc/string/strtok_r.c: Add __strtok_r routine which takes
386         additional flag parameter regarding whether to skip leading delimeters.
387         Change strtok_r to call __strtok_r.
388
389 2002-05-23  Gareth Pearce  <tilps@hotmail.com>
390
391         * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
392         * libc/stdio/Makefile.in: Regenerated.
393         * libc/stdio/setbuffer.c: New file.
394         * libc/stdio/setlinebuf.c: New file.
395
396 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
397
398         * libc/sys/linux/Makefile.am: Add resource.c.
399         * libc/sys/linux/Makefile.in: Regenerated.
400         * libc/sys/linux/resource.c: New file.
401         * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
402         * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
403         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
404         * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
405         are now found in libc/sys/linux/resource.c.
406
407 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
408
409         * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
410         to use void * pointers and comply with Single Unix spec.
411         * libc/string/bcmp.c: Change to use void * instead of char *.
412         * libc/string/bcopy.c: Ditto.
413         * libc/string/bzero.c: Ditto.
414
415 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
416
417         * libc/sys/linux/shm_open.c: New file.
418         * libc/sys/linux/shm_unlink.c: Ditto.
419         * libc/sys/linux/Makefile.am: Add support for shm_open.c and
420         shm_unlink.c.
421         * libc/sys/linux/Makefile.in: Regenerated.
422         * libc/sys/linux/sys/types.h: Add some additional checks to see
423         if clock_t or time_t is already defined.
424
425 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
426
427         * Makefile.am: Don't pass $toollibdir down directly in
428         AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
429         Pass it under the name: top_toollibdir.
430         * Makefile.in: Regenerated.
431
432 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
433
434         * libc/include/sys/types.h: Revert previous patch.
435
436 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
437
438         * libc/include/sys/types.h: Include cygwin/types.h always under
439         Cygwin, not only if _POSIX_THREADS is defined.
440
441 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
442
443         * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
444
445 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
446
447         * Makefile.am: Copy and install headers from sys/machine/include
448         directory.  Also pass $toollibdir to lower-level directories.
449         * Makefile.in: Regenerated.
450         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
451         stderr to use _REENT macro instead of _impure_ptr directly.
452         * libc/include/sys/config.h[__i386__][__linux__]: Define
453         __DYNAMIC_REENT__.
454         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
455         call to __getreent() function if !__SINGLE_THREAD__ and
456         __DYNAMIC_REENT__ is set.
457         * libc/reent/Makefile.am: Add support for getreent.c.
458         * libc/reent/Makefile.in: Regenerated.
459         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
460         * libc/sys/linux/Makefile.am: Add support for new files.
461         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
462         * libc/sys/linux/Makefile.in: Regenerated.
463         * libc/sys/linux/configure: Ditto.
464         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
465         __close, __read, __write, __poll, __open, __lseek, __fcntl from
466         their __libc_ counterparts.
467         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
468         and weak-alias to regular names.
469         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
470         to pread64 and __pread64.
471         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
472         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
473         weak-alias to pwrite64.
474         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
475         __libc_sched_getscheduler, __libc_sched_get_priority_max,
476         __libc_sched_get_priority_min, and __libc_sched_setschedule to
477         name with __ instead of __libc_. 
478         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
479         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
480         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
481         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
482         to raise.
483         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
484         __libc_send to __send.
485         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
486         __gettimeofday.
487         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
488         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
489         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
490         type and typedef __jmp_buf to jmp_buf.
491         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
492         setjmp.S.
493         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
494         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
495         section.
496         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
497         prefix for function macros and then use weak_alias() to regular names.
498         * libc/sys/linux/machine/i386/syscall.h: Ditto.
499         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
500         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
501         to be flockfile() and funlockfile() respectively.
502         * libc/sys/linux/sys/types.h
503         * libc/reent/getreent.c: New file.
504         * libc/sys/linux/flockfile.c: Ditto.
505         * libc/sys/linux/funlockfile.c: Ditto.
506         * libc/sys/linux/getreent.c: Ditto.
507         * libc/sys/linux/pread.c: Ditto.
508         * libc/sys/linux/pwrite.c: Ditto.
509         * libc/sys/linux/raise.c: Ditto.
510         * libc/sys/linux/system.c: Ditto.
511         * libc/sys/linux/tcdrain.c: Ditto.
512         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
513         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
514         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
515         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
516         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
517
518 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
519
520         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
521         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
522         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
523         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
524
525 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
526
527         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
528         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
529         exit point.
530
531 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
532
533         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
534         options when testing natively on i[3456]86-*-linux.
535
536         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
537         only one pass or fail per test file.  Trim \r's from output
538         values received from test programs.  Remove support for named
539         tests.
540         * testsuite/newlib.locale/UTF-8.exp: Update to support new
541         newlib_check_output behaviour.
542         * testsuite/newlib.locale/UTF-8.c: Likewise.
543
544 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
545
546         * libc/include/stdlib.h: Add on_exit prototype.
547         * libc/include/sys/reent.h (struct _atexit): Add argument array
548         and bits to track type of exit routine to support both on_exit
549         and atexit.
550         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
551         by default and change the setting of the atexit structure.
552         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
553         * libc/stdlib/on_exit.c: New file.
554         * libc/stdlib/Makefile.am: Add support for on_exit.
555         * libc/stdlib/Makefile.in: Regenerated.
556         * libc/stdlib/atexit.c: Change to initialize types field.
557         * libc/stdlib/exit.c: Change to look at types field for each
558         exit routine and either call an atexit-style or an on_exit-style
559         routine accordingly.
560
561 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
562
563         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
564         allow v specifier with n or L specifiers.  For vector c format,
565         move tmp declaration to the top.
566
567 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
568
569         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
570         the original format specifier when looping for vectors to compensate
571         for any changes made in vector %g format processing.
572         Also add syntax checking for various invalid scenarios
573         involving vector format extensions.
574         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
575         return code setting for vector formats.  Also treat vector
576         separator mismatch as a match error instead of an input error.
577         Perform some syntax checking for vector formats.
578
579 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
580
581         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
582         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
583         * libc/string/strlcat.c: New file.
584         * libc/string/strlcpy.c: New file.
585
586 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
587
588         * libc/string/strchr.c: Fix comment typo.
589
590 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
591
592         * acinclude.m4: Add support for --enable-newlib-multithread.
593         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
594         --enable-newlib-multithread=no.
595
596         * libc/stdio/getc_u.c: New file.
597         * libc/stdio/getchar_u.c: New file.
598         * libc/stdio/putc_u.c: New file.
599         * libc/stdio/putchar_u.c: New file.
600         * libc/include/stdio.h: Add declarations for getc_unlocked,
601         getchar_unlocked, putc_unlocked and putchar_unlocked.
602         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
603         (CHEWOUT_FILES): Add new files' .def's.
604         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
605
606 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
607
608         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
609         Also handle as single quad word when destination ends at last
610         byte of first quad word.  Fix byte selection in single quad code.
611
612 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
613
614         * libc/include/sys/stdio.h: New file.
615         * libc/sys/linux/sys/stdio.h: New file.
616         * libc/include/stdio.h: Add declarations for flockfile,
617         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
618         * libc/stdio/clearerr.c: Add file locking.
619         * libc/stdio/fclose.c: Likewise.
620         * libc/stdio/feof.c: Likewise.
621         * libc/stdio/ferror.c: Likewise.
622         * libc/stdio/fflush.c: Likewise.
623         * libc/stdio/fgetc.c: Likewise.
624         * libc/stdio/fgetpos.c: Likewise.
625         * libc/stdio/fgets.c: Likewise.
626         * libc/stdio/fileno.c: Likewise.
627         * libc/stdio/fputc.c: Likewise.
628         * libc/stdio/fputs.c: Likewise.
629         * libc/stdio/fread.c: Likewise.
630         * libc/stdio/freopen.c: Likewise.
631         * libc/stdio/fseek.c: Likewise.
632         * libc/stdio/ftell.c: Likewise.
633         * libc/stdio/fwrite.c: Likewise.
634         * libc/stdio/getc.c: Likewise.
635         * libc/stdio/putc.c: Likewise.
636         * libc/stdio/setvbuf.c: Likewise.
637         * libc/stdio/ungetc.c: Likewise.
638         * libc/stdio/vfprintf.c: Likewise.
639
640 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
641
642         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
643         support for 'p' format.  Fix code to print bytes for vector
644         integer formats that do not specify 'h' or 'l'.
645         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
646         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
647         formats that do not specify 'h' or 'l'.
648
649         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
650
651 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
652
653         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
654         (_sbrk): Add cast of return value.
655
656 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
657
658         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
659         (_REENT_L64A_BUF): New macro for accessing area.
660         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
661         *  libc/stdlib/Makefile.in: Regenerated.
662         *  libc/stdlib/a64l.c: New file.
663         *  libc/stdlib/l64a.c: New file.
664
665 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
666
667         * libc/unix/pread.c: Fix typo for _pread_r.
668         * libc/unix/pwrite.c: Fix type for _pwrite_r.
669         * libc/sys/linux/pread64.c: Fix typo for read syscall.
670         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
671
672 2002-05-03  Christopher Faylor  <cgf@redhat.com>
673
674         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
675
676 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
677
678         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
679
680 2002-05-01  Christopher Faylor  <cgf@redhat.com>
681
682         * utmp.h: Define more UNIX constants.
683
684 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
685
686         * Makefile.am: Add support for checking multilibs.
687
688         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
689         (SUBDEFS): Add LIBC_EXTRA_DEF.
690         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
691         (LIBC_EXTRA_DEF): Likewise.
692         (extra_dir): Likewise.
693         * libc/machine/xscale/machine: New directory.
694         * libc/machine/xscale/machine/profile.h: New file.
695
696         * Makefile.am (site.exp): Remove newlib_cflags.  Add
697         multibuildtop.
698         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
699         * testsuite/lib/flags.exp: New file.
700         * testsuite/lib/newlib.exp: Load flags.exp.
701         (newlib_target_compile): Remove libgloss directory references.
702         (newlib_init): Remove newlib_cflags references.
703
704 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
705
706         * testsuite/lib/newlib.exp (newlib_target_compile): Change
707         method of finding libgloss_target_dir.
708
709         * Makefile.am (site.exp): Change host_alias, host_triplet,
710         target_alias, target_triplet to refer to gcc's host and target
711         variables (newlib's build and host variables).
712         * testsuite/lib/newlib.exp (newlib_init): Change build
713         references to host references, host references to target
714         references to reflect Makefile.am changes.
715         (newlib_target_compile): Likewise.
716         (newlib_finish): Likewise.
717
718 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
719
720         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
721
722 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
723
724         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
725         (_system): New function. Ditto.
726         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
727         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
728         targets.
729
730 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
731
732         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
733         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
734         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
735         *  libc/sys/linux/Makefile.in: Regenerated.
736         *  libc/unix/Makefile.in: Ditto.
737         *  libc/sys/linux/pread64.c: New file.
738         *  libc/sys/linux/pwrite64.c: Ditto.
739         *  libc/unix/pread.c: Ditto.
740         *  libc/unix/pwrite.c: Ditto.
741
742 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
743
744         *  libc/sys/linux/Makefile.am: Add io64.c.
745         *  libc/sys/linux/Makefile.in: Regenerated.
746         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
747         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
748         *  libc/sys/linux/io64.c: New file.
749
750 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
751
752         * configure.in (CC_FOR_NEWLIB): New variable that
753         bases on $(CC) and adds targ-include and libc/include as
754         -isystem directives if they are not already part of $(CC).
755         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
756         $(CC_FOR_NEWLIB).
757         * configure: Regenerated.
758         * Makefile.in: Ditto.
759
760 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
761
762         *  libc/sys/linux/Makefile.am: Add support for sched.c.
763         *  libc/sys/linux/Makefile.in: Regenerated.
764         *  libc/sys/linux/sched.c: New file.
765         *  libc/sys/linux/sys/types.h: Add struct timespec.
766
767 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
768
769         * configure.in (CC_FOR_BUILD): Set to gcc whether
770         cross-compiling or not.
771         (CC): Add -isystem's for targ-include and libc/include when they
772         do not already appear in CC.
773
774 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
775
776         * Makefile.am (check-DEJAGNU): New target.
777         (site.exp): Likewise.
778         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
779         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
780         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
781         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
782         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
783         * testsuite: New directory.
784         * testsuite/config: Likewise.
785         * testsuite/lib: Likewise.
786         * testsuite/newlib.locale: Likewise.
787         * testsuite/newlib.string: Likewise.
788         * testsuite/config/default.exp: New file.
789         * testsuite/lib/checkoutput.exp: New file.
790         * testsuite/lib/newlib.exp: New file.
791         * testsuite/lib/passfail.exp: New file.
792         * testsuite/newlib.locale/UTF-8.c: New file.
793         * testsuite/newlib.locale/UTF-8.exp: New file.
794         * testsuite/newlib.locale/locale.exp: New file.
795         * testsuite/newlib.string/string.exp: New file.
796         * testsuite/newlib.string/tstring.c: New file.
797
798 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
799
800         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
801         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
802         *  libc/sys/linux/Makefile.in: Regenerated.
803         *  libc/sys/linux/mmap.c: New file.
804         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
805         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
806
807 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
808
809         * acinclude.m4 (newlib_cflags): Remove include directories that
810         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
811
812 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
813
814         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
815         * libc/machine/xscale/memcmp.c: Ditto.
816         * libc/machine/xscale/memcpy.c: Ditto.
817         * libc/machine/xscale/memmove.c: Ditto.
818         * libc/machine/xscale/memset.c: Ditto.
819         * libc/machine/xscale/strchr.c: Ditto.
820         * libc/machine/xscale/strcmp.c: Ditto.
821         * libc/machine/xscale/strcpy.c: Ditto.
822         * libc/machine/xscale/strlen.c: Ditto.
823
824 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
825
826         * libc/include/sys/config.h: Remove include of <limits.h>.
827         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
828         define INT_MAX and LONG_MAX.  Use them in tests.
829
830 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
831
832         *  configure.host: Add support for powerpc-eabialtivec*.
833         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
834         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
835         *  libc/include/machine/malloc.h: New file.
836         *  libc/include/machine/stdlib.h: Ditto.
837         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
838         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
839         sources based on configuration.
840         *  libc/machine/powerpc/Makefile.in: Regenerated.
841         *  libc/machine/powerpc/configure: Ditto.
842         *  libc/machine/powerpc/configure.in: Add check for
843         powerpc-eabialtivec* in which case add in additional source files.
844         *  libc/machine/powerpc/setjmp.S: Add altivec support.
845         *  libc/machine/powerpc/vec_calloc.c: New file.
846         *  libc/machine/powerpc/vec_free.c: Ditto.
847         *  libc/machine/powerpc/vec_malloc.c: Ditto.
848         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
849         *  libc/machine/powerpc/vec_realloc.c: Ditto.
850         *  libc/machine/powerpc/machine/malloc.h: Ditto.
851         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
852         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
853         with added altivec format specifiers.
854         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
855         added altivec format specifiers.
856
857 2002-04-19      Joel Sherrill <joel@OARcorp.com>
858
859         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
860         while autoconf is trying to link main(){}.
861
862 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
863
864         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
865         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
866
867 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
868
869         * libc/time/time.tex: Add tzset info.
870
871 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
872
873         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
874         (strptime): Moved prototype to be within !__STRICT_ANSI__.
875         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
876         (tzname): Defined for all platforms.
877         (daylight, timezone): Defined only for CYGWIN.
878         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
879         environment set up.
880         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
881         environment variable is set.
882         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
883         tzset_r.c.
884         * libc/time/Makefile.in: Regenerated.
885         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
886         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
887         * libc/time/lcltime_r.c (lcltime_r): Ditto.
888         * libc/time/local.h: New local header file.
889         * libc/time/mktime.c (mktime): Add timezone support.
890         * libc/time/mktm_r.c: New file which is the common engine
891         for gmtime_r and lcltime_r.  This code has timezone support.
892         * libc/time/strftime.c (strftime): Add %Z timezone support.
893         * libc/time/tzlock.c: New file containing timezone lock stubs.
894         * libc/time/tzset.c: New file containing tzset() routine.
895         * libc/time/tzset_r.c: New file containing _tzset_r and
896         internal routine for calculating timezone changes for specified year.
897
898 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
899
900         * configure.in (CRT0_DIR): Set to libc/.
901         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
902         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
903         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
904         $(CRT1_DIR)/$(CRT1).
905         * libc/machine/xstormy16/Makefile.in: Regenerated.
906         * libc/machine/xstormy16/aclocal.m4: Regenerated.
907         * libc/machine/xstormy16/configure: Regenerated.
908
909 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
910
911         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
912         fails, don't bail out, and try to correct next time.
913
914         * libc/include/sys/config.h: Include limits.h.
915
916 2002-04-12  Eric Norum  <eric.norum@usask.com>
917
918         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
919         routine to allow autoconf to determine that building executables
920         for rtems works.
921         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
922         (rtems_gxx_mutex_once): Ditto.
923
924 2002-04-09  Tom Rix  <trix@redhat.com>
925
926         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
927
928 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
929
930         * libc/include/time.h: Fix strptime declaration.
931         * libc/time/Makefile.am: Add strptime.c.
932         * libc/time/Makefile.in: Regenerated.
933         * libc/time/strptime.c: New file.
934
935 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
936
937         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
938         siglongjmp prototype, and sigsetjmp macro definition.
939         * libc/sys/linux/siglongjmp.c: New file.
940         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
941         * libc/sys/linux/Makefile.in: Regenerated.
942
943 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
944
945         * Makefile.am: Add support for installing crt1.o if one exists.
946         * configure.host: Specify crt1.o for linux.
947         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
948         * Makefile.in: Regenerated.
949         * configure: Ditto.
950         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
951         Added for non-Cygwin, non-RTEMS configurations.
952         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
953         * libc/sys/linux/Makefile.in: Regenerated.
954         * libc/sys/linux/crt1.c: New empty file to override one defaulted
955         by gcc.  This fixes problem with reconfiguring linux newlib build.
956         * libc/sys/linux/sysconf.c: New file.
957
958 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
959
960         * configure.host: Add support for machine subdirectory of
961         sys subdirectory.
962         * configure.in: Add check for sys machine subdirectory.
963         * Makefile.am: Ditto.
964         * configure: Regenerated.
965         * Makefile.in: Ditto.
966         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
967         * libc/sys/linux/sys/syscall.h: Ditto.
968         * libc/sys/linux/sleep.c: New file.
969         * libc/sys/linux/socket.c: Ditto.
970         * libc/sys/linux/sockops.h: Ditto.
971         * libc/sys/linux/stack.c: Ditto.
972         * libc/sys/linux/usleep.c: Ditto.
973         * libc/sys/linux/machine/Makefile.am: Ditto.
974         * libc/sys/linux/machine/Makefile.in: Ditto.
975         * libc/sys/linux/machine/aclocal.m4: Ditto.
976         * libc/sys/linux/machine/configure: Ditto.
977         * libc/sys/linux/machine/configure.in: Ditto.
978         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
979         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
980         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
981         * libc/sys/linux/machine/i386/configure: Ditto.
982         * libc/sys/linux/machine/i386/configure.in: Ditto.
983         * libc/sys/linux/machine/i386/crt0.c: Ditto.
984         * libc/sys/linux/machine/i386/sigset.c: Ditto.
985         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
986         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
987         * libc/sys/linux/machine/i386/syscall.h: Ditto.
988         * libc/sys/linux/sys/select.h: Ditto.
989         * libc/sys/linux/configure.in: Add support for machine directory.
990         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
991         * libc/sys/linux/Makefile.in: Regenerated.
992         * libc/sys/linux/configure: Ditto.
993         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
994         * libc/sys/linux/inode.c: Ditto.
995         * libc/sys/linux/linux.c: Ditto.
996         * libc/sys/linux/process.c: Ditto.
997         * libc/sys/linux/systat.c: Ditto.
998         * libc/sys/linux/time.c: Ditto.
999         * libc/sys/linux/wait.c: Ditto.
1000         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1001         * libc/sys/linux/io.c: Change header plus add readv/writev.
1002         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1003         use __sigsuspend syscall.
1004         * libc/sys/linux/select.c: Change header plus change select to
1005         use _newselect syscall.
1006         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1007         used by glibc header files.
1008         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1009         types.
1010
1011 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1012
1013         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1014         initializing a struct _reent that has been dynamically allocated.
1015         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1016         _REENT_SMALL and does nothing otherwise.
1017         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1018         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1019         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1020         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1021         [_REENT_SMALL](struct _misc_reent): New structure containing
1022         miscellaneous reentrant areas needed by newlib.
1023         [_REENT_SMALL](struct _reent): Add _misc pointer.
1024         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1025         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1026         and _REENT_STRTOK_LAST macros.
1027         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1028         and _REENT_MBLEN_STATE macros.
1029         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1030         and _REENT_MBTOWC_STATE macros.
1031         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1032         and _REENT_WCTOMB_STATE macros.
1033
1034 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1035
1036         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1037
1038 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1039
1040         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1041
1042 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1043
1044         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1045         Store high part of leading bytes too.
1046
1047 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1048
1049         * libm/math/ef_hypot.c: Increase scale factor to 68.
1050
1051 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1052
1053         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1054         error.
1055
1056 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1057
1058         * libc/sys/go32/access.c: Change license to relaxed license
1059         used in identical file throughout newlib/libgloss.
1060
1061 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1062
1063         * libc/sys/arm/access.c: New file.
1064         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1065         * libc/sys/arm/Makefile.in: Regenerate.
1066         * libc/sys/arm/syscalls.c (_stat): New function.
1067
1068 2002-03-11  Michael Meissner  <meissner@redhat.com>
1069
1070         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1071         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1072         * libc/machine/mips/Makefile.in: Regenerate.
1073         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1074         * libc/machine/mips/memset.c: Dito.
1075         * libc/machine/mips/strcmp.c: Dito.
1076         * libc/machine/mips/strlen.c: Dito.
1077         * libc/machine/mips/strncmp.c: Dito.
1078
1079 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1080
1081         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1082         object so it works for shared library or statici library.
1083 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
1084
1085         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
1086         (strptime): Moved prototype to be within !__STRICT_ANSI__.
1087         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1088         (tzname): Defined for all platforms.
1089         (daylight, timezone): Defined only for CYGWIN.
1090         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1091         environment set up.
1092         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1093         environment variable is set.
1094         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1095         tzset_r.c.
1096         *  libc/time/Makefile.in: Regenerated.
1097         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1098         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1099         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
1100         *  libc/time/local.h: New local header file.
1101         *  libc/time/mktime.c (mktime): Add timezone support.
1102         *  libc/time/mktm_r.c: New file which is the common engine
1103         for gmtime_r and lcltime_r.  This code has timezone support.
1104         *  libc/time/strftime.c (strftime): Add %Z timezone support.
1105         *  libc/time/tzlock.c: New file containing timezone lock stubs.
1106         *  libc/time/tzset.c: New file containing tzset() routine.
1107         *  libc/time/tzset_r.c: New file containing _tzset_r and
1108         internal routine for calculating timezone changes for specified year.
1109
1110 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1111
1112         * configure.in (CRT0_DIR): Set to libc/.
1113         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1114         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1115         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
1116         $(CRT1_DIR)/$(CRT1).
1117         * libc/machine/xstormy16/Makefile.in: Regenerated.
1118         * libc/machine/xstormy16/aclocal.m4: Regenerated.
1119         * libc/machine/xstormy16/configure: Regenerated.
1120
1121 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
1122
1123         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1124         fails, don't bail out, and try to correct next time.
1125
1126         * libc/include/sys/config.h: Include limits.h.
1127
1128 2002-04-12  Eric Norum  <eric.norum@usask.com>
1129
1130         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1131         routine to allow autoconf to determine that building executables
1132         for rtems works.
1133         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1134         (rtems_gxx_mutex_once): Ditto.
1135
1136 2002-04-09  Tom Rix  <trix@redhat.com>
1137
1138         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1139
1140 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1141
1142         * libc/include/time.h: Fix strptime declaration.
1143         * libc/time/Makefile.am: Add strptime.c.
1144         * libc/time/Makefile.in: Regenerated.
1145         * libc/time/strptime.c: New file.
1146
1147 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
1148
1149         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1150         siglongjmp prototype, and sigsetjmp macro definition.
1151         * libc/sys/linux/siglongjmp.c: New file.
1152         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1153         * libc/sys/linux/Makefile.in: Regenerated.
1154
1155 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
1156
1157         * Makefile.am: Add support for installing crt1.o if one exists.
1158         * configure.host: Specify crt1.o for linux.
1159         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1160         * Makefile.in: Regenerated.
1161         * configure: Ditto.
1162         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1163         Added for non-Cygwin, non-RTEMS configurations.
1164         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1165         * libc/sys/linux/Makefile.in: Regenerated.
1166         * libc/sys/linux/crt1.c: New empty file to override one defaulted
1167         by gcc.  This fixes problem with reconfiguring linux newlib build.
1168         * libc/sys/linux/sysconf.c: New file.
1169
1170 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
1171
1172         * configure.host: Add support for machine subdirectory of
1173         sys subdirectory.
1174         * configure.in: Add check for sys machine subdirectory.
1175         * Makefile.am: Ditto.
1176         * configure: Regenerated.
1177         * Makefile.in: Ditto.
1178         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1179         * libc/sys/linux/sys/syscall.h: Ditto.
1180         * libc/sys/linux/sleep.c: New file.
1181         * libc/sys/linux/socket.c: Ditto.
1182         * libc/sys/linux/sockops.h: Ditto.
1183         * libc/sys/linux/stack.c: Ditto.
1184         * libc/sys/linux/usleep.c: Ditto.
1185         * libc/sys/linux/machine/Makefile.am: Ditto.
1186         * libc/sys/linux/machine/Makefile.in: Ditto.
1187         * libc/sys/linux/machine/aclocal.m4: Ditto.
1188         * libc/sys/linux/machine/configure: Ditto.
1189         * libc/sys/linux/machine/configure.in: Ditto.
1190         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1191         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1192         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1193         * libc/sys/linux/machine/i386/configure: Ditto.
1194         * libc/sys/linux/machine/i386/configure.in: Ditto.
1195         * libc/sys/linux/machine/i386/crt0.c: Ditto.
1196         * libc/sys/linux/machine/i386/sigset.c: Ditto.
1197         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1198         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1199         * libc/sys/linux/machine/i386/syscall.h: Ditto.
1200         * libc/sys/linux/sys/select.h: Ditto.
1201         * libc/sys/linux/configure.in: Add support for machine directory.
1202         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1203         * libc/sys/linux/Makefile.in: Regenerated.
1204         * libc/sys/linux/configure: Ditto.
1205         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1206         * libc/sys/linux/inode.c: Ditto.
1207         * libc/sys/linux/linux.c: Ditto.
1208         * libc/sys/linux/process.c: Ditto.
1209         * libc/sys/linux/systat.c: Ditto.
1210         * libc/sys/linux/time.c: Ditto.
1211         * libc/sys/linux/wait.c: Ditto.
1212         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1213         * libc/sys/linux/io.c: Change header plus add readv/writev.
1214         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1215         use __sigsuspend syscall.
1216         * libc/sys/linux/select.c: Change header plus change select to
1217         use _newselect syscall.
1218         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1219         used by glibc header files.
1220         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1221         types.
1222
1223 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
1224
1225         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1226         initializing a struct _reent that has been dynamically allocated.
1227         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1228         _REENT_SMALL and does nothing otherwise.
1229         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1230         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1231         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1232         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1233         [_REENT_SMALL](struct _misc_reent): New structure containing
1234         miscellaneous reentrant areas needed by newlib.
1235         [_REENT_SMALL](struct _reent): Add _misc pointer.
1236         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1237         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1238         and _REENT_STRTOK_LAST macros.
1239         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1240         and _REENT_MBLEN_STATE macros.
1241         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1242         and _REENT_MBTOWC_STATE macros.
1243         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1244         and _REENT_WCTOMB_STATE macros.
1245
1246 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1247
1248         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1249
1250 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1251
1252         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1253
1254 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1255
1256         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1257         Store high part of leading bytes too.
1258
1259 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1260
1261         * libm/math/ef_hypot.c: Increase scale factor to 68.
1262
1263 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1264
1265         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1266         error.
1267
1268 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1269
1270         * libc/sys/go32/access.c: Change license to relaxed license
1271         used in identical file throughout newlib/libgloss.
1272
1273 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1274
1275         * libc/sys/arm/access.c: New file.
1276         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1277         * libc/sys/arm/Makefile.in: Regenerate.
1278         * libc/sys/arm/syscalls.c (_stat): New function.
1279
1280 2002-03-11  Michael Meissner  <meissner@redhat.com>
1281
1282         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1283         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1284         * libc/machine/mips/Makefile.in: Regenerate.
1285         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1286         * libc/machine/mips/memset.c: Dito.
1287         * libc/machine/mips/strcmp.c: Dito.
1288         * libc/machine/mips/strlen.c: Dito.
1289         * libc/machine/mips/strncmp.c: Dito.
1290
1291 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1292
1293         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1294         object so it works for shared library or statici library.
1295         * libc/machine/i386/Makefile.in: Regenerated.
1296
1297 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
1298
1299         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1300         Add memcpy.S, memset.S and strcpy.S.
1301         * libc/machine/sh/Makefile.in: Regenerate.
1302         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1303         (SHHI, SHLO): Define.
1304         * libc/machine/sh/memset.S: Add code for SH5.
1305         * libc/machine/sh/memset.S: Likewise.
1306         * libc/machine/sh/strcpy.S: Likewise.
1307
1308 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
1309
1310         * configure.host: Add check for --disable-newlib-io-float
1311         configuration option and add -DNO_FLOATING_POINT to newlib cflags
1312         if appropriate.
1313         * acinclude.m4: Added --disable-newlib-io-float option.
1314         * aclocal.m4: Regenerated.
1315         * configure: Ditto.
1316         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1317         * libc/*/aclocal.m4 libc/*/configure 
1318         * libm/*/aclocal.m4 libm/*/configure: Ditto.
1319         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1320         if NO_FLOATING_POINT flag is not defined.
1321
1322 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
1323
1324         * libc/include/sys/config.h: Add __extension__ in front of
1325         long long references.
1326
1327 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1328
1329         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1330         (_stat): Ditto.
1331
1332 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1333
1334         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1335         of off_t.
1336
1337 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1338
1339         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1340         clobbered registers.
1341
1342 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1343
1344         * configure.host (newlib_cflags): When host is in m68* add
1345         -DCOMPACT_CTYPE.
1346
1347 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
1348
1349         * libc/include/sys/config.h: Add definitions for
1350         __int16_t, __uint16_t, __int64_t, and __uint64_t.
1351
1352 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
1353
1354         * libc/sys/mmixware/link.c: New.
1355         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1356         volatile.
1357         * libc/sys/mmixware/times.c (_times): Renamed from times.
1358         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1359         properly by reading previous contents, not through BinaryReadWrite.
1360         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1361         * libc/sys/mmixware/Makefile.in: Regenerate.
1362
1363 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
1364
1365         * libc/include/grp.h: Don't declare group functions when compiling
1366         Cygwin.
1367
1368 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
1369
1370         * libc/include/grp.h: Include Cygwin specific header.
1371         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
1372         when compiling for Cygwin.
1373         * libc/include/sys/types.h: Don't define off_t, uid_t
1374         and gid_t when compiling for Cygwin.
1375
1376 2002-02-08  matthew green  <mrg@redhat.com>
1377
1378         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1379         _REENT_EMERGENCY_SIZE, not sizeof(char *).
1380
1381 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
1382
1383         Contribute sh64-elf.
1384         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1385         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1386         support in printf.
1387         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
1388         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1389         any labels.
1390         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1391         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1392         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1393         * libc/machine/sh/configure.in: Rework conditionals.
1394         * libc/machine/sh/Makefile.am: Likewise.
1395         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1396         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1397         * configure.host: Match `sh*'.
1398         * libc/include/machine/setjmp.h: Define for SH5.
1399         * libc/machine/sh/configure.in: Detect SH5.
1400         * libc/machine/sh/configure: Rebuilt.
1401         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1402         * libc/machine/sh/Makefile.in: Rebuilt.
1403         * libc/machine/sh/asm.h: Adjust for SH5.
1404         * libc/machine/sh/setjmp.S: Implement in SHmedia.
1405         * libc/sys/sh/crt0.S: Likewise.
1406         * libc/sys/sh/trap.S: Likewise.
1407
1408 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1409
1410         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1411         (mach_add_obj): Conditionally set to setjmp.o or nothing.
1412         (LIB_SOURCES): Remove $(mach_add_src).
1413         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1414         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1415         * libc/machine/i386/Makefile.in: Regenerate.
1416
1417 2002-02-05  Manik Raina <manik@cisco.com>
1418
1419         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1420         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1421         s, p, k, and outstr.
1422         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1423
1424 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1425
1426         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1427         _REENT_CHECK_EMERGENCY macro.
1428
1429 2002-02-03  matthew green  <mrg@redhat.com>
1430
1431         * libc/reent/signgam.c (__signgam): Fix error in previous.
1432
1433 2002-02-02  matthew green  <mrg@redhat.com>
1434
1435         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1436
1437         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1438         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1439         * libc/include/sys/reent.h (struct _reent): Completely new version
1440         for _REENT_SMALL.
1441         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1442         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1443         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1444         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1445         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1446         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1447         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1448         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1449         (_REENT_EMERGENCY): Likewise.
1450
1451         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1452         the start of the real __sFILE, used for stdin, stdout and stderr until
1453         they are setup properly.
1454         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1455         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1456         allocated stdin, stdout and stderr.
1457         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1458         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1459         * libc/stdio/perror.c (_perror_r): Likewise.
1460         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1461         * libc/stdio/putchar.c (_putchar_r): Likewise.
1462         * libc/stdio/puts.c (_puts_r): Likewise.
1463         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1464         * libc/stdio/vprintf.c (vprintf): Likewise.
1465         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1466
1467         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1468
1469         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1470         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1471         for _REENT_SMALL.
1472         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1473         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1474
1475         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1476         _REENT_SMALL.
1477         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1478         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1479         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1480         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1481         * libc/stdlib/rand48.c (__dorand48): Likewise.
1482         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1483         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1484         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1485         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1486         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1487         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1488         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1489         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1490         * libc/stdlib/rand.c (rand): Likewise.
1491
1492         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1493         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1494
1495         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1496         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1497         * libc/include/sys/reent.h (struct _mprec): New structure.
1498
1499         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1500         _unused_strtok_last.
1501         * libc/string/strtok.c (strtok): Use a local static variable.
1502
1503         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1504         (_REENT_EMERGENCY_SIZE): Likewise.
1505         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1506         _REENT_ASCTIME_BUF().
1507         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1508         _REENT_TM().
1509
1510         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1511         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1512         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1513         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1514         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1515         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1516
1517 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1518
1519         * configure.host (xstormy16): Don't use the generic malloc.
1520         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1521         * libc/machine/xstormy16/Makefile.in: Regenerate.
1522         * libc/machine/xstormy16/mallocr.c: New file.
1523         * libc/machine/xstormy16/tiny-malloc.c: New file.
1524
1525 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1526
1527         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1528         when _CYGWIN_TYPES_H is not defined.
1529
1530 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1531
1532         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1533
1534 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1535
1536         * libc/include/sys/signal.h: Remove pthread_kill declaration
1537         when __CYGWIN__ is defined.
1538
1539 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1540
1541         * libc/include/time.h: Add prototype for strptime for Cygwin.
1542
1543 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1544
1545         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1546         dst was not word aligned.
1547
1548         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1549         if too much memory is requested.
1550
1551 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1552
1553         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1554         reads blanks from the input file to break if EOF reached
1555         rather than end processing.
1556
1557 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1558
1559         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1560
1561 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1562
1563         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1564         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1565         libc/include/sys/config.h: Ditto.
1566
1567 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1568
1569         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1570
1571 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1572             Catherine Moore  <clm@redhat.com>
1573             Richard Henderson  <rth@redhat.com>
1574             Corinna Vinschen  <vinschen@redhat.com>
1575
1576         * configure.host: Add support for xstormy16.
1577         * libc/include/machine/ieeefp.h: Add support for xstormy16.
1578         * libc/include/machine/setjmp.h: Add support for xstormy16.
1579         * libc/include/sys/config.h: Add support for xstormy16.
1580         * libc/machine/xstormy16/Makefile.am: New file.
1581         * libc/machine/xstormy16/Makefile.in: New file.
1582         * libc/machine/xstormy16/aclocal.m4: New file.
1583         * libc/machine/xstormy16/configure: New file.
1584         * libc/machine/xstormy16/configure.in: New file.
1585         * libc/machine/xstormy16/setjmp.S: New file.
1586
1587 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1588
1589         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1590         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1591
1592 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
1593
1594         * libm/machine/Makefile.am: Change rules to create correct lib.a.
1595         * libm/machine/Makefile.in: Regenerated through automake.
1596
1597 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1598
1599         * Makefile.am (DOCDIR): Force to empty string when doc
1600         directory is not present.
1601
1602 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1603
1604         * libc/machine/i386/f_*: Move to libm/machine/i386.
1605
1606 2001-12-18      Joel Sherrill <joel@OARcorp.com>
1607
1608         * libm/machine/Makefile.am: Add dummy doc stub so
1609         "make info" works.
1610
1611 2001-12-17      Joel Sherrill <joel@OARcorp.com>
1612
1613         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1614
1615 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1616
1617         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1618         $(COMPILE) rather than $(CC).
1619         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1620         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1621         $(LIB_COMPILE) change.
1622         (vfiprintf.$(oext)): Likewise.
1623
1624 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
1625
1626         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1627         conditionalized including of getopt stuff.
1628
1629 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1630
1631         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1632         compile line.
1633         (vfiprintf.$(oext)): Likewise.
1634
1635 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1636
1637         * Makefile.shared: New file.
1638         * libc/sys/linux/shared.ld: New file.
1639         * libm/machine/*: New files.
1640         * libm/machine/i386/*: New files.
1641         * Makefile.am: Add libtool support.  Change math and mathfp
1642         references to variables.
1643         * configure.host: Add variables for libtool support.  Add
1644         libm_machine_dir variable.
1645         * configure.in: Add objectlist variables, for libtool
1646         support.  Add CC_FOR_BUILD tests.
1647         * libc/Makefile.am: Add libtool support.  Change crt0.o
1648         reference to be a variable reference.
1649         * libc/configure.in: Add libtool support.  Change sublib
1650         names to be lib${subdir}.la when using libtool.
1651         * libc/ctype/Makefile.am: Add libtool support.
1652         * libc/errno/Makefile.am: Likewise.
1653         * libc/locale/Makefile.am: Likewise.
1654         * libc/machine/Makefile.am: Likewise.
1655         * libc/machine/configure.in: Likewise.
1656         * libc/machine/i386/Makefile.am: Likewise.
1657         * libc/machine/i386/configure.in: Likewise.
1658         * libc/misc/Makefile.am: Likewise.
1659         * libc/posix/Makefile.am: Likewise.
1660         * libc/reent/Makefile.am: Likewise.
1661         * libc/signal/Makefile.am: Likewise.
1662         * libc/stdio/Makefile.am: Likewise.
1663         * libc/stdlib/Makefile.am: Likewise.
1664         * libc/string/Makefile.am: Likewise.
1665         * libc/sys/Makefile.am: Likewise.
1666         * libc/sys/configure.in: Likewise.
1667         * libc/sys/linux/Makefile.am: Add libtool support.  Change
1668         awk reference to a variable reference.  Change signal.h
1669         reference to a variable reference.
1670         * libc/sys/linux/configure.in: Add libtool support.
1671         * libc/syscalls/Makefile.am: Likewise.
1672         * libc/time/Makefile.am: Likewise.
1673         * libc/unix/Makefile.am: Likewise.
1674         * libm/Makefile.am: Add libtool support.  Change math and
1675         mathfp references to variables.
1676         * libm/configure.in: Add libtool support.  Add
1677         LIBM_MACHINE_LIB variable.
1678         * libm/common/Makefile.am: Add libtool support.
1679         * libm/math/Makefile.am: Likewise.
1680         * libm/mathfp/Makefile.am: Likewise.
1681         Regenerate all Makefile.in, aclocal.m4, and configure.
1682
1683 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1684
1685         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1686
1687 2001-12-06  John Peacock <jpeacock@rowman.com>
1688
1689         * libc/include/sys/unistd.h: Correct ualarm declaration.
1690
1691 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1692
1693         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1694         vector before calling the initialisation functions.
1695
1696 2001-11-29  Christopher Faylor  <cgf@redhat.com>
1697
1698         * libc/include/dirent.h: Protect against multiple inclusion.
1699
1700 2001-11-27  Christopher Faylor  <cgf@redhat.com>
1701
1702         * libc/include/sys/types.h: Define useconds_t.
1703         * libc/include/sys/ulimit.h: Declare ualarm.
1704
1705 2001-11-21  Christopher Faylor  <cgf@redhat.com>
1706
1707         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1708
1709 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
1710
1711         * libc/sys/mmixware/*: Tweak license header in all source files.
1712
1713 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
1714
1715         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1716         to here.  Rearrange for general inclusion by stdlib.h.
1717         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1718         isn't defined.
1719         * libc/sys/linux/include/alloca.h: Move to libc/include.
1720
1721 2001-11-12  Anthony Green  <green@redhat.com>
1722
1723         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1724
1725 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
1726
1727         * libc/sys/mmixware/*: Correct spacing in all source files.
1728         * libc/sys/mmixware/syscall.h: Move misplaced file...
1729         * libc/sys/mmixware/sys/syscall.h: ...here.
1730
1731 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
1732
1733         * libc/include/machine/ieeefp.h: Add support for mmix target.
1734         * libc/include/machine/setjmp.h: Ditto.
1735         * configure.host: Ditto.
1736         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1737         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1738         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1739         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1740         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1741         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1742         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1743         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1744         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1745         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1746         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1747         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1748         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1749         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1750         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1751         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1752         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1753         libc/sys/mmixware/aclocal.m4: Generate.
1754
1755 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
1756
1757         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1758         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1759         when __CYGWIN__ is defined.
1760         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1761         logwtmp().
1762
1763 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
1764
1765         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1766         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1767         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1768         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1769
1770 2001-10-24  Christopher Faylor  <cgf@redhat.com>
1771
1772         * libc/stdio/fseek.c: Reset pointer to buffer base
1773         when forced to seek outside of current buffer contents.
1774         This prevents the code from erroneously thinking there is
1775         anything in the current buffer.
1776
1777 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
1778
1779         * libc/include/math.h: The C++ standard adds the single-precision
1780         versions of the elementary functions.
1781
1782 2001-10-22  Christopher Faylor  <cgf@redhat.com>
1783
1784         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1785         throughout.
1786         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1787         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1788         * system.c (_system_r): Ditto.
1789
1790 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
1791
1792         * libc/include/sys/unistd.h: Add prototype for fchdir() when
1793         __CYGWIN__ or __rtems__ is defined.
1794
1795 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
1796
1797         * libc/include/stdlib.h: add declarations for
1798         _strtoull_r, _strtoll_r, strtoull, and strtoll.
1799         * libc/stdio/local.h: remove declarations of
1800         __strtoull_r and __strtoll_r.
1801         * libc/stdio/vfscanf.c(__svfscanf_r): call
1802         _strtoull_r instead of __strtoull_r. Ditto
1803         _strtoll_r vs. __strtoll_r.
1804         * libc/stdlib/Makefile.am: add new files to
1805         .c list and .def list
1806         * libc/stdlib/Makefile.in: regenerate
1807         * libc/stdlib/strtoll_r.c: rename __strtoll_r
1808         as _strtoll_r
1809         * libc/stdlib/strtoull_r.c: rename __strtoull_r
1810         as _strtoull_r
1811         * libc/stdlib/strtoull.c: new file
1812         * libc/stdlib/strtoll.c: new file
1813
1814 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
1815
1816         * libc/include/process.h: Add getpid() declaration.
1817
1818 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1819
1820         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1821         for new style arm/elf ctor/dtor handling.
1822         Minor formatting tidy up.
1823
1824 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
1825
1826         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1827         and strtoull_r.c.
1828         * libc/stdlib/Makefile.in: Regenerated.
1829         * libc/stdlib/strtoll_r.c: New file.
1830         * libc/stdlib/strtoull_r.c: New file.
1831         * libc/stdio/local.h: Add prototypes for long long string
1832         conversion routines.
1833         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1834         tied to %L integer conversion specifier.
1835
1836 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
1837
1838         * strftime.c (strftime): Fix "%W" implementation to properly handle
1839         Mondays too.
1840
1841 2001-09-07  Jeff Law  <law@redhat.com>
1842
1843         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1844         __fini with "mov.l" instead of "mov.w".
1845
1846 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
1847
1848         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1849         and getopt.h.
1850
1851 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
1852
1853         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1854
1855 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1856
1857         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1858         field.
1859         (__DIRENT_VERSION): New define.
1860
1861 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1862
1863         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1864         Shrink __d_reserved accordingly to keep structure size.
1865         (dirfd): Declare external.
1866
1867 2001-08-29  Joel Sherrill <joel@OARcorp.com>
1868
1869         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1870
1871 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1872
1873         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1874           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1875           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1876           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1877           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1878           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1879           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1880           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1881         Add conditional compilation to avoid HW FPU instructions
1882         when compiled for soft-float.
1883
1884 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1885
1886         * Makefile.am: Add check for ln failing when creating libg.a
1887         so that cp gets used as a backup.
1888         * Makefile.in: Regenerated.
1889
1890 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1891
1892         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1893         No longer include time.h.  Add struct __tm to use for
1894         _localtime_buf in the reentrant structure.  Add a
1895         _NULL definition to use in initializing the reentrant struct.
1896         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1897         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1898         <sys/_types.h>.
1899         * libc/include/sys/unistd.h: Include <sys/_types.h>.
1900         * libc/time/lcltime.c (localtime): Cast the reentrant struct
1901         _localtime_buf to be struct tm *.
1902
1903 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
1904
1905         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1906         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1907         __ctors_end.
1908         * libc/sys/h8300hms/syscalls.c: Include errno.h.
1909         (_unlink): New stub function.
1910
1911 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
1912
1913         * libc/include/sys/errno.h: Add a cautionary comment.
1914
1915 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
1916
1917         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1918         for SIZE_SZ so that alignment ends up a minimum of 8.
1919
1920 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
1921
1922         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1923         arguments.
1924
1925         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1926         Cygwin.
1927
1928 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
1929
1930         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1931         macro constants for mallopt options.
1932         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1933
1934 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
1935
1936         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1937         otherwise default.
1938
1939 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
1940
1941         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1942
1943 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
1944
1945         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1946         Define for little endian ARMs.
1947
1948         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1949         __IEEE_BYTES_LITTLE_ENDIAN is defined.
1950
1951 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
1952
1953         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1954
1955 2001-06-11  Egor Duda  <deo@logos-m.ru>
1956
1957         * libc/ctype/ctype_.c: When compiled with gcc on platforms
1958         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1959         initialized memory region. Platform can define COMPACT_CTYPE
1960         to avoid allocation of the additional 128 bytes of data.
1961         Add pointer to _ctype_ array. Always initialize all _ctype_
1962         array elements.
1963
1964 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
1965
1966         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1967         NULL pointer.
1968
1969 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1970
1971         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1972
1973 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
1974
1975         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1976         matching, non-word alignment, and the length is <= 4 but more than
1977         enough to move them over a word boundary.
1978         Add comments explaining what each instruction does.
1979
1980 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
1981
1982         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1983         * libc/include/sys/unistd.h: Ditto.
1984
1985 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
1986
1987         * libc/string/strrchr.c: Use strchr for the speed improvements.
1988
1989 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
1990
1991         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1992         real file systems, let __smakebuf() determine if line buffering
1993         should be used for stdout.
1994
1995 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1996
1997         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1998
1999 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
2000
2001         * libc/include/stdlib.h: Add prototype for _strtod_r.
2002
2003 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
2004
2005         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
2006         * libc/stdio/vprintf.c (_vprintf_r): new function
2007         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
2008         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
2009         _DEFUN, and call _vfprintf_r, not vfprintf.
2010         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
2011         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
2012         _DEFUN, and call _vfprintf_r, not vfprintf.
2013
2014 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
2015   
2016         * libc/include/sys/unistd.h [X_OK]: Use better protection against
2017         Cygwin X_OK definitions in sys/file.h.
2018
2019 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
2020
2021         * libc/include/sys/time.h: Define timercmp and other macros for
2022         __CYGWIN__, too.
2023
2024 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2025         
2026         * acinclude.m4: Added --enable-malloc-debugging configure flag.
2027         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
2028         --enable-malloc-debugging selected.
2029         * aclocal.m4 configure: Regenerated.
2030           libm/aclocal.m4 libm/configure: Ditto.
2031         * libc/aclocal.m4 libc/configure: Ditto.
2032         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
2033         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
2034         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
2035         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
2036         * doc/aclocal.m4 doc/configure: Ditto.
2037
2038 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
2039
2040         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
2041         into one list.
2042         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
2043         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
2044         function prototypes.
2045         (_fscanf_r, _sscanf_r): Ditto.
2046         * libc/include/stdlib.h: Added _strtod_r prototype.
2047         * libc/stdio/Makefile.am: Add new v*scanf functions.
2048         * libc/stdio/Makefile.in: Regenerate.
2049         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
2050         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
2051         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
2052         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
2053         (sscanf): Changed to call __svfscanf_r with _REENT argument.
2054         (_sscanf_r): New routine.
2055         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2056         with __svfscanf_r prototype.
2057         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2058         routines.
2059         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2060         structure as argument as calls reentrant versions of helper functions
2061         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2062         to _strtol_r and _strtod_r respectively.
2063         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2064         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2065         _REENT argument.
2066         * libc/stdio/vscanf.c: New file.
2067         * libc/stdio/vsscanf.c: Ditto.
2068
2069 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
2070
2071         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
2072         Define daylight to _daylight if it is not defined
2073         Prepare a variable export of timezone based on timezonevariable. 
2074         (Cannot be used with the timezone() function.)
2075
2076 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
2077
2078         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2079          Correct the numerical values.
2080
2081 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
2082
2083         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2084
2085 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
2086
2087         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2088         on case insensitve file systems.
2089
2090 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
2091
2092         * libc/include/sys/features.h: Add appropriate defines for Cygwin
2093         pthread support.
2094         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2095         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2096         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
2097
2098 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
2099
2100         * libc/include/machine/ieeefp.h: Comment about new configuration
2101         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2102         * libm/common/fdlib.h: Define new macros for testing floats.
2103         * libm/common/sf_*: Use them.
2104         * libm/math/ef_*: Likewise.
2105         * libm/math/sf_*: Likewise.
2106
2107 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
2108
2109         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2110         prolog to by-pass possible assembler error.
2111
2112 2001-03-21  Egor Duda  <deo@logos-m.ru>
2113
2114         Allow building internal stubs for non-reentrant syscalls
2115         if target provides its own malloc
2116         * libc/reent/reent.c (errno): Move definition here.
2117         * libc/reent/sbrkr.c: From here.
2118
2119 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
2120
2121         * libc/include/sys/types.h (BSD int typedefs): Guard with
2122         _BSDTYPES_DEFINED rather than _WINSOCK_H.
2123         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2124         _SYS_TYPES_FD_SET.
2125         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2126         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2127
2128 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
2129
2130         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2131         _PC_POSIX_SECURITY constants for Cygwin.
2132
2133 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
2134
2135         * libc/sys/cygwin/crt0.c: Add copyright hint.
2136         * libc/sys/cygwin/sys/dirent.h: Ditto.
2137         * libc/sys/cygwin/sys/param.h: Ditto.
2138         * libc/sys/cygwin/sys/utime.h: Ditto.
2139         * libc/sys/cygwin/sys/utmp.h: Ditto.
2140
2141 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
2142
2143         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2144         equivalent to LONGINT.
2145
2146 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
2147
2148         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2149         jmpbuf on MIPS64 targets.
2150         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2151
2152 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
2153
2154         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
2155           declarations.
2156
2157 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
2158
2159         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2160         For RTEMS, define to be ssize_t.  Default to int if not defined.
2161         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2162         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2163         * libc/stdio/local.h (__sread, __swrite): Likewise.
2164         * libc/include/sys/reent.h (_read, _write): Likewise.
2165         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2166         * libc/syscalls/sysread.c (read): Likewise.
2167         * libc/syscalls/syswrite.c (write): Likewise.
2168
2169 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
2170
2171         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2172
2173 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
2174
2175         * libc/include/sys/stat.h: Use special defines for executable stat bits
2176         when compiling for Cygwin.
2177         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2178         for Cygwin.
2179
2180 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2181
2182         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2183         of strtok_r is always defined.
2184
2185 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
2186
2187         * libc/include/machine/ansi.h: New dummy header file.
2188
2189 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
2190
2191         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2192         changed the copyright information to allow free modification of the
2193         file with no reference to "copying.dj".
2194         * libc/include/sys/stat-dj.h: Ditto.
2195         * libc/machine/i386/setjmp.S: Ditto.
2196         * libc/sys/h8300hms/sys/file.h: Ditto.
2197         * libc/sys/sysmec/access.c: Ditto.
2198         * libc/sys/sysnecv850/access.c: Ditto.
2199         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2200         * libc/stdlib/getenv_r.c: Ditto.
2201         * libc/stdlib/putenv_r.c: Ditto.
2202         * libc/stdlib/setenv_r.c: Ditto.
2203         * libc/stdlib/getenv.c: Removed DJ reference since any possible
2204         modifications will now be in the _r version of this file.
2205         * libc/stdlib/putenv.c: Ditto.
2206         * libc/stdlib/setenv.c: Ditto.
2207         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2208         valid.  Added a reference to DJ's web page that contains his address.
2209         * libc/sys/go32/*.s: Removed references to DJ's old address.
2210         * libc/sys/go32/*.c: Ditto.
2211         * libc/sys/go32/*.h: Ditto.
2212         * libc/sys/go32/*.S: Ditto.
2213         * libc/sys/go32/sys/*.h: Ditto.
2214
2215 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
2216
2217         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2218         HAVE_FCNTL flag check.
2219         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2220         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2221
2222 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
2223
2224         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2225
2226 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
2227
2228         * libc/include/stdlib.h: Add declarations of rand48 functions and
2229         their reentrant versions.
2230         * libc/include/sys/reent.h: Move macros from rand48.h. Add
2231         struct _rand48 for shared parameters of rand48 functions.
2232         (struct _reent): Add a variable _r48 of struct _rand48.
2233         (_REENT_INIT): Add _r48 initialization.
2234         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2235         (CHEWOUT_FILES): Add rand48.def.
2236         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2237         * libc/stdlib/Makefile.in: Regenerated.
2238         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2239         NetBSD C library.
2240         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2241         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2242         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2243         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2244         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2245         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2246         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2247         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2248         * libc/stdlib/rand48.c (__dorand48): Ditto.
2249         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2250         parameters into macros referring them in the reentrant structure.
2251
2252 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
2253
2254         * libc/include/sys/stat.h: Add mknod for Cygwin now that
2255         Cygwin definition has correct prototype.
2256
2257 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2258
2259         * libc/include/sys/stat.h: Must revert change for mknod
2260         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2261         prototype.
2262
2263 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2264
2265         * libc/include/stdio.h: Revert putw prototype.
2266
2267 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
2268
2269         * libc/include/grp.h: add prototype for initgroups.
2270         * libc/include/stdio.h: fix prototype for putw.
2271         * libc/include/sys/signal.h: add prototype for killpg.
2272         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2273         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2274         vhangup and remove duplicate sysconf prototype.
2275
2276 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
2277
2278         * libc/sys/rtems/sys/types.h: Removed.
2279
2280 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
2281
2282         * libc/include/locale.h: add LC_MESSAGES definition
2283
2284 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2285
2286         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2287         SYS_get_argN):
2288         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2289         __setup_argv_and_call_main): New.
2290
2291 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
2292
2293         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2294         if defined.
2295         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2296         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2297         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2298         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2299
2300 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
2301
2302         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2303         compiling under Cygwin.
2304
2305 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
2306
2307         * libc/include/math.h (signgam): Change to errno-like solution
2308         using a function to return the address of the real signgam.
2309         * libc/reent/signgam.c: New file containing __signgam().
2310         * libc/reent/Makefile.am: Added signgam.c to list of files.
2311         * libc/reent/Makefile.in: Regenerated.
2312
2313 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
2314
2315         * libc/sys/sh/syscalls.c (_times): New.
2316
2317         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2318         * libc/sys/sh/syscalls.c (_gettimeofday): New.
2319
2320 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2321
2322         * libc/include/math.h (signgam): Regress previous fix as
2323         it does not handle programs with extern int signgam in them.
2324
2325 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2326
2327         * libc/include/math.h (signgam): Changed to a macro refering to
2328         its location in the reentrant structure.
2329
2330 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2331
2332         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2333         that suppressed . for %.0f, 0.1.  Check now looks if there
2334         are padding zeroes (expt) in addition to any digits (ndig) to
2335         print.
2336
2337 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
2338
2339         * libc/sys/arc/Makefile.am: New file.
2340         * libc/sys/arc/Makefile.in: Ditto.
2341         * libc/sys/arc/aclocal.m4: Ditto.
2342         * libc/sys/arc/configure: Ditto.
2343         * libc/sys/arc/configure.in: Ditto.
2344         * libc/sys/arc/crt0.S: Ditto.
2345         * libc/sys/arc/isatty.c: Ditto.
2346         * libc/sys/arc/mem-layout.c: Ditto.
2347         * libc/sys/arc/sbrk.c: Ditto.
2348         * libc/sys/arc/syscalls.c: Ditto.
2349         * libc/sys/arc/sys/syscall.h: Ditto.
2350
2351 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
2352
2353         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2354
2355 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
2356
2357         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2358
2359 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
2360
2361         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2362
2363 2001-01-09  Nick Clifton  <nickc@redhat.com>
2364
2365         * configure.host (v859): Remove unsupported compiler options.
2366
2367 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
2368
2369         * src/newlib/configure.host (*-*-rtems*): add printf long long
2370         support for RTEMS.
2371
2372 2000-12-19  Graham Stott <grahams@redhat.com>
2373
2374         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2375
2376 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2377
2378         * configure.host: Turn on long double I/O for Cygwin.
2379
2380 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2381
2382         * MAINTAINERS: Removed Ranjith.
2383         * NEWS: Updated for 1.9.0.
2384         * README: Updated.
2385         * acinclude.m4: Updated to release 1.9.0.
2386         * aclocal.m4 configure
2387           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2388           libc/machine/aclocal.m4 libc/machine/configure
2389           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2390           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2391           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2392           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2393           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2394           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2395           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2396           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2397           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2398           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2399           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2400           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2401           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2402           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2403           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2404           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2405           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2406           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2407           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2408           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2409           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2410           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2411           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2412           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2413           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2414           libc/sys/aclocal.m4 libc/sys/configure
2415           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2416           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2417           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2418           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2419           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2420           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2421           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2422           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2423           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2424           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2425           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2426           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2427           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2428           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2429           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2430           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2431           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2432           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2433           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2434           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2435           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2436           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2437           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2438           libm/aclocal.m4 libm/configure: Regenerated.
2439
2440 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2441
2442         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2443         when __CYGWIN__ is defined.
2444
2445 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2446
2447         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2448         that categorizes a long double as NaN, Infinity, or other.
2449         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2450         isinfl and isnanl static routines which were i386-specific.  Changed 
2451         calls to the two removed routines to a single _ldcheck call.
2452         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2453
2454 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2455
2456         * Makefile.am: Fixed install-data-local target to use
2457         $(mkinstalldirs) for the installed header files to ensure
2458         the directories exist before copying.
2459         * Makefile.in: Regenerated.
2460
2461 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2462
2463         * libc/include/sys/unistd.h: Restored Cygwin _SC
2464         constants and moved new constants appropriately
2465         so Cygwin will build.
2466
2467 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2468
2469         * Merge RTEMS specific .h files into main libc/include.
2470         * libc/sys/rtems/include/signal.h: Removed.
2471         * libc/sys/rtems/include/time.h: Removed.
2472         * libc/sys/rtems/sys/features.h: Removed.
2473         * libc/sys/rtems/sys/sched.h: Removed.
2474         * libc/sys/rtems/sys/siginfo.h: Removed.
2475         * libc/sys/rtems/sys/signal.h: Removed.
2476         * libc/sys/rtems/sys/time.h: Removed.
2477         * libc/sys/rtems/sys/times.h: Removed.
2478         definitions for time_t and clock_t since these are
2479         no longer in time.h.
2480         * libc/include/pthread.h: New file.
2481         * libc/include/sys/sched.h: New file.
2482         * libc/include/sys/features.h: New file.
2483         * libc/include/time.h: Removed duplicate definition of clock_t
2484         and time_t, get them from <sys/types.h> instead.  Add prototypes
2485         for POSIX clock and timer functionality.
2486         * libc/sys/linux/sys/types.h: Changed to include
2487         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2488         * libc/include/sys/signal.h: Add more complete set of POSIX
2489         signal functionality including real-time and threaded signals.
2490         * libc/include/sys/types.h: Add clock_t, time_t, struct
2491         timespec, and struct itimerspec.  Centralizing these makes 
2492         things cleaner.  RTEMS uses 64-bit dev_t.
2493         Added numerous primitive definitions
2494         for pthreads including macros, pthread_attr_t,
2495         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2496         pthread_once_t, and pthread_t.
2497         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2498         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2499         Feature flags removed and moved to new file <sys/features.h>.
2500         Full set of POSIX sysconf() constants
2501
2502 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2503
2504         * configure.host: Added x86 linux target.
2505         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2506         definitions provided if not already defined.
2507         * libc/sys/linux/crt0.c: New file.
2508         * libc/sys/linux/Makefile.am: Ditto.
2509         * libc/sys/linux/Makefile.in: Ditto.
2510         * libc/sys/linux/aclocal.m4: Ditto.
2511         * libc/sys/linux/brk.c: Ditto.
2512         * libc/sys/linux/configure: Ditto.
2513         * libc/sys/linux/configure.in: Ditto.
2514         * libc/sys/linux/getoptlong.c: Ditto.
2515         * libc/sys/linux/ids.c: Ditto.
2516         * libc/sys/linux/inode.c: Ditto.
2517         * libc/sys/linux/io.c: Ditto.
2518         * libc/sys/linux/linux.c: Ditto.
2519         * libc/sys/linux/process.c: Ditto.
2520         * libc/sys/linux/realpath.c: Ditto.
2521         * libc/sys/linux/select.c: Ditto.
2522         * libc/sys/linux/signal.c: Ditto.
2523         * libc/sys/linux/systat.c: Ditto.
2524         * libc/sys/linux/termios.c: Ditto.
2525         * libc/sys/linux/time.c: Ditto.
2526         * libc/sys/linux/wait.c: Ditto.
2527         * libc/sys/linux/include/alloca.h: Ditto.
2528         * libc/sys/linux/include/getopt.h: Ditto.
2529         * libc/sys/linux/include/stdint.h: Ditto.
2530         * libc/sys/linux/include/unistd.h: Ditto.
2531         * libc/sys/linux/sys/cdefs.h: Ditto.
2532         * libc/sys/linux/sys/dirent.h: Ditto.
2533         * libc/sys/linux/sys/errno.h: Ditto.
2534         * libc/sys/linux/sys/fcntl.h: Ditto.
2535         * libc/sys/linux/sys/file.h: Ditto.
2536         * libc/sys/linux/sys/ioctl.h: Ditto.
2537         * libc/sys/linux/sys/resource.h: Ditto.
2538         * libc/sys/linux/sys/signal.h: Ditto.
2539         * libc/sys/linux/sys/stat.h: Ditto.
2540         * libc/sys/linux/sys/syscall.h: Ditto.
2541         * libc/sys/linux/sys/termios.h: Ditto.
2542         * libc/sys/linux/sys/time.h: Ditto.
2543         * libc/sys/linux/sys/types.h: Ditto.
2544         * libc/sys/linux/sys/utmp.h: Ditto.
2545         * libc/sys/linux/sys/utsname.h: Ditto.
2546         * libc/sys/linux/sys/wait.h: Ditto.
2547
2548 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2549
2550         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2551         can be a relative path to $(top_srcdir)/install.sh so ensure the
2552         autoconf detected settings are properly passed recursively.
2553         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2554         properly to subdirectories.
2555         * Makefile.in: Regenerated.
2556
2557 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2558
2559         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2560         a floating point register unless really printing a floating
2561         point number.
2562
2563 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2564
2565         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2566         Also removed \r's.
2567         (asctoeg): Replaced alloca call with stack array and malloc
2568         when storage exceeds reasonable limit.
2569         (e53toe): Fixed einfin calls missing ldp parameter.
2570         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2571
2572 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2573
2574
2575         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2576
2577 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2578
2579         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2580         * libc/stdlib/Makefile.in: Regenerated.
2581         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2582         * libc/stdio/vfieeefp.h: Added long double bit structures.
2583         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2584         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2585         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2586         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2587         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2588         _strtold routines used for conversions between character
2589         and long double.
2590
2591 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2592
2593         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2594
2595 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2596
2597         * libc/include/machine/time.h: RTEMS systems can configure clock
2598         tick rate so use sysconf() to ask.
2599
2600 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2601
2602         * libc/include/sys/times.h: Add reference to POSIX standard.
2603
2604 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2605
2606         * libc/include/sys/time.h: Added BSD timer manipulation macros
2607         used by RTEMS code.
2608
2609 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2610
2611         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2612         referenced by code generated by gcc 2.8.1.
2613         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
2614         satisfy gcc.
2615
2616 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2617
2618         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2619
2620 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2621
2622         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2623
2624 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2625
2626         * configure.host (or16, or32): New entries for OpenCores
2627         OpenRisc CPUs.
2628         (*-*-rtems*): Add -DNO_EXEC.
2629
2630 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2631
2632         * libc/include/sys/errno.h: Added comments on many error numbers.
2633         * libc/string/strerror.c: Added some more strings.
2634
2635 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
2636
2637         * libc/sys/sh/syscalls.c (_link): New stub.
2638
2639 2000-11-29  Nick Clifton  <nickc@redhat.com>
2640
2641         * configure.host: Add xscale target.
2642         * libc/machine/xscale: New directory.
2643         * libc/machine/xscale/Makefile.am: New file.
2644         * libc/machine/xscale/Makefile.in: New file.
2645         * libc/machine/xscale/aclocal.m4: New file.
2646         * libc/machine/xscale/configure: New file.
2647         * libc/machine/xscale/configure.in: New file.
2648         * libc/machine/xscale/memchr.S: New file.
2649         * libc/machine/xscale/memcmp.S: New file.
2650         * libc/machine/xscale/memcpy.S: New file.
2651         * libc/machine/xscale/memmove.S: New file.
2652         * libc/machine/xscale/memset.S: New file.
2653         * libc/machine/xscale/strchr.S: New file.
2654         * libc/machine/xscale/strcmp.S: New file.
2655         * libc/machine/xscale/strcpy.S: New file.
2656         * libc/machine/xscale/strlen.S: New file.
2657
2658 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2659
2660         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2661         avoid compiler warnings.
2662
2663 2000-11-22  Michael Meissner  <meissner@redhat.com>
2664
2665         * libc/posix/execl.c (execl): Don't reference environ directly,
2666         reference it only via a static pointer to avoid problems with some
2667         shared library systems and with different uses of small data where
2668         the user specifies his own version of environ.
2669         * libc/posix/execv.c (execv): Ditto.
2670         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2671         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2672         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2673
2674         * libc/stdlib/getenv.c (environ): Delete unused reference to
2675         environ.
2676
2677         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2678         colorization.
2679         * libc/stdlib/system.c: Ditto.
2680
2681 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
2682
2683         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2684         including windows headers.
2685
2686 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
2687
2688         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2689         * libc/include/dirent.h: Added definition of MAXNAMLEN if
2690         not defined by sys/dirent.h.
2691         * libc/posix/execvp.c: Added include of dirent.h to get
2692         MAXNAMLEN value which used to be in unistd.h.
2693
2694 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2695
2696         * libc/include/sys/types.h: Change type of i to `size_t' in
2697         FD_ZERO macro to avoid compiler warnings.
2698
2699 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
2700
2701         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2702         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
2703
2704 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2705
2706         * libc/include/sys/unistd.h: Add defines for sysconf values
2707         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2708         _SC_AVPHYS_PAGES.
2709
2710 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
2711
2712         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2713         declarations for __CYGWIN__.
2714
2715 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
2716
2717         * libc/signal/signal.c (__sigtramp_r): ISO C requires
2718         case labels to be integral constant expressions, so
2719         use an if/else tree instead.
2720         (_raise_r): Likewise.
2721
2722 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2723
2724         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2725         clipping patch from e-mail reader.
2726
2727 2000-09-13  Will Cohen  <wcohen@redhat.com>
2728
2729         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2730         Added return value 0.
2731         (_longjmp): Allow longjmp to return value of second argument
2732         passed to it.
2733
2734 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
2735
2736         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2737         inline code to prevent having to include another header file.
2738
2739 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
2740
2741         * Makefile.am: Fix space vs. tab problem in install-data-local.
2742         * Makefile.in: Regenerate.
2743
2744 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
2745
2746         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2747         (_EXPARM): New macro for defining a function parameter.
2748         * libc/include/stdlib.h: Use _EXPARM.
2749         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2750
2751 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
2752
2753         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2754         required, as documented in the gnu coding standards.
2755         * Makefile.in: Regenerate.
2756
2757 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
2758
2759         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2760         make O_NDELAY and O_NONBLOCK have the same value.
2761
2762 2000-08-30  Kazu Hirata  <kazu@hxi.com>
2763
2764         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2765
2766 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2767
2768         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2769         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2770         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2771         everywhere else.
2772
2773 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
2774
2775         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2776         * libc/include/string.h: Don't include <sys/types.h>,
2777         as it causes really bad namespace pollution.  Don't declare
2778         swab(), it is properly declared in unistd.h.
2779
2780 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2781
2782         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2783         (broken) support for non-existent /etc/passwd field "comment".
2784
2785 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2786
2787         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2788         only if _DIRENT_HAVE_D_NAMLEN is defined.
2789         (alphasort): aligned prototype with
2790         libc/sys/cygwin/sys/dirent.h and simplified function body.
2791         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2792         long telldir (DIR *) as mentioned in annex B of POSIX.1
2793
2794 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2795
2796         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2797         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2798         Added __CLI and __STI macros (controlled via
2799         _I386MACH_ALLOW_HW_INTERRUPTS macro).
2800         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2801         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2802         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2803         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2804         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2805         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2806         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2807         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2808         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2809         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2810         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2811         for all global entry points.
2812         * libc/machine/i386/setjmp.S: removed code replicated in
2813         libc/machine/i386/i386mach.h and included i386mach.h instead;
2814         Use __CLI and __STI instead of cli and sti.
2815
2816 2000-08-25  DJ Delorie  <dj@redhat.com>
2817
2818         * libc/include/sys/unistd.h (environ): this one isn't from the
2819         DLL, no __IMPORT
2820
2821 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
2822
2823         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2824         environ when compiling under cygwin since it is already declared in
2825         unistd.h.
2826
2827 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2828
2829         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2830         like  x << y-z  to the equivalent  x << (y-z).
2831         (d2b): changed if statements with assignment to perform the
2832         assignment prior to the if check.
2833         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2834         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2835         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2836         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2837         precedence.
2838         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2839         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
2840         execve.c).
2841         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2842         precedence.
2843         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2844         clarify && and || precendence (and to remove pascalism).
2845         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2846         * libm/math/s_infconst.c: added another pair of braces to all
2847         initializers for __infinity (need three: for __infinity[1] array,
2848         for union __dmath, and for i[2]).
2849
2850 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2851
2852         * libc/stdlib/abort.c: changed description: uses "raise" instead of
2853         "getpid" and "kill"; added: uses "write" and "_exit".
2854         Also included unistd.h for "_exit" prototype.
2855         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2856         reent.h for "_fork_r" and "_wait_r" prototypes.
2857         (do_system): changed  extern char *environ[] to POSIX-friendly 
2858         extern char **environ.
2859         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2860         prototypes.
2861         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2862         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2863         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2864         * libc/reent/openr.c: included fcntl.h for "open" prototype.
2865         * libc/reent/signalr.c: included signal.h for "kill" prototype,
2866         unistd.h for "getpid" prototype.
2867         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2868         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2869         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2870         prototype.  Also included stdlib.h for "abort", string.h for
2871         "strdup" and "strncmp" prototypes.
2872         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2873         "strncpy", unistd.h for "read" and "close" prototypes.
2874         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2875         "strcat" prototypes.
2876
2877 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
2878
2879         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2880         used later (ifdef __SCLE)
2881         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2882         used later (ifdef MB_CAPABLE)
2883         * libc/string/memset.c (memset): removed unused variables "count"
2884         and "unaligned_addr"
2885         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2886         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2887         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2888         and "gid"
2889
2890 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2891
2892         * libc/stdlib/envlock.c: changed documented "__env_lock" and
2893         "__env_unlock" prototype from "void *" or "char *" to
2894         "struct _reent *" to match real function.  Also added include
2895         of envlock.h.
2896         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2897         "__malloc_unlock" prototype from "void *" or "char *" to
2898         "struct _reent *" to match real function.
2899         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2900         prototypes (for getenv_r.c and setenv_r.c).
2901
2902 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2903
2904         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2905         and prototype in cygwin's utmp.h
2906
2907 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
2908
2909         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2910
2911 2000-08-09  Nick Clifton  <nickc@cygnus.com>
2912
2913         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2914         epilogue and to allow the functions to be used in a Thumb based
2915         toolchain.
2916
2917 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
2918
2919         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2920         so size of 0 results in nothing being written to string.
2921         Also fixed code so that when size is non-zero, there is only
2922         a maximum of size - 1 characters written to the array and
2923         a nul terminator is appended at the end.
2924         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2925
2926 2000-08-01  DJ Delorie  <dj@redhat.com>
2927
2928         * libc/include/sys/config.h: define __IMPORT appropriately
2929         * libc/include/ctype.h (_ctype_): use __IMPORT
2930         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2931         * libc/include/math.h (__mb_cur_max): ditto
2932         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2933         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2934         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2935         * libc/include/unistd.h (environ): ditto
2936
2937 2000-07-28  Michael Meissner  <meissner@redhat.com>
2938
2939         * libc/include/math.h (__infinity): Declare as an array without
2940         bounds to get around small data support.  Rewrite Cygwin support
2941         to be more general.
2942         * libm/math/s_infconst.c (__infinity): Ditto.
2943         * libm/mathfp/s_infconst.c (__infinity): Ditto.
2944
2945 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
2946
2947         * libc/include/math.h: Use appropriate dll import linkage for
2948         __infinity under Cygwin.
2949
2950 2000-07-13  DJ Delorie  <dj@cygnus.com>
2951
2952         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2953
2954 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
2955
2956         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2957         to argument list for AngelSWI_Reason_GetCmdLine.
2958
2959 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
2960
2961         * configure.host: Add support for AVR target.
2962         * libc/include/machine/ieeefp.h: Likewise.
2963         * libc/include/sys/config.h: Likewise.
2964
2965 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2966
2967         * README: Newlib 1.8.2 must be built in a separate directory
2968         than the sources.
2969
2970 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2971
2972         * libc/include/sys/reent.h (_rand_next): Added __extension__
2973         qualifier as long long type is not strict ANSI.
2974         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2975         to long long constant.
2976
2977 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
2978
2979         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2980         `setegid' provided by Cygwin.
2981
2982 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
2983
2984         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2985         account for Cygwin.
2986
2987 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2988
2989         * libc/include/sys/reent.h (_rand_next): Changed to
2990         unsigned long long and moved to end of _reent struct in _new union.
2991         (_REENT_INIT): Changed to move _rand_next initialization.
2992         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2993         linear congruential algorithm that is used by DJGPP.
2994
2995 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2996
2997         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2998         * libc/include/sys/config.h: Define __RAND_MAX.
2999
3000 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3001
3002         * libc/stdlib/rand_r.c: New algorithm that meets minimal
3003         standard.
3004
3005 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
3006
3007         * libc/include/string.h: Work around problem with strsignal and gdb.
3008
3009 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
3010
3011         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
3012         * libc/include/malloc.h: Ditto.
3013         * libc/include/process.h: Ditto.
3014         * libc/include/stdio.h: Ditto.
3015         * libc/include/stdlib.h: Ditto.
3016         * libc/include/time.h: Ditto.
3017         * libc/include/machine/setjmp.h: Ditto.
3018         * libc/include/sys/errno.h: Ditto.
3019         * libc/include/sys/signal.h: Ditto.
3020         * libc/include/sys/stat.h: Ditto.
3021         * libc/include/sys/time.h: Ditto.
3022         * libc/include/sys/unistd.h: Ditto.
3023         * libc/include/string.h: Ditto.  strsignal should return a const char *.
3024
3025 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
3026
3027         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
3028         * libm/common/s_log1p.c (log1p): Likewise.
3029         * libm/common/s_scalbn.c (scalbn): Likewise.
3030         * libm/math/e_log.c: Likewise.
3031         * libm/math/e_asin.c: Likewise.
3032         * libm/math/ef_asin.c: Likewise.
3033         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
3034         * libm/math/e_j1.c (pone, qone): Likewise.
3035         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
3036         * libm/math/ef_j1.c (ponef, qonef): Likewise.
3037         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
3038         * libm/mathfp/e_j1.c (pone, qone): Likewise.
3039         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
3040         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
3041
3042 2000-05-19  DJ Delorie  <dj@cygnus.com>
3043
3044         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
3045         (__sread): always read in binary mode
3046         (__swrite): always write in binary mode
3047         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
3048         compatibility issues with different dll versions
3049         * libc/stdio/fopen.c: use __stextmode
3050         * libc/stdio/fdopen.c: ditto
3051         * libc/stdio/freopen.c: ditto
3052         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
3053         * libc/stdio/local.h: declare __stextmode
3054         
3055 2000-05-18  DJ Delorie  <dj@cygnus.com>
3056
3057         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3058         
3059 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3060
3061         * libc/include/ctype.h: Changed tolower and toupper macros
3062         to use __extension__ to prevent pedantic warnings.
3063
3064 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
3065
3066         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3067         structures.
3068
3069 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
3070
3071         * libc/include/machine/ieeefp.h: Add ia64 support.
3072         * configure.host: Likewise.
3073
3074 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
3075
3076         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3077         month is now padded with space, not zero.  This now conforms to
3078         ANSI standard.
3079
3080 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
3081
3082         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3083         host or network path") used by cygwin. Add some comments.
3084
3085 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
3086
3087         * libc/include/stdio.h (FILE): define __SCLE for "convert line
3088         endings" for Cygwin.
3089         (__sgetc): convert line endings if needed
3090         (__sputc): ditto
3091         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3092         * libc/stdio/fopen.c (_fopen_r): ditto
3093         * libc/stdio/freopen.c (freopen): ditto
3094         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3095         * libc/stdio/fvwrite.c (__sfvwrite): ditto
3096
3097 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
3098
3099         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3100         post-increment when it is worth it, spacewise.
3101
3102 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
3103
3104         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3105         * libc/stdio/findfp.c (std): Added declaration of flags and file.
3106         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
3107         return type.
3108         * libc/stdio/putchar.c (putchar): Added return statement.
3109         * libc/stdio/refill.c (lflush): Added correct parentheses.
3110         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3111         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
3112         prints long value to use l qualifier.
3113         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3114         messages and initialized local values: ilim, ilim1, and spec_case.
3115         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3116         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3117         * libc/stdlib/mprec.c: Ditto.
3118         * libc/stdlib/setenv_r.c: Ditto.
3119         * libc/stdlib/strtod.c: Ditto.
3120         * libc/stdlib/strtol.c: Ditto.
3121         * libc/stdlib/strtoul.c: Ditto.
3122         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3123         * libm/common/sf_log1p.c: Ditto.
3124         * libm/common/sf_scalbn.c: Ditto.
3125         * libm/math/ef_log.c: Ditto.
3126
3127 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
3128
3129         * libc/posix/execvp.c (execvp): Check path for
3130         trailing slash.
3131
3132 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
3133
3134         * libc/include/sys/unistd.h: Add prototypes for
3135         fchmod, fchown, lchown.
3136
3137 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
3138
3139         * acinclude.m4: Changed release to 1.8.2.
3140         * aclocal.m4 configure doc/aclocal.m4 doc/configure
3141           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3142           libc/machine/configure libc/machine/a29k/aclocal.m4
3143           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3144           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3145           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3146           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3147           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3148           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3149           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3150           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3151           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3152           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3153           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3154           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3155           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3156           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3157           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3158           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3159           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3160           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3161           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3162           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3163           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3164           libc/machine/v850/configure libc/machine/w65/aclocal.m4
3165           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3166           libc/machine/z8k/configure libc/sys/aclocal.m4
3167           libc/sys/aclocal.m4 libc/sys/configure
3168           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3169           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3170           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3171           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3172           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3173           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3174           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3175           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3176           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3177           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3178           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3179           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3180           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3181           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3182           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3183           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3184           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3185           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3186           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3187           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3188           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3189           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3190           libm/aclocal.m4 libm/configure: Regenerated.
3191
3192 2000-03-24  Nick Clifton  <nickc@cygnus.com>
3193
3194         * libc/sys/arm/syscalls.c: Fix compile time warnings.
3195         (do_AngelSWI): Add "cc" to list o registers clobbered.
3196
3197 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3198
3199         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3200         information to be clobbered by an Angel C library support syscall. 
3201
3202 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3203
3204         * libc/stdlib/envlock.c: Fixed comment typo.
3205
3206 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3207
3208         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3209         code to update nread as each character is processed instead
3210         of using buffer contents which throw away leading zeroes.
3211
3212 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
3213
3214         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3215
3216 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
3217
3218         * libc/include/string.h: Include <sys/types.h>.
3219
3220 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3221
3222         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3223         with XSH5, not SVID.
3224
3225 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3226
3227         * libc/include/string.h: Changed last argument back to ssize_t
3228         to make it compatible with XPG4 definition which is 
3229         defined in <unistd.h>.  There is a conflict in the SVID 3
3230         and XPG4 definitions and newlib will settle with XPG4.
3231         * libc/string/swab.c: Ditto.
3232
3233 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3234
3235         * libc/include/string.h: Changed last argument to size_t.
3236         * libc/string/swab.c: Changed last argument to size_t.
3237
3238 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3239
3240         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3241         (CHEWOUT_FILES): Added unlinkr.def.
3242         * libc/reent/Makefile.in: Rebuilt.
3243         * libc/sys.tex: Include unlinkr.def.
3244         * libc/reent/linkr.c (_unlink_r): Moved to...
3245         * libc/reent/unlinkr.c: ... new file.
3246
3247 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3248
3249         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3250         (CHEWOUT_FILES): Added swab.def.
3251         * libc/string/Makefile.in: Rebuilt.
3252         * libc/string/string.tex: Include swab.def.
3253         * libc/include/string.h (swab): Declare.
3254         * libc/string/swab.c: New file.
3255
3256 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3257
3258         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3259         (CHEWOUT_FILES): Added getw.def and putw.def.
3260         * libc/stdio/Makefile.in: Rebuilt.
3261         * libc/stdio/stdio.tex: Include getw.def and putw.def.
3262         * libc/stdio/getw.c: New file.
3263         * libc/stdio/putw.c: New file.
3264
3265 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3266
3267         * libc/stdio/flags.c (__sflags): Added check that mode[1]
3268         is non-null before looking at mode[2].
3269
3270 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3271
3272         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3273         * libm/mathfp/sf_atan.c: Ditto.
3274
3275 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
3276
3277         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3278
3279 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3280
3281         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3282         _DOUBLE_IS_32BITS.
3283
3284 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3285
3286         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3287         call prior to calling _VFPRINTF_R so reentrant data area is set.
3288         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3289
3290 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3291
3292         * libc/stdio/vfscanf.c (limits.h): #include.
3293         (MAX_LONG_LEN): #define.
3294         (__svfscanf): Handle floating point numbers with arbitrary amounts
3295         of leading zeroes.
3296
3297 2000-02-15  Nick Clifton  <nickc@cygnus.com>
3298
3299         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3300         zero.  Set the blocksize to 1024/
3301
3302 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3303
3304         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
3305         with line buffering.
3306
3307 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3308
3309         * acinclude.m4: Changed include directory for winsup headers. 
3310         * aclocal.m4 configure libc/aclocal.m4
3311           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3312           libc/locale/Makefile.in libc/machine/aclocal.m4
3313           libc/machine/configure libc/machine/a29k/aclocal.m4
3314           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3315           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3316           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3317           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3318           libc/machine/fr30/configure
3319           libc/machine/h8300/aclocal.m4
3320           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3321           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3322           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3323           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3324           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3325           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3326           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3327           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3328           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3329           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3330           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3331           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3332           libc/machine/powerpc/configure 
3333           libc/machine/sh/aclocal.m4
3334           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3335           libc/machine/sparc/configure
3336           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3337           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3338           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3339           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3340           libc/misc/Makefile.in libc/posix/Makefile.in
3341           libc/reent/Makefile.in 
3342           libc/signal/Makefile.in
3343           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3344           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3345           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3346           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3347           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3348           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3349           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3350           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3351           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3352           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3353           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3354           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3355           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3356           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3357           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3358           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3359           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3360           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3361           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3362           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3363           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3364           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3365           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3366           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3367           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3368           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3369           libm/configure: Regenerated.
3370
3371 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
3372
3373         * libc/stdlib/putenv_r.c (_putenv_r): New file.
3374         * libc/stdlib/strdup_r.c (_strdup_r): New file.
3375         * libc/include/string.h: Added _strdup_r.
3376         * libc/stdlib/putenv.c: Added call to reentrant version. 
3377         * libc/stdlib/strdup.c: Ditto.
3378         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3379         * libc/include/stdlib.h: Ditto.
3380         * libc/stdlib/Makefile.in: Regenerated. 
3381         * libc/string/Makefile.in: Regenerated.
3382         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3383         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3384         management calls to reentrant versions.
3385         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3386         * libc/stdlib/wctomb.c: Ditto.
3387         * libc/stdlib/mblen.c: Ditto.
3388         * libc/stdlib/mbstowcs.c: Ditto.
3389         * libc/stdlib/mbtowc.c: Ditto. 
3390         * libc/stdlib/getenv.c: Ditto.
3391         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3392         and _strdup_r.
3393
3394 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
3395
3396         patch from Corinna Vinschen <corinna@vinschen.de>
3397         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3398
3399 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
3400
3401         * libm/mathfp/s_atangent.c: Fix exponent calculation.
3402         * libm/mathfp/s_ldexp.c: Ditto.
3403         * libm/mathfp/sf_atangent.c: Ditto.
3404         * libm/mathfp/sf_ldexp.c: Ditto.
3405
3406 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3407
3408         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3409         * libc/include/locale.h: define NULL to be 0.
3410
3411 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
3412
3413         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3414         function.
3415
3416 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
3417
3418         * libc/machine/mn10300/setjmp.S: Handle am33.
3419
3420 1999-11-26  Nick Clifton  <nickc@cygnus.com>
3421
3422         * libc/sys/arm/syscalls.c: Add function prototypes.
3423         (stack_ptr): Move declaration before function definitions.
3424
3425 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3426
3427         * NEWS: Updated version information.
3428         * README: Ditto.
3429
3430 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
3431
3432         * libc/machine/i386/strchr.S: Fixed alignment test.
3433
3434 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
3435
3436         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3437
3438 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3439
3440         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3441         ensuring that there is space between the two.
3442
3443 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3444
3445         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3446         only.
3447
3448 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3449
3450         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3451         section
3452
3453 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3454
3455         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3456         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3457
3458 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3459         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3460           per POSIX 1003.1b.
3461         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3462           per POSIX 1003.1b.
3463
3464 1999-09-13  DJ Delorie  <dj@cygnus.com>
3465
3466         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3467         also.
3468
3469 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3470
3471         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3472         also note BUFSIZ as its size.
3473
3474 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3475
3476         * configure.host: Corrected feature defines for RTEMS.
3477         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3478         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3479         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3480           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3481           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3482           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3483           _PC_PRIO_IO, and _PC_SYNC_IO.
3484         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3485         * libc/machine/m68k/Makefile.in: Regenerated.
3486         * libc/machine/m68k/strcpy.c: New file.
3487         * libc/machine/m68k/strlen.c: New file.
3488         * libc/stdio/tmpnam.c: Always make the returned name usable.
3489         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3490         * libc/sys/rtems/sys/dirent.h: New file.
3491         * libc/sys/rtems/sys/types.h: Added dev_t.
3492
3493 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3494
3495         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3496
3497 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3498
3499         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3500         my patch.
3501
3502 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3503
3504         patch from Jeff Johnston <jjohnstn@cygnus.com>
3505         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3506         buffer is not in a useful state.
3507
3508 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3509
3510         * libc/sys/arm/syscalls.c (_link): Add stub.
3511
3512 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3513
3514         * ftell.c (ftell): Use actual position within buffer for text mode.
3515         * findfp.c (std): Initialize ptr->_bf._size.
3516
3517 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3518
3519         * libc/include/sys/unistd.h: Add nice() declaration.
3520
3521 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3522
3523         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3524         declare as a thumb function so that the disassembler will see the
3525         mode change.
3526
3527 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3528
3529         * libc/reent/reent.tex: Updated list of reentrant functions.
3530
3531 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3532
3533         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3534         
3535 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3536
3537         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3538         separate file.
3539         * libc/stdio/snprintf.c: New file.
3540         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3541         separate file.
3542         * libc/stdio/vsnprintf.c: New file.
3543         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3544         * libc/stdio/Makefile.in: Regenerated.
3545
3546 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3547
3548         Patch submitted by Egor Duda <deo@logos-m.ru>:
3549         * libc/include/stdio.h: Add declarations for *nprintf.
3550         * libc/stdio/sprintf.c (snprintf): New function.
3551         (_snprintf_r): New function.
3552         * libc/stdio/vsprintf.c (vsnprintf): New function.
3553         (_vnsprintf_r): New function.
3554
3555 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3556
3557         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3558         * libm/Makefile.am (stmp-targetdep): Ditto.
3559         * libc/Makefile.in: Regenerated.
3560         * libm/Makefile.in: Ditto.
3561
3562 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3563
3564         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3565         * libm/Makefile.am (stmp-targetdep): Ditto.
3566         * libc/Makefile.in: Regenerated.
3567         * libm/Makefile.in: Ditto.
3568
3569 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3570
3571         * Makefile.am: Removed dependencies on all-recursive and added "."
3572         to the SUBDIRS list to prevent infinite recursion from occurring.
3573         Also removed any references to EXTRA_DATA.
3574         * libc/Makefile.am: Ditto.
3575         * libc/machine/Makefile.am: Ditto.
3576         * libc/machine/i386/Makefile.am: Ditto.
3577         * libm/Makefile.am: Ditto.
3578         * libc/sys/Makefile.am: Ditto.
3579         * Makefile.in: Regenerated.
3580         * aclocal.m4: Ditto.
3581         * configure: Ditto.
3582         * doc/Makefile.in: Ditto.
3583         * doc/aclocal.m4: Ditto.
3584         * doc/configure: Ditto.
3585         * libc/Makefile.in: Ditto.
3586         * libc/aclocal.m4: Ditto.
3587         * libc/configure: Ditto.
3588         * libc/machine/Makefile.in: Ditto.
3589         * libc/machine/aclocal.m4: Ditto.
3590         * libc/machine/configure: Ditto.
3591         * libc/machine/mn10300/Makefile.in: Ditto.
3592         * libc/machine/mn10300/aclocal.m4: Ditto.
3593         * libc/machine/mn10300/configure: Ditto.
3594         * libc/sys/Makefile.in: Ditto.
3595         * libc/sys/aclocal.m4: Ditto.
3596         * libc/sys/configure: Ditto.
3597         * libm/Makefile.in: Ditto.
3598         * libm/aclocal.m4: Ditto.
3599         * libm/configure: Ditto.
3600
3601 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3602
3603         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3604
3605 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3606
3607         * libc/include/stdlib.h: Add reentrant routines.
3608         * libc/stdlib/Makefile.am: Add reentrant routines.
3609         * libc/stdlib/Makefile.in: Ditto.
3610         * libc/stdlib/envlock.c: New file.
3611         * libc/stdlib/envlock.h: New file.
3612         * libc/stdlib/getenv.c: Modify to call reentrant routine.
3613         * libc/stdlib/getenv_r.c: New file.
3614         * libc/stdlib/mblen.c: Modify to call reentrant routine.
3615         * libc/stdlib/mblen_r.c: New file.
3616         * libc/stdlib/setenv.c: Modify to call reentrant routine.
3617         * libc/stdlib/setenv_r.c: New file.
3618         * libc/stdlib/stdlib.tex: Add reentrant routines.
3619
3620 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
3621
3622         * libc/include/sys/types.h: Define __MS_types__ whenever
3623         cygwin or win32.
3624
3625 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
3626
3627         * libc/include/machine/ieeefp.h: Always default to little
3628         endian if Windows, regardless of architecture.
3629         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3630         regardless of architecture.
3631
3632 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
3633
3634         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3635         _WIN32 isn't defined.
3636
3637 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3638
3639         * libm/common/s_rint.c (rint): Add volatile qualifier for
3640         intermediate value w.
3641         * libm/common/sf_rint.c (rintf): Ditto.
3642
3643 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3644
3645         * libc/sys/arm/syscalls.c (remap_handle): Added check to
3646         ensure that std streams are initialized before being referenced.
3647
3648 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
3649
3650         * README: Update reference to newlib@cygnus.com new
3651         newlib@sourceware.cygnus.com address.
3652
3653 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
3654
3655         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3656         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3657         defined, even if _WIN32 isn't defined.
3658
3659 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
3660
3661         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3662
3663 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
3664
3665         * libc/include/sys/reent.h: Change Long and ULong to __Long and
3666         __ULong.
3667         * libc/stdlib/dtoa.c: Ditto.
3668         * libc/stdlib/mprec.c: Ditto.
3669         * libc/stdlib/mprec.h: Ditto.
3670         * libc/stdlib/strtod.c: Ditto.
3671
3672 1999-04-21  Nick Clifton  <nickc@cygnus.com>
3673
3674         * configure.host (mcore): Remove mcore machine directory.
3675
3676 1999-04-18  Nick Clifton  <nickc@cygnus.com>
3677
3678         * libc/include/machine/ieeefp.h: Add support for mcore target.
3679         * libc/include/machine/setjmp.h: Add support for mcore target.
3680         * configure.host: Add support for mcore target.
3681
3682 1999-04-13  Mark Salter  <msalter@cygnus.com>
3683
3684         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3685         * libc/sys/arm/syscalls.c: Added isatty.
3686
3687 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3688
3689         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3690         insert zeroes after significant digits.
3691
3692 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3693         
3694         * libc/stdio/vfprintf.c (cvt): Changed floating point
3695         cvt routine to use union used by dtoa to properly determine
3696         if the sign bit is on or not.
3697         * libc/stdio/vfieeefp.h: New file
3698         
3699 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3700
3701         * aclocal.m4: Regenerated.
3702         * configure: Regenerated.
3703
3704 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3705
3706         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3707         f_tanf reference.
3708         * libc/machine/i386/Makefile.in: Regenerated.
3709
3710 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3711
3712         * acinclude.m4: Changed to work with new automake.
3713         * configure: Regenerated.
3714         * libc/machine/i386/aclocal.m4: Regenerated.
3715         * libc/machine/i386/configure: Regenerated.
3716
3717 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
3718
3719         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3720         for telldir() and seekdir().  Rename unused structure element
3721         for use with these two routines.
3722
3723 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3724
3725         * libc/time/mktime.c (validate_structure): Multiple fixes to
3726         code to handle cases where input fields are outside valid ranges.
3727         * libc/stdlib/div.c (div): Modified invalid rounding check.
3728         * libc/stdlib/ldiv.c (ldiv): Ditto.
3729
3730 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3731
3732         * libc/machine/i386/memcpy.S: Performance rewrite.
3733         * libc/machine/i386/memmove.S: Ditto.
3734         * libc/machine/i386/i386mach.h: Added more register definitions.
3735         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3736         option used.
3737         * libc/include/machine/fastmath.h: Add definitions for x86
3738         fast-math routines.
3739
3740 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3741
3742         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3743
3744 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
3745
3746         Adjust newlib headers for new Cygwin Win32 API header files:
3747         * libc/include/sys/time.h: Check _WINSOCK_H rather than
3748         _GNU_H_WINDOWS32_SOCKETS.
3749         * libc/include/sys/types.h: Ditto.
3750
3751 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3752
3753         *include/sys/reent.h: Add checks for size of Bigint element Long.
3754         *libc/dtoa.c: Change routines to use generic Long type.
3755         *libc/mprec.c: Change routines to use generic Long type.
3756         *libc/mprec.h: Change routines to use generic Long type.
3757
3758 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3759
3760         * libc/Makefile.am: Add .def files.
3761         * libc/Makefile.in: Regenerate.
3762         * libc/e_acosh.c: Documentation update.
3763         * libc/e_atanh.c: Documentation update.
3764         * libc/e_hypot.c: Documentation update.
3765         * libc/e_remainder.c: Documentation update.
3766         * libc/er_lgamma.c: Documentation update.
3767         * libc/mathfp.tex: Documentation update.
3768         * libc/s_acos.c: Documentation update.
3769         * libc/s_atan.c: Documentation update.
3770         * libc/s_atan2.c: Documentation update.
3771         * libc/s_cosh.c: Documentation update.
3772         * libc/s_fmod.c: Documentation update.
3773         * libc/s_isnan.c: Documentation update.
3774         * libc/s_log10.c: Documentation update.
3775         * libc/s_pow.c: Documentation update.
3776         * libc/w_jn.c: Documentation update.
3777
3778 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
3779
3780         * aclocal.m4: Regenerate.
3781         * configure: Regenerate.
3782
3783 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3784
3785         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3786         to return 1 if user specified return code is 0.
3787         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3788
3789 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3790
3791         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3792         to save the return address.  Fixed longjmp to return to the original
3793         calling address of setjmp and to return the user specified return code
3794         rather than default to 1.
3795         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3796
3797 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3798
3799         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3800
3801 1999-02-10  Nick Clifton  <nickc@cygnus.com>
3802
3803         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3804         volatile so that its assignments will not be discarded.
3805
3806 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3807
3808         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3809         be __STRICT_ANSI__ which is generated by compiler.
3810         * libc/include/ctype.h: Ditto.
3811         * libc/include/math.h: Ditto.
3812         * libc/include/stdio.h: Ditto.
3813         * libc/include/stdlib.h: Ditto.
3814         * libc/include/string.h: Ditto.
3815         * libc/include/sys/signal.h: Ditto.
3816
3817 1999-02-08  Nick Clifton  <nickc@cygnus.com>
3818
3819         * configure.host: Add support for StrongARM target.
3820
3821 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3822
3823         * libc/string/strncpy.c (strncpy): Removed redundant code
3824         that was copying bytes if data unaligned.
3825
3826 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
3827
3828         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3829         mbstowcs.def, and wcstombs.def.
3830
3831 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
3832
3833         * libc/include/sys/errno.h: Add Cygwin errno.
3834         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3835         is specified.
3836
3837 1999-01-29  Nick Clifton  <nickc@cygnus.com>
3838
3839         * libc/sys/arm/syscalls.c: Move C library functions into seperate
3840         file.
3841         
3842         * libc/sys/arm/libcfunc.c: New file containing C library functions
3843         from syscalls.c
3844
3845         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3846         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3847
3848
3849 1999-01-27  Michael Meissner  <meissner@cygnus.com>
3850
3851         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3852         type, and cut size in half so that the jmp_buf array is guaranteed
3853         to be aligned on a 64-bit boundary.
3854
3855 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3856
3857         * libc/string/strings.tex: Added information about
3858         strcasecmp and strncasecmp.
3859         * libc/stdlib/stdlib.tex: Added missing information
3860         about mblen, mbstowcs, and wcstombs.
3861         * libc/string/strchr.c: Changed how mask is built to use
3862         shift operators so register will be used instead of storage.
3863
3864 1999-01-22  DJ Delorie  <dj@cygnus.com>
3865
3866         * libc/include/stdlib.h: don't use dllimport if we're building
3867         newlib, since it's inside cygwin.dll
3868
3869 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
3870
3871         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3872         _ctype_ under cygwin.
3873
3874 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
3875
3876         * include/stdlib.h: Fix typo from previous checkin.
3877
3878 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
3879
3880         * include/ctype.h: Use __declspec(dllimport) method for exporting
3881         variable from cygwin DLL.
3882         * include/time.h: Ditto.
3883         * sys/errno.h: Ditto.
3884         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3885         * libc/locale/locale.c: Use __declspec(dllexport) method for
3886         exporting variable from cygwin DLL.
3887
3888 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
3889
3890         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3891         access of bogus pointer will result in SIGSEGV.
3892
3893 1999-01-07  Nick Clifton  <nickc@cygnus.com>
3894
3895         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3896         of an underscore prefix to function names.
3897
3898 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3899
3900         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3901         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3902
3903 1998-12-31  Michael Meissner  <meissner@cygnus.com>
3904
3905         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3906         to `%' if not already defined.
3907
3908 1998-12-30  Michael Meissner  <meissner@cygnus.com>
3909
3910         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3911         arguments const char *, not char *.
3912         * libc/include/stdio.h (_tempnam_r): Ditto.
3913
3914         * libc/include/sys/reent.h (struct _reent): The _sig_func type
3915         points to a function taking an integer, not void.
3916
3917 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
3918
3919         * configure.host: Add a define for Cygwin builds.
3920         * libc/include/ctype.h: Don't use dll imported variables in newlib.
3921
3922 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
3923
3924         * libc/include/ctype.h: Define _ctype_ as dll imported variable
3925         for use with Cygwin.
3926         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3927         dll imported variables for use with Cygwin.
3928         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3929         as a dll imported variable for Cygwin.
3930
3931 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
3932
3933         * libc/include/sys/unistd.h: Add proto for getpass.
3934
3935 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
3936
3937         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3938         alphasort.
3939
3940 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
3941
3942         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3943         not posix_path_list_p.
3944
3945 1998-12-15  Nick Clifton  <nickc@cygnus.com>
3946
3947         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3948         a signed int.
3949
3950 1998-12-13  Nick Clifton  <nickc@cygnus.com>
3951
3952         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3953
3954 1998-12-12  Nick Clifton  <nickc@cygnus.com>
3955
3956         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3957         <msalter@cygnus.com>
3958         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3959         * libc/machine/fr30/Makefile.in: Regenerated.
3960
3961 1998-12-11  Nick Clifton  <nickc@cygnus.com>
3962
3963         * configure.host: Remove use of libc/sys for FR30 port.
3964         * libc/sys/fr30: Remove directory (replaced by libgloss).
3965
3966 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
3967
3968         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3969         * libc/string/strncat.c (ALIGNED): Ditto.
3970
3971 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
3972
3973         * libc/include/sys/time.h: include sys/types.h
3974
3975 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3976
3977         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3978         comparison found when checking word at a time.
3979
3980 1998-12-04  Nick Clifton  <nickc@cygnus.com>
3981
3982         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3983
3984 1998-12-03  Nick Clifton  <nickc@cygnus.com>
3985
3986         * libc/sys/fr30/syscalls.c (_times): New function stub.
3987
3988 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3989
3990         * configure.host (mach_add_setjmp): Replaced mach_add_objs
3991         with mach_add_setjmp flag which indicates if setjmp should
3992         be added to the machine directory objects.
3993         * acinclude.m4: Removed reference to mach_add_objs.
3994         * aclocal.m4: Regenerated.
3995         * Makefile.in: Regenerated.
3996         * configure: Regenerated.
3997         * libc/aclocal.m4: Regenerated.
3998         * libc/Makefile.in: Regenerated.
3999         * libc/configure: Regenerated.
4000         * libc/machine/aclocal.m4: Regenerated.
4001         * libc/machine/Makefile.in: Regenerated.
4002         * libc/machine/configure: Regenerated.
4003         * libc/machine/i386/aclocal.m4: Regenerated.
4004         * libc/machine/i386/Makefile.am: Altered to selectively add
4005         setjmp.S to the src files list.
4006         * libc/machine/i386/Makefile.in: Regenerated.
4007         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
4008         * libc/machine/i386/configure: Regenerated.
4009
4010 1998-12-02  Nick Clifton  <nickc@cygnus.com>
4011
4012         * libc/sys/fr30/crt0.s (_start): Fix function names.
4013
4014         * libc/machine/fr30: New directory
4015         * libc/machine/fr30/Makefile.am: New file.
4016         * libc/machine/fr30/Makefile.in: New generated file.
4017         * libc/machine/fr30/configure.in: New file.
4018         * libc/machine/fr30/configure: New generated file.
4019         * libc/machine/fr30/aclocal.m4: New generated file.
4020         * libc/sys/fr30/Makefile.am: New file.
4021         * libc/sys/fr30/Makefile.in: New generated file.
4022         * libc/sys/fr30/configure.in: New file.
4023         * libc/sys/fr30/configure: New generated file.
4024         * libc/sys/fr30/syscalls.c: New file.
4025
4026 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
4027
4028         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
4029
4030 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
4031
4032         * libc/time/strftime.c (strftime): Also handle %y for years before
4033         1900.
4034
4035 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
4036
4037         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
4038         UNIX convention.  Perform tolower on characters before comparing
4039         them rather than use toupper.
4040         * libc/string/strncasecmp.c (strncasecmp): Ditto.
4041
4042 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4043         
4044         * configure.host: Added using i386 machine directory
4045         for all x86 cross-compiler and configuring
4046         which added object files to use via new "mach_add_objs" variable.
4047         * configure: Regenerated.
4048         * libc/configure: Regenerated.
4049         * libc/Makefile.in: Regenerated.
4050         * libc/aclocal.m4: Regenerated.
4051         * libc/ctype/Makefile.in: Regenerated.
4052         * libc/errno/Makefile.in: Regenerated.
4053         * libc/locale/Makefile.in: Regenerated.
4054         * libc/machine/Makefile.in: Regenerated.
4055         * libc/machine/aclocal.m4: Regenerated.
4056         * libc/machine/configure: Regenerated.
4057         * libc/posix/Makefile.in: Regenerated.
4058         * libc/reent/Makefile.in: Regenerated.
4059         * libc/signal/Makefile.in: Regenerated.
4060         * libc/stdio/Makefile.in: Regenerated.
4061         * libc/stdlib/Makefile.in: Regenerated.
4062         * libc/string/Makefile.in: Regenerated.
4063         * libc/string/memmove.c: Optimized code to use memcpy
4064         logic when performing a non-destructive copy.
4065         * libc/string/strncmp.c: Altered code to allow building
4066         optimized for size or speed.
4067         * libc/syscalls/Makefile.in: Regenerated.
4068         * libc/time/Makefile.in: Regenerated.
4069         * libc/unix/Makefile.in: Regenerated.
4070         * libc/machine/i386/Makefile.am: Added new files and reference
4071         to "mach_add_objs" to indicate optional object files.
4072         * libc/machine/i386/Makefile.in: Regenerated.
4073         * libc/machine/i386/aclocal.m4: Regenerated.
4074         * libc/machine/i386/configure: Regenerated.
4075         * libc/machine/i386/memchr.S: New file that implements
4076         function in Intel assembler.
4077         * libc/machine/i386/memcmp.S: ditto.
4078         * libc/machine/i386/memcpy.S: ditto.
4079         * libc/machine/i386/memmove.S: ditto.
4080         * libc/machine/i386/memset.S: ditto.
4081         * libc/machine/i386/strchr.S: ditto.
4082         * libc/machine/i386/strlen.S: ditto.
4083         * libc/machine/i386/f_atan2.S: New file that implements
4084         fast version of math function to be used by compiler when
4085         --ffast_math compile option is used.
4086         * libc/machine/i386/f_atan2f.S: ditto.
4087         * libc/machine/i386/f_exp.c: ditto.
4088         * libc/machine/i386/f_expf.c: ditto.
4089         * libc/machine/i386/f_frexp.S: ditto.
4090         * libc/machine/i386/f_frexpf.S: ditto.
4091         * libc/machine/i386/f_ldexp.S: ditto.
4092         * libc/machine/i386/f_ldexpf.S: ditto.
4093         * libc/machine/i386/f_log.S: ditto.
4094         * libc/machine/i386/f_logf.S: ditto.
4095         * libc/machine/i386/f_log10.S: ditto.
4096         * libc/machine/i386/f_log10f.S: ditto.
4097         * libc/machine/i386/f_math.h: New file.
4098         * libc/machine/i386/f_pow.c: ditto.
4099         * libc/machine/i386/f_powf.S: ditto.
4100         * libc/machine/i386/f_tan.S: ditto.
4101         * libc/machine/i386/f_tan.S: ditto.
4102         * libc/machine/i386/i386mach.h: New file.
4103
4104 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
4105
4106         patch from Mumit Khan <khan@xraylith.wisc.edu>
4107         * libc/include/stdio.h (tempnam): Add prototype.
4108         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4109         (tempnam): Adhere to prototype.
4110
4111 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
4112
4113         * Makefile.am: Add default for AR_FLAGS.
4114         * Makefile.in: Regenerate.
4115
4116 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
4117
4118         * libc/include/time.h: move __cplusplus wrapper after includes
4119         * libc/include/sys/time.h: ditto.  If Cygwin, include
4120         sys/select.h.
4121         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4122
4123 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
4124
4125         * libc/time/strftime.c (strftime): Handle %y after year 2000.
4126
4127 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
4128
4129         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4130         abnormnal end-of-crt0 marker.
4131
4132 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
4133
4134         * libc/sys/fr30/crt0.s: New file/directory.
4135         * libc/include/machine/setjmp.h: Add FR30 target.
4136         * libc/include/machine/ieeefp.h: Add FR30 target.
4137         * configure.host: Add FR30 target.
4138
4139 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4140
4141         * libm/math: Files that are duplicated in common directory removed.
4142         * libm/math/fdlibm.h: Removed.
4143         * libm/math/s_cbrt.c: Removed.
4144         * libm/math/s_copysign.c: Removed.
4145         * libm/math/s_expm1.c: Removed.
4146         * libm/math/s_finite.c: Removed.
4147         * libm/math/s_ilogb.c: Removed.
4148         * libm/math/s_infinity.c: Removed.
4149         * libm/math/s_lib_ver.c: Removed.
4150         * libm/math/s_log1p.c: Removed.
4151         * libm/math/s_logb.c: Removed.
4152         * libm/math/s_matherr.c: Removed.
4153         * libm/math/s_modf.c: Removed.
4154         * libm/math/s_nan.c: Removed.
4155         * libm/math/s_nextafter.c: Removed.
4156         * libm/math/s_rint.c: Removed.
4157         * libm/math/s_scalbn.c: Removed.
4158         * libm/math/sf_cbrt.c: Removed.
4159         * libm/math/sf_copysign.c: Removed.
4160         * libm/math/sf_expm1.c: Removed.
4161         * libm/math/sf_finite.c: Removed.
4162         * libm/math/sf_ilogb.c: Removed.
4163         * libm/math/sf_infinity.c: Removed.
4164         * libm/math/sf_log1p.c: Removed.
4165         * libm/math/sf_logb.c: Removed.
4166         * libm/math/sf_modf.c: Removed.
4167         * libm/math/sf_nan.c: Removed.
4168         * libm/math/sf_nextafter.c: Removed.
4169         * libm/math/sf_rint.c: Removed.
4170         * libm/math/sf_scalbn.c: Removed.
4171         * libm/math/Makefile.am: Removed references to deleted files (above).
4172         * libm/math/Makefile.in: Regenerated.
4173         * libm/Makefile.am: Added common directory to math.
4174         * libm/Makefile.in: Regenerated.
4175
4176 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4177
4178         * libm/mathfp: Add non-ANSI functions.
4179         * libm/mathfp/e_acosh.c acosh(): New file.
4180         * libm/mathfp/e_atanh.c atanh(): New file.
4181         * libm/mathfp/e_hypot.c hypot(): New file.
4182         * libm/mathfp/e_j0.c j0(): New file.
4183         * libm/mathfp/e_j1.c j1(): New file.
4184         * libm/mathfp/e_remainder.c remainder(): New file.
4185         * libm/mathfp/e_scalb.c scalb(): New file.
4186         * libm/mathfp/ef_acosh.c acoshf(): New file.
4187         * libm/mathfp/ef_atanh.c atanhf(): New file.
4188         * libm/mathfp/ef_hypot.c hypotf(): New file.
4189         * libm/mathfp/ef_j0.c j0f(): New file.
4190         * libm/mathfp/ef_j1.c j1f(): New file.
4191         * libm/mathfp/ef_remainder.c remainderf(): New file.
4192         * libm/mathfp/ef_scalb.c scalbf(): New file.
4193         * libm/mathfp/er_gamma.c gamma_r: New file.
4194         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4195         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4196         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4197         * libm/mathfp/w_cabs.c cabs(): New file.
4198         * libm/mathfp/w_drem.c drem(): New file.
4199         * libm/mathfp/w_jn.c jn(): New file.
4200         * libm/mathfp/wf_cabs.c cabsf(): New file.
4201         * libm/mathfp/wf_drem.c dremf(): New file.
4202         * libm/mathfp/wf_jn.c jnf(): New file.
4203
4204 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
4205
4206         * libc/sys/cygwin32: remove directory and contents
4207         * libc/sys/cygwin: and add back, losing the "32".
4208         * configure.host: check for cygwin* instead of cygwin32.
4209         * acinclude.m4: ditto.
4210         * aclocal.m4: regenerate with aclocal
4211         * configure: regenerate with autoconf
4212
4213 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
4214
4215         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4216         for length
4217
4218 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4219
4220         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4221         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4222         to make rand/srand, strtok, asctime, localtime, w_gamma,
4223         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
4224         time.h to bring in struct tm definition.
4225         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4226         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4227         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4228         instead of static variable.
4229         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4230         struct reent instead of static variable.
4231         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4232         struct reent instead of static variable.
4233         * libm/math/Makefile.am: Removed s_signgam.o.
4234         * libm/math/Makefile.in: Regenerated.
4235         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4236         struct reent instead of global variable 'signgam'.
4237         * libm/math/w_lgamma.c (lgamma): Likewise.
4238         * libm/math/wf_gamma.c (gammaf): Likewise.
4239         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4240         * libm/math/s_signgam.c: Removed.
4241         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4242         to be const.
4243         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4244         to be const.
4245         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4246         libc/include/reent.h.
4247         * libc/reent/Makefile.in: Regenerated.
4248         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4249         to be const.
4250         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4251         'JIS_action_table' to be const.
4252         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4253
4254 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
4255
4256         * acinclude.m4:  $with_target_subdir should default to '.'
4257         or confusion results when configuring in same directory as sources.
4258         * Regenerate all aclocal.m4 and configure files.
4259
4260 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4261
4262         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4263         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
4264         for platforms where sizeof(size_t) < sizeof(long) via
4265         SIZE_T_SMALLER_THAN_LONG macro.
4266         
4267 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4268
4269         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4270         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4271         which sets _CLOCKS_PER_SEC_ for selected machines.
4272         * libc/include/machine/time.h: New file.
4273
4274 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4275
4276         * libc/syscalls/sysexecve.c: New file.
4277         * libc/syscalls/sysgettod.c: New file.
4278         * libc/syscalls/systimes.c: New file.
4279         * libc/syscalls/Makefile.am: Added new objects.
4280         * libc/syscalls/Makefile.in: Regenerated.
4281         * libc/include/_syslist.h (_execve): Moved define in file.
4282         * libc/include/reent.h:  Added _execve_r declaration.
4283         * libc/Makefile.in: Regenerated.
4284         * libc/ctype/Makefile.in: Regenerated.
4285         * libc/errno/Makefile.in: Regenerated.
4286         * libc/locale/Makefile.in: Regenerated.
4287         * libc/machine/Makefile.in: Regenerated.
4288         * libc/misc/Makefile.in: Regenerated.
4289         * libc/posix/Makefile.in: Regenerated.
4290         * libc/reent/Makefile.in: Regenerated.
4291         * libc/reent/execr.c (_execve_r): Added _execve_r function.
4292         * libc/signal/Makefile.in: Regenerated.
4293         * libc/stdio/Makefile.in: Regenerated.
4294         * libc/time/Makefile.in: Regenerated.
4295         * libc/unix/Makefile.in: Regenerated.
4296         * libm/mathfp/Makefile.in: Regenerated.
4297
4298 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4299
4300         * libc/string/Makefile.in: Regenerated.
4301         * libc/string/memchr.c (memchr): Moved code to reduce object size.
4302         * libc/string/memcpy.c (memcpy): Ditto.
4303         * libc/string/memcmp.c (memcmp): Ditto.
4304         * libc/string/memset.c (memset): Ditto.
4305         * libc/string/strchr.c (strchr): Ditto.
4306         * libc/string/strcmp.c (strcmp): Ditto.
4307         * libc/string/strcpy.c (strcpy): Ditto.
4308         * libc/string/strlen.c (strlen): Ditto.
4309
4310 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4311
4312         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4313         to generate aclocal.m4.
4314         * libm/Makefile.in: Regenerated.
4315         * libm/aclocal.m4: Regenerated.
4316         * libm/configure: Regenerated.
4317         * libm/math/Makefile.in: Regenerated.
4318         * libm/mathfp/Makefile.in: Regenerated.
4319
4320 1998-09-25  Mark Salter  <msalter@cygnus.com>
4321
4322         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4323         by adding leading and trailing underscores to symbol names.
4324
4325 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
4326
4327         * Makefile.in: Add default for AR_FLAGS.
4328
4329 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
4330
4331         patch from ian@airs.com (Ian Taylor):
4332         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4333         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4334         is needed for detecting the build machine.  Required for
4335         cygwin native builds.
4336
4337         * Regenerate all aclocal.m4 and configure files.
4338
4339 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
4340
4341         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4342         used to start with LC.
4343
4344 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4345
4346         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4347         (longjmp): Likewise.
4348
4349 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4350
4351         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4352         the test for small number of bytes.
4353
4354 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4355
4356         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
4357         math library that uses floating point algorithms instead of the old
4358         libm.
4359         * Makefile.in: Regenerate with automake version 1.3b.
4360         * configure: Rebuild.
4361         * libm/Makefile.in: Regenerate with automake version 1.3b.
4362         * libm/aclocal.m4: Regenerate.
4363         * libm/configure: Rebuild.
4364         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4365         * libm/acinclude.m4: Define macros for configure.in.
4366         * libm/config.h.in: Generate.
4367         * libm/mathfp/Makefile.am: New file.
4368         * libm/mathfp/Makefile.in: Generate.
4369         * libm/mathfp/s_acos.c (acos): New file.
4370         * libm/mathfp/s_asin.c (asin): New file.
4371         * libm/mathfp/s_asine.c (asine): New file.
4372         * libm/mathfp/s_atan.c (atan): New file.
4373         * libm/mathfp/s_atan2.c (atan2): New file.
4374         * libm/mathfp/s_atangent.c (atangent): New file.
4375         * libm/mathfp/s_ceil.c (ceil): New file.
4376         * libm/mathfp/s_copysign.c (copysign): New file.
4377         * libm/mathfp/s_cos.c (cos): New file.
4378         * libm/mathfp/s_cosh.c (cosh): New file.
4379         * libm/mathfp/s_exp.c (exp): New file.
4380         * libm/mathfp/s_fabs.c (fabs): New file.
4381         * libm/mathfp/s_finite.c (finite): New file.
4382         * libm/mathfp/s_floor.c (floor): New file.
4383         * libm/mathfp/s_fmod.c (fmod): New file.
4384         * libm/mathfp/s_frexp.c (frexp): New file.
4385         * libm/mathfp/s_infconst.c: New file.
4386         * libm/mathfp/s_isinf (isinf).c: New file.
4387         * libm/mathfp/s_isnan.c (isnan): New file.
4388         * libm/mathfp/s_ispos.c (ispos): New file.
4389         * libm/mathfp/s_ldexp.c (ldexp): New file.
4390         * libm/mathfp/s_log.c (log): New file.
4391         * libm/mathfp/s_log10.c (log10): New file.
4392         * libm/mathfp/s_logarithm.c (logarithm): New file.
4393         * libm/mathfp/s_mathcnst.c: New file.
4394         * libm/mathfp/s_modf (modf).c: New file.
4395         * libm/mathfp/s_numtest.c (numtest): New file.
4396         * libm/mathfp/s_pow.c (pow): New file.
4397         * libm/mathfp/s_scalbn.c (scalbn): New file.
4398         * libm/mathfp/s_sin (sin).c: New file.
4399         * libm/mathfp/s_sine.c (sine): New file.
4400         * libm/mathfp/s_sineh.c (sineh): New file.
4401         * libm/mathfp/s_sinf.c (sinf): New file.
4402         * libm/mathfp/s_sinh.c (sinh): New file.
4403         * libm/mathfp/s_sqrt.c (sqrt): New file.
4404         * libm/mathfp/s_tan.c (tan): New file.
4405         * libm/mathfp/s_tanh.c (tanh): New file.
4406         * libm/mathfp/sf_acos.c (acosf): New file.
4407         * libm/mathfp/sf_asin.c (asinf): New file.
4408         * libm/mathfp/sf_asine.c (asinef): New file.
4409         * libm/mathfp/sf_atan.c (atanf): New file.
4410         * libm/mathfp/sf_atan2.c (atan2f): New file.
4411         * libm/mathfp/sf_atangent.c (atangent): New file.
4412         * libm/mathfp/sf_ceil.c (ceilf): New file.
4413         * libm/mathfp/sf_copysign.c (copysignf): New file.
4414         * libm/mathfp/sf_cos.c (cosf): New file.
4415         * libm/mathfp/sf_cosh.c (coshf): New file.
4416         * libm/mathfp/sf_exp.c (expf): New file.
4417         * libm/mathfp/sf_fabs.c (fabsf): New file.
4418         * libm/mathfp/sf_finite.c (finitef): New file.
4419         * libm/mathfp/sf_floor.c (floorf): New file.
4420         * libm/mathfp/sf_fmod.c (fmodf): New file.
4421         * libm/mathfp/sf_frexp.c (frexpf): New file.
4422         * libm/mathfp/sf_isinf.c (isinff): New file.
4423         * libm/mathfp/sf_isnan.c (isnanf): New file.
4424         * libm/mathfp/sf_ispos.c (isposf): New file.
4425         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4426         * libm/mathfp/sf_log.c (logf): New file.
4427         * libm/mathfp/sf_log10.c (log10f): New file.
4428         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4429         * libm/mathfp/sf_modf.c (modff): New file.
4430         * libm/mathfp/sf_numtest.c (numtestf): New file.
4431         * libm/mathfp/sf_pow.c (powf): New file.
4432         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4433         * libm/mathfp/sf_sin.c (sinf): New file.
4434         * libm/mathfp/sf_sine.c (sinef): New file.
4435         * libm/mathfp/sf_sineh.c (sinehf): New file.
4436         * libm/mathfp/sf_sinh.c (sinhf): New file.
4437         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4438         * libm/mathfp/sf_tan.c (tanf): New file.
4439         * libm/mathfp/sf_tanh.c (tanhf): New file.
4440         * libm/mathfp/zmath.h: New file.
4441
4442 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4443
4444         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4445         exit if it has been overwritten by pre-fetching in delay slot.
4446
4447 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4448
4449         * Makefile.am (tooldir): Add in host_alias, so that multilib
4450         libraries are installed in the directory the compiler looks in.
4451         * Makefile.in: Regenerate.
4452
4453         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4454
4455 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4456
4457         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4458         ahead of test for number of bytes being moved.
4459
4460 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4461
4462         * libc/include/sys/unistd.h: Nothing special needed for
4463         _exit under cygwin.
4464
4465 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4466
4467         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4468         conform to user label naming conventions. 
4469
4470 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4471
4472         * libc/sys/cygwin32/sys/utime.h: variable names in
4473         protos should start with two leading underscores
4474         * libc/include/string.h: ditto
4475         * libc/include/sys/signal.h: ditto
4476         * libc/include/sys/stat.h: ditto
4477         * libc/include/sys/time.h: ditto
4478         * libc/include/sys/unistd.h: ditto
4479         * libc/include/ctype.h: ditto
4480         * libc/include/stdlib.h: ditto
4481         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4482         void, same with _sig_func.
4483
4484 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4485
4486         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4487         for MB_CAPABLE to reduce code size when newlib is not configured
4488         with --enable-newlib-mb.
4489         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4490         mbtowc_r.o to minimize size.
4491         * libc/stdlib/Makefile.in: Rebuild.
4492         
4493 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4494
4495         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4496         to -DREENT.
4497         * libc/sys/sparc64/Makefile.in: Rebuild.
4498         
4499 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4500
4501         * Makefile.am (MAKEOVERRIDES): Define.
4502         * Makefile.in: Rebuild.
4503
4504 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4505
4506         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4507
4508 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4509
4510         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4511         newlib_cflags when looking for targ-include.
4512         * */aclocal.m4, */configure: Rebuild.
4513
4514 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4515
4516         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4517         to "_end".
4518
4519 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4520
4521         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4522         on SPARCs with little-endian data.
4523         * libc/include/machine/ieeefp.h: Ditto.
4524
4525 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4526
4527         * acinclude.m4: Handle a relative srcdir correctly when setting
4528         newlib_cflags.
4529         * */aclocal.m4, */configure: Rebuild.
4530
4531 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4532
4533         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4534         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4535         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4536         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4537         * libm/math/wr_gamma.c (gamma_r): ditto 
4538         * libm/math/wf_sqrt.c (sqrtf): ditto 
4539         * libm/math/wf_sinh.c (sinhf): ditto 
4540         * libm/math/wf_scalb.c (scalbf): ditto 
4541         * libm/math/wf_remainder.c (remainderf): ditto 
4542         * libm/math/wf_pow.c (powf): ditto 
4543         * libm/math/wf_log10.c (log10f): ditto 
4544         * libm/math/wf_log.c (logf): ditto 
4545         * libm/math/wf_lgamma.c (lgammaf): ditto 
4546         * libm/math/wf_jn.c (jnf, ynf): ditto 
4547         * libm/math/wf_j1.c (j1f, y1f): ditto 
4548         * libm/math/wf_j0.c (j0f, y0f): ditto 
4549         * libm/math/wf_hypot.c (hypotf): ditto 
4550         * libm/math/wf_gamma.c (gammaf): ditto 
4551         * libm/math/wf_fmod.c (fmodf): ditto 
4552         * libm/math/wf_exp.c (expf): ditto 
4553         * libm/math/wf_cosh.c (coshf): ditto 
4554         * libm/math/wf_atanh.c (atanhf): ditto 
4555         * libm/math/wf_atan2f.c (atan2f): ditto 
4556         * libm/math/wf_asin.c (asinf): ditto 
4557         * libm/math/wf_acosh.c (acoshf): ditto 
4558         * libm/math/wf_acos.c (acosf): ditto 
4559         * libm/math/w_sqrt.c (sqrt): ditto 
4560         * libm/math/w_sinh.c (sinh): ditto 
4561         * libm/math/w_scalb.c (scalb): ditto 
4562         * libm/math/w_remainder.c (remainder): ditto 
4563         * libm/math/w_pow.c (pow): ditto 
4564         * libm/math/w_log10.c (log10): ditto 
4565         * libm/math/w_log.c (log): ditto 
4566         * libm/math/w_lgamma.c (lgamma): ditto 
4567         * libm/math/w_jn.c (jn, yn): ditto 
4568         * libm/math/w_j1.c (j1, y1): ditto 
4569         * libm/math/w_j0.c (j0, y0): ditto 
4570         * libm/math/w_hypot.c (hypot): ditto 
4571         * libm/math/w_gamma.c (gamma): ditto 
4572         * libm/math/w_fmod.c (fmod): ditto 
4573         * libm/math/w_exp.c (exp): ditto 
4574         * libm/math/w_cosh.c (cosh): ditto 
4575         * libm/math/w_atanh.c (atanh): ditto 
4576         * libm/math/w_atan2f.c (atan2): ditto 
4577         * libm/math/w_asin.c (asin): ditto 
4578         * libm/math/w_acosh.c (acosh): ditto 
4579         * libm/math/w_acos.c (acos): ditto 
4580
4581 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
4582
4583         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4584         (fsrc): Add wf_cabs.c and wf_drem.c.
4585         * libm/math/Makefile.in: Rebuild.
4586
4587         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
4588         unused directory variables.  Remove duplicate CFLAGS.
4589         * Makefile.in: Rebuild.
4590
4591         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4592         with $(CC_FOR_BUILD).
4593         (makedoc.o): Likewise.
4594         * doc/Makefile.in: Rebuild.
4595
4596         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4597         force a definition of COMPILE.
4598         (libfoo_a_SOURCES): Define.
4599         * libc/sys/cygwin32/Makefile.in: Rebuild.
4600         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4601         force a definition of COMPILE.
4602         (libfoo_a_SOURCES): Define.
4603         * libc/sys/tic80/Makefile.in: Rebuild.
4604
4605 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
4606
4607         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4608         flag.
4609
4610 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
4611
4612         * Build using autoconf and automake.  Added many Makefile.am and
4613         configure.in files, plus generated files.  Old configure.in files
4614         and all old Makefile.in files completely replaced.  Removed
4615         host/any.  Added acinclude.m4 and configure.host.
4616
4617 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
4618
4619         * libc/stdio/vfprintf.c: enable long long support, sometimes.
4620         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4621
4622 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4623
4624         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4625         * libc/machine/sh/Makefile.in: Add rules for new files.
4626
4627 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4628
4629         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4630         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4631         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4632
4633 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
4634
4635         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4636         code is ignored.
4637
4638 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4639
4640         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4641         internal static buffer when s is NULL, as prescribed by ANSI.
4642
4643 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
4644
4645         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4646         removed.
4647         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
4648         libc/stdlib will be used for h8300hms.
4649         
4650 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4651
4652         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4653         version that can be built either for speed or size.
4654         * libc/machine/mn10300/memset.S (_memset): ditto
4655         * libc/machine/mn10300/memchr.S (_memchr): ditto
4656         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4657         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4658         * libc/machine/mn10300/strchr.S (_strchr): ditto
4659         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4660         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4661         * libc/machine/mn10300/Makefile.in: Added entries for
4662         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
4663         strcmp.o, strcpy.o, and strlen.o.
4664
4665 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
4666
4667         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4668         been replaced with libgloss/mn10200.
4669
4670 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
4671
4672         * libc/string/strchr.c (strchr): Make s a constant pointer to
4673         avoid warning.
4674
4675 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
4676
4677         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4678         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4679         board SWIs instead of Demon board SWIs).
4680
4681 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
4682
4683         * libc/string/strncat.c (strncat):  Make -Os act the same as
4684         PREFER_SIZE_OVER_SPEED being defined.
4685
4686 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
4687
4688         * libc/string/memchr.c (memchr): Make -Os act the same as
4689         PREFER_SIZE_OVER_SPEED being defined.
4690         * libc/string/memcmp.c (memcmp): Ditto.
4691         * libc/string/memcpy.c (memcpy): Ditto.
4692         * libc/string/memset.c (memset): Ditto.
4693         * libc/string/strcat.c (strcat): Ditto.
4694         * libc/string/strchr.c (strchr): Ditto.
4695         * libc/string/strcmp.c (strcmp): Ditto.
4696         * libc/string/strcpy.c (strcpy): Ditto.
4697         * libc/string/strlen.c (strlen): Ditto.
4698         * libc/string/strncat.c (strncat): Ditto.
4699         * libc/string/strncmp.c (strncmp): Ditto.
4700         * libc/string/strncpy.c (strncpy): Ditto.
4701
4702 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
4703
4704         * libc/include/sys/itimer.h: remove
4705         * libc/include/sys/time.h: itimer stuff should be here
4706
4707 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4708
4709         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4710         bit instead of comparing to 0 so -0.0 can be printed correctly.
4711
4712 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4713
4714         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4715
4716 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
4717
4718         * libc/include/sys/unistd.h: fix sync() proto
4719         * libc/include/sys/fcntl.h: remove _close which is already
4720         defined in unistd.h.
4721         * libc/include/sys/time.h: add getitimer proto
4722
4723 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
4724
4725         * libc/string/strchr.c: convert arg to unsigned char
4726         * libc/include/stdlib.h: add protos for random, srandom
4727         * libc/include/sys/stat.h: add lstat proto
4728         * libc/include/sys/time.h: add setitimer proto
4729         * libc/include/sys/unistd.h: add readlink, symlink protos
4730         * libc/include/process.h: instead of including windows.h and using
4731         HANDLEs in sexec protos, just use void *s.  Need to include
4732         sys/types.h.
4733
4734 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
4735
4736         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4737
4738 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
4739
4740         * libc/include/process.h: add secure exec protos
4741
4742 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
4743
4744         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4745         which are accessed as both doubles and integers.
4746         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4747         * libc/stdlib/strtod.c (_strtod_r): Likewise.
4748         * libc/stdlib/mprec.h: Add "union double_union" and change
4749         word0/word1 macros to use it.
4750
4751 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
4752
4753         * libc/include/sys/signal.h: add __cplusplus wrapper
4754
4755 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
4756
4757         * libc/include/sys/utime.h: new generic file that gets replaced by
4758         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4759         function.
4760         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4761         * libc/include/time.h: remove duplicate utime proto
4762         * libc/include/utime.h: add comment
4763
4764 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
4765
4766         * libc/include/sys/time.h: Add missing include to
4767         allow use of _EXFUN.  Remove times function that is
4768         already defined in times.h.
4769
4770 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
4771
4772         * libc/include/time.h: Fix typo in tzset.
4773
4774 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
4775
4776         * libc/include/sys/time.h: add missing Cygwin32 function protos
4777         * libc/include/sys/unistd.h: ditto
4778         * libc/include/time.h: ditto
4779
4780 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
4781
4782         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4783         FIXME.
4784         * libc/include/sys/types.h: add a new __MS_types__ section
4785         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4786         __BIT_TYPES_DEFINED__.
4787
4788 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
4789
4790         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4791         since it overrides the one in libc/include/sys.  Also, start
4792         including types.h.
4793
4794 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
4795
4796         * libm/math/Makefile.in: add s_signgam.o to obj list
4797
4798 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4799
4800         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4801
4802 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
4803
4804         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4805         so don't use defines.
4806
4807 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
4808
4809         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4810
4811 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
4812
4813         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4814         _current_locale as default locale.
4815
4816 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
4817
4818         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4819         insufficient space in a chunk.
4820
4821 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4822
4823         * configure.in (links): Added check for --enable-newlib-mb configure
4824         option which defines the MB_CAPABLE macro.
4825         * libc/locale/locale.c (_setlocale_r): Added support for setting
4826         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4827         defined.
4828         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4829         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4830         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4831         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4832         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4833         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4834         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4835         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4836         * libc/stdlib/Makefile.in: Added new multibyte
4837         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4838         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4839         _mbstowcs_r(), and _wcstombs_r().
4840         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4841         for JIS, SJIS, and EUC-JP characters.
4842         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4843         MB_CAPABLE defined.
4844         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4845         MB_CAPABLE defined.
4846         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4847         MB_CAPABLE defined.
4848         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4849         if MB_CAPABLE defined.
4850         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4851         if MB_CAPABLE defined.
4852         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4853         to the format string processing when MB_CAPABLE.
4854         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4855         call _mbtowc_r().
4856
4857 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
4858
4859         The following modifications are courtesy of Anthony Thompson,
4860         athompson@cambridge.arm.com:
4861         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4862         boith RDI and RDP monitors.
4863         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4864         RDI and RDP monitors.
4865
4866 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4867
4868         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4869         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4870         (_swiopen): Fixed open flags to treat write with append as just append.
4871         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4872         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4873
4874 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4875
4876         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4877         When needing to transfer an initial 2-byte-word, store as
4878         two single bytes.
4879
4880 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4881
4882         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4883         __SH3E__ .
4884         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4885         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4886
4887 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
4888
4889         * configure.in (target_cflags): If --enable-target-optspace, use
4890         -Os to compile newlib rather than -O2.  Default to using -Os for
4891         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4892         used.
4893
4894 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
4895
4896         * libc/include/machine/setjmp.h: change sigsetjmp and
4897         siglongjmp definitions to use an array instead of a struct
4898         for __CYGWIN32__
4899
4900 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
4901
4902         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4903
4904 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4905
4906         * libc/string/strxfrm.c: fix to get correct return value
4907
4908 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
4909
4910         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4911         builds.  Make mode change labels global so that they will be seen
4912         by the debugger.
4913
4914 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
4915
4916         * configure.in (links): Do not use ARM debiugging protocols for PE
4917         builds.
4918
4919         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4920         message. 
4921
4922 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4923
4924         * libc/stdio/findfp.c (__sinit): Made stdout default to
4925         line buffered mode as defined by ANSI.
4926
4927 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
4928
4929         * libc/include/sys/itimer.h: New file.
4930
4931         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4932
4933 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4934
4935         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4936         failure.
4937
4938 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
4939
4940         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4941         insns.
4942
4943 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
4944
4945         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4946
4947 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
4948
4949         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4950         support.
4951
4952         * libc/include/machine/setjmp.h: Add D30V support.
4953
4954         * configure.in (d30v-*): Add d30v machine directory.
4955
4956 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
4957
4958         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4959         been replaced with libgloss/mn10300.
4960
4961 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
4962
4963         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4964         it is no longer needed.
4965
4966 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4967
4968         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4969
4970 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
4971
4972         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4973         the file when O_APPEND is set, wherever the EOF happens to be at
4974         that time. 
4975
4976 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
4977         
4978         patch from cgf@bbc.com (Christopher Faylor):
4979         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4980         convention of closing fp prior to attempting to open the file
4981         argument.  This allows correct operation when reopening
4982         stdin/stdout/stderr.  Replaces last freopen.c patch.
4983
4984 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
4985
4986         patch from cgf@bbc.com (Christopher Faylor):
4987         * libc/stdio/freopen.c: freopen was not preserving the fd
4988         of the stream being operated on.  This confuses programs that
4989         expect that the handles for stdout and stderr will be 1 and 2.
4990
4991 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
4992
4993         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4994
4995 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
4996
4997         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4998
4999 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5000
5001         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
5002         altered to not use a branch.  Also added hint that last
5003         bclr in longjmp will likely result in branch.
5004         
5005
5006 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
5007
5008         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
5009
5010 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
5011
5012         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
5013         v850 builds.
5014
5015         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
5016
5017 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5018
5019         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
5020         that loads FR14 to specify offset of 8 rather than 4
5021         so it loads from offset 96 (where setjmp stored it).
5022
5023 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5024
5025         * libc/machine/sh/memcpy.S: (_memcpy): Update to
5026         latest version supplied by customer.
5027         * libc/machine/sh/memset.S (_memset): Ditto.
5028
5029 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
5030
5031         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
5032         PR14730). 
5033
5034 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
5035
5036         * libc/include/string.h: remove redefinition of ffs
5037
5038 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
5039
5040         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
5041         defined
5042
5043 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
5044
5045         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
5046         TI Libraries to link to libc.a
5047         
5048 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
5049
5050         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
5051         * libc/include/sys/stat.h (_{,f}stat): Ditto.
5052         * libc/include/sys/wait.h (_wait): Ditto.
5053         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
5054         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
5055
5056 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
5057
5058         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
5059         minded stabs so function name shows up when running the simulator
5060         with -t.
5061         * libc/sys/d10v/{crt0,trap}.S: Ditto.
5062
5063 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
5064
5065         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
5066         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5067         Use R5 where we used to use R3.
5068         
5069 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
5070
5071         * libc/stdlib/getopt.c (getopt): replaced __progname
5072         with nargv[0] to improve portability to imbedded systems.
5073
5074 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
5075
5076         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5077         patch supplied by Tont.Thompson@arm.com to fix the creation of the
5078         stdout file.
5079
5080 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
5081
5082         * libc/stdio/tmpnam.c (worker): Generate a different file name
5083         each time.
5084
5085         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5086         fails, try an execlp for sh.
5087
5088         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5089         option for the winsup include directory.
5090
5091 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
5092
5093         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5094         debugging interface from Tony.Thompson@arm.com.
5095         
5096         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5097         * libc/sys/arm/swi.h: ditto.
5098
5099 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
5100
5101         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5102         DIR struct used for readdir hashes.
5103
5104 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
5105
5106         * libc/string/strchr.c: Use "unsigned chars" as necessary.
5107
5108 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
5109
5110         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5111         integer targets.
5112
5113 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5114
5115         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5116         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5117         * libc/include/malloc.h: Add extern "C" if __cplusplus.
5118         (__malloc_copy): Declare.
5119
5120 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
5121
5122         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5123         <sys/config.h>.
5124         (POINTER_UINT): Define.
5125         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5126         (MALLOC_ALIGNMENT): Don't define if already defined.
5127         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5128         long.
5129
5130 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
5131
5132         * libc/string/memset.c (memset): Fiddle with code so that the long
5133         value being stored is not a stack value.  Unroll storing longs 4
5134         times.
5135
5136 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
5137
5138         * Reduce code size for libm modules.
5139         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5140         and simply move code into sqrt.
5141         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5142         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5143         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5144         * libm/math/wr_gamma.c (gamma_r): Likewise.
5145         * libm/math/wf_sinh.c (sinfh): Likewise.
5146         * libm/math/w_sinh.c (sinh): Likewise.
5147         * libm/math/wf_scalb.c (scalbf): Likewise.
5148         * libm/math/w_scalb.c (scalb): Likewise.
5149         * libm/math/wf_remainder.c (remainderf): Likewise.
5150         * libm/math/w_remainder.c (remainder): Likewise.
5151         * libm/math/wf_pow.c (powf): Likewise.
5152         * libm/math/w_pow.c (pow): Likewise.
5153         * libm/math/wf_log10.c (log10f): Likewise.
5154         * libm/math/w_log10.c (log10): Likewise.
5155         * libm/math/wf_log.c (logf): Likewise.
5156         * libm/math/w_log.c (log): Likewise.
5157         * libm/math/w_lgamma.c (lgamma): Likewise.
5158         * libm/math/wf_lgamma.c (lgammaf): Likewise.
5159         * libm/math/wf_jn.c (jnf): Likewise.
5160         * libm/math/w_jn.c (jn): Likewise.
5161         * libm/math/wf_j1.c (j1f): Likewise.
5162         * libm/math/w_j1.c (j1): Likewise.
5163         * libm/math/wf_j0.c (j0f): Likewise.
5164         * libm/math/w_j0.c (j0): Likewise.
5165         * libm/math/wf_hypot.c (hypotf): Likewise.
5166         * libm/math/w_hypot.c (hypot): Likewise.
5167         * libm/math/wf_gamma.c (gammaf): Likewise.
5168         * libm/math/w_gamma.c (gamma): Likewise.
5169         * libm/math/wf_fmod.c (fmodf): Likewise.
5170         * libm/math/w_fmod.c (fmod): Likewise.
5171         * libm/math/wf_exp.c (expf): Likewise.
5172         * libm/math/w_exp.c (exp): Likewise.
5173         * libm/math/wf_cosh.c (coshf): Likewise.
5174         * libm/math/w_cosh.c (cosh): Likewise.
5175         * libm/math/wf_atanh.c (atanhf): Likewise.
5176         * libm/math/w_atanh.c (atanh): Likewise.
5177         * libm/math/wf_atan2.c (atan2f): Likewise.
5178         * libm/math/w_atan2.c (atan2): Likewise.
5179         * libm/math/wf_asin.c (asinf): Likewise.
5180         * libm/math/w_asin.c (asin): Likewise.
5181         * libm/math/wf_acosh.c (acoshf): Likewise.
5182         * libm/math/w_acosh.c (acosh): Likewise.
5183         * libm/math/wf_acos.c (asocf): Likewise.
5184         * libm/math/w_acos.c (acos): Likewise.
5185         * libm/math/wf_sqrt.c (sqrtf): Likewise.
5186         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5187         for embedded systems.
5188
5189 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
5190
5191         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5192         Lea in case of a foreign sbrk.
5193
5194 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
5195
5196         Incorporate Doug Lea's malloc:
5197         * libc/stdlib/mallocr.c: Completely replaced.
5198         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5199         (realloc): Remove.
5200         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5201         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5202         mallopt.
5203         (mallinfo, malloc_stats, mallopt): New functions.
5204         (_mstats_r): Just call _malloc_stats_r.
5205         * libc/stdlib/malign.c: New file.
5206         * libc/stdlib/mlock.c: New file.
5207         * libc/stdlib/msize.c: New file.
5208         * libc/stdlib/mtrim.c: New file.
5209         * libc/stdlib/realloc.c: New file.
5210         * libc/stdlib/valloc.c: New file.
5211         * libc/stdlib/malloc.h: Remove.
5212         * libc/stdlib/callocr.c: Remove.
5213         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5214         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5215         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5216         reallocr.o, valloc.o, vallocr.o.
5217         (CHEWOUT_FILES): Add mlock.def, mstats.def.
5218         (MALLOC_CFLAGS): New variable.
5219         (mallocr.o): New target, build from mallocr.c.
5220         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5221         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5222         (msizer.o, malloptr.o): Likewise.
5223         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5224         (valloc.o): New target.
5225         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5226         * libc/include/malloc.h: Declare struct mallinfo, and new
5227         routines.
5228         * libc/include/stdlib.h (cfree): Correct declaration.
5229
5230 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
5231
5232         * libc/include/machine/setjmp.h: Add support for Thumb target.
5233
5234         * libc/include/machine/ieeefp.h: Add support for Thumb target.
5235
5236         * configure.in (links): Add support for Thumb target.
5237
5238 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
5239
5240         * libc/sys/arm/setjmp.S: Updated with version from branch.
5241
5242 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
5243
5244         * libc/include/stdio.h: add POSIX-required define L_ctermid
5245         for ctermid
5246
5247 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
5248
5249         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5250         addition to MISSING_SYSCALL_NAMES.
5251
5252 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5253
5254         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
5255
5256 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
5257
5258         * libc/include/string.h: change strsignal proto to return
5259         a char *.  This eliminates compile problems in gdb resulting
5260         from gdb's definition of strsignal in defs.h.
5261
5262 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
5263
5264         * libc/sys/cygwin32/sys/utime.h: new (moved here from
5265         winsup/include) so as not to conflict with the one in
5266         libc/include.
5267         * libc/include/string.h: add protos for strsignal, strtosigno
5268
5269 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
5270
5271         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5272
5273         * configure.in (d30v-*-*): Add configuration.
5274
5275 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
5276
5277         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5278         to select which kind of debug monitor is in use for an ARM target.
5279
5280         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5281         Angel and Demon debug monitors.  Part of this code was supplied by
5282         Tony Thompson at ARM: athompso@arm.com.
5283
5284 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
5285
5286         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5287         semantics when the count is greater than the length of the second
5288         source string.
5289
5290 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
5291
5292         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5293         * libc/include/sys/unistd.h: add protos for usleep, truncate,
5294         truncate and ftruncate take off_t, not size_t
5295
5296 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
5297
5298         * libc/string/strcat.c (strcat): Add missing comment end.
5299         * libc/string/strncat.c (strncat): Likewise.
5300
5301 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
5302
5303         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5304         targets. 
5305         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
5306         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5307         defined.  
5308         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5309         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5310         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5311
5312 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
5313
5314         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5315         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5316
5317 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
5318
5319         * libc/machine/i386/setjmp.S: New file.
5320         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5321         (OFILES): Add setjmp.o.
5322         (setjmp.o): Add rule for.
5323         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5324
5325 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
5326                          Jeffrey A Law  (law@cygnus.com)
5327
5328         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5329         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5330         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5331         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5332
5333 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
5334
5335         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5336         rules. 
5337
5338         * libc/include/sys/config.h: Use __v850 to select v850
5339         endianness. 
5340
5341         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5342         buffer size.
5343
5344         * libc/include/machine/ieeefp.h: Use __v850 to select v850
5345         endianness. 
5346
5347 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
5348
5349         * libc/stdlib/setenv.c: change unsetenv definition to match
5350         style of setenv (with _DEFUN).  The string should be a const.
5351         * libc/include/stdlib.h: unsetenv proto should return void.
5352
5353 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
5354
5355         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5356
5357 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
5358
5359         * libc/stdio/glue.h: remove.
5360         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5361         * libc/stdio/Makefile.in: remove glue.h dependencies
5362
5363 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
5364
5365         * libc/sys/sysnecv850/crt0.S: Created V850e version.
5366         
5367 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
5368
5369         * configure.in (target_cpu): Add `arc'.
5370
5371 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
5372
5373         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
5374           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5375         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5376         * newlib/libc/reent/reent.c: Add _wrapup_reent.
5377         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5378
5379 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
5380
5381         * libc/machine/mips/setjmp.S: Handle mips16 builds.
5382
5383 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5384
5385         * libc/include/stdio.h (siprintf): Declare.
5386
5387 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
5388
5389         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5390         TARGET_CFLAGS and NEWLIB_FLAGS.
5391
5392 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5393
5394         * configure.in (links): Add support for v850ea target.
5395
5396 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5397
5398         * configure.in (links): Add support for v850e target.
5399
5400 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
5401
5402         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5403
5404 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
5405
5406         * configure.in (arc-*-*): Add support for.
5407         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5408
5409 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5410
5411         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5412
5413 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
5414
5415         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5416         comparison which accesses invalid memory when the key is
5417         larger than the last member of the array.
5418         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5419         for CYGWIN32
5420         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5421
5422 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5423
5424         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5425         not _STRICT_ANSI.
5426
5427 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
5428
5429         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5430         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5431
5432 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
5433
5434         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5435         to load/store memory.
5436
5437 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
5438
5439         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5440         underscores if _WIN32.
5441
5442 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
5443
5444         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5445         support ifdef _USE_WRITE missed in last change.
5446         From Anders Blomdell <anders.blomdell@control.lth.se>.
5447
5448 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5449
5450         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5451         (_tmpnam_r, _tempnam_r): Update.
5452
5453 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5454
5455         * libc/machine/sparc/setjmp.S: New file.
5456         * libc/machine/sparc/Makefile.in: Add setjmp.
5457         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5458
5459 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5460
5461         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5462
5463 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5464
5465         From Joel Sherrill <joel@oarcorp.com>.
5466         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5467
5468         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5469         * configure.in: Recognize *-*-rtems*.
5470         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5471         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5472         time.h,times.h,types.h}: New files.
5473         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5474
5475 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5476
5477         patch from sos@prospect.com.ru (Sergey Okhapkin):
5478         * include/sys/wait.h: correct operator precidence bug
5479         in WIFSIGNALED
5480
5481 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5482
5483         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5484         with newlib's unsetenv function
5485         * libc/sys/cygwin32/sys: new directory for includes
5486         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5487         here from winsup/include/sys
5488
5489 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5490
5491         * libc/include/sys/unistd.h: _exit should only be
5492         labelled noreturn when not __CYGWIN32__
5493         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5494         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5495         increment NSIG
5496
5497 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5498
5499         * libc/include/sys/time.h: Only define timeval and timezone if
5500         _GNU_H_WINDOWS32_SOCKETS is not defined.
5501         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5502
5503 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5504
5505         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5506         * libc/machine/mn10300/setjmp.S: Likewise.
5507
5508         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5509         the mn10300 (more relaxing opportunities).
5510
5511 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5512
5513         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5514         Build libraries with -mstrict-align.
5515
5516 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5517
5518         * libc/string/strlwr.c: New file.
5519         * libc/string/strupr.c: New file.
5520         * libc/include/string.h: Declare strlwr and strupr.
5521         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5522         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5523         (strlwr.o, strupr.o): New targets.
5524         * libc/string/strings.tex: Include strlwr and strupr docs.
5525
5526         * libc/include/sys/types.h: Don't define u_char, et. al., if
5527         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5528         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5529         _types_fd_set rather than fd_set, and define fd_set as a macro.
5530
5531         * libc/include/malloc.h: New file.
5532
5533         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5534         strnicmp if they are not already defined.
5535
5536         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5537         _timezone, _daylight, and _tzname.
5538
5539 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5540
5541         * configure.in: Sort all configuration tables.
5542
5543         From Joel Sherrill <joel@oarcorp.com>
5544         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5545
5546 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5547
5548         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5549         use int when declaring kill.
5550
5551         * libc/include/sys/timeb.h: New file.
5552
5553 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5554
5555         * libc/include/sys/time.h: add itimer support for Cygwin32
5556
5557 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5558
5559         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5560         out a message that abort was called to stderr.
5561
5562 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5563
5564         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5565         so that libio doesn't freak.
5566
5567         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5568         int.
5569
5570         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5571         memory sizes, not int.
5572
5573 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
5574
5575         * libm/math/ef_hypot.c: Use long constants where
5576         appropriate.
5577         * libm/math/ef_sqrt.c: Ditto.
5578
5579         * libc/sys/sysmec/times.c(_times): Change to times.
5580
5581         * libc/sys/sysmec/read.c(_read): The third argument is
5582         size_t.
5583         * libc/sys/sysmec/write.c (_write): Ditto.
5584
5585         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5586         (_lseek): It's off_t for the second argument.
5587
5588 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
5589
5590         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5591         as well as machine/ieeefp.h.
5592
5593 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
5594
5595         * libc/include/sys/signal.h: add signal protos for winsup
5596         functions (when __CYGWIN32__), include types.h
5597         * libc/include/sys/types.h: Change __go32_types__ internal
5598         define to __MS_types__ since it's used for more than just
5599         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
5600         defined.
5601         * libc/include/sys/unistd.h: add ftruncate proto for
5602         winsup functions (when __CYGWIN32__)
5603
5604 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5605
5606         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5607
5608 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
5609
5610         * libc/include/machine/setjmp.h: Add tic80 support.
5611         * libc/machine/tic80/setjmp.S: Likewise.
5612
5613 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
5614
5615         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5616         link programs from libraries only (such as in the X11
5617         distribution)
5618
5619 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
5620
5621         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5622         supplied elsewhere in newlib.
5623
5624 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
5625
5626         * Makefile.in (INSTALL): Change install.sh to install-sh.
5627
5628 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5629
5630         * README: update WWW address for on-line documentation.
5631
5632 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
5633
5634         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5635         increment NSIG
5636
5637 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
5638
5639         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5640         mn10300.
5641         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5642
5643 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
5644
5645         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5646         * libc/sys/d10v/syscalls.c: Likewise.
5647         * libc/sys/h8300hms/sbrk.c: Likewise.
5648         * libc/sys/h8500hms/syscalls.c: Likewise.
5649         * libc/sys/m88kbug/syscalls.c: Likewise.
5650         * libc/sys/sh/syscalls.c: Likewise.
5651         * libc/sys/sysmec/sbrk.c: Likewise.
5652         * libc/sys/sysnecv850/sbrk.c: Likewise.
5653         * libc/sys/w65/syscalls.c: Likewise.
5654         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5655
5656 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
5657
5658         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5659         emulated syscall instead of "trap".
5660
5661 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
5662
5663         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5664         not trap 0.
5665
5666 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
5667
5668         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5669
5670 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
5671
5672         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5673         not "sh".
5674         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5675         not "d10v".
5676         * libc/sys/tic80/crt0.c: New file for TIc80.
5677         * libc/sys/tic80/Makefile.in: New file for TIc80.
5678         * libc/machine/tic80/Makefile.in: New file for TIc80.
5679
5680 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
5681
5682         * libc/machine/sh/memcpy.S: New file.
5683         * libc/machine/sh/memset.S: New file.
5684         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5685
5686 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
5687
5688         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5689         for TIc80.
5690
5691 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
5692
5693         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5694         the mn10200.
5695
5696 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
5697
5698         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5699         (patch from andrew@pogo.WV.TEK.COM).
5700
5701 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
5702
5703         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5704         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5705
5706 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
5707
5708         * configure.in:  Add cases for "tic80" to set machine_dir,
5709         sys_dir, and syscall_dir.
5710
5711 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
5712
5713         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5714
5715 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
5716
5717         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5718
5719 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
5720
5721         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5722         Use proper constant prefix.
5723
5724 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
5725
5726         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5727         that loses on the mn10200 where ints and pointers are different
5728         sizes.
5729
5730 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
5731
5732         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5733         target as signal is provided in winsup.
5734
5735 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
5736
5737         * libc/include/sys/process.h: Corrected const definitions
5738         in spawn functions. Added cwait.
5739
5740 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
5741
5742         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5743         doubles.
5744         * libc/include/sys/config.h: Similarly.
5745
5746 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5747
5748         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5749         target_cflags.
5750         (i[3456]86-*-sco*): Ditto.
5751
5752         * libc/signal/Makefile.in (OFILES): Add signal.o.
5753         (CFILES): Add signal.c.
5754
5755         * libc/signal/raise.c (_raise_r): Only compile code if
5756         SIGNAL_PROVIDED is defined.
5757
5758         * libc/signal/signal.c: Redo whole file so that it works with
5759         current newlib.  Use _kill_r if no signal handler provided.
5760
5761         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5762         signal stubs.
5763         * libc/sys/sysvnecv70/Makefile.in: Ditto.
5764         * libc/sys/sysnecv850/Makefile.in: Ditto.
5765
5766         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5767         * libc/sys/sysmec/{raise,signal}.c: Ditto.
5768         * libc/sys/sysvnecv70/signal.s: Ditto.
5769         * libc/sys/sysnecv850/raise.c: Ditto.
5770
5771         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5772         simulator and debugger can tell the difference between a signal
5773         being raised and an exit system call.
5774
5775         * NEWS: Document software signals being provided.
5776
5777 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5778
5779         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5780         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
5781         include/sys/config.h.
5782         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5783         Change from 'inpure_data'.
5784         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
5785         &impure_data, not &inpure_data.
5786
5787         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5788         and and System V ABI, define so that _impure_ptr lives in the
5789         .sdata section.
5790
5791 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5792
5793         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5794         nothing if not defined.
5795         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5796         its attributes.
5797
5798         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
5799
5800 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
5801
5802         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5803         * libc/sys/sysmec/trap.s: Handle mn10200 too.
5804         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5805
5806 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
5807
5808         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5809
5810 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
5811
5812         * libc/include/sys/errno.h: Added net errno's.
5813
5814 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5815
5816         * libc/misc/ffs.c: New file to support ffs function for GCC test
5817         gcc.c-torture/execute/960909-1.c.
5818
5819         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5820
5821 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
5822
5823         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5824         * libc/sys/sysmec/trap.S: Likewise.
5825
5826 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
5827
5828         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5829         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5830
5831 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
5832
5833         * libc/sys/sysmec/signal.c: Dummy file.
5834         * libc/sys/sysmec/Makefile.in: Build it.
5835
5836 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
5837
5838         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5839         mips16.
5840
5841 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
5842
5843         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5844         c-startup and simulator traps.
5845
5846
5847         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5848         * libc/sys/sysmec/trap0.S: Likewise.
5849
5850 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5851
5852         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5853         round to double word alignment.
5854         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5855         byte alignment.
5856
5857         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5858
5859         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5860         out of memory.
5861
5862 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
5863
5864         * configure.in: Handle mn10200 and mn10300.
5865         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5866         * libc/include/sys/config.h: Likewise.
5867         * libc/sys/sysmec: New directory for mec stuff.
5868         * libc/machine/mn10300: New directory for mn10300 stuff.
5869         * libc/machine/mn10200: Similarly for mn10200 stuff.
5870
5871 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
5872
5873         * libc/sys/arm/crt0.S: Use .text, not .section .text.
5874         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5875
5876         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5877         (nlink_t): Change type from unsigned int to unsigned short.
5878         (mode_t): Ensure size is 32 bits even if int is 16.
5879         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5880         (st_spare[123]): Change type from int to long.
5881
5882 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5883
5884         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5885         byte boundary.
5886
5887         * configure.in (d10v*): Define SMALL_MEMORY.
5888
5889 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5890
5891         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5892         -mrelocatable-lib and -mno-eabi flags.
5893
5894 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
5895
5896         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5897         Fix handling of mis-aligned source operand when both the
5898         destination & length are properly aligned.
5899         
5900 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
5901
5902         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5903         times.o, time.o and gettime.o
5904         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5905         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5906         SYS_gettimeofday.
5907
5908 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
5909
5910         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5911         * libc/sys/sysnecv850/access.c: New file.
5912
5913 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
5914
5915         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5916
5917         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5918         long.
5919
5920 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
5921
5922         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5923
5924 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
5925
5926         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5927         * libc/include/sys/config.h: Add m32r support.
5928
5929 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
5930
5931         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
5932         here.
5933
5934 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
5935
5936         * libc/include/machine/setjmp.h: Add D10v support.
5937
5938 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
5939
5940         * configure.in: Configure the "libc/syscalls" directory for
5941         the v850.
5942
5943         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5944         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5945         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5946         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5947         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5948
5949 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
5950
5951         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
5952         stack for args for main and other routines.  Zero out args for
5953         main.
5954
5955         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
5956         correctly.
5957
5958 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5959
5960         * libc/stdio/findfp.c (std): Remove extraneous ';' after
5961         function.
5962
5963         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5964
5965         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5966         real system calls now.
5967
5968         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5969         before casting them to int.
5970         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5971
5972         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5973         aligning pointer.
5974         * libc/string/memset.c (memset): Ditto.
5975         
5976         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5977         first convert ints to _POINTER_INT to eliminate GCC warning.
5978
5979         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5980         processing %p.
5981
5982         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5983         from 65000 if ints are only 16 bits.
5984
5985         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5986         from 50000 if ints are only 16 bits.
5987
5988         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5989         int type that is the same size as a pointer.
5990
5991         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5992         processing %p.
5993         (get_number): Explicitly cast number to long before shifting by 16
5994         or 24, in case ints are short.
5995
5996         * libc/include/sys/config.h (_POINTER_INT): Define as short.
5997
5998 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
5999
6000         * libc/string.h: Added ffs, removed swab.
6001         * libc/sys/errno.h: Added EOPNOTSUPP.
6002         * libc/sys/unistd.h: Added swab.
6003
6004 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
6005
6006         * libc/include/sys/stat.h: Added fchmod.
6007         * libc/include/sys/unistd.h: Added fsync.
6008
6009 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
6010
6011         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
6012         and ECONNRESET (104) for cygwin32.
6013
6014 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
6015
6016         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
6017         do the static destructors.
6018         
6019 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
6020
6021         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
6022
6023 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
6024
6025         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
6026         * configure.in: Recognize m32r-*-*.
6027
6028 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
6029
6030         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
6031         __rt_stkovf_split_small): Added default software stack overflow
6032         handlers, which just call SWI_Exit.
6033         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
6034         limit initialisation.
6035
6036 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
6037
6038         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
6039
6040 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
6041
6042         * libc/include/sys/types.h: Added ssize_t definition.
6043         
6044 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6045
6046         * libc/machine/d10v/setjmp.S: Use ';' for comments.
6047         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
6048
6049         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
6050         branch around a single ldi instruction.
6051
6052         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
6053         Call exit, instead of just issuing a stop instruction.
6054
6055 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6056
6057         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6058
6059 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6060
6061         * libc/stdlib/mprec.h: Explicitly declare all large constants as
6062         longs, and then cast them to __uint32_t.
6063
6064         * libc/include/sys/config.h: Protect against multiple inclusions.
6065
6066 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
6067
6068         * configure.in (d10v*): Set syscall_dir.
6069
6070 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
6071
6072         * libc/sys/d10v/crt0.S: Set stack pointer.
6073
6074 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
6075
6076         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6077         in assembly for efficiency.  Change calling convention to allow
6078         long ints to be returned.
6079
6080 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6081
6082         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6083
6084 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
6085
6086         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6087         Handle empty entries in $PATH.
6088
6089 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
6090
6091         * libc/machine/d10v/setjmp.S: Make it really work.
6092
6093 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
6094
6095         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6096         the .stack section.
6097
6098 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
6099
6100         * sys/sysnecv850/sys/file.h: Remove.
6101         * sys/sysnecv850/sys/syscall.h: New file.
6102         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6103         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6104         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6105         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6106         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6107         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6108         * sys/sysnec850/trap.S: New file.
6109         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6110         syscalls.
6111         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6112         * sys/sysnec850/sbrk.c: New version.
6113
6114 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
6115
6116         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
6117         as long as r6 is less than r7.
6118
6119 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
6120
6121         * Makefile.in (mostlyclean): Separate from clean target.  Don't
6122         remove *.a or targ-include.
6123         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6124
6125 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6126
6127         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6128         d10v.
6129         (__SMALL_BITFIELDS): Ditto.
6130
6131         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6132
6133 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
6134
6135         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6136         prefix.
6137
6138         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6139         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6140         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6141         * libc/sys/sysnecv850/write.c (write): Likewise.
6142
6143         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6144         .bss.
6145
6146 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6147
6148         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6149         appropriately for D10V, depending on -mint16/-mint32.
6150
6151 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
6152
6153         * configure.in: Add cases for D10V.
6154
6155 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6156
6157         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6158
6159 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
6160
6161         * libc/include/machine/ieeefp.h: Fix typo.
6162
6163 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
6164
6165         * libc/sys/d10v: New directory for D10V stuff.
6166         * libc/include/machine/ieeefp.h: Add D10V defines.
6167
6168 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
6169
6170         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6171         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6172         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6173         * libc/string/strerror.c (strerror): Add them.
6174
6175 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
6176
6177         * libc/sys/sysnecv850: New directory for v850 stuff.
6178
6179         * libc/machine/v850: New directory for v850 stuff.
6180         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6181
6182         * configure.in: Add support for the v850.
6183
6184         * libc/include/machine/ieeefp.h: Add v850 defines.
6185         * libc/include/machine/setjmp.h: Likewise.
6186         * libc/include/sys/config.h: Add v850 defines.
6187
6188 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
6189
6190         * libc/include/machine/ieeefp.h
6191         * libc/include/machine/setjmp.h
6192         * libc/include/sys/fcntl.h
6193         * libc/include/sys/signal.h
6194         * libc/include/sys/types.h
6195         * libc/stdlib/system.c:
6196         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6197         API availability, __CYGWIN32__ for cygwin32 environment specific).
6198
6199 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
6200
6201         * libc/include/stdlib.h: add multibyte character functions.  Add
6202         __eprintf for assert.
6203
6204 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6205
6206         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6207         arithmetic or __alignof__ to properly get the alignment, instead
6208         of hardwiring it to 4.
6209
6210 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
6211
6212         * libc/stdio/fseek.c: add fflush call to adjust seek offset
6213         on append stream (fix from NetBSD sources), adjust curoff offset
6214         for ungetc's benefit.
6215         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6216         * libc/stdio/rewind.c: replace code with up to date NetBSD
6217         code to undo hacks made to work around above problem of not
6218         having fflush call mentioned above
6219
6220 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6221
6222         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6223         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6224         Partially revert last changes.  The thread specific errno is set
6225         iff if the underlying syscall fails and the global errno is not
6226         zero.
6227
6228 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6229
6230         * libc/reent/filer.c: Removed files, all functions have split out
6231         into their own files.
6232         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
6233         New files containing functions formally in filer.c
6234         * libc/reent/Makefile.in: Updated for above change.
6235
6236         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6237         syscall fails, not if errno is changed.
6238         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
6239         _write_r): Likewise.
6240         * libc/reent/fstatr.c (_fstat_r): Likewise.
6241         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6242         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6243         * libc/reent/signalr.c (_kill_r): Likewise.
6244         * libc/reent/statr.c (_stat_r): Likewise.
6245         * libc/reent/timer.c (_gettimeofday_r): Likewise.
6246
6247         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6248         signalr.c, statr.c, timer.c} (errno): declare extern rather
6249         than as a common.
6250
6251         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6252         instead of calling vfprintf so that i*printf will not require
6253         floating point support code.
6254         
6255 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
6256
6257         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6258         path delimiter.
6259         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6260         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6261
6262 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
6263
6264         * libc/include/signal.h: _sig_func_ptr function takes an int
6265         * libc/include/sys/signal.h: sa_handler function takes an int
6266
6267 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
6268
6269         * libc/include/machine/ieeefp.h: Simplify H8/S support.
6270         * libc/include/sys/config.h: Add missing H8/S conditional.
6271
6272 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
6273
6274         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6275
6276 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
6277
6278         * libc/include/machine/setjmp.h: Handle H8/S.
6279         * libc/include/machine/ieeefp.h: Likewise.
6280         * libc/include/sys/config.h: Likewise.
6281         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6282         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6283         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6284         * libc/sys/h8300hms/crt0.S: Likewise.
6285
6286 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6287
6288         * Makefile.in (datadir): Set to $(prefix)/share.
6289         (oldincludedir, docdir): Removed.
6290         * doc/Makefile.in (datadir): Set to $(prefix)/share.
6291         (oldincludedir, docdir): Removed.
6292         * libc/Makefile.in (datadir): Set to $(prefix)/share.
6293         (oldincludedir, docdir): Removed.
6294         * libm/Makefile.in (datadir): Set to $(prefix)/share.
6295         (oldincludedir, docdir): Removed.
6296
6297 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
6298
6299         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6300         _reent struct.
6301
6302 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
6303
6304         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
6305         fetch current path rules with sysconf and handler posix/win32
6306         appropriately.
6307
6308         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6309
6310         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6311         (WAIT_CHILD): Always define.
6312
6313 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
6314
6315         * libc/stdlib/eprintf.c: New file.
6316         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6317         (eprintf.o): New target.
6318
6319 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
6320
6321         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6322         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6323
6324 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
6325
6326         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6327         NT in PowerPC endianess cases.
6328
6329 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6330
6331         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6332
6333 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6334
6335         * libc/string/strtok.c: Fix doc typo.
6336
6337 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6338
6339         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6340         _next, _scanpoint, _signgam fields.
6341
6342         * libc/include/stdlib.h (rand_r): Added new declaration.
6343         (_rand_r, _srand_r): Removed declarations.
6344         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6345         have been made obsolete by rand_r.
6346         * libc/stdlib/rand_r.c: New file, rand_r function as specified
6347         by POSIX.1c.
6348         
6349         * libc/string/strtok.c: Update documentation to describe
6350         strtok_r().
6351
6352 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
6353
6354         * libc/include/sys/stat.h (stat structure): Use the expanded stat
6355         structure on Solaris, and PowerPC systems even though __svr4__ is
6356         defined.
6357
6358 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6359
6360         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6361
6362 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6363
6364         * host/any: Use ../.. rather than .. to get to the main build
6365         directory.  This matches the current layout of the build
6366         directory.
6367
6368 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
6369
6370         * libc/machine/h8300/__main.S: Delete.  No longer needed.
6371         * libc/machine/h8300/Makefile.in: Corresponding changes.
6372         * libc/sys/h8300hms/crt1.c: New file.
6373         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6374         * libc/sys/h8300hms/crt0.s: Call __main.
6375
6376         * libc/sys/h8300hms/crt0.S: Use temporary label names
6377         for branch targets.
6378
6379 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
6380
6381         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6382
6383 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6384
6385         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6386         .sdata on the PowerPC so that we can link newlib with code
6387         compiled with -msdata.
6388
6389 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
6390
6391         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6392
6393 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
6394
6395         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6396         exception handler to __cygwin_exception_handler.
6397
6398 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
6399
6400         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6401
6402 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
6403
6404         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6405         SunOS VPATH.
6406         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6407         wcstombs.o): Likewise.
6408
6409 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
6410
6411         * libc/stdlib/environ.c (initial_env): New static local.
6412         (environ): Point to `initial_env'.
6413
6414         * libc/include/machine/setjmp.h: Clean up.
6415         (__H8300H__,__PPC__): Define _JBTYPE.
6416         (__arm__): Provide entry for.
6417         (sigjmp_buf): Delete.
6418         (jmp_buf): Use _JBTYPE if defined, otherwise int.
6419
6420 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
6421
6422         * libc/machine/h8300/strcmp.S: Sign extend the result to
6423         32bits so we don't lose with -mint32.
6424
6425 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
6426
6427         * libc/sys/go32/sys/errno.h: New file.
6428         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6429         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6430         errno's address (make compatible with rest of newlib).
6431         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6432         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6433
6434 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6435
6436         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6437         * libc/machine/sparc/Makefile.in: Build them.
6438         * libc/machine/sparc/machine/sparclet.h: New file.
6439
6440 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6441
6442         * libc/machine/sh/asm.h: New file.
6443         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6444         support for SH3e's FP registers.  Use asm.h.
6445
6446 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6447
6448         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6449         as first argument.  Call _dtoa_r and pass the reent structure
6450         instead of calling __dtoa.
6451
6452 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6453
6454         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6455         the h8300, h8500, and others.  Add comments for some rather
6456         dubious code.
6457
6458 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6459
6460         * Makefile.in (check): Check that testsuite exists before cd.
6461
6462 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6463
6464         * libc/include/string.h (strsep): Correct prototype.
6465
6466 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6467
6468         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6469         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6470         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6471
6472 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6473
6474         * libc/posix/{creat.c,isatty.c}: New files.
6475         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6476
6477         * libc/sys/sparc64/crt0.S (environ): Delete.
6478         (.LHaveBias): Renamed from HaveBias.
6479
6480 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6481
6482         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6483         (_morecore_r): Delete SBRK_IS_ALLOC support.
6484
6485 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6486
6487         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6488         module rather than touch, so we don't get warning messages when
6489         all of the libraries are combined into libc.a.
6490
6491 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6492
6493         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6494         crt0.s replaced by version in libgloss.
6495
6496 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6497
6498         * libc/reent/Makefile.in (OFILES): Add impure.o.
6499         * libc/reent/impure.o: New file, define initial reentrancy struct.
6500         * libc/reent/reent.c: Remove above definition.
6501
6502         * libm/math/sf_asinh.c: Fix typo.
6503
6504         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6505         srf_ldexp.o.
6506         
6507         * libm/libm.texinfo: Change documentation to reflect changes
6508         in reentrancy model.
6509         * libm/math/w_gamma.c: Likewise.
6510
6511 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6512
6513         * configure.in (*-*-cygwin32): New.
6514         (*-*-win32): Deleted.
6515         * libc/sys/win32 renamed libc/sys/cygwin32.
6516
6517 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6518
6519         * libc/include/sys/file.h: New include file.
6520
6521 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6522
6523         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6524
6525 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6526
6527         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6528
6529 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6530
6531         * doc/makedoc.c (realloc): Declare at file scope.
6532         (catchar): Not here.
6533
6534 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6535
6536         * Makefile.in (VERSION): Update to 1.7.0.
6537         * {libc,libm}/Makefile.in (VERSION): Likewise.
6538         * configure.in: Minor clean up of multilib stuff.
6539
6540         From David Johnson <davidj@ICSI.Berkeley.EDU>
6541         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6542
6543         * libc/stdlib/environ.c: New file.
6544         * libc/stdlib/Makefile.in (OFILES): Build it.
6545         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6546         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6547         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6548         * libc/sys/netware/environ.c: Deleted.
6549
6550 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6551
6552         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6553
6554 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6555
6556         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6557         declaration out to external scope and declare it PTR, not char *.
6558
6559 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6560
6561         * libc/include/sys/unistd.h (getpagesize): New declaration.
6562         (_SC_PAGESIZE): New definition.
6563         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6564         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6565
6566 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6567
6568         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6569         addressing. System call returns size, not (last address + 1).
6570
6571 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6572
6573         * libm/math/*.c: Removed _foo_r() reentrancy API.
6574         * libc/include/math.h: Removed _foo_r prototypes and macros.
6575
6576         * libm/math/*.c: On systems with IEEE single precision "doubles" 
6577         move foo() -> foof() wrapper code from the files that implement
6578         the standard IEEE double precision functions to the files that 
6579         implement IEEE single precision functions. (ie. On those systems
6580         sin is moved from s_sin.c to sf_sin.c).  There should eventually
6581         be use of a C extension (like gcc's alias attribute) so that the
6582         wrappers are not needed at all.
6583
6584         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6585         strict NEC V810 compiler.
6586         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6587         for same reason.
6588
6589 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6590
6591         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6592         from NetBSD C library.
6593         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6594
6595         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
6596         and adapted from implementation I wrote for NetBSD C library.
6597         The difference is __assert doesn't take a format argument,
6598         so that there won't be multiple copies of the same string
6599         constant in the executable if assertions are enabled in
6600         more than one source module.
6601         * libc/include/assert.h (assert): Changed to call __assert.
6602
6603 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6604
6605         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6606         word1 on systems with 32 bit doubles.
6607         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6608         so that we can do arithmetic on them.
6609         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6610         compilers.
6611         
6612 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6613
6614         * libc/sys/arm/crt0.S: Zero bss.
6615
6616 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
6617
6618         * libc/include/unctrl.h: New file.
6619         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6620         * configure.in (subdirs): Add libc/misc.
6621         * libc/Makefile.in (SUBDIRS): Add misc.
6622         (SUBLIBS): Add misc/lib.a.
6623
6624         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6625
6626 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
6627
6628         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6629         (_vfprintf_r): Call CHECK_INIT.
6630
6631 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
6632
6633         * Makefile.in (MULTITOP): Delete.
6634         (MULTISRCTOP, MULTIBUILDTOP): Add.
6635         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
6636         instead of cfg-ml-pos.in.
6637
6638 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6639
6640         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6641         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6642         presence.
6643
6644 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
6645
6646         * libc/string/strtok.c: Include string.h to pick up strtok_r
6647         prototype.
6648
6649 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6650
6651         * libc/string/strtok.c: include <_ansi.h>.
6652         * libc/time/asctime_r.c: `reresult' -> `result'.
6653
6654 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6655
6656         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6657         in #ifndef _REENT_ONLY ... #endif conditional.
6658
6659         * libc/include/string.h (_strtok_r): Remove declaration.
6660         * libc/include/time.h (_asctime_r): Remove declaration.
6661         * libc/string/strtok.c (_strtok_r): Removed.
6662         * libc/time/asctime.c (_asctime_r): Removed.
6663
6664         * libc/string/Makefile.in (OFILES): Add new object.
6665         * libc/string/strtok_r.c: New file.  strtok_r function as
6666         specified by POSIX.1c, adapted from strtok implementation 
6667         from NetBSD C library.
6668         * libc/string/strtok.c (strtok): Reimplemented in terms of 
6669         strtok_r.
6670
6671         * libc/time/Makefile.in (OFILES): Add new objects.
6672         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6673         New files, reentrant time functions specified by POSIX.1c.
6674         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6675         reentrant time functions re-written in terms of reentrant 
6676         functions.
6677         * libc/time/lcltime.c: Renamed from localtime.c
6678
6679         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6680         gmtime_r, and localtime_r.
6681
6682 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
6683
6684         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6685         * libc/include/sys/unistd.h (getlogin): Revert change of
6686         Oct 19.
6687         * libc/include/sys/signal.h (sigprocmask): Change prototype
6688         so it compiles with c++.
6689
6690 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
6691
6692         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6693         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
6694         to give some room in case we need to align the jmp_buf.
6695         
6696         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6697         the new ppc-asm.h include file the compiler provides to specify
6698         function prologue/epilogue.  Eliminate saves of the xer and ctr
6699         registers, which are volatile.  Before starting to save registers,
6700         align to 8 byte boundary.
6701
6702 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6703
6704         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6705         referenced by standard libraries.
6706
6707 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
6708         
6709         * libc/unix/Makefile.in, libc/string/Makefile.in,
6710         libc/stdio/Makefile.in, libc/reent/Makefile.in,
6711         libc/posix/Makefile.in:
6712         Remove tabs from otherwise empty line.  Confuses some
6713         older non-GNU versions of "make".
6714
6715 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6716
6717         * libc/sys/unistd.h (getlogin): Returns const char *.
6718
6719 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
6720
6721         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6722         * libc/include/errno.h: Moved into and include...
6723         * libc/include/sys/errno.h: New file.
6724         * libc/include/sys/wait.h: New file.
6725         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6726         * libc/sys/win32/*: Moved out.
6727         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6728         * configure.in (i[345]86-*-win32): HAVE_RENAME
6729
6730 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
6731
6732         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6733         avoid macro expansion for these two names.
6734
6735 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
6736
6737         * libc/machine/h8500/psi.S: r6 renamed to fp.
6738
6739 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6740
6741         * configure.in (powerpc*): No longer need to define
6742         NO_LONGLONG_POINTERS to supress warnings.
6743
6744 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6745
6746         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6747         through PTR instead of directly.
6748
6749         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
6750         non-standard constructor support.
6751
6752 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6753
6754         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6755         address of the Bigint instead of the address of its _x field,
6756         as the size the result buffer was calculated accordingly.  
6757         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6758
6759         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6760         from NetBSD C library.  No longer special cases division by 
6761         zero (which needs to be done by the application anyway), but
6762         it doesn't need to call abs() (or labs()) four times either.
6763         
6764         * libc/stdlib/qsort.c: Replaced with implementation from 
6765         NetBSD C library.
6766
6767 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6768
6769         * libc/stdio/vfprintf.c: Replaced with implementation from
6770         NetBSD C library (which is derived from the 4.4BSD C library).
6771         * libc/stdio/cvt.c: Removed.
6772         * libc/stdio/Makefile: Updated.
6773         
6774 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
6775
6776         * libc/sys/win32/syscalls.c (rename): New.
6777         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6778
6779 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6780
6781         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6782         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6783
6784         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6785         (setjmp.o): Delete rule to build setjmp.o.
6786         * libc/sys/sh/setjmp.S: Delete file.
6787
6788 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6789
6790         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6791         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6792         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
6793         pow5mult and s2b to identifiers with leading underscores.
6794         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6795         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
6796
6797 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
6798
6799         * libc/sys/posix/popen.c (sys/types.h): Include.
6800
6801 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
6802
6803         * libc/sys/win32/syscalls.h (fhandler): New struct.
6804         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6805         (__fhandler_normal): Declare.
6806         (hinfo): New member op_handlers.
6807         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6808         (__write): Likewise.
6809         (_read, _write, _open, _close, _lseek): Validate fd here.
6810         Move file type specific stuff to foo_normal.
6811         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6812         New functions.
6813         (__lookup_fhandler): New function.
6814         (__lookup_fhandler_hook, __fhandler_normal): New variables.
6815
6816         From anders.blomdell@control.lth.se (Anders Blomdell)
6817         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6818         Don't touch standard handles.
6819         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6820         (_execve): Only create __FD_TABLE__ if necessary.
6821         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6822
6823 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
6824
6825         * libc/sys/win32/sys/termios.h (FLUSHO): New.
6826         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6827         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6828         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6829         without a handler is received.
6830         * libc/sys/win32/Makefile.in: Remove --nodelete.
6831         * libc/sys/win32/resouce.c (gettimeofday): New.
6832         * libc/sys/win32/syscalls.c (path_to_real_path): New.
6833         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6834
6835 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
6836
6837         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6838         Don't append "/*" to search pattern if trailing '/' already there,
6839         append "*".
6840         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6841         like /'s, convert them to \'s.  Handle //<drive>/ path names.
6842         Add space for quoted \'s in arg string.  Print translated prog name
6843         and original prog name.
6844         (_execve): Handle parent doing exec a teensy bit better.
6845         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6846         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6847         path needs conversion, handle both cases.  Delete `const' from result.
6848         (hash_path_name): New function.
6849         (_open): Call it.
6850         (_stat): Likewise.  Fill in more fields for directories.
6851         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6852         (wait_for_any): Fix trace message.
6853         (waitpid): Explicitly test for intpid == 0.
6854
6855         From anders.blomdell@control.lth.se (Anders Blomdell)
6856         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6857         so `next' is valid.
6858
6859 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
6860
6861         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6862         complicated.
6863
6864 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
6865
6866         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6867         at all, not just == 1.
6868         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6869
6870 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6871
6872         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6873         * libc/sys/win32/include/wintypes.h: include <winnt.h>
6874         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6875         file.
6876
6877 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6878
6879         * libc/sys/syscalls.c (getcwd): Fix off by one error.
6880
6881         * libc/sys/signal.c (sleep): Fill it in.
6882         * libc/sys/termios.c (tcflush): Use PurgeComm
6883         (tcsetattr): Set some more of the bits.
6884         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6885
6886 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
6887
6888         * libc/sys/arm/crt0.S (fp): Initialize to 0.
6889         Conditionally include .idata$3 stuff ifdef __pe__.
6890
6891 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6892
6893         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6894         * libc/sys/win32/pipe.c (pipe): Ditto.
6895         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
6896         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6897         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6898         (tcgetattr): Contents are new.
6899         * libc/sys/win32/include/winkernel.h (DCB): New.
6900         (GetCommState, SetCommState): New.
6901
6902 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
6903
6904         * libc/sys/arm/crt0.S (_start): Define.
6905
6906 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
6907
6908         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6909         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6910
6911         * libc/sys/win32/sysconf.c: New
6912         * libc/sys/win32/sys/winadvapi.h: New
6913         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6914         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6915         * libc/sys/win32/pipe.c (pipe): Ditto.
6916         * libc/sys/win32/signal.c (_raise): New.
6917         (_kill): Moved from spawn.c
6918         * libc/sys/win32/spawn.c (kill): Moved to signal.c
6919         * libc/sys/win32/syscalls.c (__read): Use new fields.
6920         (_open): Ditto.
6921         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6922         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6923         * libc/include/sys/unistd.h (rmdir): Takes const path.
6924         * libc/include/sys/stat.h (mkdir): Takes const path.
6925         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6926
6927 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6928
6929         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6930
6931         Add support for specifying paths as //<drive>/foo/bar.
6932         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6933         (__path_to_real_path): Declare.
6934         (PATH_TO_REAL_PATH): New macro.
6935         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6936         (__path_needs_conversion_p, __path_to_real_path): New functions.
6937         (_open): Fix test for error return from CreateFileA.
6938         Handle new path syntax.
6939         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6940         * libc/sys/win32/dirsearch.c (opendir): Likewise.
6941
6942 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
6943
6944         * libc/sys/win32/include/*.h: Reorganized
6945         * libc/sys/win32/include/WINREADME: New.
6946         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6947         * libc/sys/win32/*.c: Fix for new include scheme.
6948         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6949         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6950         * libc/sys/win32/passwd.c (*): Fix.
6951         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6952         (_stat): Get directory owner and permissions right.
6953         * libc/sys/win32/syscalls.h (uinfo): New.
6954         * libc/sys/win32/version.def: Remove leading underscores.
6955
6956 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6957
6958         * libc/sys/win32/key.c: include "include/wincon.h".
6959
6960 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6961
6962         * libc/sys/win32/{key, stubs}.c: New.
6963         * libc/sys/win32/Makefile: Adjust to cope.
6964         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6965         (environ_init): Change env names to upper case.
6966         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6967         * libc/sys/win32/passwd.c (*): Fill in the functions.
6968         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6969         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6970         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6971         (_open): Initialze hmap->execable_p too.
6972         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6973         (_fstat): Fill in permissions.
6974         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6975
6976 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6977
6978         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6979         if defined.
6980         (cfg-ml-pos.in invocation): Likewise.
6981
6982 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6983
6984         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6985         s_isnan.o and sf_isnan.o.
6986
6987 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
6988
6989         * All Makefile.in files: added maintainer-clean target as a
6990         synonym for realclean.
6991
6992 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
6993
6994         * libc/include/machine/setjmp.h: Add hppa support.
6995         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6996         support.
6997         * libc/machine/hppa/Makefile.in: Related changes.
6998
6999 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
7000
7001         * configure.in (machine_dir): Don't set for v810-*-*.
7002
7003 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7004
7005         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
7006         conventions correctly.
7007
7008 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
7009
7010         * libc/stdio/puts.c: Update documentation of return value to match
7011         ANSI standard.
7012
7013 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
7014
7015         Fix file descriptor inheritance.
7016         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
7017         (NOT_OPEN_FD): Fix.
7018         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
7019         close-on-exec flag not set.  Initialize child's entire fd table.
7020         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
7021         CHILD_P.
7022         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
7023         if CHILD_P.  Initialize entire hmap entry.
7024         (dup): Only create new handle as inheritable if CHILD_P.
7025         (dup2): Likewise.  Properly initialize hmap entry.
7026
7027         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
7028         _spawn.
7029         (_exit): Use CHILD_P.
7030         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
7031         (_stat): Likewise.
7032
7033 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7034
7035         * libc/sys/win32/crt0.c (passover): fix up the state table.
7036         * libc/posix/popen.c: Added.
7037         * libc/posix/Makefile.in: compile popen.c.
7038         
7039 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
7040
7041         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
7042         h8/500 define _DOUBLE_IS_32BITS.
7043
7044 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
7045
7046         Get vfork/exec/spawn/cwait/wait working again.
7047         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
7048         (procinfo): New member vfork_level.
7049         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
7050         (vfork_init_first): Use GetCurrentProcessId to get pid.
7051         Initialize vfork_level.
7052         (vfork_init): Delete __PID__.
7053         (environ_init): New function.  Undo patch of Aug 19, Posix says
7054         environment variables are case sensitive.
7055         (mainCRTStartup): Call it.
7056         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7057         (my_longjump: Make static.
7058         (_spawn): New argument `h'.  Delete setting of __PID__.
7059         Delete local `idx'.  Look for chars that need quotes, rather than
7060         ones that don't.  Set handle of created process in `h'.
7061         Result is process id if created task.
7062         (allocate_spawn_entry): New function.
7063         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
7064         (_execve): Set __FD_TABLE__ before spawning child.
7065         Scan our fd table when passing fds, not our parent's.
7066         Store handle and pid in procinfo entry.
7067         (vfork0): Ensure strace message always printed.
7068         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7069         (vfork): Don't clobber result of vfork0.
7070         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7071         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7072
7073         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7074         and `exit_code'.
7075         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7076         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
7077         adding vfork level to pseudo-pid.  
7078         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7079         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7080         (_exit): If child, set exit code.
7081         (__vfork_record_death): Only close process handle if valid.
7082         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7083         didn't exec.
7084         (wait_for_any): Likewise.  Start scan after root entry.
7085
7086 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7087
7088         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7089         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7090         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7091         of actual file length.
7092
7093         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7094         * libc/include/paths.h: _PATH_BSHELL added.
7095         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7096         and STDERR_FILENO.
7097
7098 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7099
7100         * libc/include/ar.h: Added.
7101         * libc/include/sys/types.h: ino_t goes back to 32-bits.
7102         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7103         * libc/sys/win32/syscalls.c (_open): compute .namehash based
7104         on filename.
7105         (_fstat): use .namehash for inode number of the fd.
7106
7107 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7108
7109         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7110          Change hinfo to __this_procinfo.
7111         * libc/sys/win32/crt0.c: Remove procinfo_list.
7112
7113 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7114
7115         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7116         win32 environment.
7117
7118 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7119
7120         * libc/sys/win32/include/grp.h: Removed.
7121         * libc/sys/include/grp.h: Added.
7122         * libc/sys/win32/grp.c: Include <grp.h>.
7123
7124 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
7125
7126         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7127         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7128         Defined for all but strict ANSI.
7129         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7130         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7131         * libc/signal/signal.c (_signal_r): Changed from using
7132         _MAX_SIGNALS to NSIG.  
7133         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7134          __hmap): Deleted.
7135         (__strace, __vfork_next_pid): New.
7136         (__exe_suffix): Default to 1.
7137         (passover, table): Understand quoted arguments.
7138         (vfork_init_first): New.
7139         (vfork_init): Initialize new process structure.
7140         (mainCRTStartup): Pass environ to main.
7141         * exceptions.c (__sig_mask): New
7142         (ehandler3): Ignore signals in mask.
7143         (really_exit): Remove CHILD_P test.
7144         * pipe.c (pipe, dup, dup2): Use new process and file structure.
7145         * resource.c (getrusage): Ditto.
7146         * signal.c (sigprocmask): New.
7147         * spawn.c (*): Rewritten.
7148         * syscalls.c (*): Use new process and file structure.
7149         (find_unused_handle): New.
7150         * syscalls.h (MAX_HANDLES): Deleted.
7151         (hinfo): Removed child_created_p.
7152         (MAX_CHILDREN): Deleted.
7153         (vfork_jmp_info, procinfo): New.
7154         * wait.c (*): Mostly new.
7155         * sys/strace.h (_STRACE_PARANOID): New.
7156         * sys/param.h: New file.
7157
7158 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7159
7160         * libc/include/sys/stat.h: add S_BLKSIZE.
7161         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7162         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7163         types under win32.
7164         (mode_t): add a #else to avoid multiple definitons.
7165
7166         * libc/sys/win32/Makefile.in: add grp.c.
7167         * libc/sys/win32/grp.c: include grp.h correctly.
7168         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7169         of the st structure with real information.
7170         * libc/sys/win32 (dirent): d_ino is of type ino_t.
7171
7172 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
7173
7174         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7175         and (maybe) sparc64.
7176         (nlink_t): Provide typedef.
7177
7178 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
7179
7180         * libc/sys/win32/grp.c: New file.
7181         * libc/sys/win32/include/grp.h: New file.
7182
7183 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7184
7185         * libc/include/machine/ieeefp.h: Added whitespace to make this
7186         file easier to maintain.
7187         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7188         depending on the value of __LITTLE_ENDIAN__.
7189         On the sh3e, define _DOUBLE_IS_32BITS.
7190         
7191 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7192
7193         * libc/sys/vr4300/syscalls.c: Added missing support
7194         routines. _raise() and getpid().
7195
7196 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
7197
7198         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7199
7200 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
7201
7202         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7203         and VR4300 processor.
7204         * libc/sys/vr4300: Add directory.
7205         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7206         monitor run-time support.
7207
7208 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7209
7210         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7211         * libc/stdlib/stdlib.tex: Don't include atol.def.
7212
7213 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7214
7215         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7216
7217 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
7218
7219         * libc/ctype/Makefile.in: Fill in _to* dependencies.
7220
7221 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
7222
7223         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7224         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7225         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7226         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7227         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7228
7229 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7230
7231         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7232
7233 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7234
7235         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7236         * libc/stdlib/atoff.c: New file.
7237         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7238         * libc/stdlib/atoi.c (atol): Removed.
7239         * libc/stdlib/atol.c: Removed duplicate documentation.
7240
7241         * libc/include/ctype.h (_tolower, _toupper): Moved inside
7242         #ifndef _STRICT_ANSI conditional.
7243         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7244         * libc/ctype/_tolower.c: New file.
7245         * libc/ctype/_toupper.c: New file.
7246         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7247         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7248         * libc/ctype/toascii.c (_toascii): Removed.
7249
7250 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7251
7252         * libc/sys/sparc64/sys/types.h: Deleted.
7253
7254 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7255
7256         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7257         and recognize Windows_95 systems.
7258
7259 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7260
7261         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7262         and passed fds should be opened in text mode.
7263
7264 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7265
7266         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7267         in __hmap, set to binary mode by default.
7268
7269 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7270
7271         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7272         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
7273         vector 34.
7274
7275 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
7276
7277         * Makefile.in (install): Install all libraries found in the
7278         top level.  If there's a sys/<type>/include directory,
7279         install those headers into include.
7280
7281         * libc/sys/win32/kernel.def351: Delete
7282         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7283         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7284         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7285         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7286         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7287         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7288         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7289         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7290
7291         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7292         * libc/sys/win32/crt0.c: Force all env names to upper case.
7293         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7294         * libc/sys/win32/*.c: Headers have moved.
7295         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7296         __vfork_child_idx is now __vfork_child_ptr.
7297
7298         * posix/execvp (execvp): Don't crash if no PATH envname.
7299
7300 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7301
7302         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7303         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7304         through the _freelist instead of through the _reclaim list.
7305         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7306         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7307         sources.
7308
7309 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7310
7311         * libc/machine/h8500/setjmp.S: New file.
7312         * libc/include/machine/setjmp.h: Updated for H8/500.
7313
7314 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
7315
7316         * libc/sys/win32/syscalls.c (_open): More stracing.
7317         (_stat): Open the file in O_BINARY.
7318
7319 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7320
7321         * libc/machine/h8300/setjmp.S: New file.
7322         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7323
7324 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
7325
7326         * libc/sys/win32/crt0.c (__exe_suffix): New global.
7327         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7328         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7329         __exe_suffix.  Free fd_tab after setting env variable.
7330         (spawnv,_execve): Update.
7331         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7332         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7333         (__small_vfprintf): New function.
7334         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7335         * libc/sys/win32/wait.c (cwait): Validate argument.
7336
7337         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7338         (process_deletion_queue): Likewise.
7339
7340         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7341
7342 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
7343
7344         * libc/sys/win32: Copyrights and gratuitous indenting.
7345
7346 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
7347
7348         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7349         (process_deletion_queue): Likewise.
7350         (__close_all_files): New function.
7351         (_close): Only queue file deletion if really a file.
7352         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7353         _P_APPEND_EXE.
7354         (_exit): Call __close_all_files.
7355
7356         * libc/stdlib/system.c: #include <errno.h>.
7357         (_system_r): Fix results in -DNO_EXEC case.
7358
7359         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7360         Reorganize structure.
7361         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7362         if argument is valid.  Save directory name in DIR.  malloc space
7363         for dirent struct separately.
7364         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7365
7366         * libc/include/errno.h (ENAMETOOLONG): Define.
7367         * libc/string/strerror.c (strerror): Reword ENFILE.
7368         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7369
7370 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
7371
7372         * libc/sys/win32/crt0.c (__progname): New global.
7373         (mainCRTStartup): Support strace=bitmask,filename.
7374         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7375         * libc/sys/win32/syscalls.c (_write): Print parent trace message
7376         if error.
7377         (getcwd): Handle len too small.  Convert '\\' to '/'.
7378         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7379         Add prototypes for open, creat, fcntl.
7380         (O_APPEND): Change value to conform to Microsoft's value.
7381         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7382
7383         * libc/stdlib/getopt.c: New file.
7384         * libc/stdlib/Makefile.in: Build it.
7385
7386 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
7387
7388         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7389         Fix scanning of $PATH.
7390         * libc/posix/exec*.c: Call _execve, not execve.
7391         * libc/posix/execve.c: New file.
7392         * libc/posix/Makefile.in (OFILES): Add execve.o.
7393
7394         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7395         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7396         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
7397         * libc/sys/win32/crt0.c: Update _STRACE calls.
7398         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7399
7400         * libc/sys/win32/smallprint.c (rn): Fix digit list.
7401
7402         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7403         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7404         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7405         Print __seterrno trace message first.
7406         (_execve): Renamed from execve.
7407         (vfork): Update __strace usage.
7408         (__vfork_child_pid): Deleted.
7409         (__vfork_children, __vfork_child_idx): New globals.
7410         (_spawnvp): New function.
7411         (spawnvp, spawnv, _execve): Call _spawnvp.
7412         (init_child): Record child in __vfork_children.
7413         (__vfork_get_entry, __vfork_record_death): New functions.
7414         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7415         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7416         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
7417         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7418         (children): New typedef.
7419         (__vfork_children,__vfork_child_idx): Declare.
7420         (__vfork_get_entry,__vfork_record_death): Declare.
7421         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7422         (waitpid): Handle pid == -1.
7423         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7424         * configure.in (i386-win32): Add -DNO_FORK.
7425         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7426         * libc/reent/execr.c (_fork_r): Likewise.
7427         * libc/stdlib/system.c (do_system): New function.
7428         If WIN32, try to get shell path from $SH_PATH, use vfork.
7429         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7430         otherwise return 0.
7431
7432 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
7433
7434         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7435         * libc/sys/win32/fcntl.h: Don't include self.
7436         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7437         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7438         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7439         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7440         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7441         Correct prototypes.
7442         * libc/sys/win32/strace.c: New file.
7443         * libc/sys/win32/smallprint.c: New file.
7444         * libc/sys/win32/crt0.c (func): Delete.
7445         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7446         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7447         * libc/sys/win32/exceptions.c: Lint.
7448         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7449         Clean up handle usage.
7450         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7451         (open.c): Default file type is text.
7452         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7453         * libc/sys/win32/advapi32.def: New      
7454
7455 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7456
7457         * configure.in (posix_dir, libc_posix_lib): New variables.
7458         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7459         (i[345]86-*-win32): Define posix_dir.
7460         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7461         (if unix_dir): Fix typo.
7462         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7463         scandir,seekdir,telldir}: New files.
7464         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7465         from libc/unix.
7466         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7467         (SUBDIRS): Add posix.
7468         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7469
7470         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7471         (NSIG): Increase to 21.
7472         * libc/include/sys/unistd.h (pid_t): Move from here,
7473         * libc/include/sys/types.h (pid_t): to here.
7474
7475         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7476         (__ptrace): Delete.
7477         (hinfo): New members close_exec_p, child_created_p.
7478         (struct exception_list): Define.
7479         (__hmap): Redefine as pointer to table.
7480         (__parent_hmap, __child_hmap): New globals.
7481         (__set_errno, __really_exit): Declare.
7482         (__vfork_child_pid): Declare.
7483         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7484         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7485         (__parent_hmap, __child_hmap): New globals.
7486         (__hmap): Redefine as pointer to active map.
7487         (__get_console): New function.
7488         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7489         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7490         mapping table from it if defined.
7491         (argv, envp): Dump if __strace >= 4.
7492         (main): Call here.
7493         * libc/sys/win32/exceptions.c (myp): Redefine.
7494         (__syscalls_b): Delete.
7495         (__stack_trace): New function.
7496         (ehandler3): Update to use _STRACE.  Print stack trace.
7497         Call __really_exit instead of exit.
7498         (init_exceptions): Delete args argc,argv.  New arg mine.
7499         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7500         FindFirstFileA, FindNextFileA, GetComputerNameA,
7501         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7502         * libc/sys/win32/signal.c (signal): Validate arg.
7503         (alarm, sleep): Define as stubs for now.
7504         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7505         (__syscalls_b, errno): Delete.
7506         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7507         (__seterrno): Handle more errors.
7508         (__sys_printf): Renamed from _ptrace.
7509         (__really_exit): New function.
7510         (queue_file_deletion, process_deletion_queue): New functions.
7511         (__resume_parent): New function.
7512         (_unlink): Handle trying to delete open file.
7513         (__totime_t): Renamed from totime_t.
7514         (setsid, __read, __write): New functions.
7515         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7516         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7517         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7518         * libc/sys/win32/console.c: Update to new definition of __hmap.
7519         * libc/sys/win32/Makefile.in: Build new files.
7520         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7521         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7522         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7523         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7524
7525 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7526
7527         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7528
7529 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7530
7531         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7532         have been made to the master dtoa.c sources (from netlib.att.com)
7533         since they were integrated into newlib in early 1992.  Fixes
7534         problems with storage leaks and handling of numbers with very
7535         negative exponents.
7536         
7537 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7538
7539         * Makefile.in (all): set rootpre and srcrootpre before calling
7540         sub-makes.
7541
7542 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7543
7544         * libc/sys/win32/crt0.c: Change __hmap usage.
7545         * libc/sys/win32/exceptions.c: Use _ptrace call.
7546         * libc/sys/win32/syscalls.c: Use _ptrace call.
7547         (read, write): Cope with DOS style CRLF when in TEXT mode.
7548         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7549         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7550         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7551         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7552         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7553
7554 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7555
7556         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7557
7558         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7559         wrappers for hypot() and remainder() for BSD libm compatibility.
7560         These are public domain implementations written by me for the
7561         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7562         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7563         (fobj): Added wf_cabs.o and wf_drem.o.
7564
7565 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7566
7567         * libc/sys/h8500hms/misc.c: New file.
7568         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7569
7570 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7571
7572         * libc/time/localtime.c (localtime): Fix problem with leap year
7573         handling.  Stole algorithm from Arthur David Olson's tz code.
7574         
7575 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
7576
7577         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7578
7579         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7580         (_exit): Use argument.
7581
7582 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
7583
7584         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7585
7586 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7587
7588         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7589
7590 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7591
7592         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7593         target_cflags.
7594
7595 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
7596
7597         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
7598         ptrace with case insensitivity
7599         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7600         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7601         New files.
7602
7603 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
7604
7605         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7606         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7607         (all, install, *clean): Use new multilib support.
7608         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7609
7610 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
7611
7612         * libc/include/sys/signal.h (__WIN32__): New.
7613
7614         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7615
7616         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7617         (ulp, b2d): Handle 32 bit doubles.
7618         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
7619         * libc/stdlib/strtod.c (_strtod_r): Ditto.
7620
7621 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
7622
7623         from medp@primag.co.uk:
7624         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7625         dynamically allocated buffers.
7626
7627 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
7628
7629         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
7630         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
7631
7632 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7633
7634         * configure.in (powerpc): Fix previous fix.
7635
7636 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7637
7638         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7639         directories for this target.
7640
7641 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
7642
7643         * configure.in (hppa): Add machine_dir definition.
7644         * libc/machine/hppa: New directory with PA specific implementations
7645         of the basic memory/string functions.
7646
7647 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7648
7649         * configure.in: Update current PowerPC multilib directories.
7650         Split big and little endian configurations.
7651
7652 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
7653
7654         * configure.in: Add --enable-single-float option to configure to
7655         control use of MIPS single-float directories.  Default to yes.
7656
7657         * Makefile.in (all): Don't recurse into multilib directory if it
7658         does not exist.
7659
7660 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7661
7662         * libc/sys/sh/syscalls.c: Fix typo.
7663
7664 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7665
7666         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7667         Pass down DLLTOOL.
7668         * libc/include/process.h: Define WAIT_CHILD.
7669         * libc/include/types.h: Get sizes right for win32.
7670         * configure.in (i386-*-pe): Becomes i386-win32.
7671         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7672         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7673         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7674         is defined.
7675
7676 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7677
7678         * configure.in (i[345]86-*-pe):  New target (NT).
7679         * host/any: DLLTOOL new.
7680         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7681         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7682         WIN32 (just enough to cross host the comp-tools).
7683
7684 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
7685
7686         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7687         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
7688
7689 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
7690
7691         * libc/include/machine/ieeefp.h (arm): Change to always be
7692         __IEEE_BIG_ENDIAN (even on little endian ARM's).
7693
7694 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7695
7696         * libc/sys/crt0.S: Initialze sp, and call exit after main.
7697         * libc/sys/syscalls.c (abort): New.
7698         * configure.in (arm): Define ABORT_PROVIDED.
7699
7700 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7701
7702         * configure.in (powerpc): Define multidirs.
7703
7704 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
7705
7706         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7707
7708 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
7709
7710         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
7711
7712 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7713
7714         * configure.in, libc/include/machine/ieeefp.h: Modified
7715         for arm:
7716         libc/machine/arm/*, libc/sys/arm/*: New
7717
7718 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7719
7720         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7721           __powerpc__ when determining endianness.
7722
7723 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7724
7725         * configure.in (m68*): Add multidir for the m68332.
7726
7727         * host/any (CC): Fix typo in last change.
7728
7729 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
7730
7731         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7732         when determining endianness.
7733         * libc/include/machine/ieeefp.h: Ditto.
7734         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7735         operands.
7736
7737 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
7738
7739         * libc/include/errno.h (ENOTEMPTY): Define.
7740
7741 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7742
7743         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7744           target_cflags.
7745
7746         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7747           and umultiply.o.
7748
7749         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7750           instead of only when open succeeds.  ANSI requires that multiple
7751           calls to tmpnam() result in different files.
7752
7753         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7754           objects pulled in from /lib/libc.a that must be renamed before
7755           being pulled into newlib.  /lib/libc.a's div.o conflicted with
7756           newlib's file with the same name.
7757
7758         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7759
7760         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7761           the build tree will only be used if the executables are present
7762           (instead of just the Makefiles).
7763
7764         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7765           wcstombs): Define.
7766         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7767           versions of these functions that I orignally wrote for the
7768           NetBSD C library.
7769         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7770           versions I wrote for NetBSD.
7771
7772 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
7773
7774         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7775         * libc/sys/sparclite/crt0.s: ditto.
7776
7777 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
7778
7779         * configure.in: Add soft-float for proelf.
7780
7781 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
7782
7783         * libc/stdlib/mprec.h (Bcopy): Copy the right number
7784         of bytes.
7785
7786 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
7787
7788         * Makefile.in (all): Depend on `force'.
7789         * configure.in (syscall_dir): Renamed from fake_sys_dir.
7790         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7791         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7792         * libc/Makefile.in: Likewise.
7793         * libc/include/reent.h: Update syscall references.
7794         (_fcntl_r): Add prototype.
7795         * libc/syscalls/*.c #include <reent.h>.
7796         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7797
7798 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
7799
7800         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7801         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7802         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7803         (time.h, sys/types.h): Always include (even if MSDOS).
7804         (stat): Fix prototype.
7805
7806 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
7807
7808         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7809
7810 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7811
7812         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7813
7814 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
7815
7816         * libc/include/regdef.h: New file.
7817         * libc/machine/mips/machine/regdef.h: New file.
7818
7819 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
7820
7821         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7822
7823 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
7824
7825         * libc/sys/sh/crt0.S: Pass main's return to exit.
7826         * libc/sys/sh/trap.S: Put errno in the right place.
7827
7828 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7829
7830         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7831         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7832         * libm/math/ef_rem_pio2.c: Likewise.
7833         * libm/math/e_log10.c: Remove unused static one.
7834         * libm/math/ef_log10.c: Likewise.
7835         * libm/math/s_frexp.c: Likewise.
7836         * libm/math/sf_frexp.c: Likewise.
7837
7838 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
7839
7840         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7841         longjmp.S: Upgraded.
7842         * libc/sys/go32/sys/setjmp.h: Upgraded.
7843         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7844
7845 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7846
7847         * configure.in: Add many entries to multidirs for mips targets.
7848
7849 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7850
7851         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7852           5.2 which fixes bug where jn(-1,x) is three times larger than
7853           the actual answer.
7854         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7855
7856 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
7857
7858         * libc/sys/w65/sys/syscalls.h: New file
7859         * libc/include/machine/ieeefp.h: W65 support.
7860         * libc/include/sys/config.h: Ditto.
7861         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7862         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7863         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7864
7865 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7866
7867         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7868
7869 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
7870
7871         * Makefile.in, configure.in: Remove any references to the old
7872         "stub" dir.
7873
7874 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7875
7876         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7877         uses ... in prototype.
7878
7879
7880 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
7881
7882         * libc/sys/a29khif/sys/libconfig.h: Remove.
7883         * libc/sys/go32/sys/libconfig.h: Remove.
7884         * libc/sys/sun4/sys/libconfig.h: Remove.
7885         * libc/sys/sysvi386/sys/libconfig.h: Remove.
7886         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7887         * libc/sys/sparc64/sys/libconfig.h: Remove.
7888
7889         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7890         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7891         * libc/include/math.h: Change all uses of _FLOAT_RET and
7892         _FLOAT_ARG to float.
7893         * libm/test/math.c: Likewise.
7894         * testsuite/libm.sac/math.c: Likewise.
7895         * testsuite/libm.sac/working/math.c: Likewise.
7896
7897 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7898
7899         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7900         gcc calls gas with endian option.
7901         * configure.in (sh): Build little endian version too.
7902
7903 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7904
7905         * configure.in: Configure big and little endian versions for MIPS
7906         targets.
7907
7908 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
7909
7910         * libc/include/limits.h: Deleted.
7911         * libc/include/machine/limits.h: Deleted.
7912
7913 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
7914
7915         * ChangeLog: Remove stub directory. This has all been rewritten
7916         and moved to devo/libgloss.
7917
7918 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7919
7920         * Makefile.in (dvi): Add to info target, use $@ in sub make.
7921         (docs): Merge into info target.
7922         * libm/Makefile.in (dvi): Add $(srcdir).
7923         * libm/math/Makefile.in (chobjs): Remove underscores from file
7924         names.  Texinfo doesn't like them.
7925         (wacos.def, ...): Add explicit targets for all .def files.
7926         * libm/math/math.tex: Remove underscores from @include file names.
7927         * doc/Makefile.in (dvi): Add dummy target.
7928         * testsuite/Makefile.in (dvi): Add dummy target.
7929
7930 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
7931
7932         * Makefile.in (VERSION): Define.  For net newlib releases.
7933
7934 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
7935
7936         * README: New file.
7937
7938 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7939
7940         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7941
7942 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7943
7944         * libc/stdlib/setenv.c (_findenv): Declare.
7945
7946         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7947         fcntl to not use _EXFUN, and change string parameters to open and
7948         creat to be ``const char *''.
7949         * libc/sys/sparc64/sys/fcntl.h: Likewise.
7950         * libc/sys/sparc64/creat.c (creat): Make PATH const.
7951         * libc/syscalls/sysopen.c: Include <fcntl.h>.
7952         (open) Make _FILE const.
7953         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7954         (_creat): Make PATH const.
7955         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7956         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7957         * libc/sys/m88kbug/syscalls.c (open): Likewise.
7958         * libc/sys/sh/syscalls.c (_open): Likewise.
7959         * stub/shared/glue.c (open): Make BUF const.
7960         * stub/ex93x/syscalls.c (open): Make FILENAME const.
7961
7962 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7963
7964         * libc/include/errno.h: Add ENMFILE
7965         * libc/include/sys/config.h: Support Z8000.
7966         * libc/include/sys/signal.h: New signals for go32.
7967         * libc/machine/h8500/psi.S (__addpsir0r0): New function
7968         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7969         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7970         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7971         size is variable, depending upon CHUNK_POWER.
7972         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7973
7974 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7975
7976         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7977
7978 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7979
7980         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7981
7982 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7983
7984         * configure.in: Change i[34]86 to i[345]86.
7985
7986         * libc/include/math.h: Don't define HUGE_VAL if it is already
7987         defined.
7988
7989 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7990
7991         * testsuite/libm.sac/test_erfc.c: Correct some result values.
7992         * testsuite/libm.sac/test_gammaf.c: Likewise.
7993         * testsuite/libm.sac/test_sin.c: Likewise.
7994         * testsuite/libm.sac/test_tanh.c: Likewise.
7995
7996 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7997
7998         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7999         already set.  Define typedefs __int32_t and __uint32_t.
8000         * libc/include/math.h: Include <machine/ieeefp.h>.
8001         (union __dmath): Use __uint32_t.
8002         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
8003         instead of int and unsigned int.
8004
8005 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8006
8007         Replace the math library with the SunPRO fdlibm package.
8008         * libm/math: Completely changed all files.
8009         * libm/ieeefp: Remove contents and directory.
8010         * libm/Makefile.in (LIBM_FP_LIB): Remove.
8011         (SUBDIRS): Just set to math/lib.a.
8012         * libm/libm.texinfo: Updated for new library.
8013         * libc/include/math.h: Extensive changes for new math library.
8014         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
8015         from _FLOAT_ARG to float.
8016         (maxpowtwo, maxpowtwof): Don't declare.
8017         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
8018         (libm_fp_lib): Removed.
8019         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
8020         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
8021         argument to ${RUNTEST}.
8022         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
8023         (.c.o): New rule.
8024         (RUNTESTFLAGS): Set CC and CFLAGS.
8025         (TESTS): Remove test_log2 and test_log2f.
8026         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
8027         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
8028         _FLOAT_ARG, for single precision argument type.
8029         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
8030         expected failure.  Close the input pipe.
8031         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
8032         Correct misspelling of inaccurate.
8033         (test_mok): Use ``inaccurate'', not ``wrong''.
8034         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
8035         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
8036         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
8037         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
8038         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
8039         test_yn.c): Correct many result values.  Many are still wrong.
8040
8041         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
8042         just copy the string.
8043         (_gcvt): Always return the buffer.
8044
8045 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8046
8047         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
8048
8049 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
8050
8051         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
8052         structure.
8053         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
8054         (_reclaim_reent): declare new entry point.
8055         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8056         functions.
8057
8058         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8059         ever allocated, so that we can later reclaim them all.
8060         (pow5mult): make reentrant.
8061
8062         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8063         so that when given NULL as a buffer, return a pointer to static
8064         space in the rent structure.  This is not documented behaviour;
8065         it's only to support ecvt and fcvt, which aren't ANSI anyway.
8066         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8067         therefore become reentrant).
8068         
8069         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8070
8071 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8072
8073         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8074
8075 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
8076
8077         * Makefile.in: Make link to libg.a after libc.a; this is needed
8078           for the testsuites to build executables when everything comes
8079           from the tree.
8080
8081 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
8082
8083         * libc/Makefile.in: Add a VERSION variable so we can keep track.
8084         * libm/Makefile.in: Add a VERSION variable so we can keep track.
8085
8086 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
8087
8088         * libc/include/stdio.h: Use __VALIST, not va_list.
8089
8090 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
8091
8092         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8093         testsuite/libm.sac/execute.exp:
8094           Replace error proc calls with perror calls.
8095
8096 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
8097
8098         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8099         * libc/include/time.h: #define NULL as 0L.
8100
8101 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
8102
8103         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8104         care of it.
8105
8106 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8107
8108         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8109         not __unix__.
8110
8111 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
8112
8113         * configure.in (TARGET_CFLAGS): Set -O2 as default.
8114         (z8k-*-*): Use syscalls fake sys dir.
8115         * libc/sys/z8k/glue.c: Rename syscalls.
8116         * libc/sys/go32/Makefile.in: Use new routines.
8117         * libc/machine/Makefile.in: Fix typo in ln stuff.
8118
8119 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8120
8121         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8122         * libc/Makefile.in (crt0.o): Likewise.
8123         * libc/machine/Makefile.in (lib.a): Likewise.
8124         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8125
8126         All Makefile.in files: Added mostlyclean, realclean and distclean
8127         targets.
8128
8129         * Makefile.in: Don't bother to unexport XTRAFLAGS or
8130         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8131         the top level Makefile.
8132
8133 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
8134
8135         * libc/sys/sparc64/sys/stat.h: New file.
8136         * libc/sys/sparc64/sys/time.h: New file.
8137         * libc/sys/sparc64/sys/types.h: New file.
8138
8139 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
8140
8141         * stub/ex93x/crt0.s (start): Add code to clear bss.
8142
8143 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
8144
8145         * libc/include/sys/types.h (time_t): Properly protect inside
8146         #ifndef __time_t_defined.
8147
8148         * libc/stdio/fileno.c: New file.
8149         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8150         (fileno.o): Add dependency.
8151         * libc/include/stdio.h (__sgetc): Rename never to _never.
8152         (fileno macro): Disable, needs to do CHECK_INIT first.
8153
8154 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
8155
8156         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8157         goal.
8158
8159         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8160         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8161         runtest.
8162         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8163         runtest.
8164
8165 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
8166
8167         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8168         of the various constants.
8169
8170 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
8171
8172         * libc/include/math.h: #ifndef __math_68881 around things which
8173         conflict with the (gcc-provided) inline functions in
8174         gcc/ginclude/math-68881.h.
8175
8176 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
8177
8178         * libc/include/_syslist.h (_gettimeofday): Define.
8179         (_times): Ditto.
8180         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8181         (struct tms, timeval, timezone): Declare.
8182         (_gettimeofday_r, _times_r): Declare.
8183         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
8184         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8185         (time_t): Add multiple definition protection, __time_t_defined.
8186         * libc/include/sys/time.h: Don't #include <time.h>.
8187         Always define struct timezone (remove #ifndef _TIME_H_).
8188         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
8189         #ifdef _CLOCK_T_ surrounding definition of clock_t.
8190         * libc/reent/Makefile.in (OFILES): Add timer.o.
8191         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
8192         * libc/reent/timer.c: New file.
8193         * libc/time/clock.c: #include <reent.h>.
8194         (clock): Call _times_r instead of times.
8195         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8196         HAVE_GET_TIME_OF_DAY.
8197         Add comment regarding supporting OS routine(s) required (for docs).
8198         #include <reent.h>.
8199         (time): Call _gettimeofday_r instead of gettimeofday.
8200         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8201         * libc/time/ctime.c: Ditto.
8202         * libc/time/strftime.c: Ditto.
8203         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8204         (TEMPLATE_SFILES_R): Define here.  Also define times.
8205         Add times_r.o/times.S dependence.
8206         (time2.c, junk.c): Deleted.
8207         * libc/sys/sparc64/time2.c: Deleted.
8208         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8209
8210         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8211         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8212         * libc/sys/sparc64/junk.c: Deleted.
8213
8214 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
8215
8216         * libc/sys/sparc64/Makefile.in: Add times syscall.
8217         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8218         be used with and without it.  Add comment clarifying Medium/Anywhere
8219         model requirements.
8220         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8221         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8222         even if obsolete.
8223
8224 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
8225
8226         * configure.in (target_cflags): Move init.
8227         (sparc64-*-*): Define HAVE_BLKSIZE.
8228
8229 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
8230
8231         * libc/include/sys/_types.h: New file.
8232         * libc/include/reent.h: #include it.
8233         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8234         MISSING_SYSCALL_NAMES.
8235         Sort syscalls.
8236         * libc/include/_syslist.h: Remove _raise.
8237         * libc/reent/signalr.c: New file.
8238         * libc/reent/Makefile.in: Compile it.
8239         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8240         Add doc for raise and _raise_r.
8241         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8242         (raise): Call _raise_r.
8243         (_raise_r): Call _getpid_r and _kill_r.
8244         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8245         (abort): Loop forever calling raise and _exit.
8246
8247 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8248
8249         * configure.in: Remove extraneous echo.
8250
8251 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
8252
8253         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8254         collision with unistd.h, and fix for svr4.
8255
8256 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
8257
8258         * libc/stdio/local.h (_llicvt): Declare.
8259         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8260         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8261         (_llicvt): Define.
8262         (_sicvt): Fix function header (`value' is short).
8263         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8264         Add printing of long long's support.
8265         Add printing of 8 byte pointer support.
8266
8267 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
8268
8269         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8270         stat, chmod): New hooks. 
8271         (sbrk): Abort if stack and heap collide.
8272         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8273         shortcut when given small args.
8274         * libc/machine/sh/setjmp.s: Rewritten.
8275         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8276         of cmp/str instruction.
8277
8278 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8279
8280         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8281         and machine_dir powerpc.
8282         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8283         Add cases for __powerpc__.
8284         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8285         New files.
8286
8287         * libc/include/stdio.h (_iprintf_r): Declare correctly.
8288
8289 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
8290
8291         * libc/stdlib/callocr.c: New file with _calloc_r in it.
8292         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8293
8294 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
8295
8296         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8297         (print_e): More comments to describe args, etc.
8298         "type" arg may now be 'g' or 'G' for %g/G format --> remove
8299         trailing blanks.
8300         (_gcvt): Remove locals decpt, sign, end, p, done.
8301         More comments for print_e invocation.
8302         Pass "type" to print_e as is (g/G).
8303
8304 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
8305
8306         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8307         stock m68000. 
8308
8309 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
8310
8311         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8312         works with any sized pointer, including ones bigger than ints and
8313         longs.
8314
8315 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
8316
8317         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8318
8319 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8320
8321         * libc/include/stdlib.h (_calloc_r): Add prototype.
8322         * libc/machine/h8500/negsi2.c: New file.
8323         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8324         large unsigned numbers.
8325         * libc/machine/h8500/cmpsi.c: Add cmppsi.
8326         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8327         works when sizeof(size_t) != sizeof(char *).
8328         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8329         get play area
8330         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8331
8332 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
8333
8334         * libc/include/assert.h (assert): Handle -traditional.
8335
8336 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
8337
8338         * Makefile.in: added ; after every "fi" and "done" that wasn't at
8339         the end of a line (ie. anything before a backslash continuation)
8340         so that bash handles them.
8341
8342 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8343
8344         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8345         stat to lstat
8346
8347 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
8348
8349         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8350         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8351         libc/machine/sh/udivsi3.s: Use new calling convention.
8352
8353 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
8354
8355         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8356         chmod, access, chdir, chown by making _path const. Also fix _amode
8357         param of access.
8358
8359 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
8360
8361         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8362         _khif_tmpnam, because it doesn't comply with ANSI but may be
8363         useful anyway. Real tmpnam was already in libc/stdio, and was
8364         colliding with this one (pr 2176.) 
8365         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8366         the wrong idea anyhow.
8367
8368 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8369
8370         * configure.in: Remove h8300h, we have multilib now.
8371
8372 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
8373
8374         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8375         functions, to get preference over the ones in libiberty (since we
8376         provide correct declarations in <string.h>.
8377         * libc/string/Makefile.in: add support for strncasecmp,
8378         strcasecmp.
8379
8380 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
8381
8382         * Change netware config not to look for cpu explicitly.
8383
8384 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8385
8386         * libc/sys/sparc64/{creat.c,junk.c}: New files.
8387         * libc/sys/sparc64/Makefile.in: Add dependencies.
8388
8389 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
8390
8391         * configure.in: Clean up v9 a bit, new "os" aoutv8.
8392
8393 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
8394
8395         * libc/include/sys/reent.h: make structure smaller by allocating
8396         some stuff when needed.
8397         * libc/signal/signal.c: allocate as needed
8398         * libc/stdio/findfp.c,stdio/local.h: ditto
8399         * libc/stdlib/mprec.c: ditto
8400
8401         * libc/time/localtime.c: don't return a dangling stack ptr.
8402
8403 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8404
8405         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8406
8407 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8408
8409         * libc/include/stdio.h (__sputc): comment out static inline which
8410           confuses coff toolchains.
8411
8412 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
8413
8414         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8415         _write.s, getpid.c, kill.c, read.s}:
8416         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8417         through the syscalls directory.
8418
8419 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8420
8421         * configure.in: fixed double quote gotcha.
8422
8423 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8424
8425         * stub/ex931: stub library for sparclite board.
8426         * stub/idp: Renamed from mc68ec. Added contructor table
8427         stuff to linker script.
8428         * stub/mvme135: Renamed from m68kmvme. Added contructor table
8429         stuff to linker script.
8430
8431 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8432
8433         * configure.in: Configure testsuites only if they exist.
8434
8435 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8436
8437         * configure.in: Don't set machine_dir for i386 until there is
8438         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
8439         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8440         CLOCK_PROVIDED and MALLOC_PROVIDED.
8441
8442         * libc/sys/netware: New directory.  Contains simplistic and
8443         probably incorrect stubs for NetWare.  Should be enough to load
8444         the library.
8445         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8446         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8447         stub files.
8448
8449         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8450         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8451         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8452         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8453
8454 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8455
8456         * testsuite/Makefile.in: add "docs" dummy target for consistency
8457         with rest of newlib; turn "info" and "install-info" into dummy
8458         targets, since they wouldn't have worked.  (Depended on
8459         nonexistent "doc" subdir.)
8460
8461 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8462
8463         * configure.in: handle mips* instead of mips
8464
8465 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8466
8467         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8468         a version of libc/sys/*/sys/dirent.h, it includes the next
8469         <dirent.h> file in case there is one lurking somewhere.
8470
8471 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8472
8473         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8474         compliance, namely: Accept a minus sign.  Consider a single 0 with
8475         a radix of 0 as being a conversion.  Determine overflow correctly.
8476         If an overflow occurs, set *ptr to the end of the number, not the
8477         middle.
8478         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8479
8480 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8481
8482         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8483
8484 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8485
8486         * Makefile.in (INSTALL): Use $srcrootpre.
8487         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8488         can't handle it.
8489         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8490         it.
8491         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8492         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8493         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8494         * libm/math/Makefile.in (matherr.o): Ditto.
8495
8496 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8497
8498         * configure.in: Build multidirs for z8k.
8499         * libc/include/stdlib.h (_strtoul_r): add prototype.
8500         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8501         * libc/include/machine/setjmp.h: Add for z8k.
8502         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8503         * libc/sys/z8ksim/glue.c: tidy up.
8504
8505 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8506
8507         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8508         New files.  Requires execve system call.
8509         * libc/unix/Makefile.in: Use them.
8510         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8511         Deleted, moved to libc/unix.
8512         * libc/sys/sparc64/Makefile.in: Remove them.
8513
8514 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8515
8516         * libc/sys/sparc64/{template.S template_r.S}: New files.
8517         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8518         from templates.
8519         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8520         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8521         umask.S unlink.S wait4.S write.S}: Removed, now built from
8522         templates.
8523
8524 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8525
8526         * libc/time/time.c: #include <_ansi.h>.
8527
8528 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8529
8530         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8531
8532 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8533
8534         * configure.in: match m8* rather than m88k so that m88110 is
8535           recognized as well.
8536
8537 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8538
8539         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8540         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8541         misc.c: New file.
8542
8543         * configure.in: Add multilib support to h8300.
8544
8545 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8546
8547         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8548         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8549         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8550
8551 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8552
8553         * configure.in: Corrected multidirs for sparc target.
8554
8555 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8556
8557         Support for building newlib multiple times with different
8558         compilation flags.
8559         * configure.in: Only configure doc at top level.  Set multidirs
8560         when appropriate for target, unless not at top level.  If
8561         multidirs is set, independently configure each subdirectory.
8562         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8563         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8564         automagically set by configure.in.
8565         (all): If MULTIDIRS is set, build multiple copies of libraries.
8566         (install): If MULTIDIRS is set, install multiple copies of
8567         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8568         MULTISUBDIR is set, don't bother to install header files.
8569         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8570         ${srcrootpre}.
8571         * stub/configure.in: Set MULTISUBDIR appropriately.
8572         * stub/Makefile.in (install): Install in
8573         $(tooldir)/lib/$(MULTISUBDIR).
8574         * All Makefile.in files: Define SRCTOP as well as TOP.
8575
8576 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
8577
8578         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8579         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8580
8581 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8582
8583         * libc/sys/h8300hms/exit.c (_exit): New function.
8584
8585 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8586
8587         * configure.in: recognize m88110.
8588
8589 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8590
8591         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8592           prototype main and call with args.
8593
8594 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
8595
8596         First real try at system traps for m88k-bug.
8597         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
8598           to real trap calls.
8599         * libc/sys/m88kbug/sys/systraps.h: new file.
8600
8601 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8602
8603         Patches to fix info building when target does not use sys
8604         directory.
8605         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8606         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8607           libc/sys.tex.
8608         * libc/sys/Makefile.in (doc): do nothing.
8609
8610 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8611
8612         * libc/Makefile.in (CRT0): new macro.
8613           (all): depend on $(CRT0) rather than crt0.o.
8614
8615         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8616           do not default crt0, instead, set crt0 and crt0_dir based on
8617           sys_dir and stub_dir.
8618
8619         * Makefile.in (CRT0_DIR): new macro.
8620           (all): depend on $(CRT0) rather than crt0.o which may not exist.
8621           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8622           $(CRT0).
8623           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8624
8625 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8626
8627         * testsuite/lib/libm.exp: 
8628                 added code to support compiling and linking of tests for 
8629                 libm.sac (paranoia to be added next) and processing the 
8630                 pass or failure of the tests.
8631
8632         * testsuite/config/unix-libm.exp:
8633                 platform specific proc's for dealing with compiler, linker
8634                 and the way we execute and process the test results.
8635
8636         * testsuite/libm.sac/execute.exp:
8637                 generic framework for the sac tests. the config and lib 
8638                 expect code for specific platforms tie it all together.
8639
8640         * testsuite/libm.sac/test_is.c:
8641                 changed the output of the test to be consistant with the
8642                 other tests. parsing of pass nad fail messages is now fixed.
8643
8644 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
8645
8646         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8647         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8648         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8649         #ifdef __cplusplus, surround by extern ""C { ... }.
8650         * libc/include/assert.h:  Do *not* protect assert.h against
8651         multiple inclusion!  Also, #undef it before #define, to allow
8652         redefinition.
8653         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
8654         should be only in unistd.h.
8655
8656         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8657         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8658         ... }.
8659
8660 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
8661
8662         * libc/machine/sparc/Makefile.in: Must create a library, even
8663         if empty.
8664
8665 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8666
8667         * configure.in: set machine_dir for m88k.  edit crt0 definition
8668           into makefiles.
8669
8670         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8671
8672         * libc/Makefile.in (all): also build crt0.o.
8673
8674         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8675           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8676           to remove CRT0.
8677
8678         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8679           (all): reworked to build in place.
8680           (clean): remove lib.a
8681           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8682
8683         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8684           (_start): key off edata rather than _start_bss.
8685
8686 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
8687
8688         * libc/include/sys/unistd.h, libc/include/reent.h,
8689         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8690
8691 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8692
8693         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8694
8695         * Makefile.in (libc.a): break into two rules, one for libc.a and
8696           one for libc/libc.a.  Force subdirs current before rebuilding
8697           library.
8698           (libm.a): break into two rules, one for libm.a and one for
8699           libm/libm.a.  Force subdirs current before rebuilding library.
8700
8701         * libc/Makefile.in (SUBLIBS): fix typo.
8702
8703         * libc/sys/Makefile.in (all): force descent into subdirs, then
8704           rebuild library iff out of of date.
8705
8706 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8707
8708         Rework so that library is built and then finished rather than
8709         being built on each invocation of make.
8710
8711         * host/any (machine_dir, sys_dir, signal_dir): these are not
8712           shared and have been moved to their associated Makefile.in's.
8713           (AR_FLAGS): switch to qc which is faster.
8714         * configure.in: no longer assign machine_dir for m88k.  set
8715           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
8716           stub_dir set, then add to configdirs.  add comment about silly
8717           configuration.
8718           (configdirs): drop stub.  It will be added only
8719           when needed.
8720           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8721           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8722           stub_lib, crt0): new variables for tailoring lower level
8723           makefiles.  Assign accordingly and edit into makefiles.
8724         * libm/Makefile.in: updated copyright.
8725           (TARGETLIB): removed.
8726           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8727           (SUBDIRS): removed TARGETDEP_DIRS.
8728           (LIBM_FP_LIB, SUBLIBS): new macros.
8729           (all): reworked.
8730           (force): new target to force rebuilds.
8731           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8732         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8733           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8734           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8735           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8736           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8737           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8738           stub/m68kmvme/Makefile.in: updated copyright.
8739           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8740           (all): reworked.  made this the default rule.
8741           (clean): also remove lib.a.
8742           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8743         * stub/Makefile.in: updated copyright.
8744           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8745           (stub_lib): new macro.
8746           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
8747           RANLIB.
8748           (all): reworked.
8749           (clean, install): assume stub_dir exists.
8750           (Makefile): depend on configure.in.  call $(SHELL) rather than
8751           sh.  drop redundant ./
8752         * stub/configure.in (stublib): new macro, assign it, edit it into
8753           makefiles.
8754         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8755           updated copyright.
8756           (all): reworked.
8757           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8758         * libc/Makefile.in (TARGETCRT0): removed.
8759           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8760           TARGETCRT0.
8761           (SUBDIRS): drop TARGETDEP_DIRS.
8762           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8763           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8764           (force): new target to force rebuilds.
8765         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8766           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8767           removed.
8768           (clean): assume sys_dir always exists.
8769         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8770           drop redundant ./
8771         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8772           libc/locale/Makefile.in, libc/machine/Makefile.in,
8773           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8774           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8775           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8776           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8777           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8778           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8779           libc/signal/Makefile.in, libc/stdio/Makefile.in,
8780           libc/stdlib/Makefile.in, libc/string/Makefile.in,
8781           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8782           libc/time/Makefile.in, libc/unix/Makefile.in,
8783           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8784           (TARGETLIB): removed.
8785           (all): reworked.
8786           (clean): also remove lib.a.
8787           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8788         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8789           new macros.
8790           (SUBDIRS): moved to follow frag inclusion, change stub to
8791           stub_dir.
8792           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8793           are now set in the libc Makefile.
8794         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8795           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8796           TARGETCRT0.
8797           (force): new target to force rebuilds.
8798         * stub/configure.in: determine and set stub_lib for for Makefile.
8799
8800 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
8801
8802         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8803         crt0.s renamed to crt0.S.
8804         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8805
8806         * libc/machine/h8300/Makefile.in: Make `all' the default target.
8807         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8808         h8300h.
8809         * libc/machine/h8300/defines.h: Add macros to handle pointers for
8810         h8300 (16 bits) and h8300h (32 bits).
8811         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8812         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8813
8814 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
8815
8816         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8817         implementation of setjmp and longjmp for the m88k.
8818         * libc/include/machine/setjmp.h: Added __m88000__ case.
8819
8820 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
8821
8822         * configure.in: Recognize h8300h as variant of h8300.
8823
8824 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8825
8826         * libc/include/sys/unistd.h (read, write): get prototypes right.
8827         (sbrk): New prototype.
8828         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8829         * libc/stdio/local.h: Include unistd.h.
8830         * libc/machine/h8300/syscalls.c: Names have changed.
8831
8832 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
8833
8834         * configure.in: add sys_dir assignment for m88k-bug.
8835
8836 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8837
8838         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8839         a.out or elf.
8840         * libc/sys/sparc64: all *.S files: Use new macros.
8841         * libc/sys/sparc64/isatty.c: New file.
8842         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8843         functions beyond what newlib provides.
8844
8845 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
8846
8847         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8848         svr4.
8849
8850 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8851
8852         * libc/include/machine/ieeefp.h: Add support for h8/300h.
8853
8854 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
8855
8856         * configure.in: add m88k.
8857         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
8858         sanity check so no one else need ever chase what I did to find
8859         this.
8860
8861         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8862
8863 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8864
8865         * doc/makedoc.c: Include <ctype.h>.
8866
8867 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8868
8869         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8870         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8871         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8872
8873         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8874
8875 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
8876
8877         * libc/include/errno.h (ENOSYS): Added.
8878
8879         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8880
8881 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8882
8883         * libc/stdio/fflush.c (fflush): Check for reent struct
8884         initialization.
8885         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8886
8887 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
8888
8889         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8890         out of dtoa.c so it doesn't pollute the namespace.
8891         * libc/include/_syslist.h: new file -- mappings from _function to
8892         function, for systems where we can't win (by default, all of them,
8893         until we start updating system calls.)
8894         * libc/syscalls: new directory -- stubs for exporting _function
8895         names as unmodified function names.
8896         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8897         _syslist.h on all platforms by default, but put hooks in for
8898         fake_sys_dir so we can include it when we've renamed the system
8899         calls.
8900         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8901         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8902         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8903         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8904         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8905         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8906         non ANSI functions to call _function.
8907
8908 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8909
8910         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8911         when base 16 is specified.  Don't accept non-digits if radix > 10.
8912
8913 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
8914
8915         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8916
8917 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
8918
8919         * libc/include/sys/stat.h: Surround text after #endif with
8920         comments.
8921
8922 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8923
8924         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8925         _malloc_r, _realloc_r, and free_r call the corresponding
8926         non-reentrant functions.
8927
8928         * libm/math/modf.c (modf): We now take the address of ipart, so
8929         don't make it a register variable.
8930
8931 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
8932
8933         * libm/math/*: Rename all xxx_r fns to _xxx_r.
8934
8935 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
8936
8937         * libc/libc.texinfo and embedded docn throughout: formatting
8938         improvements, minor rephrasing for clarity, and improved
8939         reentrancy docn.
8940
8941 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8942
8943         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8944
8945         * libc/stdio/cvt.c (_licvt): Print the right value on machines
8946         where sizeof(int) != sizeof(long).
8947
8948 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8949
8950         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8951         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8952         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8953         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8954         libm/math/matherr.c: changes for better docn formatting (info).
8955
8956         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8957         libc/reent/reent.tex, libc/signal/signal.tex,
8958         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8959         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8960         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8961         makeinfo node defaulting to get better Info file node structure.
8962         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8963         Also include a few formerly missing sections (subroutines).
8964
8965         * doc/doc.str: delete fossil expansion for "func"
8966
8967         * default.menu, no-signal.menu: delete.
8968
8969         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8970         method used to adjust doc for missing "signals" chapter when 
8971         signal_dir is empty.
8972
8973 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8974
8975         * configure.in: added testsuite/libm.sac
8976
8977 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
8978
8979         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8980         code model).
8981
8982 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8983
8984         * libm/Makefile.in: Use $(MAKE) rather than make, and define
8985         MAKEOVERRIDES to be empty.
8986
8987 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
8988
8989         * configure.in: Don't build mips-*-* with -msoft-float, since that
8990         makes it incompatible with hard floating point.
8991
8992 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8993
8994         * Makefile.in: added recursive 'make check'
8995
8996 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8997
8998         * configure.in: added ./testsuite ./testsuite/libm.paranoia
8999         * ./testsuite/Makefile.in: created
9000         * ./testsuite/libm.paranoia: paranoia tests added
9001
9002 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
9003
9004         * configure.in: For mips-*-* set machine_dir to mips.
9005
9006         * libc/machine/mips: New directory.
9007         * libc/machine/mips/Makefile.in: New file.
9008         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
9009         setjmp and longjmp.
9010         * libc/include/machine/setjmp.h: Added __mips__ case.
9011
9012         * libc/machine/lmips: Removed unused and useless directory.
9013
9014 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
9015
9016         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
9017
9018 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
9019
9020         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
9021         start up).
9022
9023 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
9024
9025         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
9026         SETJMP_H.
9027
9028 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
9029
9030         * libm/test/convert.c: structure member errno -> errno_val.
9031         Must include <errno.h> to use errno, it's a macro now.
9032         * libm/test/math.c: Ditto.
9033         * libm/test/math2.c: Include errno.h.
9034         * libm/test/string.c: Ditto.
9035         * libm/test/test.h: structure member errno -> errno_val.
9036         Remove extern int errno decl.
9037
9038 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
9039
9040         * libc/stdio/Makefile.in: Added dependencies on local header
9041         files.
9042         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
9043         files.
9044
9045 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
9046
9047         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
9048
9049 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9050
9051         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
9052         Initialize _data.
9053
9054         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
9055         * libc/stdio/local.h: Add prototype for _licvt.
9056
9057         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9058         instead of malloc,reealloc.
9059
9060         * libc/stdlib/local.h: New file.
9061         * libc/stdlib/efgcvt.c: #include local.h.
9062         (gcvt): Fix call to _gcvt.
9063         * libc/stdlib/ecvtbuf.c: #include local.h.
9064
9065         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9066         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9067         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9068
9069         * libc/stdlib/atexit.c: moved global data to struct _reent.
9070         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9071
9072         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9073
9074 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
9075
9076         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9077         here from ../reent.h.
9078
9079 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
9080
9081         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9082         should be provided in both libc.a and libm.a.
9083         (libc.a): Depend on targ-include and libm.a.  Copy
9084         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9085         (libm.a): Depend on targ-include.
9086         * configure.in (subdirs): Removed libc/math.
9087
9088 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9089
9090         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9091
9092 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
9093
9094         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9095         sys/reent.h instead of reent.h.
9096         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9097         headers moved to sys/reent.h.  
9098         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9099         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9100         __need__MAX_SIGNALS defined.
9101         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9102         std{in,out,err} refer to new _std{in,out,err} members.
9103
9104 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
9105
9106         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9107         case.
9108
9109 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
9110
9111         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9112         rather than whatever macro seterrno() has.
9113
9114 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
9115
9116         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9117         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9118
9119         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9120         __STDC__.
9121
9122         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9123         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9124         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9125
9126         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9127         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
9128
9129         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9130         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9131         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9132         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9133         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9134         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9135         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9136         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
9137         for ANSI.  structure members given leading "_" for ANSI.  Use
9138         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9139
9140         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9141         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9142         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
9143         reent_struct renamed to struct _reent for ANSI.
9144         Structure members given leading "_" for ANSI.
9145         _CONST --> const in prototypes.
9146         Use _HAVE_STDC instead of __STDC__.
9147
9148         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9149         _xxx_r.
9150         struct reent_struct renamed to struct _reent for ANSI.
9151         Structure members given leading "_" for ANSI.
9152
9153         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9154         _xxx_r.
9155         struct reent_struct renamed to struct _reent for ANSI.
9156
9157         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9158         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9159         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9160         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9161         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9162
9163         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9164         signal.h, stdio.h, stdlib.h, string.h, time.h}:
9165         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9166         #ifndef _STRICT_ANSI non-ANSI routines.
9167         Reentrant routines renamed from _r_xxx to _xxx_r.
9168         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9169         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9170         Clean up namespace (structure members have leading "_").
9171         struct reent_struct renamed to struct _reent for ANSI compliance.
9172         _CONST --> const in function prototypes.
9173
9174         * libc/include/string.h: Add NULL and size_t.
9175
9176         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9177         unlink, wait, wait4. Reentrant syscall routines close, fork,
9178         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9179         write.
9180         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9181         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9182         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9183         write.S}: Define reentrant versions.
9184         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9185         reentrant syscalls.
9186
9187         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9188
9189         * libc/include/stdlib.h (RAND_MAX): Fix value.
9190
9191 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
9192
9193         * libc/sys/a29khif/_main.c: Removed unnecessary file.
9194         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9195         VPATH support targets after all: target.
9196
9197         * stub/mvme135/mvme.S: Renamed exceptionhandler to
9198         exceptionHandler, which is what mvme135-stub.c expects.
9199
9200 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
9201
9202         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9203
9204         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9205         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9206         compliant).
9207
9208 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
9209
9210         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9211         first.
9212         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9213         _r_write): Ditto.
9214         libc/reent/fstatr.c (_r_fstat): Ditto.
9215         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9216         libc/reent/sbrkr.c (_r_sbrk): Ditto.
9217         libc/reent/statr.c (_r_stat): Ditto.
9218
9219         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9220         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9221         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9222         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9223         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9224         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9225         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9226         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9227         (__swrite): Ditto for _r_lseek, _r_write.
9228         (__sseek): Ditto for _r_lseek.
9229         (__close): Ditto for _r_close.
9230         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9231
9232         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9233         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9234
9235         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9236         to make reent_struct the first argument (and thus consistent with
9237         the rest of newlib).
9238
9239         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9240         reference to __STDC__.
9241
9242 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
9243
9244         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9245         global __cleanup.
9246
9247 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
9248
9249         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9250         first.
9251         libc/stdio/fclose.c (fclose): Ditto.
9252
9253 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
9254
9255         * Run through indent and rename reentrant routines for ANSI.
9256         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9257         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9258         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9259         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9260         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9261         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9262         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9263         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9264         vsprintf.c wbuf.c wsetup.c local.h}
9265
9266         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9267
9268         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9269         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9270         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9271         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9272         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9273         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9274
9275         * Run through indent.
9276         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9277         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9278         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9279         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9280         strxfrm.c}
9281
9282         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9283         localtime.c mktime.c strftime.c time.c}:
9284         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9285
9286         * Reformatting + renaming (for ANSI, GNU style, consistency).
9287         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9288         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9289         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9290
9291 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
9292
9293         * libc/include/stdio.h (stdin_r): Fix.
9294
9295 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
9296
9297         * Makefile.in: Unexport some variables to keep GNU make from
9298         putting them in the environment and using up needed ARG_MAX space
9299         (a hack is used to let this work with older makes as well).
9300
9301 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
9302
9303         * Makefile.in: Use $(MAKE) rather than make.
9304         (MAKEOVERRIDES): Define to be empty.
9305         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9306         (libc.a, libm.a): Depend on targ-include.
9307         * host/any (LD): Don't define.
9308         (INCLUDES): Use targ-include.   
9309         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9310         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9311         * libc/Makefile.in: Use $(MAKE) rather than make.
9312         (MAKEOVERRIDES): Define to be empty.
9313         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9314         (all): Rewrote to be slightly smaller.
9315         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9316         Define to be empty.
9317         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9318         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9319
9320 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
9321
9322         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9323         with errno/errno.c.
9324
9325 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
9326
9327         * Changes for reentrancy.
9328         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9329         Use ptr->_errno, not errno.
9330         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9331         libc/stdio/remove.c (remove_r): New function.
9332         libc/stdio/rename.c (rename_r): New function.
9333         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9334         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9335         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9336         reentrant versions of system calls.
9337         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9338         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9339         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9340         libc/stdio/findfp.c: Include <string.h>.
9341         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9342         "local.h".
9343         libc/stdio/wbuf.c: Include "fvwrite.h"
9344
9345         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9346         <string.h>.
9347         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9348         (NULL): Don't define if already defined.
9349         libc/stdlib/system.c: Call reentrant versions of system calls.
9350         (system_r): New function.
9351
9352         * Changes for reentrancy.
9353         libc/include/_ansi.h (_PARAMS): New macro.
9354         libc/include/errno.h: Define errno as a macro that calls __errno.
9355         (__errno_r): New macro for reentrant code.
9356         libc/include/math.h: Include reent.h.  Declare many reentrant
9357         functions.
9358         (signgam): Now a macro, not a variable.
9359         (struct exception): Added err field.
9360         libc/include/reent.h: Don't declare __sglue.  Added function
9361         declarations.
9362         (struct reent_struct): Moved errno to beginning.  Added _signgam.
9363         libc/include/stdio.h, libc/include/stdlib.h: Added function
9364         declarations.
9365
9366         * More reentrancy hacking.
9367         libc/errno/errno.c (__errno): New function.
9368         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9369         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9370         files.
9371         
9372         * Added many new reentrant functions to libm/math/*.
9373         libm/math/error.c (__matherror): Added reent_struct pointer
9374         argument. Changed all callers.
9375         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9376         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9377         libm/math/tan.h: Removed obsolete unused header files.
9378
9379         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9380
9381         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9382
9383 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9384
9385         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9386         delay slots.
9387
9388 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9389
9390         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
9391
9392 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9393
9394         * libc/reent/reent.tex:  New file.  (text from
9395         newlib/libc/libc.texinfo)
9396         * libc/stdio/tmpnam.c:  fixed doc typo
9397         * libc/stdlib/rand.c:   fixed doc typo
9398
9399 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9400
9401         * libc/reent/reent.tex:  New file.  (text from
9402         newlib/libc/libc.texinfo)
9403
9404 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9405
9406         support for reentrancy
9407         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9408         new files
9409         * libc/errno/errno.c, libc/include/ieeefp.h,
9410         libc/include/locale.h, libc/include/reent.h,
9411         libc/include/signal.h, libc/include/stdio.h,
9412         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9413         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9414         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9415         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9416         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9417         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9418         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9419         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9420         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9421         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9422         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9423         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9424         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9425         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9426         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9427         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9428         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9429         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9430         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9431         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9432         libc/time/strftime.c: modify to provide reentracy.
9433
9434         new routines:
9435         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9436         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9437         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9438         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9439         mstats_r, realloc_r, localeconv_r, setlocale_r
9440
9441 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
9442
9443         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9444         libc/include/sys/config.h, libc/include/sys/signal.h,
9445         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9446         provided macros (such as m68000), use the ansi version
9447         (__m68000__) so that the library can be used with code compiled
9448         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9449         and sparc.
9450
9451 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9452
9453         * configure.in (sparc*): Don't set -fsoft-float for sparc
9454         configurations.  Do set -fsoft-float for sparclite configurations.
9455
9456 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9457
9458         * default.menu, no-signal.menu: alternate forms of libc main menu
9459           (in newlib rather than newlib/libc due to configuration restrictions)
9460
9461         * configure.in: select one of the two menus above, link to
9462         libc.menu
9463
9464         * libc/libc.texinfo: include menu from separate file
9465
9466 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9467
9468         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9469         (info): Split long shell command in half.
9470         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9471         sub-makes, just CHEW and TARGETDOC. 
9472         (targetdep.tex): Removed now special handling of sys and machine
9473         subdirectories, made obsolete some time ago.
9474         * libc/machine/Makefile.in (doc): Don't pass everything to
9475         sub-make, just CHEW and TARGETDOC.
9476         (Makefile): New target.
9477         * libc/sys/Makefile.in (Makefile): New target.
9478
9479 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9480
9481         * Makefile.in (here and most subdirectories): Only pass down CHEW
9482         and TARGETDOC when making info, not for other targets.
9483
9484         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9485         $(AR_FLAGS) rather than $(ARUPDATE).
9486
9487 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9488
9489         * Try to reduce command line length:
9490         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9491         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9492         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9493         (info): Pass CHEW to other subdirs.
9494
9495 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9496
9497         * configure.in: add signal_dir, like unix_dir, but by default it
9498         is set to "signal" so that a29khif can turn it off (since a29khif
9499         has raise() as part of machine-specific signal.s.)
9500
9501 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9502
9503         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9504         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9505         correctly.
9506         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9507         libc/stdio/vfprintf: type lint.
9508         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9509         initialzation code.
9510         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9511
9512 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9513
9514         * stub/mvme135/mvme135-asm.S: new file.
9515         stub/mvme135mvme135-stub.c: moved all assembler routines into
9516         mvme135-asm.S.
9517         stub/mvme135/Makefile.in: build mvme135-stub.o.
9518
9519 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9520
9521         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9522         sub-Makefiles instead, to try to avoid line length limitations.
9523
9524 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9525
9526         * libc/include/unistd.h (read, write):  Use void* instead of
9527         char*.
9528
9529 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9530
9531         * stub/go32/resetpc: sample script to send a reset packet to the
9532         stub
9533
9534         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9535         DOS environment, which compiles with Turbo C.
9536
9537         * stub/go32/DSER32.LNK: new file, linker commands for serial
9538         remote stub.
9539
9540         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9541         start up message to identify version; call set_debug_traps.
9542
9543         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9544         keyboard interaction); call handle_exception() in go_til_stop,
9545         rather than return, so that the remote stub gets control.
9546
9547         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9548         rename, rather than mv), set flags that work with current Turbo C,
9549         including using the /3 flag; also, add commands to build dser32.
9550
9551         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9552         default Turbo C installation (\tc rather than \usr)
9553
9554         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9555         "&..."
9556
9557 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9558
9559         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9560
9561 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9562
9563         * libc/stdio/cvt.c (licvt): new function to convert ints when
9564         sizeof(int) != sizeof(long).
9565
9566         * libc/include/stdio.h: added prototype for iprintf.
9567         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9568
9569 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9570
9571         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9572         __REGISTER_PREFIX__.
9573
9574 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9575
9576         * libc/sys/m68kbare: moved into stub directory.
9577
9578 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9579
9580         * configure.in, Makefile.in: created new directory stub, to hold
9581         sample code for specific targets.
9582
9583 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
9584
9585         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9586         in the unified libc/include/sys/fcntl.h.
9587
9588 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
9589
9590         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9591         printed .01, not 0.01.
9592
9593 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
9594
9595         * configure.in: compile with -m68000 for m68* targets.
9596
9597 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
9598
9599         * libm/math/remainder.c (remainder): document the svr4 and sunos
9600         references used to construct the function.
9601
9602 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
9603
9604         * libm/math/remainder.c (rint, remainder): fix old typos.
9605         * libm/math/Makefile.in: actually build remainder.c (functions
9606         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9607         page.)
9608
9609 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
9610
9611         * libc/string/bcopy.c: BSD version works on overlapping strings,
9612         so ours should too.
9613
9614         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9615         ("SHELL").
9616
9617 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
9618
9619         * Makefile.in (docs): new target.
9620
9621 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
9622
9623         * libc/include/sys/times.h: define clock_t as required by POSIX.
9624         libc/include/time.h: protect clock_t from multiple definitions.
9625
9626 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9627
9628         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9629         does not need more than the original three iterations to get
9630         within 1 ulp. (Paranoia tests for rounding to better than that,
9631         but further iterations *don't* help, only more subtle changes
9632         can.)
9633
9634 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9635
9636         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9637         were doing nothing useful.
9638
9639 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9640
9641         * configure.in: define MALLOC_PROVIDED for vxworks targets;
9642         removed sys_dir settings of vxworks68 and vxworks960.
9643         host/any: don't pass -nostdinc to gcc, since newlib no longer
9644         provides all required header files.
9645
9646         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9647         is not defined; this provides a hook for VxWorks.
9648
9649 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9650
9651         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9652         buffer if buf is NULL, don't do it here -- it is already being
9653         done by makebuf elsewhere in stdio.
9654
9655 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9656
9657         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9658         that C programs can call functions without using initial
9659         underscores.
9660
9661 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
9662
9663         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9664
9665 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
9666
9667         * configure.in: set TARGET_CFLAGS for certain CPU types to
9668         -msoft-float.
9669
9670 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9671
9672         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9673
9674 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9675
9676         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9677         m68k*-unknown-coff.
9678
9679 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
9680
9681         * libc/include/stdio.h: define __need___va_list before including
9682         <stdarg.h>, to avoid defining va_arg, et. al.
9683
9684 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
9685
9686         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9687         (don't cd to the user's home directory).
9688
9689         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9690         In general this is the wrong thing to do, but I can't get around
9691         GNU make's insistence on passing command line arguments any other
9692         way.
9693
9694 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9695
9696         * configure.in: always configure the libc/sys directory, since it
9697         now provides a required documentation file.
9698
9699         * Makefile.in: replaced all instances of $(MAKE) with make.  In
9700         general this is the wrong thing to do, but I can't get around GNU
9701         make's insistence on passing command line arguments any other way.
9702
9703 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
9704
9705         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9706         terminated.
9707
9708         * libc/stdio/local.h: include <stdarg.h> to define va_list.
9709         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9710
9711         * libc/include/float.h, libc/include/stdarg.h,
9712         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9713         versions instead.
9714         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9715         <stdarg.h>, not from <machine/types.h>.  Protect definition of
9716         NULL.
9717         libc/include/time.h: get size_t from stddef.h.  Protect definition
9718         of NULL.
9719         libc/include/machine/limits.h: override gcc <limits.h> by defining
9720         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
9721         get correct INT_MIN and LONG_LONG values.
9722         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9723         size_t or va_list at all; they're now gotten from stddef.h
9724         instead.
9725         libc/include/machine/varargs.h: removed; use gcc version instead.
9726         libc/include/sys/types.h: explicitly include <machine/types.h>.
9727
9728         * libm/math/sqrt.h: using the fp-bit routines appears to require
9729         more iterations.
9730
9731         * Makefile.in, host/any: let system include files override machine
9732         include files.
9733
9734 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9735
9736         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9737         override _*_T_ definitions defaulted here.
9738
9739 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
9740
9741         * Makefile.in (install): install the include files in
9742         $(tooldir)/include, not $(exec_prefix)/include.
9743
9744 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9745
9746         * Makefile.in (install): fixed typo, and changed install to not
9747         force rebuild of libc.a and libm.a.
9748
9749 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
9750
9751         * libc/sys/a29khif/*: Changed all .include's to include
9752         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
9753         that they will be installed for the user.
9754
9755         * Makefile.in (all): create targ-include, a directory holding the
9756         machine and system specific header files during the build.
9757         (install): fixed installation of machine and system specific
9758         header files.
9759
9760         * Makefile.in: fixed comment.
9761         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9762         we can pass $(INCLUDES) to it.
9763
9764 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9765
9766         * libc/include/sys/param.h: new generic file, which may be
9767         overridden for specific systems.
9768
9769         * libc/include/sys/signal.h: define all ANSI signal names, and
9770         NSIG (which is not ANSI) for a29k.
9771
9772 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
9773
9774         * Makefile.in: don't pass down arguments the lower level makes
9775         will not need.
9776         * libc/Makefile.in: recurse directly, rather than using subdir_do,
9777         in hopes of avoiding argument length limits.
9778         * libm/Makefile.in: recurse directly, rather using subdir_do, in
9779         hopes of avoiding argument length limits.
9780
9781 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
9782
9783         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9784         mode_t is defined.
9785
9786 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9787
9788         * Fixed make info and make install-info for newlib, changing most
9789         Makefile.in and several *.tex files.  Moved doc directory from
9790         libc to top level.
9791
9792         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9793         Should be rewritten.
9794
9795         * libc/string/strings.tex: renamed node index to node index
9796         function, so that it does not conflict with the top level index
9797         node.
9798
9799         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9800
9801 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9802
9803         * Overhauled general configuration for newlib.  Eliminated all
9804         target dependent Makefile fragments.  Create libraries in newlib
9805         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
9806         than CROSS_CC, et. al.  Broke make docs; will fix later.
9807
9808         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9809         Should be rewritten.
9810
9811 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9812
9813         * libc/configure.in: cleaned up somewhat; switch on ${target}
9814         rather than ${target_alias}.
9815         * libm/configure.in: cleaned up somewhat; switch on ${target}
9816         rather than ${target_alias}.
9817
9818         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9819         * libc/include/ctype.h: marked _ctype_ as _CONST.
9820
9821         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9822         _CONST.
9823
9824         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9825         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9826         libc/stdio/gets.c (gets): removed non-ANSI warning message.
9827         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9828
9829         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9830         bigtens, tinytens): marked arrays _CONST.
9831         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9832         rather than a static variable.
9833
9834         * libc/time/asctime.c (asctime), libc/time/localtime.c
9835         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9836         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9837         mname_len, mname): Marked static arrays _CONST.
9838
9839         * libm/math/gamma.h: made local variables non-static.
9840
9841         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9842         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9843         _CONST.
9844
9845         * libm/math/constants.c: removed file, because the constants it
9846         defined were never referenced.
9847         libm/math/Makefile.in: removed references to constants.c.
9848         libm/math/mathimpl.h: removed declarations of constants.
9849
9850 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9851
9852         * libc/include/machine/varargs.h: only call __builtin_saveregs if
9853         it is sensibly defined in libgcc2.  Checks preprocessor defines,
9854         which is not a good solution.
9855
9856         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9857
9858         * libm/frexp.c: handle denormalized numbers as arguments.
9859
9860         * libm/math/Makefile.in: added some dependencies for .c files
9861         which include local .h files.
9862
9863 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
9864
9865         * libc/configure.in: set target_alias for OSE*.  Replace
9866         target_makefile_frag if it is blank.
9867
9868         * libc/Makefile.in: make sure everything is passed to subsidiary
9869         makes; create all directories when installing.
9870
9871         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9872         CROSS_ARUPDATE instead of AR.
9873
9874         * libm/configure.in: set target_alias for OSE*.  Replace
9875         target_makefile_frag if it is blank.
9876
9877         * libm/Makefile.in: make sure everything is passed to subsidiary
9878         makes; create all directories when installing.
9879
9880 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
9881
9882         * add following change from libc copy.
9883
9884 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9885
9886         * libc/libc.texinfo: make copyright disclaimers appear on back of
9887         title page; make format of same slightly less ugly; avoid using
9888         underbars in section headings (avoids nasty texinfo bug in table
9889         of contents).
9890
9891         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9892           comments only) avoid using underbars in section headings
9893
9894         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9895           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9896           changes in comments only): shorten headings ieeefp/infinity.c,
9897           ieeefp/isnan.c: (doc, comments only) more informative headings
9898
9899         * libc/math/bessel.c: (doc, comments only) shorten heading
9900
9901         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9902         (doc, comments only) shorten headings
9903
9904         * libc/time/localtime.c (doc, comments only): shorten headings
9905
9906         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9907           isnan
9908           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9909           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9910           headings
9911           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9912           only) more informative headings
9913         * libm/math/bessel.c: (doc, comments only) shorten heading
9914
9915 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9916
9917         * .../Makefile.in: use CROSS_ARUPDATE consistently.
9918         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9919         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9920         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9921         defined, the one from the .mt file will be correct.
9922         * libc/include/machine, libc/include/sys: created, and populated
9923         with common files from machine/*/machine. ifdefs were used for
9924         most, typically by handling exceptions first and then filling in
9925         defaults. Files with D.J. Delorie copyright #included rather than
9926         copied. Most files in include/sys really were the same in the
9927         original.
9928         * libc/include/...: cleaned up use of _EXFUN.
9929         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9930         it with double quotes, not angles.
9931
9932 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
9933
9934         * libc/Makefile.in: always create installation directories.
9935
9936 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9937
9938         * libc/configure.in: handle host properly (using canonical
9939         triples), better error message for the case of target not found
9940
9941 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
9942
9943         * libc/Makefile.in (insincdir): Ensure this directory exists
9944         before attempting installation.
9945
9946 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9947
9948         * libc/stdlib/assert.c: now calls abort like it should
9949         * libc/sys/a29khif: many many patches for 29khif work
9950         * libc/machine/i386: gnulib2 expanded there.
9951
9952 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9953
9954         Added accurate fp conversion routines to stdlib, moved dcvt from
9955         stdio to stdlib and called it ecvtbuf:
9956         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9957         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9958         routines
9959         * libc/libc.texinfo: Modifed to include the copyright info from
9960         the mprec files
9961         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9962         * libc/test/ : many vector which tested for the implementation
9963         defined returns of strange conversion requests have been updated
9964         to relflect the new implementation
9965
9966 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9967
9968         * libc/libc.texinfo: new chapter on variable arg lists
9969         (stdarg.h/varargs.h)
9970         * libc/libc.texinfo: new title
9971         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9972         (doc only) shorter headings for better formatting.
9973
9974 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9975
9976         * libc/libc.texinfo: three more info menu entries
9977         * libc/locale/locale.tex: new chapter
9978         * libc/locale/locale.c: new doc for setlocale, localeconv
9979         * libc/locale/Makefile.in: use new locale doc
9980         * libc/signal/signal.tex: new chapter
9981         * libc/signal/raise.c, libc/signal/signal.c: new doc
9982         * libc/signal/Makefile.in: use new doc
9983         * libc/time/time.tex: new chapter
9984         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9985         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9986         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9987         * libc/time/Makefile.in: use new doc
9988
9989 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9990
9991         * libm/math/log1p.c: split to use the new function way of float
9992         function definition. math/log1p.h deleted
9993         * libm/math/scalb.c: obsolete and deleted
9994         * libm/math/scalbn.c: created from part log1p.c
9995         * libm/math/Makefile.in: know about log1p and scalbn
9996
9997 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9998
9999         * libc/ctype/isupper.c: revise doc;
10000           libc/ctype/ctype.tex: use doc from isupper.c
10001
10002         * libc/string/bzero.c: new doc
10003
10004 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
10005
10006         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
10007         new doc
10008         * libc/stdlib/Makefile.in: extract new doc
10009         * libc/stdlib/stdlib.tex: use new doc
10010
10011         * libc/string/strerror.c: expanded doc.
10012
10013         * libc/stdio/Makefile.in: extract doc from more files
10014         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
10015         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
10016         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
10017         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
10018         libc/stdio/vsprintf.c: new doc
10019         * libc/stdio/stdio.tex: use new doc
10020
10021 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10022
10023         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
10024         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
10025         finitef functions.
10026         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
10027         time ago.
10028
10029         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
10030         * libc/stdio/setbuf.c: added ansi style definition.
10031         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
10032         buffer if none provided.
10033         * libc/stdio/tmpfile.c: lint
10034         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
10035         rather than using static, also make sure file isn't already
10036         present.  Uses P_tmpdir. (tempnam): rewritten to use new
10037         subroutine, and uses P_tmpdir.
10038         * libc/stdio/siprintf.c: created
10039
10040 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
10041
10042         Release 1.03 for NEC, major mods. Main differences from release
10043         1.02::
10044
10045         More tests in test/:
10046         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
10047         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
10048         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
10049         get/set mask, get/set sticky and get/set roundtoi.  Tests
10050         that setting the bits changes the way arithmetic is done.
10051         * string.c: added test to make sure memcmp does it with unsigned
10052         chars.
10053         * test.c: cleaned up and removed lint.
10054         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
10055         dvec.c: tests for string to value conversions,  sprintf, scanf,
10056         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10057         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
10058         rounding in sprintf too.
10059         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
10060         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10061         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10062         and function form.
10063         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10064         powf
10065
10066         In the library:
10067         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10068         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10069         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10070         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10071         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10072         than sprintf.
10073         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
10074         * Method of producting float versions of double functions has
10075         changed, functions will be modified gradually. So far:
10076         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10077         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10078         altered
10079         * libc/string/memcmp.c: now uses unsigned chars
10080         * libc/string/bcmp.c, libc/string/strcpy.c,
10081         libc/stsring/strxfrm.c: fixed doc
10082         * libc/sys/sysvnecv70.tex: fix example of sbrk code
10083 \f
10084 Local Variables:
10085 version-control: never
10086 End: