OSDN Git Service

* libc/include/process.h: Remove cygwin-only sexec* declarations. Fix spawnve
[pf3gnuchains/pf3gnuchains4x.git] / newlib / ChangeLog
1 2002-06-10  Christopher Faylor  <cgf@redhat.com>
2
3         * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
4         spawnve declaration.
5
6 2002-06-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7
8         * libm/common/s_fdim.c: New file.
9         * libm/common/s_fma.c: Likewise.
10         * libm/common/s_fmax.c: Likewise.
11         * libm/common/s_fmin.c: Likewise.
12         * libm/common/s_fpclassify.c: Likewise.
13         * libm/common/s_lrint.c: Likewise.
14         * libm/common/s_lround.c: Likewise.
15         * libm/common/s_nearbyint.c: Likewise.
16         * libm/common/s_remquo.c: Likewise.
17         * libm/common/s_round.c: Likewise.
18         * libm/common/s_scalbln.c: Likewise.
19         * libm/common/s_signbit.c: Likewise.
20         * libm/common/s_trunc.c: Likewise.
21         * libm/common/sf_fdim.c: Likewise.
22         * libm/common/sf_fma.c: Likewise.
23         * libm/common/sf_fmax.c: Likewise.
24         * libm/common/sf_fmin.c: Likewise.
25         * libm/common/sf_lrint.c: Likewise.
26         * libm/common/sf_lround.c: Likewise.
27         * libm/common/sf_nearbyint.c: Likewise.
28         * libm/common/sf_remquo.c: Likewise.
29         * libm/common/sf_round.c: Likewise.
30         * libm/common/sf_scalbln.c: Likewise.
31         * libm/common/sf_trunc.c: Likewise.
32         * libm/math/w_exp2.c: Likewise.
33         * libm/math/w_tgamma.c: Likewise.
34         * libm/math/wf_exp2.c: Likewise.
35         * libm/math/wf_tgamma.c: Likewise.
36         * libm/mathfp/s_exp2.c: Likewise.
37         * libm/mathfp/s_tgamma.c: Likewise.
38         * libm/mathfp/sf_exp2.c: Likewise.
39         * libm/mathfp/sf_tgamma.c: Likewise.
40         * libm/math/er_gamma.c: Fix return value.
41         * libm/math/erf_gamma.c: Likewise.
42         * libm/mathfp/er_gamma.c: Likewise.
43         * libm/mathfp/erf_gamma.c: Likewise.
44         * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
45         declarations and macros.
46         Regenerated all Makefile.in, aclocal.m4 and configure files to
47         use new libtool macros in top-level libtool.m4
48
49 2002-06-05  Jeff Johnston  <jjohnstn@redhat.com>
50
51         * libc/include/string.h[__linux__]: Add strsignal prototype.
52         * libc/include/sys/lock.h: New file with default locking support.
53         * libc/include/sys/reent.h: Add signal buffer support for strsignal
54         and psignal.
55         * libc/posix/Makefile.am: Add support for readdir_r.c.
56         * libc/posix/Makefile.in: Regenerated.
57         * libc/posix/closedir.c: Add locking support and hash table cleanup.
58         * libc/posix/opendir.c: Add lock support.
59         * libc/posix/readdir.c: Ditto.
60         * libc/posix/rewinddir.c: Ditto.
61         * libc/posix/scandir.c: Ditto.
62         * libc/posix/seekdir.c: Ditto.
63         * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
64         clean up leftover hash table entries.
65         * libc/posix/readdir_r.c: New file.
66         * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
67         * libc/sys/linux/Makefile.in: Regenerated.
68         * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
69         * libc/sys/linux/sys/signal.h: Add psignal prototype.
70         * libc/sys/linux/psignal.c: New file.
71         * libc/sys/linux/strsignal.c: Ditto.
72
73 2002-06-03  Corinna Vinschen  <corinna@vinschen.de>
74
75         * libc/include/sys/types.h: Don't define dev_t when compiling for
76         Cygwin.
77
78 2002-05-31  Jeff Johnston  <jjohnstn@redhat.com>
79
80         * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
81         make siglist.inc dependent on sig.c instead of signal.c.
82         * libc/sys/linux/Makefile.in: Regenerated.
83         * libc/sys/linux/sig.c: Rename from signal.c and change code to
84         use NSIG instead of _NSIG. 
85         * libc/sys/linux/sigaction.c: New file.
86         * libc/sys/linux/signal.c: Changed to be linux signal() function
87         so as to override regular newlib default signal.c.
88         * libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS
89         definition.
90         * libc/sys/linux/linuxthreads/testrtsig.h: New file.
91         * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
92         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
93         * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
94         * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
95         * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
96         default linux sigset_t typedef by defining it equal to __sigset_t.
97         * libc/unix/sigset.c: Add check so code isn't compiled on systems
98         with a sigset_t that isn't implemented with a single int.
99
100 2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
101
102         * libc/sys/linux/Makefile.am: Add support for new files.
103         * libc/sys/linux/Makefile.in: Regenerated.
104         * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
105         * libc/sys/linux/signal.c: Change to use real-time syscalls for
106         sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
107         it is in a separate file now.
108         * libc/sys/linux/machine/i386/Makefile.am
109         * libc/sys/linux/machine/i386/Makefile.in
110         * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
111         * libc/sys/linux/sigaction.c: New file.
112         * libc/sys/linux/sigqueue.c: Ditto.
113         * libc/sys/linux/sigwait.c: Ditto.
114         * libc/sys/linux/machine/i386/sigaction.c: Ditto.
115         * libc/sys/linux/kernel_sigaction.h: Ditto.
116
117 2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
118
119         * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
120         tcsendbrk.c.
121         * libc/sys/linux/Makefile.in: Regenerated.
122         * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
123         tcgetpgrp(), and tcsetpgrp() functions.
124         * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
125         to get __MAX_BAUD rate.
126         * libc/sys/linux/machine/i386/include/termios.h: New file.
127         * libc/include/machine/termios.h: Ditto.
128         * libc/sys/linux/cfspeed.c: Ditto.
129         * libc/sys/linux/tcsendbrk.c: Ditto.
130
131 2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
132
133         * libc/include/string.h: Add strnlen and strerror_r prototypes.
134         * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
135         * libc/string/Makefile.in: Regenerated.
136         * libc/string/strerror_r.c: New file.
137         * libc/string/strnlen.c: New file.
138         * libc/sys/linux/Makefile.am: Add rename.c.
139         * libc/sys/linux/Makefile.in: Regenerated.
140         * libc/sys/linux/rename.c: New file to override default rename.
141
142 2002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
143
144         * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
145         * libc/sys/linux/sys/time.h: Add conversion macros.
146         * libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
147         * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
148         * libc/sys/linux/gethostname.c: New file.
149         * libc/sys/linux/seteuid.c: New file.
150         * libc/sys/linux/sysctl.c: New file.
151         
152 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
153
154         * libc/string/Makefile.am: Add support for strsep.c.
155         * libc/string/Makefile.in: Regenerated.
156         * libc/string/strsep.c: New file.
157         * libc/string/strtok.c: Change to call __strtok_r service routine.
158         * libc/string/strtok_r.c: Add __strtok_r routine which takes
159         additional flag parameter regarding whether to skip leading delimeters.
160         Change strtok_r to call __strtok_r.
161
162 2002-05-23  Gareth Pearce  <tilps@hotmail.com>
163
164         * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
165         * libc/stdio/Makefile.in: Regenerated.
166         * libc/stdio/setbuffer.c: New file.
167         * libc/stdio/setlinebuf.c: New file.
168
169 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
170
171         * libc/sys/linux/Makefile.am: Add resource.c.
172         * libc/sys/linux/Makefile.in: Regenerated.
173         * libc/sys/linux/resource.c: New file.
174         * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
175         * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
176         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
177         * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
178         are now found in libc/sys/linux/resource.c.
179
180 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
181
182         * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
183         to use void * pointers and comply with Single Unix spec.
184         * libc/string/bcmp.c: Change to use void * instead of char *.
185         * libc/string/bcopy.c: Ditto.
186         * libc/string/bzero.c: Ditto.
187
188 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
189
190         * libc/sys/linux/shm_open.c: New file.
191         * libc/sys/linux/shm_unlink.c: Ditto.
192         * libc/sys/linux/Makefile.am: Add support for shm_open.c and
193         shm_unlink.c.
194         * libc/sys/linux/Makefile.in: Regenerated.
195         * libc/sys/linux/sys/types.h: Add some additional checks to see
196         if clock_t or time_t is already defined.
197
198 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
199
200         * Makefile.am: Don't pass $toollibdir down directly in
201         AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
202         Pass it under the name: top_toollibdir.
203         * Makefile.in: Regenerated.
204
205 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
206
207         * libc/include/sys/types.h: Revert previous patch.
208
209 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
210
211         * libc/include/sys/types.h: Include cygwin/types.h always under
212         Cygwin, not only if _POSIX_THREADS is defined.
213
214 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
215
216         * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
217
218 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
219
220         * Makefile.am: Copy and install headers from sys/machine/include
221         directory.  Also pass $toollibdir to lower-level directories.
222         * Makefile.in: Regenerated.
223         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
224         stderr to use _REENT macro instead of _impure_ptr directly.
225         * libc/include/sys/config.h[__i386__][__linux__]: Define
226         __DYNAMIC_REENT__.
227         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
228         call to __getreent() function if !__SINGLE_THREAD__ and
229         __DYNAMIC_REENT__ is set.
230         * libc/reent/Makefile.am: Add support for getreent.c.
231         * libc/reent/Makefile.in: Regenerated.
232         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
233         * libc/sys/linux/Makefile.am: Add support for new files.
234         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
235         * libc/sys/linux/Makefile.in: Regenerated.
236         * libc/sys/linux/configure: Ditto.
237         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
238         __close, __read, __write, __poll, __open, __lseek, __fcntl from
239         their __libc_ counterparts.
240         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
241         and weak-alias to regular names.
242         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
243         to pread64 and __pread64.
244         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
245         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
246         weak-alias to pwrite64.
247         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
248         __libc_sched_getscheduler, __libc_sched_get_priority_max,
249         __libc_sched_get_priority_min, and __libc_sched_setschedule to
250         name with __ instead of __libc_. 
251         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
252         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
253         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
254         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
255         to raise.
256         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
257         __libc_send to __send.
258         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
259         __gettimeofday.
260         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
261         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
262         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
263         type and typedef __jmp_buf to jmp_buf.
264         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
265         setjmp.S.
266         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
267         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
268         section.
269         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
270         prefix for function macros and then use weak_alias() to regular names.
271         * libc/sys/linux/machine/i386/syscall.h: Ditto.
272         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
273         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
274         to be flockfile() and funlockfile() respectively.
275         * libc/sys/linux/sys/types.h
276         * libc/reent/getreent.c: New file.
277         * libc/sys/linux/flockfile.c: Ditto.
278         * libc/sys/linux/funlockfile.c: Ditto.
279         * libc/sys/linux/getreent.c: Ditto.
280         * libc/sys/linux/pread.c: Ditto.
281         * libc/sys/linux/pwrite.c: Ditto.
282         * libc/sys/linux/raise.c: Ditto.
283         * libc/sys/linux/system.c: Ditto.
284         * libc/sys/linux/tcdrain.c: Ditto.
285         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
286         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
287         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
288         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
289         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
290
291 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
292
293         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
294         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
295         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
296         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
297
298 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
299
300         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
301         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
302         exit point.
303
304 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
305
306         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
307         options when testing natively on i[3456]86-*-linux.
308
309         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
310         only one pass or fail per test file.  Trim \r's from output
311         values received from test programs.  Remove support for named
312         tests.
313         * testsuite/newlib.locale/UTF-8.exp: Update to support new
314         newlib_check_output behaviour.
315         * testsuite/newlib.locale/UTF-8.c: Likewise.
316
317 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
318
319         * libc/include/stdlib.h: Add on_exit prototype.
320         * libc/include/sys/reent.h (struct _atexit): Add argument array
321         and bits to track type of exit routine to support both on_exit
322         and atexit.
323         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
324         by default and change the setting of the atexit structure.
325         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
326         * libc/stdlib/on_exit.c: New file.
327         * libc/stdlib/Makefile.am: Add support for on_exit.
328         * libc/stdlib/Makefile.in: Regenerated.
329         * libc/stdlib/atexit.c: Change to initialize types field.
330         * libc/stdlib/exit.c: Change to look at types field for each
331         exit routine and either call an atexit-style or an on_exit-style
332         routine accordingly.
333
334 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
335
336         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
337         allow v specifier with n or L specifiers.  For vector c format,
338         move tmp declaration to the top.
339
340 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
341
342         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
343         the original format specifier when looping for vectors to compensate
344         for any changes made in vector %g format processing.
345         Also add syntax checking for various invalid scenarios
346         involving vector format extensions.
347         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
348         return code setting for vector formats.  Also treat vector
349         separator mismatch as a match error instead of an input error.
350         Perform some syntax checking for vector formats.
351
352 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
353
354         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
355         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
356         * libc/string/strlcat.c: New file.
357         * libc/string/strlcpy.c: New file.
358
359 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
360
361         * libc/string/strchr.c: Fix comment typo.
362
363 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
364
365         * acinclude.m4: Add support for --enable-newlib-multithread.
366         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
367         --enable-newlib-multithread=no.
368
369         * libc/stdio/getc_u.c: New file.
370         * libc/stdio/getchar_u.c: New file.
371         * libc/stdio/putc_u.c: New file.
372         * libc/stdio/putchar_u.c: New file.
373         * libc/include/stdio.h: Add declarations for getc_unlocked,
374         getchar_unlocked, putc_unlocked and putchar_unlocked.
375         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
376         (CHEWOUT_FILES): Add new files' .def's.
377         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
378
379 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
380
381         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
382         Also handle as single quad word when destination ends at last
383         byte of first quad word.  Fix byte selection in single quad code.
384
385 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
386
387         * libc/include/sys/stdio.h: New file.
388         * libc/sys/linux/sys/stdio.h: New file.
389         * libc/include/stdio.h: Add declarations for flockfile,
390         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
391         * libc/stdio/clearerr.c: Add file locking.
392         * libc/stdio/fclose.c: Likewise.
393         * libc/stdio/feof.c: Likewise.
394         * libc/stdio/ferror.c: Likewise.
395         * libc/stdio/fflush.c: Likewise.
396         * libc/stdio/fgetc.c: Likewise.
397         * libc/stdio/fgetpos.c: Likewise.
398         * libc/stdio/fgets.c: Likewise.
399         * libc/stdio/fileno.c: Likewise.
400         * libc/stdio/fputc.c: Likewise.
401         * libc/stdio/fputs.c: Likewise.
402         * libc/stdio/fread.c: Likewise.
403         * libc/stdio/freopen.c: Likewise.
404         * libc/stdio/fseek.c: Likewise.
405         * libc/stdio/ftell.c: Likewise.
406         * libc/stdio/fwrite.c: Likewise.
407         * libc/stdio/getc.c: Likewise.
408         * libc/stdio/putc.c: Likewise.
409         * libc/stdio/setvbuf.c: Likewise.
410         * libc/stdio/ungetc.c: Likewise.
411         * libc/stdio/vfprintf.c: Likewise.
412
413 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
414
415         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
416         support for 'p' format.  Fix code to print bytes for vector
417         integer formats that do not specify 'h' or 'l'.
418         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
419         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
420         formats that do not specify 'h' or 'l'.
421
422         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
423
424 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
425
426         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
427         (_sbrk): Add cast of return value.
428
429 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
430
431         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
432         (_REENT_L64A_BUF): New macro for accessing area.
433         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
434         *  libc/stdlib/Makefile.in: Regenerated.
435         *  libc/stdlib/a64l.c: New file.
436         *  libc/stdlib/l64a.c: New file.
437
438 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
439
440         * libc/unix/pread.c: Fix typo for _pread_r.
441         * libc/unix/pwrite.c: Fix type for _pwrite_r.
442         * libc/sys/linux/pread64.c: Fix typo for read syscall.
443         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
444
445 2002-05-03  Christopher Faylor  <cgf@redhat.com>
446
447         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
448
449 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
450
451         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
452
453 2002-05-01  Christopher Faylor  <cgf@redhat.com>
454
455         * utmp.h: Define more UNIX constants.
456
457 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
458
459         * Makefile.am: Add support for checking multilibs.
460
461         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
462         (SUBDEFS): Add LIBC_EXTRA_DEF.
463         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
464         (LIBC_EXTRA_DEF): Likewise.
465         (extra_dir): Likewise.
466         * libc/machine/xscale/machine: New directory.
467         * libc/machine/xscale/machine/profile.h: New file.
468
469         * Makefile.am (site.exp): Remove newlib_cflags.  Add
470         multibuildtop.
471         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
472         * testsuite/lib/flags.exp: New file.
473         * testsuite/lib/newlib.exp: Load flags.exp.
474         (newlib_target_compile): Remove libgloss directory references.
475         (newlib_init): Remove newlib_cflags references.
476
477 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
478
479         * testsuite/lib/newlib.exp (newlib_target_compile): Change
480         method of finding libgloss_target_dir.
481
482         * Makefile.am (site.exp): Change host_alias, host_triplet,
483         target_alias, target_triplet to refer to gcc's host and target
484         variables (newlib's build and host variables).
485         * testsuite/lib/newlib.exp (newlib_init): Change build
486         references to host references, host references to target
487         references to reflect Makefile.am changes.
488         (newlib_target_compile): Likewise.
489         (newlib_finish): Likewise.
490
491 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
492
493         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
494
495 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
496
497         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
498         (_system): New function. Ditto.
499         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
500         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
501         targets.
502
503 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
504
505         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
506         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
507         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
508         *  libc/sys/linux/Makefile.in: Regenerated.
509         *  libc/unix/Makefile.in: Ditto.
510         *  libc/sys/linux/pread64.c: New file.
511         *  libc/sys/linux/pwrite64.c: Ditto.
512         *  libc/unix/pread.c: Ditto.
513         *  libc/unix/pwrite.c: Ditto.
514
515 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
516
517         *  libc/sys/linux/Makefile.am: Add io64.c.
518         *  libc/sys/linux/Makefile.in: Regenerated.
519         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
520         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
521         *  libc/sys/linux/io64.c: New file.
522
523 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
524
525         * configure.in (CC_FOR_NEWLIB): New variable that
526         bases on $(CC) and adds targ-include and libc/include as
527         -isystem directives if they are not already part of $(CC).
528         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
529         $(CC_FOR_NEWLIB).
530         * configure: Regenerated.
531         * Makefile.in: Ditto.
532
533 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
534
535         *  libc/sys/linux/Makefile.am: Add support for sched.c.
536         *  libc/sys/linux/Makefile.in: Regenerated.
537         *  libc/sys/linux/sched.c: New file.
538         *  libc/sys/linux/sys/types.h: Add struct timespec.
539
540 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
541
542         * configure.in (CC_FOR_BUILD): Set to gcc whether
543         cross-compiling or not.
544         (CC): Add -isystem's for targ-include and libc/include when they
545         do not already appear in CC.
546
547 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
548
549         * Makefile.am (check-DEJAGNU): New target.
550         (site.exp): Likewise.
551         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
552         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
553         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
554         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
555         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
556         * testsuite: New directory.
557         * testsuite/config: Likewise.
558         * testsuite/lib: Likewise.
559         * testsuite/newlib.locale: Likewise.
560         * testsuite/newlib.string: Likewise.
561         * testsuite/config/default.exp: New file.
562         * testsuite/lib/checkoutput.exp: New file.
563         * testsuite/lib/newlib.exp: New file.
564         * testsuite/lib/passfail.exp: New file.
565         * testsuite/newlib.locale/UTF-8.c: New file.
566         * testsuite/newlib.locale/UTF-8.exp: New file.
567         * testsuite/newlib.locale/locale.exp: New file.
568         * testsuite/newlib.string/string.exp: New file.
569         * testsuite/newlib.string/tstring.c: New file.
570
571 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
572
573         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
574         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
575         *  libc/sys/linux/Makefile.in: Regenerated.
576         *  libc/sys/linux/mmap.c: New file.
577         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
578         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
579
580 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
581
582         * acinclude.m4 (newlib_cflags): Remove include directories that
583         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
584
585 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
586
587         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
588         * libc/machine/xscale/memcmp.c: Ditto.
589         * libc/machine/xscale/memcpy.c: Ditto.
590         * libc/machine/xscale/memmove.c: Ditto.
591         * libc/machine/xscale/memset.c: Ditto.
592         * libc/machine/xscale/strchr.c: Ditto.
593         * libc/machine/xscale/strcmp.c: Ditto.
594         * libc/machine/xscale/strcpy.c: Ditto.
595         * libc/machine/xscale/strlen.c: Ditto.
596
597 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
598
599         * libc/include/sys/config.h: Remove include of <limits.h>.
600         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
601         define INT_MAX and LONG_MAX.  Use them in tests.
602
603 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
604
605         *  configure.host: Add support for powerpc-eabialtivec*.
606         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
607         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
608         *  libc/include/machine/malloc.h: New file.
609         *  libc/include/machine/stdlib.h: Ditto.
610         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
611         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
612         sources based on configuration.
613         *  libc/machine/powerpc/Makefile.in: Regenerated.
614         *  libc/machine/powerpc/configure: Ditto.
615         *  libc/machine/powerpc/configure.in: Add check for
616         powerpc-eabialtivec* in which case add in additional source files.
617         *  libc/machine/powerpc/setjmp.S: Add altivec support.
618         *  libc/machine/powerpc/vec_calloc.c: New file.
619         *  libc/machine/powerpc/vec_free.c: Ditto.
620         *  libc/machine/powerpc/vec_malloc.c: Ditto.
621         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
622         *  libc/machine/powerpc/vec_realloc.c: Ditto.
623         *  libc/machine/powerpc/machine/malloc.h: Ditto.
624         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
625         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
626         with added altivec format specifiers.
627         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
628         added altivec format specifiers.
629
630 2002-04-19      Joel Sherrill <joel@OARcorp.com>
631
632         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
633         while autoconf is trying to link main(){}.
634
635 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
636
637         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
638         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
639
640 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
641
642         * libc/time/time.tex: Add tzset info.
643
644 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
645
646         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
647         (strptime): Moved prototype to be within !__STRICT_ANSI__.
648         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
649         (tzname): Defined for all platforms.
650         (daylight, timezone): Defined only for CYGWIN.
651         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
652         environment set up.
653         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
654         environment variable is set.
655         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
656         tzset_r.c.
657         * libc/time/Makefile.in: Regenerated.
658         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
659         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
660         * libc/time/lcltime_r.c (lcltime_r): Ditto.
661         * libc/time/local.h: New local header file.
662         * libc/time/mktime.c (mktime): Add timezone support.
663         * libc/time/mktm_r.c: New file which is the common engine
664         for gmtime_r and lcltime_r.  This code has timezone support.
665         * libc/time/strftime.c (strftime): Add %Z timezone support.
666         * libc/time/tzlock.c: New file containing timezone lock stubs.
667         * libc/time/tzset.c: New file containing tzset() routine.
668         * libc/time/tzset_r.c: New file containing _tzset_r and
669         internal routine for calculating timezone changes for specified year.
670
671 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
672
673         * configure.in (CRT0_DIR): Set to libc/.
674         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
675         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
676         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
677         $(CRT1_DIR)/$(CRT1).
678         * libc/machine/xstormy16/Makefile.in: Regenerated.
679         * libc/machine/xstormy16/aclocal.m4: Regenerated.
680         * libc/machine/xstormy16/configure: Regenerated.
681
682 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
683
684         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
685         fails, don't bail out, and try to correct next time.
686
687         * libc/include/sys/config.h: Include limits.h.
688
689 2002-04-12  Eric Norum  <eric.norum@usask.com>
690
691         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
692         routine to allow autoconf to determine that building executables
693         for rtems works.
694         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
695         (rtems_gxx_mutex_once): Ditto.
696
697 2002-04-09  Tom Rix  <trix@redhat.com>
698
699         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
700
701 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
702
703         * libc/include/time.h: Fix strptime declaration.
704         * libc/time/Makefile.am: Add strptime.c.
705         * libc/time/Makefile.in: Regenerated.
706         * libc/time/strptime.c: New file.
707
708 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
709
710         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
711         siglongjmp prototype, and sigsetjmp macro definition.
712         * libc/sys/linux/siglongjmp.c: New file.
713         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
714         * libc/sys/linux/Makefile.in: Regenerated.
715
716 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
717
718         * Makefile.am: Add support for installing crt1.o if one exists.
719         * configure.host: Specify crt1.o for linux.
720         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
721         * Makefile.in: Regenerated.
722         * configure: Ditto.
723         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
724         Added for non-Cygwin, non-RTEMS configurations.
725         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
726         * libc/sys/linux/Makefile.in: Regenerated.
727         * libc/sys/linux/crt1.c: New empty file to override one defaulted
728         by gcc.  This fixes problem with reconfiguring linux newlib build.
729         * libc/sys/linux/sysconf.c: New file.
730
731 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
732
733         * configure.host: Add support for machine subdirectory of
734         sys subdirectory.
735         * configure.in: Add check for sys machine subdirectory.
736         * Makefile.am: Ditto.
737         * configure: Regenerated.
738         * Makefile.in: Ditto.
739         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
740         * libc/sys/linux/sys/syscall.h: Ditto.
741         * libc/sys/linux/sleep.c: New file.
742         * libc/sys/linux/socket.c: Ditto.
743         * libc/sys/linux/sockops.h: Ditto.
744         * libc/sys/linux/stack.c: Ditto.
745         * libc/sys/linux/usleep.c: Ditto.
746         * libc/sys/linux/machine/Makefile.am: Ditto.
747         * libc/sys/linux/machine/Makefile.in: Ditto.
748         * libc/sys/linux/machine/aclocal.m4: Ditto.
749         * libc/sys/linux/machine/configure: Ditto.
750         * libc/sys/linux/machine/configure.in: Ditto.
751         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
752         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
753         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
754         * libc/sys/linux/machine/i386/configure: Ditto.
755         * libc/sys/linux/machine/i386/configure.in: Ditto.
756         * libc/sys/linux/machine/i386/crt0.c: Ditto.
757         * libc/sys/linux/machine/i386/sigset.c: Ditto.
758         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
759         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
760         * libc/sys/linux/machine/i386/syscall.h: Ditto.
761         * libc/sys/linux/sys/select.h: Ditto.
762         * libc/sys/linux/configure.in: Add support for machine directory.
763         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
764         * libc/sys/linux/Makefile.in: Regenerated.
765         * libc/sys/linux/configure: Ditto.
766         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
767         * libc/sys/linux/inode.c: Ditto.
768         * libc/sys/linux/linux.c: Ditto.
769         * libc/sys/linux/process.c: Ditto.
770         * libc/sys/linux/systat.c: Ditto.
771         * libc/sys/linux/time.c: Ditto.
772         * libc/sys/linux/wait.c: Ditto.
773         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
774         * libc/sys/linux/io.c: Change header plus add readv/writev.
775         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
776         use __sigsuspend syscall.
777         * libc/sys/linux/select.c: Change header plus change select to
778         use _newselect syscall.
779         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
780         used by glibc header files.
781         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
782         types.
783
784 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
785
786         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
787         initializing a struct _reent that has been dynamically allocated.
788         (_REENT_CHECK_MISC): New macro that checks _misc struct for
789         _REENT_SMALL and does nothing otherwise.
790         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
791         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
792         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
793         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
794         [_REENT_SMALL](struct _misc_reent): New structure containing
795         miscellaneous reentrant areas needed by newlib.
796         [_REENT_SMALL](struct _reent): Add _misc pointer.
797         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
798         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
799         and _REENT_STRTOK_LAST macros.
800         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
801         and _REENT_MBLEN_STATE macros.
802         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
803         and _REENT_MBTOWC_STATE macros.
804         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
805         and _REENT_WCTOMB_STATE macros.
806
807 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
808
809         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
810
811 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
812
813         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
814
815 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
816
817         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
818         Store high part of leading bytes too.
819
820 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
821
822         * libm/math/ef_hypot.c: Increase scale factor to 68.
823
824 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
825
826         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
827         error.
828
829 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
830
831         * libc/sys/go32/access.c: Change license to relaxed license
832         used in identical file throughout newlib/libgloss.
833
834 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
835
836         * libc/sys/arm/access.c: New file.
837         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
838         * libc/sys/arm/Makefile.in: Regenerate.
839         * libc/sys/arm/syscalls.c (_stat): New function.
840
841 2002-03-11  Michael Meissner  <meissner@redhat.com>
842
843         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
844         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
845         * libc/machine/mips/Makefile.in: Regenerate.
846         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
847         * libc/machine/mips/memset.c: Dito.
848         * libc/machine/mips/strcmp.c: Dito.
849         * libc/machine/mips/strlen.c: Dito.
850         * libc/machine/mips/strncmp.c: Dito.
851
852 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
853
854         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
855         object so it works for shared library or statici library.
856 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
857
858         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
859         (strptime): Moved prototype to be within !__STRICT_ANSI__.
860         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
861         (tzname): Defined for all platforms.
862         (daylight, timezone): Defined only for CYGWIN.
863         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
864         environment set up.
865         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
866         environment variable is set.
867         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
868         tzset_r.c.
869         *  libc/time/Makefile.in: Regenerated.
870         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
871         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
872         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
873         *  libc/time/local.h: New local header file.
874         *  libc/time/mktime.c (mktime): Add timezone support.
875         *  libc/time/mktm_r.c: New file which is the common engine
876         for gmtime_r and lcltime_r.  This code has timezone support.
877         *  libc/time/strftime.c (strftime): Add %Z timezone support.
878         *  libc/time/tzlock.c: New file containing timezone lock stubs.
879         *  libc/time/tzset.c: New file containing tzset() routine.
880         *  libc/time/tzset_r.c: New file containing _tzset_r and
881         internal routine for calculating timezone changes for specified year.
882
883 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
884
885         * configure.in (CRT0_DIR): Set to libc/.
886         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
887         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
888         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
889         $(CRT1_DIR)/$(CRT1).
890         * libc/machine/xstormy16/Makefile.in: Regenerated.
891         * libc/machine/xstormy16/aclocal.m4: Regenerated.
892         * libc/machine/xstormy16/configure: Regenerated.
893
894 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
895
896         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
897         fails, don't bail out, and try to correct next time.
898
899         * libc/include/sys/config.h: Include limits.h.
900
901 2002-04-12  Eric Norum  <eric.norum@usask.com>
902
903         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
904         routine to allow autoconf to determine that building executables
905         for rtems works.
906         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
907         (rtems_gxx_mutex_once): Ditto.
908
909 2002-04-09  Tom Rix  <trix@redhat.com>
910
911         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
912
913 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
914
915         * libc/include/time.h: Fix strptime declaration.
916         * libc/time/Makefile.am: Add strptime.c.
917         * libc/time/Makefile.in: Regenerated.
918         * libc/time/strptime.c: New file.
919
920 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
921
922         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
923         siglongjmp prototype, and sigsetjmp macro definition.
924         * libc/sys/linux/siglongjmp.c: New file.
925         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
926         * libc/sys/linux/Makefile.in: Regenerated.
927
928 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
929
930         * Makefile.am: Add support for installing crt1.o if one exists.
931         * configure.host: Specify crt1.o for linux.
932         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
933         * Makefile.in: Regenerated.
934         * configure: Ditto.
935         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
936         Added for non-Cygwin, non-RTEMS configurations.
937         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
938         * libc/sys/linux/Makefile.in: Regenerated.
939         * libc/sys/linux/crt1.c: New empty file to override one defaulted
940         by gcc.  This fixes problem with reconfiguring linux newlib build.
941         * libc/sys/linux/sysconf.c: New file.
942
943 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
944
945         * configure.host: Add support for machine subdirectory of
946         sys subdirectory.
947         * configure.in: Add check for sys machine subdirectory.
948         * Makefile.am: Ditto.
949         * configure: Regenerated.
950         * Makefile.in: Ditto.
951         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
952         * libc/sys/linux/sys/syscall.h: Ditto.
953         * libc/sys/linux/sleep.c: New file.
954         * libc/sys/linux/socket.c: Ditto.
955         * libc/sys/linux/sockops.h: Ditto.
956         * libc/sys/linux/stack.c: Ditto.
957         * libc/sys/linux/usleep.c: Ditto.
958         * libc/sys/linux/machine/Makefile.am: Ditto.
959         * libc/sys/linux/machine/Makefile.in: Ditto.
960         * libc/sys/linux/machine/aclocal.m4: Ditto.
961         * libc/sys/linux/machine/configure: Ditto.
962         * libc/sys/linux/machine/configure.in: Ditto.
963         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
964         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
965         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
966         * libc/sys/linux/machine/i386/configure: Ditto.
967         * libc/sys/linux/machine/i386/configure.in: Ditto.
968         * libc/sys/linux/machine/i386/crt0.c: Ditto.
969         * libc/sys/linux/machine/i386/sigset.c: Ditto.
970         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
971         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
972         * libc/sys/linux/machine/i386/syscall.h: Ditto.
973         * libc/sys/linux/sys/select.h: Ditto.
974         * libc/sys/linux/configure.in: Add support for machine directory.
975         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
976         * libc/sys/linux/Makefile.in: Regenerated.
977         * libc/sys/linux/configure: Ditto.
978         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
979         * libc/sys/linux/inode.c: Ditto.
980         * libc/sys/linux/linux.c: Ditto.
981         * libc/sys/linux/process.c: Ditto.
982         * libc/sys/linux/systat.c: Ditto.
983         * libc/sys/linux/time.c: Ditto.
984         * libc/sys/linux/wait.c: Ditto.
985         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
986         * libc/sys/linux/io.c: Change header plus add readv/writev.
987         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
988         use __sigsuspend syscall.
989         * libc/sys/linux/select.c: Change header plus change select to
990         use _newselect syscall.
991         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
992         used by glibc header files.
993         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
994         types.
995
996 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
997
998         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
999         initializing a struct _reent that has been dynamically allocated.
1000         (_REENT_CHECK_MISC): New macro that checks _misc struct for
1001         _REENT_SMALL and does nothing otherwise.
1002         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1003         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1004         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1005         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1006         [_REENT_SMALL](struct _misc_reent): New structure containing
1007         miscellaneous reentrant areas needed by newlib.
1008         [_REENT_SMALL](struct _reent): Add _misc pointer.
1009         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1010         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1011         and _REENT_STRTOK_LAST macros.
1012         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1013         and _REENT_MBLEN_STATE macros.
1014         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1015         and _REENT_MBTOWC_STATE macros.
1016         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1017         and _REENT_WCTOMB_STATE macros.
1018
1019 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
1020
1021         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1022
1023 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
1024
1025         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1026
1027 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
1028
1029         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1030         Store high part of leading bytes too.
1031
1032 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
1033
1034         * libm/math/ef_hypot.c: Increase scale factor to 68.
1035
1036 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
1037
1038         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1039         error.
1040
1041 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
1042
1043         * libc/sys/go32/access.c: Change license to relaxed license
1044         used in identical file throughout newlib/libgloss.
1045
1046 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
1047
1048         * libc/sys/arm/access.c: New file.
1049         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1050         * libc/sys/arm/Makefile.in: Regenerate.
1051         * libc/sys/arm/syscalls.c (_stat): New function.
1052
1053 2002-03-11  Michael Meissner  <meissner@redhat.com>
1054
1055         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1056         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1057         * libc/machine/mips/Makefile.in: Regenerate.
1058         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1059         * libc/machine/mips/memset.c: Dito.
1060         * libc/machine/mips/strcmp.c: Dito.
1061         * libc/machine/mips/strlen.c: Dito.
1062         * libc/machine/mips/strncmp.c: Dito.
1063
1064 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
1065
1066         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1067         object so it works for shared library or statici library.
1068         * libc/machine/i386/Makefile.in: Regenerated.
1069
1070 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
1071
1072         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1073         Add memcpy.S, memset.S and strcpy.S.
1074         * libc/machine/sh/Makefile.in: Regenerate.
1075         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1076         (SHHI, SHLO): Define.
1077         * libc/machine/sh/memset.S: Add code for SH5.
1078         * libc/machine/sh/memset.S: Likewise.
1079         * libc/machine/sh/strcpy.S: Likewise.
1080
1081 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
1082
1083         * configure.host: Add check for --disable-newlib-io-float
1084         configuration option and add -DNO_FLOATING_POINT to newlib cflags
1085         if appropriate.
1086         * acinclude.m4: Added --disable-newlib-io-float option.
1087         * aclocal.m4: Regenerated.
1088         * configure: Ditto.
1089         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1090         * libc/*/aclocal.m4 libc/*/configure 
1091         * libm/*/aclocal.m4 libm/*/configure: Ditto.
1092         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1093         if NO_FLOATING_POINT flag is not defined.
1094
1095 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
1096
1097         * libc/include/sys/config.h: Add __extension__ in front of
1098         long long references.
1099
1100 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1101
1102         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1103         (_stat): Ditto.
1104
1105 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1106
1107         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1108         of off_t.
1109
1110 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1111
1112         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1113         clobbered registers.
1114
1115 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1116
1117         * configure.host (newlib_cflags): When host is in m68* add
1118         -DCOMPACT_CTYPE.
1119
1120 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
1121
1122         * libc/include/sys/config.h: Add definitions for
1123         __int16_t, __uint16_t, __int64_t, and __uint64_t.
1124
1125 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
1126
1127         * libc/sys/mmixware/link.c: New.
1128         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1129         volatile.
1130         * libc/sys/mmixware/times.c (_times): Renamed from times.
1131         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1132         properly by reading previous contents, not through BinaryReadWrite.
1133         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1134         * libc/sys/mmixware/Makefile.in: Regenerate.
1135
1136 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
1137
1138         * libc/include/grp.h: Don't declare group functions when compiling
1139         Cygwin.
1140
1141 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
1142
1143         * libc/include/grp.h: Include Cygwin specific header.
1144         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
1145         when compiling for Cygwin.
1146         * libc/include/sys/types.h: Don't define off_t, uid_t
1147         and gid_t when compiling for Cygwin.
1148
1149 2002-02-08  matthew green  <mrg@redhat.com>
1150
1151         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1152         _REENT_EMERGENCY_SIZE, not sizeof(char *).
1153
1154 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
1155
1156         Contribute sh64-elf.
1157         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1158         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1159         support in printf.
1160         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
1161         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1162         any labels.
1163         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1164         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1165         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1166         * libc/machine/sh/configure.in: Rework conditionals.
1167         * libc/machine/sh/Makefile.am: Likewise.
1168         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1169         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1170         * configure.host: Match `sh*'.
1171         * libc/include/machine/setjmp.h: Define for SH5.
1172         * libc/machine/sh/configure.in: Detect SH5.
1173         * libc/machine/sh/configure: Rebuilt.
1174         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1175         * libc/machine/sh/Makefile.in: Rebuilt.
1176         * libc/machine/sh/asm.h: Adjust for SH5.
1177         * libc/machine/sh/setjmp.S: Implement in SHmedia.
1178         * libc/sys/sh/crt0.S: Likewise.
1179         * libc/sys/sh/trap.S: Likewise.
1180
1181 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1182
1183         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1184         (mach_add_obj): Conditionally set to setjmp.o or nothing.
1185         (LIB_SOURCES): Remove $(mach_add_src).
1186         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1187         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1188         * libc/machine/i386/Makefile.in: Regenerate.
1189
1190 2002-02-05  Manik Raina <manik@cisco.com>
1191
1192         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1193         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1194         s, p, k, and outstr.
1195         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1196
1197 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1198
1199         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1200         _REENT_CHECK_EMERGENCY macro.
1201
1202 2002-02-03  matthew green  <mrg@redhat.com>
1203
1204         * libc/reent/signgam.c (__signgam): Fix error in previous.
1205
1206 2002-02-02  matthew green  <mrg@redhat.com>
1207
1208         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1209
1210         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1211         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1212         * libc/include/sys/reent.h (struct _reent): Completely new version
1213         for _REENT_SMALL.
1214         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1215         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1216         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1217         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1218         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1219         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1220         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1221         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1222         (_REENT_EMERGENCY): Likewise.
1223
1224         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1225         the start of the real __sFILE, used for stdin, stdout and stderr until
1226         they are setup properly.
1227         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1228         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1229         allocated stdin, stdout and stderr.
1230         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1231         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1232         * libc/stdio/perror.c (_perror_r): Likewise.
1233         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1234         * libc/stdio/putchar.c (_putchar_r): Likewise.
1235         * libc/stdio/puts.c (_puts_r): Likewise.
1236         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1237         * libc/stdio/vprintf.c (vprintf): Likewise.
1238         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1239
1240         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1241
1242         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1243         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1244         for _REENT_SMALL.
1245         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1246         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1247
1248         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1249         _REENT_SMALL.
1250         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1251         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1252         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1253         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1254         * libc/stdlib/rand48.c (__dorand48): Likewise.
1255         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1256         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1257         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1258         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1259         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1260         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1261         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1262         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1263         * libc/stdlib/rand.c (rand): Likewise.
1264
1265         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1266         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1267
1268         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1269         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1270         * libc/include/sys/reent.h (struct _mprec): New structure.
1271
1272         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1273         _unused_strtok_last.
1274         * libc/string/strtok.c (strtok): Use a local static variable.
1275
1276         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1277         (_REENT_EMERGENCY_SIZE): Likewise.
1278         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1279         _REENT_ASCTIME_BUF().
1280         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1281         _REENT_TM().
1282
1283         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1284         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1285         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1286         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1287         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1288         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1289
1290 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1291
1292         * configure.host (xstormy16): Don't use the generic malloc.
1293         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1294         * libc/machine/xstormy16/Makefile.in: Regenerate.
1295         * libc/machine/xstormy16/mallocr.c: New file.
1296         * libc/machine/xstormy16/tiny-malloc.c: New file.
1297
1298 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1299
1300         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1301         when _CYGWIN_TYPES_H is not defined.
1302
1303 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1304
1305         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1306
1307 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1308
1309         * libc/include/sys/signal.h: Remove pthread_kill declaration
1310         when __CYGWIN__ is defined.
1311
1312 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1313
1314         * libc/include/time.h: Add prototype for strptime for Cygwin.
1315
1316 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1317
1318         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1319         dst was not word aligned.
1320
1321         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1322         if too much memory is requested.
1323
1324 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1325
1326         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1327         reads blanks from the input file to break if EOF reached
1328         rather than end processing.
1329
1330 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1331
1332         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1333
1334 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1335
1336         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1337         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1338         libc/include/sys/config.h: Ditto.
1339
1340 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1341
1342         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1343
1344 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1345             Catherine Moore  <clm@redhat.com>
1346             Richard Henderson  <rth@redhat.com>
1347             Corinna Vinschen  <vinschen@redhat.com>
1348
1349         * configure.host: Add support for xstormy16.
1350         * libc/include/machine/ieeefp.h: Add support for xstormy16.
1351         * libc/include/machine/setjmp.h: Add support for xstormy16.
1352         * libc/include/sys/config.h: Add support for xstormy16.
1353         * libc/machine/xstormy16/Makefile.am: New file.
1354         * libc/machine/xstormy16/Makefile.in: New file.
1355         * libc/machine/xstormy16/aclocal.m4: New file.
1356         * libc/machine/xstormy16/configure: New file.
1357         * libc/machine/xstormy16/configure.in: New file.
1358         * libc/machine/xstormy16/setjmp.S: New file.
1359
1360 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1361
1362         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1363         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1364
1365 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
1366
1367         * libm/machine/Makefile.am: Change rules to create correct lib.a.
1368         * libm/machine/Makefile.in: Regenerated through automake.
1369
1370 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1371
1372         * Makefile.am (DOCDIR): Force to empty string when doc
1373         directory is not present.
1374
1375 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1376
1377         * libc/machine/i386/f_*: Move to libm/machine/i386.
1378
1379 2001-12-18      Joel Sherrill <joel@OARcorp.com>
1380
1381         * libm/machine/Makefile.am: Add dummy doc stub so
1382         "make info" works.
1383
1384 2001-12-17      Joel Sherrill <joel@OARcorp.com>
1385
1386         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1387
1388 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1389
1390         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1391         $(COMPILE) rather than $(CC).
1392         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1393         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1394         $(LIB_COMPILE) change.
1395         (vfiprintf.$(oext)): Likewise.
1396
1397 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
1398
1399         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1400         conditionalized including of getopt stuff.
1401
1402 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1403
1404         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1405         compile line.
1406         (vfiprintf.$(oext)): Likewise.
1407
1408 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1409
1410         * Makefile.shared: New file.
1411         * libc/sys/linux/shared.ld: New file.
1412         * libm/machine/*: New files.
1413         * libm/machine/i386/*: New files.
1414         * Makefile.am: Add libtool support.  Change math and mathfp
1415         references to variables.
1416         * configure.host: Add variables for libtool support.  Add
1417         libm_machine_dir variable.
1418         * configure.in: Add objectlist variables, for libtool
1419         support.  Add CC_FOR_BUILD tests.
1420         * libc/Makefile.am: Add libtool support.  Change crt0.o
1421         reference to be a variable reference.
1422         * libc/configure.in: Add libtool support.  Change sublib
1423         names to be lib${subdir}.la when using libtool.
1424         * libc/ctype/Makefile.am: Add libtool support.
1425         * libc/errno/Makefile.am: Likewise.
1426         * libc/locale/Makefile.am: Likewise.
1427         * libc/machine/Makefile.am: Likewise.
1428         * libc/machine/configure.in: Likewise.
1429         * libc/machine/i386/Makefile.am: Likewise.
1430         * libc/machine/i386/configure.in: Likewise.
1431         * libc/misc/Makefile.am: Likewise.
1432         * libc/posix/Makefile.am: Likewise.
1433         * libc/reent/Makefile.am: Likewise.
1434         * libc/signal/Makefile.am: Likewise.
1435         * libc/stdio/Makefile.am: Likewise.
1436         * libc/stdlib/Makefile.am: Likewise.
1437         * libc/string/Makefile.am: Likewise.
1438         * libc/sys/Makefile.am: Likewise.
1439         * libc/sys/configure.in: Likewise.
1440         * libc/sys/linux/Makefile.am: Add libtool support.  Change
1441         awk reference to a variable reference.  Change signal.h
1442         reference to a variable reference.
1443         * libc/sys/linux/configure.in: Add libtool support.
1444         * libc/syscalls/Makefile.am: Likewise.
1445         * libc/time/Makefile.am: Likewise.
1446         * libc/unix/Makefile.am: Likewise.
1447         * libm/Makefile.am: Add libtool support.  Change math and
1448         mathfp references to variables.
1449         * libm/configure.in: Add libtool support.  Add
1450         LIBM_MACHINE_LIB variable.
1451         * libm/common/Makefile.am: Add libtool support.
1452         * libm/math/Makefile.am: Likewise.
1453         * libm/mathfp/Makefile.am: Likewise.
1454         Regenerate all Makefile.in, aclocal.m4, and configure.
1455
1456 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1457
1458         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1459
1460 2001-12-06  John Peacock <jpeacock@rowman.com>
1461
1462         * libc/include/sys/unistd.h: Correct ualarm declaration.
1463
1464 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1465
1466         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1467         vector before calling the initialisation functions.
1468
1469 2001-11-29  Christopher Faylor  <cgf@redhat.com>
1470
1471         * libc/include/dirent.h: Protect against multiple inclusion.
1472
1473 2001-11-27  Christopher Faylor  <cgf@redhat.com>
1474
1475         * libc/include/sys/types.h: Define useconds_t.
1476         * libc/include/sys/ulimit.h: Declare ualarm.
1477
1478 2001-11-21  Christopher Faylor  <cgf@redhat.com>
1479
1480         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1481
1482 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
1483
1484         * libc/sys/mmixware/*: Tweak license header in all source files.
1485
1486 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
1487
1488         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1489         to here.  Rearrange for general inclusion by stdlib.h.
1490         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1491         isn't defined.
1492         * libc/sys/linux/include/alloca.h: Move to libc/include.
1493
1494 2001-11-12  Anthony Green  <green@redhat.com>
1495
1496         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1497
1498 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
1499
1500         * libc/sys/mmixware/*: Correct spacing in all source files.
1501         * libc/sys/mmixware/syscall.h: Move misplaced file...
1502         * libc/sys/mmixware/sys/syscall.h: ...here.
1503
1504 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
1505
1506         * libc/include/machine/ieeefp.h: Add support for mmix target.
1507         * libc/include/machine/setjmp.h: Ditto.
1508         * configure.host: Ditto.
1509         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1510         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1511         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1512         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1513         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1514         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1515         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1516         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1517         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1518         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1519         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1520         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1521         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1522         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1523         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1524         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1525         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1526         libc/sys/mmixware/aclocal.m4: Generate.
1527
1528 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
1529
1530         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1531         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1532         when __CYGWIN__ is defined.
1533         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1534         logwtmp().
1535
1536 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
1537
1538         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1539         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1540         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1541         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1542
1543 2001-10-24  Christopher Faylor  <cgf@redhat.com>
1544
1545         * libc/stdio/fseek.c: Reset pointer to buffer base
1546         when forced to seek outside of current buffer contents.
1547         This prevents the code from erroneously thinking there is
1548         anything in the current buffer.
1549
1550 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
1551
1552         * libc/include/math.h: The C++ standard adds the single-precision
1553         versions of the elementary functions.
1554
1555 2001-10-22  Christopher Faylor  <cgf@redhat.com>
1556
1557         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1558         throughout.
1559         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1560         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1561         * system.c (_system_r): Ditto.
1562
1563 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
1564
1565         * libc/include/sys/unistd.h: Add prototype for fchdir() when
1566         __CYGWIN__ or __rtems__ is defined.
1567
1568 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
1569
1570         * libc/include/stdlib.h: add declarations for
1571         _strtoull_r, _strtoll_r, strtoull, and strtoll.
1572         * libc/stdio/local.h: remove declarations of
1573         __strtoull_r and __strtoll_r.
1574         * libc/stdio/vfscanf.c(__svfscanf_r): call
1575         _strtoull_r instead of __strtoull_r. Ditto
1576         _strtoll_r vs. __strtoll_r.
1577         * libc/stdlib/Makefile.am: add new files to
1578         .c list and .def list
1579         * libc/stdlib/Makefile.in: regenerate
1580         * libc/stdlib/strtoll_r.c: rename __strtoll_r
1581         as _strtoll_r
1582         * libc/stdlib/strtoull_r.c: rename __strtoull_r
1583         as _strtoull_r
1584         * libc/stdlib/strtoull.c: new file
1585         * libc/stdlib/strtoll.c: new file
1586
1587 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
1588
1589         * libc/include/process.h: Add getpid() declaration.
1590
1591 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1592
1593         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1594         for new style arm/elf ctor/dtor handling.
1595         Minor formatting tidy up.
1596
1597 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
1598
1599         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1600         and strtoull_r.c.
1601         * libc/stdlib/Makefile.in: Regenerated.
1602         * libc/stdlib/strtoll_r.c: New file.
1603         * libc/stdlib/strtoull_r.c: New file.
1604         * libc/stdio/local.h: Add prototypes for long long string
1605         conversion routines.
1606         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1607         tied to %L integer conversion specifier.
1608
1609 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
1610
1611         * strftime.c (strftime): Fix "%W" implementation to properly handle
1612         Mondays too.
1613
1614 2001-09-07  Jeff Law  <law@redhat.com>
1615
1616         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1617         __fini with "mov.l" instead of "mov.w".
1618
1619 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
1620
1621         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1622         and getopt.h.
1623
1624 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
1625
1626         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1627
1628 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1629
1630         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1631         field.
1632         (__DIRENT_VERSION): New define.
1633
1634 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1635
1636         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1637         Shrink __d_reserved accordingly to keep structure size.
1638         (dirfd): Declare external.
1639
1640 2001-08-29  Joel Sherrill <joel@OARcorp.com>
1641
1642         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1643
1644 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1645
1646         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1647           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1648           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1649           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1650           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1651           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1652           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1653           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1654         Add conditional compilation to avoid HW FPU instructions
1655         when compiled for soft-float.
1656
1657 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1658
1659         * Makefile.am: Add check for ln failing when creating libg.a
1660         so that cp gets used as a backup.
1661         * Makefile.in: Regenerated.
1662
1663 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1664
1665         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1666         No longer include time.h.  Add struct __tm to use for
1667         _localtime_buf in the reentrant structure.  Add a
1668         _NULL definition to use in initializing the reentrant struct.
1669         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1670         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1671         <sys/_types.h>.
1672         * libc/include/sys/unistd.h: Include <sys/_types.h>.
1673         * libc/time/lcltime.c (localtime): Cast the reentrant struct
1674         _localtime_buf to be struct tm *.
1675
1676 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
1677
1678         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1679         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1680         __ctors_end.
1681         * libc/sys/h8300hms/syscalls.c: Include errno.h.
1682         (_unlink): New stub function.
1683
1684 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
1685
1686         * libc/include/sys/errno.h: Add a cautionary comment.
1687
1688 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
1689
1690         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1691         for SIZE_SZ so that alignment ends up a minimum of 8.
1692
1693 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
1694
1695         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1696         arguments.
1697
1698         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1699         Cygwin.
1700
1701 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
1702
1703         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1704         macro constants for mallopt options.
1705         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1706
1707 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
1708
1709         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1710         otherwise default.
1711
1712 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
1713
1714         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1715
1716 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
1717
1718         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1719         Define for little endian ARMs.
1720
1721         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1722         __IEEE_BYTES_LITTLE_ENDIAN is defined.
1723
1724 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
1725
1726         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1727
1728 2001-06-11  Egor Duda  <deo@logos-m.ru>
1729
1730         * libc/ctype/ctype_.c: When compiled with gcc on platforms
1731         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1732         initialized memory region. Platform can define COMPACT_CTYPE
1733         to avoid allocation of the additional 128 bytes of data.
1734         Add pointer to _ctype_ array. Always initialize all _ctype_
1735         array elements.
1736
1737 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
1738
1739         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1740         NULL pointer.
1741
1742 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1743
1744         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1745
1746 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
1747
1748         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1749         matching, non-word alignment, and the length is <= 4 but more than
1750         enough to move them over a word boundary.
1751         Add comments explaining what each instruction does.
1752
1753 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
1754
1755         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1756         * libc/include/sys/unistd.h: Ditto.
1757
1758 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
1759
1760         * libc/string/strrchr.c: Use strchr for the speed improvements.
1761
1762 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
1763
1764         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1765         real file systems, let __smakebuf() determine if line buffering
1766         should be used for stdout.
1767
1768 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1769
1770         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1771
1772 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1773
1774         * libc/include/stdlib.h: Add prototype for _strtod_r.
1775
1776 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
1777
1778         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1779         * libc/stdio/vprintf.c (_vprintf_r): new function
1780         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1781         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1782         _DEFUN, and call _vfprintf_r, not vfprintf.
1783         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1784         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1785         _DEFUN, and call _vfprintf_r, not vfprintf.
1786
1787 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
1788   
1789         * libc/include/sys/unistd.h [X_OK]: Use better protection against
1790         Cygwin X_OK definitions in sys/file.h.
1791
1792 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
1793
1794         * libc/include/sys/time.h: Define timercmp and other macros for
1795         __CYGWIN__, too.
1796
1797 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
1798         
1799         * acinclude.m4: Added --enable-malloc-debugging configure flag.
1800         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1801         --enable-malloc-debugging selected.
1802         * aclocal.m4 configure: Regenerated.
1803           libm/aclocal.m4 libm/configure: Ditto.
1804         * libc/aclocal.m4 libc/configure: Ditto.
1805         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1806         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1807         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1808         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1809         * doc/aclocal.m4 doc/configure: Ditto.
1810
1811 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
1812
1813         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1814         into one list.
1815         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1816         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1817         function prototypes.
1818         (_fscanf_r, _sscanf_r): Ditto.
1819         * libc/include/stdlib.h: Added _strtod_r prototype.
1820         * libc/stdio/Makefile.am: Add new v*scanf functions.
1821         * libc/stdio/Makefile.in: Regenerate.
1822         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1823         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
1824         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1825         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1826         (sscanf): Changed to call __svfscanf_r with _REENT argument.
1827         (_sscanf_r): New routine.
1828         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1829         with __svfscanf_r prototype.
1830         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1831         routines.
1832         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1833         structure as argument as calls reentrant versions of helper functions
1834         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1835         to _strtol_r and _strtod_r respectively.
1836         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1837         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1838         _REENT argument.
1839         * libc/stdio/vscanf.c: New file.
1840         * libc/stdio/vsscanf.c: Ditto.
1841
1842 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
1843
1844         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
1845         Define daylight to _daylight if it is not defined
1846         Prepare a variable export of timezone based on timezonevariable. 
1847         (Cannot be used with the timezone() function.)
1848
1849 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
1850
1851         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1852          Correct the numerical values.
1853
1854 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
1855
1856         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1857
1858 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
1859
1860         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1861         on case insensitve file systems.
1862
1863 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
1864
1865         * libc/include/sys/features.h: Add appropriate defines for Cygwin
1866         pthread support.
1867         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1868         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1869         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
1870
1871 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
1872
1873         * libc/include/machine/ieeefp.h: Comment about new configuration
1874         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1875         * libm/common/fdlib.h: Define new macros for testing floats.
1876         * libm/common/sf_*: Use them.
1877         * libm/math/ef_*: Likewise.
1878         * libm/math/sf_*: Likewise.
1879
1880 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
1881
1882         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1883         prolog to by-pass possible assembler error.
1884
1885 2001-03-21  Egor Duda  <deo@logos-m.ru>
1886
1887         Allow building internal stubs for non-reentrant syscalls
1888         if target provides its own malloc
1889         * libc/reent/reent.c (errno): Move definition here.
1890         * libc/reent/sbrkr.c: From here.
1891
1892 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
1893
1894         * libc/include/sys/types.h (BSD int typedefs): Guard with
1895         _BSDTYPES_DEFINED rather than _WINSOCK_H.
1896         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1897         _SYS_TYPES_FD_SET.
1898         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1899         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1900
1901 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
1902
1903         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1904         _PC_POSIX_SECURITY constants for Cygwin.
1905
1906 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
1907
1908         * libc/sys/cygwin/crt0.c: Add copyright hint.
1909         * libc/sys/cygwin/sys/dirent.h: Ditto.
1910         * libc/sys/cygwin/sys/param.h: Ditto.
1911         * libc/sys/cygwin/sys/utime.h: Ditto.
1912         * libc/sys/cygwin/sys/utmp.h: Ditto.
1913
1914 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1915
1916         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1917         equivalent to LONGINT.
1918
1919 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
1920
1921         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1922         jmpbuf on MIPS64 targets.
1923         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1924
1925 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
1926
1927         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
1928           declarations.
1929
1930 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
1931
1932         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1933         For RTEMS, define to be ssize_t.  Default to int if not defined.
1934         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1935         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1936         * libc/stdio/local.h (__sread, __swrite): Likewise.
1937         * libc/include/sys/reent.h (_read, _write): Likewise.
1938         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1939         * libc/syscalls/sysread.c (read): Likewise.
1940         * libc/syscalls/syswrite.c (write): Likewise.
1941
1942 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
1943
1944         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1945
1946 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
1947
1948         * libc/include/sys/stat.h: Use special defines for executable stat bits
1949         when compiling for Cygwin.
1950         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1951         for Cygwin.
1952
1953 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
1954
1955         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1956         of strtok_r is always defined.
1957
1958 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
1959
1960         * libc/include/machine/ansi.h: New dummy header file.
1961
1962 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
1963
1964         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1965         changed the copyright information to allow free modification of the
1966         file with no reference to "copying.dj".
1967         * libc/include/sys/stat-dj.h: Ditto.
1968         * libc/machine/i386/setjmp.S: Ditto.
1969         * libc/sys/h8300hms/sys/file.h: Ditto.
1970         * libc/sys/sysmec/access.c: Ditto.
1971         * libc/sys/sysnecv850/access.c: Ditto.
1972         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1973         * libc/stdlib/getenv_r.c: Ditto.
1974         * libc/stdlib/putenv_r.c: Ditto.
1975         * libc/stdlib/setenv_r.c: Ditto.
1976         * libc/stdlib/getenv.c: Removed DJ reference since any possible
1977         modifications will now be in the _r version of this file.
1978         * libc/stdlib/putenv.c: Ditto.
1979         * libc/stdlib/setenv.c: Ditto.
1980         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1981         valid.  Added a reference to DJ's web page that contains his address.
1982         * libc/sys/go32/*.s: Removed references to DJ's old address.
1983         * libc/sys/go32/*.c: Ditto.
1984         * libc/sys/go32/*.h: Ditto.
1985         * libc/sys/go32/*.S: Ditto.
1986         * libc/sys/go32/sys/*.h: Ditto.
1987
1988 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
1989
1990         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1991         HAVE_FCNTL flag check.
1992         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1993         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1994
1995 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
1996
1997         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1998
1999 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
2000
2001         * libc/include/stdlib.h: Add declarations of rand48 functions and
2002         their reentrant versions.
2003         * libc/include/sys/reent.h: Move macros from rand48.h. Add
2004         struct _rand48 for shared parameters of rand48 functions.
2005         (struct _reent): Add a variable _r48 of struct _rand48.
2006         (_REENT_INIT): Add _r48 initialization.
2007         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2008         (CHEWOUT_FILES): Add rand48.def.
2009         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2010         * libc/stdlib/Makefile.in: Regenerated.
2011         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2012         NetBSD C library.
2013         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2014         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2015         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2016         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2017         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2018         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2019         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2020         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2021         * libc/stdlib/rand48.c (__dorand48): Ditto.
2022         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2023         parameters into macros referring them in the reentrant structure.
2024
2025 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
2026
2027         * libc/include/sys/stat.h: Add mknod for Cygwin now that
2028         Cygwin definition has correct prototype.
2029
2030 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2031
2032         * libc/include/sys/stat.h: Must revert change for mknod
2033         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2034         prototype.
2035
2036 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
2037
2038         * libc/include/stdio.h: Revert putw prototype.
2039
2040 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
2041
2042         * libc/include/grp.h: add prototype for initgroups.
2043         * libc/include/stdio.h: fix prototype for putw.
2044         * libc/include/sys/signal.h: add prototype for killpg.
2045         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2046         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2047         vhangup and remove duplicate sysconf prototype.
2048
2049 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
2050
2051         * libc/sys/rtems/sys/types.h: Removed.
2052
2053 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
2054
2055         * libc/include/locale.h: add LC_MESSAGES definition
2056
2057 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
2058
2059         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2060         SYS_get_argN):
2061         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2062         __setup_argv_and_call_main): New.
2063
2064 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
2065
2066         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2067         if defined.
2068         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2069         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2070         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2071         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2072
2073 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
2074
2075         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2076         compiling under Cygwin.
2077
2078 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
2079
2080         * libc/include/math.h (signgam): Change to errno-like solution
2081         using a function to return the address of the real signgam.
2082         * libc/reent/signgam.c: New file containing __signgam().
2083         * libc/reent/Makefile.am: Added signgam.c to list of files.
2084         * libc/reent/Makefile.in: Regenerated.
2085
2086 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
2087
2088         * libc/sys/sh/syscalls.c (_times): New.
2089
2090         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2091         * libc/sys/sh/syscalls.c (_gettimeofday): New.
2092
2093 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2094
2095         * libc/include/math.h (signgam): Regress previous fix as
2096         it does not handle programs with extern int signgam in them.
2097
2098 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2099
2100         * libc/include/math.h (signgam): Changed to a macro refering to
2101         its location in the reentrant structure.
2102
2103 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2104
2105         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2106         that suppressed . for %.0f, 0.1.  Check now looks if there
2107         are padding zeroes (expt) in addition to any digits (ndig) to
2108         print.
2109
2110 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
2111
2112         * libc/sys/arc/Makefile.am: New file.
2113         * libc/sys/arc/Makefile.in: Ditto.
2114         * libc/sys/arc/aclocal.m4: Ditto.
2115         * libc/sys/arc/configure: Ditto.
2116         * libc/sys/arc/configure.in: Ditto.
2117         * libc/sys/arc/crt0.S: Ditto.
2118         * libc/sys/arc/isatty.c: Ditto.
2119         * libc/sys/arc/mem-layout.c: Ditto.
2120         * libc/sys/arc/sbrk.c: Ditto.
2121         * libc/sys/arc/syscalls.c: Ditto.
2122         * libc/sys/arc/sys/syscall.h: Ditto.
2123
2124 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
2125
2126         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2127
2128 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
2129
2130         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2131
2132 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
2133
2134         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2135
2136 2001-01-09  Nick Clifton  <nickc@redhat.com>
2137
2138         * configure.host (v859): Remove unsupported compiler options.
2139
2140 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
2141
2142         * src/newlib/configure.host (*-*-rtems*): add printf long long
2143         support for RTEMS.
2144
2145 2000-12-19  Graham Stott <grahams@redhat.com>
2146
2147         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2148
2149 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2150
2151         * configure.host: Turn on long double I/O for Cygwin.
2152
2153 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2154
2155         * MAINTAINERS: Removed Ranjith.
2156         * NEWS: Updated for 1.9.0.
2157         * README: Updated.
2158         * acinclude.m4: Updated to release 1.9.0.
2159         * aclocal.m4 configure
2160           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2161           libc/machine/aclocal.m4 libc/machine/configure
2162           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2163           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2164           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2165           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2166           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2167           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2168           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2169           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2170           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2171           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2172           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2173           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2174           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2175           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2176           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2177           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2178           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2179           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2180           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2181           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2182           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2183           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2184           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2185           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2186           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2187           libc/sys/aclocal.m4 libc/sys/configure
2188           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2189           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2190           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2191           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2192           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2193           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2194           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2195           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2196           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2197           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2198           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2199           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2200           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2201           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2202           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2203           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2204           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2205           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2206           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2207           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2208           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2209           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2210           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2211           libm/aclocal.m4 libm/configure: Regenerated.
2212
2213 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2214
2215         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2216         when __CYGWIN__ is defined.
2217
2218 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2219
2220         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2221         that categorizes a long double as NaN, Infinity, or other.
2222         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2223         isinfl and isnanl static routines which were i386-specific.  Changed 
2224         calls to the two removed routines to a single _ldcheck call.
2225         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2226
2227 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2228
2229         * Makefile.am: Fixed install-data-local target to use
2230         $(mkinstalldirs) for the installed header files to ensure
2231         the directories exist before copying.
2232         * Makefile.in: Regenerated.
2233
2234 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2235
2236         * libc/include/sys/unistd.h: Restored Cygwin _SC
2237         constants and moved new constants appropriately
2238         so Cygwin will build.
2239
2240 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2241
2242         * Merge RTEMS specific .h files into main libc/include.
2243         * libc/sys/rtems/include/signal.h: Removed.
2244         * libc/sys/rtems/include/time.h: Removed.
2245         * libc/sys/rtems/sys/features.h: Removed.
2246         * libc/sys/rtems/sys/sched.h: Removed.
2247         * libc/sys/rtems/sys/siginfo.h: Removed.
2248         * libc/sys/rtems/sys/signal.h: Removed.
2249         * libc/sys/rtems/sys/time.h: Removed.
2250         * libc/sys/rtems/sys/times.h: Removed.
2251         definitions for time_t and clock_t since these are
2252         no longer in time.h.
2253         * libc/include/pthread.h: New file.
2254         * libc/include/sys/sched.h: New file.
2255         * libc/include/sys/features.h: New file.
2256         * libc/include/time.h: Removed duplicate definition of clock_t
2257         and time_t, get them from <sys/types.h> instead.  Add prototypes
2258         for POSIX clock and timer functionality.
2259         * libc/sys/linux/sys/types.h: Changed to include
2260         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2261         * libc/include/sys/signal.h: Add more complete set of POSIX
2262         signal functionality including real-time and threaded signals.
2263         * libc/include/sys/types.h: Add clock_t, time_t, struct
2264         timespec, and struct itimerspec.  Centralizing these makes 
2265         things cleaner.  RTEMS uses 64-bit dev_t.
2266         Added numerous primitive definitions
2267         for pthreads including macros, pthread_attr_t,
2268         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2269         pthread_once_t, and pthread_t.
2270         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2271         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2272         Feature flags removed and moved to new file <sys/features.h>.
2273         Full set of POSIX sysconf() constants
2274
2275 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2276
2277         * configure.host: Added x86 linux target.
2278         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2279         definitions provided if not already defined.
2280         * libc/sys/linux/crt0.c: New file.
2281         * libc/sys/linux/Makefile.am: Ditto.
2282         * libc/sys/linux/Makefile.in: Ditto.
2283         * libc/sys/linux/aclocal.m4: Ditto.
2284         * libc/sys/linux/brk.c: Ditto.
2285         * libc/sys/linux/configure: Ditto.
2286         * libc/sys/linux/configure.in: Ditto.
2287         * libc/sys/linux/getoptlong.c: Ditto.
2288         * libc/sys/linux/ids.c: Ditto.
2289         * libc/sys/linux/inode.c: Ditto.
2290         * libc/sys/linux/io.c: Ditto.
2291         * libc/sys/linux/linux.c: Ditto.
2292         * libc/sys/linux/process.c: Ditto.
2293         * libc/sys/linux/realpath.c: Ditto.
2294         * libc/sys/linux/select.c: Ditto.
2295         * libc/sys/linux/signal.c: Ditto.
2296         * libc/sys/linux/systat.c: Ditto.
2297         * libc/sys/linux/termios.c: Ditto.
2298         * libc/sys/linux/time.c: Ditto.
2299         * libc/sys/linux/wait.c: Ditto.
2300         * libc/sys/linux/include/alloca.h: Ditto.
2301         * libc/sys/linux/include/getopt.h: Ditto.
2302         * libc/sys/linux/include/stdint.h: Ditto.
2303         * libc/sys/linux/include/unistd.h: Ditto.
2304         * libc/sys/linux/sys/cdefs.h: Ditto.
2305         * libc/sys/linux/sys/dirent.h: Ditto.
2306         * libc/sys/linux/sys/errno.h: Ditto.
2307         * libc/sys/linux/sys/fcntl.h: Ditto.
2308         * libc/sys/linux/sys/file.h: Ditto.
2309         * libc/sys/linux/sys/ioctl.h: Ditto.
2310         * libc/sys/linux/sys/resource.h: Ditto.
2311         * libc/sys/linux/sys/signal.h: Ditto.
2312         * libc/sys/linux/sys/stat.h: Ditto.
2313         * libc/sys/linux/sys/syscall.h: Ditto.
2314         * libc/sys/linux/sys/termios.h: Ditto.
2315         * libc/sys/linux/sys/time.h: Ditto.
2316         * libc/sys/linux/sys/types.h: Ditto.
2317         * libc/sys/linux/sys/utmp.h: Ditto.
2318         * libc/sys/linux/sys/utsname.h: Ditto.
2319         * libc/sys/linux/sys/wait.h: Ditto.
2320
2321 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2322
2323         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2324         can be a relative path to $(top_srcdir)/install.sh so ensure the
2325         autoconf detected settings are properly passed recursively.
2326         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2327         properly to subdirectories.
2328         * Makefile.in: Regenerated.
2329
2330 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2331
2332         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2333         a floating point register unless really printing a floating
2334         point number.
2335
2336 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2337
2338         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2339         Also removed \r's.
2340         (asctoeg): Replaced alloca call with stack array and malloc
2341         when storage exceeds reasonable limit.
2342         (e53toe): Fixed einfin calls missing ldp parameter.
2343         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2344
2345 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2346
2347
2348         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2349
2350 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2351
2352         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2353         * libc/stdlib/Makefile.in: Regenerated.
2354         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2355         * libc/stdio/vfieeefp.h: Added long double bit structures.
2356         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2357         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2358         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2359         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2360         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2361         _strtold routines used for conversions between character
2362         and long double.
2363
2364 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2365
2366         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2367
2368 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2369
2370         * libc/include/machine/time.h: RTEMS systems can configure clock
2371         tick rate so use sysconf() to ask.
2372
2373 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2374
2375         * libc/include/sys/times.h: Add reference to POSIX standard.
2376
2377 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2378
2379         * libc/include/sys/time.h: Added BSD timer manipulation macros
2380         used by RTEMS code.
2381
2382 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2383
2384         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2385         referenced by code generated by gcc 2.8.1.
2386         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
2387         satisfy gcc.
2388
2389 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2390
2391         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2392
2393 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2394
2395         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2396
2397 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2398
2399         * configure.host (or16, or32): New entries for OpenCores
2400         OpenRisc CPUs.
2401         (*-*-rtems*): Add -DNO_EXEC.
2402
2403 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2404
2405         * libc/include/sys/errno.h: Added comments on many error numbers.
2406         * libc/string/strerror.c: Added some more strings.
2407
2408 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
2409
2410         * libc/sys/sh/syscalls.c (_link): New stub.
2411
2412 2000-11-29  Nick Clifton  <nickc@redhat.com>
2413
2414         * configure.host: Add xscale target.
2415         * libc/machine/xscale: New directory.
2416         * libc/machine/xscale/Makefile.am: New file.
2417         * libc/machine/xscale/Makefile.in: New file.
2418         * libc/machine/xscale/aclocal.m4: New file.
2419         * libc/machine/xscale/configure: New file.
2420         * libc/machine/xscale/configure.in: New file.
2421         * libc/machine/xscale/memchr.S: New file.
2422         * libc/machine/xscale/memcmp.S: New file.
2423         * libc/machine/xscale/memcpy.S: New file.
2424         * libc/machine/xscale/memmove.S: New file.
2425         * libc/machine/xscale/memset.S: New file.
2426         * libc/machine/xscale/strchr.S: New file.
2427         * libc/machine/xscale/strcmp.S: New file.
2428         * libc/machine/xscale/strcpy.S: New file.
2429         * libc/machine/xscale/strlen.S: New file.
2430
2431 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2432
2433         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2434         avoid compiler warnings.
2435
2436 2000-11-22  Michael Meissner  <meissner@redhat.com>
2437
2438         * libc/posix/execl.c (execl): Don't reference environ directly,
2439         reference it only via a static pointer to avoid problems with some
2440         shared library systems and with different uses of small data where
2441         the user specifies his own version of environ.
2442         * libc/posix/execv.c (execv): Ditto.
2443         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2444         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2445         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2446
2447         * libc/stdlib/getenv.c (environ): Delete unused reference to
2448         environ.
2449
2450         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2451         colorization.
2452         * libc/stdlib/system.c: Ditto.
2453
2454 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
2455
2456         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2457         including windows headers.
2458
2459 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
2460
2461         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2462         * libc/include/dirent.h: Added definition of MAXNAMLEN if
2463         not defined by sys/dirent.h.
2464         * libc/posix/execvp.c: Added include of dirent.h to get
2465         MAXNAMLEN value which used to be in unistd.h.
2466
2467 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2468
2469         * libc/include/sys/types.h: Change type of i to `size_t' in
2470         FD_ZERO macro to avoid compiler warnings.
2471
2472 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
2473
2474         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2475         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
2476
2477 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2478
2479         * libc/include/sys/unistd.h: Add defines for sysconf values
2480         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2481         _SC_AVPHYS_PAGES.
2482
2483 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
2484
2485         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2486         declarations for __CYGWIN__.
2487
2488 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
2489
2490         * libc/signal/signal.c (__sigtramp_r): ISO C requires
2491         case labels to be integral constant expressions, so
2492         use an if/else tree instead.
2493         (_raise_r): Likewise.
2494
2495 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2496
2497         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2498         clipping patch from e-mail reader.
2499
2500 2000-09-13  Will Cohen  <wcohen@redhat.com>
2501
2502         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2503         Added return value 0.
2504         (_longjmp): Allow longjmp to return value of second argument
2505         passed to it.
2506
2507 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
2508
2509         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2510         inline code to prevent having to include another header file.
2511
2512 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
2513
2514         * Makefile.am: Fix space vs. tab problem in install-data-local.
2515         * Makefile.in: Regenerate.
2516
2517 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
2518
2519         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2520         (_EXPARM): New macro for defining a function parameter.
2521         * libc/include/stdlib.h: Use _EXPARM.
2522         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2523
2524 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
2525
2526         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2527         required, as documented in the gnu coding standards.
2528         * Makefile.in: Regenerate.
2529
2530 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
2531
2532         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2533         make O_NDELAY and O_NONBLOCK have the same value.
2534
2535 2000-08-30  Kazu Hirata  <kazu@hxi.com>
2536
2537         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2538
2539 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2540
2541         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2542         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2543         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2544         everywhere else.
2545
2546 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
2547
2548         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2549         * libc/include/string.h: Don't include <sys/types.h>,
2550         as it causes really bad namespace pollution.  Don't declare
2551         swab(), it is properly declared in unistd.h.
2552
2553 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2554
2555         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2556         (broken) support for non-existent /etc/passwd field "comment".
2557
2558 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2559
2560         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2561         only if _DIRENT_HAVE_D_NAMLEN is defined.
2562         (alphasort): aligned prototype with
2563         libc/sys/cygwin/sys/dirent.h and simplified function body.
2564         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2565         long telldir (DIR *) as mentioned in annex B of POSIX.1
2566
2567 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2568
2569         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2570         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2571         Added __CLI and __STI macros (controlled via
2572         _I386MACH_ALLOW_HW_INTERRUPTS macro).
2573         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2574         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2575         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2576         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2577         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2578         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2579         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2580         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2581         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2582         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2583         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2584         for all global entry points.
2585         * libc/machine/i386/setjmp.S: removed code replicated in
2586         libc/machine/i386/i386mach.h and included i386mach.h instead;
2587         Use __CLI and __STI instead of cli and sti.
2588
2589 2000-08-25  DJ Delorie  <dj@redhat.com>
2590
2591         * libc/include/sys/unistd.h (environ): this one isn't from the
2592         DLL, no __IMPORT
2593
2594 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
2595
2596         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2597         environ when compiling under cygwin since it is already declared in
2598         unistd.h.
2599
2600 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2601
2602         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2603         like  x << y-z  to the equivalent  x << (y-z).
2604         (d2b): changed if statements with assignment to perform the
2605         assignment prior to the if check.
2606         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2607         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2608         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2609         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2610         precedence.
2611         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2612         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
2613         execve.c).
2614         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2615         precedence.
2616         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2617         clarify && and || precendence (and to remove pascalism).
2618         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2619         * libm/math/s_infconst.c: added another pair of braces to all
2620         initializers for __infinity (need three: for __infinity[1] array,
2621         for union __dmath, and for i[2]).
2622
2623 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2624
2625         * libc/stdlib/abort.c: changed description: uses "raise" instead of
2626         "getpid" and "kill"; added: uses "write" and "_exit".
2627         Also included unistd.h for "_exit" prototype.
2628         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2629         reent.h for "_fork_r" and "_wait_r" prototypes.
2630         (do_system): changed  extern char *environ[] to POSIX-friendly 
2631         extern char **environ.
2632         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2633         prototypes.
2634         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2635         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2636         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2637         * libc/reent/openr.c: included fcntl.h for "open" prototype.
2638         * libc/reent/signalr.c: included signal.h for "kill" prototype,
2639         unistd.h for "getpid" prototype.
2640         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2641         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2642         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2643         prototype.  Also included stdlib.h for "abort", string.h for
2644         "strdup" and "strncmp" prototypes.
2645         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2646         "strncpy", unistd.h for "read" and "close" prototypes.
2647         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2648         "strcat" prototypes.
2649
2650 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
2651
2652         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2653         used later (ifdef __SCLE)
2654         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2655         used later (ifdef MB_CAPABLE)
2656         * libc/string/memset.c (memset): removed unused variables "count"
2657         and "unaligned_addr"
2658         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2659         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2660         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2661         and "gid"
2662
2663 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2664
2665         * libc/stdlib/envlock.c: changed documented "__env_lock" and
2666         "__env_unlock" prototype from "void *" or "char *" to
2667         "struct _reent *" to match real function.  Also added include
2668         of envlock.h.
2669         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2670         "__malloc_unlock" prototype from "void *" or "char *" to
2671         "struct _reent *" to match real function.
2672         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2673         prototypes (for getenv_r.c and setenv_r.c).
2674
2675 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2676
2677         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2678         and prototype in cygwin's utmp.h
2679
2680 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
2681
2682         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2683
2684 2000-08-09  Nick Clifton  <nickc@cygnus.com>
2685
2686         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2687         epilogue and to allow the functions to be used in a Thumb based
2688         toolchain.
2689
2690 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
2691
2692         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2693         so size of 0 results in nothing being written to string.
2694         Also fixed code so that when size is non-zero, there is only
2695         a maximum of size - 1 characters written to the array and
2696         a nul terminator is appended at the end.
2697         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2698
2699 2000-08-01  DJ Delorie  <dj@redhat.com>
2700
2701         * libc/include/sys/config.h: define __IMPORT appropriately
2702         * libc/include/ctype.h (_ctype_): use __IMPORT
2703         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2704         * libc/include/math.h (__mb_cur_max): ditto
2705         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2706         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2707         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2708         * libc/include/unistd.h (environ): ditto
2709
2710 2000-07-28  Michael Meissner  <meissner@redhat.com>
2711
2712         * libc/include/math.h (__infinity): Declare as an array without
2713         bounds to get around small data support.  Rewrite Cygwin support
2714         to be more general.
2715         * libm/math/s_infconst.c (__infinity): Ditto.
2716         * libm/mathfp/s_infconst.c (__infinity): Ditto.
2717
2718 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
2719
2720         * libc/include/math.h: Use appropriate dll import linkage for
2721         __infinity under Cygwin.
2722
2723 2000-07-13  DJ Delorie  <dj@cygnus.com>
2724
2725         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2726
2727 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
2728
2729         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2730         to argument list for AngelSWI_Reason_GetCmdLine.
2731
2732 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
2733
2734         * configure.host: Add support for AVR target.
2735         * libc/include/machine/ieeefp.h: Likewise.
2736         * libc/include/sys/config.h: Likewise.
2737
2738 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2739
2740         * README: Newlib 1.8.2 must be built in a separate directory
2741         than the sources.
2742
2743 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2744
2745         * libc/include/sys/reent.h (_rand_next): Added __extension__
2746         qualifier as long long type is not strict ANSI.
2747         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2748         to long long constant.
2749
2750 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
2751
2752         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2753         `setegid' provided by Cygwin.
2754
2755 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
2756
2757         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2758         account for Cygwin.
2759
2760 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2761
2762         * libc/include/sys/reent.h (_rand_next): Changed to
2763         unsigned long long and moved to end of _reent struct in _new union.
2764         (_REENT_INIT): Changed to move _rand_next initialization.
2765         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2766         linear congruential algorithm that is used by DJGPP.
2767
2768 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2769
2770         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2771         * libc/include/sys/config.h: Define __RAND_MAX.
2772
2773 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2774
2775         * libc/stdlib/rand_r.c: New algorithm that meets minimal
2776         standard.
2777
2778 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
2779
2780         * libc/include/string.h: Work around problem with strsignal and gdb.
2781
2782 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
2783
2784         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2785         * libc/include/malloc.h: Ditto.
2786         * libc/include/process.h: Ditto.
2787         * libc/include/stdio.h: Ditto.
2788         * libc/include/stdlib.h: Ditto.
2789         * libc/include/time.h: Ditto.
2790         * libc/include/machine/setjmp.h: Ditto.
2791         * libc/include/sys/errno.h: Ditto.
2792         * libc/include/sys/signal.h: Ditto.
2793         * libc/include/sys/stat.h: Ditto.
2794         * libc/include/sys/time.h: Ditto.
2795         * libc/include/sys/unistd.h: Ditto.
2796         * libc/include/string.h: Ditto.  strsignal should return a const char *.
2797
2798 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
2799
2800         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2801         * libm/common/s_log1p.c (log1p): Likewise.
2802         * libm/common/s_scalbn.c (scalbn): Likewise.
2803         * libm/math/e_log.c: Likewise.
2804         * libm/math/e_asin.c: Likewise.
2805         * libm/math/ef_asin.c: Likewise.
2806         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2807         * libm/math/e_j1.c (pone, qone): Likewise.
2808         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2809         * libm/math/ef_j1.c (ponef, qonef): Likewise.
2810         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2811         * libm/mathfp/e_j1.c (pone, qone): Likewise.
2812         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2813         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2814
2815 2000-05-19  DJ Delorie  <dj@cygnus.com>
2816
2817         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2818         (__sread): always read in binary mode
2819         (__swrite): always write in binary mode
2820         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2821         compatibility issues with different dll versions
2822         * libc/stdio/fopen.c: use __stextmode
2823         * libc/stdio/fdopen.c: ditto
2824         * libc/stdio/freopen.c: ditto
2825         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2826         * libc/stdio/local.h: declare __stextmode
2827         
2828 2000-05-18  DJ Delorie  <dj@cygnus.com>
2829
2830         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2831         
2832 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2833
2834         * libc/include/ctype.h: Changed tolower and toupper macros
2835         to use __extension__ to prevent pedantic warnings.
2836
2837 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
2838
2839         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2840         structures.
2841
2842 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
2843
2844         * libc/include/machine/ieeefp.h: Add ia64 support.
2845         * configure.host: Likewise.
2846
2847 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
2848
2849         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2850         month is now padded with space, not zero.  This now conforms to
2851         ANSI standard.
2852
2853 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
2854
2855         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2856         host or network path") used by cygwin. Add some comments.
2857
2858 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
2859
2860         * libc/include/stdio.h (FILE): define __SCLE for "convert line
2861         endings" for Cygwin.
2862         (__sgetc): convert line endings if needed
2863         (__sputc): ditto
2864         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2865         * libc/stdio/fopen.c (_fopen_r): ditto
2866         * libc/stdio/freopen.c (freopen): ditto
2867         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2868         * libc/stdio/fvwrite.c (__sfvwrite): ditto
2869
2870 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
2871
2872         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2873         post-increment when it is worth it, spacewise.
2874
2875 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
2876
2877         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2878         * libc/stdio/findfp.c (std): Added declaration of flags and file.
2879         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
2880         return type.
2881         * libc/stdio/putchar.c (putchar): Added return statement.
2882         * libc/stdio/refill.c (lflush): Added correct parentheses.
2883         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2884         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
2885         prints long value to use l qualifier.
2886         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2887         messages and initialized local values: ilim, ilim1, and spec_case.
2888         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2889         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2890         * libc/stdlib/mprec.c: Ditto.
2891         * libc/stdlib/setenv_r.c: Ditto.
2892         * libc/stdlib/strtod.c: Ditto.
2893         * libc/stdlib/strtol.c: Ditto.
2894         * libc/stdlib/strtoul.c: Ditto.
2895         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2896         * libm/common/sf_log1p.c: Ditto.
2897         * libm/common/sf_scalbn.c: Ditto.
2898         * libm/math/ef_log.c: Ditto.
2899
2900 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
2901
2902         * libc/posix/execvp.c (execvp): Check path for
2903         trailing slash.
2904
2905 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
2906
2907         * libc/include/sys/unistd.h: Add prototypes for
2908         fchmod, fchown, lchown.
2909
2910 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2911
2912         * acinclude.m4: Changed release to 1.8.2.
2913         * aclocal.m4 configure doc/aclocal.m4 doc/configure
2914           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2915           libc/machine/configure libc/machine/a29k/aclocal.m4
2916           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2917           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2918           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2919           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2920           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2921           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2922           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2923           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2924           libc/machine/i386/configure libc/machine/i960/aclocal.m4
2925           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2926           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2927           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2928           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2929           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2930           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2931           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2932           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2933           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2934           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2935           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2936           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2937           libc/machine/v850/configure libc/machine/w65/aclocal.m4
2938           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2939           libc/machine/z8k/configure libc/sys/aclocal.m4
2940           libc/sys/aclocal.m4 libc/sys/configure
2941           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2942           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2943           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2944           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2945           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2946           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2947           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2948           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2949           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2950           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2951           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2952           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2953           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2954           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2955           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2956           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2957           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2958           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2959           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2960           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2961           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2962           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2963           libm/aclocal.m4 libm/configure: Regenerated.
2964
2965 2000-03-24  Nick Clifton  <nickc@cygnus.com>
2966
2967         * libc/sys/arm/syscalls.c: Fix compile time warnings.
2968         (do_AngelSWI): Add "cc" to list o registers clobbered.
2969
2970 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
2971
2972         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2973         information to be clobbered by an Angel C library support syscall. 
2974
2975 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2976
2977         * libc/stdlib/envlock.c: Fixed comment typo.
2978
2979 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2980
2981         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2982         code to update nread as each character is processed instead
2983         of using buffer contents which throw away leading zeroes.
2984
2985 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
2986
2987         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2988
2989 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
2990
2991         * libc/include/string.h: Include <sys/types.h>.
2992
2993 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2994
2995         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2996         with XSH5, not SVID.
2997
2998 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
2999
3000         * libc/include/string.h: Changed last argument back to ssize_t
3001         to make it compatible with XPG4 definition which is 
3002         defined in <unistd.h>.  There is a conflict in the SVID 3
3003         and XPG4 definitions and newlib will settle with XPG4.
3004         * libc/string/swab.c: Ditto.
3005
3006 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
3007
3008         * libc/include/string.h: Changed last argument to size_t.
3009         * libc/string/swab.c: Changed last argument to size_t.
3010
3011 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3012
3013         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3014         (CHEWOUT_FILES): Added unlinkr.def.
3015         * libc/reent/Makefile.in: Rebuilt.
3016         * libc/sys.tex: Include unlinkr.def.
3017         * libc/reent/linkr.c (_unlink_r): Moved to...
3018         * libc/reent/unlinkr.c: ... new file.
3019
3020 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3021
3022         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3023         (CHEWOUT_FILES): Added swab.def.
3024         * libc/string/Makefile.in: Rebuilt.
3025         * libc/string/string.tex: Include swab.def.
3026         * libc/include/string.h (swab): Declare.
3027         * libc/string/swab.c: New file.
3028
3029 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
3030
3031         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3032         (CHEWOUT_FILES): Added getw.def and putw.def.
3033         * libc/stdio/Makefile.in: Rebuilt.
3034         * libc/stdio/stdio.tex: Include getw.def and putw.def.
3035         * libc/stdio/getw.c: New file.
3036         * libc/stdio/putw.c: New file.
3037
3038 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3039
3040         * libc/stdio/flags.c (__sflags): Added check that mode[1]
3041         is non-null before looking at mode[2].
3042
3043 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3044
3045         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3046         * libm/mathfp/sf_atan.c: Ditto.
3047
3048 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
3049
3050         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3051
3052 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
3053
3054         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3055         _DOUBLE_IS_32BITS.
3056
3057 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
3058
3059         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3060         call prior to calling _VFPRINTF_R so reentrant data area is set.
3061         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3062
3063 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
3064
3065         * libc/stdio/vfscanf.c (limits.h): #include.
3066         (MAX_LONG_LEN): #define.
3067         (__svfscanf): Handle floating point numbers with arbitrary amounts
3068         of leading zeroes.
3069
3070 2000-02-15  Nick Clifton  <nickc@cygnus.com>
3071
3072         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3073         zero.  Set the blocksize to 1024/
3074
3075 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
3076
3077         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
3078         with line buffering.
3079
3080 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
3081
3082         * acinclude.m4: Changed include directory for winsup headers. 
3083         * aclocal.m4 configure libc/aclocal.m4
3084           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3085           libc/locale/Makefile.in libc/machine/aclocal.m4
3086           libc/machine/configure libc/machine/a29k/aclocal.m4
3087           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3088           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3089           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3090           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3091           libc/machine/fr30/configure
3092           libc/machine/h8300/aclocal.m4
3093           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3094           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3095           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3096           libc/machine/i386/configure libc/machine/i960/aclocal.m4
3097           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3098           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3099           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3100           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3101           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3102           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3103           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3104           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3105           libc/machine/powerpc/configure 
3106           libc/machine/sh/aclocal.m4
3107           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3108           libc/machine/sparc/configure
3109           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3110           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3111           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3112           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3113           libc/misc/Makefile.in libc/posix/Makefile.in
3114           libc/reent/Makefile.in 
3115           libc/signal/Makefile.in
3116           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3117           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3118           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3119           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3120           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3121           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3122           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3123           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3124           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3125           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3126           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3127           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3128           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3129           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3130           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3131           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3132           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3133           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3134           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3135           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3136           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3137           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3138           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3139           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3140           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3141           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3142           libm/configure: Regenerated.
3143
3144 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
3145
3146         * libc/stdlib/putenv_r.c (_putenv_r): New file.
3147         * libc/stdlib/strdup_r.c (_strdup_r): New file.
3148         * libc/include/string.h: Added _strdup_r.
3149         * libc/stdlib/putenv.c: Added call to reentrant version. 
3150         * libc/stdlib/strdup.c: Ditto.
3151         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3152         * libc/include/stdlib.h: Ditto.
3153         * libc/stdlib/Makefile.in: Regenerated. 
3154         * libc/string/Makefile.in: Regenerated.
3155         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3156         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3157         management calls to reentrant versions.
3158         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3159         * libc/stdlib/wctomb.c: Ditto.
3160         * libc/stdlib/mblen.c: Ditto.
3161         * libc/stdlib/mbstowcs.c: Ditto.
3162         * libc/stdlib/mbtowc.c: Ditto. 
3163         * libc/stdlib/getenv.c: Ditto.
3164         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3165         and _strdup_r.
3166
3167 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
3168
3169         patch from Corinna Vinschen <corinna@vinschen.de>
3170         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3171
3172 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
3173
3174         * libm/mathfp/s_atangent.c: Fix exponent calculation.
3175         * libm/mathfp/s_ldexp.c: Ditto.
3176         * libm/mathfp/sf_atangent.c: Ditto.
3177         * libm/mathfp/sf_ldexp.c: Ditto.
3178
3179 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3180
3181         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3182         * libc/include/locale.h: define NULL to be 0.
3183
3184 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
3185
3186         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3187         function.
3188
3189 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
3190
3191         * libc/machine/mn10300/setjmp.S: Handle am33.
3192
3193 1999-11-26  Nick Clifton  <nickc@cygnus.com>
3194
3195         * libc/sys/arm/syscalls.c: Add function prototypes.
3196         (stack_ptr): Move declaration before function definitions.
3197
3198 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3199
3200         * NEWS: Updated version information.
3201         * README: Ditto.
3202
3203 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
3204
3205         * libc/machine/i386/strchr.S: Fixed alignment test.
3206
3207 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
3208
3209         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3210
3211 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3212
3213         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3214         ensuring that there is space between the two.
3215
3216 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3217
3218         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3219         only.
3220
3221 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3222
3223         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3224         section
3225
3226 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3227
3228         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3229         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3230
3231 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3232         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3233           per POSIX 1003.1b.
3234         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3235           per POSIX 1003.1b.
3236
3237 1999-09-13  DJ Delorie  <dj@cygnus.com>
3238
3239         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3240         also.
3241
3242 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3243
3244         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3245         also note BUFSIZ as its size.
3246
3247 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3248
3249         * configure.host: Corrected feature defines for RTEMS.
3250         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3251         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3252         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3253           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3254           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3255           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3256           _PC_PRIO_IO, and _PC_SYNC_IO.
3257         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3258         * libc/machine/m68k/Makefile.in: Regenerated.
3259         * libc/machine/m68k/strcpy.c: New file.
3260         * libc/machine/m68k/strlen.c: New file.
3261         * libc/stdio/tmpnam.c: Always make the returned name usable.
3262         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3263         * libc/sys/rtems/sys/dirent.h: New file.
3264         * libc/sys/rtems/sys/types.h: Added dev_t.
3265
3266 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3267
3268         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3269
3270 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3271
3272         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3273         my patch.
3274
3275 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3276
3277         patch from Jeff Johnston <jjohnstn@cygnus.com>
3278         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3279         buffer is not in a useful state.
3280
3281 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3282
3283         * libc/sys/arm/syscalls.c (_link): Add stub.
3284
3285 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3286
3287         * ftell.c (ftell): Use actual position within buffer for text mode.
3288         * findfp.c (std): Initialize ptr->_bf._size.
3289
3290 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3291
3292         * libc/include/sys/unistd.h: Add nice() declaration.
3293
3294 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3295
3296         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3297         declare as a thumb function so that the disassembler will see the
3298         mode change.
3299
3300 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3301
3302         * libc/reent/reent.tex: Updated list of reentrant functions.
3303
3304 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3305
3306         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3307         
3308 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3309
3310         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3311         separate file.
3312         * libc/stdio/snprintf.c: New file.
3313         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3314         separate file.
3315         * libc/stdio/vsnprintf.c: New file.
3316         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3317         * libc/stdio/Makefile.in: Regenerated.
3318
3319 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3320
3321         Patch submitted by Egor Duda <deo@logos-m.ru>:
3322         * libc/include/stdio.h: Add declarations for *nprintf.
3323         * libc/stdio/sprintf.c (snprintf): New function.
3324         (_snprintf_r): New function.
3325         * libc/stdio/vsprintf.c (vsnprintf): New function.
3326         (_vnsprintf_r): New function.
3327
3328 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3329
3330         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3331         * libm/Makefile.am (stmp-targetdep): Ditto.
3332         * libc/Makefile.in: Regenerated.
3333         * libm/Makefile.in: Ditto.
3334
3335 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3336
3337         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3338         * libm/Makefile.am (stmp-targetdep): Ditto.
3339         * libc/Makefile.in: Regenerated.
3340         * libm/Makefile.in: Ditto.
3341
3342 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3343
3344         * Makefile.am: Removed dependencies on all-recursive and added "."
3345         to the SUBDIRS list to prevent infinite recursion from occurring.
3346         Also removed any references to EXTRA_DATA.
3347         * libc/Makefile.am: Ditto.
3348         * libc/machine/Makefile.am: Ditto.
3349         * libc/machine/i386/Makefile.am: Ditto.
3350         * libm/Makefile.am: Ditto.
3351         * libc/sys/Makefile.am: Ditto.
3352         * Makefile.in: Regenerated.
3353         * aclocal.m4: Ditto.
3354         * configure: Ditto.
3355         * doc/Makefile.in: Ditto.
3356         * doc/aclocal.m4: Ditto.
3357         * doc/configure: Ditto.
3358         * libc/Makefile.in: Ditto.
3359         * libc/aclocal.m4: Ditto.
3360         * libc/configure: Ditto.
3361         * libc/machine/Makefile.in: Ditto.
3362         * libc/machine/aclocal.m4: Ditto.
3363         * libc/machine/configure: Ditto.
3364         * libc/machine/mn10300/Makefile.in: Ditto.
3365         * libc/machine/mn10300/aclocal.m4: Ditto.
3366         * libc/machine/mn10300/configure: Ditto.
3367         * libc/sys/Makefile.in: Ditto.
3368         * libc/sys/aclocal.m4: Ditto.
3369         * libc/sys/configure: Ditto.
3370         * libm/Makefile.in: Ditto.
3371         * libm/aclocal.m4: Ditto.
3372         * libm/configure: Ditto.
3373
3374 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3375
3376         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3377
3378 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3379
3380         * libc/include/stdlib.h: Add reentrant routines.
3381         * libc/stdlib/Makefile.am: Add reentrant routines.
3382         * libc/stdlib/Makefile.in: Ditto.
3383         * libc/stdlib/envlock.c: New file.
3384         * libc/stdlib/envlock.h: New file.
3385         * libc/stdlib/getenv.c: Modify to call reentrant routine.
3386         * libc/stdlib/getenv_r.c: New file.
3387         * libc/stdlib/mblen.c: Modify to call reentrant routine.
3388         * libc/stdlib/mblen_r.c: New file.
3389         * libc/stdlib/setenv.c: Modify to call reentrant routine.
3390         * libc/stdlib/setenv_r.c: New file.
3391         * libc/stdlib/stdlib.tex: Add reentrant routines.
3392
3393 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
3394
3395         * libc/include/sys/types.h: Define __MS_types__ whenever
3396         cygwin or win32.
3397
3398 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
3399
3400         * libc/include/machine/ieeefp.h: Always default to little
3401         endian if Windows, regardless of architecture.
3402         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3403         regardless of architecture.
3404
3405 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
3406
3407         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3408         _WIN32 isn't defined.
3409
3410 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3411
3412         * libm/common/s_rint.c (rint): Add volatile qualifier for
3413         intermediate value w.
3414         * libm/common/sf_rint.c (rintf): Ditto.
3415
3416 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3417
3418         * libc/sys/arm/syscalls.c (remap_handle): Added check to
3419         ensure that std streams are initialized before being referenced.
3420
3421 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
3422
3423         * README: Update reference to newlib@cygnus.com new
3424         newlib@sourceware.cygnus.com address.
3425
3426 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
3427
3428         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3429         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3430         defined, even if _WIN32 isn't defined.
3431
3432 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
3433
3434         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3435
3436 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
3437
3438         * libc/include/sys/reent.h: Change Long and ULong to __Long and
3439         __ULong.
3440         * libc/stdlib/dtoa.c: Ditto.
3441         * libc/stdlib/mprec.c: Ditto.
3442         * libc/stdlib/mprec.h: Ditto.
3443         * libc/stdlib/strtod.c: Ditto.
3444
3445 1999-04-21  Nick Clifton  <nickc@cygnus.com>
3446
3447         * configure.host (mcore): Remove mcore machine directory.
3448
3449 1999-04-18  Nick Clifton  <nickc@cygnus.com>
3450
3451         * libc/include/machine/ieeefp.h: Add support for mcore target.
3452         * libc/include/machine/setjmp.h: Add support for mcore target.
3453         * configure.host: Add support for mcore target.
3454
3455 1999-04-13  Mark Salter  <msalter@cygnus.com>
3456
3457         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3458         * libc/sys/arm/syscalls.c: Added isatty.
3459
3460 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3461
3462         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3463         insert zeroes after significant digits.
3464
3465 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3466         
3467         * libc/stdio/vfprintf.c (cvt): Changed floating point
3468         cvt routine to use union used by dtoa to properly determine
3469         if the sign bit is on or not.
3470         * libc/stdio/vfieeefp.h: New file
3471         
3472 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3473
3474         * aclocal.m4: Regenerated.
3475         * configure: Regenerated.
3476
3477 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3478
3479         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3480         f_tanf reference.
3481         * libc/machine/i386/Makefile.in: Regenerated.
3482
3483 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3484
3485         * acinclude.m4: Changed to work with new automake.
3486         * configure: Regenerated.
3487         * libc/machine/i386/aclocal.m4: Regenerated.
3488         * libc/machine/i386/configure: Regenerated.
3489
3490 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
3491
3492         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3493         for telldir() and seekdir().  Rename unused structure element
3494         for use with these two routines.
3495
3496 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3497
3498         * libc/time/mktime.c (validate_structure): Multiple fixes to
3499         code to handle cases where input fields are outside valid ranges.
3500         * libc/stdlib/div.c (div): Modified invalid rounding check.
3501         * libc/stdlib/ldiv.c (ldiv): Ditto.
3502
3503 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3504
3505         * libc/machine/i386/memcpy.S: Performance rewrite.
3506         * libc/machine/i386/memmove.S: Ditto.
3507         * libc/machine/i386/i386mach.h: Added more register definitions.
3508         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3509         option used.
3510         * libc/include/machine/fastmath.h: Add definitions for x86
3511         fast-math routines.
3512
3513 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3514
3515         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3516
3517 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
3518
3519         Adjust newlib headers for new Cygwin Win32 API header files:
3520         * libc/include/sys/time.h: Check _WINSOCK_H rather than
3521         _GNU_H_WINDOWS32_SOCKETS.
3522         * libc/include/sys/types.h: Ditto.
3523
3524 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3525
3526         *include/sys/reent.h: Add checks for size of Bigint element Long.
3527         *libc/dtoa.c: Change routines to use generic Long type.
3528         *libc/mprec.c: Change routines to use generic Long type.
3529         *libc/mprec.h: Change routines to use generic Long type.
3530
3531 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3532
3533         * libc/Makefile.am: Add .def files.
3534         * libc/Makefile.in: Regenerate.
3535         * libc/e_acosh.c: Documentation update.
3536         * libc/e_atanh.c: Documentation update.
3537         * libc/e_hypot.c: Documentation update.
3538         * libc/e_remainder.c: Documentation update.
3539         * libc/er_lgamma.c: Documentation update.
3540         * libc/mathfp.tex: Documentation update.
3541         * libc/s_acos.c: Documentation update.
3542         * libc/s_atan.c: Documentation update.
3543         * libc/s_atan2.c: Documentation update.
3544         * libc/s_cosh.c: Documentation update.
3545         * libc/s_fmod.c: Documentation update.
3546         * libc/s_isnan.c: Documentation update.
3547         * libc/s_log10.c: Documentation update.
3548         * libc/s_pow.c: Documentation update.
3549         * libc/w_jn.c: Documentation update.
3550
3551 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
3552
3553         * aclocal.m4: Regenerate.
3554         * configure: Regenerate.
3555
3556 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3557
3558         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3559         to return 1 if user specified return code is 0.
3560         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3561
3562 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3563
3564         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3565         to save the return address.  Fixed longjmp to return to the original
3566         calling address of setjmp and to return the user specified return code
3567         rather than default to 1.
3568         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3569
3570 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3571
3572         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3573
3574 1999-02-10  Nick Clifton  <nickc@cygnus.com>
3575
3576         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3577         volatile so that its assignments will not be discarded.
3578
3579 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3580
3581         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3582         be __STRICT_ANSI__ which is generated by compiler.
3583         * libc/include/ctype.h: Ditto.
3584         * libc/include/math.h: Ditto.
3585         * libc/include/stdio.h: Ditto.
3586         * libc/include/stdlib.h: Ditto.
3587         * libc/include/string.h: Ditto.
3588         * libc/include/sys/signal.h: Ditto.
3589
3590 1999-02-08  Nick Clifton  <nickc@cygnus.com>
3591
3592         * configure.host: Add support for StrongARM target.
3593
3594 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3595
3596         * libc/string/strncpy.c (strncpy): Removed redundant code
3597         that was copying bytes if data unaligned.
3598
3599 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
3600
3601         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3602         mbstowcs.def, and wcstombs.def.
3603
3604 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
3605
3606         * libc/include/sys/errno.h: Add Cygwin errno.
3607         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3608         is specified.
3609
3610 1999-01-29  Nick Clifton  <nickc@cygnus.com>
3611
3612         * libc/sys/arm/syscalls.c: Move C library functions into seperate
3613         file.
3614         
3615         * libc/sys/arm/libcfunc.c: New file containing C library functions
3616         from syscalls.c
3617
3618         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3619         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3620
3621
3622 1999-01-27  Michael Meissner  <meissner@cygnus.com>
3623
3624         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3625         type, and cut size in half so that the jmp_buf array is guaranteed
3626         to be aligned on a 64-bit boundary.
3627
3628 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3629
3630         * libc/string/strings.tex: Added information about
3631         strcasecmp and strncasecmp.
3632         * libc/stdlib/stdlib.tex: Added missing information
3633         about mblen, mbstowcs, and wcstombs.
3634         * libc/string/strchr.c: Changed how mask is built to use
3635         shift operators so register will be used instead of storage.
3636
3637 1999-01-22  DJ Delorie  <dj@cygnus.com>
3638
3639         * libc/include/stdlib.h: don't use dllimport if we're building
3640         newlib, since it's inside cygwin.dll
3641
3642 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
3643
3644         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3645         _ctype_ under cygwin.
3646
3647 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
3648
3649         * include/stdlib.h: Fix typo from previous checkin.
3650
3651 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
3652
3653         * include/ctype.h: Use __declspec(dllimport) method for exporting
3654         variable from cygwin DLL.
3655         * include/time.h: Ditto.
3656         * sys/errno.h: Ditto.
3657         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3658         * libc/locale/locale.c: Use __declspec(dllexport) method for
3659         exporting variable from cygwin DLL.
3660
3661 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
3662
3663         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3664         access of bogus pointer will result in SIGSEGV.
3665
3666 1999-01-07  Nick Clifton  <nickc@cygnus.com>
3667
3668         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3669         of an underscore prefix to function names.
3670
3671 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3672
3673         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3674         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3675
3676 1998-12-31  Michael Meissner  <meissner@cygnus.com>
3677
3678         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3679         to `%' if not already defined.
3680
3681 1998-12-30  Michael Meissner  <meissner@cygnus.com>
3682
3683         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3684         arguments const char *, not char *.
3685         * libc/include/stdio.h (_tempnam_r): Ditto.
3686
3687         * libc/include/sys/reent.h (struct _reent): The _sig_func type
3688         points to a function taking an integer, not void.
3689
3690 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
3691
3692         * configure.host: Add a define for Cygwin builds.
3693         * libc/include/ctype.h: Don't use dll imported variables in newlib.
3694
3695 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
3696
3697         * libc/include/ctype.h: Define _ctype_ as dll imported variable
3698         for use with Cygwin.
3699         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3700         dll imported variables for use with Cygwin.
3701         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3702         as a dll imported variable for Cygwin.
3703
3704 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
3705
3706         * libc/include/sys/unistd.h: Add proto for getpass.
3707
3708 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
3709
3710         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3711         alphasort.
3712
3713 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
3714
3715         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3716         not posix_path_list_p.
3717
3718 1998-12-15  Nick Clifton  <nickc@cygnus.com>
3719
3720         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3721         a signed int.
3722
3723 1998-12-13  Nick Clifton  <nickc@cygnus.com>
3724
3725         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3726
3727 1998-12-12  Nick Clifton  <nickc@cygnus.com>
3728
3729         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3730         <msalter@cygnus.com>
3731         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3732         * libc/machine/fr30/Makefile.in: Regenerated.
3733
3734 1998-12-11  Nick Clifton  <nickc@cygnus.com>
3735
3736         * configure.host: Remove use of libc/sys for FR30 port.
3737         * libc/sys/fr30: Remove directory (replaced by libgloss).
3738
3739 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
3740
3741         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3742         * libc/string/strncat.c (ALIGNED): Ditto.
3743
3744 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
3745
3746         * libc/include/sys/time.h: include sys/types.h
3747
3748 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3749
3750         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3751         comparison found when checking word at a time.
3752
3753 1998-12-04  Nick Clifton  <nickc@cygnus.com>
3754
3755         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3756
3757 1998-12-03  Nick Clifton  <nickc@cygnus.com>
3758
3759         * libc/sys/fr30/syscalls.c (_times): New function stub.
3760
3761 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3762
3763         * configure.host (mach_add_setjmp): Replaced mach_add_objs
3764         with mach_add_setjmp flag which indicates if setjmp should
3765         be added to the machine directory objects.
3766         * acinclude.m4: Removed reference to mach_add_objs.
3767         * aclocal.m4: Regenerated.
3768         * Makefile.in: Regenerated.
3769         * configure: Regenerated.
3770         * libc/aclocal.m4: Regenerated.
3771         * libc/Makefile.in: Regenerated.
3772         * libc/configure: Regenerated.
3773         * libc/machine/aclocal.m4: Regenerated.
3774         * libc/machine/Makefile.in: Regenerated.
3775         * libc/machine/configure: Regenerated.
3776         * libc/machine/i386/aclocal.m4: Regenerated.
3777         * libc/machine/i386/Makefile.am: Altered to selectively add
3778         setjmp.S to the src files list.
3779         * libc/machine/i386/Makefile.in: Regenerated.
3780         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3781         * libc/machine/i386/configure: Regenerated.
3782
3783 1998-12-02  Nick Clifton  <nickc@cygnus.com>
3784
3785         * libc/sys/fr30/crt0.s (_start): Fix function names.
3786
3787         * libc/machine/fr30: New directory
3788         * libc/machine/fr30/Makefile.am: New file.
3789         * libc/machine/fr30/Makefile.in: New generated file.
3790         * libc/machine/fr30/configure.in: New file.
3791         * libc/machine/fr30/configure: New generated file.
3792         * libc/machine/fr30/aclocal.m4: New generated file.
3793         * libc/sys/fr30/Makefile.am: New file.
3794         * libc/sys/fr30/Makefile.in: New generated file.
3795         * libc/sys/fr30/configure.in: New file.
3796         * libc/sys/fr30/configure: New generated file.
3797         * libc/sys/fr30/syscalls.c: New file.
3798
3799 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
3800
3801         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3802
3803 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
3804
3805         * libc/time/strftime.c (strftime): Also handle %y for years before
3806         1900.
3807
3808 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
3809
3810         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3811         UNIX convention.  Perform tolower on characters before comparing
3812         them rather than use toupper.
3813         * libc/string/strncasecmp.c (strncasecmp): Ditto.
3814
3815 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3816         
3817         * configure.host: Added using i386 machine directory
3818         for all x86 cross-compiler and configuring
3819         which added object files to use via new "mach_add_objs" variable.
3820         * configure: Regenerated.
3821         * libc/configure: Regenerated.
3822         * libc/Makefile.in: Regenerated.
3823         * libc/aclocal.m4: Regenerated.
3824         * libc/ctype/Makefile.in: Regenerated.
3825         * libc/errno/Makefile.in: Regenerated.
3826         * libc/locale/Makefile.in: Regenerated.
3827         * libc/machine/Makefile.in: Regenerated.
3828         * libc/machine/aclocal.m4: Regenerated.
3829         * libc/machine/configure: Regenerated.
3830         * libc/posix/Makefile.in: Regenerated.
3831         * libc/reent/Makefile.in: Regenerated.
3832         * libc/signal/Makefile.in: Regenerated.
3833         * libc/stdio/Makefile.in: Regenerated.
3834         * libc/stdlib/Makefile.in: Regenerated.
3835         * libc/string/Makefile.in: Regenerated.
3836         * libc/string/memmove.c: Optimized code to use memcpy
3837         logic when performing a non-destructive copy.
3838         * libc/string/strncmp.c: Altered code to allow building
3839         optimized for size or speed.
3840         * libc/syscalls/Makefile.in: Regenerated.
3841         * libc/time/Makefile.in: Regenerated.
3842         * libc/unix/Makefile.in: Regenerated.
3843         * libc/machine/i386/Makefile.am: Added new files and reference
3844         to "mach_add_objs" to indicate optional object files.
3845         * libc/machine/i386/Makefile.in: Regenerated.
3846         * libc/machine/i386/aclocal.m4: Regenerated.
3847         * libc/machine/i386/configure: Regenerated.
3848         * libc/machine/i386/memchr.S: New file that implements
3849         function in Intel assembler.
3850         * libc/machine/i386/memcmp.S: ditto.
3851         * libc/machine/i386/memcpy.S: ditto.
3852         * libc/machine/i386/memmove.S: ditto.
3853         * libc/machine/i386/memset.S: ditto.
3854         * libc/machine/i386/strchr.S: ditto.
3855         * libc/machine/i386/strlen.S: ditto.
3856         * libc/machine/i386/f_atan2.S: New file that implements
3857         fast version of math function to be used by compiler when
3858         --ffast_math compile option is used.
3859         * libc/machine/i386/f_atan2f.S: ditto.
3860         * libc/machine/i386/f_exp.c: ditto.
3861         * libc/machine/i386/f_expf.c: ditto.
3862         * libc/machine/i386/f_frexp.S: ditto.
3863         * libc/machine/i386/f_frexpf.S: ditto.
3864         * libc/machine/i386/f_ldexp.S: ditto.
3865         * libc/machine/i386/f_ldexpf.S: ditto.
3866         * libc/machine/i386/f_log.S: ditto.
3867         * libc/machine/i386/f_logf.S: ditto.
3868         * libc/machine/i386/f_log10.S: ditto.
3869         * libc/machine/i386/f_log10f.S: ditto.
3870         * libc/machine/i386/f_math.h: New file.
3871         * libc/machine/i386/f_pow.c: ditto.
3872         * libc/machine/i386/f_powf.S: ditto.
3873         * libc/machine/i386/f_tan.S: ditto.
3874         * libc/machine/i386/f_tan.S: ditto.
3875         * libc/machine/i386/i386mach.h: New file.
3876
3877 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
3878
3879         patch from Mumit Khan <khan@xraylith.wisc.edu>
3880         * libc/include/stdio.h (tempnam): Add prototype.
3881         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3882         (tempnam): Adhere to prototype.
3883
3884 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
3885
3886         * Makefile.am: Add default for AR_FLAGS.
3887         * Makefile.in: Regenerate.
3888
3889 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
3890
3891         * libc/include/time.h: move __cplusplus wrapper after includes
3892         * libc/include/sys/time.h: ditto.  If Cygwin, include
3893         sys/select.h.
3894         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3895
3896 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
3897
3898         * libc/time/strftime.c (strftime): Handle %y after year 2000.
3899
3900 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
3901
3902         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3903         abnormnal end-of-crt0 marker.
3904
3905 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
3906
3907         * libc/sys/fr30/crt0.s: New file/directory.
3908         * libc/include/machine/setjmp.h: Add FR30 target.
3909         * libc/include/machine/ieeefp.h: Add FR30 target.
3910         * configure.host: Add FR30 target.
3911
3912 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3913
3914         * libm/math: Files that are duplicated in common directory removed.
3915         * libm/math/fdlibm.h: Removed.
3916         * libm/math/s_cbrt.c: Removed.
3917         * libm/math/s_copysign.c: Removed.
3918         * libm/math/s_expm1.c: Removed.
3919         * libm/math/s_finite.c: Removed.
3920         * libm/math/s_ilogb.c: Removed.
3921         * libm/math/s_infinity.c: Removed.
3922         * libm/math/s_lib_ver.c: Removed.
3923         * libm/math/s_log1p.c: Removed.
3924         * libm/math/s_logb.c: Removed.
3925         * libm/math/s_matherr.c: Removed.
3926         * libm/math/s_modf.c: Removed.
3927         * libm/math/s_nan.c: Removed.
3928         * libm/math/s_nextafter.c: Removed.
3929         * libm/math/s_rint.c: Removed.
3930         * libm/math/s_scalbn.c: Removed.
3931         * libm/math/sf_cbrt.c: Removed.
3932         * libm/math/sf_copysign.c: Removed.
3933         * libm/math/sf_expm1.c: Removed.
3934         * libm/math/sf_finite.c: Removed.
3935         * libm/math/sf_ilogb.c: Removed.
3936         * libm/math/sf_infinity.c: Removed.
3937         * libm/math/sf_log1p.c: Removed.
3938         * libm/math/sf_logb.c: Removed.
3939         * libm/math/sf_modf.c: Removed.
3940         * libm/math/sf_nan.c: Removed.
3941         * libm/math/sf_nextafter.c: Removed.
3942         * libm/math/sf_rint.c: Removed.
3943         * libm/math/sf_scalbn.c: Removed.
3944         * libm/math/Makefile.am: Removed references to deleted files (above).
3945         * libm/math/Makefile.in: Regenerated.
3946         * libm/Makefile.am: Added common directory to math.
3947         * libm/Makefile.in: Regenerated.
3948
3949 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3950
3951         * libm/mathfp: Add non-ANSI functions.
3952         * libm/mathfp/e_acosh.c acosh(): New file.
3953         * libm/mathfp/e_atanh.c atanh(): New file.
3954         * libm/mathfp/e_hypot.c hypot(): New file.
3955         * libm/mathfp/e_j0.c j0(): New file.
3956         * libm/mathfp/e_j1.c j1(): New file.
3957         * libm/mathfp/e_remainder.c remainder(): New file.
3958         * libm/mathfp/e_scalb.c scalb(): New file.
3959         * libm/mathfp/ef_acosh.c acoshf(): New file.
3960         * libm/mathfp/ef_atanh.c atanhf(): New file.
3961         * libm/mathfp/ef_hypot.c hypotf(): New file.
3962         * libm/mathfp/ef_j0.c j0f(): New file.
3963         * libm/mathfp/ef_j1.c j1f(): New file.
3964         * libm/mathfp/ef_remainder.c remainderf(): New file.
3965         * libm/mathfp/ef_scalb.c scalbf(): New file.
3966         * libm/mathfp/er_gamma.c gamma_r: New file.
3967         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3968         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3969         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3970         * libm/mathfp/w_cabs.c cabs(): New file.
3971         * libm/mathfp/w_drem.c drem(): New file.
3972         * libm/mathfp/w_jn.c jn(): New file.
3973         * libm/mathfp/wf_cabs.c cabsf(): New file.
3974         * libm/mathfp/wf_drem.c dremf(): New file.
3975         * libm/mathfp/wf_jn.c jnf(): New file.
3976
3977 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
3978
3979         * libc/sys/cygwin32: remove directory and contents
3980         * libc/sys/cygwin: and add back, losing the "32".
3981         * configure.host: check for cygwin* instead of cygwin32.
3982         * acinclude.m4: ditto.
3983         * aclocal.m4: regenerate with aclocal
3984         * configure: regenerate with autoconf
3985
3986 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
3987
3988         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3989         for length
3990
3991 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3992
3993         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3994         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3995         to make rand/srand, strtok, asctime, localtime, w_gamma,
3996         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
3997         time.h to bring in struct tm definition.
3998         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3999         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4000         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4001         instead of static variable.
4002         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4003         struct reent instead of static variable.
4004         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4005         struct reent instead of static variable.
4006         * libm/math/Makefile.am: Removed s_signgam.o.
4007         * libm/math/Makefile.in: Regenerated.
4008         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4009         struct reent instead of global variable 'signgam'.
4010         * libm/math/w_lgamma.c (lgamma): Likewise.
4011         * libm/math/wf_gamma.c (gammaf): Likewise.
4012         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4013         * libm/math/s_signgam.c: Removed.
4014         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4015         to be const.
4016         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4017         to be const.
4018         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4019         libc/include/reent.h.
4020         * libc/reent/Makefile.in: Regenerated.
4021         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4022         to be const.
4023         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4024         'JIS_action_table' to be const.
4025         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4026
4027 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
4028
4029         * acinclude.m4:  $with_target_subdir should default to '.'
4030         or confusion results when configuring in same directory as sources.
4031         * Regenerate all aclocal.m4 and configure files.
4032
4033 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4034
4035         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4036         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
4037         for platforms where sizeof(size_t) < sizeof(long) via
4038         SIZE_T_SMALLER_THAN_LONG macro.
4039         
4040 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4041
4042         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4043         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4044         which sets _CLOCKS_PER_SEC_ for selected machines.
4045         * libc/include/machine/time.h: New file.
4046
4047 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4048
4049         * libc/syscalls/sysexecve.c: New file.
4050         * libc/syscalls/sysgettod.c: New file.
4051         * libc/syscalls/systimes.c: New file.
4052         * libc/syscalls/Makefile.am: Added new objects.
4053         * libc/syscalls/Makefile.in: Regenerated.
4054         * libc/include/_syslist.h (_execve): Moved define in file.
4055         * libc/include/reent.h:  Added _execve_r declaration.
4056         * libc/Makefile.in: Regenerated.
4057         * libc/ctype/Makefile.in: Regenerated.
4058         * libc/errno/Makefile.in: Regenerated.
4059         * libc/locale/Makefile.in: Regenerated.
4060         * libc/machine/Makefile.in: Regenerated.
4061         * libc/misc/Makefile.in: Regenerated.
4062         * libc/posix/Makefile.in: Regenerated.
4063         * libc/reent/Makefile.in: Regenerated.
4064         * libc/reent/execr.c (_execve_r): Added _execve_r function.
4065         * libc/signal/Makefile.in: Regenerated.
4066         * libc/stdio/Makefile.in: Regenerated.
4067         * libc/time/Makefile.in: Regenerated.
4068         * libc/unix/Makefile.in: Regenerated.
4069         * libm/mathfp/Makefile.in: Regenerated.
4070
4071 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4072
4073         * libc/string/Makefile.in: Regenerated.
4074         * libc/string/memchr.c (memchr): Moved code to reduce object size.
4075         * libc/string/memcpy.c (memcpy): Ditto.
4076         * libc/string/memcmp.c (memcmp): Ditto.
4077         * libc/string/memset.c (memset): Ditto.
4078         * libc/string/strchr.c (strchr): Ditto.
4079         * libc/string/strcmp.c (strcmp): Ditto.
4080         * libc/string/strcpy.c (strcpy): Ditto.
4081         * libc/string/strlen.c (strlen): Ditto.
4082
4083 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4084
4085         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4086         to generate aclocal.m4.
4087         * libm/Makefile.in: Regenerated.
4088         * libm/aclocal.m4: Regenerated.
4089         * libm/configure: Regenerated.
4090         * libm/math/Makefile.in: Regenerated.
4091         * libm/mathfp/Makefile.in: Regenerated.
4092
4093 1998-09-25  Mark Salter  <msalter@cygnus.com>
4094
4095         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4096         by adding leading and trailing underscores to symbol names.
4097
4098 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
4099
4100         * Makefile.in: Add default for AR_FLAGS.
4101
4102 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
4103
4104         patch from ian@airs.com (Ian Taylor):
4105         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4106         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4107         is needed for detecting the build machine.  Required for
4108         cygwin native builds.
4109
4110         * Regenerate all aclocal.m4 and configure files.
4111
4112 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
4113
4114         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4115         used to start with LC.
4116
4117 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4118
4119         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4120         (longjmp): Likewise.
4121
4122 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4123
4124         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4125         the test for small number of bytes.
4126
4127 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4128
4129         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
4130         math library that uses floating point algorithms instead of the old
4131         libm.
4132         * Makefile.in: Regenerate with automake version 1.3b.
4133         * configure: Rebuild.
4134         * libm/Makefile.in: Regenerate with automake version 1.3b.
4135         * libm/aclocal.m4: Regenerate.
4136         * libm/configure: Rebuild.
4137         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4138         * libm/acinclude.m4: Define macros for configure.in.
4139         * libm/config.h.in: Generate.
4140         * libm/mathfp/Makefile.am: New file.
4141         * libm/mathfp/Makefile.in: Generate.
4142         * libm/mathfp/s_acos.c (acos): New file.
4143         * libm/mathfp/s_asin.c (asin): New file.
4144         * libm/mathfp/s_asine.c (asine): New file.
4145         * libm/mathfp/s_atan.c (atan): New file.
4146         * libm/mathfp/s_atan2.c (atan2): New file.
4147         * libm/mathfp/s_atangent.c (atangent): New file.
4148         * libm/mathfp/s_ceil.c (ceil): New file.
4149         * libm/mathfp/s_copysign.c (copysign): New file.
4150         * libm/mathfp/s_cos.c (cos): New file.
4151         * libm/mathfp/s_cosh.c (cosh): New file.
4152         * libm/mathfp/s_exp.c (exp): New file.
4153         * libm/mathfp/s_fabs.c (fabs): New file.
4154         * libm/mathfp/s_finite.c (finite): New file.
4155         * libm/mathfp/s_floor.c (floor): New file.
4156         * libm/mathfp/s_fmod.c (fmod): New file.
4157         * libm/mathfp/s_frexp.c (frexp): New file.
4158         * libm/mathfp/s_infconst.c: New file.
4159         * libm/mathfp/s_isinf (isinf).c: New file.
4160         * libm/mathfp/s_isnan.c (isnan): New file.
4161         * libm/mathfp/s_ispos.c (ispos): New file.
4162         * libm/mathfp/s_ldexp.c (ldexp): New file.
4163         * libm/mathfp/s_log.c (log): New file.
4164         * libm/mathfp/s_log10.c (log10): New file.
4165         * libm/mathfp/s_logarithm.c (logarithm): New file.
4166         * libm/mathfp/s_mathcnst.c: New file.
4167         * libm/mathfp/s_modf (modf).c: New file.
4168         * libm/mathfp/s_numtest.c (numtest): New file.
4169         * libm/mathfp/s_pow.c (pow): New file.
4170         * libm/mathfp/s_scalbn.c (scalbn): New file.
4171         * libm/mathfp/s_sin (sin).c: New file.
4172         * libm/mathfp/s_sine.c (sine): New file.
4173         * libm/mathfp/s_sineh.c (sineh): New file.
4174         * libm/mathfp/s_sinf.c (sinf): New file.
4175         * libm/mathfp/s_sinh.c (sinh): New file.
4176         * libm/mathfp/s_sqrt.c (sqrt): New file.
4177         * libm/mathfp/s_tan.c (tan): New file.
4178         * libm/mathfp/s_tanh.c (tanh): New file.
4179         * libm/mathfp/sf_acos.c (acosf): New file.
4180         * libm/mathfp/sf_asin.c (asinf): New file.
4181         * libm/mathfp/sf_asine.c (asinef): New file.
4182         * libm/mathfp/sf_atan.c (atanf): New file.
4183         * libm/mathfp/sf_atan2.c (atan2f): New file.
4184         * libm/mathfp/sf_atangent.c (atangent): New file.
4185         * libm/mathfp/sf_ceil.c (ceilf): New file.
4186         * libm/mathfp/sf_copysign.c (copysignf): New file.
4187         * libm/mathfp/sf_cos.c (cosf): New file.
4188         * libm/mathfp/sf_cosh.c (coshf): New file.
4189         * libm/mathfp/sf_exp.c (expf): New file.
4190         * libm/mathfp/sf_fabs.c (fabsf): New file.
4191         * libm/mathfp/sf_finite.c (finitef): New file.
4192         * libm/mathfp/sf_floor.c (floorf): New file.
4193         * libm/mathfp/sf_fmod.c (fmodf): New file.
4194         * libm/mathfp/sf_frexp.c (frexpf): New file.
4195         * libm/mathfp/sf_isinf.c (isinff): New file.
4196         * libm/mathfp/sf_isnan.c (isnanf): New file.
4197         * libm/mathfp/sf_ispos.c (isposf): New file.
4198         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4199         * libm/mathfp/sf_log.c (logf): New file.
4200         * libm/mathfp/sf_log10.c (log10f): New file.
4201         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4202         * libm/mathfp/sf_modf.c (modff): New file.
4203         * libm/mathfp/sf_numtest.c (numtestf): New file.
4204         * libm/mathfp/sf_pow.c (powf): New file.
4205         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4206         * libm/mathfp/sf_sin.c (sinf): New file.
4207         * libm/mathfp/sf_sine.c (sinef): New file.
4208         * libm/mathfp/sf_sineh.c (sinehf): New file.
4209         * libm/mathfp/sf_sinh.c (sinhf): New file.
4210         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4211         * libm/mathfp/sf_tan.c (tanf): New file.
4212         * libm/mathfp/sf_tanh.c (tanhf): New file.
4213         * libm/mathfp/zmath.h: New file.
4214
4215 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4216
4217         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4218         exit if it has been overwritten by pre-fetching in delay slot.
4219
4220 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4221
4222         * Makefile.am (tooldir): Add in host_alias, so that multilib
4223         libraries are installed in the directory the compiler looks in.
4224         * Makefile.in: Regenerate.
4225
4226         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4227
4228 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4229
4230         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4231         ahead of test for number of bytes being moved.
4232
4233 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4234
4235         * libc/include/sys/unistd.h: Nothing special needed for
4236         _exit under cygwin.
4237
4238 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4239
4240         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4241         conform to user label naming conventions. 
4242
4243 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4244
4245         * libc/sys/cygwin32/sys/utime.h: variable names in
4246         protos should start with two leading underscores
4247         * libc/include/string.h: ditto
4248         * libc/include/sys/signal.h: ditto
4249         * libc/include/sys/stat.h: ditto
4250         * libc/include/sys/time.h: ditto
4251         * libc/include/sys/unistd.h: ditto
4252         * libc/include/ctype.h: ditto
4253         * libc/include/stdlib.h: ditto
4254         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4255         void, same with _sig_func.
4256
4257 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4258
4259         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4260         for MB_CAPABLE to reduce code size when newlib is not configured
4261         with --enable-newlib-mb.
4262         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4263         mbtowc_r.o to minimize size.
4264         * libc/stdlib/Makefile.in: Rebuild.
4265         
4266 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4267
4268         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4269         to -DREENT.
4270         * libc/sys/sparc64/Makefile.in: Rebuild.
4271         
4272 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4273
4274         * Makefile.am (MAKEOVERRIDES): Define.
4275         * Makefile.in: Rebuild.
4276
4277 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4278
4279         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4280
4281 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4282
4283         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4284         newlib_cflags when looking for targ-include.
4285         * */aclocal.m4, */configure: Rebuild.
4286
4287 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4288
4289         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4290         to "_end".
4291
4292 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4293
4294         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4295         on SPARCs with little-endian data.
4296         * libc/include/machine/ieeefp.h: Ditto.
4297
4298 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4299
4300         * acinclude.m4: Handle a relative srcdir correctly when setting
4301         newlib_cflags.
4302         * */aclocal.m4, */configure: Rebuild.
4303
4304 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4305
4306         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4307         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4308         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4309         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4310         * libm/math/wr_gamma.c (gamma_r): ditto 
4311         * libm/math/wf_sqrt.c (sqrtf): ditto 
4312         * libm/math/wf_sinh.c (sinhf): ditto 
4313         * libm/math/wf_scalb.c (scalbf): ditto 
4314         * libm/math/wf_remainder.c (remainderf): ditto 
4315         * libm/math/wf_pow.c (powf): ditto 
4316         * libm/math/wf_log10.c (log10f): ditto 
4317         * libm/math/wf_log.c (logf): ditto 
4318         * libm/math/wf_lgamma.c (lgammaf): ditto 
4319         * libm/math/wf_jn.c (jnf, ynf): ditto 
4320         * libm/math/wf_j1.c (j1f, y1f): ditto 
4321         * libm/math/wf_j0.c (j0f, y0f): ditto 
4322         * libm/math/wf_hypot.c (hypotf): ditto 
4323         * libm/math/wf_gamma.c (gammaf): ditto 
4324         * libm/math/wf_fmod.c (fmodf): ditto 
4325         * libm/math/wf_exp.c (expf): ditto 
4326         * libm/math/wf_cosh.c (coshf): ditto 
4327         * libm/math/wf_atanh.c (atanhf): ditto 
4328         * libm/math/wf_atan2f.c (atan2f): ditto 
4329         * libm/math/wf_asin.c (asinf): ditto 
4330         * libm/math/wf_acosh.c (acoshf): ditto 
4331         * libm/math/wf_acos.c (acosf): ditto 
4332         * libm/math/w_sqrt.c (sqrt): ditto 
4333         * libm/math/w_sinh.c (sinh): ditto 
4334         * libm/math/w_scalb.c (scalb): ditto 
4335         * libm/math/w_remainder.c (remainder): ditto 
4336         * libm/math/w_pow.c (pow): ditto 
4337         * libm/math/w_log10.c (log10): ditto 
4338         * libm/math/w_log.c (log): ditto 
4339         * libm/math/w_lgamma.c (lgamma): ditto 
4340         * libm/math/w_jn.c (jn, yn): ditto 
4341         * libm/math/w_j1.c (j1, y1): ditto 
4342         * libm/math/w_j0.c (j0, y0): ditto 
4343         * libm/math/w_hypot.c (hypot): ditto 
4344         * libm/math/w_gamma.c (gamma): ditto 
4345         * libm/math/w_fmod.c (fmod): ditto 
4346         * libm/math/w_exp.c (exp): ditto 
4347         * libm/math/w_cosh.c (cosh): ditto 
4348         * libm/math/w_atanh.c (atanh): ditto 
4349         * libm/math/w_atan2f.c (atan2): ditto 
4350         * libm/math/w_asin.c (asin): ditto 
4351         * libm/math/w_acosh.c (acosh): ditto 
4352         * libm/math/w_acos.c (acos): ditto 
4353
4354 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
4355
4356         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4357         (fsrc): Add wf_cabs.c and wf_drem.c.
4358         * libm/math/Makefile.in: Rebuild.
4359
4360         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
4361         unused directory variables.  Remove duplicate CFLAGS.
4362         * Makefile.in: Rebuild.
4363
4364         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4365         with $(CC_FOR_BUILD).
4366         (makedoc.o): Likewise.
4367         * doc/Makefile.in: Rebuild.
4368
4369         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4370         force a definition of COMPILE.
4371         (libfoo_a_SOURCES): Define.
4372         * libc/sys/cygwin32/Makefile.in: Rebuild.
4373         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4374         force a definition of COMPILE.
4375         (libfoo_a_SOURCES): Define.
4376         * libc/sys/tic80/Makefile.in: Rebuild.
4377
4378 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
4379
4380         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4381         flag.
4382
4383 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
4384
4385         * Build using autoconf and automake.  Added many Makefile.am and
4386         configure.in files, plus generated files.  Old configure.in files
4387         and all old Makefile.in files completely replaced.  Removed
4388         host/any.  Added acinclude.m4 and configure.host.
4389
4390 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
4391
4392         * libc/stdio/vfprintf.c: enable long long support, sometimes.
4393         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4394
4395 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4396
4397         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4398         * libc/machine/sh/Makefile.in: Add rules for new files.
4399
4400 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4401
4402         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4403         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4404         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4405
4406 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
4407
4408         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4409         code is ignored.
4410
4411 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4412
4413         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4414         internal static buffer when s is NULL, as prescribed by ANSI.
4415
4416 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
4417
4418         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4419         removed.
4420         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
4421         libc/stdlib will be used for h8300hms.
4422         
4423 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4424
4425         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4426         version that can be built either for speed or size.
4427         * libc/machine/mn10300/memset.S (_memset): ditto
4428         * libc/machine/mn10300/memchr.S (_memchr): ditto
4429         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4430         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4431         * libc/machine/mn10300/strchr.S (_strchr): ditto
4432         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4433         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4434         * libc/machine/mn10300/Makefile.in: Added entries for
4435         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
4436         strcmp.o, strcpy.o, and strlen.o.
4437
4438 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
4439
4440         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4441         been replaced with libgloss/mn10200.
4442
4443 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
4444
4445         * libc/string/strchr.c (strchr): Make s a constant pointer to
4446         avoid warning.
4447
4448 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
4449
4450         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4451         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4452         board SWIs instead of Demon board SWIs).
4453
4454 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
4455
4456         * libc/string/strncat.c (strncat):  Make -Os act the same as
4457         PREFER_SIZE_OVER_SPEED being defined.
4458
4459 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
4460
4461         * libc/string/memchr.c (memchr): Make -Os act the same as
4462         PREFER_SIZE_OVER_SPEED being defined.
4463         * libc/string/memcmp.c (memcmp): Ditto.
4464         * libc/string/memcpy.c (memcpy): Ditto.
4465         * libc/string/memset.c (memset): Ditto.
4466         * libc/string/strcat.c (strcat): Ditto.
4467         * libc/string/strchr.c (strchr): Ditto.
4468         * libc/string/strcmp.c (strcmp): Ditto.
4469         * libc/string/strcpy.c (strcpy): Ditto.
4470         * libc/string/strlen.c (strlen): Ditto.
4471         * libc/string/strncat.c (strncat): Ditto.
4472         * libc/string/strncmp.c (strncmp): Ditto.
4473         * libc/string/strncpy.c (strncpy): Ditto.
4474
4475 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
4476
4477         * libc/include/sys/itimer.h: remove
4478         * libc/include/sys/time.h: itimer stuff should be here
4479
4480 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4481
4482         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4483         bit instead of comparing to 0 so -0.0 can be printed correctly.
4484
4485 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4486
4487         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4488
4489 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
4490
4491         * libc/include/sys/unistd.h: fix sync() proto
4492         * libc/include/sys/fcntl.h: remove _close which is already
4493         defined in unistd.h.
4494         * libc/include/sys/time.h: add getitimer proto
4495
4496 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
4497
4498         * libc/string/strchr.c: convert arg to unsigned char
4499         * libc/include/stdlib.h: add protos for random, srandom
4500         * libc/include/sys/stat.h: add lstat proto
4501         * libc/include/sys/time.h: add setitimer proto
4502         * libc/include/sys/unistd.h: add readlink, symlink protos
4503         * libc/include/process.h: instead of including windows.h and using
4504         HANDLEs in sexec protos, just use void *s.  Need to include
4505         sys/types.h.
4506
4507 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
4508
4509         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4510
4511 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
4512
4513         * libc/include/process.h: add secure exec protos
4514
4515 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
4516
4517         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4518         which are accessed as both doubles and integers.
4519         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4520         * libc/stdlib/strtod.c (_strtod_r): Likewise.
4521         * libc/stdlib/mprec.h: Add "union double_union" and change
4522         word0/word1 macros to use it.
4523
4524 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
4525
4526         * libc/include/sys/signal.h: add __cplusplus wrapper
4527
4528 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
4529
4530         * libc/include/sys/utime.h: new generic file that gets replaced by
4531         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4532         function.
4533         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4534         * libc/include/time.h: remove duplicate utime proto
4535         * libc/include/utime.h: add comment
4536
4537 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
4538
4539         * libc/include/sys/time.h: Add missing include to
4540         allow use of _EXFUN.  Remove times function that is
4541         already defined in times.h.
4542
4543 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
4544
4545         * libc/include/time.h: Fix typo in tzset.
4546
4547 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
4548
4549         * libc/include/sys/time.h: add missing Cygwin32 function protos
4550         * libc/include/sys/unistd.h: ditto
4551         * libc/include/time.h: ditto
4552
4553 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
4554
4555         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4556         FIXME.
4557         * libc/include/sys/types.h: add a new __MS_types__ section
4558         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4559         __BIT_TYPES_DEFINED__.
4560
4561 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
4562
4563         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4564         since it overrides the one in libc/include/sys.  Also, start
4565         including types.h.
4566
4567 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
4568
4569         * libm/math/Makefile.in: add s_signgam.o to obj list
4570
4571 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4572
4573         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4574
4575 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
4576
4577         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4578         so don't use defines.
4579
4580 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
4581
4582         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4583
4584 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
4585
4586         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4587         _current_locale as default locale.
4588
4589 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
4590
4591         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4592         insufficient space in a chunk.
4593
4594 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4595
4596         * configure.in (links): Added check for --enable-newlib-mb configure
4597         option which defines the MB_CAPABLE macro.
4598         * libc/locale/locale.c (_setlocale_r): Added support for setting
4599         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4600         defined.
4601         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4602         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4603         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4604         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4605         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4606         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4607         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4608         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4609         * libc/stdlib/Makefile.in: Added new multibyte
4610         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4611         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4612         _mbstowcs_r(), and _wcstombs_r().
4613         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4614         for JIS, SJIS, and EUC-JP characters.
4615         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4616         MB_CAPABLE defined.
4617         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4618         MB_CAPABLE defined.
4619         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4620         MB_CAPABLE defined.
4621         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4622         if MB_CAPABLE defined.
4623         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4624         if MB_CAPABLE defined.
4625         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4626         to the format string processing when MB_CAPABLE.
4627         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4628         call _mbtowc_r().
4629
4630 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
4631
4632         The following modifications are courtesy of Anthony Thompson,
4633         athompson@cambridge.arm.com:
4634         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4635         boith RDI and RDP monitors.
4636         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4637         RDI and RDP monitors.
4638
4639 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4640
4641         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4642         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4643         (_swiopen): Fixed open flags to treat write with append as just append.
4644         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4645         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4646
4647 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4648
4649         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4650         When needing to transfer an initial 2-byte-word, store as
4651         two single bytes.
4652
4653 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4654
4655         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4656         __SH3E__ .
4657         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4658         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4659
4660 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
4661
4662         * configure.in (target_cflags): If --enable-target-optspace, use
4663         -Os to compile newlib rather than -O2.  Default to using -Os for
4664         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4665         used.
4666
4667 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
4668
4669         * libc/include/machine/setjmp.h: change sigsetjmp and
4670         siglongjmp definitions to use an array instead of a struct
4671         for __CYGWIN32__
4672
4673 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
4674
4675         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4676
4677 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4678
4679         * libc/string/strxfrm.c: fix to get correct return value
4680
4681 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
4682
4683         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4684         builds.  Make mode change labels global so that they will be seen
4685         by the debugger.
4686
4687 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
4688
4689         * configure.in (links): Do not use ARM debiugging protocols for PE
4690         builds.
4691
4692         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4693         message. 
4694
4695 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4696
4697         * libc/stdio/findfp.c (__sinit): Made stdout default to
4698         line buffered mode as defined by ANSI.
4699
4700 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
4701
4702         * libc/include/sys/itimer.h: New file.
4703
4704         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4705
4706 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4707
4708         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4709         failure.
4710
4711 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
4712
4713         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4714         insns.
4715
4716 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
4717
4718         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4719
4720 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
4721
4722         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4723         support.
4724
4725         * libc/include/machine/setjmp.h: Add D30V support.
4726
4727         * configure.in (d30v-*): Add d30v machine directory.
4728
4729 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
4730
4731         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4732         been replaced with libgloss/mn10300.
4733
4734 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
4735
4736         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4737         it is no longer needed.
4738
4739 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4740
4741         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4742
4743 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
4744
4745         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4746         the file when O_APPEND is set, wherever the EOF happens to be at
4747         that time. 
4748
4749 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
4750         
4751         patch from cgf@bbc.com (Christopher Faylor):
4752         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4753         convention of closing fp prior to attempting to open the file
4754         argument.  This allows correct operation when reopening
4755         stdin/stdout/stderr.  Replaces last freopen.c patch.
4756
4757 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
4758
4759         patch from cgf@bbc.com (Christopher Faylor):
4760         * libc/stdio/freopen.c: freopen was not preserving the fd
4761         of the stream being operated on.  This confuses programs that
4762         expect that the handles for stdout and stderr will be 1 and 2.
4763
4764 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
4765
4766         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4767
4768 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
4769
4770         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4771
4772 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4773
4774         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4775         altered to not use a branch.  Also added hint that last
4776         bclr in longjmp will likely result in branch.
4777         
4778
4779 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
4780
4781         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4782
4783 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
4784
4785         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4786         v850 builds.
4787
4788         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
4789
4790 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4791
4792         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4793         that loads FR14 to specify offset of 8 rather than 4
4794         so it loads from offset 96 (where setjmp stored it).
4795
4796 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4797
4798         * libc/machine/sh/memcpy.S: (_memcpy): Update to
4799         latest version supplied by customer.
4800         * libc/machine/sh/memset.S (_memset): Ditto.
4801
4802 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
4803
4804         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4805         PR14730). 
4806
4807 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
4808
4809         * libc/include/string.h: remove redefinition of ffs
4810
4811 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
4812
4813         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4814         defined
4815
4816 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4817
4818         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4819         TI Libraries to link to libc.a
4820         
4821 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
4822
4823         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4824         * libc/include/sys/stat.h (_{,f}stat): Ditto.
4825         * libc/include/sys/wait.h (_wait): Ditto.
4826         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4827         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4828
4829 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
4830
4831         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
4832         minded stabs so function name shows up when running the simulator
4833         with -t.
4834         * libc/sys/d10v/{crt0,trap}.S: Ditto.
4835
4836 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
4837
4838         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
4839         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4840         Use R5 where we used to use R3.
4841         
4842 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
4843
4844         * libc/stdlib/getopt.c (getopt): replaced __progname
4845         with nargv[0] to improve portability to imbedded systems.
4846
4847 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
4848
4849         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4850         patch supplied by Tont.Thompson@arm.com to fix the creation of the
4851         stdout file.
4852
4853 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
4854
4855         * libc/stdio/tmpnam.c (worker): Generate a different file name
4856         each time.
4857
4858         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4859         fails, try an execlp for sh.
4860
4861         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4862         option for the winsup include directory.
4863
4864 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
4865
4866         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4867         debugging interface from Tony.Thompson@arm.com.
4868         
4869         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4870         * libc/sys/arm/swi.h: ditto.
4871
4872 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4873
4874         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4875         DIR struct used for readdir hashes.
4876
4877 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
4878
4879         * libc/string/strchr.c: Use "unsigned chars" as necessary.
4880
4881 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
4882
4883         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4884         integer targets.
4885
4886 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
4887
4888         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4889         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4890         * libc/include/malloc.h: Add extern "C" if __cplusplus.
4891         (__malloc_copy): Declare.
4892
4893 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
4894
4895         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4896         <sys/config.h>.
4897         (POINTER_UINT): Define.
4898         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4899         (MALLOC_ALIGNMENT): Don't define if already defined.
4900         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4901         long.
4902
4903 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
4904
4905         * libc/string/memset.c (memset): Fiddle with code so that the long
4906         value being stored is not a stack value.  Unroll storing longs 4
4907         times.
4908
4909 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
4910
4911         * Reduce code size for libm modules.
4912         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4913         and simply move code into sqrt.
4914         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4915         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4916         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4917         * libm/math/wr_gamma.c (gamma_r): Likewise.
4918         * libm/math/wf_sinh.c (sinfh): Likewise.
4919         * libm/math/w_sinh.c (sinh): Likewise.
4920         * libm/math/wf_scalb.c (scalbf): Likewise.
4921         * libm/math/w_scalb.c (scalb): Likewise.
4922         * libm/math/wf_remainder.c (remainderf): Likewise.
4923         * libm/math/w_remainder.c (remainder): Likewise.
4924         * libm/math/wf_pow.c (powf): Likewise.
4925         * libm/math/w_pow.c (pow): Likewise.
4926         * libm/math/wf_log10.c (log10f): Likewise.
4927         * libm/math/w_log10.c (log10): Likewise.
4928         * libm/math/wf_log.c (logf): Likewise.
4929         * libm/math/w_log.c (log): Likewise.
4930         * libm/math/w_lgamma.c (lgamma): Likewise.
4931         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4932         * libm/math/wf_jn.c (jnf): Likewise.
4933         * libm/math/w_jn.c (jn): Likewise.
4934         * libm/math/wf_j1.c (j1f): Likewise.
4935         * libm/math/w_j1.c (j1): Likewise.
4936         * libm/math/wf_j0.c (j0f): Likewise.
4937         * libm/math/w_j0.c (j0): Likewise.
4938         * libm/math/wf_hypot.c (hypotf): Likewise.
4939         * libm/math/w_hypot.c (hypot): Likewise.
4940         * libm/math/wf_gamma.c (gammaf): Likewise.
4941         * libm/math/w_gamma.c (gamma): Likewise.
4942         * libm/math/wf_fmod.c (fmodf): Likewise.
4943         * libm/math/w_fmod.c (fmod): Likewise.
4944         * libm/math/wf_exp.c (expf): Likewise.
4945         * libm/math/w_exp.c (exp): Likewise.
4946         * libm/math/wf_cosh.c (coshf): Likewise.
4947         * libm/math/w_cosh.c (cosh): Likewise.
4948         * libm/math/wf_atanh.c (atanhf): Likewise.
4949         * libm/math/w_atanh.c (atanh): Likewise.
4950         * libm/math/wf_atan2.c (atan2f): Likewise.
4951         * libm/math/w_atan2.c (atan2): Likewise.
4952         * libm/math/wf_asin.c (asinf): Likewise.
4953         * libm/math/w_asin.c (asin): Likewise.
4954         * libm/math/wf_acosh.c (acoshf): Likewise.
4955         * libm/math/w_acosh.c (acosh): Likewise.
4956         * libm/math/wf_acos.c (asocf): Likewise.
4957         * libm/math/w_acos.c (acos): Likewise.
4958         * libm/math/wf_sqrt.c (sqrtf): Likewise.
4959         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4960         for embedded systems.
4961
4962 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
4963
4964         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4965         Lea in case of a foreign sbrk.
4966
4967 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
4968
4969         Incorporate Doug Lea's malloc:
4970         * libc/stdlib/mallocr.c: Completely replaced.
4971         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4972         (realloc): Remove.
4973         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4974         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4975         mallopt.
4976         (mallinfo, malloc_stats, mallopt): New functions.
4977         (_mstats_r): Just call _malloc_stats_r.
4978         * libc/stdlib/malign.c: New file.
4979         * libc/stdlib/mlock.c: New file.
4980         * libc/stdlib/msize.c: New file.
4981         * libc/stdlib/mtrim.c: New file.
4982         * libc/stdlib/realloc.c: New file.
4983         * libc/stdlib/valloc.c: New file.
4984         * libc/stdlib/malloc.h: Remove.
4985         * libc/stdlib/callocr.c: Remove.
4986         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4987         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4988         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4989         reallocr.o, valloc.o, vallocr.o.
4990         (CHEWOUT_FILES): Add mlock.def, mstats.def.
4991         (MALLOC_CFLAGS): New variable.
4992         (mallocr.o): New target, build from mallocr.c.
4993         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4994         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4995         (msizer.o, malloptr.o): Likewise.
4996         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4997         (valloc.o): New target.
4998         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4999         * libc/include/malloc.h: Declare struct mallinfo, and new
5000         routines.
5001         * libc/include/stdlib.h (cfree): Correct declaration.
5002
5003 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
5004
5005         * libc/include/machine/setjmp.h: Add support for Thumb target.
5006
5007         * libc/include/machine/ieeefp.h: Add support for Thumb target.
5008
5009         * configure.in (links): Add support for Thumb target.
5010
5011 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
5012
5013         * libc/sys/arm/setjmp.S: Updated with version from branch.
5014
5015 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
5016
5017         * libc/include/stdio.h: add POSIX-required define L_ctermid
5018         for ctermid
5019
5020 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
5021
5022         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5023         addition to MISSING_SYSCALL_NAMES.
5024
5025 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5026
5027         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
5028
5029 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
5030
5031         * libc/include/string.h: change strsignal proto to return
5032         a char *.  This eliminates compile problems in gdb resulting
5033         from gdb's definition of strsignal in defs.h.
5034
5035 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
5036
5037         * libc/sys/cygwin32/sys/utime.h: new (moved here from
5038         winsup/include) so as not to conflict with the one in
5039         libc/include.
5040         * libc/include/string.h: add protos for strsignal, strtosigno
5041
5042 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
5043
5044         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5045
5046         * configure.in (d30v-*-*): Add configuration.
5047
5048 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
5049
5050         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5051         to select which kind of debug monitor is in use for an ARM target.
5052
5053         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5054         Angel and Demon debug monitors.  Part of this code was supplied by
5055         Tony Thompson at ARM: athompso@arm.com.
5056
5057 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
5058
5059         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5060         semantics when the count is greater than the length of the second
5061         source string.
5062
5063 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
5064
5065         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5066         * libc/include/sys/unistd.h: add protos for usleep, truncate,
5067         truncate and ftruncate take off_t, not size_t
5068
5069 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
5070
5071         * libc/string/strcat.c (strcat): Add missing comment end.
5072         * libc/string/strncat.c (strncat): Likewise.
5073
5074 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
5075
5076         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5077         targets. 
5078         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
5079         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5080         defined.  
5081         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5082         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5083         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5084
5085 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
5086
5087         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5088         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5089
5090 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
5091
5092         * libc/machine/i386/setjmp.S: New file.
5093         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5094         (OFILES): Add setjmp.o.
5095         (setjmp.o): Add rule for.
5096         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5097
5098 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
5099                          Jeffrey A Law  (law@cygnus.com)
5100
5101         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5102         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5103         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5104         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5105
5106 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
5107
5108         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5109         rules. 
5110
5111         * libc/include/sys/config.h: Use __v850 to select v850
5112         endianness. 
5113
5114         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5115         buffer size.
5116
5117         * libc/include/machine/ieeefp.h: Use __v850 to select v850
5118         endianness. 
5119
5120 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
5121
5122         * libc/stdlib/setenv.c: change unsetenv definition to match
5123         style of setenv (with _DEFUN).  The string should be a const.
5124         * libc/include/stdlib.h: unsetenv proto should return void.
5125
5126 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
5127
5128         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5129
5130 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
5131
5132         * libc/stdio/glue.h: remove.
5133         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5134         * libc/stdio/Makefile.in: remove glue.h dependencies
5135
5136 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
5137
5138         * libc/sys/sysnecv850/crt0.S: Created V850e version.
5139         
5140 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
5141
5142         * configure.in (target_cpu): Add `arc'.
5143
5144 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
5145
5146         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
5147           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5148         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5149         * newlib/libc/reent/reent.c: Add _wrapup_reent.
5150         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5151
5152 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
5153
5154         * libc/machine/mips/setjmp.S: Handle mips16 builds.
5155
5156 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5157
5158         * libc/include/stdio.h (siprintf): Declare.
5159
5160 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
5161
5162         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5163         TARGET_CFLAGS and NEWLIB_FLAGS.
5164
5165 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5166
5167         * configure.in (links): Add support for v850ea target.
5168
5169 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5170
5171         * configure.in (links): Add support for v850e target.
5172
5173 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
5174
5175         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5176
5177 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
5178
5179         * configure.in (arc-*-*): Add support for.
5180         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5181
5182 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5183
5184         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5185
5186 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
5187
5188         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5189         comparison which accesses invalid memory when the key is
5190         larger than the last member of the array.
5191         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5192         for CYGWIN32
5193         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5194
5195 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5196
5197         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5198         not _STRICT_ANSI.
5199
5200 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
5201
5202         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5203         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5204
5205 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
5206
5207         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5208         to load/store memory.
5209
5210 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
5211
5212         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5213         underscores if _WIN32.
5214
5215 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
5216
5217         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5218         support ifdef _USE_WRITE missed in last change.
5219         From Anders Blomdell <anders.blomdell@control.lth.se>.
5220
5221 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5222
5223         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5224         (_tmpnam_r, _tempnam_r): Update.
5225
5226 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5227
5228         * libc/machine/sparc/setjmp.S: New file.
5229         * libc/machine/sparc/Makefile.in: Add setjmp.
5230         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5231
5232 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5233
5234         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5235
5236 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5237
5238         From Joel Sherrill <joel@oarcorp.com>.
5239         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5240
5241         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5242         * configure.in: Recognize *-*-rtems*.
5243         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5244         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5245         time.h,times.h,types.h}: New files.
5246         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5247
5248 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5249
5250         patch from sos@prospect.com.ru (Sergey Okhapkin):
5251         * include/sys/wait.h: correct operator precidence bug
5252         in WIFSIGNALED
5253
5254 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5255
5256         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5257         with newlib's unsetenv function
5258         * libc/sys/cygwin32/sys: new directory for includes
5259         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5260         here from winsup/include/sys
5261
5262 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5263
5264         * libc/include/sys/unistd.h: _exit should only be
5265         labelled noreturn when not __CYGWIN32__
5266         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5267         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5268         increment NSIG
5269
5270 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5271
5272         * libc/include/sys/time.h: Only define timeval and timezone if
5273         _GNU_H_WINDOWS32_SOCKETS is not defined.
5274         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5275
5276 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5277
5278         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5279         * libc/machine/mn10300/setjmp.S: Likewise.
5280
5281         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5282         the mn10300 (more relaxing opportunities).
5283
5284 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5285
5286         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5287         Build libraries with -mstrict-align.
5288
5289 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5290
5291         * libc/string/strlwr.c: New file.
5292         * libc/string/strupr.c: New file.
5293         * libc/include/string.h: Declare strlwr and strupr.
5294         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5295         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5296         (strlwr.o, strupr.o): New targets.
5297         * libc/string/strings.tex: Include strlwr and strupr docs.
5298
5299         * libc/include/sys/types.h: Don't define u_char, et. al., if
5300         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5301         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5302         _types_fd_set rather than fd_set, and define fd_set as a macro.
5303
5304         * libc/include/malloc.h: New file.
5305
5306         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5307         strnicmp if they are not already defined.
5308
5309         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5310         _timezone, _daylight, and _tzname.
5311
5312 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5313
5314         * configure.in: Sort all configuration tables.
5315
5316         From Joel Sherrill <joel@oarcorp.com>
5317         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5318
5319 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5320
5321         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5322         use int when declaring kill.
5323
5324         * libc/include/sys/timeb.h: New file.
5325
5326 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5327
5328         * libc/include/sys/time.h: add itimer support for Cygwin32
5329
5330 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5331
5332         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5333         out a message that abort was called to stderr.
5334
5335 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5336
5337         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5338         so that libio doesn't freak.
5339
5340         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5341         int.
5342
5343         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5344         memory sizes, not int.
5345
5346 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
5347
5348         * libm/math/ef_hypot.c: Use long constants where
5349         appropriate.
5350         * libm/math/ef_sqrt.c: Ditto.
5351
5352         * libc/sys/sysmec/times.c(_times): Change to times.
5353
5354         * libc/sys/sysmec/read.c(_read): The third argument is
5355         size_t.
5356         * libc/sys/sysmec/write.c (_write): Ditto.
5357
5358         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5359         (_lseek): It's off_t for the second argument.
5360
5361 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
5362
5363         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5364         as well as machine/ieeefp.h.
5365
5366 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
5367
5368         * libc/include/sys/signal.h: add signal protos for winsup
5369         functions (when __CYGWIN32__), include types.h
5370         * libc/include/sys/types.h: Change __go32_types__ internal
5371         define to __MS_types__ since it's used for more than just
5372         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
5373         defined.
5374         * libc/include/sys/unistd.h: add ftruncate proto for
5375         winsup functions (when __CYGWIN32__)
5376
5377 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5378
5379         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5380
5381 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
5382
5383         * libc/include/machine/setjmp.h: Add tic80 support.
5384         * libc/machine/tic80/setjmp.S: Likewise.
5385
5386 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
5387
5388         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5389         link programs from libraries only (such as in the X11
5390         distribution)
5391
5392 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
5393
5394         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5395         supplied elsewhere in newlib.
5396
5397 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
5398
5399         * Makefile.in (INSTALL): Change install.sh to install-sh.
5400
5401 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5402
5403         * README: update WWW address for on-line documentation.
5404
5405 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
5406
5407         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5408         increment NSIG
5409
5410 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
5411
5412         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5413         mn10300.
5414         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5415
5416 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
5417
5418         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5419         * libc/sys/d10v/syscalls.c: Likewise.
5420         * libc/sys/h8300hms/sbrk.c: Likewise.
5421         * libc/sys/h8500hms/syscalls.c: Likewise.
5422         * libc/sys/m88kbug/syscalls.c: Likewise.
5423         * libc/sys/sh/syscalls.c: Likewise.
5424         * libc/sys/sysmec/sbrk.c: Likewise.
5425         * libc/sys/sysnecv850/sbrk.c: Likewise.
5426         * libc/sys/w65/syscalls.c: Likewise.
5427         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5428
5429 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
5430
5431         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5432         emulated syscall instead of "trap".
5433
5434 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
5435
5436         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5437         not trap 0.
5438
5439 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
5440
5441         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5442
5443 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
5444
5445         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5446         not "sh".
5447         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5448         not "d10v".
5449         * libc/sys/tic80/crt0.c: New file for TIc80.
5450         * libc/sys/tic80/Makefile.in: New file for TIc80.
5451         * libc/machine/tic80/Makefile.in: New file for TIc80.
5452
5453 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
5454
5455         * libc/machine/sh/memcpy.S: New file.
5456         * libc/machine/sh/memset.S: New file.
5457         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5458
5459 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
5460
5461         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5462         for TIc80.
5463
5464 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
5465
5466         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5467         the mn10200.
5468
5469 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
5470
5471         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5472         (patch from andrew@pogo.WV.TEK.COM).
5473
5474 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
5475
5476         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5477         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5478
5479 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
5480
5481         * configure.in:  Add cases for "tic80" to set machine_dir,
5482         sys_dir, and syscall_dir.
5483
5484 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
5485
5486         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5487
5488 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
5489
5490         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5491
5492 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
5493
5494         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5495         Use proper constant prefix.
5496
5497 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
5498
5499         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5500         that loses on the mn10200 where ints and pointers are different
5501         sizes.
5502
5503 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
5504
5505         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5506         target as signal is provided in winsup.
5507
5508 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
5509
5510         * libc/include/sys/process.h: Corrected const definitions
5511         in spawn functions. Added cwait.
5512
5513 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
5514
5515         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5516         doubles.
5517         * libc/include/sys/config.h: Similarly.
5518
5519 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5520
5521         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5522         target_cflags.
5523         (i[3456]86-*-sco*): Ditto.
5524
5525         * libc/signal/Makefile.in (OFILES): Add signal.o.
5526         (CFILES): Add signal.c.
5527
5528         * libc/signal/raise.c (_raise_r): Only compile code if
5529         SIGNAL_PROVIDED is defined.
5530
5531         * libc/signal/signal.c: Redo whole file so that it works with
5532         current newlib.  Use _kill_r if no signal handler provided.
5533
5534         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5535         signal stubs.
5536         * libc/sys/sysvnecv70/Makefile.in: Ditto.
5537         * libc/sys/sysnecv850/Makefile.in: Ditto.
5538
5539         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5540         * libc/sys/sysmec/{raise,signal}.c: Ditto.
5541         * libc/sys/sysvnecv70/signal.s: Ditto.
5542         * libc/sys/sysnecv850/raise.c: Ditto.
5543
5544         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5545         simulator and debugger can tell the difference between a signal
5546         being raised and an exit system call.
5547
5548         * NEWS: Document software signals being provided.
5549
5550 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5551
5552         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5553         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
5554         include/sys/config.h.
5555         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5556         Change from 'inpure_data'.
5557         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
5558         &impure_data, not &inpure_data.
5559
5560         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5561         and and System V ABI, define so that _impure_ptr lives in the
5562         .sdata section.
5563
5564 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5565
5566         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5567         nothing if not defined.
5568         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5569         its attributes.
5570
5571         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
5572
5573 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
5574
5575         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5576         * libc/sys/sysmec/trap.s: Handle mn10200 too.
5577         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5578
5579 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
5580
5581         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5582
5583 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
5584
5585         * libc/include/sys/errno.h: Added net errno's.
5586
5587 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5588
5589         * libc/misc/ffs.c: New file to support ffs function for GCC test
5590         gcc.c-torture/execute/960909-1.c.
5591
5592         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5593
5594 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
5595
5596         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5597         * libc/sys/sysmec/trap.S: Likewise.
5598
5599 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
5600
5601         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5602         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5603
5604 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
5605
5606         * libc/sys/sysmec/signal.c: Dummy file.
5607         * libc/sys/sysmec/Makefile.in: Build it.
5608
5609 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
5610
5611         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5612         mips16.
5613
5614 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
5615
5616         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5617         c-startup and simulator traps.
5618
5619
5620         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5621         * libc/sys/sysmec/trap0.S: Likewise.
5622
5623 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5624
5625         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5626         round to double word alignment.
5627         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5628         byte alignment.
5629
5630         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5631
5632         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5633         out of memory.
5634
5635 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
5636
5637         * configure.in: Handle mn10200 and mn10300.
5638         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5639         * libc/include/sys/config.h: Likewise.
5640         * libc/sys/sysmec: New directory for mec stuff.
5641         * libc/machine/mn10300: New directory for mn10300 stuff.
5642         * libc/machine/mn10200: Similarly for mn10200 stuff.
5643
5644 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
5645
5646         * libc/sys/arm/crt0.S: Use .text, not .section .text.
5647         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5648
5649         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5650         (nlink_t): Change type from unsigned int to unsigned short.
5651         (mode_t): Ensure size is 32 bits even if int is 16.
5652         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5653         (st_spare[123]): Change type from int to long.
5654
5655 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5656
5657         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5658         byte boundary.
5659
5660         * configure.in (d10v*): Define SMALL_MEMORY.
5661
5662 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5663
5664         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5665         -mrelocatable-lib and -mno-eabi flags.
5666
5667 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
5668
5669         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5670         Fix handling of mis-aligned source operand when both the
5671         destination & length are properly aligned.
5672         
5673 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
5674
5675         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5676         times.o, time.o and gettime.o
5677         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5678         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5679         SYS_gettimeofday.
5680
5681 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
5682
5683         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5684         * libc/sys/sysnecv850/access.c: New file.
5685
5686 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
5687
5688         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5689
5690         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5691         long.
5692
5693 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
5694
5695         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5696
5697 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
5698
5699         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5700         * libc/include/sys/config.h: Add m32r support.
5701
5702 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
5703
5704         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
5705         here.
5706
5707 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
5708
5709         * libc/include/machine/setjmp.h: Add D10v support.
5710
5711 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
5712
5713         * configure.in: Configure the "libc/syscalls" directory for
5714         the v850.
5715
5716         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5717         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5718         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5719         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5720         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5721
5722 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
5723
5724         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
5725         stack for args for main and other routines.  Zero out args for
5726         main.
5727
5728         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
5729         correctly.
5730
5731 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5732
5733         * libc/stdio/findfp.c (std): Remove extraneous ';' after
5734         function.
5735
5736         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5737
5738         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5739         real system calls now.
5740
5741         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5742         before casting them to int.
5743         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5744
5745         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5746         aligning pointer.
5747         * libc/string/memset.c (memset): Ditto.
5748         
5749         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5750         first convert ints to _POINTER_INT to eliminate GCC warning.
5751
5752         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5753         processing %p.
5754
5755         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5756         from 65000 if ints are only 16 bits.
5757
5758         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5759         from 50000 if ints are only 16 bits.
5760
5761         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5762         int type that is the same size as a pointer.
5763
5764         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5765         processing %p.
5766         (get_number): Explicitly cast number to long before shifting by 16
5767         or 24, in case ints are short.
5768
5769         * libc/include/sys/config.h (_POINTER_INT): Define as short.
5770
5771 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
5772
5773         * libc/string.h: Added ffs, removed swab.
5774         * libc/sys/errno.h: Added EOPNOTSUPP.
5775         * libc/sys/unistd.h: Added swab.
5776
5777 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
5778
5779         * libc/include/sys/stat.h: Added fchmod.
5780         * libc/include/sys/unistd.h: Added fsync.
5781
5782 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
5783
5784         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5785         and ECONNRESET (104) for cygwin32.
5786
5787 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
5788
5789         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5790         do the static destructors.
5791         
5792 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
5793
5794         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
5795
5796 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
5797
5798         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5799         * configure.in: Recognize m32r-*-*.
5800
5801 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
5802
5803         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5804         __rt_stkovf_split_small): Added default software stack overflow
5805         handlers, which just call SWI_Exit.
5806         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5807         limit initialisation.
5808
5809 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
5810
5811         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5812
5813 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
5814
5815         * libc/include/sys/types.h: Added ssize_t definition.
5816         
5817 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5818
5819         * libc/machine/d10v/setjmp.S: Use ';' for comments.
5820         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5821
5822         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5823         branch around a single ldi instruction.
5824
5825         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5826         Call exit, instead of just issuing a stop instruction.
5827
5828 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5829
5830         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5831
5832 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5833
5834         * libc/stdlib/mprec.h: Explicitly declare all large constants as
5835         longs, and then cast them to __uint32_t.
5836
5837         * libc/include/sys/config.h: Protect against multiple inclusions.
5838
5839 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
5840
5841         * configure.in (d10v*): Set syscall_dir.
5842
5843 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
5844
5845         * libc/sys/d10v/crt0.S: Set stack pointer.
5846
5847 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
5848
5849         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5850         in assembly for efficiency.  Change calling convention to allow
5851         long ints to be returned.
5852
5853 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5854
5855         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5856
5857 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
5858
5859         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5860         Handle empty entries in $PATH.
5861
5862 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
5863
5864         * libc/machine/d10v/setjmp.S: Make it really work.
5865
5866 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
5867
5868         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5869         the .stack section.
5870
5871 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
5872
5873         * sys/sysnecv850/sys/file.h: Remove.
5874         * sys/sysnecv850/sys/syscall.h: New file.
5875         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5876         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5877         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5878         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5879         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5880         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5881         * sys/sysnec850/trap.S: New file.
5882         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5883         syscalls.
5884         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5885         * sys/sysnec850/sbrk.c: New version.
5886
5887 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
5888
5889         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
5890         as long as r6 is less than r7.
5891
5892 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
5893
5894         * Makefile.in (mostlyclean): Separate from clean target.  Don't
5895         remove *.a or targ-include.
5896         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5897
5898 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5899
5900         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5901         d10v.
5902         (__SMALL_BITFIELDS): Ditto.
5903
5904         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5905
5906 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
5907
5908         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5909         prefix.
5910
5911         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5912         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5913         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5914         * libc/sys/sysnecv850/write.c (write): Likewise.
5915
5916         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5917         .bss.
5918
5919 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5920
5921         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5922         appropriately for D10V, depending on -mint16/-mint32.
5923
5924 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
5925
5926         * configure.in: Add cases for D10V.
5927
5928 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5929
5930         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5931
5932 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
5933
5934         * libc/include/machine/ieeefp.h: Fix typo.
5935
5936 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
5937
5938         * libc/sys/d10v: New directory for D10V stuff.
5939         * libc/include/machine/ieeefp.h: Add D10V defines.
5940
5941 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
5942
5943         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5944         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5945         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5946         * libc/string/strerror.c (strerror): Add them.
5947
5948 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
5949
5950         * libc/sys/sysnecv850: New directory for v850 stuff.
5951
5952         * libc/machine/v850: New directory for v850 stuff.
5953         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5954
5955         * configure.in: Add support for the v850.
5956
5957         * libc/include/machine/ieeefp.h: Add v850 defines.
5958         * libc/include/machine/setjmp.h: Likewise.
5959         * libc/include/sys/config.h: Add v850 defines.
5960
5961 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
5962
5963         * libc/include/machine/ieeefp.h
5964         * libc/include/machine/setjmp.h
5965         * libc/include/sys/fcntl.h
5966         * libc/include/sys/signal.h
5967         * libc/include/sys/types.h
5968         * libc/stdlib/system.c:
5969         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5970         API availability, __CYGWIN32__ for cygwin32 environment specific).
5971
5972 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
5973
5974         * libc/include/stdlib.h: add multibyte character functions.  Add
5975         __eprintf for assert.
5976
5977 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5978
5979         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5980         arithmetic or __alignof__ to properly get the alignment, instead
5981         of hardwiring it to 4.
5982
5983 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
5984
5985         * libc/stdio/fseek.c: add fflush call to adjust seek offset
5986         on append stream (fix from NetBSD sources), adjust curoff offset
5987         for ungetc's benefit.
5988         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5989         * libc/stdio/rewind.c: replace code with up to date NetBSD
5990         code to undo hacks made to work around above problem of not
5991         having fflush call mentioned above
5992
5993 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5994
5995         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5996         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5997         Partially revert last changes.  The thread specific errno is set
5998         iff if the underlying syscall fails and the global errno is not
5999         zero.
6000
6001 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6002
6003         * libc/reent/filer.c: Removed files, all functions have split out
6004         into their own files.
6005         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
6006         New files containing functions formally in filer.c
6007         * libc/reent/Makefile.in: Updated for above change.
6008
6009         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6010         syscall fails, not if errno is changed.
6011         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
6012         _write_r): Likewise.
6013         * libc/reent/fstatr.c (_fstat_r): Likewise.
6014         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6015         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6016         * libc/reent/signalr.c (_kill_r): Likewise.
6017         * libc/reent/statr.c (_stat_r): Likewise.
6018         * libc/reent/timer.c (_gettimeofday_r): Likewise.
6019
6020         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6021         signalr.c, statr.c, timer.c} (errno): declare extern rather
6022         than as a common.
6023
6024         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6025         instead of calling vfprintf so that i*printf will not require
6026         floating point support code.
6027         
6028 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
6029
6030         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6031         path delimiter.
6032         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6033         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6034
6035 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
6036
6037         * libc/include/signal.h: _sig_func_ptr function takes an int
6038         * libc/include/sys/signal.h: sa_handler function takes an int
6039
6040 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
6041
6042         * libc/include/machine/ieeefp.h: Simplify H8/S support.
6043         * libc/include/sys/config.h: Add missing H8/S conditional.
6044
6045 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
6046
6047         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6048
6049 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
6050
6051         * libc/include/machine/setjmp.h: Handle H8/S.
6052         * libc/include/machine/ieeefp.h: Likewise.
6053         * libc/include/sys/config.h: Likewise.
6054         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6055         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6056         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6057         * libc/sys/h8300hms/crt0.S: Likewise.
6058
6059 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
6060
6061         * Makefile.in (datadir): Set to $(prefix)/share.
6062         (oldincludedir, docdir): Removed.
6063         * doc/Makefile.in (datadir): Set to $(prefix)/share.
6064         (oldincludedir, docdir): Removed.
6065         * libc/Makefile.in (datadir): Set to $(prefix)/share.
6066         (oldincludedir, docdir): Removed.
6067         * libm/Makefile.in (datadir): Set to $(prefix)/share.
6068         (oldincludedir, docdir): Removed.
6069
6070 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
6071
6072         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6073         _reent struct.
6074
6075 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
6076
6077         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
6078         fetch current path rules with sysconf and handler posix/win32
6079         appropriately.
6080
6081         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6082
6083         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6084         (WAIT_CHILD): Always define.
6085
6086 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
6087
6088         * libc/stdlib/eprintf.c: New file.
6089         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6090         (eprintf.o): New target.
6091
6092 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
6093
6094         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6095         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6096
6097 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
6098
6099         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6100         NT in PowerPC endianess cases.
6101
6102 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6103
6104         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6105
6106 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6107
6108         * libc/string/strtok.c: Fix doc typo.
6109
6110 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6111
6112         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6113         _next, _scanpoint, _signgam fields.
6114
6115         * libc/include/stdlib.h (rand_r): Added new declaration.
6116         (_rand_r, _srand_r): Removed declarations.
6117         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6118         have been made obsolete by rand_r.
6119         * libc/stdlib/rand_r.c: New file, rand_r function as specified
6120         by POSIX.1c.
6121         
6122         * libc/string/strtok.c: Update documentation to describe
6123         strtok_r().
6124
6125 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
6126
6127         * libc/include/sys/stat.h (stat structure): Use the expanded stat
6128         structure on Solaris, and PowerPC systems even though __svr4__ is
6129         defined.
6130
6131 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6132
6133         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6134
6135 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6136
6137         * host/any: Use ../.. rather than .. to get to the main build
6138         directory.  This matches the current layout of the build
6139         directory.
6140
6141 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
6142
6143         * libc/machine/h8300/__main.S: Delete.  No longer needed.
6144         * libc/machine/h8300/Makefile.in: Corresponding changes.
6145         * libc/sys/h8300hms/crt1.c: New file.
6146         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6147         * libc/sys/h8300hms/crt0.s: Call __main.
6148
6149         * libc/sys/h8300hms/crt0.S: Use temporary label names
6150         for branch targets.
6151
6152 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
6153
6154         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6155
6156 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6157
6158         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6159         .sdata on the PowerPC so that we can link newlib with code
6160         compiled with -msdata.
6161
6162 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
6163
6164         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6165
6166 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
6167
6168         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6169         exception handler to __cygwin_exception_handler.
6170
6171 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
6172
6173         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6174
6175 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
6176
6177         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6178         SunOS VPATH.
6179         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6180         wcstombs.o): Likewise.
6181
6182 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
6183
6184         * libc/stdlib/environ.c (initial_env): New static local.
6185         (environ): Point to `initial_env'.
6186
6187         * libc/include/machine/setjmp.h: Clean up.
6188         (__H8300H__,__PPC__): Define _JBTYPE.
6189         (__arm__): Provide entry for.
6190         (sigjmp_buf): Delete.
6191         (jmp_buf): Use _JBTYPE if defined, otherwise int.
6192
6193 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
6194
6195         * libc/machine/h8300/strcmp.S: Sign extend the result to
6196         32bits so we don't lose with -mint32.
6197
6198 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
6199
6200         * libc/sys/go32/sys/errno.h: New file.
6201         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6202         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6203         errno's address (make compatible with rest of newlib).
6204         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6205         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6206
6207 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6208
6209         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6210         * libc/machine/sparc/Makefile.in: Build them.
6211         * libc/machine/sparc/machine/sparclet.h: New file.
6212
6213 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6214
6215         * libc/machine/sh/asm.h: New file.
6216         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6217         support for SH3e's FP registers.  Use asm.h.
6218
6219 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6220
6221         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6222         as first argument.  Call _dtoa_r and pass the reent structure
6223         instead of calling __dtoa.
6224
6225 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6226
6227         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6228         the h8300, h8500, and others.  Add comments for some rather
6229         dubious code.
6230
6231 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6232
6233         * Makefile.in (check): Check that testsuite exists before cd.
6234
6235 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6236
6237         * libc/include/string.h (strsep): Correct prototype.
6238
6239 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6240
6241         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6242         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6243         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6244
6245 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6246
6247         * libc/posix/{creat.c,isatty.c}: New files.
6248         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6249
6250         * libc/sys/sparc64/crt0.S (environ): Delete.
6251         (.LHaveBias): Renamed from HaveBias.
6252
6253 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6254
6255         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6256         (_morecore_r): Delete SBRK_IS_ALLOC support.
6257
6258 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6259
6260         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6261         module rather than touch, so we don't get warning messages when
6262         all of the libraries are combined into libc.a.
6263
6264 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6265
6266         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6267         crt0.s replaced by version in libgloss.
6268
6269 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6270
6271         * libc/reent/Makefile.in (OFILES): Add impure.o.
6272         * libc/reent/impure.o: New file, define initial reentrancy struct.
6273         * libc/reent/reent.c: Remove above definition.
6274
6275         * libm/math/sf_asinh.c: Fix typo.
6276
6277         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6278         srf_ldexp.o.
6279         
6280         * libm/libm.texinfo: Change documentation to reflect changes
6281         in reentrancy model.
6282         * libm/math/w_gamma.c: Likewise.
6283
6284 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6285
6286         * configure.in (*-*-cygwin32): New.
6287         (*-*-win32): Deleted.
6288         * libc/sys/win32 renamed libc/sys/cygwin32.
6289
6290 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6291
6292         * libc/include/sys/file.h: New include file.
6293
6294 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6295
6296         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6297
6298 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6299
6300         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6301
6302 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6303
6304         * doc/makedoc.c (realloc): Declare at file scope.
6305         (catchar): Not here.
6306
6307 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6308
6309         * Makefile.in (VERSION): Update to 1.7.0.
6310         * {libc,libm}/Makefile.in (VERSION): Likewise.
6311         * configure.in: Minor clean up of multilib stuff.
6312
6313         From David Johnson <davidj@ICSI.Berkeley.EDU>
6314         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6315
6316         * libc/stdlib/environ.c: New file.
6317         * libc/stdlib/Makefile.in (OFILES): Build it.
6318         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6319         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6320         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6321         * libc/sys/netware/environ.c: Deleted.
6322
6323 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6324
6325         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6326
6327 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6328
6329         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6330         declaration out to external scope and declare it PTR, not char *.
6331
6332 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6333
6334         * libc/include/sys/unistd.h (getpagesize): New declaration.
6335         (_SC_PAGESIZE): New definition.
6336         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6337         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6338
6339 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6340
6341         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6342         addressing. System call returns size, not (last address + 1).
6343
6344 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6345
6346         * libm/math/*.c: Removed _foo_r() reentrancy API.
6347         * libc/include/math.h: Removed _foo_r prototypes and macros.
6348
6349         * libm/math/*.c: On systems with IEEE single precision "doubles" 
6350         move foo() -> foof() wrapper code from the files that implement
6351         the standard IEEE double precision functions to the files that 
6352         implement IEEE single precision functions. (ie. On those systems
6353         sin is moved from s_sin.c to sf_sin.c).  There should eventually
6354         be use of a C extension (like gcc's alias attribute) so that the
6355         wrappers are not needed at all.
6356
6357         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6358         strict NEC V810 compiler.
6359         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6360         for same reason.
6361
6362 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6363
6364         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6365         from NetBSD C library.
6366         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6367
6368         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
6369         and adapted from implementation I wrote for NetBSD C library.
6370         The difference is __assert doesn't take a format argument,
6371         so that there won't be multiple copies of the same string
6372         constant in the executable if assertions are enabled in
6373         more than one source module.
6374         * libc/include/assert.h (assert): Changed to call __assert.
6375
6376 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6377
6378         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6379         word1 on systems with 32 bit doubles.
6380         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6381         so that we can do arithmetic on them.
6382         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6383         compilers.
6384         
6385 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6386
6387         * libc/sys/arm/crt0.S: Zero bss.
6388
6389 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
6390
6391         * libc/include/unctrl.h: New file.
6392         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6393         * configure.in (subdirs): Add libc/misc.
6394         * libc/Makefile.in (SUBDIRS): Add misc.
6395         (SUBLIBS): Add misc/lib.a.
6396
6397         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6398
6399 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
6400
6401         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6402         (_vfprintf_r): Call CHECK_INIT.
6403
6404 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
6405
6406         * Makefile.in (MULTITOP): Delete.
6407         (MULTISRCTOP, MULTIBUILDTOP): Add.
6408         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
6409         instead of cfg-ml-pos.in.
6410
6411 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6412
6413         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6414         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6415         presence.
6416
6417 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
6418
6419         * libc/string/strtok.c: Include string.h to pick up strtok_r
6420         prototype.
6421
6422 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6423
6424         * libc/string/strtok.c: include <_ansi.h>.
6425         * libc/time/asctime_r.c: `reresult' -> `result'.
6426
6427 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6428
6429         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6430         in #ifndef _REENT_ONLY ... #endif conditional.
6431
6432         * libc/include/string.h (_strtok_r): Remove declaration.
6433         * libc/include/time.h (_asctime_r): Remove declaration.
6434         * libc/string/strtok.c (_strtok_r): Removed.
6435         * libc/time/asctime.c (_asctime_r): Removed.
6436
6437         * libc/string/Makefile.in (OFILES): Add new object.
6438         * libc/string/strtok_r.c: New file.  strtok_r function as
6439         specified by POSIX.1c, adapted from strtok implementation 
6440         from NetBSD C library.
6441         * libc/string/strtok.c (strtok): Reimplemented in terms of 
6442         strtok_r.
6443
6444         * libc/time/Makefile.in (OFILES): Add new objects.
6445         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6446         New files, reentrant time functions specified by POSIX.1c.
6447         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6448         reentrant time functions re-written in terms of reentrant 
6449         functions.
6450         * libc/time/lcltime.c: Renamed from localtime.c
6451
6452         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6453         gmtime_r, and localtime_r.
6454
6455 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
6456
6457         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6458         * libc/include/sys/unistd.h (getlogin): Revert change of
6459         Oct 19.
6460         * libc/include/sys/signal.h (sigprocmask): Change prototype
6461         so it compiles with c++.
6462
6463 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
6464
6465         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6466         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
6467         to give some room in case we need to align the jmp_buf.
6468         
6469         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6470         the new ppc-asm.h include file the compiler provides to specify
6471         function prologue/epilogue.  Eliminate saves of the xer and ctr
6472         registers, which are volatile.  Before starting to save registers,
6473         align to 8 byte boundary.
6474
6475 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6476
6477         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6478         referenced by standard libraries.
6479
6480 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
6481         
6482         * libc/unix/Makefile.in, libc/string/Makefile.in,
6483         libc/stdio/Makefile.in, libc/reent/Makefile.in,
6484         libc/posix/Makefile.in:
6485         Remove tabs from otherwise empty line.  Confuses some
6486         older non-GNU versions of "make".
6487
6488 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6489
6490         * libc/sys/unistd.h (getlogin): Returns const char *.
6491
6492 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
6493
6494         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6495         * libc/include/errno.h: Moved into and include...
6496         * libc/include/sys/errno.h: New file.
6497         * libc/include/sys/wait.h: New file.
6498         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6499         * libc/sys/win32/*: Moved out.
6500         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6501         * configure.in (i[345]86-*-win32): HAVE_RENAME
6502
6503 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
6504
6505         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6506         avoid macro expansion for these two names.
6507
6508 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
6509
6510         * libc/machine/h8500/psi.S: r6 renamed to fp.
6511
6512 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6513
6514         * configure.in (powerpc*): No longer need to define
6515         NO_LONGLONG_POINTERS to supress warnings.
6516
6517 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6518
6519         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6520         through PTR instead of directly.
6521
6522         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
6523         non-standard constructor support.
6524
6525 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6526
6527         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6528         address of the Bigint instead of the address of its _x field,
6529         as the size the result buffer was calculated accordingly.  
6530         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6531
6532         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6533         from NetBSD C library.  No longer special cases division by 
6534         zero (which needs to be done by the application anyway), but
6535         it doesn't need to call abs() (or labs()) four times either.
6536         
6537         * libc/stdlib/qsort.c: Replaced with implementation from 
6538         NetBSD C library.
6539
6540 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6541
6542         * libc/stdio/vfprintf.c: Replaced with implementation from
6543         NetBSD C library (which is derived from the 4.4BSD C library).
6544         * libc/stdio/cvt.c: Removed.
6545         * libc/stdio/Makefile: Updated.
6546         
6547 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
6548
6549         * libc/sys/win32/syscalls.c (rename): New.
6550         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6551
6552 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6553
6554         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6555         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6556
6557         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6558         (setjmp.o): Delete rule to build setjmp.o.
6559         * libc/sys/sh/setjmp.S: Delete file.
6560
6561 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6562
6563         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6564         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6565         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
6566         pow5mult and s2b to identifiers with leading underscores.
6567         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6568         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
6569
6570 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
6571
6572         * libc/sys/posix/popen.c (sys/types.h): Include.
6573
6574 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
6575
6576         * libc/sys/win32/syscalls.h (fhandler): New struct.
6577         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6578         (__fhandler_normal): Declare.
6579         (hinfo): New member op_handlers.
6580         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6581         (__write): Likewise.
6582         (_read, _write, _open, _close, _lseek): Validate fd here.
6583         Move file type specific stuff to foo_normal.
6584         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6585         New functions.
6586         (__lookup_fhandler): New function.
6587         (__lookup_fhandler_hook, __fhandler_normal): New variables.
6588
6589         From anders.blomdell@control.lth.se (Anders Blomdell)
6590         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6591         Don't touch standard handles.
6592         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6593         (_execve): Only create __FD_TABLE__ if necessary.
6594         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6595
6596 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
6597
6598         * libc/sys/win32/sys/termios.h (FLUSHO): New.
6599         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6600         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6601         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6602         without a handler is received.
6603         * libc/sys/win32/Makefile.in: Remove --nodelete.
6604         * libc/sys/win32/resouce.c (gettimeofday): New.
6605         * libc/sys/win32/syscalls.c (path_to_real_path): New.
6606         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6607
6608 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
6609
6610         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6611         Don't append "/*" to search pattern if trailing '/' already there,
6612         append "*".
6613         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6614         like /'s, convert them to \'s.  Handle //<drive>/ path names.
6615         Add space for quoted \'s in arg string.  Print translated prog name
6616         and original prog name.
6617         (_execve): Handle parent doing exec a teensy bit better.
6618         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6619         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6620         path needs conversion, handle both cases.  Delete `const' from result.
6621         (hash_path_name): New function.
6622         (_open): Call it.
6623         (_stat): Likewise.  Fill in more fields for directories.
6624         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6625         (wait_for_any): Fix trace message.
6626         (waitpid): Explicitly test for intpid == 0.
6627
6628         From anders.blomdell@control.lth.se (Anders Blomdell)
6629         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6630         so `next' is valid.
6631
6632 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
6633
6634         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6635         complicated.
6636
6637 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
6638
6639         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6640         at all, not just == 1.
6641         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6642
6643 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6644
6645         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6646         * libc/sys/win32/include/wintypes.h: include <winnt.h>
6647         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6648         file.
6649
6650 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6651
6652         * libc/sys/syscalls.c (getcwd): Fix off by one error.
6653
6654         * libc/sys/signal.c (sleep): Fill it in.
6655         * libc/sys/termios.c (tcflush): Use PurgeComm
6656         (tcsetattr): Set some more of the bits.
6657         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6658
6659 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
6660
6661         * libc/sys/arm/crt0.S (fp): Initialize to 0.
6662         Conditionally include .idata$3 stuff ifdef __pe__.
6663
6664 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6665
6666         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6667         * libc/sys/win32/pipe.c (pipe): Ditto.
6668         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
6669         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6670         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6671         (tcgetattr): Contents are new.
6672         * libc/sys/win32/include/winkernel.h (DCB): New.
6673         (GetCommState, SetCommState): New.
6674
6675 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
6676
6677         * libc/sys/arm/crt0.S (_start): Define.
6678
6679 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
6680
6681         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6682         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6683
6684         * libc/sys/win32/sysconf.c: New
6685         * libc/sys/win32/sys/winadvapi.h: New
6686         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6687         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6688         * libc/sys/win32/pipe.c (pipe): Ditto.
6689         * libc/sys/win32/signal.c (_raise): New.
6690         (_kill): Moved from spawn.c
6691         * libc/sys/win32/spawn.c (kill): Moved to signal.c
6692         * libc/sys/win32/syscalls.c (__read): Use new fields.
6693         (_open): Ditto.
6694         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6695         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6696         * libc/include/sys/unistd.h (rmdir): Takes const path.
6697         * libc/include/sys/stat.h (mkdir): Takes const path.
6698         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6699
6700 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6701
6702         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6703
6704         Add support for specifying paths as //<drive>/foo/bar.
6705         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6706         (__path_to_real_path): Declare.
6707         (PATH_TO_REAL_PATH): New macro.
6708         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6709         (__path_needs_conversion_p, __path_to_real_path): New functions.
6710         (_open): Fix test for error return from CreateFileA.
6711         Handle new path syntax.
6712         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6713         * libc/sys/win32/dirsearch.c (opendir): Likewise.
6714
6715 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
6716
6717         * libc/sys/win32/include/*.h: Reorganized
6718         * libc/sys/win32/include/WINREADME: New.
6719         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6720         * libc/sys/win32/*.c: Fix for new include scheme.
6721         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6722         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6723         * libc/sys/win32/passwd.c (*): Fix.
6724         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6725         (_stat): Get directory owner and permissions right.
6726         * libc/sys/win32/syscalls.h (uinfo): New.
6727         * libc/sys/win32/version.def: Remove leading underscores.
6728
6729 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6730
6731         * libc/sys/win32/key.c: include "include/wincon.h".
6732
6733 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6734
6735         * libc/sys/win32/{key, stubs}.c: New.
6736         * libc/sys/win32/Makefile: Adjust to cope.
6737         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6738         (environ_init): Change env names to upper case.
6739         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6740         * libc/sys/win32/passwd.c (*): Fill in the functions.
6741         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6742         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6743         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6744         (_open): Initialze hmap->execable_p too.
6745         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6746         (_fstat): Fill in permissions.
6747         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6748
6749 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6750
6751         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6752         if defined.
6753         (cfg-ml-pos.in invocation): Likewise.
6754
6755 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6756
6757         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6758         s_isnan.o and sf_isnan.o.
6759
6760 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
6761
6762         * All Makefile.in files: added maintainer-clean target as a
6763         synonym for realclean.
6764
6765 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
6766
6767         * libc/include/machine/setjmp.h: Add hppa support.
6768         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6769         support.
6770         * libc/machine/hppa/Makefile.in: Related changes.
6771
6772 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6773
6774         * configure.in (machine_dir): Don't set for v810-*-*.
6775
6776 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6777
6778         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6779         conventions correctly.
6780
6781 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6782
6783         * libc/stdio/puts.c: Update documentation of return value to match
6784         ANSI standard.
6785
6786 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
6787
6788         Fix file descriptor inheritance.
6789         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6790         (NOT_OPEN_FD): Fix.
6791         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6792         close-on-exec flag not set.  Initialize child's entire fd table.
6793         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6794         CHILD_P.
6795         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6796         if CHILD_P.  Initialize entire hmap entry.
6797         (dup): Only create new handle as inheritable if CHILD_P.
6798         (dup2): Likewise.  Properly initialize hmap entry.
6799
6800         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6801         _spawn.
6802         (_exit): Use CHILD_P.
6803         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6804         (_stat): Likewise.
6805
6806 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6807
6808         * libc/sys/win32/crt0.c (passover): fix up the state table.
6809         * libc/posix/popen.c: Added.
6810         * libc/posix/Makefile.in: compile popen.c.
6811         
6812 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
6813
6814         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6815         h8/500 define _DOUBLE_IS_32BITS.
6816
6817 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
6818
6819         Get vfork/exec/spawn/cwait/wait working again.
6820         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6821         (procinfo): New member vfork_level.
6822         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6823         (vfork_init_first): Use GetCurrentProcessId to get pid.
6824         Initialize vfork_level.
6825         (vfork_init): Delete __PID__.
6826         (environ_init): New function.  Undo patch of Aug 19, Posix says
6827         environment variables are case sensitive.
6828         (mainCRTStartup): Call it.
6829         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6830         (my_longjump: Make static.
6831         (_spawn): New argument `h'.  Delete setting of __PID__.
6832         Delete local `idx'.  Look for chars that need quotes, rather than
6833         ones that don't.  Set handle of created process in `h'.
6834         Result is process id if created task.
6835         (allocate_spawn_entry): New function.
6836         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
6837         (_execve): Set __FD_TABLE__ before spawning child.
6838         Scan our fd table when passing fds, not our parent's.
6839         Store handle and pid in procinfo entry.
6840         (vfork0): Ensure strace message always printed.
6841         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6842         (vfork): Don't clobber result of vfork0.
6843         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6844         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6845
6846         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6847         and `exit_code'.
6848         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6849         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
6850         adding vfork level to pseudo-pid.  
6851         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6852         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6853         (_exit): If child, set exit code.
6854         (__vfork_record_death): Only close process handle if valid.
6855         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6856         didn't exec.
6857         (wait_for_any): Likewise.  Start scan after root entry.
6858
6859 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6860
6861         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6862         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6863         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6864         of actual file length.
6865
6866         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6867         * libc/include/paths.h: _PATH_BSHELL added.
6868         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6869         and STDERR_FILENO.
6870
6871 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6872
6873         * libc/include/ar.h: Added.
6874         * libc/include/sys/types.h: ino_t goes back to 32-bits.
6875         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6876         * libc/sys/win32/syscalls.c (_open): compute .namehash based
6877         on filename.
6878         (_fstat): use .namehash for inode number of the fd.
6879
6880 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
6881
6882         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6883          Change hinfo to __this_procinfo.
6884         * libc/sys/win32/crt0.c: Remove procinfo_list.
6885
6886 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6887
6888         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6889         win32 environment.
6890
6891 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6892
6893         * libc/sys/win32/include/grp.h: Removed.
6894         * libc/sys/include/grp.h: Added.
6895         * libc/sys/win32/grp.c: Include <grp.h>.
6896
6897 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6898
6899         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6900         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6901         Defined for all but strict ANSI.
6902         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6903         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6904         * libc/signal/signal.c (_signal_r): Changed from using
6905         _MAX_SIGNALS to NSIG.  
6906         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6907          __hmap): Deleted.
6908         (__strace, __vfork_next_pid): New.
6909         (__exe_suffix): Default to 1.
6910         (passover, table): Understand quoted arguments.
6911         (vfork_init_first): New.
6912         (vfork_init): Initialize new process structure.
6913         (mainCRTStartup): Pass environ to main.
6914         * exceptions.c (__sig_mask): New
6915         (ehandler3): Ignore signals in mask.
6916         (really_exit): Remove CHILD_P test.
6917         * pipe.c (pipe, dup, dup2): Use new process and file structure.
6918         * resource.c (getrusage): Ditto.
6919         * signal.c (sigprocmask): New.
6920         * spawn.c (*): Rewritten.
6921         * syscalls.c (*): Use new process and file structure.
6922         (find_unused_handle): New.
6923         * syscalls.h (MAX_HANDLES): Deleted.
6924         (hinfo): Removed child_created_p.
6925         (MAX_CHILDREN): Deleted.
6926         (vfork_jmp_info, procinfo): New.
6927         * wait.c (*): Mostly new.
6928         * sys/strace.h (_STRACE_PARANOID): New.
6929         * sys/param.h: New file.
6930
6931 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6932
6933         * libc/include/sys/stat.h: add S_BLKSIZE.
6934         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6935         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6936         types under win32.
6937         (mode_t): add a #else to avoid multiple definitons.
6938
6939         * libc/sys/win32/Makefile.in: add grp.c.
6940         * libc/sys/win32/grp.c: include grp.h correctly.
6941         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6942         of the st structure with real information.
6943         * libc/sys/win32 (dirent): d_ino is of type ino_t.
6944
6945 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
6946
6947         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6948         and (maybe) sparc64.
6949         (nlink_t): Provide typedef.
6950
6951 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6952
6953         * libc/sys/win32/grp.c: New file.
6954         * libc/sys/win32/include/grp.h: New file.
6955
6956 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6957
6958         * libc/include/machine/ieeefp.h: Added whitespace to make this
6959         file easier to maintain.
6960         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6961         depending on the value of __LITTLE_ENDIAN__.
6962         On the sh3e, define _DOUBLE_IS_32BITS.
6963         
6964 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
6965
6966         * libc/sys/vr4300/syscalls.c: Added missing support
6967         routines. _raise() and getpid().
6968
6969 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
6970
6971         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6972
6973 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
6974
6975         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6976         and VR4300 processor.
6977         * libc/sys/vr4300: Add directory.
6978         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6979         monitor run-time support.
6980
6981 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6982
6983         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6984         * libc/stdlib/stdlib.tex: Don't include atol.def.
6985
6986 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6987
6988         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6989
6990 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
6991
6992         * libc/ctype/Makefile.in: Fill in _to* dependencies.
6993
6994 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
6995
6996         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6997         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6998         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6999         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7000         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7001
7002 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7003
7004         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7005
7006 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7007
7008         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7009         * libc/stdlib/atoff.c: New file.
7010         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7011         * libc/stdlib/atoi.c (atol): Removed.
7012         * libc/stdlib/atol.c: Removed duplicate documentation.
7013
7014         * libc/include/ctype.h (_tolower, _toupper): Moved inside
7015         #ifndef _STRICT_ANSI conditional.
7016         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7017         * libc/ctype/_tolower.c: New file.
7018         * libc/ctype/_toupper.c: New file.
7019         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7020         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7021         * libc/ctype/toascii.c (_toascii): Removed.
7022
7023 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
7024
7025         * libc/sys/sparc64/sys/types.h: Deleted.
7026
7027 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7028
7029         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7030         and recognize Windows_95 systems.
7031
7032 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7033
7034         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7035         and passed fds should be opened in text mode.
7036
7037 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
7038
7039         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7040         in __hmap, set to binary mode by default.
7041
7042 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7043
7044         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7045         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
7046         vector 34.
7047
7048 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
7049
7050         * Makefile.in (install): Install all libraries found in the
7051         top level.  If there's a sys/<type>/include directory,
7052         install those headers into include.
7053
7054         * libc/sys/win32/kernel.def351: Delete
7055         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7056         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7057         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7058         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7059         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7060         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7061         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7062         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7063
7064         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7065         * libc/sys/win32/crt0.c: Force all env names to upper case.
7066         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7067         * libc/sys/win32/*.c: Headers have moved.
7068         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7069         __vfork_child_idx is now __vfork_child_ptr.
7070
7071         * posix/execvp (execvp): Don't crash if no PATH envname.
7072
7073 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7074
7075         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7076         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7077         through the _freelist instead of through the _reclaim list.
7078         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7079         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7080         sources.
7081
7082 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7083
7084         * libc/machine/h8500/setjmp.S: New file.
7085         * libc/include/machine/setjmp.h: Updated for H8/500.
7086
7087 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
7088
7089         * libc/sys/win32/syscalls.c (_open): More stracing.
7090         (_stat): Open the file in O_BINARY.
7091
7092 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7093
7094         * libc/machine/h8300/setjmp.S: New file.
7095         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7096
7097 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
7098
7099         * libc/sys/win32/crt0.c (__exe_suffix): New global.
7100         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7101         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7102         __exe_suffix.  Free fd_tab after setting env variable.
7103         (spawnv,_execve): Update.
7104         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7105         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7106         (__small_vfprintf): New function.
7107         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7108         * libc/sys/win32/wait.c (cwait): Validate argument.
7109
7110         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7111         (process_deletion_queue): Likewise.
7112
7113         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7114
7115 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
7116
7117         * libc/sys/win32: Copyrights and gratuitous indenting.
7118
7119 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
7120
7121         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7122         (process_deletion_queue): Likewise.
7123         (__close_all_files): New function.
7124         (_close): Only queue file deletion if really a file.
7125         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7126         _P_APPEND_EXE.
7127         (_exit): Call __close_all_files.
7128
7129         * libc/stdlib/system.c: #include <errno.h>.
7130         (_system_r): Fix results in -DNO_EXEC case.
7131
7132         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7133         Reorganize structure.
7134         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7135         if argument is valid.  Save directory name in DIR.  malloc space
7136         for dirent struct separately.
7137         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7138
7139         * libc/include/errno.h (ENAMETOOLONG): Define.
7140         * libc/string/strerror.c (strerror): Reword ENFILE.
7141         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7142
7143 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
7144
7145         * libc/sys/win32/crt0.c (__progname): New global.
7146         (mainCRTStartup): Support strace=bitmask,filename.
7147         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7148         * libc/sys/win32/syscalls.c (_write): Print parent trace message
7149         if error.
7150         (getcwd): Handle len too small.  Convert '\\' to '/'.
7151         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7152         Add prototypes for open, creat, fcntl.
7153         (O_APPEND): Change value to conform to Microsoft's value.
7154         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7155
7156         * libc/stdlib/getopt.c: New file.
7157         * libc/stdlib/Makefile.in: Build it.
7158
7159 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
7160
7161         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7162         Fix scanning of $PATH.
7163         * libc/posix/exec*.c: Call _execve, not execve.
7164         * libc/posix/execve.c: New file.
7165         * libc/posix/Makefile.in (OFILES): Add execve.o.
7166
7167         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7168         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7169         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
7170         * libc/sys/win32/crt0.c: Update _STRACE calls.
7171         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7172
7173         * libc/sys/win32/smallprint.c (rn): Fix digit list.
7174
7175         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7176         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7177         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7178         Print __seterrno trace message first.
7179         (_execve): Renamed from execve.
7180         (vfork): Update __strace usage.
7181         (__vfork_child_pid): Deleted.
7182         (__vfork_children, __vfork_child_idx): New globals.
7183         (_spawnvp): New function.
7184         (spawnvp, spawnv, _execve): Call _spawnvp.
7185         (init_child): Record child in __vfork_children.
7186         (__vfork_get_entry, __vfork_record_death): New functions.
7187         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7188         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7189         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
7190         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7191         (children): New typedef.
7192         (__vfork_children,__vfork_child_idx): Declare.
7193         (__vfork_get_entry,__vfork_record_death): Declare.
7194         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7195         (waitpid): Handle pid == -1.
7196         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7197         * configure.in (i386-win32): Add -DNO_FORK.
7198         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7199         * libc/reent/execr.c (_fork_r): Likewise.
7200         * libc/stdlib/system.c (do_system): New function.
7201         If WIN32, try to get shell path from $SH_PATH, use vfork.
7202         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7203         otherwise return 0.
7204
7205 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
7206
7207         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7208         * libc/sys/win32/fcntl.h: Don't include self.
7209         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7210         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7211         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7212         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7213         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7214         Correct prototypes.
7215         * libc/sys/win32/strace.c: New file.
7216         * libc/sys/win32/smallprint.c: New file.
7217         * libc/sys/win32/crt0.c (func): Delete.
7218         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7219         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7220         * libc/sys/win32/exceptions.c: Lint.
7221         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7222         Clean up handle usage.
7223         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7224         (open.c): Default file type is text.
7225         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7226         * libc/sys/win32/advapi32.def: New      
7227
7228 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7229
7230         * configure.in (posix_dir, libc_posix_lib): New variables.
7231         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7232         (i[345]86-*-win32): Define posix_dir.
7233         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7234         (if unix_dir): Fix typo.
7235         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7236         scandir,seekdir,telldir}: New files.
7237         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7238         from libc/unix.
7239         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7240         (SUBDIRS): Add posix.
7241         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7242
7243         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7244         (NSIG): Increase to 21.
7245         * libc/include/sys/unistd.h (pid_t): Move from here,
7246         * libc/include/sys/types.h (pid_t): to here.
7247
7248         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7249         (__ptrace): Delete.
7250         (hinfo): New members close_exec_p, child_created_p.
7251         (struct exception_list): Define.
7252         (__hmap): Redefine as pointer to table.
7253         (__parent_hmap, __child_hmap): New globals.
7254         (__set_errno, __really_exit): Declare.
7255         (__vfork_child_pid): Declare.
7256         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7257         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7258         (__parent_hmap, __child_hmap): New globals.
7259         (__hmap): Redefine as pointer to active map.
7260         (__get_console): New function.
7261         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7262         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7263         mapping table from it if defined.
7264         (argv, envp): Dump if __strace >= 4.
7265         (main): Call here.
7266         * libc/sys/win32/exceptions.c (myp): Redefine.
7267         (__syscalls_b): Delete.
7268         (__stack_trace): New function.
7269         (ehandler3): Update to use _STRACE.  Print stack trace.
7270         Call __really_exit instead of exit.
7271         (init_exceptions): Delete args argc,argv.  New arg mine.
7272         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7273         FindFirstFileA, FindNextFileA, GetComputerNameA,
7274         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7275         * libc/sys/win32/signal.c (signal): Validate arg.
7276         (alarm, sleep): Define as stubs for now.
7277         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7278         (__syscalls_b, errno): Delete.
7279         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7280         (__seterrno): Handle more errors.
7281         (__sys_printf): Renamed from _ptrace.
7282         (__really_exit): New function.
7283         (queue_file_deletion, process_deletion_queue): New functions.
7284         (__resume_parent): New function.
7285         (_unlink): Handle trying to delete open file.
7286         (__totime_t): Renamed from totime_t.
7287         (setsid, __read, __write): New functions.
7288         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7289         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7290         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7291         * libc/sys/win32/console.c: Update to new definition of __hmap.
7292         * libc/sys/win32/Makefile.in: Build new files.
7293         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7294         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7295         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7296         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7297
7298 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7299
7300         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7301
7302 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7303
7304         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7305         have been made to the master dtoa.c sources (from netlib.att.com)
7306         since they were integrated into newlib in early 1992.  Fixes
7307         problems with storage leaks and handling of numbers with very
7308         negative exponents.
7309         
7310 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7311
7312         * Makefile.in (all): set rootpre and srcrootpre before calling
7313         sub-makes.
7314
7315 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7316
7317         * libc/sys/win32/crt0.c: Change __hmap usage.
7318         * libc/sys/win32/exceptions.c: Use _ptrace call.
7319         * libc/sys/win32/syscalls.c: Use _ptrace call.
7320         (read, write): Cope with DOS style CRLF when in TEXT mode.
7321         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7322         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7323         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7324         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7325         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7326
7327 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7328
7329         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7330
7331         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7332         wrappers for hypot() and remainder() for BSD libm compatibility.
7333         These are public domain implementations written by me for the
7334         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7335         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7336         (fobj): Added wf_cabs.o and wf_drem.o.
7337
7338 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7339
7340         * libc/sys/h8500hms/misc.c: New file.
7341         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7342
7343 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7344
7345         * libc/time/localtime.c (localtime): Fix problem with leap year
7346         handling.  Stole algorithm from Arthur David Olson's tz code.
7347         
7348 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
7349
7350         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7351
7352         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7353         (_exit): Use argument.
7354
7355 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
7356
7357         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7358
7359 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7360
7361         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7362
7363 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7364
7365         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7366         target_cflags.
7367
7368 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
7369
7370         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
7371         ptrace with case insensitivity
7372         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7373         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7374         New files.
7375
7376 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
7377
7378         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7379         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7380         (all, install, *clean): Use new multilib support.
7381         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7382
7383 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
7384
7385         * libc/include/sys/signal.h (__WIN32__): New.
7386
7387         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7388
7389         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7390         (ulp, b2d): Handle 32 bit doubles.
7391         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
7392         * libc/stdlib/strtod.c (_strtod_r): Ditto.
7393
7394 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
7395
7396         from medp@primag.co.uk:
7397         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7398         dynamically allocated buffers.
7399
7400 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
7401
7402         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
7403         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
7404
7405 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7406
7407         * configure.in (powerpc): Fix previous fix.
7408
7409 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7410
7411         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7412         directories for this target.
7413
7414 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
7415
7416         * configure.in (hppa): Add machine_dir definition.
7417         * libc/machine/hppa: New directory with PA specific implementations
7418         of the basic memory/string functions.
7419
7420 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7421
7422         * configure.in: Update current PowerPC multilib directories.
7423         Split big and little endian configurations.
7424
7425 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
7426
7427         * configure.in: Add --enable-single-float option to configure to
7428         control use of MIPS single-float directories.  Default to yes.
7429
7430         * Makefile.in (all): Don't recurse into multilib directory if it
7431         does not exist.
7432
7433 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7434
7435         * libc/sys/sh/syscalls.c: Fix typo.
7436
7437 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7438
7439         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7440         Pass down DLLTOOL.
7441         * libc/include/process.h: Define WAIT_CHILD.
7442         * libc/include/types.h: Get sizes right for win32.
7443         * configure.in (i386-*-pe): Becomes i386-win32.
7444         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7445         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7446         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7447         is defined.
7448
7449 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7450
7451         * configure.in (i[345]86-*-pe):  New target (NT).
7452         * host/any: DLLTOOL new.
7453         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7454         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7455         WIN32 (just enough to cross host the comp-tools).
7456
7457 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
7458
7459         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7460         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
7461
7462 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
7463
7464         * libc/include/machine/ieeefp.h (arm): Change to always be
7465         __IEEE_BIG_ENDIAN (even on little endian ARM's).
7466
7467 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7468
7469         * libc/sys/crt0.S: Initialze sp, and call exit after main.
7470         * libc/sys/syscalls.c (abort): New.
7471         * configure.in (arm): Define ABORT_PROVIDED.
7472
7473 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7474
7475         * configure.in (powerpc): Define multidirs.
7476
7477 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
7478
7479         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7480
7481 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
7482
7483         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
7484
7485 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7486
7487         * configure.in, libc/include/machine/ieeefp.h: Modified
7488         for arm:
7489         libc/machine/arm/*, libc/sys/arm/*: New
7490
7491 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7492
7493         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7494           __powerpc__ when determining endianness.
7495
7496 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7497
7498         * configure.in (m68*): Add multidir for the m68332.
7499
7500         * host/any (CC): Fix typo in last change.
7501
7502 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
7503
7504         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7505         when determining endianness.
7506         * libc/include/machine/ieeefp.h: Ditto.
7507         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7508         operands.
7509
7510 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
7511
7512         * libc/include/errno.h (ENOTEMPTY): Define.
7513
7514 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7515
7516         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7517           target_cflags.
7518
7519         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7520           and umultiply.o.
7521
7522         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7523           instead of only when open succeeds.  ANSI requires that multiple
7524           calls to tmpnam() result in different files.
7525
7526         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7527           objects pulled in from /lib/libc.a that must be renamed before
7528           being pulled into newlib.  /lib/libc.a's div.o conflicted with
7529           newlib's file with the same name.
7530
7531         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7532
7533         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7534           the build tree will only be used if the executables are present
7535           (instead of just the Makefiles).
7536
7537         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7538           wcstombs): Define.
7539         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7540           versions of these functions that I orignally wrote for the
7541           NetBSD C library.
7542         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7543           versions I wrote for NetBSD.
7544
7545 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
7546
7547         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7548         * libc/sys/sparclite/crt0.s: ditto.
7549
7550 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
7551
7552         * configure.in: Add soft-float for proelf.
7553
7554 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
7555
7556         * libc/stdlib/mprec.h (Bcopy): Copy the right number
7557         of bytes.
7558
7559 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
7560
7561         * Makefile.in (all): Depend on `force'.
7562         * configure.in (syscall_dir): Renamed from fake_sys_dir.
7563         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7564         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7565         * libc/Makefile.in: Likewise.
7566         * libc/include/reent.h: Update syscall references.
7567         (_fcntl_r): Add prototype.
7568         * libc/syscalls/*.c #include <reent.h>.
7569         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7570
7571 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
7572
7573         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7574         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7575         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7576         (time.h, sys/types.h): Always include (even if MSDOS).
7577         (stat): Fix prototype.
7578
7579 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
7580
7581         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7582
7583 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7584
7585         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7586
7587 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
7588
7589         * libc/include/regdef.h: New file.
7590         * libc/machine/mips/machine/regdef.h: New file.
7591
7592 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
7593
7594         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7595
7596 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
7597
7598         * libc/sys/sh/crt0.S: Pass main's return to exit.
7599         * libc/sys/sh/trap.S: Put errno in the right place.
7600
7601 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7602
7603         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7604         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7605         * libm/math/ef_rem_pio2.c: Likewise.
7606         * libm/math/e_log10.c: Remove unused static one.
7607         * libm/math/ef_log10.c: Likewise.
7608         * libm/math/s_frexp.c: Likewise.
7609         * libm/math/sf_frexp.c: Likewise.
7610
7611 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
7612
7613         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7614         longjmp.S: Upgraded.
7615         * libc/sys/go32/sys/setjmp.h: Upgraded.
7616         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7617
7618 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7619
7620         * configure.in: Add many entries to multidirs for mips targets.
7621
7622 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7623
7624         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7625           5.2 which fixes bug where jn(-1,x) is three times larger than
7626           the actual answer.
7627         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7628
7629 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
7630
7631         * libc/sys/w65/sys/syscalls.h: New file
7632         * libc/include/machine/ieeefp.h: W65 support.
7633         * libc/include/sys/config.h: Ditto.
7634         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7635         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7636         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7637
7638 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7639
7640         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7641
7642 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
7643
7644         * Makefile.in, configure.in: Remove any references to the old
7645         "stub" dir.
7646
7647 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7648
7649         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7650         uses ... in prototype.
7651
7652
7653 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
7654
7655         * libc/sys/a29khif/sys/libconfig.h: Remove.
7656         * libc/sys/go32/sys/libconfig.h: Remove.
7657         * libc/sys/sun4/sys/libconfig.h: Remove.
7658         * libc/sys/sysvi386/sys/libconfig.h: Remove.
7659         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7660         * libc/sys/sparc64/sys/libconfig.h: Remove.
7661
7662         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7663         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7664         * libc/include/math.h: Change all uses of _FLOAT_RET and
7665         _FLOAT_ARG to float.
7666         * libm/test/math.c: Likewise.
7667         * testsuite/libm.sac/math.c: Likewise.
7668         * testsuite/libm.sac/working/math.c: Likewise.
7669
7670 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7671
7672         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7673         gcc calls gas with endian option.
7674         * configure.in (sh): Build little endian version too.
7675
7676 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7677
7678         * configure.in: Configure big and little endian versions for MIPS
7679         targets.
7680
7681 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
7682
7683         * libc/include/limits.h: Deleted.
7684         * libc/include/machine/limits.h: Deleted.
7685
7686 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
7687
7688         * ChangeLog: Remove stub directory. This has all been rewritten
7689         and moved to devo/libgloss.
7690
7691 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7692
7693         * Makefile.in (dvi): Add to info target, use $@ in sub make.
7694         (docs): Merge into info target.
7695         * libm/Makefile.in (dvi): Add $(srcdir).
7696         * libm/math/Makefile.in (chobjs): Remove underscores from file
7697         names.  Texinfo doesn't like them.
7698         (wacos.def, ...): Add explicit targets for all .def files.
7699         * libm/math/math.tex: Remove underscores from @include file names.
7700         * doc/Makefile.in (dvi): Add dummy target.
7701         * testsuite/Makefile.in (dvi): Add dummy target.
7702
7703 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
7704
7705         * Makefile.in (VERSION): Define.  For net newlib releases.
7706
7707 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
7708
7709         * README: New file.
7710
7711 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7712
7713         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7714
7715 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7716
7717         * libc/stdlib/setenv.c (_findenv): Declare.
7718
7719         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7720         fcntl to not use _EXFUN, and change string parameters to open and
7721         creat to be ``const char *''.
7722         * libc/sys/sparc64/sys/fcntl.h: Likewise.
7723         * libc/sys/sparc64/creat.c (creat): Make PATH const.
7724         * libc/syscalls/sysopen.c: Include <fcntl.h>.
7725         (open) Make _FILE const.
7726         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7727         (_creat): Make PATH const.
7728         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7729         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7730         * libc/sys/m88kbug/syscalls.c (open): Likewise.
7731         * libc/sys/sh/syscalls.c (_open): Likewise.
7732         * stub/shared/glue.c (open): Make BUF const.
7733         * stub/ex93x/syscalls.c (open): Make FILENAME const.
7734
7735 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7736
7737         * libc/include/errno.h: Add ENMFILE
7738         * libc/include/sys/config.h: Support Z8000.
7739         * libc/include/sys/signal.h: New signals for go32.
7740         * libc/machine/h8500/psi.S (__addpsir0r0): New function
7741         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7742         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7743         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7744         size is variable, depending upon CHUNK_POWER.
7745         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7746
7747 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7748
7749         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7750
7751 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7752
7753         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7754
7755 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7756
7757         * configure.in: Change i[34]86 to i[345]86.
7758
7759         * libc/include/math.h: Don't define HUGE_VAL if it is already
7760         defined.
7761
7762 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7763
7764         * testsuite/libm.sac/test_erfc.c: Correct some result values.
7765         * testsuite/libm.sac/test_gammaf.c: Likewise.
7766         * testsuite/libm.sac/test_sin.c: Likewise.
7767         * testsuite/libm.sac/test_tanh.c: Likewise.
7768
7769 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7770
7771         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7772         already set.  Define typedefs __int32_t and __uint32_t.
7773         * libc/include/math.h: Include <machine/ieeefp.h>.
7774         (union __dmath): Use __uint32_t.
7775         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7776         instead of int and unsigned int.
7777
7778 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7779
7780         Replace the math library with the SunPRO fdlibm package.
7781         * libm/math: Completely changed all files.
7782         * libm/ieeefp: Remove contents and directory.
7783         * libm/Makefile.in (LIBM_FP_LIB): Remove.
7784         (SUBDIRS): Just set to math/lib.a.
7785         * libm/libm.texinfo: Updated for new library.
7786         * libc/include/math.h: Extensive changes for new math library.
7787         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7788         from _FLOAT_ARG to float.
7789         (maxpowtwo, maxpowtwof): Don't declare.
7790         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7791         (libm_fp_lib): Removed.
7792         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7793         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7794         argument to ${RUNTEST}.
7795         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7796         (.c.o): New rule.
7797         (RUNTESTFLAGS): Set CC and CFLAGS.
7798         (TESTS): Remove test_log2 and test_log2f.
7799         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7800         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7801         _FLOAT_ARG, for single precision argument type.
7802         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7803         expected failure.  Close the input pipe.
7804         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7805         Correct misspelling of inaccurate.
7806         (test_mok): Use ``inaccurate'', not ``wrong''.
7807         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7808         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7809         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7810         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7811         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7812         test_yn.c): Correct many result values.  Many are still wrong.
7813
7814         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7815         just copy the string.
7816         (_gcvt): Always return the buffer.
7817
7818 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
7819
7820         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7821
7822 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
7823
7824         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7825         structure.
7826         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7827         (_reclaim_reent): declare new entry point.
7828         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7829         functions.
7830
7831         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7832         ever allocated, so that we can later reclaim them all.
7833         (pow5mult): make reentrant.
7834
7835         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7836         so that when given NULL as a buffer, return a pointer to static
7837         space in the rent structure.  This is not documented behaviour;
7838         it's only to support ecvt and fcvt, which aren't ANSI anyway.
7839         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7840         therefore become reentrant).
7841         
7842         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7843
7844 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7845
7846         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7847
7848 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
7849
7850         * Makefile.in: Make link to libg.a after libc.a; this is needed
7851           for the testsuites to build executables when everything comes
7852           from the tree.
7853
7854 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
7855
7856         * libc/Makefile.in: Add a VERSION variable so we can keep track.
7857         * libm/Makefile.in: Add a VERSION variable so we can keep track.
7858
7859 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7860
7861         * libc/include/stdio.h: Use __VALIST, not va_list.
7862
7863 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
7864
7865         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7866         testsuite/libm.sac/execute.exp:
7867           Replace error proc calls with perror calls.
7868
7869 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
7870
7871         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7872         * libc/include/time.h: #define NULL as 0L.
7873
7874 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
7875
7876         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7877         care of it.
7878
7879 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7880
7881         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7882         not __unix__.
7883
7884 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
7885
7886         * configure.in (TARGET_CFLAGS): Set -O2 as default.
7887         (z8k-*-*): Use syscalls fake sys dir.
7888         * libc/sys/z8k/glue.c: Rename syscalls.
7889         * libc/sys/go32/Makefile.in: Use new routines.
7890         * libc/machine/Makefile.in: Fix typo in ln stuff.
7891
7892 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7893
7894         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7895         * libc/Makefile.in (crt0.o): Likewise.
7896         * libc/machine/Makefile.in (lib.a): Likewise.
7897         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7898
7899         All Makefile.in files: Added mostlyclean, realclean and distclean
7900         targets.
7901
7902         * Makefile.in: Don't bother to unexport XTRAFLAGS or
7903         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7904         the top level Makefile.
7905
7906 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
7907
7908         * libc/sys/sparc64/sys/stat.h: New file.
7909         * libc/sys/sparc64/sys/time.h: New file.
7910         * libc/sys/sparc64/sys/types.h: New file.
7911
7912 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
7913
7914         * stub/ex93x/crt0.s (start): Add code to clear bss.
7915
7916 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
7917
7918         * libc/include/sys/types.h (time_t): Properly protect inside
7919         #ifndef __time_t_defined.
7920
7921         * libc/stdio/fileno.c: New file.
7922         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7923         (fileno.o): Add dependency.
7924         * libc/include/stdio.h (__sgetc): Rename never to _never.
7925         (fileno macro): Disable, needs to do CHECK_INIT first.
7926
7927 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
7928
7929         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7930         goal.
7931
7932         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7933         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7934         runtest.
7935         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7936         runtest.
7937
7938 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
7939
7940         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7941         of the various constants.
7942
7943 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
7944
7945         * libc/include/math.h: #ifndef __math_68881 around things which
7946         conflict with the (gcc-provided) inline functions in
7947         gcc/ginclude/math-68881.h.
7948
7949 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
7950
7951         * libc/include/_syslist.h (_gettimeofday): Define.
7952         (_times): Ditto.
7953         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7954         (struct tms, timeval, timezone): Declare.
7955         (_gettimeofday_r, _times_r): Declare.
7956         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
7957         #ifdef _CLOCK_T_ surrounding definition of clock_t.
7958         (time_t): Add multiple definition protection, __time_t_defined.
7959         * libc/include/sys/time.h: Don't #include <time.h>.
7960         Always define struct timezone (remove #ifndef _TIME_H_).
7961         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
7962         #ifdef _CLOCK_T_ surrounding definition of clock_t.
7963         * libc/reent/Makefile.in (OFILES): Add timer.o.
7964         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
7965         * libc/reent/timer.c: New file.
7966         * libc/time/clock.c: #include <reent.h>.
7967         (clock): Call _times_r instead of times.
7968         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7969         HAVE_GET_TIME_OF_DAY.
7970         Add comment regarding supporting OS routine(s) required (for docs).
7971         #include <reent.h>.
7972         (time): Call _gettimeofday_r instead of gettimeofday.
7973         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7974         * libc/time/ctime.c: Ditto.
7975         * libc/time/strftime.c: Ditto.
7976         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7977         (TEMPLATE_SFILES_R): Define here.  Also define times.
7978         Add times_r.o/times.S dependence.
7979         (time2.c, junk.c): Deleted.
7980         * libc/sys/sparc64/time2.c: Deleted.
7981         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7982
7983         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7984         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7985         * libc/sys/sparc64/junk.c: Deleted.
7986
7987 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
7988
7989         * libc/sys/sparc64/Makefile.in: Add times syscall.
7990         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7991         be used with and without it.  Add comment clarifying Medium/Anywhere
7992         model requirements.
7993         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7994         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7995         even if obsolete.
7996
7997 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
7998
7999         * configure.in (target_cflags): Move init.
8000         (sparc64-*-*): Define HAVE_BLKSIZE.
8001
8002 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
8003
8004         * libc/include/sys/_types.h: New file.
8005         * libc/include/reent.h: #include it.
8006         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8007         MISSING_SYSCALL_NAMES.
8008         Sort syscalls.
8009         * libc/include/_syslist.h: Remove _raise.
8010         * libc/reent/signalr.c: New file.
8011         * libc/reent/Makefile.in: Compile it.
8012         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8013         Add doc for raise and _raise_r.
8014         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8015         (raise): Call _raise_r.
8016         (_raise_r): Call _getpid_r and _kill_r.
8017         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8018         (abort): Loop forever calling raise and _exit.
8019
8020 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8021
8022         * configure.in: Remove extraneous echo.
8023
8024 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
8025
8026         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8027         collision with unistd.h, and fix for svr4.
8028
8029 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
8030
8031         * libc/stdio/local.h (_llicvt): Declare.
8032         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8033         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8034         (_llicvt): Define.
8035         (_sicvt): Fix function header (`value' is short).
8036         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8037         Add printing of long long's support.
8038         Add printing of 8 byte pointer support.
8039
8040 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
8041
8042         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8043         stat, chmod): New hooks. 
8044         (sbrk): Abort if stack and heap collide.
8045         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8046         shortcut when given small args.
8047         * libc/machine/sh/setjmp.s: Rewritten.
8048         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8049         of cmp/str instruction.
8050
8051 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8052
8053         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8054         and machine_dir powerpc.
8055         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8056         Add cases for __powerpc__.
8057         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8058         New files.
8059
8060         * libc/include/stdio.h (_iprintf_r): Declare correctly.
8061
8062 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
8063
8064         * libc/stdlib/callocr.c: New file with _calloc_r in it.
8065         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8066
8067 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
8068
8069         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8070         (print_e): More comments to describe args, etc.
8071         "type" arg may now be 'g' or 'G' for %g/G format --> remove
8072         trailing blanks.
8073         (_gcvt): Remove locals decpt, sign, end, p, done.
8074         More comments for print_e invocation.
8075         Pass "type" to print_e as is (g/G).
8076
8077 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
8078
8079         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8080         stock m68000. 
8081
8082 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
8083
8084         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8085         works with any sized pointer, including ones bigger than ints and
8086         longs.
8087
8088 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
8089
8090         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8091
8092 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8093
8094         * libc/include/stdlib.h (_calloc_r): Add prototype.
8095         * libc/machine/h8500/negsi2.c: New file.
8096         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8097         large unsigned numbers.
8098         * libc/machine/h8500/cmpsi.c: Add cmppsi.
8099         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8100         works when sizeof(size_t) != sizeof(char *).
8101         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8102         get play area
8103         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8104
8105 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
8106
8107         * libc/include/assert.h (assert): Handle -traditional.
8108
8109 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
8110
8111         * Makefile.in: added ; after every "fi" and "done" that wasn't at
8112         the end of a line (ie. anything before a backslash continuation)
8113         so that bash handles them.
8114
8115 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8116
8117         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8118         stat to lstat
8119
8120 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
8121
8122         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8123         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8124         libc/machine/sh/udivsi3.s: Use new calling convention.
8125
8126 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
8127
8128         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8129         chmod, access, chdir, chown by making _path const. Also fix _amode
8130         param of access.
8131
8132 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
8133
8134         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8135         _khif_tmpnam, because it doesn't comply with ANSI but may be
8136         useful anyway. Real tmpnam was already in libc/stdio, and was
8137         colliding with this one (pr 2176.) 
8138         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8139         the wrong idea anyhow.
8140
8141 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8142
8143         * configure.in: Remove h8300h, we have multilib now.
8144
8145 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
8146
8147         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8148         functions, to get preference over the ones in libiberty (since we
8149         provide correct declarations in <string.h>.
8150         * libc/string/Makefile.in: add support for strncasecmp,
8151         strcasecmp.
8152
8153 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
8154
8155         * Change netware config not to look for cpu explicitly.
8156
8157 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8158
8159         * libc/sys/sparc64/{creat.c,junk.c}: New files.
8160         * libc/sys/sparc64/Makefile.in: Add dependencies.
8161
8162 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
8163
8164         * configure.in: Clean up v9 a bit, new "os" aoutv8.
8165
8166 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
8167
8168         * libc/include/sys/reent.h: make structure smaller by allocating
8169         some stuff when needed.
8170         * libc/signal/signal.c: allocate as needed
8171         * libc/stdio/findfp.c,stdio/local.h: ditto
8172         * libc/stdlib/mprec.c: ditto
8173
8174         * libc/time/localtime.c: don't return a dangling stack ptr.
8175
8176 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8177
8178         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8179
8180 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8181
8182         * libc/include/stdio.h (__sputc): comment out static inline which
8183           confuses coff toolchains.
8184
8185 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
8186
8187         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8188         _write.s, getpid.c, kill.c, read.s}:
8189         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8190         through the syscalls directory.
8191
8192 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8193
8194         * configure.in: fixed double quote gotcha.
8195
8196 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8197
8198         * stub/ex931: stub library for sparclite board.
8199         * stub/idp: Renamed from mc68ec. Added contructor table
8200         stuff to linker script.
8201         * stub/mvme135: Renamed from m68kmvme. Added contructor table
8202         stuff to linker script.
8203
8204 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8205
8206         * configure.in: Configure testsuites only if they exist.
8207
8208 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8209
8210         * configure.in: Don't set machine_dir for i386 until there is
8211         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
8212         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8213         CLOCK_PROVIDED and MALLOC_PROVIDED.
8214
8215         * libc/sys/netware: New directory.  Contains simplistic and
8216         probably incorrect stubs for NetWare.  Should be enough to load
8217         the library.
8218         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8219         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8220         stub files.
8221
8222         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8223         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8224         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8225         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8226
8227 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8228
8229         * testsuite/Makefile.in: add "docs" dummy target for consistency
8230         with rest of newlib; turn "info" and "install-info" into dummy
8231         targets, since they wouldn't have worked.  (Depended on
8232         nonexistent "doc" subdir.)
8233
8234 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8235
8236         * configure.in: handle mips* instead of mips
8237
8238 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8239
8240         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8241         a version of libc/sys/*/sys/dirent.h, it includes the next
8242         <dirent.h> file in case there is one lurking somewhere.
8243
8244 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8245
8246         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8247         compliance, namely: Accept a minus sign.  Consider a single 0 with
8248         a radix of 0 as being a conversion.  Determine overflow correctly.
8249         If an overflow occurs, set *ptr to the end of the number, not the
8250         middle.
8251         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8252
8253 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8254
8255         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8256
8257 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8258
8259         * Makefile.in (INSTALL): Use $srcrootpre.
8260         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8261         can't handle it.
8262         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8263         it.
8264         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8265         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8266         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8267         * libm/math/Makefile.in (matherr.o): Ditto.
8268
8269 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8270
8271         * configure.in: Build multidirs for z8k.
8272         * libc/include/stdlib.h (_strtoul_r): add prototype.
8273         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8274         * libc/include/machine/setjmp.h: Add for z8k.
8275         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8276         * libc/sys/z8ksim/glue.c: tidy up.
8277
8278 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8279
8280         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8281         New files.  Requires execve system call.
8282         * libc/unix/Makefile.in: Use them.
8283         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8284         Deleted, moved to libc/unix.
8285         * libc/sys/sparc64/Makefile.in: Remove them.
8286
8287 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8288
8289         * libc/sys/sparc64/{template.S template_r.S}: New files.
8290         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8291         from templates.
8292         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8293         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8294         umask.S unlink.S wait4.S write.S}: Removed, now built from
8295         templates.
8296
8297 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8298
8299         * libc/time/time.c: #include <_ansi.h>.
8300
8301 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8302
8303         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8304
8305 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8306
8307         * configure.in: match m8* rather than m88k so that m88110 is
8308           recognized as well.
8309
8310 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8311
8312         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8313         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8314         misc.c: New file.
8315
8316         * configure.in: Add multilib support to h8300.
8317
8318 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8319
8320         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8321         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8322         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8323
8324 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8325
8326         * configure.in: Corrected multidirs for sparc target.
8327
8328 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8329
8330         Support for building newlib multiple times with different
8331         compilation flags.
8332         * configure.in: Only configure doc at top level.  Set multidirs
8333         when appropriate for target, unless not at top level.  If
8334         multidirs is set, independently configure each subdirectory.
8335         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8336         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8337         automagically set by configure.in.
8338         (all): If MULTIDIRS is set, build multiple copies of libraries.
8339         (install): If MULTIDIRS is set, install multiple copies of
8340         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8341         MULTISUBDIR is set, don't bother to install header files.
8342         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8343         ${srcrootpre}.
8344         * stub/configure.in: Set MULTISUBDIR appropriately.
8345         * stub/Makefile.in (install): Install in
8346         $(tooldir)/lib/$(MULTISUBDIR).
8347         * All Makefile.in files: Define SRCTOP as well as TOP.
8348
8349 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
8350
8351         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8352         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8353
8354 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8355
8356         * libc/sys/h8300hms/exit.c (_exit): New function.
8357
8358 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8359
8360         * configure.in: recognize m88110.
8361
8362 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8363
8364         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8365           prototype main and call with args.
8366
8367 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
8368
8369         First real try at system traps for m88k-bug.
8370         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
8371           to real trap calls.
8372         * libc/sys/m88kbug/sys/systraps.h: new file.
8373
8374 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8375
8376         Patches to fix info building when target does not use sys
8377         directory.
8378         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8379         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8380           libc/sys.tex.
8381         * libc/sys/Makefile.in (doc): do nothing.
8382
8383 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8384
8385         * libc/Makefile.in (CRT0): new macro.
8386           (all): depend on $(CRT0) rather than crt0.o.
8387
8388         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8389           do not default crt0, instead, set crt0 and crt0_dir based on
8390           sys_dir and stub_dir.
8391
8392         * Makefile.in (CRT0_DIR): new macro.
8393           (all): depend on $(CRT0) rather than crt0.o which may not exist.
8394           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8395           $(CRT0).
8396           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8397
8398 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8399
8400         * testsuite/lib/libm.exp: 
8401                 added code to support compiling and linking of tests for 
8402                 libm.sac (paranoia to be added next) and processing the 
8403                 pass or failure of the tests.
8404
8405         * testsuite/config/unix-libm.exp:
8406                 platform specific proc's for dealing with compiler, linker
8407                 and the way we execute and process the test results.
8408
8409         * testsuite/libm.sac/execute.exp:
8410                 generic framework for the sac tests. the config and lib 
8411                 expect code for specific platforms tie it all together.
8412
8413         * testsuite/libm.sac/test_is.c:
8414                 changed the output of the test to be consistant with the
8415                 other tests. parsing of pass nad fail messages is now fixed.
8416
8417 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
8418
8419         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8420         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8421         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8422         #ifdef __cplusplus, surround by extern ""C { ... }.
8423         * libc/include/assert.h:  Do *not* protect assert.h against
8424         multiple inclusion!  Also, #undef it before #define, to allow
8425         redefinition.
8426         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
8427         should be only in unistd.h.
8428
8429         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8430         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8431         ... }.
8432
8433 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
8434
8435         * libc/machine/sparc/Makefile.in: Must create a library, even
8436         if empty.
8437
8438 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8439
8440         * configure.in: set machine_dir for m88k.  edit crt0 definition
8441           into makefiles.
8442
8443         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8444
8445         * libc/Makefile.in (all): also build crt0.o.
8446
8447         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8448           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8449           to remove CRT0.
8450
8451         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8452           (all): reworked to build in place.
8453           (clean): remove lib.a
8454           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8455
8456         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8457           (_start): key off edata rather than _start_bss.
8458
8459 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
8460
8461         * libc/include/sys/unistd.h, libc/include/reent.h,
8462         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8463
8464 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8465
8466         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8467
8468         * Makefile.in (libc.a): break into two rules, one for libc.a and
8469           one for libc/libc.a.  Force subdirs current before rebuilding
8470           library.
8471           (libm.a): break into two rules, one for libm.a and one for
8472           libm/libm.a.  Force subdirs current before rebuilding library.
8473
8474         * libc/Makefile.in (SUBLIBS): fix typo.
8475
8476         * libc/sys/Makefile.in (all): force descent into subdirs, then
8477           rebuild library iff out of of date.
8478
8479 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8480
8481         Rework so that library is built and then finished rather than
8482         being built on each invocation of make.
8483
8484         * host/any (machine_dir, sys_dir, signal_dir): these are not
8485           shared and have been moved to their associated Makefile.in's.
8486           (AR_FLAGS): switch to qc which is faster.
8487         * configure.in: no longer assign machine_dir for m88k.  set
8488           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
8489           stub_dir set, then add to configdirs.  add comment about silly
8490           configuration.
8491           (configdirs): drop stub.  It will be added only
8492           when needed.
8493           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8494           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8495           stub_lib, crt0): new variables for tailoring lower level
8496           makefiles.  Assign accordingly and edit into makefiles.
8497         * libm/Makefile.in: updated copyright.
8498           (TARGETLIB): removed.
8499           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8500           (SUBDIRS): removed TARGETDEP_DIRS.
8501           (LIBM_FP_LIB, SUBLIBS): new macros.
8502           (all): reworked.
8503           (force): new target to force rebuilds.
8504           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8505         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8506           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8507           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8508           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8509           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8510           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8511           stub/m68kmvme/Makefile.in: updated copyright.
8512           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8513           (all): reworked.  made this the default rule.
8514           (clean): also remove lib.a.
8515           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8516         * stub/Makefile.in: updated copyright.
8517           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8518           (stub_lib): new macro.
8519           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
8520           RANLIB.
8521           (all): reworked.
8522           (clean, install): assume stub_dir exists.
8523           (Makefile): depend on configure.in.  call $(SHELL) rather than
8524           sh.  drop redundant ./
8525         * stub/configure.in (stublib): new macro, assign it, edit it into
8526           makefiles.
8527         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8528           updated copyright.
8529           (all): reworked.
8530           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8531         * libc/Makefile.in (TARGETCRT0): removed.
8532           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8533           TARGETCRT0.
8534           (SUBDIRS): drop TARGETDEP_DIRS.
8535           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8536           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8537           (force): new target to force rebuilds.
8538         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8539           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8540           removed.
8541           (clean): assume sys_dir always exists.
8542         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8543           drop redundant ./
8544         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8545           libc/locale/Makefile.in, libc/machine/Makefile.in,
8546           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8547           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8548           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8549           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8550           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8551           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8552           libc/signal/Makefile.in, libc/stdio/Makefile.in,
8553           libc/stdlib/Makefile.in, libc/string/Makefile.in,
8554           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8555           libc/time/Makefile.in, libc/unix/Makefile.in,
8556           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8557           (TARGETLIB): removed.
8558           (all): reworked.
8559           (clean): also remove lib.a.
8560           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8561         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8562           new macros.
8563           (SUBDIRS): moved to follow frag inclusion, change stub to
8564           stub_dir.
8565           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8566           are now set in the libc Makefile.
8567         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8568           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8569           TARGETCRT0.
8570           (force): new target to force rebuilds.
8571         * stub/configure.in: determine and set stub_lib for for Makefile.
8572
8573 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
8574
8575         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8576         crt0.s renamed to crt0.S.
8577         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8578
8579         * libc/machine/h8300/Makefile.in: Make `all' the default target.
8580         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8581         h8300h.
8582         * libc/machine/h8300/defines.h: Add macros to handle pointers for
8583         h8300 (16 bits) and h8300h (32 bits).
8584         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8585         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8586
8587 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
8588
8589         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8590         implementation of setjmp and longjmp for the m88k.
8591         * libc/include/machine/setjmp.h: Added __m88000__ case.
8592
8593 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
8594
8595         * configure.in: Recognize h8300h as variant of h8300.
8596
8597 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8598
8599         * libc/include/sys/unistd.h (read, write): get prototypes right.
8600         (sbrk): New prototype.
8601         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8602         * libc/stdio/local.h: Include unistd.h.
8603         * libc/machine/h8300/syscalls.c: Names have changed.
8604
8605 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
8606
8607         * configure.in: add sys_dir assignment for m88k-bug.
8608
8609 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8610
8611         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8612         a.out or elf.
8613         * libc/sys/sparc64: all *.S files: Use new macros.
8614         * libc/sys/sparc64/isatty.c: New file.
8615         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8616         functions beyond what newlib provides.
8617
8618 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
8619
8620         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8621         svr4.
8622
8623 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8624
8625         * libc/include/machine/ieeefp.h: Add support for h8/300h.
8626
8627 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
8628
8629         * configure.in: add m88k.
8630         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
8631         sanity check so no one else need ever chase what I did to find
8632         this.
8633
8634         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8635
8636 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8637
8638         * doc/makedoc.c: Include <ctype.h>.
8639
8640 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8641
8642         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8643         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8644         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8645
8646         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8647
8648 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
8649
8650         * libc/include/errno.h (ENOSYS): Added.
8651
8652         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8653
8654 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8655
8656         * libc/stdio/fflush.c (fflush): Check for reent struct
8657         initialization.
8658         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8659
8660 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
8661
8662         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8663         out of dtoa.c so it doesn't pollute the namespace.
8664         * libc/include/_syslist.h: new file -- mappings from _function to
8665         function, for systems where we can't win (by default, all of them,
8666         until we start updating system calls.)
8667         * libc/syscalls: new directory -- stubs for exporting _function
8668         names as unmodified function names.
8669         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8670         _syslist.h on all platforms by default, but put hooks in for
8671         fake_sys_dir so we can include it when we've renamed the system
8672         calls.
8673         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8674         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8675         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8676         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8677         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8678         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8679         non ANSI functions to call _function.
8680
8681 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8682
8683         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8684         when base 16 is specified.  Don't accept non-digits if radix > 10.
8685
8686 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
8687
8688         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8689
8690 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
8691
8692         * libc/include/sys/stat.h: Surround text after #endif with
8693         comments.
8694
8695 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8696
8697         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8698         _malloc_r, _realloc_r, and free_r call the corresponding
8699         non-reentrant functions.
8700
8701         * libm/math/modf.c (modf): We now take the address of ipart, so
8702         don't make it a register variable.
8703
8704 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
8705
8706         * libm/math/*: Rename all xxx_r fns to _xxx_r.
8707
8708 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
8709
8710         * libc/libc.texinfo and embedded docn throughout: formatting
8711         improvements, minor rephrasing for clarity, and improved
8712         reentrancy docn.
8713
8714 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8715
8716         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8717
8718         * libc/stdio/cvt.c (_licvt): Print the right value on machines
8719         where sizeof(int) != sizeof(long).
8720
8721 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8722
8723         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8724         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8725         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8726         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8727         libm/math/matherr.c: changes for better docn formatting (info).
8728
8729         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8730         libc/reent/reent.tex, libc/signal/signal.tex,
8731         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8732         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8733         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8734         makeinfo node defaulting to get better Info file node structure.
8735         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8736         Also include a few formerly missing sections (subroutines).
8737
8738         * doc/doc.str: delete fossil expansion for "func"
8739
8740         * default.menu, no-signal.menu: delete.
8741
8742         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8743         method used to adjust doc for missing "signals" chapter when 
8744         signal_dir is empty.
8745
8746 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8747
8748         * configure.in: added testsuite/libm.sac
8749
8750 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
8751
8752         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8753         code model).
8754
8755 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8756
8757         * libm/Makefile.in: Use $(MAKE) rather than make, and define
8758         MAKEOVERRIDES to be empty.
8759
8760 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
8761
8762         * configure.in: Don't build mips-*-* with -msoft-float, since that
8763         makes it incompatible with hard floating point.
8764
8765 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8766
8767         * Makefile.in: added recursive 'make check'
8768
8769 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8770
8771         * configure.in: added ./testsuite ./testsuite/libm.paranoia
8772         * ./testsuite/Makefile.in: created
8773         * ./testsuite/libm.paranoia: paranoia tests added
8774
8775 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8776
8777         * configure.in: For mips-*-* set machine_dir to mips.
8778
8779         * libc/machine/mips: New directory.
8780         * libc/machine/mips/Makefile.in: New file.
8781         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8782         setjmp and longjmp.
8783         * libc/include/machine/setjmp.h: Added __mips__ case.
8784
8785         * libc/machine/lmips: Removed unused and useless directory.
8786
8787 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
8788
8789         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8790
8791 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
8792
8793         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8794         start up).
8795
8796 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8797
8798         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8799         SETJMP_H.
8800
8801 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
8802
8803         * libm/test/convert.c: structure member errno -> errno_val.
8804         Must include <errno.h> to use errno, it's a macro now.
8805         * libm/test/math.c: Ditto.
8806         * libm/test/math2.c: Include errno.h.
8807         * libm/test/string.c: Ditto.
8808         * libm/test/test.h: structure member errno -> errno_val.
8809         Remove extern int errno decl.
8810
8811 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
8812
8813         * libc/stdio/Makefile.in: Added dependencies on local header
8814         files.
8815         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8816         files.
8817
8818 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8819
8820         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8821
8822 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8823
8824         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8825         Initialize _data.
8826
8827         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8828         * libc/stdio/local.h: Add prototype for _licvt.
8829
8830         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8831         instead of malloc,reealloc.
8832
8833         * libc/stdlib/local.h: New file.
8834         * libc/stdlib/efgcvt.c: #include local.h.
8835         (gcvt): Fix call to _gcvt.
8836         * libc/stdlib/ecvtbuf.c: #include local.h.
8837
8838         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8839         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8840         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8841
8842         * libc/stdlib/atexit.c: moved global data to struct _reent.
8843         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8844
8845         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8846
8847 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
8848
8849         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8850         here from ../reent.h.
8851
8852 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
8853
8854         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8855         should be provided in both libc.a and libm.a.
8856         (libc.a): Depend on targ-include and libm.a.  Copy
8857         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8858         (libm.a): Depend on targ-include.
8859         * configure.in (subdirs): Removed libc/math.
8860
8861 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8862
8863         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8864
8865 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
8866
8867         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8868         sys/reent.h instead of reent.h.
8869         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8870         headers moved to sys/reent.h.  
8871         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8872         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8873         __need__MAX_SIGNALS defined.
8874         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8875         std{in,out,err} refer to new _std{in,out,err} members.
8876
8877 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8878
8879         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8880         case.
8881
8882 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
8883
8884         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8885         rather than whatever macro seterrno() has.
8886
8887 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
8888
8889         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8890         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8891
8892         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8893         __STDC__.
8894
8895         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8896         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8897         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8898
8899         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8900         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8901
8902         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8903         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8904         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8905         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8906         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8907         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8908         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8909         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
8910         for ANSI.  structure members given leading "_" for ANSI.  Use
8911         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8912
8913         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8914         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8915         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
8916         reent_struct renamed to struct _reent for ANSI.
8917         Structure members given leading "_" for ANSI.
8918         _CONST --> const in prototypes.
8919         Use _HAVE_STDC instead of __STDC__.
8920
8921         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8922         _xxx_r.
8923         struct reent_struct renamed to struct _reent for ANSI.
8924         Structure members given leading "_" for ANSI.
8925
8926         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8927         _xxx_r.
8928         struct reent_struct renamed to struct _reent for ANSI.
8929
8930         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8931         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8932         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8933         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8934         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8935
8936         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8937         signal.h, stdio.h, stdlib.h, string.h, time.h}:
8938         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8939         #ifndef _STRICT_ANSI non-ANSI routines.
8940         Reentrant routines renamed from _r_xxx to _xxx_r.
8941         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8942         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8943         Clean up namespace (structure members have leading "_").
8944         struct reent_struct renamed to struct _reent for ANSI compliance.
8945         _CONST --> const in function prototypes.
8946
8947         * libc/include/string.h: Add NULL and size_t.
8948
8949         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8950         unlink, wait, wait4. Reentrant syscall routines close, fork,
8951         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8952         write.
8953         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8954         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8955         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8956         write.S}: Define reentrant versions.
8957         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8958         reentrant syscalls.
8959
8960         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8961
8962         * libc/include/stdlib.h (RAND_MAX): Fix value.
8963
8964 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
8965
8966         * libc/sys/a29khif/_main.c: Removed unnecessary file.
8967         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8968         VPATH support targets after all: target.
8969
8970         * stub/mvme135/mvme.S: Renamed exceptionhandler to
8971         exceptionHandler, which is what mvme135-stub.c expects.
8972
8973 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
8974
8975         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8976
8977         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8978         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8979         compliant).
8980
8981 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8982
8983         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8984         first.
8985         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8986         _r_write): Ditto.
8987         libc/reent/fstatr.c (_r_fstat): Ditto.
8988         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8989         libc/reent/sbrkr.c (_r_sbrk): Ditto.
8990         libc/reent/statr.c (_r_stat): Ditto.
8991
8992         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8993         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8994         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8995         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8996         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8997         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8998         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8999         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9000         (__swrite): Ditto for _r_lseek, _r_write.
9001         (__sseek): Ditto for _r_lseek.
9002         (__close): Ditto for _r_close.
9003         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9004
9005         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9006         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9007
9008         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9009         to make reent_struct the first argument (and thus consistent with
9010         the rest of newlib).
9011
9012         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9013         reference to __STDC__.
9014
9015 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
9016
9017         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9018         global __cleanup.
9019
9020 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
9021
9022         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9023         first.
9024         libc/stdio/fclose.c (fclose): Ditto.
9025
9026 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
9027
9028         * Run through indent and rename reentrant routines for ANSI.
9029         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9030         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9031         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9032         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9033         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9034         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9035         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9036         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9037         vsprintf.c wbuf.c wsetup.c local.h}
9038
9039         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9040
9041         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9042         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9043         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9044         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9045         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9046         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9047
9048         * Run through indent.
9049         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9050         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9051         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9052         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9053         strxfrm.c}
9054
9055         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9056         localtime.c mktime.c strftime.c time.c}:
9057         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9058
9059         * Reformatting + renaming (for ANSI, GNU style, consistency).
9060         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9061         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9062         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9063
9064 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
9065
9066         * libc/include/stdio.h (stdin_r): Fix.
9067
9068 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
9069
9070         * Makefile.in: Unexport some variables to keep GNU make from
9071         putting them in the environment and using up needed ARG_MAX space
9072         (a hack is used to let this work with older makes as well).
9073
9074 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
9075
9076         * Makefile.in: Use $(MAKE) rather than make.
9077         (MAKEOVERRIDES): Define to be empty.
9078         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9079         (libc.a, libm.a): Depend on targ-include.
9080         * host/any (LD): Don't define.
9081         (INCLUDES): Use targ-include.   
9082         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9083         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9084         * libc/Makefile.in: Use $(MAKE) rather than make.
9085         (MAKEOVERRIDES): Define to be empty.
9086         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9087         (all): Rewrote to be slightly smaller.
9088         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9089         Define to be empty.
9090         (FLAGS_TO_PASS): Don't pass LD (it's not used).
9091         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9092
9093 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
9094
9095         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9096         with errno/errno.c.
9097
9098 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
9099
9100         * Changes for reentrancy.
9101         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9102         Use ptr->_errno, not errno.
9103         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9104         libc/stdio/remove.c (remove_r): New function.
9105         libc/stdio/rename.c (rename_r): New function.
9106         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9107         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9108         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9109         reentrant versions of system calls.
9110         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9111         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9112         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9113         libc/stdio/findfp.c: Include <string.h>.
9114         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9115         "local.h".
9116         libc/stdio/wbuf.c: Include "fvwrite.h"
9117
9118         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9119         <string.h>.
9120         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9121         (NULL): Don't define if already defined.
9122         libc/stdlib/system.c: Call reentrant versions of system calls.
9123         (system_r): New function.
9124
9125         * Changes for reentrancy.
9126         libc/include/_ansi.h (_PARAMS): New macro.
9127         libc/include/errno.h: Define errno as a macro that calls __errno.
9128         (__errno_r): New macro for reentrant code.
9129         libc/include/math.h: Include reent.h.  Declare many reentrant
9130         functions.
9131         (signgam): Now a macro, not a variable.
9132         (struct exception): Added err field.
9133         libc/include/reent.h: Don't declare __sglue.  Added function
9134         declarations.
9135         (struct reent_struct): Moved errno to beginning.  Added _signgam.
9136         libc/include/stdio.h, libc/include/stdlib.h: Added function
9137         declarations.
9138
9139         * More reentrancy hacking.
9140         libc/errno/errno.c (__errno): New function.
9141         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9142         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9143         files.
9144         
9145         * Added many new reentrant functions to libm/math/*.
9146         libm/math/error.c (__matherror): Added reent_struct pointer
9147         argument. Changed all callers.
9148         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9149         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9150         libm/math/tan.h: Removed obsolete unused header files.
9151
9152         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9153
9154         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9155
9156 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9157
9158         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9159         delay slots.
9160
9161 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9162
9163         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
9164
9165 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9166
9167         * libc/reent/reent.tex:  New file.  (text from
9168         newlib/libc/libc.texinfo)
9169         * libc/stdio/tmpnam.c:  fixed doc typo
9170         * libc/stdlib/rand.c:   fixed doc typo
9171
9172 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9173
9174         * libc/reent/reent.tex:  New file.  (text from
9175         newlib/libc/libc.texinfo)
9176
9177 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9178
9179         support for reentrancy
9180         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9181         new files
9182         * libc/errno/errno.c, libc/include/ieeefp.h,
9183         libc/include/locale.h, libc/include/reent.h,
9184         libc/include/signal.h, libc/include/stdio.h,
9185         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9186         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9187         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9188         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9189         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9190         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9191         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9192         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9193         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9194         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9195         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9196         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9197         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9198         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9199         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9200         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9201         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9202         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9203         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9204         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9205         libc/time/strftime.c: modify to provide reentracy.
9206
9207         new routines:
9208         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9209         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9210         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9211         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9212         mstats_r, realloc_r, localeconv_r, setlocale_r
9213
9214 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
9215
9216         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9217         libc/include/sys/config.h, libc/include/sys/signal.h,
9218         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9219         provided macros (such as m68000), use the ansi version
9220         (__m68000__) so that the library can be used with code compiled
9221         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9222         and sparc.
9223
9224 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9225
9226         * configure.in (sparc*): Don't set -fsoft-float for sparc
9227         configurations.  Do set -fsoft-float for sparclite configurations.
9228
9229 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9230
9231         * default.menu, no-signal.menu: alternate forms of libc main menu
9232           (in newlib rather than newlib/libc due to configuration restrictions)
9233
9234         * configure.in: select one of the two menus above, link to
9235         libc.menu
9236
9237         * libc/libc.texinfo: include menu from separate file
9238
9239 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9240
9241         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9242         (info): Split long shell command in half.
9243         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9244         sub-makes, just CHEW and TARGETDOC. 
9245         (targetdep.tex): Removed now special handling of sys and machine
9246         subdirectories, made obsolete some time ago.
9247         * libc/machine/Makefile.in (doc): Don't pass everything to
9248         sub-make, just CHEW and TARGETDOC.
9249         (Makefile): New target.
9250         * libc/sys/Makefile.in (Makefile): New target.
9251
9252 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9253
9254         * Makefile.in (here and most subdirectories): Only pass down CHEW
9255         and TARGETDOC when making info, not for other targets.
9256
9257         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9258         $(AR_FLAGS) rather than $(ARUPDATE).
9259
9260 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9261
9262         * Try to reduce command line length:
9263         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9264         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9265         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9266         (info): Pass CHEW to other subdirs.
9267
9268 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9269
9270         * configure.in: add signal_dir, like unix_dir, but by default it
9271         is set to "signal" so that a29khif can turn it off (since a29khif
9272         has raise() as part of machine-specific signal.s.)
9273
9274 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9275
9276         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9277         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9278         correctly.
9279         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9280         libc/stdio/vfprintf: type lint.
9281         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9282         initialzation code.
9283         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9284
9285 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9286
9287         * stub/mvme135/mvme135-asm.S: new file.
9288         stub/mvme135mvme135-stub.c: moved all assembler routines into
9289         mvme135-asm.S.
9290         stub/mvme135/Makefile.in: build mvme135-stub.o.
9291
9292 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9293
9294         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9295         sub-Makefiles instead, to try to avoid line length limitations.
9296
9297 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9298
9299         * libc/include/unistd.h (read, write):  Use void* instead of
9300         char*.
9301
9302 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9303
9304         * stub/go32/resetpc: sample script to send a reset packet to the
9305         stub
9306
9307         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9308         DOS environment, which compiles with Turbo C.
9309
9310         * stub/go32/DSER32.LNK: new file, linker commands for serial
9311         remote stub.
9312
9313         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9314         start up message to identify version; call set_debug_traps.
9315
9316         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9317         keyboard interaction); call handle_exception() in go_til_stop,
9318         rather than return, so that the remote stub gets control.
9319
9320         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9321         rename, rather than mv), set flags that work with current Turbo C,
9322         including using the /3 flag; also, add commands to build dser32.
9323
9324         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9325         default Turbo C installation (\tc rather than \usr)
9326
9327         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9328         "&..."
9329
9330 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9331
9332         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9333
9334 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9335
9336         * libc/stdio/cvt.c (licvt): new function to convert ints when
9337         sizeof(int) != sizeof(long).
9338
9339         * libc/include/stdio.h: added prototype for iprintf.
9340         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9341
9342 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9343
9344         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9345         __REGISTER_PREFIX__.
9346
9347 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9348
9349         * libc/sys/m68kbare: moved into stub directory.
9350
9351 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9352
9353         * configure.in, Makefile.in: created new directory stub, to hold
9354         sample code for specific targets.
9355
9356 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
9357
9358         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9359         in the unified libc/include/sys/fcntl.h.
9360
9361 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
9362
9363         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9364         printed .01, not 0.01.
9365
9366 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
9367
9368         * configure.in: compile with -m68000 for m68* targets.
9369
9370 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
9371
9372         * libm/math/remainder.c (remainder): document the svr4 and sunos
9373         references used to construct the function.
9374
9375 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
9376
9377         * libm/math/remainder.c (rint, remainder): fix old typos.
9378         * libm/math/Makefile.in: actually build remainder.c (functions
9379         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9380         page.)
9381
9382 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
9383
9384         * libc/string/bcopy.c: BSD version works on overlapping strings,
9385         so ours should too.
9386
9387         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9388         ("SHELL").
9389
9390 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
9391
9392         * Makefile.in (docs): new target.
9393
9394 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
9395
9396         * libc/include/sys/times.h: define clock_t as required by POSIX.
9397         libc/include/time.h: protect clock_t from multiple definitions.
9398
9399 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9400
9401         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9402         does not need more than the original three iterations to get
9403         within 1 ulp. (Paranoia tests for rounding to better than that,
9404         but further iterations *don't* help, only more subtle changes
9405         can.)
9406
9407 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9408
9409         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9410         were doing nothing useful.
9411
9412 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9413
9414         * configure.in: define MALLOC_PROVIDED for vxworks targets;
9415         removed sys_dir settings of vxworks68 and vxworks960.
9416         host/any: don't pass -nostdinc to gcc, since newlib no longer
9417         provides all required header files.
9418
9419         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9420         is not defined; this provides a hook for VxWorks.
9421
9422 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9423
9424         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9425         buffer if buf is NULL, don't do it here -- it is already being
9426         done by makebuf elsewhere in stdio.
9427
9428 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9429
9430         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9431         that C programs can call functions without using initial
9432         underscores.
9433
9434 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
9435
9436         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9437
9438 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
9439
9440         * configure.in: set TARGET_CFLAGS for certain CPU types to
9441         -msoft-float.
9442
9443 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9444
9445         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9446
9447 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9448
9449         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9450         m68k*-unknown-coff.
9451
9452 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
9453
9454         * libc/include/stdio.h: define __need___va_list before including
9455         <stdarg.h>, to avoid defining va_arg, et. al.
9456
9457 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
9458
9459         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9460         (don't cd to the user's home directory).
9461
9462         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9463         In general this is the wrong thing to do, but I can't get around
9464         GNU make's insistence on passing command line arguments any other
9465         way.
9466
9467 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9468
9469         * configure.in: always configure the libc/sys directory, since it
9470         now provides a required documentation file.
9471
9472         * Makefile.in: replaced all instances of $(MAKE) with make.  In
9473         general this is the wrong thing to do, but I can't get around GNU
9474         make's insistence on passing command line arguments any other way.
9475
9476 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
9477
9478         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9479         terminated.
9480
9481         * libc/stdio/local.h: include <stdarg.h> to define va_list.
9482         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9483
9484         * libc/include/float.h, libc/include/stdarg.h,
9485         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9486         versions instead.
9487         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9488         <stdarg.h>, not from <machine/types.h>.  Protect definition of
9489         NULL.
9490         libc/include/time.h: get size_t from stddef.h.  Protect definition
9491         of NULL.
9492         libc/include/machine/limits.h: override gcc <limits.h> by defining
9493         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
9494         get correct INT_MIN and LONG_LONG values.
9495         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9496         size_t or va_list at all; they're now gotten from stddef.h
9497         instead.
9498         libc/include/machine/varargs.h: removed; use gcc version instead.
9499         libc/include/sys/types.h: explicitly include <machine/types.h>.
9500
9501         * libm/math/sqrt.h: using the fp-bit routines appears to require
9502         more iterations.
9503
9504         * Makefile.in, host/any: let system include files override machine
9505         include files.
9506
9507 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9508
9509         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9510         override _*_T_ definitions defaulted here.
9511
9512 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
9513
9514         * Makefile.in (install): install the include files in
9515         $(tooldir)/include, not $(exec_prefix)/include.
9516
9517 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9518
9519         * Makefile.in (install): fixed typo, and changed install to not
9520         force rebuild of libc.a and libm.a.
9521
9522 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
9523
9524         * libc/sys/a29khif/*: Changed all .include's to include
9525         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
9526         that they will be installed for the user.
9527
9528         * Makefile.in (all): create targ-include, a directory holding the
9529         machine and system specific header files during the build.
9530         (install): fixed installation of machine and system specific
9531         header files.
9532
9533         * Makefile.in: fixed comment.
9534         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9535         we can pass $(INCLUDES) to it.
9536
9537 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9538
9539         * libc/include/sys/param.h: new generic file, which may be
9540         overridden for specific systems.
9541
9542         * libc/include/sys/signal.h: define all ANSI signal names, and
9543         NSIG (which is not ANSI) for a29k.
9544
9545 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
9546
9547         * Makefile.in: don't pass down arguments the lower level makes
9548         will not need.
9549         * libc/Makefile.in: recurse directly, rather than using subdir_do,
9550         in hopes of avoiding argument length limits.
9551         * libm/Makefile.in: recurse directly, rather using subdir_do, in
9552         hopes of avoiding argument length limits.
9553
9554 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
9555
9556         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9557         mode_t is defined.
9558
9559 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9560
9561         * Fixed make info and make install-info for newlib, changing most
9562         Makefile.in and several *.tex files.  Moved doc directory from
9563         libc to top level.
9564
9565         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9566         Should be rewritten.
9567
9568         * libc/string/strings.tex: renamed node index to node index
9569         function, so that it does not conflict with the top level index
9570         node.
9571
9572         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9573
9574 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9575
9576         * Overhauled general configuration for newlib.  Eliminated all
9577         target dependent Makefile fragments.  Create libraries in newlib
9578         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
9579         than CROSS_CC, et. al.  Broke make docs; will fix later.
9580
9581         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9582         Should be rewritten.
9583
9584 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9585
9586         * libc/configure.in: cleaned up somewhat; switch on ${target}
9587         rather than ${target_alias}.
9588         * libm/configure.in: cleaned up somewhat; switch on ${target}
9589         rather than ${target_alias}.
9590
9591         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9592         * libc/include/ctype.h: marked _ctype_ as _CONST.
9593
9594         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9595         _CONST.
9596
9597         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9598         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9599         libc/stdio/gets.c (gets): removed non-ANSI warning message.
9600         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9601
9602         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9603         bigtens, tinytens): marked arrays _CONST.
9604         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9605         rather than a static variable.
9606
9607         * libc/time/asctime.c (asctime), libc/time/localtime.c
9608         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9609         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9610         mname_len, mname): Marked static arrays _CONST.
9611
9612         * libm/math/gamma.h: made local variables non-static.
9613
9614         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9615         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9616         _CONST.
9617
9618         * libm/math/constants.c: removed file, because the constants it
9619         defined were never referenced.
9620         libm/math/Makefile.in: removed references to constants.c.
9621         libm/math/mathimpl.h: removed declarations of constants.
9622
9623 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9624
9625         * libc/include/machine/varargs.h: only call __builtin_saveregs if
9626         it is sensibly defined in libgcc2.  Checks preprocessor defines,
9627         which is not a good solution.
9628
9629         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9630
9631         * libm/frexp.c: handle denormalized numbers as arguments.
9632
9633         * libm/math/Makefile.in: added some dependencies for .c files
9634         which include local .h files.
9635
9636 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
9637
9638         * libc/configure.in: set target_alias for OSE*.  Replace
9639         target_makefile_frag if it is blank.
9640
9641         * libc/Makefile.in: make sure everything is passed to subsidiary
9642         makes; create all directories when installing.
9643
9644         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9645         CROSS_ARUPDATE instead of AR.
9646
9647         * libm/configure.in: set target_alias for OSE*.  Replace
9648         target_makefile_frag if it is blank.
9649
9650         * libm/Makefile.in: make sure everything is passed to subsidiary
9651         makes; create all directories when installing.
9652
9653 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
9654
9655         * add following change from libc copy.
9656
9657 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9658
9659         * libc/libc.texinfo: make copyright disclaimers appear on back of
9660         title page; make format of same slightly less ugly; avoid using
9661         underbars in section headings (avoids nasty texinfo bug in table
9662         of contents).
9663
9664         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9665           comments only) avoid using underbars in section headings
9666
9667         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9668           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9669           changes in comments only): shorten headings ieeefp/infinity.c,
9670           ieeefp/isnan.c: (doc, comments only) more informative headings
9671
9672         * libc/math/bessel.c: (doc, comments only) shorten heading
9673
9674         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9675         (doc, comments only) shorten headings
9676
9677         * libc/time/localtime.c (doc, comments only): shorten headings
9678
9679         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9680           isnan
9681           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9682           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9683           headings
9684           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9685           only) more informative headings
9686         * libm/math/bessel.c: (doc, comments only) shorten heading
9687
9688 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9689
9690         * .../Makefile.in: use CROSS_ARUPDATE consistently.
9691         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9692         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9693         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9694         defined, the one from the .mt file will be correct.
9695         * libc/include/machine, libc/include/sys: created, and populated
9696         with common files from machine/*/machine. ifdefs were used for
9697         most, typically by handling exceptions first and then filling in
9698         defaults. Files with D.J. Delorie copyright #included rather than
9699         copied. Most files in include/sys really were the same in the
9700         original.
9701         * libc/include/...: cleaned up use of _EXFUN.
9702         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9703         it with double quotes, not angles.
9704
9705 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
9706
9707         * libc/Makefile.in: always create installation directories.
9708
9709 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9710
9711         * libc/configure.in: handle host properly (using canonical
9712         triples), better error message for the case of target not found
9713
9714 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
9715
9716         * libc/Makefile.in (insincdir): Ensure this directory exists
9717         before attempting installation.
9718
9719 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9720
9721         * libc/stdlib/assert.c: now calls abort like it should
9722         * libc/sys/a29khif: many many patches for 29khif work
9723         * libc/machine/i386: gnulib2 expanded there.
9724
9725 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9726
9727         Added accurate fp conversion routines to stdlib, moved dcvt from
9728         stdio to stdlib and called it ecvtbuf:
9729         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9730         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9731         routines
9732         * libc/libc.texinfo: Modifed to include the copyright info from
9733         the mprec files
9734         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9735         * libc/test/ : many vector which tested for the implementation
9736         defined returns of strange conversion requests have been updated
9737         to relflect the new implementation
9738
9739 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9740
9741         * libc/libc.texinfo: new chapter on variable arg lists
9742         (stdarg.h/varargs.h)
9743         * libc/libc.texinfo: new title
9744         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9745         (doc only) shorter headings for better formatting.
9746
9747 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9748
9749         * libc/libc.texinfo: three more info menu entries
9750         * libc/locale/locale.tex: new chapter
9751         * libc/locale/locale.c: new doc for setlocale, localeconv
9752         * libc/locale/Makefile.in: use new locale doc
9753         * libc/signal/signal.tex: new chapter
9754         * libc/signal/raise.c, libc/signal/signal.c: new doc
9755         * libc/signal/Makefile.in: use new doc
9756         * libc/time/time.tex: new chapter
9757         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9758         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9759         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9760         * libc/time/Makefile.in: use new doc
9761
9762 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9763
9764         * libm/math/log1p.c: split to use the new function way of float
9765         function definition. math/log1p.h deleted
9766         * libm/math/scalb.c: obsolete and deleted
9767         * libm/math/scalbn.c: created from part log1p.c
9768         * libm/math/Makefile.in: know about log1p and scalbn
9769
9770 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9771
9772         * libc/ctype/isupper.c: revise doc;
9773           libc/ctype/ctype.tex: use doc from isupper.c
9774
9775         * libc/string/bzero.c: new doc
9776
9777 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9778
9779         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9780         new doc
9781         * libc/stdlib/Makefile.in: extract new doc
9782         * libc/stdlib/stdlib.tex: use new doc
9783
9784         * libc/string/strerror.c: expanded doc.
9785
9786         * libc/stdio/Makefile.in: extract doc from more files
9787         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9788         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9789         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9790         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9791         libc/stdio/vsprintf.c: new doc
9792         * libc/stdio/stdio.tex: use new doc
9793
9794 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9795
9796         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9797         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9798         finitef functions.
9799         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9800         time ago.
9801
9802         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9803         * libc/stdio/setbuf.c: added ansi style definition.
9804         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9805         buffer if none provided.
9806         * libc/stdio/tmpfile.c: lint
9807         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9808         rather than using static, also make sure file isn't already
9809         present.  Uses P_tmpdir. (tempnam): rewritten to use new
9810         subroutine, and uses P_tmpdir.
9811         * libc/stdio/siprintf.c: created
9812
9813 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9814
9815         Release 1.03 for NEC, major mods. Main differences from release
9816         1.02::
9817
9818         More tests in test/:
9819         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9820         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9821         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9822         get/set mask, get/set sticky and get/set roundtoi.  Tests
9823         that setting the bits changes the way arithmetic is done.
9824         * string.c: added test to make sure memcmp does it with unsigned
9825         chars.
9826         * test.c: cleaned up and removed lint.
9827         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9828         dvec.c: tests for string to value conversions,  sprintf, scanf,
9829         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9830         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
9831         rounding in sprintf too.
9832         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
9833         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9834         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9835         and function form.
9836         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9837         powf
9838
9839         In the library:
9840         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9841         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9842         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9843         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9844         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9845         than sprintf.
9846         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
9847         * Method of producting float versions of double functions has
9848         changed, functions will be modified gradually. So far:
9849         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9850         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9851         altered
9852         * libc/string/memcmp.c: now uses unsigned chars
9853         * libc/string/bcmp.c, libc/string/strcpy.c,
9854         libc/stsring/strxfrm.c: fixed doc
9855         * libc/sys/sysvnecv70.tex: fix example of sbrk code
9856 \f
9857 Local Variables:
9858 version-control: never
9859 End: