OSDN Git Service

2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / ChangeLog
1 2002-05-30  Jeff Johnston  <jjohnstn@redhat.com>
2
3         * libc/sys/linux/Makefile.am: Add support for new files.
4         * libc/sys/linux/Makefile.in: Regenerated.
5         * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
6         * libc/sys/linux/signal.c: Change to use real-time syscalls for
7         sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
8         it is in a separate file now.
9         * libc/sys/linux/machine/i386/Makefile.am
10         * libc/sys/linux/machine/i386/Makefile.in
11         * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
12         * libc/sys/linux/sigaction.c: New file.
13         * libc/sys/linux/sigqueue.c: Ditto.
14         * libc/sys/linux/sigwait.c: Ditto.
15         * libc/sys/linux/machine/i386/sigaction.c: Ditto.
16         * libc/sys/linux/kernel_sigaction.h: Ditto.
17
18 2002-05-28  Jeff Johnston  <jjohnstn@redhat.com>
19
20         * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
21         tcsendbrk.c.
22         * libc/sys/linux/Makefile.in: Regenerated.
23         * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
24         tcgetpgrp(), and tcsetpgrp() functions.
25         * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
26         to get __MAX_BAUD rate.
27         * libc/sys/linux/machine/i386/include/termios.h: New file.
28         * libc/include/machine/termios.h: Ditto.
29         * libc/sys/linux/cfspeed.c: Ditto.
30         * libc/sys/linux/tcsendbrk.c: Ditto.
31
32 2002-05-24  Jeff Johnston  <jjohnstn@redhat.com>
33
34         * libc/include/string.h: Add strnlen and strerror_r prototypes.
35         * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
36         * libc/string/Makefile.in: Regenerated.
37         * libc/string/strerror_r.c: New file.
38         * libc/string/strnlen.c: New file.
39         * libc/sys/linux/Makefile.am: Add rename.c.
40         * libc/sys/linux/Makefile.in: Regenerated.
41         * libc/sys/linux/rename.c: New file to override default rename.
42
43 2002-05-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
44
45         * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
46         * libc/sys/linux/sys/time.h: Add conversion macros.
47         * libc/sys/linux/sys/types.h: Add FD_ macros.  Include <bits/types.h>.
48         * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
49         * libc/sys/linux/gethostname.c: New file.
50         * libc/sys/linux/seteuid.c: New file.
51         * libc/sys/linux/sysctl.c: New file.
52         
53 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
54
55         * libc/string/Makefile.am: Add support for strsep.c.
56         * libc/string/Makefile.in: Regenerated.
57         * libc/string/strsep.c: New file.
58         * libc/string/strtok.c: Change to call __strtok_r service routine.
59         * libc/string/strtok_r.c: Add __strtok_r routine which takes
60         additional flag parameter regarding whether to skip leading delimeters.
61         Change strtok_r to call __strtok_r.
62
63 2002-05-23  Gareth Pearce  <tilps@hotmail.com>
64
65         * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
66         * libc/stdio/Makefile.in: Regenerated.
67         * libc/stdio/setbuffer.c: New file.
68         * libc/stdio/setlinebuf.c: New file.
69
70 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
71
72         * libc/sys/linux/Makefile.am: Add resource.c.
73         * libc/sys/linux/Makefile.in: Regenerated.
74         * libc/sys/linux/resource.c: New file.
75         * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
76         * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
77         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
78         * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
79         are now found in libc/sys/linux/resource.c.
80
81 2002-05-23  Jeff Johnston  <jjohnstn@redhat.com>
82
83         * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
84         to use void * pointers and comply with Single Unix spec.
85         * libc/string/bcmp.c: Change to use void * instead of char *.
86         * libc/string/bcopy.c: Ditto.
87         * libc/string/bzero.c: Ditto.
88
89 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
90
91         * libc/sys/linux/shm_open.c: New file.
92         * libc/sys/linux/shm_unlink.c: Ditto.
93         * libc/sys/linux/Makefile.am: Add support for shm_open.c and
94         shm_unlink.c.
95         * libc/sys/linux/Makefile.in: Regenerated.
96         * libc/sys/linux/sys/types.h: Add some additional checks to see
97         if clock_t or time_t is already defined.
98
99 2002-05-22  Jeff Johnston  <jjohnstn@redhat.com>
100
101         * Makefile.am: Don't pass $toollibdir down directly in
102         AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
103         Pass it under the name: top_toollibdir.
104         * Makefile.in: Regenerated.
105
106 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
107
108         * libc/include/sys/types.h: Revert previous patch.
109
110 2002-05-22  Corinna Vinschen  <vinschen@redhat.com>
111
112         * libc/include/sys/types.h: Include cygwin/types.h always under
113         Cygwin, not only if _POSIX_THREADS is defined.
114
115 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
116
117         * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
118
119 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
120
121         * Makefile.am: Copy and install headers from sys/machine/include
122         directory.  Also pass $toollibdir to lower-level directories.
123         * Makefile.in: Regenerated.
124         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
125         stderr to use _REENT macro instead of _impure_ptr directly.
126         * libc/include/sys/config.h[__i386__][__linux__]: Define
127         __DYNAMIC_REENT__.
128         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
129         call to __getreent() function if !__SINGLE_THREAD__ and
130         __DYNAMIC_REENT__ is set.
131         * libc/reent/Makefile.am: Add support for getreent.c.
132         * libc/reent/Makefile.in: Regenerated.
133         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
134         * libc/sys/linux/Makefile.am: Add support for new files.
135         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
136         * libc/sys/linux/Makefile.in: Regenerated.
137         * libc/sys/linux/configure: Ditto.
138         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
139         __close, __read, __write, __poll, __open, __lseek, __fcntl from
140         their __libc_ counterparts.
141         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
142         and weak-alias to regular names.
143         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
144         to pread64 and __pread64.
145         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
146         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
147         weak-alias to pwrite64.
148         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
149         __libc_sched_getscheduler, __libc_sched_get_priority_max,
150         __libc_sched_get_priority_min, and __libc_sched_setschedule to
151         name with __ instead of __libc_. 
152         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
153         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
154         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
155         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
156         to raise.
157         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
158         __libc_send to __send.
159         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
160         __gettimeofday.
161         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
162         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
163         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
164         type and typedef __jmp_buf to jmp_buf.
165         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
166         setjmp.S.
167         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
168         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
169         section.
170         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
171         prefix for function macros and then use weak_alias() to regular names.
172         * libc/sys/linux/machine/i386/syscall.h: Ditto.
173         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
174         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
175         to be flockfile() and funlockfile() respectively.
176         * libc/sys/linux/sys/types.h
177         * libc/reent/getreent.c: New file.
178         * libc/sys/linux/flockfile.c: Ditto.
179         * libc/sys/linux/funlockfile.c: Ditto.
180         * libc/sys/linux/getreent.c: Ditto.
181         * libc/sys/linux/pread.c: Ditto.
182         * libc/sys/linux/pwrite.c: Ditto.
183         * libc/sys/linux/raise.c: Ditto.
184         * libc/sys/linux/system.c: Ditto.
185         * libc/sys/linux/tcdrain.c: Ditto.
186         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
187         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
188         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
189         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
190         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
191
192 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
193
194         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
195         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
196         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
197         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
198
199 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
200
201         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
202         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
203         exit point.
204
205 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
206
207         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
208         options when testing natively on i[3456]86-*-linux.
209
210         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
211         only one pass or fail per test file.  Trim \r's from output
212         values received from test programs.  Remove support for named
213         tests.
214         * testsuite/newlib.locale/UTF-8.exp: Update to support new
215         newlib_check_output behaviour.
216         * testsuite/newlib.locale/UTF-8.c: Likewise.
217
218 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
219
220         * libc/include/stdlib.h: Add on_exit prototype.
221         * libc/include/sys/reent.h (struct _atexit): Add argument array
222         and bits to track type of exit routine to support both on_exit
223         and atexit.
224         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
225         by default and change the setting of the atexit structure.
226         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
227         * libc/stdlib/on_exit.c: New file.
228         * libc/stdlib/Makefile.am: Add support for on_exit.
229         * libc/stdlib/Makefile.in: Regenerated.
230         * libc/stdlib/atexit.c: Change to initialize types field.
231         * libc/stdlib/exit.c: Change to look at types field for each
232         exit routine and either call an atexit-style or an on_exit-style
233         routine accordingly.
234
235 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
236
237         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
238         allow v specifier with n or L specifiers.  For vector c format,
239         move tmp declaration to the top.
240
241 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
242
243         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
244         the original format specifier when looping for vectors to compensate
245         for any changes made in vector %g format processing.
246         Also add syntax checking for various invalid scenarios
247         involving vector format extensions.
248         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
249         return code setting for vector formats.  Also treat vector
250         separator mismatch as a match error instead of an input error.
251         Perform some syntax checking for vector formats.
252
253 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
254
255         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
256         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
257         * libc/string/strlcat.c: New file.
258         * libc/string/strlcpy.c: New file.
259
260 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
261
262         * libc/string/strchr.c: Fix comment typo.
263
264 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
265
266         * acinclude.m4: Add support for --enable-newlib-multithread.
267         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
268         --enable-newlib-multithread=no.
269
270         * libc/stdio/getc_u.c: New file.
271         * libc/stdio/getchar_u.c: New file.
272         * libc/stdio/putc_u.c: New file.
273         * libc/stdio/putchar_u.c: New file.
274         * libc/include/stdio.h: Add declarations for getc_unlocked,
275         getchar_unlocked, putc_unlocked and putchar_unlocked.
276         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
277         (CHEWOUT_FILES): Add new files' .def's.
278         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
279
280 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
281
282         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
283         Also handle as single quad word when destination ends at last
284         byte of first quad word.  Fix byte selection in single quad code.
285
286 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
287
288         * libc/include/sys/stdio.h: New file.
289         * libc/sys/linux/sys/stdio.h: New file.
290         * libc/include/stdio.h: Add declarations for flockfile,
291         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
292         * libc/stdio/clearerr.c: Add file locking.
293         * libc/stdio/fclose.c: Likewise.
294         * libc/stdio/feof.c: Likewise.
295         * libc/stdio/ferror.c: Likewise.
296         * libc/stdio/fflush.c: Likewise.
297         * libc/stdio/fgetc.c: Likewise.
298         * libc/stdio/fgetpos.c: Likewise.
299         * libc/stdio/fgets.c: Likewise.
300         * libc/stdio/fileno.c: Likewise.
301         * libc/stdio/fputc.c: Likewise.
302         * libc/stdio/fputs.c: Likewise.
303         * libc/stdio/fread.c: Likewise.
304         * libc/stdio/freopen.c: Likewise.
305         * libc/stdio/fseek.c: Likewise.
306         * libc/stdio/ftell.c: Likewise.
307         * libc/stdio/fwrite.c: Likewise.
308         * libc/stdio/getc.c: Likewise.
309         * libc/stdio/putc.c: Likewise.
310         * libc/stdio/setvbuf.c: Likewise.
311         * libc/stdio/ungetc.c: Likewise.
312         * libc/stdio/vfprintf.c: Likewise.
313
314 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
315
316         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
317         support for 'p' format.  Fix code to print bytes for vector
318         integer formats that do not specify 'h' or 'l'.
319         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
320         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
321         formats that do not specify 'h' or 'l'.
322
323         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
324
325 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
326
327         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
328         (_sbrk): Add cast of return value.
329
330 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
331
332         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
333         (_REENT_L64A_BUF): New macro for accessing area.
334         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
335         *  libc/stdlib/Makefile.in: Regenerated.
336         *  libc/stdlib/a64l.c: New file.
337         *  libc/stdlib/l64a.c: New file.
338
339 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
340
341         * libc/unix/pread.c: Fix typo for _pread_r.
342         * libc/unix/pwrite.c: Fix type for _pwrite_r.
343         * libc/sys/linux/pread64.c: Fix typo for read syscall.
344         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
345
346 2002-05-03  Christopher Faylor  <cgf@redhat.com>
347
348         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
349
350 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
351
352         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
353
354 2002-05-01  Christopher Faylor  <cgf@redhat.com>
355
356         * utmp.h: Define more UNIX constants.
357
358 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
359
360         * Makefile.am: Add support for checking multilibs.
361
362         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
363         (SUBDEFS): Add LIBC_EXTRA_DEF.
364         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
365         (LIBC_EXTRA_DEF): Likewise.
366         (extra_dir): Likewise.
367         * libc/machine/xscale/machine: New directory.
368         * libc/machine/xscale/machine/profile.h: New file.
369
370         * Makefile.am (site.exp): Remove newlib_cflags.  Add
371         multibuildtop.
372         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
373         * testsuite/lib/flags.exp: New file.
374         * testsuite/lib/newlib.exp: Load flags.exp.
375         (newlib_target_compile): Remove libgloss directory references.
376         (newlib_init): Remove newlib_cflags references.
377
378 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
379
380         * testsuite/lib/newlib.exp (newlib_target_compile): Change
381         method of finding libgloss_target_dir.
382
383         * Makefile.am (site.exp): Change host_alias, host_triplet,
384         target_alias, target_triplet to refer to gcc's host and target
385         variables (newlib's build and host variables).
386         * testsuite/lib/newlib.exp (newlib_init): Change build
387         references to host references, host references to target
388         references to reflect Makefile.am changes.
389         (newlib_target_compile): Likewise.
390         (newlib_finish): Likewise.
391
392 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
393
394         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
395
396 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
397
398         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
399         (_system): New function. Ditto.
400         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
401         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
402         targets.
403
404 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
405
406         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
407         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
408         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
409         *  libc/sys/linux/Makefile.in: Regenerated.
410         *  libc/unix/Makefile.in: Ditto.
411         *  libc/sys/linux/pread64.c: New file.
412         *  libc/sys/linux/pwrite64.c: Ditto.
413         *  libc/unix/pread.c: Ditto.
414         *  libc/unix/pwrite.c: Ditto.
415
416 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
417
418         *  libc/sys/linux/Makefile.am: Add io64.c.
419         *  libc/sys/linux/Makefile.in: Regenerated.
420         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
421         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
422         *  libc/sys/linux/io64.c: New file.
423
424 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
425
426         * configure.in (CC_FOR_NEWLIB): New variable that
427         bases on $(CC) and adds targ-include and libc/include as
428         -isystem directives if they are not already part of $(CC).
429         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
430         $(CC_FOR_NEWLIB).
431         * configure: Regenerated.
432         * Makefile.in: Ditto.
433
434 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
435
436         *  libc/sys/linux/Makefile.am: Add support for sched.c.
437         *  libc/sys/linux/Makefile.in: Regenerated.
438         *  libc/sys/linux/sched.c: New file.
439         *  libc/sys/linux/sys/types.h: Add struct timespec.
440
441 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
442
443         * configure.in (CC_FOR_BUILD): Set to gcc whether
444         cross-compiling or not.
445         (CC): Add -isystem's for targ-include and libc/include when they
446         do not already appear in CC.
447
448 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
449
450         * Makefile.am (check-DEJAGNU): New target.
451         (site.exp): Likewise.
452         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
453         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
454         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
455         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
456         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
457         * testsuite: New directory.
458         * testsuite/config: Likewise.
459         * testsuite/lib: Likewise.
460         * testsuite/newlib.locale: Likewise.
461         * testsuite/newlib.string: Likewise.
462         * testsuite/config/default.exp: New file.
463         * testsuite/lib/checkoutput.exp: New file.
464         * testsuite/lib/newlib.exp: New file.
465         * testsuite/lib/passfail.exp: New file.
466         * testsuite/newlib.locale/UTF-8.c: New file.
467         * testsuite/newlib.locale/UTF-8.exp: New file.
468         * testsuite/newlib.locale/locale.exp: New file.
469         * testsuite/newlib.string/string.exp: New file.
470         * testsuite/newlib.string/tstring.c: New file.
471
472 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
473
474         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
475         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
476         *  libc/sys/linux/Makefile.in: Regenerated.
477         *  libc/sys/linux/mmap.c: New file.
478         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
479         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
480
481 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
482
483         * acinclude.m4 (newlib_cflags): Remove include directories that
484         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
485
486 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
487
488         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
489         * libc/machine/xscale/memcmp.c: Ditto.
490         * libc/machine/xscale/memcpy.c: Ditto.
491         * libc/machine/xscale/memmove.c: Ditto.
492         * libc/machine/xscale/memset.c: Ditto.
493         * libc/machine/xscale/strchr.c: Ditto.
494         * libc/machine/xscale/strcmp.c: Ditto.
495         * libc/machine/xscale/strcpy.c: Ditto.
496         * libc/machine/xscale/strlen.c: Ditto.
497
498 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
499
500         * libc/include/sys/config.h: Remove include of <limits.h>.
501         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
502         define INT_MAX and LONG_MAX.  Use them in tests.
503
504 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
505
506         *  configure.host: Add support for powerpc-eabialtivec*.
507         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
508         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
509         *  libc/include/machine/malloc.h: New file.
510         *  libc/include/machine/stdlib.h: Ditto.
511         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
512         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
513         sources based on configuration.
514         *  libc/machine/powerpc/Makefile.in: Regenerated.
515         *  libc/machine/powerpc/configure: Ditto.
516         *  libc/machine/powerpc/configure.in: Add check for
517         powerpc-eabialtivec* in which case add in additional source files.
518         *  libc/machine/powerpc/setjmp.S: Add altivec support.
519         *  libc/machine/powerpc/vec_calloc.c: New file.
520         *  libc/machine/powerpc/vec_free.c: Ditto.
521         *  libc/machine/powerpc/vec_malloc.c: Ditto.
522         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
523         *  libc/machine/powerpc/vec_realloc.c: Ditto.
524         *  libc/machine/powerpc/machine/malloc.h: Ditto.
525         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
526         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
527         with added altivec format specifiers.
528         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
529         added altivec format specifiers.
530
531 2002-04-19      Joel Sherrill <joel@OARcorp.com>
532
533         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
534         while autoconf is trying to link main(){}.
535
536 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
537
538         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
539         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
540
541 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
542
543         * libc/time/time.tex: Add tzset info.
544
545 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
546
547         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
548         (strptime): Moved prototype to be within !__STRICT_ANSI__.
549         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
550         (tzname): Defined for all platforms.
551         (daylight, timezone): Defined only for CYGWIN.
552         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
553         environment set up.
554         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
555         environment variable is set.
556         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
557         tzset_r.c.
558         * libc/time/Makefile.in: Regenerated.
559         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
560         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
561         * libc/time/lcltime_r.c (lcltime_r): Ditto.
562         * libc/time/local.h: New local header file.
563         * libc/time/mktime.c (mktime): Add timezone support.
564         * libc/time/mktm_r.c: New file which is the common engine
565         for gmtime_r and lcltime_r.  This code has timezone support.
566         * libc/time/strftime.c (strftime): Add %Z timezone support.
567         * libc/time/tzlock.c: New file containing timezone lock stubs.
568         * libc/time/tzset.c: New file containing tzset() routine.
569         * libc/time/tzset_r.c: New file containing _tzset_r and
570         internal routine for calculating timezone changes for specified year.
571
572 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
573
574         * configure.in (CRT0_DIR): Set to libc/.
575         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
576         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
577         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
578         $(CRT1_DIR)/$(CRT1).
579         * libc/machine/xstormy16/Makefile.in: Regenerated.
580         * libc/machine/xstormy16/aclocal.m4: Regenerated.
581         * libc/machine/xstormy16/configure: Regenerated.
582
583 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
584
585         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
586         fails, don't bail out, and try to correct next time.
587
588         * libc/include/sys/config.h: Include limits.h.
589
590 2002-04-12  Eric Norum  <eric.norum@usask.com>
591
592         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
593         routine to allow autoconf to determine that building executables
594         for rtems works.
595         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
596         (rtems_gxx_mutex_once): Ditto.
597
598 2002-04-09  Tom Rix  <trix@redhat.com>
599
600         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
601
602 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
603
604         * libc/include/time.h: Fix strptime declaration.
605         * libc/time/Makefile.am: Add strptime.c.
606         * libc/time/Makefile.in: Regenerated.
607         * libc/time/strptime.c: New file.
608
609 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
610
611         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
612         siglongjmp prototype, and sigsetjmp macro definition.
613         * libc/sys/linux/siglongjmp.c: New file.
614         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
615         * libc/sys/linux/Makefile.in: Regenerated.
616
617 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
618
619         * Makefile.am: Add support for installing crt1.o if one exists.
620         * configure.host: Specify crt1.o for linux.
621         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
622         * Makefile.in: Regenerated.
623         * configure: Ditto.
624         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
625         Added for non-Cygwin, non-RTEMS configurations.
626         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
627         * libc/sys/linux/Makefile.in: Regenerated.
628         * libc/sys/linux/crt1.c: New empty file to override one defaulted
629         by gcc.  This fixes problem with reconfiguring linux newlib build.
630         * libc/sys/linux/sysconf.c: New file.
631
632 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
633
634         * configure.host: Add support for machine subdirectory of
635         sys subdirectory.
636         * configure.in: Add check for sys machine subdirectory.
637         * Makefile.am: Ditto.
638         * configure: Regenerated.
639         * Makefile.in: Ditto.
640         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
641         * libc/sys/linux/sys/syscall.h: Ditto.
642         * libc/sys/linux/sleep.c: New file.
643         * libc/sys/linux/socket.c: Ditto.
644         * libc/sys/linux/sockops.h: Ditto.
645         * libc/sys/linux/stack.c: Ditto.
646         * libc/sys/linux/usleep.c: Ditto.
647         * libc/sys/linux/machine/Makefile.am: Ditto.
648         * libc/sys/linux/machine/Makefile.in: Ditto.
649         * libc/sys/linux/machine/aclocal.m4: Ditto.
650         * libc/sys/linux/machine/configure: Ditto.
651         * libc/sys/linux/machine/configure.in: Ditto.
652         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
653         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
654         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
655         * libc/sys/linux/machine/i386/configure: Ditto.
656         * libc/sys/linux/machine/i386/configure.in: Ditto.
657         * libc/sys/linux/machine/i386/crt0.c: Ditto.
658         * libc/sys/linux/machine/i386/sigset.c: Ditto.
659         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
660         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
661         * libc/sys/linux/machine/i386/syscall.h: Ditto.
662         * libc/sys/linux/sys/select.h: Ditto.
663         * libc/sys/linux/configure.in: Add support for machine directory.
664         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
665         * libc/sys/linux/Makefile.in: Regenerated.
666         * libc/sys/linux/configure: Ditto.
667         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
668         * libc/sys/linux/inode.c: Ditto.
669         * libc/sys/linux/linux.c: Ditto.
670         * libc/sys/linux/process.c: Ditto.
671         * libc/sys/linux/systat.c: Ditto.
672         * libc/sys/linux/time.c: Ditto.
673         * libc/sys/linux/wait.c: Ditto.
674         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
675         * libc/sys/linux/io.c: Change header plus add readv/writev.
676         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
677         use __sigsuspend syscall.
678         * libc/sys/linux/select.c: Change header plus change select to
679         use _newselect syscall.
680         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
681         used by glibc header files.
682         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
683         types.
684
685 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
686
687         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
688         initializing a struct _reent that has been dynamically allocated.
689         (_REENT_CHECK_MISC): New macro that checks _misc struct for
690         _REENT_SMALL and does nothing otherwise.
691         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
692         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
693         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
694         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
695         [_REENT_SMALL](struct _misc_reent): New structure containing
696         miscellaneous reentrant areas needed by newlib.
697         [_REENT_SMALL](struct _reent): Add _misc pointer.
698         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
699         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
700         and _REENT_STRTOK_LAST macros.
701         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
702         and _REENT_MBLEN_STATE macros.
703         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
704         and _REENT_MBTOWC_STATE macros.
705         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
706         and _REENT_WCTOMB_STATE macros.
707
708 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
709
710         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
711
712 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
713
714         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
715
716 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
717
718         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
719         Store high part of leading bytes too.
720
721 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
722
723         * libm/math/ef_hypot.c: Increase scale factor to 68.
724
725 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
726
727         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
728         error.
729
730 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
731
732         * libc/sys/go32/access.c: Change license to relaxed license
733         used in identical file throughout newlib/libgloss.
734
735 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
736
737         * libc/sys/arm/access.c: New file.
738         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
739         * libc/sys/arm/Makefile.in: Regenerate.
740         * libc/sys/arm/syscalls.c (_stat): New function.
741
742 2002-03-11  Michael Meissner  <meissner@redhat.com>
743
744         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
745         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
746         * libc/machine/mips/Makefile.in: Regenerate.
747         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
748         * libc/machine/mips/memset.c: Dito.
749         * libc/machine/mips/strcmp.c: Dito.
750         * libc/machine/mips/strlen.c: Dito.
751         * libc/machine/mips/strncmp.c: Dito.
752
753 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
754
755         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
756         object so it works for shared library or statici library.
757 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
758
759         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
760         (strptime): Moved prototype to be within !__STRICT_ANSI__.
761         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
762         (tzname): Defined for all platforms.
763         (daylight, timezone): Defined only for CYGWIN.
764         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
765         environment set up.
766         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
767         environment variable is set.
768         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
769         tzset_r.c.
770         *  libc/time/Makefile.in: Regenerated.
771         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
772         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
773         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
774         *  libc/time/local.h: New local header file.
775         *  libc/time/mktime.c (mktime): Add timezone support.
776         *  libc/time/mktm_r.c: New file which is the common engine
777         for gmtime_r and lcltime_r.  This code has timezone support.
778         *  libc/time/strftime.c (strftime): Add %Z timezone support.
779         *  libc/time/tzlock.c: New file containing timezone lock stubs.
780         *  libc/time/tzset.c: New file containing tzset() routine.
781         *  libc/time/tzset_r.c: New file containing _tzset_r and
782         internal routine for calculating timezone changes for specified year.
783
784 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
785
786         * configure.in (CRT0_DIR): Set to libc/.
787         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
788         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
789         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
790         $(CRT1_DIR)/$(CRT1).
791         * libc/machine/xstormy16/Makefile.in: Regenerated.
792         * libc/machine/xstormy16/aclocal.m4: Regenerated.
793         * libc/machine/xstormy16/configure: Regenerated.
794
795 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
796
797         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
798         fails, don't bail out, and try to correct next time.
799
800         * libc/include/sys/config.h: Include limits.h.
801
802 2002-04-12  Eric Norum  <eric.norum@usask.com>
803
804         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
805         routine to allow autoconf to determine that building executables
806         for rtems works.
807         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
808         (rtems_gxx_mutex_once): Ditto.
809
810 2002-04-09  Tom Rix  <trix@redhat.com>
811
812         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
813
814 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
815
816         * libc/include/time.h: Fix strptime declaration.
817         * libc/time/Makefile.am: Add strptime.c.
818         * libc/time/Makefile.in: Regenerated.
819         * libc/time/strptime.c: New file.
820
821 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
822
823         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
824         siglongjmp prototype, and sigsetjmp macro definition.
825         * libc/sys/linux/siglongjmp.c: New file.
826         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
827         * libc/sys/linux/Makefile.in: Regenerated.
828
829 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
830
831         * Makefile.am: Add support for installing crt1.o if one exists.
832         * configure.host: Specify crt1.o for linux.
833         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
834         * Makefile.in: Regenerated.
835         * configure: Ditto.
836         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
837         Added for non-Cygwin, non-RTEMS configurations.
838         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
839         * libc/sys/linux/Makefile.in: Regenerated.
840         * libc/sys/linux/crt1.c: New empty file to override one defaulted
841         by gcc.  This fixes problem with reconfiguring linux newlib build.
842         * libc/sys/linux/sysconf.c: New file.
843
844 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
845
846         * configure.host: Add support for machine subdirectory of
847         sys subdirectory.
848         * configure.in: Add check for sys machine subdirectory.
849         * Makefile.am: Ditto.
850         * configure: Regenerated.
851         * Makefile.in: Ditto.
852         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
853         * libc/sys/linux/sys/syscall.h: Ditto.
854         * libc/sys/linux/sleep.c: New file.
855         * libc/sys/linux/socket.c: Ditto.
856         * libc/sys/linux/sockops.h: Ditto.
857         * libc/sys/linux/stack.c: Ditto.
858         * libc/sys/linux/usleep.c: Ditto.
859         * libc/sys/linux/machine/Makefile.am: Ditto.
860         * libc/sys/linux/machine/Makefile.in: Ditto.
861         * libc/sys/linux/machine/aclocal.m4: Ditto.
862         * libc/sys/linux/machine/configure: Ditto.
863         * libc/sys/linux/machine/configure.in: Ditto.
864         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
865         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
866         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
867         * libc/sys/linux/machine/i386/configure: Ditto.
868         * libc/sys/linux/machine/i386/configure.in: Ditto.
869         * libc/sys/linux/machine/i386/crt0.c: Ditto.
870         * libc/sys/linux/machine/i386/sigset.c: Ditto.
871         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
872         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
873         * libc/sys/linux/machine/i386/syscall.h: Ditto.
874         * libc/sys/linux/sys/select.h: Ditto.
875         * libc/sys/linux/configure.in: Add support for machine directory.
876         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
877         * libc/sys/linux/Makefile.in: Regenerated.
878         * libc/sys/linux/configure: Ditto.
879         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
880         * libc/sys/linux/inode.c: Ditto.
881         * libc/sys/linux/linux.c: Ditto.
882         * libc/sys/linux/process.c: Ditto.
883         * libc/sys/linux/systat.c: Ditto.
884         * libc/sys/linux/time.c: Ditto.
885         * libc/sys/linux/wait.c: Ditto.
886         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
887         * libc/sys/linux/io.c: Change header plus add readv/writev.
888         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
889         use __sigsuspend syscall.
890         * libc/sys/linux/select.c: Change header plus change select to
891         use _newselect syscall.
892         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
893         used by glibc header files.
894         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
895         types.
896
897 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
898
899         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
900         initializing a struct _reent that has been dynamically allocated.
901         (_REENT_CHECK_MISC): New macro that checks _misc struct for
902         _REENT_SMALL and does nothing otherwise.
903         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
904         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
905         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
906         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
907         [_REENT_SMALL](struct _misc_reent): New structure containing
908         miscellaneous reentrant areas needed by newlib.
909         [_REENT_SMALL](struct _reent): Add _misc pointer.
910         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
911         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
912         and _REENT_STRTOK_LAST macros.
913         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
914         and _REENT_MBLEN_STATE macros.
915         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
916         and _REENT_MBTOWC_STATE macros.
917         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
918         and _REENT_WCTOMB_STATE macros.
919
920 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
921
922         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
923
924 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
925
926         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
927
928 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
929
930         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
931         Store high part of leading bytes too.
932
933 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
934
935         * libm/math/ef_hypot.c: Increase scale factor to 68.
936
937 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
938
939         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
940         error.
941
942 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
943
944         * libc/sys/go32/access.c: Change license to relaxed license
945         used in identical file throughout newlib/libgloss.
946
947 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
948
949         * libc/sys/arm/access.c: New file.
950         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
951         * libc/sys/arm/Makefile.in: Regenerate.
952         * libc/sys/arm/syscalls.c (_stat): New function.
953
954 2002-03-11  Michael Meissner  <meissner@redhat.com>
955
956         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
957         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
958         * libc/machine/mips/Makefile.in: Regenerate.
959         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
960         * libc/machine/mips/memset.c: Dito.
961         * libc/machine/mips/strcmp.c: Dito.
962         * libc/machine/mips/strlen.c: Dito.
963         * libc/machine/mips/strncmp.c: Dito.
964
965 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
966
967         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
968         object so it works for shared library or statici library.
969         * libc/machine/i386/Makefile.in: Regenerated.
970
971 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
972
973         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
974         Add memcpy.S, memset.S and strcpy.S.
975         * libc/machine/sh/Makefile.in: Regenerate.
976         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
977         (SHHI, SHLO): Define.
978         * libc/machine/sh/memset.S: Add code for SH5.
979         * libc/machine/sh/memset.S: Likewise.
980         * libc/machine/sh/strcpy.S: Likewise.
981
982 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
983
984         * configure.host: Add check for --disable-newlib-io-float
985         configuration option and add -DNO_FLOATING_POINT to newlib cflags
986         if appropriate.
987         * acinclude.m4: Added --disable-newlib-io-float option.
988         * aclocal.m4: Regenerated.
989         * configure: Ditto.
990         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
991         * libc/*/aclocal.m4 libc/*/configure 
992         * libm/*/aclocal.m4 libm/*/configure: Ditto.
993         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
994         if NO_FLOATING_POINT flag is not defined.
995
996 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
997
998         * libc/include/sys/config.h: Add __extension__ in front of
999         long long references.
1000
1001 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1002
1003         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1004         (_stat): Ditto.
1005
1006 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
1007
1008         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1009         of off_t.
1010
1011 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
1012
1013         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1014         clobbered registers.
1015
1016 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1017
1018         * configure.host (newlib_cflags): When host is in m68* add
1019         -DCOMPACT_CTYPE.
1020
1021 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
1022
1023         * libc/include/sys/config.h: Add definitions for
1024         __int16_t, __uint16_t, __int64_t, and __uint64_t.
1025
1026 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
1027
1028         * libc/sys/mmixware/link.c: New.
1029         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1030         volatile.
1031         * libc/sys/mmixware/times.c (_times): Renamed from times.
1032         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1033         properly by reading previous contents, not through BinaryReadWrite.
1034         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1035         * libc/sys/mmixware/Makefile.in: Regenerate.
1036
1037 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
1038
1039         * libc/include/grp.h: Don't declare group functions when compiling
1040         Cygwin.
1041
1042 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
1043
1044         * libc/include/grp.h: Include Cygwin specific header.
1045         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
1046         when compiling for Cygwin.
1047         * libc/include/sys/types.h: Don't define off_t, uid_t
1048         and gid_t when compiling for Cygwin.
1049
1050 2002-02-08  matthew green  <mrg@redhat.com>
1051
1052         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1053         _REENT_EMERGENCY_SIZE, not sizeof(char *).
1054
1055 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
1056
1057         Contribute sh64-elf.
1058         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1059         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1060         support in printf.
1061         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
1062         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1063         any labels.
1064         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
1065         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1066         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
1067         * libc/machine/sh/configure.in: Rework conditionals.
1068         * libc/machine/sh/Makefile.am: Likewise.
1069         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1070         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
1071         * configure.host: Match `sh*'.
1072         * libc/include/machine/setjmp.h: Define for SH5.
1073         * libc/machine/sh/configure.in: Detect SH5.
1074         * libc/machine/sh/configure: Rebuilt.
1075         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1076         * libc/machine/sh/Makefile.in: Rebuilt.
1077         * libc/machine/sh/asm.h: Adjust for SH5.
1078         * libc/machine/sh/setjmp.S: Implement in SHmedia.
1079         * libc/sys/sh/crt0.S: Likewise.
1080         * libc/sys/sh/trap.S: Likewise.
1081
1082 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1083
1084         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1085         (mach_add_obj): Conditionally set to setjmp.o or nothing.
1086         (LIB_SOURCES): Remove $(mach_add_src).
1087         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1088         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1089         * libc/machine/i386/Makefile.in: Regenerate.
1090
1091 2002-02-05  Manik Raina <manik@cisco.com>
1092
1093         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1094         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1095         s, p, k, and outstr.
1096         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1097
1098 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
1099
1100         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1101         _REENT_CHECK_EMERGENCY macro.
1102
1103 2002-02-03  matthew green  <mrg@redhat.com>
1104
1105         * libc/reent/signgam.c (__signgam): Fix error in previous.
1106
1107 2002-02-02  matthew green  <mrg@redhat.com>
1108
1109         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1110
1111         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1112         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1113         * libc/include/sys/reent.h (struct _reent): Completely new version
1114         for _REENT_SMALL.
1115         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1116         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1117         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1118         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1119         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1120         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1121         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1122         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1123         (_REENT_EMERGENCY): Likewise.
1124
1125         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1126         the start of the real __sFILE, used for stdin, stdout and stderr until
1127         they are setup properly.
1128         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1129         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1130         allocated stdin, stdout and stderr.
1131         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1132         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1133         * libc/stdio/perror.c (_perror_r): Likewise.
1134         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1135         * libc/stdio/putchar.c (_putchar_r): Likewise.
1136         * libc/stdio/puts.c (_puts_r): Likewise.
1137         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1138         * libc/stdio/vprintf.c (vprintf): Likewise.
1139         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1140
1141         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1142
1143         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1144         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1145         for _REENT_SMALL.
1146         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1147         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1148
1149         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1150         _REENT_SMALL.
1151         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1152         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1153         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1154         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1155         * libc/stdlib/rand48.c (__dorand48): Likewise.
1156         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1157         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1158         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1159         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1160         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1161         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1162         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1163         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1164         * libc/stdlib/rand.c (rand): Likewise.
1165
1166         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1167         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1168
1169         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1170         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1171         * libc/include/sys/reent.h (struct _mprec): New structure.
1172
1173         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1174         _unused_strtok_last.
1175         * libc/string/strtok.c (strtok): Use a local static variable.
1176
1177         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1178         (_REENT_EMERGENCY_SIZE): Likewise.
1179         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1180         _REENT_ASCTIME_BUF().
1181         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1182         _REENT_TM().
1183
1184         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1185         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1186         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1187         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1188         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1189         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1190
1191 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1192
1193         * configure.host (xstormy16): Don't use the generic malloc.
1194         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1195         * libc/machine/xstormy16/Makefile.in: Regenerate.
1196         * libc/machine/xstormy16/mallocr.c: New file.
1197         * libc/machine/xstormy16/tiny-malloc.c: New file.
1198
1199 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1200
1201         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1202         when _CYGWIN_TYPES_H is not defined.
1203
1204 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1205
1206         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1207
1208 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1209
1210         * libc/include/sys/signal.h: Remove pthread_kill declaration
1211         when __CYGWIN__ is defined.
1212
1213 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1214
1215         * libc/include/time.h: Add prototype for strptime for Cygwin.
1216
1217 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1218
1219         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1220         dst was not word aligned.
1221
1222         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1223         if too much memory is requested.
1224
1225 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1226
1227         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1228         reads blanks from the input file to break if EOF reached
1229         rather than end processing.
1230
1231 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1232
1233         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1234
1235 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1236
1237         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1238         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1239         libc/include/sys/config.h: Ditto.
1240
1241 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1242
1243         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1244
1245 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1246             Catherine Moore  <clm@redhat.com>
1247             Richard Henderson  <rth@redhat.com>
1248             Corinna Vinschen  <vinschen@redhat.com>
1249
1250         * configure.host: Add support for xstormy16.
1251         * libc/include/machine/ieeefp.h: Add support for xstormy16.
1252         * libc/include/machine/setjmp.h: Add support for xstormy16.
1253         * libc/include/sys/config.h: Add support for xstormy16.
1254         * libc/machine/xstormy16/Makefile.am: New file.
1255         * libc/machine/xstormy16/Makefile.in: New file.
1256         * libc/machine/xstormy16/aclocal.m4: New file.
1257         * libc/machine/xstormy16/configure: New file.
1258         * libc/machine/xstormy16/configure.in: New file.
1259         * libc/machine/xstormy16/setjmp.S: New file.
1260
1261 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1262
1263         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1264         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1265
1266 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
1267
1268         * libm/machine/Makefile.am: Change rules to create correct lib.a.
1269         * libm/machine/Makefile.in: Regenerated through automake.
1270
1271 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1272
1273         * Makefile.am (DOCDIR): Force to empty string when doc
1274         directory is not present.
1275
1276 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1277
1278         * libc/machine/i386/f_*: Move to libm/machine/i386.
1279
1280 2001-12-18      Joel Sherrill <joel@OARcorp.com>
1281
1282         * libm/machine/Makefile.am: Add dummy doc stub so
1283         "make info" works.
1284
1285 2001-12-17      Joel Sherrill <joel@OARcorp.com>
1286
1287         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1288
1289 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1290
1291         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1292         $(COMPILE) rather than $(CC).
1293         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1294         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1295         $(LIB_COMPILE) change.
1296         (vfiprintf.$(oext)): Likewise.
1297
1298 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
1299
1300         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1301         conditionalized including of getopt stuff.
1302
1303 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1304
1305         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1306         compile line.
1307         (vfiprintf.$(oext)): Likewise.
1308
1309 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1310
1311         * Makefile.shared: New file.
1312         * libc/sys/linux/shared.ld: New file.
1313         * libm/machine/*: New files.
1314         * libm/machine/i386/*: New files.
1315         * Makefile.am: Add libtool support.  Change math and mathfp
1316         references to variables.
1317         * configure.host: Add variables for libtool support.  Add
1318         libm_machine_dir variable.
1319         * configure.in: Add objectlist variables, for libtool
1320         support.  Add CC_FOR_BUILD tests.
1321         * libc/Makefile.am: Add libtool support.  Change crt0.o
1322         reference to be a variable reference.
1323         * libc/configure.in: Add libtool support.  Change sublib
1324         names to be lib${subdir}.la when using libtool.
1325         * libc/ctype/Makefile.am: Add libtool support.
1326         * libc/errno/Makefile.am: Likewise.
1327         * libc/locale/Makefile.am: Likewise.
1328         * libc/machine/Makefile.am: Likewise.
1329         * libc/machine/configure.in: Likewise.
1330         * libc/machine/i386/Makefile.am: Likewise.
1331         * libc/machine/i386/configure.in: Likewise.
1332         * libc/misc/Makefile.am: Likewise.
1333         * libc/posix/Makefile.am: Likewise.
1334         * libc/reent/Makefile.am: Likewise.
1335         * libc/signal/Makefile.am: Likewise.
1336         * libc/stdio/Makefile.am: Likewise.
1337         * libc/stdlib/Makefile.am: Likewise.
1338         * libc/string/Makefile.am: Likewise.
1339         * libc/sys/Makefile.am: Likewise.
1340         * libc/sys/configure.in: Likewise.
1341         * libc/sys/linux/Makefile.am: Add libtool support.  Change
1342         awk reference to a variable reference.  Change signal.h
1343         reference to a variable reference.
1344         * libc/sys/linux/configure.in: Add libtool support.
1345         * libc/syscalls/Makefile.am: Likewise.
1346         * libc/time/Makefile.am: Likewise.
1347         * libc/unix/Makefile.am: Likewise.
1348         * libm/Makefile.am: Add libtool support.  Change math and
1349         mathfp references to variables.
1350         * libm/configure.in: Add libtool support.  Add
1351         LIBM_MACHINE_LIB variable.
1352         * libm/common/Makefile.am: Add libtool support.
1353         * libm/math/Makefile.am: Likewise.
1354         * libm/mathfp/Makefile.am: Likewise.
1355         Regenerate all Makefile.in, aclocal.m4, and configure.
1356
1357 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1358
1359         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1360
1361 2001-12-06  John Peacock <jpeacock@rowman.com>
1362
1363         * libc/include/sys/unistd.h: Correct ualarm declaration.
1364
1365 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1366
1367         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1368         vector before calling the initialisation functions.
1369
1370 2001-11-29  Christopher Faylor  <cgf@redhat.com>
1371
1372         * libc/include/dirent.h: Protect against multiple inclusion.
1373
1374 2001-11-27  Christopher Faylor  <cgf@redhat.com>
1375
1376         * libc/include/sys/types.h: Define useconds_t.
1377         * libc/include/sys/ulimit.h: Declare ualarm.
1378
1379 2001-11-21  Christopher Faylor  <cgf@redhat.com>
1380
1381         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1382
1383 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
1384
1385         * libc/sys/mmixware/*: Tweak license header in all source files.
1386
1387 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
1388
1389         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1390         to here.  Rearrange for general inclusion by stdlib.h.
1391         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1392         isn't defined.
1393         * libc/sys/linux/include/alloca.h: Move to libc/include.
1394
1395 2001-11-12  Anthony Green  <green@redhat.com>
1396
1397         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1398
1399 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
1400
1401         * libc/sys/mmixware/*: Correct spacing in all source files.
1402         * libc/sys/mmixware/syscall.h: Move misplaced file...
1403         * libc/sys/mmixware/sys/syscall.h: ...here.
1404
1405 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
1406
1407         * libc/include/machine/ieeefp.h: Add support for mmix target.
1408         * libc/include/machine/setjmp.h: Ditto.
1409         * configure.host: Ditto.
1410         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1411         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1412         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1413         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1414         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1415         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1416         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1417         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1418         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1419         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1420         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1421         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1422         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1423         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1424         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1425         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1426         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1427         libc/sys/mmixware/aclocal.m4: Generate.
1428
1429 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
1430
1431         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1432         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1433         when __CYGWIN__ is defined.
1434         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1435         logwtmp().
1436
1437 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
1438
1439         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1440         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1441         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1442         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1443
1444 2001-10-24  Christopher Faylor  <cgf@redhat.com>
1445
1446         * libc/stdio/fseek.c: Reset pointer to buffer base
1447         when forced to seek outside of current buffer contents.
1448         This prevents the code from erroneously thinking there is
1449         anything in the current buffer.
1450
1451 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
1452
1453         * libc/include/math.h: The C++ standard adds the single-precision
1454         versions of the elementary functions.
1455
1456 2001-10-22  Christopher Faylor  <cgf@redhat.com>
1457
1458         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1459         throughout.
1460         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1461         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1462         * system.c (_system_r): Ditto.
1463
1464 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
1465
1466         * libc/include/sys/unistd.h: Add prototype for fchdir() when
1467         __CYGWIN__ or __rtems__ is defined.
1468
1469 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
1470
1471         * libc/include/stdlib.h: add declarations for
1472         _strtoull_r, _strtoll_r, strtoull, and strtoll.
1473         * libc/stdio/local.h: remove declarations of
1474         __strtoull_r and __strtoll_r.
1475         * libc/stdio/vfscanf.c(__svfscanf_r): call
1476         _strtoull_r instead of __strtoull_r. Ditto
1477         _strtoll_r vs. __strtoll_r.
1478         * libc/stdlib/Makefile.am: add new files to
1479         .c list and .def list
1480         * libc/stdlib/Makefile.in: regenerate
1481         * libc/stdlib/strtoll_r.c: rename __strtoll_r
1482         as _strtoll_r
1483         * libc/stdlib/strtoull_r.c: rename __strtoull_r
1484         as _strtoull_r
1485         * libc/stdlib/strtoull.c: new file
1486         * libc/stdlib/strtoll.c: new file
1487
1488 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
1489
1490         * libc/include/process.h: Add getpid() declaration.
1491
1492 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1493
1494         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1495         for new style arm/elf ctor/dtor handling.
1496         Minor formatting tidy up.
1497
1498 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
1499
1500         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1501         and strtoull_r.c.
1502         * libc/stdlib/Makefile.in: Regenerated.
1503         * libc/stdlib/strtoll_r.c: New file.
1504         * libc/stdlib/strtoull_r.c: New file.
1505         * libc/stdio/local.h: Add prototypes for long long string
1506         conversion routines.
1507         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1508         tied to %L integer conversion specifier.
1509
1510 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
1511
1512         * strftime.c (strftime): Fix "%W" implementation to properly handle
1513         Mondays too.
1514
1515 2001-09-07  Jeff Law  <law@redhat.com>
1516
1517         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1518         __fini with "mov.l" instead of "mov.w".
1519
1520 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
1521
1522         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1523         and getopt.h.
1524
1525 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
1526
1527         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1528
1529 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1530
1531         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1532         field.
1533         (__DIRENT_VERSION): New define.
1534
1535 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1536
1537         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1538         Shrink __d_reserved accordingly to keep structure size.
1539         (dirfd): Declare external.
1540
1541 2001-08-29  Joel Sherrill <joel@OARcorp.com>
1542
1543         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1544
1545 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1546
1547         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1548           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1549           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1550           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1551           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1552           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1553           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1554           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1555         Add conditional compilation to avoid HW FPU instructions
1556         when compiled for soft-float.
1557
1558 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1559
1560         * Makefile.am: Add check for ln failing when creating libg.a
1561         so that cp gets used as a backup.
1562         * Makefile.in: Regenerated.
1563
1564 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1565
1566         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1567         No longer include time.h.  Add struct __tm to use for
1568         _localtime_buf in the reentrant structure.  Add a
1569         _NULL definition to use in initializing the reentrant struct.
1570         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1571         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1572         <sys/_types.h>.
1573         * libc/include/sys/unistd.h: Include <sys/_types.h>.
1574         * libc/time/lcltime.c (localtime): Cast the reentrant struct
1575         _localtime_buf to be struct tm *.
1576
1577 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
1578
1579         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1580         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1581         __ctors_end.
1582         * libc/sys/h8300hms/syscalls.c: Include errno.h.
1583         (_unlink): New stub function.
1584
1585 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
1586
1587         * libc/include/sys/errno.h: Add a cautionary comment.
1588
1589 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
1590
1591         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1592         for SIZE_SZ so that alignment ends up a minimum of 8.
1593
1594 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
1595
1596         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1597         arguments.
1598
1599         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1600         Cygwin.
1601
1602 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
1603
1604         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1605         macro constants for mallopt options.
1606         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1607
1608 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
1609
1610         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1611         otherwise default.
1612
1613 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
1614
1615         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1616
1617 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
1618
1619         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1620         Define for little endian ARMs.
1621
1622         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1623         __IEEE_BYTES_LITTLE_ENDIAN is defined.
1624
1625 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
1626
1627         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1628
1629 2001-06-11  Egor Duda  <deo@logos-m.ru>
1630
1631         * libc/ctype/ctype_.c: When compiled with gcc on platforms
1632         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1633         initialized memory region. Platform can define COMPACT_CTYPE
1634         to avoid allocation of the additional 128 bytes of data.
1635         Add pointer to _ctype_ array. Always initialize all _ctype_
1636         array elements.
1637
1638 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
1639
1640         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1641         NULL pointer.
1642
1643 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1644
1645         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1646
1647 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
1648
1649         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1650         matching, non-word alignment, and the length is <= 4 but more than
1651         enough to move them over a word boundary.
1652         Add comments explaining what each instruction does.
1653
1654 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
1655
1656         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1657         * libc/include/sys/unistd.h: Ditto.
1658
1659 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
1660
1661         * libc/string/strrchr.c: Use strchr for the speed improvements.
1662
1663 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
1664
1665         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1666         real file systems, let __smakebuf() determine if line buffering
1667         should be used for stdout.
1668
1669 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1670
1671         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1672
1673 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1674
1675         * libc/include/stdlib.h: Add prototype for _strtod_r.
1676
1677 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
1678
1679         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1680         * libc/stdio/vprintf.c (_vprintf_r): new function
1681         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1682         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1683         _DEFUN, and call _vfprintf_r, not vfprintf.
1684         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1685         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1686         _DEFUN, and call _vfprintf_r, not vfprintf.
1687
1688 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
1689   
1690         * libc/include/sys/unistd.h [X_OK]: Use better protection against
1691         Cygwin X_OK definitions in sys/file.h.
1692
1693 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
1694
1695         * libc/include/sys/time.h: Define timercmp and other macros for
1696         __CYGWIN__, too.
1697
1698 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
1699         
1700         * acinclude.m4: Added --enable-malloc-debugging configure flag.
1701         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1702         --enable-malloc-debugging selected.
1703         * aclocal.m4 configure: Regenerated.
1704           libm/aclocal.m4 libm/configure: Ditto.
1705         * libc/aclocal.m4 libc/configure: Ditto.
1706         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1707         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1708         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1709         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1710         * doc/aclocal.m4 doc/configure: Ditto.
1711
1712 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
1713
1714         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1715         into one list.
1716         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1717         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1718         function prototypes.
1719         (_fscanf_r, _sscanf_r): Ditto.
1720         * libc/include/stdlib.h: Added _strtod_r prototype.
1721         * libc/stdio/Makefile.am: Add new v*scanf functions.
1722         * libc/stdio/Makefile.in: Regenerate.
1723         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1724         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
1725         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1726         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1727         (sscanf): Changed to call __svfscanf_r with _REENT argument.
1728         (_sscanf_r): New routine.
1729         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1730         with __svfscanf_r prototype.
1731         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1732         routines.
1733         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1734         structure as argument as calls reentrant versions of helper functions
1735         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1736         to _strtol_r and _strtod_r respectively.
1737         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1738         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1739         _REENT argument.
1740         * libc/stdio/vscanf.c: New file.
1741         * libc/stdio/vsscanf.c: Ditto.
1742
1743 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
1744
1745         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
1746         Define daylight to _daylight if it is not defined
1747         Prepare a variable export of timezone based on timezonevariable. 
1748         (Cannot be used with the timezone() function.)
1749
1750 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
1751
1752         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1753          Correct the numerical values.
1754
1755 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
1756
1757         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1758
1759 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
1760
1761         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1762         on case insensitve file systems.
1763
1764 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
1765
1766         * libc/include/sys/features.h: Add appropriate defines for Cygwin
1767         pthread support.
1768         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1769         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1770         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
1771
1772 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
1773
1774         * libc/include/machine/ieeefp.h: Comment about new configuration
1775         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1776         * libm/common/fdlib.h: Define new macros for testing floats.
1777         * libm/common/sf_*: Use them.
1778         * libm/math/ef_*: Likewise.
1779         * libm/math/sf_*: Likewise.
1780
1781 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
1782
1783         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1784         prolog to by-pass possible assembler error.
1785
1786 2001-03-21  Egor Duda  <deo@logos-m.ru>
1787
1788         Allow building internal stubs for non-reentrant syscalls
1789         if target provides its own malloc
1790         * libc/reent/reent.c (errno): Move definition here.
1791         * libc/reent/sbrkr.c: From here.
1792
1793 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
1794
1795         * libc/include/sys/types.h (BSD int typedefs): Guard with
1796         _BSDTYPES_DEFINED rather than _WINSOCK_H.
1797         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1798         _SYS_TYPES_FD_SET.
1799         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1800         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1801
1802 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
1803
1804         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1805         _PC_POSIX_SECURITY constants for Cygwin.
1806
1807 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
1808
1809         * libc/sys/cygwin/crt0.c: Add copyright hint.
1810         * libc/sys/cygwin/sys/dirent.h: Ditto.
1811         * libc/sys/cygwin/sys/param.h: Ditto.
1812         * libc/sys/cygwin/sys/utime.h: Ditto.
1813         * libc/sys/cygwin/sys/utmp.h: Ditto.
1814
1815 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1816
1817         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1818         equivalent to LONGINT.
1819
1820 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
1821
1822         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1823         jmpbuf on MIPS64 targets.
1824         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1825
1826 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
1827
1828         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
1829           declarations.
1830
1831 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
1832
1833         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1834         For RTEMS, define to be ssize_t.  Default to int if not defined.
1835         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1836         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1837         * libc/stdio/local.h (__sread, __swrite): Likewise.
1838         * libc/include/sys/reent.h (_read, _write): Likewise.
1839         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1840         * libc/syscalls/sysread.c (read): Likewise.
1841         * libc/syscalls/syswrite.c (write): Likewise.
1842
1843 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
1844
1845         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1846
1847 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
1848
1849         * libc/include/sys/stat.h: Use special defines for executable stat bits
1850         when compiling for Cygwin.
1851         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1852         for Cygwin.
1853
1854 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
1855
1856         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1857         of strtok_r is always defined.
1858
1859 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
1860
1861         * libc/include/machine/ansi.h: New dummy header file.
1862
1863 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
1864
1865         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1866         changed the copyright information to allow free modification of the
1867         file with no reference to "copying.dj".
1868         * libc/include/sys/stat-dj.h: Ditto.
1869         * libc/machine/i386/setjmp.S: Ditto.
1870         * libc/sys/h8300hms/sys/file.h: Ditto.
1871         * libc/sys/sysmec/access.c: Ditto.
1872         * libc/sys/sysnecv850/access.c: Ditto.
1873         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1874         * libc/stdlib/getenv_r.c: Ditto.
1875         * libc/stdlib/putenv_r.c: Ditto.
1876         * libc/stdlib/setenv_r.c: Ditto.
1877         * libc/stdlib/getenv.c: Removed DJ reference since any possible
1878         modifications will now be in the _r version of this file.
1879         * libc/stdlib/putenv.c: Ditto.
1880         * libc/stdlib/setenv.c: Ditto.
1881         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1882         valid.  Added a reference to DJ's web page that contains his address.
1883         * libc/sys/go32/*.s: Removed references to DJ's old address.
1884         * libc/sys/go32/*.c: Ditto.
1885         * libc/sys/go32/*.h: Ditto.
1886         * libc/sys/go32/*.S: Ditto.
1887         * libc/sys/go32/sys/*.h: Ditto.
1888
1889 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
1890
1891         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1892         HAVE_FCNTL flag check.
1893         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1894         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1895
1896 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
1897
1898         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1899
1900 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
1901
1902         * libc/include/stdlib.h: Add declarations of rand48 functions and
1903         their reentrant versions.
1904         * libc/include/sys/reent.h: Move macros from rand48.h. Add
1905         struct _rand48 for shared parameters of rand48 functions.
1906         (struct _reent): Add a variable _r48 of struct _rand48.
1907         (_REENT_INIT): Add _r48 initialization.
1908         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
1909         (CHEWOUT_FILES): Add rand48.def.
1910         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
1911         * libc/stdlib/Makefile.in: Regenerated.
1912         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
1913         NetBSD C library.
1914         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
1915         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
1916         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
1917         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
1918         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
1919         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
1920         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
1921         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
1922         * libc/stdlib/rand48.c (__dorand48): Ditto.
1923         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
1924         parameters into macros referring them in the reentrant structure.
1925
1926 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
1927
1928         * libc/include/sys/stat.h: Add mknod for Cygwin now that
1929         Cygwin definition has correct prototype.
1930
1931 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
1932
1933         * libc/include/sys/stat.h: Must revert change for mknod
1934         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1935         prototype.
1936
1937 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
1938
1939         * libc/include/stdio.h: Revert putw prototype.
1940
1941 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
1942
1943         * libc/include/grp.h: add prototype for initgroups.
1944         * libc/include/stdio.h: fix prototype for putw.
1945         * libc/include/sys/signal.h: add prototype for killpg.
1946         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1947         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1948         vhangup and remove duplicate sysconf prototype.
1949
1950 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1951
1952         * libc/sys/rtems/sys/types.h: Removed.
1953
1954 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
1955
1956         * libc/include/locale.h: add LC_MESSAGES definition
1957
1958 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
1959
1960         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
1961         SYS_get_argN):
1962         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
1963         __setup_argv_and_call_main): New.
1964
1965 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
1966
1967         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
1968         if defined.
1969         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
1970         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
1971         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
1972         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
1973
1974 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
1975
1976         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
1977         compiling under Cygwin.
1978
1979 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
1980
1981         * libc/include/math.h (signgam): Change to errno-like solution
1982         using a function to return the address of the real signgam.
1983         * libc/reent/signgam.c: New file containing __signgam().
1984         * libc/reent/Makefile.am: Added signgam.c to list of files.
1985         * libc/reent/Makefile.in: Regenerated.
1986
1987 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
1988
1989         * libc/sys/sh/syscalls.c (_times): New.
1990
1991         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
1992         * libc/sys/sh/syscalls.c (_gettimeofday): New.
1993
1994 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
1995
1996         * libc/include/math.h (signgam): Regress previous fix as
1997         it does not handle programs with extern int signgam in them.
1998
1999 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2000
2001         * libc/include/math.h (signgam): Changed to a macro refering to
2002         its location in the reentrant structure.
2003
2004 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
2005
2006         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2007         that suppressed . for %.0f, 0.1.  Check now looks if there
2008         are padding zeroes (expt) in addition to any digits (ndig) to
2009         print.
2010
2011 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
2012
2013         * libc/sys/arc/Makefile.am: New file.
2014         * libc/sys/arc/Makefile.in: Ditto.
2015         * libc/sys/arc/aclocal.m4: Ditto.
2016         * libc/sys/arc/configure: Ditto.
2017         * libc/sys/arc/configure.in: Ditto.
2018         * libc/sys/arc/crt0.S: Ditto.
2019         * libc/sys/arc/isatty.c: Ditto.
2020         * libc/sys/arc/mem-layout.c: Ditto.
2021         * libc/sys/arc/sbrk.c: Ditto.
2022         * libc/sys/arc/syscalls.c: Ditto.
2023         * libc/sys/arc/sys/syscall.h: Ditto.
2024
2025 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
2026
2027         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2028
2029 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
2030
2031         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2032
2033 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
2034
2035         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2036
2037 2001-01-09  Nick Clifton  <nickc@redhat.com>
2038
2039         * configure.host (v859): Remove unsupported compiler options.
2040
2041 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
2042
2043         * src/newlib/configure.host (*-*-rtems*): add printf long long
2044         support for RTEMS.
2045
2046 2000-12-19  Graham Stott <grahams@redhat.com>
2047
2048         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2049
2050 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2051
2052         * configure.host: Turn on long double I/O for Cygwin.
2053
2054 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
2055
2056         * MAINTAINERS: Removed Ranjith.
2057         * NEWS: Updated for 1.9.0.
2058         * README: Updated.
2059         * acinclude.m4: Updated to release 1.9.0.
2060         * aclocal.m4 configure
2061           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2062           libc/machine/aclocal.m4 libc/machine/configure
2063           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2064           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2065           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2066           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2067           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2068           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2069           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2070           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2071           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2072           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2073           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2074           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2075           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2076           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2077           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2078           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2079           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2080           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2081           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2082           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2083           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2084           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2085           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2086           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2087           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2088           libc/sys/aclocal.m4 libc/sys/configure
2089           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2090           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2091           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2092           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2093           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2094           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2095           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2096           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2097           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2098           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2099           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2100           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2101           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2102           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2103           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2104           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2105           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2106           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2107           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2108           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2109           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2110           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2111           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2112           libm/aclocal.m4 libm/configure: Regenerated.
2113
2114 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2115
2116         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2117         when __CYGWIN__ is defined.
2118
2119 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2120
2121         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2122         that categorizes a long double as NaN, Infinity, or other.
2123         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2124         isinfl and isnanl static routines which were i386-specific.  Changed 
2125         calls to the two removed routines to a single _ldcheck call.
2126         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2127
2128 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2129
2130         * Makefile.am: Fixed install-data-local target to use
2131         $(mkinstalldirs) for the installed header files to ensure
2132         the directories exist before copying.
2133         * Makefile.in: Regenerated.
2134
2135 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2136
2137         * libc/include/sys/unistd.h: Restored Cygwin _SC
2138         constants and moved new constants appropriately
2139         so Cygwin will build.
2140
2141 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2142
2143         * Merge RTEMS specific .h files into main libc/include.
2144         * libc/sys/rtems/include/signal.h: Removed.
2145         * libc/sys/rtems/include/time.h: Removed.
2146         * libc/sys/rtems/sys/features.h: Removed.
2147         * libc/sys/rtems/sys/sched.h: Removed.
2148         * libc/sys/rtems/sys/siginfo.h: Removed.
2149         * libc/sys/rtems/sys/signal.h: Removed.
2150         * libc/sys/rtems/sys/time.h: Removed.
2151         * libc/sys/rtems/sys/times.h: Removed.
2152         definitions for time_t and clock_t since these are
2153         no longer in time.h.
2154         * libc/include/pthread.h: New file.
2155         * libc/include/sys/sched.h: New file.
2156         * libc/include/sys/features.h: New file.
2157         * libc/include/time.h: Removed duplicate definition of clock_t
2158         and time_t, get them from <sys/types.h> instead.  Add prototypes
2159         for POSIX clock and timer functionality.
2160         * libc/sys/linux/sys/types.h: Changed to include
2161         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2162         * libc/include/sys/signal.h: Add more complete set of POSIX
2163         signal functionality including real-time and threaded signals.
2164         * libc/include/sys/types.h: Add clock_t, time_t, struct
2165         timespec, and struct itimerspec.  Centralizing these makes 
2166         things cleaner.  RTEMS uses 64-bit dev_t.
2167         Added numerous primitive definitions
2168         for pthreads including macros, pthread_attr_t,
2169         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2170         pthread_once_t, and pthread_t.
2171         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2172         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2173         Feature flags removed and moved to new file <sys/features.h>.
2174         Full set of POSIX sysconf() constants
2175
2176 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2177
2178         * configure.host: Added x86 linux target.
2179         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2180         definitions provided if not already defined.
2181         * libc/sys/linux/crt0.c: New file.
2182         * libc/sys/linux/Makefile.am: Ditto.
2183         * libc/sys/linux/Makefile.in: Ditto.
2184         * libc/sys/linux/aclocal.m4: Ditto.
2185         * libc/sys/linux/brk.c: Ditto.
2186         * libc/sys/linux/configure: Ditto.
2187         * libc/sys/linux/configure.in: Ditto.
2188         * libc/sys/linux/getoptlong.c: Ditto.
2189         * libc/sys/linux/ids.c: Ditto.
2190         * libc/sys/linux/inode.c: Ditto.
2191         * libc/sys/linux/io.c: Ditto.
2192         * libc/sys/linux/linux.c: Ditto.
2193         * libc/sys/linux/process.c: Ditto.
2194         * libc/sys/linux/realpath.c: Ditto.
2195         * libc/sys/linux/select.c: Ditto.
2196         * libc/sys/linux/signal.c: Ditto.
2197         * libc/sys/linux/systat.c: Ditto.
2198         * libc/sys/linux/termios.c: Ditto.
2199         * libc/sys/linux/time.c: Ditto.
2200         * libc/sys/linux/wait.c: Ditto.
2201         * libc/sys/linux/include/alloca.h: Ditto.
2202         * libc/sys/linux/include/getopt.h: Ditto.
2203         * libc/sys/linux/include/stdint.h: Ditto.
2204         * libc/sys/linux/include/unistd.h: Ditto.
2205         * libc/sys/linux/sys/cdefs.h: Ditto.
2206         * libc/sys/linux/sys/dirent.h: Ditto.
2207         * libc/sys/linux/sys/errno.h: Ditto.
2208         * libc/sys/linux/sys/fcntl.h: Ditto.
2209         * libc/sys/linux/sys/file.h: Ditto.
2210         * libc/sys/linux/sys/ioctl.h: Ditto.
2211         * libc/sys/linux/sys/resource.h: Ditto.
2212         * libc/sys/linux/sys/signal.h: Ditto.
2213         * libc/sys/linux/sys/stat.h: Ditto.
2214         * libc/sys/linux/sys/syscall.h: Ditto.
2215         * libc/sys/linux/sys/termios.h: Ditto.
2216         * libc/sys/linux/sys/time.h: Ditto.
2217         * libc/sys/linux/sys/types.h: Ditto.
2218         * libc/sys/linux/sys/utmp.h: Ditto.
2219         * libc/sys/linux/sys/utsname.h: Ditto.
2220         * libc/sys/linux/sys/wait.h: Ditto.
2221
2222 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2223
2224         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2225         can be a relative path to $(top_srcdir)/install.sh so ensure the
2226         autoconf detected settings are properly passed recursively.
2227         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2228         properly to subdirectories.
2229         * Makefile.in: Regenerated.
2230
2231 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2232
2233         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2234         a floating point register unless really printing a floating
2235         point number.
2236
2237 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2238
2239         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2240         Also removed \r's.
2241         (asctoeg): Replaced alloca call with stack array and malloc
2242         when storage exceeds reasonable limit.
2243         (e53toe): Fixed einfin calls missing ldp parameter.
2244         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2245
2246 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2247
2248
2249         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2250
2251 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2252
2253         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2254         * libc/stdlib/Makefile.in: Regenerated.
2255         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2256         * libc/stdio/vfieeefp.h: Added long double bit structures.
2257         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2258         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2259         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2260         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2261         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2262         _strtold routines used for conversions between character
2263         and long double.
2264
2265 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2266
2267         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2268
2269 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2270
2271         * libc/include/machine/time.h: RTEMS systems can configure clock
2272         tick rate so use sysconf() to ask.
2273
2274 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2275
2276         * libc/include/sys/times.h: Add reference to POSIX standard.
2277
2278 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2279
2280         * libc/include/sys/time.h: Added BSD timer manipulation macros
2281         used by RTEMS code.
2282
2283 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2284
2285         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2286         referenced by code generated by gcc 2.8.1.
2287         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
2288         satisfy gcc.
2289
2290 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2291
2292         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2293
2294 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2295
2296         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2297
2298 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2299
2300         * configure.host (or16, or32): New entries for OpenCores
2301         OpenRisc CPUs.
2302         (*-*-rtems*): Add -DNO_EXEC.
2303
2304 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2305
2306         * libc/include/sys/errno.h: Added comments on many error numbers.
2307         * libc/string/strerror.c: Added some more strings.
2308
2309 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
2310
2311         * libc/sys/sh/syscalls.c (_link): New stub.
2312
2313 2000-11-29  Nick Clifton  <nickc@redhat.com>
2314
2315         * configure.host: Add xscale target.
2316         * libc/machine/xscale: New directory.
2317         * libc/machine/xscale/Makefile.am: New file.
2318         * libc/machine/xscale/Makefile.in: New file.
2319         * libc/machine/xscale/aclocal.m4: New file.
2320         * libc/machine/xscale/configure: New file.
2321         * libc/machine/xscale/configure.in: New file.
2322         * libc/machine/xscale/memchr.S: New file.
2323         * libc/machine/xscale/memcmp.S: New file.
2324         * libc/machine/xscale/memcpy.S: New file.
2325         * libc/machine/xscale/memmove.S: New file.
2326         * libc/machine/xscale/memset.S: New file.
2327         * libc/machine/xscale/strchr.S: New file.
2328         * libc/machine/xscale/strcmp.S: New file.
2329         * libc/machine/xscale/strcpy.S: New file.
2330         * libc/machine/xscale/strlen.S: New file.
2331
2332 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2333
2334         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2335         avoid compiler warnings.
2336
2337 2000-11-22  Michael Meissner  <meissner@redhat.com>
2338
2339         * libc/posix/execl.c (execl): Don't reference environ directly,
2340         reference it only via a static pointer to avoid problems with some
2341         shared library systems and with different uses of small data where
2342         the user specifies his own version of environ.
2343         * libc/posix/execv.c (execv): Ditto.
2344         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2345         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2346         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2347
2348         * libc/stdlib/getenv.c (environ): Delete unused reference to
2349         environ.
2350
2351         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2352         colorization.
2353         * libc/stdlib/system.c: Ditto.
2354
2355 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
2356
2357         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2358         including windows headers.
2359
2360 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
2361
2362         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2363         * libc/include/dirent.h: Added definition of MAXNAMLEN if
2364         not defined by sys/dirent.h.
2365         * libc/posix/execvp.c: Added include of dirent.h to get
2366         MAXNAMLEN value which used to be in unistd.h.
2367
2368 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2369
2370         * libc/include/sys/types.h: Change type of i to `size_t' in
2371         FD_ZERO macro to avoid compiler warnings.
2372
2373 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
2374
2375         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2376         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
2377
2378 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2379
2380         * libc/include/sys/unistd.h: Add defines for sysconf values
2381         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2382         _SC_AVPHYS_PAGES.
2383
2384 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
2385
2386         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2387         declarations for __CYGWIN__.
2388
2389 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
2390
2391         * libc/signal/signal.c (__sigtramp_r): ISO C requires
2392         case labels to be integral constant expressions, so
2393         use an if/else tree instead.
2394         (_raise_r): Likewise.
2395
2396 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2397
2398         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2399         clipping patch from e-mail reader.
2400
2401 2000-09-13  Will Cohen  <wcohen@redhat.com>
2402
2403         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2404         Added return value 0.
2405         (_longjmp): Allow longjmp to return value of second argument
2406         passed to it.
2407
2408 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
2409
2410         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2411         inline code to prevent having to include another header file.
2412
2413 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
2414
2415         * Makefile.am: Fix space vs. tab problem in install-data-local.
2416         * Makefile.in: Regenerate.
2417
2418 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
2419
2420         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2421         (_EXPARM): New macro for defining a function parameter.
2422         * libc/include/stdlib.h: Use _EXPARM.
2423         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2424
2425 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
2426
2427         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2428         required, as documented in the gnu coding standards.
2429         * Makefile.in: Regenerate.
2430
2431 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
2432
2433         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2434         make O_NDELAY and O_NONBLOCK have the same value.
2435
2436 2000-08-30  Kazu Hirata  <kazu@hxi.com>
2437
2438         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2439
2440 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2441
2442         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2443         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2444         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2445         everywhere else.
2446
2447 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
2448
2449         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2450         * libc/include/string.h: Don't include <sys/types.h>,
2451         as it causes really bad namespace pollution.  Don't declare
2452         swab(), it is properly declared in unistd.h.
2453
2454 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2455
2456         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2457         (broken) support for non-existent /etc/passwd field "comment".
2458
2459 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2460
2461         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2462         only if _DIRENT_HAVE_D_NAMLEN is defined.
2463         (alphasort): aligned prototype with
2464         libc/sys/cygwin/sys/dirent.h and simplified function body.
2465         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2466         long telldir (DIR *) as mentioned in annex B of POSIX.1
2467
2468 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2469
2470         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2471         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2472         Added __CLI and __STI macros (controlled via
2473         _I386MACH_ALLOW_HW_INTERRUPTS macro).
2474         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2475         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2476         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2477         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2478         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2479         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2480         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2481         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2482         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2483         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2484         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2485         for all global entry points.
2486         * libc/machine/i386/setjmp.S: removed code replicated in
2487         libc/machine/i386/i386mach.h and included i386mach.h instead;
2488         Use __CLI and __STI instead of cli and sti.
2489
2490 2000-08-25  DJ Delorie  <dj@redhat.com>
2491
2492         * libc/include/sys/unistd.h (environ): this one isn't from the
2493         DLL, no __IMPORT
2494
2495 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
2496
2497         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2498         environ when compiling under cygwin since it is already declared in
2499         unistd.h.
2500
2501 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2502
2503         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2504         like  x << y-z  to the equivalent  x << (y-z).
2505         (d2b): changed if statements with assignment to perform the
2506         assignment prior to the if check.
2507         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2508         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2509         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2510         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2511         precedence.
2512         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2513         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
2514         execve.c).
2515         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2516         precedence.
2517         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2518         clarify && and || precendence (and to remove pascalism).
2519         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2520         * libm/math/s_infconst.c: added another pair of braces to all
2521         initializers for __infinity (need three: for __infinity[1] array,
2522         for union __dmath, and for i[2]).
2523
2524 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2525
2526         * libc/stdlib/abort.c: changed description: uses "raise" instead of
2527         "getpid" and "kill"; added: uses "write" and "_exit".
2528         Also included unistd.h for "_exit" prototype.
2529         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2530         reent.h for "_fork_r" and "_wait_r" prototypes.
2531         (do_system): changed  extern char *environ[] to POSIX-friendly 
2532         extern char **environ.
2533         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2534         prototypes.
2535         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2536         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2537         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2538         * libc/reent/openr.c: included fcntl.h for "open" prototype.
2539         * libc/reent/signalr.c: included signal.h for "kill" prototype,
2540         unistd.h for "getpid" prototype.
2541         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2542         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2543         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2544         prototype.  Also included stdlib.h for "abort", string.h for
2545         "strdup" and "strncmp" prototypes.
2546         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2547         "strncpy", unistd.h for "read" and "close" prototypes.
2548         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2549         "strcat" prototypes.
2550
2551 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
2552
2553         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2554         used later (ifdef __SCLE)
2555         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2556         used later (ifdef MB_CAPABLE)
2557         * libc/string/memset.c (memset): removed unused variables "count"
2558         and "unaligned_addr"
2559         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2560         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2561         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2562         and "gid"
2563
2564 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2565
2566         * libc/stdlib/envlock.c: changed documented "__env_lock" and
2567         "__env_unlock" prototype from "void *" or "char *" to
2568         "struct _reent *" to match real function.  Also added include
2569         of envlock.h.
2570         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2571         "__malloc_unlock" prototype from "void *" or "char *" to
2572         "struct _reent *" to match real function.
2573         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2574         prototypes (for getenv_r.c and setenv_r.c).
2575
2576 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2577
2578         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2579         and prototype in cygwin's utmp.h
2580
2581 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
2582
2583         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2584
2585 2000-08-09  Nick Clifton  <nickc@cygnus.com>
2586
2587         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2588         epilogue and to allow the functions to be used in a Thumb based
2589         toolchain.
2590
2591 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
2592
2593         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2594         so size of 0 results in nothing being written to string.
2595         Also fixed code so that when size is non-zero, there is only
2596         a maximum of size - 1 characters written to the array and
2597         a nul terminator is appended at the end.
2598         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2599
2600 2000-08-01  DJ Delorie  <dj@redhat.com>
2601
2602         * libc/include/sys/config.h: define __IMPORT appropriately
2603         * libc/include/ctype.h (_ctype_): use __IMPORT
2604         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2605         * libc/include/math.h (__mb_cur_max): ditto
2606         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2607         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2608         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2609         * libc/include/unistd.h (environ): ditto
2610
2611 2000-07-28  Michael Meissner  <meissner@redhat.com>
2612
2613         * libc/include/math.h (__infinity): Declare as an array without
2614         bounds to get around small data support.  Rewrite Cygwin support
2615         to be more general.
2616         * libm/math/s_infconst.c (__infinity): Ditto.
2617         * libm/mathfp/s_infconst.c (__infinity): Ditto.
2618
2619 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
2620
2621         * libc/include/math.h: Use appropriate dll import linkage for
2622         __infinity under Cygwin.
2623
2624 2000-07-13  DJ Delorie  <dj@cygnus.com>
2625
2626         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2627
2628 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
2629
2630         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2631         to argument list for AngelSWI_Reason_GetCmdLine.
2632
2633 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
2634
2635         * configure.host: Add support for AVR target.
2636         * libc/include/machine/ieeefp.h: Likewise.
2637         * libc/include/sys/config.h: Likewise.
2638
2639 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2640
2641         * README: Newlib 1.8.2 must be built in a separate directory
2642         than the sources.
2643
2644 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2645
2646         * libc/include/sys/reent.h (_rand_next): Added __extension__
2647         qualifier as long long type is not strict ANSI.
2648         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2649         to long long constant.
2650
2651 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
2652
2653         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2654         `setegid' provided by Cygwin.
2655
2656 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
2657
2658         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2659         account for Cygwin.
2660
2661 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2662
2663         * libc/include/sys/reent.h (_rand_next): Changed to
2664         unsigned long long and moved to end of _reent struct in _new union.
2665         (_REENT_INIT): Changed to move _rand_next initialization.
2666         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2667         linear congruential algorithm that is used by DJGPP.
2668
2669 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2670
2671         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2672         * libc/include/sys/config.h: Define __RAND_MAX.
2673
2674 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2675
2676         * libc/stdlib/rand_r.c: New algorithm that meets minimal
2677         standard.
2678
2679 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
2680
2681         * libc/include/string.h: Work around problem with strsignal and gdb.
2682
2683 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
2684
2685         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2686         * libc/include/malloc.h: Ditto.
2687         * libc/include/process.h: Ditto.
2688         * libc/include/stdio.h: Ditto.
2689         * libc/include/stdlib.h: Ditto.
2690         * libc/include/time.h: Ditto.
2691         * libc/include/machine/setjmp.h: Ditto.
2692         * libc/include/sys/errno.h: Ditto.
2693         * libc/include/sys/signal.h: Ditto.
2694         * libc/include/sys/stat.h: Ditto.
2695         * libc/include/sys/time.h: Ditto.
2696         * libc/include/sys/unistd.h: Ditto.
2697         * libc/include/string.h: Ditto.  strsignal should return a const char *.
2698
2699 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
2700
2701         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2702         * libm/common/s_log1p.c (log1p): Likewise.
2703         * libm/common/s_scalbn.c (scalbn): Likewise.
2704         * libm/math/e_log.c: Likewise.
2705         * libm/math/e_asin.c: Likewise.
2706         * libm/math/ef_asin.c: Likewise.
2707         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2708         * libm/math/e_j1.c (pone, qone): Likewise.
2709         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2710         * libm/math/ef_j1.c (ponef, qonef): Likewise.
2711         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2712         * libm/mathfp/e_j1.c (pone, qone): Likewise.
2713         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2714         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2715
2716 2000-05-19  DJ Delorie  <dj@cygnus.com>
2717
2718         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2719         (__sread): always read in binary mode
2720         (__swrite): always write in binary mode
2721         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2722         compatibility issues with different dll versions
2723         * libc/stdio/fopen.c: use __stextmode
2724         * libc/stdio/fdopen.c: ditto
2725         * libc/stdio/freopen.c: ditto
2726         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2727         * libc/stdio/local.h: declare __stextmode
2728         
2729 2000-05-18  DJ Delorie  <dj@cygnus.com>
2730
2731         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2732         
2733 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2734
2735         * libc/include/ctype.h: Changed tolower and toupper macros
2736         to use __extension__ to prevent pedantic warnings.
2737
2738 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
2739
2740         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2741         structures.
2742
2743 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
2744
2745         * libc/include/machine/ieeefp.h: Add ia64 support.
2746         * configure.host: Likewise.
2747
2748 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
2749
2750         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2751         month is now padded with space, not zero.  This now conforms to
2752         ANSI standard.
2753
2754 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
2755
2756         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2757         host or network path") used by cygwin. Add some comments.
2758
2759 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
2760
2761         * libc/include/stdio.h (FILE): define __SCLE for "convert line
2762         endings" for Cygwin.
2763         (__sgetc): convert line endings if needed
2764         (__sputc): ditto
2765         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2766         * libc/stdio/fopen.c (_fopen_r): ditto
2767         * libc/stdio/freopen.c (freopen): ditto
2768         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2769         * libc/stdio/fvwrite.c (__sfvwrite): ditto
2770
2771 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
2772
2773         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2774         post-increment when it is worth it, spacewise.
2775
2776 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
2777
2778         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2779         * libc/stdio/findfp.c (std): Added declaration of flags and file.
2780         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
2781         return type.
2782         * libc/stdio/putchar.c (putchar): Added return statement.
2783         * libc/stdio/refill.c (lflush): Added correct parentheses.
2784         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2785         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
2786         prints long value to use l qualifier.
2787         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2788         messages and initialized local values: ilim, ilim1, and spec_case.
2789         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2790         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2791         * libc/stdlib/mprec.c: Ditto.
2792         * libc/stdlib/setenv_r.c: Ditto.
2793         * libc/stdlib/strtod.c: Ditto.
2794         * libc/stdlib/strtol.c: Ditto.
2795         * libc/stdlib/strtoul.c: Ditto.
2796         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2797         * libm/common/sf_log1p.c: Ditto.
2798         * libm/common/sf_scalbn.c: Ditto.
2799         * libm/math/ef_log.c: Ditto.
2800
2801 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
2802
2803         * libc/posix/execvp.c (execvp): Check path for
2804         trailing slash.
2805
2806 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
2807
2808         * libc/include/sys/unistd.h: Add prototypes for
2809         fchmod, fchown, lchown.
2810
2811 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2812
2813         * acinclude.m4: Changed release to 1.8.2.
2814         * aclocal.m4 configure doc/aclocal.m4 doc/configure
2815           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2816           libc/machine/configure libc/machine/a29k/aclocal.m4
2817           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2818           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2819           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2820           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2821           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2822           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2823           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2824           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2825           libc/machine/i386/configure libc/machine/i960/aclocal.m4
2826           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2827           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2828           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2829           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2830           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2831           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2832           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2833           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2834           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2835           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2836           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2837           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2838           libc/machine/v850/configure libc/machine/w65/aclocal.m4
2839           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2840           libc/machine/z8k/configure libc/sys/aclocal.m4
2841           libc/sys/aclocal.m4 libc/sys/configure
2842           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2843           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2844           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2845           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2846           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2847           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2848           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2849           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2850           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2851           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2852           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2853           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2854           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2855           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2856           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2857           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2858           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2859           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2860           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2861           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2862           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2863           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2864           libm/aclocal.m4 libm/configure: Regenerated.
2865
2866 2000-03-24  Nick Clifton  <nickc@cygnus.com>
2867
2868         * libc/sys/arm/syscalls.c: Fix compile time warnings.
2869         (do_AngelSWI): Add "cc" to list o registers clobbered.
2870
2871 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
2872
2873         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2874         information to be clobbered by an Angel C library support syscall. 
2875
2876 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2877
2878         * libc/stdlib/envlock.c: Fixed comment typo.
2879
2880 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2881
2882         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2883         code to update nread as each character is processed instead
2884         of using buffer contents which throw away leading zeroes.
2885
2886 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
2887
2888         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2889
2890 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
2891
2892         * libc/include/string.h: Include <sys/types.h>.
2893
2894 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2895
2896         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2897         with XSH5, not SVID.
2898
2899 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
2900
2901         * libc/include/string.h: Changed last argument back to ssize_t
2902         to make it compatible with XPG4 definition which is 
2903         defined in <unistd.h>.  There is a conflict in the SVID 3
2904         and XPG4 definitions and newlib will settle with XPG4.
2905         * libc/string/swab.c: Ditto.
2906
2907 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
2908
2909         * libc/include/string.h: Changed last argument to size_t.
2910         * libc/string/swab.c: Changed last argument to size_t.
2911
2912 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2913
2914         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
2915         (CHEWOUT_FILES): Added unlinkr.def.
2916         * libc/reent/Makefile.in: Rebuilt.
2917         * libc/sys.tex: Include unlinkr.def.
2918         * libc/reent/linkr.c (_unlink_r): Moved to...
2919         * libc/reent/unlinkr.c: ... new file.
2920
2921 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2922
2923         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
2924         (CHEWOUT_FILES): Added swab.def.
2925         * libc/string/Makefile.in: Rebuilt.
2926         * libc/string/string.tex: Include swab.def.
2927         * libc/include/string.h (swab): Declare.
2928         * libc/string/swab.c: New file.
2929
2930 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2931
2932         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
2933         (CHEWOUT_FILES): Added getw.def and putw.def.
2934         * libc/stdio/Makefile.in: Rebuilt.
2935         * libc/stdio/stdio.tex: Include getw.def and putw.def.
2936         * libc/stdio/getw.c: New file.
2937         * libc/stdio/putw.c: New file.
2938
2939 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
2940
2941         * libc/stdio/flags.c (__sflags): Added check that mode[1]
2942         is non-null before looking at mode[2].
2943
2944 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
2945
2946         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2947         * libm/mathfp/sf_atan.c: Ditto.
2948
2949 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
2950
2951         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2952
2953 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
2954
2955         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
2956         _DOUBLE_IS_32BITS.
2957
2958 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
2959
2960         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
2961         call prior to calling _VFPRINTF_R so reentrant data area is set.
2962         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2963
2964 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2965
2966         * libc/stdio/vfscanf.c (limits.h): #include.
2967         (MAX_LONG_LEN): #define.
2968         (__svfscanf): Handle floating point numbers with arbitrary amounts
2969         of leading zeroes.
2970
2971 2000-02-15  Nick Clifton  <nickc@cygnus.com>
2972
2973         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
2974         zero.  Set the blocksize to 1024/
2975
2976 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
2977
2978         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
2979         with line buffering.
2980
2981 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2982
2983         * acinclude.m4: Changed include directory for winsup headers. 
2984         * aclocal.m4 configure libc/aclocal.m4
2985           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
2986           libc/locale/Makefile.in libc/machine/aclocal.m4
2987           libc/machine/configure libc/machine/a29k/aclocal.m4
2988           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2989           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2990           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2991           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2992           libc/machine/fr30/configure
2993           libc/machine/h8300/aclocal.m4
2994           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2995           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2996           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2997           libc/machine/i386/configure libc/machine/i960/aclocal.m4
2998           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2999           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3000           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3001           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3002           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3003           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3004           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3005           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3006           libc/machine/powerpc/configure 
3007           libc/machine/sh/aclocal.m4
3008           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3009           libc/machine/sparc/configure
3010           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3011           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3012           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3013           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3014           libc/misc/Makefile.in libc/posix/Makefile.in
3015           libc/reent/Makefile.in 
3016           libc/signal/Makefile.in
3017           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3018           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3019           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3020           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3021           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3022           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3023           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3024           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3025           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3026           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3027           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3028           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3029           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3030           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3031           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3032           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3033           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3034           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3035           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3036           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3037           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3038           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3039           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3040           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3041           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3042           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3043           libm/configure: Regenerated.
3044
3045 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
3046
3047         * libc/stdlib/putenv_r.c (_putenv_r): New file.
3048         * libc/stdlib/strdup_r.c (_strdup_r): New file.
3049         * libc/include/string.h: Added _strdup_r.
3050         * libc/stdlib/putenv.c: Added call to reentrant version. 
3051         * libc/stdlib/strdup.c: Ditto.
3052         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3053         * libc/include/stdlib.h: Ditto.
3054         * libc/stdlib/Makefile.in: Regenerated. 
3055         * libc/string/Makefile.in: Regenerated.
3056         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3057         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3058         management calls to reentrant versions.
3059         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3060         * libc/stdlib/wctomb.c: Ditto.
3061         * libc/stdlib/mblen.c: Ditto.
3062         * libc/stdlib/mbstowcs.c: Ditto.
3063         * libc/stdlib/mbtowc.c: Ditto. 
3064         * libc/stdlib/getenv.c: Ditto.
3065         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3066         and _strdup_r.
3067
3068 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
3069
3070         patch from Corinna Vinschen <corinna@vinschen.de>
3071         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3072
3073 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
3074
3075         * libm/mathfp/s_atangent.c: Fix exponent calculation.
3076         * libm/mathfp/s_ldexp.c: Ditto.
3077         * libm/mathfp/sf_atangent.c: Ditto.
3078         * libm/mathfp/sf_ldexp.c: Ditto.
3079
3080 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3081
3082         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3083         * libc/include/locale.h: define NULL to be 0.
3084
3085 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
3086
3087         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3088         function.
3089
3090 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
3091
3092         * libc/machine/mn10300/setjmp.S: Handle am33.
3093
3094 1999-11-26  Nick Clifton  <nickc@cygnus.com>
3095
3096         * libc/sys/arm/syscalls.c: Add function prototypes.
3097         (stack_ptr): Move declaration before function definitions.
3098
3099 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3100
3101         * NEWS: Updated version information.
3102         * README: Ditto.
3103
3104 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
3105
3106         * libc/machine/i386/strchr.S: Fixed alignment test.
3107
3108 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
3109
3110         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3111
3112 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3113
3114         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3115         ensuring that there is space between the two.
3116
3117 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3118
3119         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3120         only.
3121
3122 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3123
3124         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3125         section
3126
3127 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3128
3129         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3130         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3131
3132 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3133         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3134           per POSIX 1003.1b.
3135         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3136           per POSIX 1003.1b.
3137
3138 1999-09-13  DJ Delorie  <dj@cygnus.com>
3139
3140         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3141         also.
3142
3143 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3144
3145         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3146         also note BUFSIZ as its size.
3147
3148 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3149
3150         * configure.host: Corrected feature defines for RTEMS.
3151         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3152         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3153         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3154           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3155           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3156           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3157           _PC_PRIO_IO, and _PC_SYNC_IO.
3158         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3159         * libc/machine/m68k/Makefile.in: Regenerated.
3160         * libc/machine/m68k/strcpy.c: New file.
3161         * libc/machine/m68k/strlen.c: New file.
3162         * libc/stdio/tmpnam.c: Always make the returned name usable.
3163         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3164         * libc/sys/rtems/sys/dirent.h: New file.
3165         * libc/sys/rtems/sys/types.h: Added dev_t.
3166
3167 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3168
3169         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3170
3171 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3172
3173         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3174         my patch.
3175
3176 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3177
3178         patch from Jeff Johnston <jjohnstn@cygnus.com>
3179         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3180         buffer is not in a useful state.
3181
3182 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3183
3184         * libc/sys/arm/syscalls.c (_link): Add stub.
3185
3186 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3187
3188         * ftell.c (ftell): Use actual position within buffer for text mode.
3189         * findfp.c (std): Initialize ptr->_bf._size.
3190
3191 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3192
3193         * libc/include/sys/unistd.h: Add nice() declaration.
3194
3195 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3196
3197         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3198         declare as a thumb function so that the disassembler will see the
3199         mode change.
3200
3201 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3202
3203         * libc/reent/reent.tex: Updated list of reentrant functions.
3204
3205 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3206
3207         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3208         
3209 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3210
3211         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3212         separate file.
3213         * libc/stdio/snprintf.c: New file.
3214         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3215         separate file.
3216         * libc/stdio/vsnprintf.c: New file.
3217         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3218         * libc/stdio/Makefile.in: Regenerated.
3219
3220 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3221
3222         Patch submitted by Egor Duda <deo@logos-m.ru>:
3223         * libc/include/stdio.h: Add declarations for *nprintf.
3224         * libc/stdio/sprintf.c (snprintf): New function.
3225         (_snprintf_r): New function.
3226         * libc/stdio/vsprintf.c (vsnprintf): New function.
3227         (_vnsprintf_r): New function.
3228
3229 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3230
3231         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3232         * libm/Makefile.am (stmp-targetdep): Ditto.
3233         * libc/Makefile.in: Regenerated.
3234         * libm/Makefile.in: Ditto.
3235
3236 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3237
3238         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3239         * libm/Makefile.am (stmp-targetdep): Ditto.
3240         * libc/Makefile.in: Regenerated.
3241         * libm/Makefile.in: Ditto.
3242
3243 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3244
3245         * Makefile.am: Removed dependencies on all-recursive and added "."
3246         to the SUBDIRS list to prevent infinite recursion from occurring.
3247         Also removed any references to EXTRA_DATA.
3248         * libc/Makefile.am: Ditto.
3249         * libc/machine/Makefile.am: Ditto.
3250         * libc/machine/i386/Makefile.am: Ditto.
3251         * libm/Makefile.am: Ditto.
3252         * libc/sys/Makefile.am: Ditto.
3253         * Makefile.in: Regenerated.
3254         * aclocal.m4: Ditto.
3255         * configure: Ditto.
3256         * doc/Makefile.in: Ditto.
3257         * doc/aclocal.m4: Ditto.
3258         * doc/configure: Ditto.
3259         * libc/Makefile.in: Ditto.
3260         * libc/aclocal.m4: Ditto.
3261         * libc/configure: Ditto.
3262         * libc/machine/Makefile.in: Ditto.
3263         * libc/machine/aclocal.m4: Ditto.
3264         * libc/machine/configure: Ditto.
3265         * libc/machine/mn10300/Makefile.in: Ditto.
3266         * libc/machine/mn10300/aclocal.m4: Ditto.
3267         * libc/machine/mn10300/configure: Ditto.
3268         * libc/sys/Makefile.in: Ditto.
3269         * libc/sys/aclocal.m4: Ditto.
3270         * libc/sys/configure: Ditto.
3271         * libm/Makefile.in: Ditto.
3272         * libm/aclocal.m4: Ditto.
3273         * libm/configure: Ditto.
3274
3275 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3276
3277         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3278
3279 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3280
3281         * libc/include/stdlib.h: Add reentrant routines.
3282         * libc/stdlib/Makefile.am: Add reentrant routines.
3283         * libc/stdlib/Makefile.in: Ditto.
3284         * libc/stdlib/envlock.c: New file.
3285         * libc/stdlib/envlock.h: New file.
3286         * libc/stdlib/getenv.c: Modify to call reentrant routine.
3287         * libc/stdlib/getenv_r.c: New file.
3288         * libc/stdlib/mblen.c: Modify to call reentrant routine.
3289         * libc/stdlib/mblen_r.c: New file.
3290         * libc/stdlib/setenv.c: Modify to call reentrant routine.
3291         * libc/stdlib/setenv_r.c: New file.
3292         * libc/stdlib/stdlib.tex: Add reentrant routines.
3293
3294 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
3295
3296         * libc/include/sys/types.h: Define __MS_types__ whenever
3297         cygwin or win32.
3298
3299 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
3300
3301         * libc/include/machine/ieeefp.h: Always default to little
3302         endian if Windows, regardless of architecture.
3303         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3304         regardless of architecture.
3305
3306 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
3307
3308         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3309         _WIN32 isn't defined.
3310
3311 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3312
3313         * libm/common/s_rint.c (rint): Add volatile qualifier for
3314         intermediate value w.
3315         * libm/common/sf_rint.c (rintf): Ditto.
3316
3317 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3318
3319         * libc/sys/arm/syscalls.c (remap_handle): Added check to
3320         ensure that std streams are initialized before being referenced.
3321
3322 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
3323
3324         * README: Update reference to newlib@cygnus.com new
3325         newlib@sourceware.cygnus.com address.
3326
3327 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
3328
3329         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3330         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3331         defined, even if _WIN32 isn't defined.
3332
3333 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
3334
3335         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3336
3337 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
3338
3339         * libc/include/sys/reent.h: Change Long and ULong to __Long and
3340         __ULong.
3341         * libc/stdlib/dtoa.c: Ditto.
3342         * libc/stdlib/mprec.c: Ditto.
3343         * libc/stdlib/mprec.h: Ditto.
3344         * libc/stdlib/strtod.c: Ditto.
3345
3346 1999-04-21  Nick Clifton  <nickc@cygnus.com>
3347
3348         * configure.host (mcore): Remove mcore machine directory.
3349
3350 1999-04-18  Nick Clifton  <nickc@cygnus.com>
3351
3352         * libc/include/machine/ieeefp.h: Add support for mcore target.
3353         * libc/include/machine/setjmp.h: Add support for mcore target.
3354         * configure.host: Add support for mcore target.
3355
3356 1999-04-13  Mark Salter  <msalter@cygnus.com>
3357
3358         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3359         * libc/sys/arm/syscalls.c: Added isatty.
3360
3361 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3362
3363         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3364         insert zeroes after significant digits.
3365
3366 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3367         
3368         * libc/stdio/vfprintf.c (cvt): Changed floating point
3369         cvt routine to use union used by dtoa to properly determine
3370         if the sign bit is on or not.
3371         * libc/stdio/vfieeefp.h: New file
3372         
3373 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3374
3375         * aclocal.m4: Regenerated.
3376         * configure: Regenerated.
3377
3378 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3379
3380         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3381         f_tanf reference.
3382         * libc/machine/i386/Makefile.in: Regenerated.
3383
3384 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3385
3386         * acinclude.m4: Changed to work with new automake.
3387         * configure: Regenerated.
3388         * libc/machine/i386/aclocal.m4: Regenerated.
3389         * libc/machine/i386/configure: Regenerated.
3390
3391 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
3392
3393         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3394         for telldir() and seekdir().  Rename unused structure element
3395         for use with these two routines.
3396
3397 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3398
3399         * libc/time/mktime.c (validate_structure): Multiple fixes to
3400         code to handle cases where input fields are outside valid ranges.
3401         * libc/stdlib/div.c (div): Modified invalid rounding check.
3402         * libc/stdlib/ldiv.c (ldiv): Ditto.
3403
3404 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3405
3406         * libc/machine/i386/memcpy.S: Performance rewrite.
3407         * libc/machine/i386/memmove.S: Ditto.
3408         * libc/machine/i386/i386mach.h: Added more register definitions.
3409         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3410         option used.
3411         * libc/include/machine/fastmath.h: Add definitions for x86
3412         fast-math routines.
3413
3414 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3415
3416         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3417
3418 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
3419
3420         Adjust newlib headers for new Cygwin Win32 API header files:
3421         * libc/include/sys/time.h: Check _WINSOCK_H rather than
3422         _GNU_H_WINDOWS32_SOCKETS.
3423         * libc/include/sys/types.h: Ditto.
3424
3425 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3426
3427         *include/sys/reent.h: Add checks for size of Bigint element Long.
3428         *libc/dtoa.c: Change routines to use generic Long type.
3429         *libc/mprec.c: Change routines to use generic Long type.
3430         *libc/mprec.h: Change routines to use generic Long type.
3431
3432 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3433
3434         * libc/Makefile.am: Add .def files.
3435         * libc/Makefile.in: Regenerate.
3436         * libc/e_acosh.c: Documentation update.
3437         * libc/e_atanh.c: Documentation update.
3438         * libc/e_hypot.c: Documentation update.
3439         * libc/e_remainder.c: Documentation update.
3440         * libc/er_lgamma.c: Documentation update.
3441         * libc/mathfp.tex: Documentation update.
3442         * libc/s_acos.c: Documentation update.
3443         * libc/s_atan.c: Documentation update.
3444         * libc/s_atan2.c: Documentation update.
3445         * libc/s_cosh.c: Documentation update.
3446         * libc/s_fmod.c: Documentation update.
3447         * libc/s_isnan.c: Documentation update.
3448         * libc/s_log10.c: Documentation update.
3449         * libc/s_pow.c: Documentation update.
3450         * libc/w_jn.c: Documentation update.
3451
3452 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
3453
3454         * aclocal.m4: Regenerate.
3455         * configure: Regenerate.
3456
3457 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3458
3459         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3460         to return 1 if user specified return code is 0.
3461         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3462
3463 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3464
3465         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3466         to save the return address.  Fixed longjmp to return to the original
3467         calling address of setjmp and to return the user specified return code
3468         rather than default to 1.
3469         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3470
3471 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3472
3473         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3474
3475 1999-02-10  Nick Clifton  <nickc@cygnus.com>
3476
3477         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3478         volatile so that its assignments will not be discarded.
3479
3480 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3481
3482         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3483         be __STRICT_ANSI__ which is generated by compiler.
3484         * libc/include/ctype.h: Ditto.
3485         * libc/include/math.h: Ditto.
3486         * libc/include/stdio.h: Ditto.
3487         * libc/include/stdlib.h: Ditto.
3488         * libc/include/string.h: Ditto.
3489         * libc/include/sys/signal.h: Ditto.
3490
3491 1999-02-08  Nick Clifton  <nickc@cygnus.com>
3492
3493         * configure.host: Add support for StrongARM target.
3494
3495 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3496
3497         * libc/string/strncpy.c (strncpy): Removed redundant code
3498         that was copying bytes if data unaligned.
3499
3500 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
3501
3502         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3503         mbstowcs.def, and wcstombs.def.
3504
3505 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
3506
3507         * libc/include/sys/errno.h: Add Cygwin errno.
3508         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3509         is specified.
3510
3511 1999-01-29  Nick Clifton  <nickc@cygnus.com>
3512
3513         * libc/sys/arm/syscalls.c: Move C library functions into seperate
3514         file.
3515         
3516         * libc/sys/arm/libcfunc.c: New file containing C library functions
3517         from syscalls.c
3518
3519         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3520         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3521
3522
3523 1999-01-27  Michael Meissner  <meissner@cygnus.com>
3524
3525         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3526         type, and cut size in half so that the jmp_buf array is guaranteed
3527         to be aligned on a 64-bit boundary.
3528
3529 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3530
3531         * libc/string/strings.tex: Added information about
3532         strcasecmp and strncasecmp.
3533         * libc/stdlib/stdlib.tex: Added missing information
3534         about mblen, mbstowcs, and wcstombs.
3535         * libc/string/strchr.c: Changed how mask is built to use
3536         shift operators so register will be used instead of storage.
3537
3538 1999-01-22  DJ Delorie  <dj@cygnus.com>
3539
3540         * libc/include/stdlib.h: don't use dllimport if we're building
3541         newlib, since it's inside cygwin.dll
3542
3543 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
3544
3545         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3546         _ctype_ under cygwin.
3547
3548 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
3549
3550         * include/stdlib.h: Fix typo from previous checkin.
3551
3552 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
3553
3554         * include/ctype.h: Use __declspec(dllimport) method for exporting
3555         variable from cygwin DLL.
3556         * include/time.h: Ditto.
3557         * sys/errno.h: Ditto.
3558         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3559         * libc/locale/locale.c: Use __declspec(dllexport) method for
3560         exporting variable from cygwin DLL.
3561
3562 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
3563
3564         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3565         access of bogus pointer will result in SIGSEGV.
3566
3567 1999-01-07  Nick Clifton  <nickc@cygnus.com>
3568
3569         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3570         of an underscore prefix to function names.
3571
3572 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3573
3574         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3575         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3576
3577 1998-12-31  Michael Meissner  <meissner@cygnus.com>
3578
3579         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3580         to `%' if not already defined.
3581
3582 1998-12-30  Michael Meissner  <meissner@cygnus.com>
3583
3584         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3585         arguments const char *, not char *.
3586         * libc/include/stdio.h (_tempnam_r): Ditto.
3587
3588         * libc/include/sys/reent.h (struct _reent): The _sig_func type
3589         points to a function taking an integer, not void.
3590
3591 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
3592
3593         * configure.host: Add a define for Cygwin builds.
3594         * libc/include/ctype.h: Don't use dll imported variables in newlib.
3595
3596 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
3597
3598         * libc/include/ctype.h: Define _ctype_ as dll imported variable
3599         for use with Cygwin.
3600         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3601         dll imported variables for use with Cygwin.
3602         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3603         as a dll imported variable for Cygwin.
3604
3605 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
3606
3607         * libc/include/sys/unistd.h: Add proto for getpass.
3608
3609 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
3610
3611         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3612         alphasort.
3613
3614 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
3615
3616         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3617         not posix_path_list_p.
3618
3619 1998-12-15  Nick Clifton  <nickc@cygnus.com>
3620
3621         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3622         a signed int.
3623
3624 1998-12-13  Nick Clifton  <nickc@cygnus.com>
3625
3626         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3627
3628 1998-12-12  Nick Clifton  <nickc@cygnus.com>
3629
3630         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3631         <msalter@cygnus.com>
3632         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3633         * libc/machine/fr30/Makefile.in: Regenerated.
3634
3635 1998-12-11  Nick Clifton  <nickc@cygnus.com>
3636
3637         * configure.host: Remove use of libc/sys for FR30 port.
3638         * libc/sys/fr30: Remove directory (replaced by libgloss).
3639
3640 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
3641
3642         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3643         * libc/string/strncat.c (ALIGNED): Ditto.
3644
3645 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
3646
3647         * libc/include/sys/time.h: include sys/types.h
3648
3649 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3650
3651         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3652         comparison found when checking word at a time.
3653
3654 1998-12-04  Nick Clifton  <nickc@cygnus.com>
3655
3656         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3657
3658 1998-12-03  Nick Clifton  <nickc@cygnus.com>
3659
3660         * libc/sys/fr30/syscalls.c (_times): New function stub.
3661
3662 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3663
3664         * configure.host (mach_add_setjmp): Replaced mach_add_objs
3665         with mach_add_setjmp flag which indicates if setjmp should
3666         be added to the machine directory objects.
3667         * acinclude.m4: Removed reference to mach_add_objs.
3668         * aclocal.m4: Regenerated.
3669         * Makefile.in: Regenerated.
3670         * configure: Regenerated.
3671         * libc/aclocal.m4: Regenerated.
3672         * libc/Makefile.in: Regenerated.
3673         * libc/configure: Regenerated.
3674         * libc/machine/aclocal.m4: Regenerated.
3675         * libc/machine/Makefile.in: Regenerated.
3676         * libc/machine/configure: Regenerated.
3677         * libc/machine/i386/aclocal.m4: Regenerated.
3678         * libc/machine/i386/Makefile.am: Altered to selectively add
3679         setjmp.S to the src files list.
3680         * libc/machine/i386/Makefile.in: Regenerated.
3681         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3682         * libc/machine/i386/configure: Regenerated.
3683
3684 1998-12-02  Nick Clifton  <nickc@cygnus.com>
3685
3686         * libc/sys/fr30/crt0.s (_start): Fix function names.
3687
3688         * libc/machine/fr30: New directory
3689         * libc/machine/fr30/Makefile.am: New file.
3690         * libc/machine/fr30/Makefile.in: New generated file.
3691         * libc/machine/fr30/configure.in: New file.
3692         * libc/machine/fr30/configure: New generated file.
3693         * libc/machine/fr30/aclocal.m4: New generated file.
3694         * libc/sys/fr30/Makefile.am: New file.
3695         * libc/sys/fr30/Makefile.in: New generated file.
3696         * libc/sys/fr30/configure.in: New file.
3697         * libc/sys/fr30/configure: New generated file.
3698         * libc/sys/fr30/syscalls.c: New file.
3699
3700 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
3701
3702         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3703
3704 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
3705
3706         * libc/time/strftime.c (strftime): Also handle %y for years before
3707         1900.
3708
3709 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
3710
3711         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3712         UNIX convention.  Perform tolower on characters before comparing
3713         them rather than use toupper.
3714         * libc/string/strncasecmp.c (strncasecmp): Ditto.
3715
3716 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3717         
3718         * configure.host: Added using i386 machine directory
3719         for all x86 cross-compiler and configuring
3720         which added object files to use via new "mach_add_objs" variable.
3721         * configure: Regenerated.
3722         * libc/configure: Regenerated.
3723         * libc/Makefile.in: Regenerated.
3724         * libc/aclocal.m4: Regenerated.
3725         * libc/ctype/Makefile.in: Regenerated.
3726         * libc/errno/Makefile.in: Regenerated.
3727         * libc/locale/Makefile.in: Regenerated.
3728         * libc/machine/Makefile.in: Regenerated.
3729         * libc/machine/aclocal.m4: Regenerated.
3730         * libc/machine/configure: Regenerated.
3731         * libc/posix/Makefile.in: Regenerated.
3732         * libc/reent/Makefile.in: Regenerated.
3733         * libc/signal/Makefile.in: Regenerated.
3734         * libc/stdio/Makefile.in: Regenerated.
3735         * libc/stdlib/Makefile.in: Regenerated.
3736         * libc/string/Makefile.in: Regenerated.
3737         * libc/string/memmove.c: Optimized code to use memcpy
3738         logic when performing a non-destructive copy.
3739         * libc/string/strncmp.c: Altered code to allow building
3740         optimized for size or speed.
3741         * libc/syscalls/Makefile.in: Regenerated.
3742         * libc/time/Makefile.in: Regenerated.
3743         * libc/unix/Makefile.in: Regenerated.
3744         * libc/machine/i386/Makefile.am: Added new files and reference
3745         to "mach_add_objs" to indicate optional object files.
3746         * libc/machine/i386/Makefile.in: Regenerated.
3747         * libc/machine/i386/aclocal.m4: Regenerated.
3748         * libc/machine/i386/configure: Regenerated.
3749         * libc/machine/i386/memchr.S: New file that implements
3750         function in Intel assembler.
3751         * libc/machine/i386/memcmp.S: ditto.
3752         * libc/machine/i386/memcpy.S: ditto.
3753         * libc/machine/i386/memmove.S: ditto.
3754         * libc/machine/i386/memset.S: ditto.
3755         * libc/machine/i386/strchr.S: ditto.
3756         * libc/machine/i386/strlen.S: ditto.
3757         * libc/machine/i386/f_atan2.S: New file that implements
3758         fast version of math function to be used by compiler when
3759         --ffast_math compile option is used.
3760         * libc/machine/i386/f_atan2f.S: ditto.
3761         * libc/machine/i386/f_exp.c: ditto.
3762         * libc/machine/i386/f_expf.c: ditto.
3763         * libc/machine/i386/f_frexp.S: ditto.
3764         * libc/machine/i386/f_frexpf.S: ditto.
3765         * libc/machine/i386/f_ldexp.S: ditto.
3766         * libc/machine/i386/f_ldexpf.S: ditto.
3767         * libc/machine/i386/f_log.S: ditto.
3768         * libc/machine/i386/f_logf.S: ditto.
3769         * libc/machine/i386/f_log10.S: ditto.
3770         * libc/machine/i386/f_log10f.S: ditto.
3771         * libc/machine/i386/f_math.h: New file.
3772         * libc/machine/i386/f_pow.c: ditto.
3773         * libc/machine/i386/f_powf.S: ditto.
3774         * libc/machine/i386/f_tan.S: ditto.
3775         * libc/machine/i386/f_tan.S: ditto.
3776         * libc/machine/i386/i386mach.h: New file.
3777
3778 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
3779
3780         patch from Mumit Khan <khan@xraylith.wisc.edu>
3781         * libc/include/stdio.h (tempnam): Add prototype.
3782         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3783         (tempnam): Adhere to prototype.
3784
3785 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
3786
3787         * Makefile.am: Add default for AR_FLAGS.
3788         * Makefile.in: Regenerate.
3789
3790 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
3791
3792         * libc/include/time.h: move __cplusplus wrapper after includes
3793         * libc/include/sys/time.h: ditto.  If Cygwin, include
3794         sys/select.h.
3795         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3796
3797 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
3798
3799         * libc/time/strftime.c (strftime): Handle %y after year 2000.
3800
3801 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
3802
3803         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3804         abnormnal end-of-crt0 marker.
3805
3806 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
3807
3808         * libc/sys/fr30/crt0.s: New file/directory.
3809         * libc/include/machine/setjmp.h: Add FR30 target.
3810         * libc/include/machine/ieeefp.h: Add FR30 target.
3811         * configure.host: Add FR30 target.
3812
3813 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3814
3815         * libm/math: Files that are duplicated in common directory removed.
3816         * libm/math/fdlibm.h: Removed.
3817         * libm/math/s_cbrt.c: Removed.
3818         * libm/math/s_copysign.c: Removed.
3819         * libm/math/s_expm1.c: Removed.
3820         * libm/math/s_finite.c: Removed.
3821         * libm/math/s_ilogb.c: Removed.
3822         * libm/math/s_infinity.c: Removed.
3823         * libm/math/s_lib_ver.c: Removed.
3824         * libm/math/s_log1p.c: Removed.
3825         * libm/math/s_logb.c: Removed.
3826         * libm/math/s_matherr.c: Removed.
3827         * libm/math/s_modf.c: Removed.
3828         * libm/math/s_nan.c: Removed.
3829         * libm/math/s_nextafter.c: Removed.
3830         * libm/math/s_rint.c: Removed.
3831         * libm/math/s_scalbn.c: Removed.
3832         * libm/math/sf_cbrt.c: Removed.
3833         * libm/math/sf_copysign.c: Removed.
3834         * libm/math/sf_expm1.c: Removed.
3835         * libm/math/sf_finite.c: Removed.
3836         * libm/math/sf_ilogb.c: Removed.
3837         * libm/math/sf_infinity.c: Removed.
3838         * libm/math/sf_log1p.c: Removed.
3839         * libm/math/sf_logb.c: Removed.
3840         * libm/math/sf_modf.c: Removed.
3841         * libm/math/sf_nan.c: Removed.
3842         * libm/math/sf_nextafter.c: Removed.
3843         * libm/math/sf_rint.c: Removed.
3844         * libm/math/sf_scalbn.c: Removed.
3845         * libm/math/Makefile.am: Removed references to deleted files (above).
3846         * libm/math/Makefile.in: Regenerated.
3847         * libm/Makefile.am: Added common directory to math.
3848         * libm/Makefile.in: Regenerated.
3849
3850 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3851
3852         * libm/mathfp: Add non-ANSI functions.
3853         * libm/mathfp/e_acosh.c acosh(): New file.
3854         * libm/mathfp/e_atanh.c atanh(): New file.
3855         * libm/mathfp/e_hypot.c hypot(): New file.
3856         * libm/mathfp/e_j0.c j0(): New file.
3857         * libm/mathfp/e_j1.c j1(): New file.
3858         * libm/mathfp/e_remainder.c remainder(): New file.
3859         * libm/mathfp/e_scalb.c scalb(): New file.
3860         * libm/mathfp/ef_acosh.c acoshf(): New file.
3861         * libm/mathfp/ef_atanh.c atanhf(): New file.
3862         * libm/mathfp/ef_hypot.c hypotf(): New file.
3863         * libm/mathfp/ef_j0.c j0f(): New file.
3864         * libm/mathfp/ef_j1.c j1f(): New file.
3865         * libm/mathfp/ef_remainder.c remainderf(): New file.
3866         * libm/mathfp/ef_scalb.c scalbf(): New file.
3867         * libm/mathfp/er_gamma.c gamma_r: New file.
3868         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3869         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3870         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3871         * libm/mathfp/w_cabs.c cabs(): New file.
3872         * libm/mathfp/w_drem.c drem(): New file.
3873         * libm/mathfp/w_jn.c jn(): New file.
3874         * libm/mathfp/wf_cabs.c cabsf(): New file.
3875         * libm/mathfp/wf_drem.c dremf(): New file.
3876         * libm/mathfp/wf_jn.c jnf(): New file.
3877
3878 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
3879
3880         * libc/sys/cygwin32: remove directory and contents
3881         * libc/sys/cygwin: and add back, losing the "32".
3882         * configure.host: check for cygwin* instead of cygwin32.
3883         * acinclude.m4: ditto.
3884         * aclocal.m4: regenerate with aclocal
3885         * configure: regenerate with autoconf
3886
3887 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
3888
3889         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3890         for length
3891
3892 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3893
3894         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3895         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3896         to make rand/srand, strtok, asctime, localtime, w_gamma,
3897         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
3898         time.h to bring in struct tm definition.
3899         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3900         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
3901         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
3902         instead of static variable.
3903         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
3904         struct reent instead of static variable.
3905         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
3906         struct reent instead of static variable.
3907         * libm/math/Makefile.am: Removed s_signgam.o.
3908         * libm/math/Makefile.in: Regenerated.
3909         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
3910         struct reent instead of global variable 'signgam'.
3911         * libm/math/w_lgamma.c (lgamma): Likewise.
3912         * libm/math/wf_gamma.c (gammaf): Likewise.
3913         * libm/math/wf_lgamma.c (lgammaf): Likewise.
3914         * libm/math/s_signgam.c: Removed.
3915         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
3916         to be const.
3917         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
3918         to be const.
3919         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
3920         libc/include/reent.h.
3921         * libc/reent/Makefile.in: Regenerated.
3922         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
3923         to be const.
3924         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
3925         'JIS_action_table' to be const.
3926         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
3927
3928 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
3929
3930         * acinclude.m4:  $with_target_subdir should default to '.'
3931         or confusion results when configuring in same directory as sources.
3932         * Regenerate all aclocal.m4 and configure files.
3933
3934 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3935
3936         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3937         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
3938         for platforms where sizeof(size_t) < sizeof(long) via
3939         SIZE_T_SMALLER_THAN_LONG macro.
3940         
3941 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3942
3943         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3944         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3945         which sets _CLOCKS_PER_SEC_ for selected machines.
3946         * libc/include/machine/time.h: New file.
3947
3948 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3949
3950         * libc/syscalls/sysexecve.c: New file.
3951         * libc/syscalls/sysgettod.c: New file.
3952         * libc/syscalls/systimes.c: New file.
3953         * libc/syscalls/Makefile.am: Added new objects.
3954         * libc/syscalls/Makefile.in: Regenerated.
3955         * libc/include/_syslist.h (_execve): Moved define in file.
3956         * libc/include/reent.h:  Added _execve_r declaration.
3957         * libc/Makefile.in: Regenerated.
3958         * libc/ctype/Makefile.in: Regenerated.
3959         * libc/errno/Makefile.in: Regenerated.
3960         * libc/locale/Makefile.in: Regenerated.
3961         * libc/machine/Makefile.in: Regenerated.
3962         * libc/misc/Makefile.in: Regenerated.
3963         * libc/posix/Makefile.in: Regenerated.
3964         * libc/reent/Makefile.in: Regenerated.
3965         * libc/reent/execr.c (_execve_r): Added _execve_r function.
3966         * libc/signal/Makefile.in: Regenerated.
3967         * libc/stdio/Makefile.in: Regenerated.
3968         * libc/time/Makefile.in: Regenerated.
3969         * libc/unix/Makefile.in: Regenerated.
3970         * libm/mathfp/Makefile.in: Regenerated.
3971
3972 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3973
3974         * libc/string/Makefile.in: Regenerated.
3975         * libc/string/memchr.c (memchr): Moved code to reduce object size.
3976         * libc/string/memcpy.c (memcpy): Ditto.
3977         * libc/string/memcmp.c (memcmp): Ditto.
3978         * libc/string/memset.c (memset): Ditto.
3979         * libc/string/strchr.c (strchr): Ditto.
3980         * libc/string/strcmp.c (strcmp): Ditto.
3981         * libc/string/strcpy.c (strcpy): Ditto.
3982         * libc/string/strlen.c (strlen): Ditto.
3983
3984 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3985
3986         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
3987         to generate aclocal.m4.
3988         * libm/Makefile.in: Regenerated.
3989         * libm/aclocal.m4: Regenerated.
3990         * libm/configure: Regenerated.
3991         * libm/math/Makefile.in: Regenerated.
3992         * libm/mathfp/Makefile.in: Regenerated.
3993
3994 1998-09-25  Mark Salter  <msalter@cygnus.com>
3995
3996         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
3997         by adding leading and trailing underscores to symbol names.
3998
3999 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
4000
4001         * Makefile.in: Add default for AR_FLAGS.
4002
4003 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
4004
4005         patch from ian@airs.com (Ian Taylor):
4006         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4007         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4008         is needed for detecting the build machine.  Required for
4009         cygwin native builds.
4010
4011         * Regenerate all aclocal.m4 and configure files.
4012
4013 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
4014
4015         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4016         used to start with LC.
4017
4018 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4019
4020         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4021         (longjmp): Likewise.
4022
4023 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4024
4025         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4026         the test for small number of bytes.
4027
4028 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
4029
4030         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
4031         math library that uses floating point algorithms instead of the old
4032         libm.
4033         * Makefile.in: Regenerate with automake version 1.3b.
4034         * configure: Rebuild.
4035         * libm/Makefile.in: Regenerate with automake version 1.3b.
4036         * libm/aclocal.m4: Regenerate.
4037         * libm/configure: Rebuild.
4038         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4039         * libm/acinclude.m4: Define macros for configure.in.
4040         * libm/config.h.in: Generate.
4041         * libm/mathfp/Makefile.am: New file.
4042         * libm/mathfp/Makefile.in: Generate.
4043         * libm/mathfp/s_acos.c (acos): New file.
4044         * libm/mathfp/s_asin.c (asin): New file.
4045         * libm/mathfp/s_asine.c (asine): New file.
4046         * libm/mathfp/s_atan.c (atan): New file.
4047         * libm/mathfp/s_atan2.c (atan2): New file.
4048         * libm/mathfp/s_atangent.c (atangent): New file.
4049         * libm/mathfp/s_ceil.c (ceil): New file.
4050         * libm/mathfp/s_copysign.c (copysign): New file.
4051         * libm/mathfp/s_cos.c (cos): New file.
4052         * libm/mathfp/s_cosh.c (cosh): New file.
4053         * libm/mathfp/s_exp.c (exp): New file.
4054         * libm/mathfp/s_fabs.c (fabs): New file.
4055         * libm/mathfp/s_finite.c (finite): New file.
4056         * libm/mathfp/s_floor.c (floor): New file.
4057         * libm/mathfp/s_fmod.c (fmod): New file.
4058         * libm/mathfp/s_frexp.c (frexp): New file.
4059         * libm/mathfp/s_infconst.c: New file.
4060         * libm/mathfp/s_isinf (isinf).c: New file.
4061         * libm/mathfp/s_isnan.c (isnan): New file.
4062         * libm/mathfp/s_ispos.c (ispos): New file.
4063         * libm/mathfp/s_ldexp.c (ldexp): New file.
4064         * libm/mathfp/s_log.c (log): New file.
4065         * libm/mathfp/s_log10.c (log10): New file.
4066         * libm/mathfp/s_logarithm.c (logarithm): New file.
4067         * libm/mathfp/s_mathcnst.c: New file.
4068         * libm/mathfp/s_modf (modf).c: New file.
4069         * libm/mathfp/s_numtest.c (numtest): New file.
4070         * libm/mathfp/s_pow.c (pow): New file.
4071         * libm/mathfp/s_scalbn.c (scalbn): New file.
4072         * libm/mathfp/s_sin (sin).c: New file.
4073         * libm/mathfp/s_sine.c (sine): New file.
4074         * libm/mathfp/s_sineh.c (sineh): New file.
4075         * libm/mathfp/s_sinf.c (sinf): New file.
4076         * libm/mathfp/s_sinh.c (sinh): New file.
4077         * libm/mathfp/s_sqrt.c (sqrt): New file.
4078         * libm/mathfp/s_tan.c (tan): New file.
4079         * libm/mathfp/s_tanh.c (tanh): New file.
4080         * libm/mathfp/sf_acos.c (acosf): New file.
4081         * libm/mathfp/sf_asin.c (asinf): New file.
4082         * libm/mathfp/sf_asine.c (asinef): New file.
4083         * libm/mathfp/sf_atan.c (atanf): New file.
4084         * libm/mathfp/sf_atan2.c (atan2f): New file.
4085         * libm/mathfp/sf_atangent.c (atangent): New file.
4086         * libm/mathfp/sf_ceil.c (ceilf): New file.
4087         * libm/mathfp/sf_copysign.c (copysignf): New file.
4088         * libm/mathfp/sf_cos.c (cosf): New file.
4089         * libm/mathfp/sf_cosh.c (coshf): New file.
4090         * libm/mathfp/sf_exp.c (expf): New file.
4091         * libm/mathfp/sf_fabs.c (fabsf): New file.
4092         * libm/mathfp/sf_finite.c (finitef): New file.
4093         * libm/mathfp/sf_floor.c (floorf): New file.
4094         * libm/mathfp/sf_fmod.c (fmodf): New file.
4095         * libm/mathfp/sf_frexp.c (frexpf): New file.
4096         * libm/mathfp/sf_isinf.c (isinff): New file.
4097         * libm/mathfp/sf_isnan.c (isnanf): New file.
4098         * libm/mathfp/sf_ispos.c (isposf): New file.
4099         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4100         * libm/mathfp/sf_log.c (logf): New file.
4101         * libm/mathfp/sf_log10.c (log10f): New file.
4102         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4103         * libm/mathfp/sf_modf.c (modff): New file.
4104         * libm/mathfp/sf_numtest.c (numtestf): New file.
4105         * libm/mathfp/sf_pow.c (powf): New file.
4106         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4107         * libm/mathfp/sf_sin.c (sinf): New file.
4108         * libm/mathfp/sf_sine.c (sinef): New file.
4109         * libm/mathfp/sf_sineh.c (sinehf): New file.
4110         * libm/mathfp/sf_sinh.c (sinhf): New file.
4111         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4112         * libm/mathfp/sf_tan.c (tanf): New file.
4113         * libm/mathfp/sf_tanh.c (tanhf): New file.
4114         * libm/mathfp/zmath.h: New file.
4115
4116 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4117
4118         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4119         exit if it has been overwritten by pre-fetching in delay slot.
4120
4121 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4122
4123         * Makefile.am (tooldir): Add in host_alias, so that multilib
4124         libraries are installed in the directory the compiler looks in.
4125         * Makefile.in: Regenerate.
4126
4127         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4128
4129 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4130
4131         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4132         ahead of test for number of bytes being moved.
4133
4134 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4135
4136         * libc/include/sys/unistd.h: Nothing special needed for
4137         _exit under cygwin.
4138
4139 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4140
4141         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4142         conform to user label naming conventions. 
4143
4144 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4145
4146         * libc/sys/cygwin32/sys/utime.h: variable names in
4147         protos should start with two leading underscores
4148         * libc/include/string.h: ditto
4149         * libc/include/sys/signal.h: ditto
4150         * libc/include/sys/stat.h: ditto
4151         * libc/include/sys/time.h: ditto
4152         * libc/include/sys/unistd.h: ditto
4153         * libc/include/ctype.h: ditto
4154         * libc/include/stdlib.h: ditto
4155         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4156         void, same with _sig_func.
4157
4158 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4159
4160         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4161         for MB_CAPABLE to reduce code size when newlib is not configured
4162         with --enable-newlib-mb.
4163         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4164         mbtowc_r.o to minimize size.
4165         * libc/stdlib/Makefile.in: Rebuild.
4166         
4167 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4168
4169         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4170         to -DREENT.
4171         * libc/sys/sparc64/Makefile.in: Rebuild.
4172         
4173 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4174
4175         * Makefile.am (MAKEOVERRIDES): Define.
4176         * Makefile.in: Rebuild.
4177
4178 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4179
4180         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4181
4182 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4183
4184         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4185         newlib_cflags when looking for targ-include.
4186         * */aclocal.m4, */configure: Rebuild.
4187
4188 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4189
4190         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4191         to "_end".
4192
4193 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4194
4195         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4196         on SPARCs with little-endian data.
4197         * libc/include/machine/ieeefp.h: Ditto.
4198
4199 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4200
4201         * acinclude.m4: Handle a relative srcdir correctly when setting
4202         newlib_cflags.
4203         * */aclocal.m4, */configure: Rebuild.
4204
4205 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4206
4207         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4208         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4209         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4210         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4211         * libm/math/wr_gamma.c (gamma_r): ditto 
4212         * libm/math/wf_sqrt.c (sqrtf): ditto 
4213         * libm/math/wf_sinh.c (sinhf): ditto 
4214         * libm/math/wf_scalb.c (scalbf): ditto 
4215         * libm/math/wf_remainder.c (remainderf): ditto 
4216         * libm/math/wf_pow.c (powf): ditto 
4217         * libm/math/wf_log10.c (log10f): ditto 
4218         * libm/math/wf_log.c (logf): ditto 
4219         * libm/math/wf_lgamma.c (lgammaf): ditto 
4220         * libm/math/wf_jn.c (jnf, ynf): ditto 
4221         * libm/math/wf_j1.c (j1f, y1f): ditto 
4222         * libm/math/wf_j0.c (j0f, y0f): ditto 
4223         * libm/math/wf_hypot.c (hypotf): ditto 
4224         * libm/math/wf_gamma.c (gammaf): ditto 
4225         * libm/math/wf_fmod.c (fmodf): ditto 
4226         * libm/math/wf_exp.c (expf): ditto 
4227         * libm/math/wf_cosh.c (coshf): ditto 
4228         * libm/math/wf_atanh.c (atanhf): ditto 
4229         * libm/math/wf_atan2f.c (atan2f): ditto 
4230         * libm/math/wf_asin.c (asinf): ditto 
4231         * libm/math/wf_acosh.c (acoshf): ditto 
4232         * libm/math/wf_acos.c (acosf): ditto 
4233         * libm/math/w_sqrt.c (sqrt): ditto 
4234         * libm/math/w_sinh.c (sinh): ditto 
4235         * libm/math/w_scalb.c (scalb): ditto 
4236         * libm/math/w_remainder.c (remainder): ditto 
4237         * libm/math/w_pow.c (pow): ditto 
4238         * libm/math/w_log10.c (log10): ditto 
4239         * libm/math/w_log.c (log): ditto 
4240         * libm/math/w_lgamma.c (lgamma): ditto 
4241         * libm/math/w_jn.c (jn, yn): ditto 
4242         * libm/math/w_j1.c (j1, y1): ditto 
4243         * libm/math/w_j0.c (j0, y0): ditto 
4244         * libm/math/w_hypot.c (hypot): ditto 
4245         * libm/math/w_gamma.c (gamma): ditto 
4246         * libm/math/w_fmod.c (fmod): ditto 
4247         * libm/math/w_exp.c (exp): ditto 
4248         * libm/math/w_cosh.c (cosh): ditto 
4249         * libm/math/w_atanh.c (atanh): ditto 
4250         * libm/math/w_atan2f.c (atan2): ditto 
4251         * libm/math/w_asin.c (asin): ditto 
4252         * libm/math/w_acosh.c (acosh): ditto 
4253         * libm/math/w_acos.c (acos): ditto 
4254
4255 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
4256
4257         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4258         (fsrc): Add wf_cabs.c and wf_drem.c.
4259         * libm/math/Makefile.in: Rebuild.
4260
4261         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
4262         unused directory variables.  Remove duplicate CFLAGS.
4263         * Makefile.in: Rebuild.
4264
4265         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4266         with $(CC_FOR_BUILD).
4267         (makedoc.o): Likewise.
4268         * doc/Makefile.in: Rebuild.
4269
4270         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4271         force a definition of COMPILE.
4272         (libfoo_a_SOURCES): Define.
4273         * libc/sys/cygwin32/Makefile.in: Rebuild.
4274         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4275         force a definition of COMPILE.
4276         (libfoo_a_SOURCES): Define.
4277         * libc/sys/tic80/Makefile.in: Rebuild.
4278
4279 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
4280
4281         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4282         flag.
4283
4284 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
4285
4286         * Build using autoconf and automake.  Added many Makefile.am and
4287         configure.in files, plus generated files.  Old configure.in files
4288         and all old Makefile.in files completely replaced.  Removed
4289         host/any.  Added acinclude.m4 and configure.host.
4290
4291 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
4292
4293         * libc/stdio/vfprintf.c: enable long long support, sometimes.
4294         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4295
4296 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4297
4298         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4299         * libc/machine/sh/Makefile.in: Add rules for new files.
4300
4301 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4302
4303         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4304         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4305         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4306
4307 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
4308
4309         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4310         code is ignored.
4311
4312 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4313
4314         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4315         internal static buffer when s is NULL, as prescribed by ANSI.
4316
4317 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
4318
4319         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4320         removed.
4321         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
4322         libc/stdlib will be used for h8300hms.
4323         
4324 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4325
4326         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4327         version that can be built either for speed or size.
4328         * libc/machine/mn10300/memset.S (_memset): ditto
4329         * libc/machine/mn10300/memchr.S (_memchr): ditto
4330         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4331         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4332         * libc/machine/mn10300/strchr.S (_strchr): ditto
4333         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4334         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4335         * libc/machine/mn10300/Makefile.in: Added entries for
4336         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
4337         strcmp.o, strcpy.o, and strlen.o.
4338
4339 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
4340
4341         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4342         been replaced with libgloss/mn10200.
4343
4344 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
4345
4346         * libc/string/strchr.c (strchr): Make s a constant pointer to
4347         avoid warning.
4348
4349 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
4350
4351         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4352         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4353         board SWIs instead of Demon board SWIs).
4354
4355 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
4356
4357         * libc/string/strncat.c (strncat):  Make -Os act the same as
4358         PREFER_SIZE_OVER_SPEED being defined.
4359
4360 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
4361
4362         * libc/string/memchr.c (memchr): Make -Os act the same as
4363         PREFER_SIZE_OVER_SPEED being defined.
4364         * libc/string/memcmp.c (memcmp): Ditto.
4365         * libc/string/memcpy.c (memcpy): Ditto.
4366         * libc/string/memset.c (memset): Ditto.
4367         * libc/string/strcat.c (strcat): Ditto.
4368         * libc/string/strchr.c (strchr): Ditto.
4369         * libc/string/strcmp.c (strcmp): Ditto.
4370         * libc/string/strcpy.c (strcpy): Ditto.
4371         * libc/string/strlen.c (strlen): Ditto.
4372         * libc/string/strncat.c (strncat): Ditto.
4373         * libc/string/strncmp.c (strncmp): Ditto.
4374         * libc/string/strncpy.c (strncpy): Ditto.
4375
4376 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
4377
4378         * libc/include/sys/itimer.h: remove
4379         * libc/include/sys/time.h: itimer stuff should be here
4380
4381 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4382
4383         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4384         bit instead of comparing to 0 so -0.0 can be printed correctly.
4385
4386 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4387
4388         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4389
4390 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
4391
4392         * libc/include/sys/unistd.h: fix sync() proto
4393         * libc/include/sys/fcntl.h: remove _close which is already
4394         defined in unistd.h.
4395         * libc/include/sys/time.h: add getitimer proto
4396
4397 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
4398
4399         * libc/string/strchr.c: convert arg to unsigned char
4400         * libc/include/stdlib.h: add protos for random, srandom
4401         * libc/include/sys/stat.h: add lstat proto
4402         * libc/include/sys/time.h: add setitimer proto
4403         * libc/include/sys/unistd.h: add readlink, symlink protos
4404         * libc/include/process.h: instead of including windows.h and using
4405         HANDLEs in sexec protos, just use void *s.  Need to include
4406         sys/types.h.
4407
4408 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
4409
4410         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4411
4412 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
4413
4414         * libc/include/process.h: add secure exec protos
4415
4416 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
4417
4418         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4419         which are accessed as both doubles and integers.
4420         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4421         * libc/stdlib/strtod.c (_strtod_r): Likewise.
4422         * libc/stdlib/mprec.h: Add "union double_union" and change
4423         word0/word1 macros to use it.
4424
4425 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
4426
4427         * libc/include/sys/signal.h: add __cplusplus wrapper
4428
4429 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
4430
4431         * libc/include/sys/utime.h: new generic file that gets replaced by
4432         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4433         function.
4434         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4435         * libc/include/time.h: remove duplicate utime proto
4436         * libc/include/utime.h: add comment
4437
4438 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
4439
4440         * libc/include/sys/time.h: Add missing include to
4441         allow use of _EXFUN.  Remove times function that is
4442         already defined in times.h.
4443
4444 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
4445
4446         * libc/include/time.h: Fix typo in tzset.
4447
4448 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
4449
4450         * libc/include/sys/time.h: add missing Cygwin32 function protos
4451         * libc/include/sys/unistd.h: ditto
4452         * libc/include/time.h: ditto
4453
4454 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
4455
4456         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4457         FIXME.
4458         * libc/include/sys/types.h: add a new __MS_types__ section
4459         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4460         __BIT_TYPES_DEFINED__.
4461
4462 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
4463
4464         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4465         since it overrides the one in libc/include/sys.  Also, start
4466         including types.h.
4467
4468 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
4469
4470         * libm/math/Makefile.in: add s_signgam.o to obj list
4471
4472 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4473
4474         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4475
4476 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
4477
4478         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4479         so don't use defines.
4480
4481 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
4482
4483         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4484
4485 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
4486
4487         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4488         _current_locale as default locale.
4489
4490 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
4491
4492         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4493         insufficient space in a chunk.
4494
4495 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4496
4497         * configure.in (links): Added check for --enable-newlib-mb configure
4498         option which defines the MB_CAPABLE macro.
4499         * libc/locale/locale.c (_setlocale_r): Added support for setting
4500         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4501         defined.
4502         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4503         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4504         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4505         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4506         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4507         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4508         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4509         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4510         * libc/stdlib/Makefile.in: Added new multibyte
4511         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4512         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4513         _mbstowcs_r(), and _wcstombs_r().
4514         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4515         for JIS, SJIS, and EUC-JP characters.
4516         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4517         MB_CAPABLE defined.
4518         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4519         MB_CAPABLE defined.
4520         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4521         MB_CAPABLE defined.
4522         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4523         if MB_CAPABLE defined.
4524         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4525         if MB_CAPABLE defined.
4526         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4527         to the format string processing when MB_CAPABLE.
4528         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4529         call _mbtowc_r().
4530
4531 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
4532
4533         The following modifications are courtesy of Anthony Thompson,
4534         athompson@cambridge.arm.com:
4535         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4536         boith RDI and RDP monitors.
4537         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4538         RDI and RDP monitors.
4539
4540 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4541
4542         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4543         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4544         (_swiopen): Fixed open flags to treat write with append as just append.
4545         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4546         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4547
4548 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4549
4550         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4551         When needing to transfer an initial 2-byte-word, store as
4552         two single bytes.
4553
4554 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4555
4556         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4557         __SH3E__ .
4558         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4559         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4560
4561 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
4562
4563         * configure.in (target_cflags): If --enable-target-optspace, use
4564         -Os to compile newlib rather than -O2.  Default to using -Os for
4565         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4566         used.
4567
4568 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
4569
4570         * libc/include/machine/setjmp.h: change sigsetjmp and
4571         siglongjmp definitions to use an array instead of a struct
4572         for __CYGWIN32__
4573
4574 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
4575
4576         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4577
4578 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4579
4580         * libc/string/strxfrm.c: fix to get correct return value
4581
4582 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
4583
4584         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4585         builds.  Make mode change labels global so that they will be seen
4586         by the debugger.
4587
4588 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
4589
4590         * configure.in (links): Do not use ARM debiugging protocols for PE
4591         builds.
4592
4593         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4594         message. 
4595
4596 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4597
4598         * libc/stdio/findfp.c (__sinit): Made stdout default to
4599         line buffered mode as defined by ANSI.
4600
4601 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
4602
4603         * libc/include/sys/itimer.h: New file.
4604
4605         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4606
4607 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4608
4609         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4610         failure.
4611
4612 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
4613
4614         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4615         insns.
4616
4617 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
4618
4619         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4620
4621 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
4622
4623         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4624         support.
4625
4626         * libc/include/machine/setjmp.h: Add D30V support.
4627
4628         * configure.in (d30v-*): Add d30v machine directory.
4629
4630 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
4631
4632         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4633         been replaced with libgloss/mn10300.
4634
4635 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
4636
4637         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4638         it is no longer needed.
4639
4640 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4641
4642         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4643
4644 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
4645
4646         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4647         the file when O_APPEND is set, wherever the EOF happens to be at
4648         that time. 
4649
4650 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
4651         
4652         patch from cgf@bbc.com (Christopher Faylor):
4653         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4654         convention of closing fp prior to attempting to open the file
4655         argument.  This allows correct operation when reopening
4656         stdin/stdout/stderr.  Replaces last freopen.c patch.
4657
4658 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
4659
4660         patch from cgf@bbc.com (Christopher Faylor):
4661         * libc/stdio/freopen.c: freopen was not preserving the fd
4662         of the stream being operated on.  This confuses programs that
4663         expect that the handles for stdout and stderr will be 1 and 2.
4664
4665 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
4666
4667         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4668
4669 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
4670
4671         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4672
4673 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4674
4675         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4676         altered to not use a branch.  Also added hint that last
4677         bclr in longjmp will likely result in branch.
4678         
4679
4680 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
4681
4682         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4683
4684 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
4685
4686         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4687         v850 builds.
4688
4689         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
4690
4691 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4692
4693         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4694         that loads FR14 to specify offset of 8 rather than 4
4695         so it loads from offset 96 (where setjmp stored it).
4696
4697 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4698
4699         * libc/machine/sh/memcpy.S: (_memcpy): Update to
4700         latest version supplied by customer.
4701         * libc/machine/sh/memset.S (_memset): Ditto.
4702
4703 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
4704
4705         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4706         PR14730). 
4707
4708 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
4709
4710         * libc/include/string.h: remove redefinition of ffs
4711
4712 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
4713
4714         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4715         defined
4716
4717 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4718
4719         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4720         TI Libraries to link to libc.a
4721         
4722 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
4723
4724         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4725         * libc/include/sys/stat.h (_{,f}stat): Ditto.
4726         * libc/include/sys/wait.h (_wait): Ditto.
4727         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4728         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4729
4730 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
4731
4732         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
4733         minded stabs so function name shows up when running the simulator
4734         with -t.
4735         * libc/sys/d10v/{crt0,trap}.S: Ditto.
4736
4737 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
4738
4739         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
4740         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4741         Use R5 where we used to use R3.
4742         
4743 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
4744
4745         * libc/stdlib/getopt.c (getopt): replaced __progname
4746         with nargv[0] to improve portability to imbedded systems.
4747
4748 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
4749
4750         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4751         patch supplied by Tont.Thompson@arm.com to fix the creation of the
4752         stdout file.
4753
4754 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
4755
4756         * libc/stdio/tmpnam.c (worker): Generate a different file name
4757         each time.
4758
4759         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4760         fails, try an execlp for sh.
4761
4762         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4763         option for the winsup include directory.
4764
4765 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
4766
4767         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4768         debugging interface from Tony.Thompson@arm.com.
4769         
4770         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4771         * libc/sys/arm/swi.h: ditto.
4772
4773 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4774
4775         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4776         DIR struct used for readdir hashes.
4777
4778 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
4779
4780         * libc/string/strchr.c: Use "unsigned chars" as necessary.
4781
4782 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
4783
4784         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4785         integer targets.
4786
4787 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
4788
4789         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4790         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4791         * libc/include/malloc.h: Add extern "C" if __cplusplus.
4792         (__malloc_copy): Declare.
4793
4794 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
4795
4796         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4797         <sys/config.h>.
4798         (POINTER_UINT): Define.
4799         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4800         (MALLOC_ALIGNMENT): Don't define if already defined.
4801         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4802         long.
4803
4804 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
4805
4806         * libc/string/memset.c (memset): Fiddle with code so that the long
4807         value being stored is not a stack value.  Unroll storing longs 4
4808         times.
4809
4810 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
4811
4812         * Reduce code size for libm modules.
4813         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4814         and simply move code into sqrt.
4815         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4816         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4817         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4818         * libm/math/wr_gamma.c (gamma_r): Likewise.
4819         * libm/math/wf_sinh.c (sinfh): Likewise.
4820         * libm/math/w_sinh.c (sinh): Likewise.
4821         * libm/math/wf_scalb.c (scalbf): Likewise.
4822         * libm/math/w_scalb.c (scalb): Likewise.
4823         * libm/math/wf_remainder.c (remainderf): Likewise.
4824         * libm/math/w_remainder.c (remainder): Likewise.
4825         * libm/math/wf_pow.c (powf): Likewise.
4826         * libm/math/w_pow.c (pow): Likewise.
4827         * libm/math/wf_log10.c (log10f): Likewise.
4828         * libm/math/w_log10.c (log10): Likewise.
4829         * libm/math/wf_log.c (logf): Likewise.
4830         * libm/math/w_log.c (log): Likewise.
4831         * libm/math/w_lgamma.c (lgamma): Likewise.
4832         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4833         * libm/math/wf_jn.c (jnf): Likewise.
4834         * libm/math/w_jn.c (jn): Likewise.
4835         * libm/math/wf_j1.c (j1f): Likewise.
4836         * libm/math/w_j1.c (j1): Likewise.
4837         * libm/math/wf_j0.c (j0f): Likewise.
4838         * libm/math/w_j0.c (j0): Likewise.
4839         * libm/math/wf_hypot.c (hypotf): Likewise.
4840         * libm/math/w_hypot.c (hypot): Likewise.
4841         * libm/math/wf_gamma.c (gammaf): Likewise.
4842         * libm/math/w_gamma.c (gamma): Likewise.
4843         * libm/math/wf_fmod.c (fmodf): Likewise.
4844         * libm/math/w_fmod.c (fmod): Likewise.
4845         * libm/math/wf_exp.c (expf): Likewise.
4846         * libm/math/w_exp.c (exp): Likewise.
4847         * libm/math/wf_cosh.c (coshf): Likewise.
4848         * libm/math/w_cosh.c (cosh): Likewise.
4849         * libm/math/wf_atanh.c (atanhf): Likewise.
4850         * libm/math/w_atanh.c (atanh): Likewise.
4851         * libm/math/wf_atan2.c (atan2f): Likewise.
4852         * libm/math/w_atan2.c (atan2): Likewise.
4853         * libm/math/wf_asin.c (asinf): Likewise.
4854         * libm/math/w_asin.c (asin): Likewise.
4855         * libm/math/wf_acosh.c (acoshf): Likewise.
4856         * libm/math/w_acosh.c (acosh): Likewise.
4857         * libm/math/wf_acos.c (asocf): Likewise.
4858         * libm/math/w_acos.c (acos): Likewise.
4859         * libm/math/wf_sqrt.c (sqrtf): Likewise.
4860         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4861         for embedded systems.
4862
4863 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
4864
4865         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4866         Lea in case of a foreign sbrk.
4867
4868 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
4869
4870         Incorporate Doug Lea's malloc:
4871         * libc/stdlib/mallocr.c: Completely replaced.
4872         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4873         (realloc): Remove.
4874         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4875         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4876         mallopt.
4877         (mallinfo, malloc_stats, mallopt): New functions.
4878         (_mstats_r): Just call _malloc_stats_r.
4879         * libc/stdlib/malign.c: New file.
4880         * libc/stdlib/mlock.c: New file.
4881         * libc/stdlib/msize.c: New file.
4882         * libc/stdlib/mtrim.c: New file.
4883         * libc/stdlib/realloc.c: New file.
4884         * libc/stdlib/valloc.c: New file.
4885         * libc/stdlib/malloc.h: Remove.
4886         * libc/stdlib/callocr.c: Remove.
4887         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4888         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4889         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4890         reallocr.o, valloc.o, vallocr.o.
4891         (CHEWOUT_FILES): Add mlock.def, mstats.def.
4892         (MALLOC_CFLAGS): New variable.
4893         (mallocr.o): New target, build from mallocr.c.
4894         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4895         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4896         (msizer.o, malloptr.o): Likewise.
4897         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4898         (valloc.o): New target.
4899         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4900         * libc/include/malloc.h: Declare struct mallinfo, and new
4901         routines.
4902         * libc/include/stdlib.h (cfree): Correct declaration.
4903
4904 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
4905
4906         * libc/include/machine/setjmp.h: Add support for Thumb target.
4907
4908         * libc/include/machine/ieeefp.h: Add support for Thumb target.
4909
4910         * configure.in (links): Add support for Thumb target.
4911
4912 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
4913
4914         * libc/sys/arm/setjmp.S: Updated with version from branch.
4915
4916 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
4917
4918         * libc/include/stdio.h: add POSIX-required define L_ctermid
4919         for ctermid
4920
4921 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
4922
4923         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
4924         addition to MISSING_SYSCALL_NAMES.
4925
4926 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
4927
4928         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
4929
4930 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
4931
4932         * libc/include/string.h: change strsignal proto to return
4933         a char *.  This eliminates compile problems in gdb resulting
4934         from gdb's definition of strsignal in defs.h.
4935
4936 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
4937
4938         * libc/sys/cygwin32/sys/utime.h: new (moved here from
4939         winsup/include) so as not to conflict with the one in
4940         libc/include.
4941         * libc/include/string.h: add protos for strsignal, strtosigno
4942
4943 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
4944
4945         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4946
4947         * configure.in (d30v-*-*): Add configuration.
4948
4949 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
4950
4951         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
4952         to select which kind of debug monitor is in use for an ARM target.
4953
4954         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
4955         Angel and Demon debug monitors.  Part of this code was supplied by
4956         Tony Thompson at ARM: athompso@arm.com.
4957
4958 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
4959
4960         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
4961         semantics when the count is greater than the length of the second
4962         source string.
4963
4964 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
4965
4966         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
4967         * libc/include/sys/unistd.h: add protos for usleep, truncate,
4968         truncate and ftruncate take off_t, not size_t
4969
4970 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
4971
4972         * libc/string/strcat.c (strcat): Add missing comment end.
4973         * libc/string/strncat.c (strncat): Likewise.
4974
4975 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
4976
4977         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
4978         targets. 
4979         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
4980         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
4981         defined.  
4982         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4983         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4984         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4985
4986 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
4987
4988         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
4989         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
4990
4991 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
4992
4993         * libc/machine/i386/setjmp.S: New file.
4994         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
4995         (OFILES): Add setjmp.o.
4996         (setjmp.o): Add rule for.
4997         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
4998
4999 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
5000                          Jeffrey A Law  (law@cygnus.com)
5001
5002         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5003         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5004         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5005         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5006
5007 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
5008
5009         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5010         rules. 
5011
5012         * libc/include/sys/config.h: Use __v850 to select v850
5013         endianness. 
5014
5015         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5016         buffer size.
5017
5018         * libc/include/machine/ieeefp.h: Use __v850 to select v850
5019         endianness. 
5020
5021 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
5022
5023         * libc/stdlib/setenv.c: change unsetenv definition to match
5024         style of setenv (with _DEFUN).  The string should be a const.
5025         * libc/include/stdlib.h: unsetenv proto should return void.
5026
5027 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
5028
5029         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5030
5031 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
5032
5033         * libc/stdio/glue.h: remove.
5034         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5035         * libc/stdio/Makefile.in: remove glue.h dependencies
5036
5037 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
5038
5039         * libc/sys/sysnecv850/crt0.S: Created V850e version.
5040         
5041 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
5042
5043         * configure.in (target_cpu): Add `arc'.
5044
5045 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
5046
5047         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
5048           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5049         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5050         * newlib/libc/reent/reent.c: Add _wrapup_reent.
5051         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5052
5053 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
5054
5055         * libc/machine/mips/setjmp.S: Handle mips16 builds.
5056
5057 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
5058
5059         * libc/include/stdio.h (siprintf): Declare.
5060
5061 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
5062
5063         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5064         TARGET_CFLAGS and NEWLIB_FLAGS.
5065
5066 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5067
5068         * configure.in (links): Add support for v850ea target.
5069
5070 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
5071
5072         * configure.in (links): Add support for v850e target.
5073
5074 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
5075
5076         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5077
5078 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
5079
5080         * configure.in (arc-*-*): Add support for.
5081         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5082
5083 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
5084
5085         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5086
5087 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
5088
5089         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5090         comparison which accesses invalid memory when the key is
5091         larger than the last member of the array.
5092         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5093         for CYGWIN32
5094         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5095
5096 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
5097
5098         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5099         not _STRICT_ANSI.
5100
5101 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
5102
5103         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5104         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5105
5106 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
5107
5108         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5109         to load/store memory.
5110
5111 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
5112
5113         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5114         underscores if _WIN32.
5115
5116 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
5117
5118         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5119         support ifdef _USE_WRITE missed in last change.
5120         From Anders Blomdell <anders.blomdell@control.lth.se>.
5121
5122 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5123
5124         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5125         (_tmpnam_r, _tempnam_r): Update.
5126
5127 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5128
5129         * libc/machine/sparc/setjmp.S: New file.
5130         * libc/machine/sparc/Makefile.in: Add setjmp.
5131         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5132
5133 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5134
5135         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5136
5137 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5138
5139         From Joel Sherrill <joel@oarcorp.com>.
5140         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5141
5142         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5143         * configure.in: Recognize *-*-rtems*.
5144         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5145         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5146         time.h,times.h,types.h}: New files.
5147         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5148
5149 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5150
5151         patch from sos@prospect.com.ru (Sergey Okhapkin):
5152         * include/sys/wait.h: correct operator precidence bug
5153         in WIFSIGNALED
5154
5155 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5156
5157         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5158         with newlib's unsetenv function
5159         * libc/sys/cygwin32/sys: new directory for includes
5160         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5161         here from winsup/include/sys
5162
5163 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5164
5165         * libc/include/sys/unistd.h: _exit should only be
5166         labelled noreturn when not __CYGWIN32__
5167         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5168         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5169         increment NSIG
5170
5171 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5172
5173         * libc/include/sys/time.h: Only define timeval and timezone if
5174         _GNU_H_WINDOWS32_SOCKETS is not defined.
5175         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5176
5177 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5178
5179         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5180         * libc/machine/mn10300/setjmp.S: Likewise.
5181
5182         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5183         the mn10300 (more relaxing opportunities).
5184
5185 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5186
5187         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5188         Build libraries with -mstrict-align.
5189
5190 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5191
5192         * libc/string/strlwr.c: New file.
5193         * libc/string/strupr.c: New file.
5194         * libc/include/string.h: Declare strlwr and strupr.
5195         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5196         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5197         (strlwr.o, strupr.o): New targets.
5198         * libc/string/strings.tex: Include strlwr and strupr docs.
5199
5200         * libc/include/sys/types.h: Don't define u_char, et. al., if
5201         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5202         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5203         _types_fd_set rather than fd_set, and define fd_set as a macro.
5204
5205         * libc/include/malloc.h: New file.
5206
5207         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5208         strnicmp if they are not already defined.
5209
5210         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5211         _timezone, _daylight, and _tzname.
5212
5213 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5214
5215         * configure.in: Sort all configuration tables.
5216
5217         From Joel Sherrill <joel@oarcorp.com>
5218         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5219
5220 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5221
5222         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5223         use int when declaring kill.
5224
5225         * libc/include/sys/timeb.h: New file.
5226
5227 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5228
5229         * libc/include/sys/time.h: add itimer support for Cygwin32
5230
5231 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5232
5233         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5234         out a message that abort was called to stderr.
5235
5236 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5237
5238         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5239         so that libio doesn't freak.
5240
5241         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5242         int.
5243
5244         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5245         memory sizes, not int.
5246
5247 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
5248
5249         * libm/math/ef_hypot.c: Use long constants where
5250         appropriate.
5251         * libm/math/ef_sqrt.c: Ditto.
5252
5253         * libc/sys/sysmec/times.c(_times): Change to times.
5254
5255         * libc/sys/sysmec/read.c(_read): The third argument is
5256         size_t.
5257         * libc/sys/sysmec/write.c (_write): Ditto.
5258
5259         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5260         (_lseek): It's off_t for the second argument.
5261
5262 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
5263
5264         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5265         as well as machine/ieeefp.h.
5266
5267 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
5268
5269         * libc/include/sys/signal.h: add signal protos for winsup
5270         functions (when __CYGWIN32__), include types.h
5271         * libc/include/sys/types.h: Change __go32_types__ internal
5272         define to __MS_types__ since it's used for more than just
5273         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
5274         defined.
5275         * libc/include/sys/unistd.h: add ftruncate proto for
5276         winsup functions (when __CYGWIN32__)
5277
5278 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5279
5280         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5281
5282 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
5283
5284         * libc/include/machine/setjmp.h: Add tic80 support.
5285         * libc/machine/tic80/setjmp.S: Likewise.
5286
5287 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
5288
5289         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5290         link programs from libraries only (such as in the X11
5291         distribution)
5292
5293 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
5294
5295         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5296         supplied elsewhere in newlib.
5297
5298 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
5299
5300         * Makefile.in (INSTALL): Change install.sh to install-sh.
5301
5302 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5303
5304         * README: update WWW address for on-line documentation.
5305
5306 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
5307
5308         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5309         increment NSIG
5310
5311 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
5312
5313         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5314         mn10300.
5315         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5316
5317 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
5318
5319         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5320         * libc/sys/d10v/syscalls.c: Likewise.
5321         * libc/sys/h8300hms/sbrk.c: Likewise.
5322         * libc/sys/h8500hms/syscalls.c: Likewise.
5323         * libc/sys/m88kbug/syscalls.c: Likewise.
5324         * libc/sys/sh/syscalls.c: Likewise.
5325         * libc/sys/sysmec/sbrk.c: Likewise.
5326         * libc/sys/sysnecv850/sbrk.c: Likewise.
5327         * libc/sys/w65/syscalls.c: Likewise.
5328         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5329
5330 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
5331
5332         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5333         emulated syscall instead of "trap".
5334
5335 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
5336
5337         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5338         not trap 0.
5339
5340 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
5341
5342         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5343
5344 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
5345
5346         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5347         not "sh".
5348         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5349         not "d10v".
5350         * libc/sys/tic80/crt0.c: New file for TIc80.
5351         * libc/sys/tic80/Makefile.in: New file for TIc80.
5352         * libc/machine/tic80/Makefile.in: New file for TIc80.
5353
5354 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
5355
5356         * libc/machine/sh/memcpy.S: New file.
5357         * libc/machine/sh/memset.S: New file.
5358         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5359
5360 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
5361
5362         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5363         for TIc80.
5364
5365 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
5366
5367         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5368         the mn10200.
5369
5370 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
5371
5372         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5373         (patch from andrew@pogo.WV.TEK.COM).
5374
5375 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
5376
5377         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5378         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5379
5380 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
5381
5382         * configure.in:  Add cases for "tic80" to set machine_dir,
5383         sys_dir, and syscall_dir.
5384
5385 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
5386
5387         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5388
5389 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
5390
5391         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5392
5393 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
5394
5395         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5396         Use proper constant prefix.
5397
5398 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
5399
5400         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5401         that loses on the mn10200 where ints and pointers are different
5402         sizes.
5403
5404 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
5405
5406         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5407         target as signal is provided in winsup.
5408
5409 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
5410
5411         * libc/include/sys/process.h: Corrected const definitions
5412         in spawn functions. Added cwait.
5413
5414 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
5415
5416         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5417         doubles.
5418         * libc/include/sys/config.h: Similarly.
5419
5420 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5421
5422         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5423         target_cflags.
5424         (i[3456]86-*-sco*): Ditto.
5425
5426         * libc/signal/Makefile.in (OFILES): Add signal.o.
5427         (CFILES): Add signal.c.
5428
5429         * libc/signal/raise.c (_raise_r): Only compile code if
5430         SIGNAL_PROVIDED is defined.
5431
5432         * libc/signal/signal.c: Redo whole file so that it works with
5433         current newlib.  Use _kill_r if no signal handler provided.
5434
5435         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5436         signal stubs.
5437         * libc/sys/sysvnecv70/Makefile.in: Ditto.
5438         * libc/sys/sysnecv850/Makefile.in: Ditto.
5439
5440         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5441         * libc/sys/sysmec/{raise,signal}.c: Ditto.
5442         * libc/sys/sysvnecv70/signal.s: Ditto.
5443         * libc/sys/sysnecv850/raise.c: Ditto.
5444
5445         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5446         simulator and debugger can tell the difference between a signal
5447         being raised and an exit system call.
5448
5449         * NEWS: Document software signals being provided.
5450
5451 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5452
5453         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5454         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
5455         include/sys/config.h.
5456         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5457         Change from 'inpure_data'.
5458         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
5459         &impure_data, not &inpure_data.
5460
5461         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5462         and and System V ABI, define so that _impure_ptr lives in the
5463         .sdata section.
5464
5465 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5466
5467         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5468         nothing if not defined.
5469         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5470         its attributes.
5471
5472         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
5473
5474 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
5475
5476         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5477         * libc/sys/sysmec/trap.s: Handle mn10200 too.
5478         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5479
5480 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
5481
5482         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5483
5484 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
5485
5486         * libc/include/sys/errno.h: Added net errno's.
5487
5488 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5489
5490         * libc/misc/ffs.c: New file to support ffs function for GCC test
5491         gcc.c-torture/execute/960909-1.c.
5492
5493         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5494
5495 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
5496
5497         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5498         * libc/sys/sysmec/trap.S: Likewise.
5499
5500 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
5501
5502         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5503         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5504
5505 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
5506
5507         * libc/sys/sysmec/signal.c: Dummy file.
5508         * libc/sys/sysmec/Makefile.in: Build it.
5509
5510 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
5511
5512         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5513         mips16.
5514
5515 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
5516
5517         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5518         c-startup and simulator traps.
5519
5520
5521         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5522         * libc/sys/sysmec/trap0.S: Likewise.
5523
5524 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5525
5526         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5527         round to double word alignment.
5528         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5529         byte alignment.
5530
5531         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5532
5533         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5534         out of memory.
5535
5536 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
5537
5538         * configure.in: Handle mn10200 and mn10300.
5539         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5540         * libc/include/sys/config.h: Likewise.
5541         * libc/sys/sysmec: New directory for mec stuff.
5542         * libc/machine/mn10300: New directory for mn10300 stuff.
5543         * libc/machine/mn10200: Similarly for mn10200 stuff.
5544
5545 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
5546
5547         * libc/sys/arm/crt0.S: Use .text, not .section .text.
5548         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5549
5550         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5551         (nlink_t): Change type from unsigned int to unsigned short.
5552         (mode_t): Ensure size is 32 bits even if int is 16.
5553         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5554         (st_spare[123]): Change type from int to long.
5555
5556 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5557
5558         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5559         byte boundary.
5560
5561         * configure.in (d10v*): Define SMALL_MEMORY.
5562
5563 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5564
5565         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5566         -mrelocatable-lib and -mno-eabi flags.
5567
5568 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
5569
5570         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5571         Fix handling of mis-aligned source operand when both the
5572         destination & length are properly aligned.
5573         
5574 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
5575
5576         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5577         times.o, time.o and gettime.o
5578         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5579         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5580         SYS_gettimeofday.
5581
5582 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
5583
5584         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5585         * libc/sys/sysnecv850/access.c: New file.
5586
5587 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
5588
5589         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5590
5591         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5592         long.
5593
5594 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
5595
5596         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5597
5598 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
5599
5600         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5601         * libc/include/sys/config.h: Add m32r support.
5602
5603 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
5604
5605         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
5606         here.
5607
5608 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
5609
5610         * libc/include/machine/setjmp.h: Add D10v support.
5611
5612 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
5613
5614         * configure.in: Configure the "libc/syscalls" directory for
5615         the v850.
5616
5617         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5618         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5619         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5620         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5621         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5622
5623 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
5624
5625         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
5626         stack for args for main and other routines.  Zero out args for
5627         main.
5628
5629         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
5630         correctly.
5631
5632 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5633
5634         * libc/stdio/findfp.c (std): Remove extraneous ';' after
5635         function.
5636
5637         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5638
5639         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5640         real system calls now.
5641
5642         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5643         before casting them to int.
5644         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5645
5646         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5647         aligning pointer.
5648         * libc/string/memset.c (memset): Ditto.
5649         
5650         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5651         first convert ints to _POINTER_INT to eliminate GCC warning.
5652
5653         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5654         processing %p.
5655
5656         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5657         from 65000 if ints are only 16 bits.
5658
5659         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5660         from 50000 if ints are only 16 bits.
5661
5662         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5663         int type that is the same size as a pointer.
5664
5665         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5666         processing %p.
5667         (get_number): Explicitly cast number to long before shifting by 16
5668         or 24, in case ints are short.
5669
5670         * libc/include/sys/config.h (_POINTER_INT): Define as short.
5671
5672 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
5673
5674         * libc/string.h: Added ffs, removed swab.
5675         * libc/sys/errno.h: Added EOPNOTSUPP.
5676         * libc/sys/unistd.h: Added swab.
5677
5678 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
5679
5680         * libc/include/sys/stat.h: Added fchmod.
5681         * libc/include/sys/unistd.h: Added fsync.
5682
5683 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
5684
5685         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5686         and ECONNRESET (104) for cygwin32.
5687
5688 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
5689
5690         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5691         do the static destructors.
5692         
5693 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
5694
5695         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
5696
5697 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
5698
5699         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5700         * configure.in: Recognize m32r-*-*.
5701
5702 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
5703
5704         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5705         __rt_stkovf_split_small): Added default software stack overflow
5706         handlers, which just call SWI_Exit.
5707         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5708         limit initialisation.
5709
5710 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
5711
5712         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5713
5714 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
5715
5716         * libc/include/sys/types.h: Added ssize_t definition.
5717         
5718 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5719
5720         * libc/machine/d10v/setjmp.S: Use ';' for comments.
5721         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5722
5723         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5724         branch around a single ldi instruction.
5725
5726         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5727         Call exit, instead of just issuing a stop instruction.
5728
5729 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5730
5731         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5732
5733 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5734
5735         * libc/stdlib/mprec.h: Explicitly declare all large constants as
5736         longs, and then cast them to __uint32_t.
5737
5738         * libc/include/sys/config.h: Protect against multiple inclusions.
5739
5740 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
5741
5742         * configure.in (d10v*): Set syscall_dir.
5743
5744 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
5745
5746         * libc/sys/d10v/crt0.S: Set stack pointer.
5747
5748 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
5749
5750         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5751         in assembly for efficiency.  Change calling convention to allow
5752         long ints to be returned.
5753
5754 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5755
5756         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5757
5758 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
5759
5760         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5761         Handle empty entries in $PATH.
5762
5763 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
5764
5765         * libc/machine/d10v/setjmp.S: Make it really work.
5766
5767 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
5768
5769         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5770         the .stack section.
5771
5772 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
5773
5774         * sys/sysnecv850/sys/file.h: Remove.
5775         * sys/sysnecv850/sys/syscall.h: New file.
5776         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5777         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5778         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5779         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5780         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5781         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5782         * sys/sysnec850/trap.S: New file.
5783         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5784         syscalls.
5785         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5786         * sys/sysnec850/sbrk.c: New version.
5787
5788 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
5789
5790         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
5791         as long as r6 is less than r7.
5792
5793 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
5794
5795         * Makefile.in (mostlyclean): Separate from clean target.  Don't
5796         remove *.a or targ-include.
5797         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5798
5799 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5800
5801         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5802         d10v.
5803         (__SMALL_BITFIELDS): Ditto.
5804
5805         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5806
5807 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
5808
5809         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5810         prefix.
5811
5812         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5813         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5814         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5815         * libc/sys/sysnecv850/write.c (write): Likewise.
5816
5817         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5818         .bss.
5819
5820 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5821
5822         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5823         appropriately for D10V, depending on -mint16/-mint32.
5824
5825 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
5826
5827         * configure.in: Add cases for D10V.
5828
5829 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5830
5831         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5832
5833 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
5834
5835         * libc/include/machine/ieeefp.h: Fix typo.
5836
5837 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
5838
5839         * libc/sys/d10v: New directory for D10V stuff.
5840         * libc/include/machine/ieeefp.h: Add D10V defines.
5841
5842 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
5843
5844         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5845         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5846         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5847         * libc/string/strerror.c (strerror): Add them.
5848
5849 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
5850
5851         * libc/sys/sysnecv850: New directory for v850 stuff.
5852
5853         * libc/machine/v850: New directory for v850 stuff.
5854         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5855
5856         * configure.in: Add support for the v850.
5857
5858         * libc/include/machine/ieeefp.h: Add v850 defines.
5859         * libc/include/machine/setjmp.h: Likewise.
5860         * libc/include/sys/config.h: Add v850 defines.
5861
5862 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
5863
5864         * libc/include/machine/ieeefp.h
5865         * libc/include/machine/setjmp.h
5866         * libc/include/sys/fcntl.h
5867         * libc/include/sys/signal.h
5868         * libc/include/sys/types.h
5869         * libc/stdlib/system.c:
5870         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5871         API availability, __CYGWIN32__ for cygwin32 environment specific).
5872
5873 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
5874
5875         * libc/include/stdlib.h: add multibyte character functions.  Add
5876         __eprintf for assert.
5877
5878 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5879
5880         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5881         arithmetic or __alignof__ to properly get the alignment, instead
5882         of hardwiring it to 4.
5883
5884 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
5885
5886         * libc/stdio/fseek.c: add fflush call to adjust seek offset
5887         on append stream (fix from NetBSD sources), adjust curoff offset
5888         for ungetc's benefit.
5889         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5890         * libc/stdio/rewind.c: replace code with up to date NetBSD
5891         code to undo hacks made to work around above problem of not
5892         having fflush call mentioned above
5893
5894 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5895
5896         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5897         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5898         Partially revert last changes.  The thread specific errno is set
5899         iff if the underlying syscall fails and the global errno is not
5900         zero.
5901
5902 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5903
5904         * libc/reent/filer.c: Removed files, all functions have split out
5905         into their own files.
5906         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
5907         New files containing functions formally in filer.c
5908         * libc/reent/Makefile.in: Updated for above change.
5909
5910         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
5911         syscall fails, not if errno is changed.
5912         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
5913         _write_r): Likewise.
5914         * libc/reent/fstatr.c (_fstat_r): Likewise.
5915         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
5916         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
5917         * libc/reent/signalr.c (_kill_r): Likewise.
5918         * libc/reent/statr.c (_stat_r): Likewise.
5919         * libc/reent/timer.c (_gettimeofday_r): Likewise.
5920
5921         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
5922         signalr.c, statr.c, timer.c} (errno): declare extern rather
5923         than as a common.
5924
5925         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
5926         instead of calling vfprintf so that i*printf will not require
5927         floating point support code.
5928         
5929 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
5930
5931         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
5932         path delimiter.
5933         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
5934         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5935
5936 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
5937
5938         * libc/include/signal.h: _sig_func_ptr function takes an int
5939         * libc/include/sys/signal.h: sa_handler function takes an int
5940
5941 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
5942
5943         * libc/include/machine/ieeefp.h: Simplify H8/S support.
5944         * libc/include/sys/config.h: Add missing H8/S conditional.
5945
5946 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
5947
5948         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
5949
5950 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
5951
5952         * libc/include/machine/setjmp.h: Handle H8/S.
5953         * libc/include/machine/ieeefp.h: Likewise.
5954         * libc/include/sys/config.h: Likewise.
5955         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
5956         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
5957         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
5958         * libc/sys/h8300hms/crt0.S: Likewise.
5959
5960 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5961
5962         * Makefile.in (datadir): Set to $(prefix)/share.
5963         (oldincludedir, docdir): Removed.
5964         * doc/Makefile.in (datadir): Set to $(prefix)/share.
5965         (oldincludedir, docdir): Removed.
5966         * libc/Makefile.in (datadir): Set to $(prefix)/share.
5967         (oldincludedir, docdir): Removed.
5968         * libm/Makefile.in (datadir): Set to $(prefix)/share.
5969         (oldincludedir, docdir): Removed.
5970
5971 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
5972
5973         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
5974         _reent struct.
5975
5976 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
5977
5978         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
5979         fetch current path rules with sysconf and handler posix/win32
5980         appropriately.
5981
5982         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
5983
5984         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
5985         (WAIT_CHILD): Always define.
5986
5987 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
5988
5989         * libc/stdlib/eprintf.c: New file.
5990         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
5991         (eprintf.o): New target.
5992
5993 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
5994
5995         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
5996         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
5997
5998 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
5999
6000         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6001         NT in PowerPC endianess cases.
6002
6003 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6004
6005         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6006
6007 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6008
6009         * libc/string/strtok.c: Fix doc typo.
6010
6011 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6012
6013         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6014         _next, _scanpoint, _signgam fields.
6015
6016         * libc/include/stdlib.h (rand_r): Added new declaration.
6017         (_rand_r, _srand_r): Removed declarations.
6018         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6019         have been made obsolete by rand_r.
6020         * libc/stdlib/rand_r.c: New file, rand_r function as specified
6021         by POSIX.1c.
6022         
6023         * libc/string/strtok.c: Update documentation to describe
6024         strtok_r().
6025
6026 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
6027
6028         * libc/include/sys/stat.h (stat structure): Use the expanded stat
6029         structure on Solaris, and PowerPC systems even though __svr4__ is
6030         defined.
6031
6032 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6033
6034         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6035
6036 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
6037
6038         * host/any: Use ../.. rather than .. to get to the main build
6039         directory.  This matches the current layout of the build
6040         directory.
6041
6042 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
6043
6044         * libc/machine/h8300/__main.S: Delete.  No longer needed.
6045         * libc/machine/h8300/Makefile.in: Corresponding changes.
6046         * libc/sys/h8300hms/crt1.c: New file.
6047         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6048         * libc/sys/h8300hms/crt0.s: Call __main.
6049
6050         * libc/sys/h8300hms/crt0.S: Use temporary label names
6051         for branch targets.
6052
6053 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
6054
6055         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6056
6057 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6058
6059         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6060         .sdata on the PowerPC so that we can link newlib with code
6061         compiled with -msdata.
6062
6063 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
6064
6065         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6066
6067 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
6068
6069         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6070         exception handler to __cygwin_exception_handler.
6071
6072 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
6073
6074         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6075
6076 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
6077
6078         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6079         SunOS VPATH.
6080         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6081         wcstombs.o): Likewise.
6082
6083 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
6084
6085         * libc/stdlib/environ.c (initial_env): New static local.
6086         (environ): Point to `initial_env'.
6087
6088         * libc/include/machine/setjmp.h: Clean up.
6089         (__H8300H__,__PPC__): Define _JBTYPE.
6090         (__arm__): Provide entry for.
6091         (sigjmp_buf): Delete.
6092         (jmp_buf): Use _JBTYPE if defined, otherwise int.
6093
6094 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
6095
6096         * libc/machine/h8300/strcmp.S: Sign extend the result to
6097         32bits so we don't lose with -mint32.
6098
6099 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
6100
6101         * libc/sys/go32/sys/errno.h: New file.
6102         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6103         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6104         errno's address (make compatible with rest of newlib).
6105         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6106         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6107
6108 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
6109
6110         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6111         * libc/machine/sparc/Makefile.in: Build them.
6112         * libc/machine/sparc/machine/sparclet.h: New file.
6113
6114 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6115
6116         * libc/machine/sh/asm.h: New file.
6117         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6118         support for SH3e's FP registers.  Use asm.h.
6119
6120 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6121
6122         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6123         as first argument.  Call _dtoa_r and pass the reent structure
6124         instead of calling __dtoa.
6125
6126 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6127
6128         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6129         the h8300, h8500, and others.  Add comments for some rather
6130         dubious code.
6131
6132 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6133
6134         * Makefile.in (check): Check that testsuite exists before cd.
6135
6136 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6137
6138         * libc/include/string.h (strsep): Correct prototype.
6139
6140 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6141
6142         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6143         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6144         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6145
6146 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6147
6148         * libc/posix/{creat.c,isatty.c}: New files.
6149         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6150
6151         * libc/sys/sparc64/crt0.S (environ): Delete.
6152         (.LHaveBias): Renamed from HaveBias.
6153
6154 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6155
6156         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6157         (_morecore_r): Delete SBRK_IS_ALLOC support.
6158
6159 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6160
6161         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6162         module rather than touch, so we don't get warning messages when
6163         all of the libraries are combined into libc.a.
6164
6165 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6166
6167         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6168         crt0.s replaced by version in libgloss.
6169
6170 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6171
6172         * libc/reent/Makefile.in (OFILES): Add impure.o.
6173         * libc/reent/impure.o: New file, define initial reentrancy struct.
6174         * libc/reent/reent.c: Remove above definition.
6175
6176         * libm/math/sf_asinh.c: Fix typo.
6177
6178         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6179         srf_ldexp.o.
6180         
6181         * libm/libm.texinfo: Change documentation to reflect changes
6182         in reentrancy model.
6183         * libm/math/w_gamma.c: Likewise.
6184
6185 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6186
6187         * configure.in (*-*-cygwin32): New.
6188         (*-*-win32): Deleted.
6189         * libc/sys/win32 renamed libc/sys/cygwin32.
6190
6191 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6192
6193         * libc/include/sys/file.h: New include file.
6194
6195 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6196
6197         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6198
6199 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6200
6201         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6202
6203 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6204
6205         * doc/makedoc.c (realloc): Declare at file scope.
6206         (catchar): Not here.
6207
6208 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6209
6210         * Makefile.in (VERSION): Update to 1.7.0.
6211         * {libc,libm}/Makefile.in (VERSION): Likewise.
6212         * configure.in: Minor clean up of multilib stuff.
6213
6214         From David Johnson <davidj@ICSI.Berkeley.EDU>
6215         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6216
6217         * libc/stdlib/environ.c: New file.
6218         * libc/stdlib/Makefile.in (OFILES): Build it.
6219         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6220         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6221         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6222         * libc/sys/netware/environ.c: Deleted.
6223
6224 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6225
6226         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6227
6228 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6229
6230         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6231         declaration out to external scope and declare it PTR, not char *.
6232
6233 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6234
6235         * libc/include/sys/unistd.h (getpagesize): New declaration.
6236         (_SC_PAGESIZE): New definition.
6237         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6238         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6239
6240 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6241
6242         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6243         addressing. System call returns size, not (last address + 1).
6244
6245 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6246
6247         * libm/math/*.c: Removed _foo_r() reentrancy API.
6248         * libc/include/math.h: Removed _foo_r prototypes and macros.
6249
6250         * libm/math/*.c: On systems with IEEE single precision "doubles" 
6251         move foo() -> foof() wrapper code from the files that implement
6252         the standard IEEE double precision functions to the files that 
6253         implement IEEE single precision functions. (ie. On those systems
6254         sin is moved from s_sin.c to sf_sin.c).  There should eventually
6255         be use of a C extension (like gcc's alias attribute) so that the
6256         wrappers are not needed at all.
6257
6258         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6259         strict NEC V810 compiler.
6260         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6261         for same reason.
6262
6263 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6264
6265         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6266         from NetBSD C library.
6267         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6268
6269         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
6270         and adapted from implementation I wrote for NetBSD C library.
6271         The difference is __assert doesn't take a format argument,
6272         so that there won't be multiple copies of the same string
6273         constant in the executable if assertions are enabled in
6274         more than one source module.
6275         * libc/include/assert.h (assert): Changed to call __assert.
6276
6277 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6278
6279         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6280         word1 on systems with 32 bit doubles.
6281         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6282         so that we can do arithmetic on them.
6283         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6284         compilers.
6285         
6286 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6287
6288         * libc/sys/arm/crt0.S: Zero bss.
6289
6290 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
6291
6292         * libc/include/unctrl.h: New file.
6293         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6294         * configure.in (subdirs): Add libc/misc.
6295         * libc/Makefile.in (SUBDIRS): Add misc.
6296         (SUBLIBS): Add misc/lib.a.
6297
6298         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6299
6300 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
6301
6302         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6303         (_vfprintf_r): Call CHECK_INIT.
6304
6305 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
6306
6307         * Makefile.in (MULTITOP): Delete.
6308         (MULTISRCTOP, MULTIBUILDTOP): Add.
6309         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
6310         instead of cfg-ml-pos.in.
6311
6312 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6313
6314         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6315         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6316         presence.
6317
6318 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
6319
6320         * libc/string/strtok.c: Include string.h to pick up strtok_r
6321         prototype.
6322
6323 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6324
6325         * libc/string/strtok.c: include <_ansi.h>.
6326         * libc/time/asctime_r.c: `reresult' -> `result'.
6327
6328 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6329
6330         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6331         in #ifndef _REENT_ONLY ... #endif conditional.
6332
6333         * libc/include/string.h (_strtok_r): Remove declaration.
6334         * libc/include/time.h (_asctime_r): Remove declaration.
6335         * libc/string/strtok.c (_strtok_r): Removed.
6336         * libc/time/asctime.c (_asctime_r): Removed.
6337
6338         * libc/string/Makefile.in (OFILES): Add new object.
6339         * libc/string/strtok_r.c: New file.  strtok_r function as
6340         specified by POSIX.1c, adapted from strtok implementation 
6341         from NetBSD C library.
6342         * libc/string/strtok.c (strtok): Reimplemented in terms of 
6343         strtok_r.
6344
6345         * libc/time/Makefile.in (OFILES): Add new objects.
6346         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6347         New files, reentrant time functions specified by POSIX.1c.
6348         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6349         reentrant time functions re-written in terms of reentrant 
6350         functions.
6351         * libc/time/lcltime.c: Renamed from localtime.c
6352
6353         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6354         gmtime_r, and localtime_r.
6355
6356 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
6357
6358         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6359         * libc/include/sys/unistd.h (getlogin): Revert change of
6360         Oct 19.
6361         * libc/include/sys/signal.h (sigprocmask): Change prototype
6362         so it compiles with c++.
6363
6364 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
6365
6366         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6367         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
6368         to give some room in case we need to align the jmp_buf.
6369         
6370         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6371         the new ppc-asm.h include file the compiler provides to specify
6372         function prologue/epilogue.  Eliminate saves of the xer and ctr
6373         registers, which are volatile.  Before starting to save registers,
6374         align to 8 byte boundary.
6375
6376 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6377
6378         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6379         referenced by standard libraries.
6380
6381 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
6382         
6383         * libc/unix/Makefile.in, libc/string/Makefile.in,
6384         libc/stdio/Makefile.in, libc/reent/Makefile.in,
6385         libc/posix/Makefile.in:
6386         Remove tabs from otherwise empty line.  Confuses some
6387         older non-GNU versions of "make".
6388
6389 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6390
6391         * libc/sys/unistd.h (getlogin): Returns const char *.
6392
6393 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
6394
6395         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6396         * libc/include/errno.h: Moved into and include...
6397         * libc/include/sys/errno.h: New file.
6398         * libc/include/sys/wait.h: New file.
6399         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6400         * libc/sys/win32/*: Moved out.
6401         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6402         * configure.in (i[345]86-*-win32): HAVE_RENAME
6403
6404 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
6405
6406         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6407         avoid macro expansion for these two names.
6408
6409 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
6410
6411         * libc/machine/h8500/psi.S: r6 renamed to fp.
6412
6413 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6414
6415         * configure.in (powerpc*): No longer need to define
6416         NO_LONGLONG_POINTERS to supress warnings.
6417
6418 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6419
6420         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6421         through PTR instead of directly.
6422
6423         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
6424         non-standard constructor support.
6425
6426 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6427
6428         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6429         address of the Bigint instead of the address of its _x field,
6430         as the size the result buffer was calculated accordingly.  
6431         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6432
6433         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6434         from NetBSD C library.  No longer special cases division by 
6435         zero (which needs to be done by the application anyway), but
6436         it doesn't need to call abs() (or labs()) four times either.
6437         
6438         * libc/stdlib/qsort.c: Replaced with implementation from 
6439         NetBSD C library.
6440
6441 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6442
6443         * libc/stdio/vfprintf.c: Replaced with implementation from
6444         NetBSD C library (which is derived from the 4.4BSD C library).
6445         * libc/stdio/cvt.c: Removed.
6446         * libc/stdio/Makefile: Updated.
6447         
6448 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
6449
6450         * libc/sys/win32/syscalls.c (rename): New.
6451         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6452
6453 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6454
6455         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6456         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6457
6458         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6459         (setjmp.o): Delete rule to build setjmp.o.
6460         * libc/sys/sh/setjmp.S: Delete file.
6461
6462 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6463
6464         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6465         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6466         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
6467         pow5mult and s2b to identifiers with leading underscores.
6468         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6469         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
6470
6471 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
6472
6473         * libc/sys/posix/popen.c (sys/types.h): Include.
6474
6475 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
6476
6477         * libc/sys/win32/syscalls.h (fhandler): New struct.
6478         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6479         (__fhandler_normal): Declare.
6480         (hinfo): New member op_handlers.
6481         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6482         (__write): Likewise.
6483         (_read, _write, _open, _close, _lseek): Validate fd here.
6484         Move file type specific stuff to foo_normal.
6485         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6486         New functions.
6487         (__lookup_fhandler): New function.
6488         (__lookup_fhandler_hook, __fhandler_normal): New variables.
6489
6490         From anders.blomdell@control.lth.se (Anders Blomdell)
6491         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6492         Don't touch standard handles.
6493         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6494         (_execve): Only create __FD_TABLE__ if necessary.
6495         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6496
6497 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
6498
6499         * libc/sys/win32/sys/termios.h (FLUSHO): New.
6500         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6501         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6502         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6503         without a handler is received.
6504         * libc/sys/win32/Makefile.in: Remove --nodelete.
6505         * libc/sys/win32/resouce.c (gettimeofday): New.
6506         * libc/sys/win32/syscalls.c (path_to_real_path): New.
6507         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6508
6509 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
6510
6511         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6512         Don't append "/*" to search pattern if trailing '/' already there,
6513         append "*".
6514         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6515         like /'s, convert them to \'s.  Handle //<drive>/ path names.
6516         Add space for quoted \'s in arg string.  Print translated prog name
6517         and original prog name.
6518         (_execve): Handle parent doing exec a teensy bit better.
6519         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6520         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6521         path needs conversion, handle both cases.  Delete `const' from result.
6522         (hash_path_name): New function.
6523         (_open): Call it.
6524         (_stat): Likewise.  Fill in more fields for directories.
6525         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6526         (wait_for_any): Fix trace message.
6527         (waitpid): Explicitly test for intpid == 0.
6528
6529         From anders.blomdell@control.lth.se (Anders Blomdell)
6530         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6531         so `next' is valid.
6532
6533 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
6534
6535         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6536         complicated.
6537
6538 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
6539
6540         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6541         at all, not just == 1.
6542         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6543
6544 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6545
6546         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6547         * libc/sys/win32/include/wintypes.h: include <winnt.h>
6548         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6549         file.
6550
6551 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6552
6553         * libc/sys/syscalls.c (getcwd): Fix off by one error.
6554
6555         * libc/sys/signal.c (sleep): Fill it in.
6556         * libc/sys/termios.c (tcflush): Use PurgeComm
6557         (tcsetattr): Set some more of the bits.
6558         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6559
6560 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
6561
6562         * libc/sys/arm/crt0.S (fp): Initialize to 0.
6563         Conditionally include .idata$3 stuff ifdef __pe__.
6564
6565 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6566
6567         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6568         * libc/sys/win32/pipe.c (pipe): Ditto.
6569         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
6570         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6571         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6572         (tcgetattr): Contents are new.
6573         * libc/sys/win32/include/winkernel.h (DCB): New.
6574         (GetCommState, SetCommState): New.
6575
6576 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
6577
6578         * libc/sys/arm/crt0.S (_start): Define.
6579
6580 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
6581
6582         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6583         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6584
6585         * libc/sys/win32/sysconf.c: New
6586         * libc/sys/win32/sys/winadvapi.h: New
6587         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6588         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6589         * libc/sys/win32/pipe.c (pipe): Ditto.
6590         * libc/sys/win32/signal.c (_raise): New.
6591         (_kill): Moved from spawn.c
6592         * libc/sys/win32/spawn.c (kill): Moved to signal.c
6593         * libc/sys/win32/syscalls.c (__read): Use new fields.
6594         (_open): Ditto.
6595         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6596         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6597         * libc/include/sys/unistd.h (rmdir): Takes const path.
6598         * libc/include/sys/stat.h (mkdir): Takes const path.
6599         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6600
6601 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6602
6603         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6604
6605         Add support for specifying paths as //<drive>/foo/bar.
6606         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6607         (__path_to_real_path): Declare.
6608         (PATH_TO_REAL_PATH): New macro.
6609         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6610         (__path_needs_conversion_p, __path_to_real_path): New functions.
6611         (_open): Fix test for error return from CreateFileA.
6612         Handle new path syntax.
6613         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6614         * libc/sys/win32/dirsearch.c (opendir): Likewise.
6615
6616 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
6617
6618         * libc/sys/win32/include/*.h: Reorganized
6619         * libc/sys/win32/include/WINREADME: New.
6620         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6621         * libc/sys/win32/*.c: Fix for new include scheme.
6622         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6623         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6624         * libc/sys/win32/passwd.c (*): Fix.
6625         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6626         (_stat): Get directory owner and permissions right.
6627         * libc/sys/win32/syscalls.h (uinfo): New.
6628         * libc/sys/win32/version.def: Remove leading underscores.
6629
6630 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6631
6632         * libc/sys/win32/key.c: include "include/wincon.h".
6633
6634 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6635
6636         * libc/sys/win32/{key, stubs}.c: New.
6637         * libc/sys/win32/Makefile: Adjust to cope.
6638         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6639         (environ_init): Change env names to upper case.
6640         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6641         * libc/sys/win32/passwd.c (*): Fill in the functions.
6642         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6643         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6644         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6645         (_open): Initialze hmap->execable_p too.
6646         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6647         (_fstat): Fill in permissions.
6648         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6649
6650 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6651
6652         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6653         if defined.
6654         (cfg-ml-pos.in invocation): Likewise.
6655
6656 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6657
6658         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6659         s_isnan.o and sf_isnan.o.
6660
6661 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
6662
6663         * All Makefile.in files: added maintainer-clean target as a
6664         synonym for realclean.
6665
6666 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
6667
6668         * libc/include/machine/setjmp.h: Add hppa support.
6669         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6670         support.
6671         * libc/machine/hppa/Makefile.in: Related changes.
6672
6673 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6674
6675         * configure.in (machine_dir): Don't set for v810-*-*.
6676
6677 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6678
6679         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6680         conventions correctly.
6681
6682 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6683
6684         * libc/stdio/puts.c: Update documentation of return value to match
6685         ANSI standard.
6686
6687 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
6688
6689         Fix file descriptor inheritance.
6690         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6691         (NOT_OPEN_FD): Fix.
6692         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6693         close-on-exec flag not set.  Initialize child's entire fd table.
6694         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6695         CHILD_P.
6696         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6697         if CHILD_P.  Initialize entire hmap entry.
6698         (dup): Only create new handle as inheritable if CHILD_P.
6699         (dup2): Likewise.  Properly initialize hmap entry.
6700
6701         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6702         _spawn.
6703         (_exit): Use CHILD_P.
6704         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6705         (_stat): Likewise.
6706
6707 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6708
6709         * libc/sys/win32/crt0.c (passover): fix up the state table.
6710         * libc/posix/popen.c: Added.
6711         * libc/posix/Makefile.in: compile popen.c.
6712         
6713 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
6714
6715         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6716         h8/500 define _DOUBLE_IS_32BITS.
6717
6718 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
6719
6720         Get vfork/exec/spawn/cwait/wait working again.
6721         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6722         (procinfo): New member vfork_level.
6723         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6724         (vfork_init_first): Use GetCurrentProcessId to get pid.
6725         Initialize vfork_level.
6726         (vfork_init): Delete __PID__.
6727         (environ_init): New function.  Undo patch of Aug 19, Posix says
6728         environment variables are case sensitive.
6729         (mainCRTStartup): Call it.
6730         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6731         (my_longjump: Make static.
6732         (_spawn): New argument `h'.  Delete setting of __PID__.
6733         Delete local `idx'.  Look for chars that need quotes, rather than
6734         ones that don't.  Set handle of created process in `h'.
6735         Result is process id if created task.
6736         (allocate_spawn_entry): New function.
6737         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
6738         (_execve): Set __FD_TABLE__ before spawning child.
6739         Scan our fd table when passing fds, not our parent's.
6740         Store handle and pid in procinfo entry.
6741         (vfork0): Ensure strace message always printed.
6742         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6743         (vfork): Don't clobber result of vfork0.
6744         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6745         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6746
6747         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6748         and `exit_code'.
6749         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6750         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
6751         adding vfork level to pseudo-pid.  
6752         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6753         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6754         (_exit): If child, set exit code.
6755         (__vfork_record_death): Only close process handle if valid.
6756         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6757         didn't exec.
6758         (wait_for_any): Likewise.  Start scan after root entry.
6759
6760 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6761
6762         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6763         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6764         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6765         of actual file length.
6766
6767         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6768         * libc/include/paths.h: _PATH_BSHELL added.
6769         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6770         and STDERR_FILENO.
6771
6772 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6773
6774         * libc/include/ar.h: Added.
6775         * libc/include/sys/types.h: ino_t goes back to 32-bits.
6776         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6777         * libc/sys/win32/syscalls.c (_open): compute .namehash based
6778         on filename.
6779         (_fstat): use .namehash for inode number of the fd.
6780
6781 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
6782
6783         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6784          Change hinfo to __this_procinfo.
6785         * libc/sys/win32/crt0.c: Remove procinfo_list.
6786
6787 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6788
6789         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6790         win32 environment.
6791
6792 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6793
6794         * libc/sys/win32/include/grp.h: Removed.
6795         * libc/sys/include/grp.h: Added.
6796         * libc/sys/win32/grp.c: Include <grp.h>.
6797
6798 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6799
6800         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6801         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6802         Defined for all but strict ANSI.
6803         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6804         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6805         * libc/signal/signal.c (_signal_r): Changed from using
6806         _MAX_SIGNALS to NSIG.  
6807         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6808          __hmap): Deleted.
6809         (__strace, __vfork_next_pid): New.
6810         (__exe_suffix): Default to 1.
6811         (passover, table): Understand quoted arguments.
6812         (vfork_init_first): New.
6813         (vfork_init): Initialize new process structure.
6814         (mainCRTStartup): Pass environ to main.
6815         * exceptions.c (__sig_mask): New
6816         (ehandler3): Ignore signals in mask.
6817         (really_exit): Remove CHILD_P test.
6818         * pipe.c (pipe, dup, dup2): Use new process and file structure.
6819         * resource.c (getrusage): Ditto.
6820         * signal.c (sigprocmask): New.
6821         * spawn.c (*): Rewritten.
6822         * syscalls.c (*): Use new process and file structure.
6823         (find_unused_handle): New.
6824         * syscalls.h (MAX_HANDLES): Deleted.
6825         (hinfo): Removed child_created_p.
6826         (MAX_CHILDREN): Deleted.
6827         (vfork_jmp_info, procinfo): New.
6828         * wait.c (*): Mostly new.
6829         * sys/strace.h (_STRACE_PARANOID): New.
6830         * sys/param.h: New file.
6831
6832 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6833
6834         * libc/include/sys/stat.h: add S_BLKSIZE.
6835         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6836         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6837         types under win32.
6838         (mode_t): add a #else to avoid multiple definitons.
6839
6840         * libc/sys/win32/Makefile.in: add grp.c.
6841         * libc/sys/win32/grp.c: include grp.h correctly.
6842         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6843         of the st structure with real information.
6844         * libc/sys/win32 (dirent): d_ino is of type ino_t.
6845
6846 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
6847
6848         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6849         and (maybe) sparc64.
6850         (nlink_t): Provide typedef.
6851
6852 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6853
6854         * libc/sys/win32/grp.c: New file.
6855         * libc/sys/win32/include/grp.h: New file.
6856
6857 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6858
6859         * libc/include/machine/ieeefp.h: Added whitespace to make this
6860         file easier to maintain.
6861         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6862         depending on the value of __LITTLE_ENDIAN__.
6863         On the sh3e, define _DOUBLE_IS_32BITS.
6864         
6865 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
6866
6867         * libc/sys/vr4300/syscalls.c: Added missing support
6868         routines. _raise() and getpid().
6869
6870 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
6871
6872         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6873
6874 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
6875
6876         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6877         and VR4300 processor.
6878         * libc/sys/vr4300: Add directory.
6879         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6880         monitor run-time support.
6881
6882 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6883
6884         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6885         * libc/stdlib/stdlib.tex: Don't include atol.def.
6886
6887 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6888
6889         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6890
6891 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
6892
6893         * libc/ctype/Makefile.in: Fill in _to* dependencies.
6894
6895 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
6896
6897         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6898         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6899         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6900         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
6901         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
6902
6903 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6904
6905         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
6906
6907 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6908
6909         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
6910         * libc/stdlib/atoff.c: New file.
6911         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
6912         * libc/stdlib/atoi.c (atol): Removed.
6913         * libc/stdlib/atol.c: Removed duplicate documentation.
6914
6915         * libc/include/ctype.h (_tolower, _toupper): Moved inside
6916         #ifndef _STRICT_ANSI conditional.
6917         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
6918         * libc/ctype/_tolower.c: New file.
6919         * libc/ctype/_toupper.c: New file.
6920         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
6921         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
6922         * libc/ctype/toascii.c (_toascii): Removed.
6923
6924 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6925
6926         * libc/sys/sparc64/sys/types.h: Deleted.
6927
6928 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6929
6930         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
6931         and recognize Windows_95 systems.
6932
6933 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6934
6935         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6936         and passed fds should be opened in text mode.
6937
6938 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6939
6940         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6941         in __hmap, set to binary mode by default.
6942
6943 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6944
6945         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6946         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
6947         vector 34.
6948
6949 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
6950
6951         * Makefile.in (install): Install all libraries found in the
6952         top level.  If there's a sys/<type>/include directory,
6953         install those headers into include.
6954
6955         * libc/sys/win32/kernel.def351: Delete
6956         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
6957         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
6958         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
6959         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
6960         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
6961         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
6962         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
6963         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
6964
6965         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
6966         * libc/sys/win32/crt0.c: Force all env names to upper case.
6967         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
6968         * libc/sys/win32/*.c: Headers have moved.
6969         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
6970         __vfork_child_idx is now __vfork_child_ptr.
6971
6972         * posix/execvp (execvp): Don't crash if no PATH envname.
6973
6974 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6975
6976         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
6977         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
6978         through the _freelist instead of through the _reclaim list.
6979         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
6980         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
6981         sources.
6982
6983 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6984
6985         * libc/machine/h8500/setjmp.S: New file.
6986         * libc/include/machine/setjmp.h: Updated for H8/500.
6987
6988 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
6989
6990         * libc/sys/win32/syscalls.c (_open): More stracing.
6991         (_stat): Open the file in O_BINARY.
6992
6993 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6994
6995         * libc/machine/h8300/setjmp.S: New file.
6996         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
6997
6998 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
6999
7000         * libc/sys/win32/crt0.c (__exe_suffix): New global.
7001         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7002         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7003         __exe_suffix.  Free fd_tab after setting env variable.
7004         (spawnv,_execve): Update.
7005         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7006         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7007         (__small_vfprintf): New function.
7008         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7009         * libc/sys/win32/wait.c (cwait): Validate argument.
7010
7011         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7012         (process_deletion_queue): Likewise.
7013
7014         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7015
7016 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
7017
7018         * libc/sys/win32: Copyrights and gratuitous indenting.
7019
7020 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
7021
7022         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7023         (process_deletion_queue): Likewise.
7024         (__close_all_files): New function.
7025         (_close): Only queue file deletion if really a file.
7026         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7027         _P_APPEND_EXE.
7028         (_exit): Call __close_all_files.
7029
7030         * libc/stdlib/system.c: #include <errno.h>.
7031         (_system_r): Fix results in -DNO_EXEC case.
7032
7033         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7034         Reorganize structure.
7035         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7036         if argument is valid.  Save directory name in DIR.  malloc space
7037         for dirent struct separately.
7038         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7039
7040         * libc/include/errno.h (ENAMETOOLONG): Define.
7041         * libc/string/strerror.c (strerror): Reword ENFILE.
7042         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7043
7044 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
7045
7046         * libc/sys/win32/crt0.c (__progname): New global.
7047         (mainCRTStartup): Support strace=bitmask,filename.
7048         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7049         * libc/sys/win32/syscalls.c (_write): Print parent trace message
7050         if error.
7051         (getcwd): Handle len too small.  Convert '\\' to '/'.
7052         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7053         Add prototypes for open, creat, fcntl.
7054         (O_APPEND): Change value to conform to Microsoft's value.
7055         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7056
7057         * libc/stdlib/getopt.c: New file.
7058         * libc/stdlib/Makefile.in: Build it.
7059
7060 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
7061
7062         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7063         Fix scanning of $PATH.
7064         * libc/posix/exec*.c: Call _execve, not execve.
7065         * libc/posix/execve.c: New file.
7066         * libc/posix/Makefile.in (OFILES): Add execve.o.
7067
7068         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7069         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7070         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
7071         * libc/sys/win32/crt0.c: Update _STRACE calls.
7072         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7073
7074         * libc/sys/win32/smallprint.c (rn): Fix digit list.
7075
7076         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7077         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7078         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7079         Print __seterrno trace message first.
7080         (_execve): Renamed from execve.
7081         (vfork): Update __strace usage.
7082         (__vfork_child_pid): Deleted.
7083         (__vfork_children, __vfork_child_idx): New globals.
7084         (_spawnvp): New function.
7085         (spawnvp, spawnv, _execve): Call _spawnvp.
7086         (init_child): Record child in __vfork_children.
7087         (__vfork_get_entry, __vfork_record_death): New functions.
7088         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7089         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7090         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
7091         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7092         (children): New typedef.
7093         (__vfork_children,__vfork_child_idx): Declare.
7094         (__vfork_get_entry,__vfork_record_death): Declare.
7095         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7096         (waitpid): Handle pid == -1.
7097         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7098         * configure.in (i386-win32): Add -DNO_FORK.
7099         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7100         * libc/reent/execr.c (_fork_r): Likewise.
7101         * libc/stdlib/system.c (do_system): New function.
7102         If WIN32, try to get shell path from $SH_PATH, use vfork.
7103         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7104         otherwise return 0.
7105
7106 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
7107
7108         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7109         * libc/sys/win32/fcntl.h: Don't include self.
7110         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7111         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7112         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7113         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7114         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7115         Correct prototypes.
7116         * libc/sys/win32/strace.c: New file.
7117         * libc/sys/win32/smallprint.c: New file.
7118         * libc/sys/win32/crt0.c (func): Delete.
7119         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7120         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7121         * libc/sys/win32/exceptions.c: Lint.
7122         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7123         Clean up handle usage.
7124         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7125         (open.c): Default file type is text.
7126         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7127         * libc/sys/win32/advapi32.def: New      
7128
7129 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7130
7131         * configure.in (posix_dir, libc_posix_lib): New variables.
7132         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7133         (i[345]86-*-win32): Define posix_dir.
7134         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7135         (if unix_dir): Fix typo.
7136         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7137         scandir,seekdir,telldir}: New files.
7138         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7139         from libc/unix.
7140         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7141         (SUBDIRS): Add posix.
7142         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7143
7144         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7145         (NSIG): Increase to 21.
7146         * libc/include/sys/unistd.h (pid_t): Move from here,
7147         * libc/include/sys/types.h (pid_t): to here.
7148
7149         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7150         (__ptrace): Delete.
7151         (hinfo): New members close_exec_p, child_created_p.
7152         (struct exception_list): Define.
7153         (__hmap): Redefine as pointer to table.
7154         (__parent_hmap, __child_hmap): New globals.
7155         (__set_errno, __really_exit): Declare.
7156         (__vfork_child_pid): Declare.
7157         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7158         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7159         (__parent_hmap, __child_hmap): New globals.
7160         (__hmap): Redefine as pointer to active map.
7161         (__get_console): New function.
7162         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7163         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7164         mapping table from it if defined.
7165         (argv, envp): Dump if __strace >= 4.
7166         (main): Call here.
7167         * libc/sys/win32/exceptions.c (myp): Redefine.
7168         (__syscalls_b): Delete.
7169         (__stack_trace): New function.
7170         (ehandler3): Update to use _STRACE.  Print stack trace.
7171         Call __really_exit instead of exit.
7172         (init_exceptions): Delete args argc,argv.  New arg mine.
7173         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7174         FindFirstFileA, FindNextFileA, GetComputerNameA,
7175         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7176         * libc/sys/win32/signal.c (signal): Validate arg.
7177         (alarm, sleep): Define as stubs for now.
7178         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7179         (__syscalls_b, errno): Delete.
7180         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7181         (__seterrno): Handle more errors.
7182         (__sys_printf): Renamed from _ptrace.
7183         (__really_exit): New function.
7184         (queue_file_deletion, process_deletion_queue): New functions.
7185         (__resume_parent): New function.
7186         (_unlink): Handle trying to delete open file.
7187         (__totime_t): Renamed from totime_t.
7188         (setsid, __read, __write): New functions.
7189         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7190         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7191         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7192         * libc/sys/win32/console.c: Update to new definition of __hmap.
7193         * libc/sys/win32/Makefile.in: Build new files.
7194         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7195         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7196         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7197         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7198
7199 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7200
7201         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7202
7203 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7204
7205         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7206         have been made to the master dtoa.c sources (from netlib.att.com)
7207         since they were integrated into newlib in early 1992.  Fixes
7208         problems with storage leaks and handling of numbers with very
7209         negative exponents.
7210         
7211 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7212
7213         * Makefile.in (all): set rootpre and srcrootpre before calling
7214         sub-makes.
7215
7216 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7217
7218         * libc/sys/win32/crt0.c: Change __hmap usage.
7219         * libc/sys/win32/exceptions.c: Use _ptrace call.
7220         * libc/sys/win32/syscalls.c: Use _ptrace call.
7221         (read, write): Cope with DOS style CRLF when in TEXT mode.
7222         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7223         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7224         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7225         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7226         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7227
7228 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7229
7230         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7231
7232         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7233         wrappers for hypot() and remainder() for BSD libm compatibility.
7234         These are public domain implementations written by me for the
7235         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7236         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7237         (fobj): Added wf_cabs.o and wf_drem.o.
7238
7239 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7240
7241         * libc/sys/h8500hms/misc.c: New file.
7242         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7243
7244 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7245
7246         * libc/time/localtime.c (localtime): Fix problem with leap year
7247         handling.  Stole algorithm from Arthur David Olson's tz code.
7248         
7249 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
7250
7251         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7252
7253         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7254         (_exit): Use argument.
7255
7256 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
7257
7258         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7259
7260 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7261
7262         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7263
7264 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7265
7266         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7267         target_cflags.
7268
7269 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
7270
7271         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
7272         ptrace with case insensitivity
7273         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7274         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7275         New files.
7276
7277 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
7278
7279         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7280         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7281         (all, install, *clean): Use new multilib support.
7282         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7283
7284 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
7285
7286         * libc/include/sys/signal.h (__WIN32__): New.
7287
7288         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7289
7290         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7291         (ulp, b2d): Handle 32 bit doubles.
7292         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
7293         * libc/stdlib/strtod.c (_strtod_r): Ditto.
7294
7295 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
7296
7297         from medp@primag.co.uk:
7298         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7299         dynamically allocated buffers.
7300
7301 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
7302
7303         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
7304         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
7305
7306 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7307
7308         * configure.in (powerpc): Fix previous fix.
7309
7310 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7311
7312         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7313         directories for this target.
7314
7315 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
7316
7317         * configure.in (hppa): Add machine_dir definition.
7318         * libc/machine/hppa: New directory with PA specific implementations
7319         of the basic memory/string functions.
7320
7321 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7322
7323         * configure.in: Update current PowerPC multilib directories.
7324         Split big and little endian configurations.
7325
7326 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
7327
7328         * configure.in: Add --enable-single-float option to configure to
7329         control use of MIPS single-float directories.  Default to yes.
7330
7331         * Makefile.in (all): Don't recurse into multilib directory if it
7332         does not exist.
7333
7334 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7335
7336         * libc/sys/sh/syscalls.c: Fix typo.
7337
7338 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7339
7340         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7341         Pass down DLLTOOL.
7342         * libc/include/process.h: Define WAIT_CHILD.
7343         * libc/include/types.h: Get sizes right for win32.
7344         * configure.in (i386-*-pe): Becomes i386-win32.
7345         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7346         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7347         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7348         is defined.
7349
7350 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7351
7352         * configure.in (i[345]86-*-pe):  New target (NT).
7353         * host/any: DLLTOOL new.
7354         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7355         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7356         WIN32 (just enough to cross host the comp-tools).
7357
7358 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
7359
7360         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7361         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
7362
7363 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
7364
7365         * libc/include/machine/ieeefp.h (arm): Change to always be
7366         __IEEE_BIG_ENDIAN (even on little endian ARM's).
7367
7368 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7369
7370         * libc/sys/crt0.S: Initialze sp, and call exit after main.
7371         * libc/sys/syscalls.c (abort): New.
7372         * configure.in (arm): Define ABORT_PROVIDED.
7373
7374 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7375
7376         * configure.in (powerpc): Define multidirs.
7377
7378 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
7379
7380         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7381
7382 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
7383
7384         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
7385
7386 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7387
7388         * configure.in, libc/include/machine/ieeefp.h: Modified
7389         for arm:
7390         libc/machine/arm/*, libc/sys/arm/*: New
7391
7392 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7393
7394         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7395           __powerpc__ when determining endianness.
7396
7397 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7398
7399         * configure.in (m68*): Add multidir for the m68332.
7400
7401         * host/any (CC): Fix typo in last change.
7402
7403 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
7404
7405         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7406         when determining endianness.
7407         * libc/include/machine/ieeefp.h: Ditto.
7408         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7409         operands.
7410
7411 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
7412
7413         * libc/include/errno.h (ENOTEMPTY): Define.
7414
7415 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7416
7417         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7418           target_cflags.
7419
7420         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7421           and umultiply.o.
7422
7423         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7424           instead of only when open succeeds.  ANSI requires that multiple
7425           calls to tmpnam() result in different files.
7426
7427         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7428           objects pulled in from /lib/libc.a that must be renamed before
7429           being pulled into newlib.  /lib/libc.a's div.o conflicted with
7430           newlib's file with the same name.
7431
7432         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7433
7434         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7435           the build tree will only be used if the executables are present
7436           (instead of just the Makefiles).
7437
7438         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7439           wcstombs): Define.
7440         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7441           versions of these functions that I orignally wrote for the
7442           NetBSD C library.
7443         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7444           versions I wrote for NetBSD.
7445
7446 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
7447
7448         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7449         * libc/sys/sparclite/crt0.s: ditto.
7450
7451 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
7452
7453         * configure.in: Add soft-float for proelf.
7454
7455 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
7456
7457         * libc/stdlib/mprec.h (Bcopy): Copy the right number
7458         of bytes.
7459
7460 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
7461
7462         * Makefile.in (all): Depend on `force'.
7463         * configure.in (syscall_dir): Renamed from fake_sys_dir.
7464         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7465         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7466         * libc/Makefile.in: Likewise.
7467         * libc/include/reent.h: Update syscall references.
7468         (_fcntl_r): Add prototype.
7469         * libc/syscalls/*.c #include <reent.h>.
7470         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7471
7472 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
7473
7474         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7475         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7476         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7477         (time.h, sys/types.h): Always include (even if MSDOS).
7478         (stat): Fix prototype.
7479
7480 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
7481
7482         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7483
7484 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7485
7486         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7487
7488 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
7489
7490         * libc/include/regdef.h: New file.
7491         * libc/machine/mips/machine/regdef.h: New file.
7492
7493 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
7494
7495         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7496
7497 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
7498
7499         * libc/sys/sh/crt0.S: Pass main's return to exit.
7500         * libc/sys/sh/trap.S: Put errno in the right place.
7501
7502 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7503
7504         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7505         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7506         * libm/math/ef_rem_pio2.c: Likewise.
7507         * libm/math/e_log10.c: Remove unused static one.
7508         * libm/math/ef_log10.c: Likewise.
7509         * libm/math/s_frexp.c: Likewise.
7510         * libm/math/sf_frexp.c: Likewise.
7511
7512 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
7513
7514         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7515         longjmp.S: Upgraded.
7516         * libc/sys/go32/sys/setjmp.h: Upgraded.
7517         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7518
7519 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7520
7521         * configure.in: Add many entries to multidirs for mips targets.
7522
7523 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7524
7525         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7526           5.2 which fixes bug where jn(-1,x) is three times larger than
7527           the actual answer.
7528         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7529
7530 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
7531
7532         * libc/sys/w65/sys/syscalls.h: New file
7533         * libc/include/machine/ieeefp.h: W65 support.
7534         * libc/include/sys/config.h: Ditto.
7535         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7536         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7537         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7538
7539 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7540
7541         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7542
7543 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
7544
7545         * Makefile.in, configure.in: Remove any references to the old
7546         "stub" dir.
7547
7548 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7549
7550         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7551         uses ... in prototype.
7552
7553
7554 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
7555
7556         * libc/sys/a29khif/sys/libconfig.h: Remove.
7557         * libc/sys/go32/sys/libconfig.h: Remove.
7558         * libc/sys/sun4/sys/libconfig.h: Remove.
7559         * libc/sys/sysvi386/sys/libconfig.h: Remove.
7560         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7561         * libc/sys/sparc64/sys/libconfig.h: Remove.
7562
7563         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7564         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7565         * libc/include/math.h: Change all uses of _FLOAT_RET and
7566         _FLOAT_ARG to float.
7567         * libm/test/math.c: Likewise.
7568         * testsuite/libm.sac/math.c: Likewise.
7569         * testsuite/libm.sac/working/math.c: Likewise.
7570
7571 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7572
7573         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7574         gcc calls gas with endian option.
7575         * configure.in (sh): Build little endian version too.
7576
7577 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7578
7579         * configure.in: Configure big and little endian versions for MIPS
7580         targets.
7581
7582 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
7583
7584         * libc/include/limits.h: Deleted.
7585         * libc/include/machine/limits.h: Deleted.
7586
7587 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
7588
7589         * ChangeLog: Remove stub directory. This has all been rewritten
7590         and moved to devo/libgloss.
7591
7592 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7593
7594         * Makefile.in (dvi): Add to info target, use $@ in sub make.
7595         (docs): Merge into info target.
7596         * libm/Makefile.in (dvi): Add $(srcdir).
7597         * libm/math/Makefile.in (chobjs): Remove underscores from file
7598         names.  Texinfo doesn't like them.
7599         (wacos.def, ...): Add explicit targets for all .def files.
7600         * libm/math/math.tex: Remove underscores from @include file names.
7601         * doc/Makefile.in (dvi): Add dummy target.
7602         * testsuite/Makefile.in (dvi): Add dummy target.
7603
7604 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
7605
7606         * Makefile.in (VERSION): Define.  For net newlib releases.
7607
7608 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
7609
7610         * README: New file.
7611
7612 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7613
7614         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7615
7616 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7617
7618         * libc/stdlib/setenv.c (_findenv): Declare.
7619
7620         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7621         fcntl to not use _EXFUN, and change string parameters to open and
7622         creat to be ``const char *''.
7623         * libc/sys/sparc64/sys/fcntl.h: Likewise.
7624         * libc/sys/sparc64/creat.c (creat): Make PATH const.
7625         * libc/syscalls/sysopen.c: Include <fcntl.h>.
7626         (open) Make _FILE const.
7627         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7628         (_creat): Make PATH const.
7629         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7630         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7631         * libc/sys/m88kbug/syscalls.c (open): Likewise.
7632         * libc/sys/sh/syscalls.c (_open): Likewise.
7633         * stub/shared/glue.c (open): Make BUF const.
7634         * stub/ex93x/syscalls.c (open): Make FILENAME const.
7635
7636 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7637
7638         * libc/include/errno.h: Add ENMFILE
7639         * libc/include/sys/config.h: Support Z8000.
7640         * libc/include/sys/signal.h: New signals for go32.
7641         * libc/machine/h8500/psi.S (__addpsir0r0): New function
7642         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7643         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7644         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7645         size is variable, depending upon CHUNK_POWER.
7646         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7647
7648 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7649
7650         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7651
7652 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7653
7654         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7655
7656 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7657
7658         * configure.in: Change i[34]86 to i[345]86.
7659
7660         * libc/include/math.h: Don't define HUGE_VAL if it is already
7661         defined.
7662
7663 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7664
7665         * testsuite/libm.sac/test_erfc.c: Correct some result values.
7666         * testsuite/libm.sac/test_gammaf.c: Likewise.
7667         * testsuite/libm.sac/test_sin.c: Likewise.
7668         * testsuite/libm.sac/test_tanh.c: Likewise.
7669
7670 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7671
7672         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7673         already set.  Define typedefs __int32_t and __uint32_t.
7674         * libc/include/math.h: Include <machine/ieeefp.h>.
7675         (union __dmath): Use __uint32_t.
7676         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7677         instead of int and unsigned int.
7678
7679 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7680
7681         Replace the math library with the SunPRO fdlibm package.
7682         * libm/math: Completely changed all files.
7683         * libm/ieeefp: Remove contents and directory.
7684         * libm/Makefile.in (LIBM_FP_LIB): Remove.
7685         (SUBDIRS): Just set to math/lib.a.
7686         * libm/libm.texinfo: Updated for new library.
7687         * libc/include/math.h: Extensive changes for new math library.
7688         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7689         from _FLOAT_ARG to float.
7690         (maxpowtwo, maxpowtwof): Don't declare.
7691         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7692         (libm_fp_lib): Removed.
7693         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7694         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7695         argument to ${RUNTEST}.
7696         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7697         (.c.o): New rule.
7698         (RUNTESTFLAGS): Set CC and CFLAGS.
7699         (TESTS): Remove test_log2 and test_log2f.
7700         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7701         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7702         _FLOAT_ARG, for single precision argument type.
7703         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7704         expected failure.  Close the input pipe.
7705         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7706         Correct misspelling of inaccurate.
7707         (test_mok): Use ``inaccurate'', not ``wrong''.
7708         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7709         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7710         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7711         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7712         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7713         test_yn.c): Correct many result values.  Many are still wrong.
7714
7715         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7716         just copy the string.
7717         (_gcvt): Always return the buffer.
7718
7719 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
7720
7721         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7722
7723 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
7724
7725         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7726         structure.
7727         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7728         (_reclaim_reent): declare new entry point.
7729         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7730         functions.
7731
7732         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7733         ever allocated, so that we can later reclaim them all.
7734         (pow5mult): make reentrant.
7735
7736         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7737         so that when given NULL as a buffer, return a pointer to static
7738         space in the rent structure.  This is not documented behaviour;
7739         it's only to support ecvt and fcvt, which aren't ANSI anyway.
7740         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7741         therefore become reentrant).
7742         
7743         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7744
7745 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7746
7747         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7748
7749 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
7750
7751         * Makefile.in: Make link to libg.a after libc.a; this is needed
7752           for the testsuites to build executables when everything comes
7753           from the tree.
7754
7755 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
7756
7757         * libc/Makefile.in: Add a VERSION variable so we can keep track.
7758         * libm/Makefile.in: Add a VERSION variable so we can keep track.
7759
7760 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7761
7762         * libc/include/stdio.h: Use __VALIST, not va_list.
7763
7764 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
7765
7766         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7767         testsuite/libm.sac/execute.exp:
7768           Replace error proc calls with perror calls.
7769
7770 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
7771
7772         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7773         * libc/include/time.h: #define NULL as 0L.
7774
7775 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
7776
7777         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7778         care of it.
7779
7780 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7781
7782         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7783         not __unix__.
7784
7785 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
7786
7787         * configure.in (TARGET_CFLAGS): Set -O2 as default.
7788         (z8k-*-*): Use syscalls fake sys dir.
7789         * libc/sys/z8k/glue.c: Rename syscalls.
7790         * libc/sys/go32/Makefile.in: Use new routines.
7791         * libc/machine/Makefile.in: Fix typo in ln stuff.
7792
7793 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7794
7795         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7796         * libc/Makefile.in (crt0.o): Likewise.
7797         * libc/machine/Makefile.in (lib.a): Likewise.
7798         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7799
7800         All Makefile.in files: Added mostlyclean, realclean and distclean
7801         targets.
7802
7803         * Makefile.in: Don't bother to unexport XTRAFLAGS or
7804         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7805         the top level Makefile.
7806
7807 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
7808
7809         * libc/sys/sparc64/sys/stat.h: New file.
7810         * libc/sys/sparc64/sys/time.h: New file.
7811         * libc/sys/sparc64/sys/types.h: New file.
7812
7813 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
7814
7815         * stub/ex93x/crt0.s (start): Add code to clear bss.
7816
7817 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
7818
7819         * libc/include/sys/types.h (time_t): Properly protect inside
7820         #ifndef __time_t_defined.
7821
7822         * libc/stdio/fileno.c: New file.
7823         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7824         (fileno.o): Add dependency.
7825         * libc/include/stdio.h (__sgetc): Rename never to _never.
7826         (fileno macro): Disable, needs to do CHECK_INIT first.
7827
7828 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
7829
7830         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7831         goal.
7832
7833         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7834         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7835         runtest.
7836         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7837         runtest.
7838
7839 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
7840
7841         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7842         of the various constants.
7843
7844 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
7845
7846         * libc/include/math.h: #ifndef __math_68881 around things which
7847         conflict with the (gcc-provided) inline functions in
7848         gcc/ginclude/math-68881.h.
7849
7850 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
7851
7852         * libc/include/_syslist.h (_gettimeofday): Define.
7853         (_times): Ditto.
7854         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7855         (struct tms, timeval, timezone): Declare.
7856         (_gettimeofday_r, _times_r): Declare.
7857         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
7858         #ifdef _CLOCK_T_ surrounding definition of clock_t.
7859         (time_t): Add multiple definition protection, __time_t_defined.
7860         * libc/include/sys/time.h: Don't #include <time.h>.
7861         Always define struct timezone (remove #ifndef _TIME_H_).
7862         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
7863         #ifdef _CLOCK_T_ surrounding definition of clock_t.
7864         * libc/reent/Makefile.in (OFILES): Add timer.o.
7865         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
7866         * libc/reent/timer.c: New file.
7867         * libc/time/clock.c: #include <reent.h>.
7868         (clock): Call _times_r instead of times.
7869         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7870         HAVE_GET_TIME_OF_DAY.
7871         Add comment regarding supporting OS routine(s) required (for docs).
7872         #include <reent.h>.
7873         (time): Call _gettimeofday_r instead of gettimeofday.
7874         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7875         * libc/time/ctime.c: Ditto.
7876         * libc/time/strftime.c: Ditto.
7877         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7878         (TEMPLATE_SFILES_R): Define here.  Also define times.
7879         Add times_r.o/times.S dependence.
7880         (time2.c, junk.c): Deleted.
7881         * libc/sys/sparc64/time2.c: Deleted.
7882         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7883
7884         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7885         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7886         * libc/sys/sparc64/junk.c: Deleted.
7887
7888 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
7889
7890         * libc/sys/sparc64/Makefile.in: Add times syscall.
7891         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7892         be used with and without it.  Add comment clarifying Medium/Anywhere
7893         model requirements.
7894         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7895         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7896         even if obsolete.
7897
7898 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
7899
7900         * configure.in (target_cflags): Move init.
7901         (sparc64-*-*): Define HAVE_BLKSIZE.
7902
7903 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
7904
7905         * libc/include/sys/_types.h: New file.
7906         * libc/include/reent.h: #include it.
7907         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
7908         MISSING_SYSCALL_NAMES.
7909         Sort syscalls.
7910         * libc/include/_syslist.h: Remove _raise.
7911         * libc/reent/signalr.c: New file.
7912         * libc/reent/Makefile.in: Compile it.
7913         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
7914         Add doc for raise and _raise_r.
7915         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
7916         (raise): Call _raise_r.
7917         (_raise_r): Call _getpid_r and _kill_r.
7918         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
7919         (abort): Loop forever calling raise and _exit.
7920
7921 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7922
7923         * configure.in: Remove extraneous echo.
7924
7925 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
7926
7927         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
7928         collision with unistd.h, and fix for svr4.
7929
7930 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
7931
7932         * libc/stdio/local.h (_llicvt): Declare.
7933         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
7934         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7935         (_llicvt): Define.
7936         (_sicvt): Fix function header (`value' is short).
7937         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7938         Add printing of long long's support.
7939         Add printing of 8 byte pointer support.
7940
7941 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
7942
7943         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7944         stat, chmod): New hooks. 
7945         (sbrk): Abort if stack and heap collide.
7946         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7947         shortcut when given small args.
7948         * libc/machine/sh/setjmp.s: Rewritten.
7949         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
7950         of cmp/str instruction.
7951
7952 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7953
7954         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
7955         and machine_dir powerpc.
7956         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
7957         Add cases for __powerpc__.
7958         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
7959         New files.
7960
7961         * libc/include/stdio.h (_iprintf_r): Declare correctly.
7962
7963 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
7964
7965         * libc/stdlib/callocr.c: New file with _calloc_r in it.
7966         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
7967
7968 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
7969
7970         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
7971         (print_e): More comments to describe args, etc.
7972         "type" arg may now be 'g' or 'G' for %g/G format --> remove
7973         trailing blanks.
7974         (_gcvt): Remove locals decpt, sign, end, p, done.
7975         More comments for print_e invocation.
7976         Pass "type" to print_e as is (g/G).
7977
7978 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
7979
7980         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
7981         stock m68000. 
7982
7983 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
7984
7985         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
7986         works with any sized pointer, including ones bigger than ints and
7987         longs.
7988
7989 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
7990
7991         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
7992
7993 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7994
7995         * libc/include/stdlib.h (_calloc_r): Add prototype.
7996         * libc/machine/h8500/negsi2.c: New file.
7997         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
7998         large unsigned numbers.
7999         * libc/machine/h8500/cmpsi.c: Add cmppsi.
8000         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8001         works when sizeof(size_t) != sizeof(char *).
8002         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8003         get play area
8004         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8005
8006 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
8007
8008         * libc/include/assert.h (assert): Handle -traditional.
8009
8010 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
8011
8012         * Makefile.in: added ; after every "fi" and "done" that wasn't at
8013         the end of a line (ie. anything before a backslash continuation)
8014         so that bash handles them.
8015
8016 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8017
8018         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8019         stat to lstat
8020
8021 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
8022
8023         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8024         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8025         libc/machine/sh/udivsi3.s: Use new calling convention.
8026
8027 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
8028
8029         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8030         chmod, access, chdir, chown by making _path const. Also fix _amode
8031         param of access.
8032
8033 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
8034
8035         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8036         _khif_tmpnam, because it doesn't comply with ANSI but may be
8037         useful anyway. Real tmpnam was already in libc/stdio, and was
8038         colliding with this one (pr 2176.) 
8039         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8040         the wrong idea anyhow.
8041
8042 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8043
8044         * configure.in: Remove h8300h, we have multilib now.
8045
8046 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
8047
8048         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8049         functions, to get preference over the ones in libiberty (since we
8050         provide correct declarations in <string.h>.
8051         * libc/string/Makefile.in: add support for strncasecmp,
8052         strcasecmp.
8053
8054 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
8055
8056         * Change netware config not to look for cpu explicitly.
8057
8058 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8059
8060         * libc/sys/sparc64/{creat.c,junk.c}: New files.
8061         * libc/sys/sparc64/Makefile.in: Add dependencies.
8062
8063 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
8064
8065         * configure.in: Clean up v9 a bit, new "os" aoutv8.
8066
8067 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
8068
8069         * libc/include/sys/reent.h: make structure smaller by allocating
8070         some stuff when needed.
8071         * libc/signal/signal.c: allocate as needed
8072         * libc/stdio/findfp.c,stdio/local.h: ditto
8073         * libc/stdlib/mprec.c: ditto
8074
8075         * libc/time/localtime.c: don't return a dangling stack ptr.
8076
8077 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8078
8079         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8080
8081 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8082
8083         * libc/include/stdio.h (__sputc): comment out static inline which
8084           confuses coff toolchains.
8085
8086 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
8087
8088         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8089         _write.s, getpid.c, kill.c, read.s}:
8090         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8091         through the syscalls directory.
8092
8093 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8094
8095         * configure.in: fixed double quote gotcha.
8096
8097 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
8098
8099         * stub/ex931: stub library for sparclite board.
8100         * stub/idp: Renamed from mc68ec. Added contructor table
8101         stuff to linker script.
8102         * stub/mvme135: Renamed from m68kmvme. Added contructor table
8103         stuff to linker script.
8104
8105 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8106
8107         * configure.in: Configure testsuites only if they exist.
8108
8109 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8110
8111         * configure.in: Don't set machine_dir for i386 until there is
8112         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
8113         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8114         CLOCK_PROVIDED and MALLOC_PROVIDED.
8115
8116         * libc/sys/netware: New directory.  Contains simplistic and
8117         probably incorrect stubs for NetWare.  Should be enough to load
8118         the library.
8119         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8120         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8121         stub files.
8122
8123         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8124         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8125         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8126         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8127
8128 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8129
8130         * testsuite/Makefile.in: add "docs" dummy target for consistency
8131         with rest of newlib; turn "info" and "install-info" into dummy
8132         targets, since they wouldn't have worked.  (Depended on
8133         nonexistent "doc" subdir.)
8134
8135 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8136
8137         * configure.in: handle mips* instead of mips
8138
8139 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8140
8141         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8142         a version of libc/sys/*/sys/dirent.h, it includes the next
8143         <dirent.h> file in case there is one lurking somewhere.
8144
8145 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8146
8147         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8148         compliance, namely: Accept a minus sign.  Consider a single 0 with
8149         a radix of 0 as being a conversion.  Determine overflow correctly.
8150         If an overflow occurs, set *ptr to the end of the number, not the
8151         middle.
8152         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8153
8154 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8155
8156         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8157
8158 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8159
8160         * Makefile.in (INSTALL): Use $srcrootpre.
8161         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8162         can't handle it.
8163         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8164         it.
8165         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8166         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8167         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8168         * libm/math/Makefile.in (matherr.o): Ditto.
8169
8170 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8171
8172         * configure.in: Build multidirs for z8k.
8173         * libc/include/stdlib.h (_strtoul_r): add prototype.
8174         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8175         * libc/include/machine/setjmp.h: Add for z8k.
8176         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8177         * libc/sys/z8ksim/glue.c: tidy up.
8178
8179 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8180
8181         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8182         New files.  Requires execve system call.
8183         * libc/unix/Makefile.in: Use them.
8184         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8185         Deleted, moved to libc/unix.
8186         * libc/sys/sparc64/Makefile.in: Remove them.
8187
8188 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8189
8190         * libc/sys/sparc64/{template.S template_r.S}: New files.
8191         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8192         from templates.
8193         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8194         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8195         umask.S unlink.S wait4.S write.S}: Removed, now built from
8196         templates.
8197
8198 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8199
8200         * libc/time/time.c: #include <_ansi.h>.
8201
8202 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8203
8204         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8205
8206 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8207
8208         * configure.in: match m8* rather than m88k so that m88110 is
8209           recognized as well.
8210
8211 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8212
8213         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8214         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8215         misc.c: New file.
8216
8217         * configure.in: Add multilib support to h8300.
8218
8219 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8220
8221         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8222         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8223         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8224
8225 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8226
8227         * configure.in: Corrected multidirs for sparc target.
8228
8229 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8230
8231         Support for building newlib multiple times with different
8232         compilation flags.
8233         * configure.in: Only configure doc at top level.  Set multidirs
8234         when appropriate for target, unless not at top level.  If
8235         multidirs is set, independently configure each subdirectory.
8236         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8237         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8238         automagically set by configure.in.
8239         (all): If MULTIDIRS is set, build multiple copies of libraries.
8240         (install): If MULTIDIRS is set, install multiple copies of
8241         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8242         MULTISUBDIR is set, don't bother to install header files.
8243         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8244         ${srcrootpre}.
8245         * stub/configure.in: Set MULTISUBDIR appropriately.
8246         * stub/Makefile.in (install): Install in
8247         $(tooldir)/lib/$(MULTISUBDIR).
8248         * All Makefile.in files: Define SRCTOP as well as TOP.
8249
8250 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
8251
8252         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8253         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8254
8255 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8256
8257         * libc/sys/h8300hms/exit.c (_exit): New function.
8258
8259 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8260
8261         * configure.in: recognize m88110.
8262
8263 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8264
8265         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8266           prototype main and call with args.
8267
8268 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
8269
8270         First real try at system traps for m88k-bug.
8271         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
8272           to real trap calls.
8273         * libc/sys/m88kbug/sys/systraps.h: new file.
8274
8275 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8276
8277         Patches to fix info building when target does not use sys
8278         directory.
8279         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8280         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8281           libc/sys.tex.
8282         * libc/sys/Makefile.in (doc): do nothing.
8283
8284 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8285
8286         * libc/Makefile.in (CRT0): new macro.
8287           (all): depend on $(CRT0) rather than crt0.o.
8288
8289         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8290           do not default crt0, instead, set crt0 and crt0_dir based on
8291           sys_dir and stub_dir.
8292
8293         * Makefile.in (CRT0_DIR): new macro.
8294           (all): depend on $(CRT0) rather than crt0.o which may not exist.
8295           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8296           $(CRT0).
8297           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8298
8299 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8300
8301         * testsuite/lib/libm.exp: 
8302                 added code to support compiling and linking of tests for 
8303                 libm.sac (paranoia to be added next) and processing the 
8304                 pass or failure of the tests.
8305
8306         * testsuite/config/unix-libm.exp:
8307                 platform specific proc's for dealing with compiler, linker
8308                 and the way we execute and process the test results.
8309
8310         * testsuite/libm.sac/execute.exp:
8311                 generic framework for the sac tests. the config and lib 
8312                 expect code for specific platforms tie it all together.
8313
8314         * testsuite/libm.sac/test_is.c:
8315                 changed the output of the test to be consistant with the
8316                 other tests. parsing of pass nad fail messages is now fixed.
8317
8318 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
8319
8320         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8321         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8322         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8323         #ifdef __cplusplus, surround by extern ""C { ... }.
8324         * libc/include/assert.h:  Do *not* protect assert.h against
8325         multiple inclusion!  Also, #undef it before #define, to allow
8326         redefinition.
8327         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
8328         should be only in unistd.h.
8329
8330         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8331         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8332         ... }.
8333
8334 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
8335
8336         * libc/machine/sparc/Makefile.in: Must create a library, even
8337         if empty.
8338
8339 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8340
8341         * configure.in: set machine_dir for m88k.  edit crt0 definition
8342           into makefiles.
8343
8344         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8345
8346         * libc/Makefile.in (all): also build crt0.o.
8347
8348         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8349           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8350           to remove CRT0.
8351
8352         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8353           (all): reworked to build in place.
8354           (clean): remove lib.a
8355           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8356
8357         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8358           (_start): key off edata rather than _start_bss.
8359
8360 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
8361
8362         * libc/include/sys/unistd.h, libc/include/reent.h,
8363         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8364
8365 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8366
8367         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8368
8369         * Makefile.in (libc.a): break into two rules, one for libc.a and
8370           one for libc/libc.a.  Force subdirs current before rebuilding
8371           library.
8372           (libm.a): break into two rules, one for libm.a and one for
8373           libm/libm.a.  Force subdirs current before rebuilding library.
8374
8375         * libc/Makefile.in (SUBLIBS): fix typo.
8376
8377         * libc/sys/Makefile.in (all): force descent into subdirs, then
8378           rebuild library iff out of of date.
8379
8380 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8381
8382         Rework so that library is built and then finished rather than
8383         being built on each invocation of make.
8384
8385         * host/any (machine_dir, sys_dir, signal_dir): these are not
8386           shared and have been moved to their associated Makefile.in's.
8387           (AR_FLAGS): switch to qc which is faster.
8388         * configure.in: no longer assign machine_dir for m88k.  set
8389           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
8390           stub_dir set, then add to configdirs.  add comment about silly
8391           configuration.
8392           (configdirs): drop stub.  It will be added only
8393           when needed.
8394           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8395           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8396           stub_lib, crt0): new variables for tailoring lower level
8397           makefiles.  Assign accordingly and edit into makefiles.
8398         * libm/Makefile.in: updated copyright.
8399           (TARGETLIB): removed.
8400           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8401           (SUBDIRS): removed TARGETDEP_DIRS.
8402           (LIBM_FP_LIB, SUBLIBS): new macros.
8403           (all): reworked.
8404           (force): new target to force rebuilds.
8405           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8406         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8407           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8408           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8409           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8410           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8411           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8412           stub/m68kmvme/Makefile.in: updated copyright.
8413           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8414           (all): reworked.  made this the default rule.
8415           (clean): also remove lib.a.
8416           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8417         * stub/Makefile.in: updated copyright.
8418           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8419           (stub_lib): new macro.
8420           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
8421           RANLIB.
8422           (all): reworked.
8423           (clean, install): assume stub_dir exists.
8424           (Makefile): depend on configure.in.  call $(SHELL) rather than
8425           sh.  drop redundant ./
8426         * stub/configure.in (stublib): new macro, assign it, edit it into
8427           makefiles.
8428         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8429           updated copyright.
8430           (all): reworked.
8431           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8432         * libc/Makefile.in (TARGETCRT0): removed.
8433           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8434           TARGETCRT0.
8435           (SUBDIRS): drop TARGETDEP_DIRS.
8436           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8437           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8438           (force): new target to force rebuilds.
8439         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8440           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8441           removed.
8442           (clean): assume sys_dir always exists.
8443         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8444           drop redundant ./
8445         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8446           libc/locale/Makefile.in, libc/machine/Makefile.in,
8447           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8448           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8449           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8450           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8451           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8452           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8453           libc/signal/Makefile.in, libc/stdio/Makefile.in,
8454           libc/stdlib/Makefile.in, libc/string/Makefile.in,
8455           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8456           libc/time/Makefile.in, libc/unix/Makefile.in,
8457           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8458           (TARGETLIB): removed.
8459           (all): reworked.
8460           (clean): also remove lib.a.
8461           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8462         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8463           new macros.
8464           (SUBDIRS): moved to follow frag inclusion, change stub to
8465           stub_dir.
8466           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8467           are now set in the libc Makefile.
8468         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8469           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8470           TARGETCRT0.
8471           (force): new target to force rebuilds.
8472         * stub/configure.in: determine and set stub_lib for for Makefile.
8473
8474 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
8475
8476         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8477         crt0.s renamed to crt0.S.
8478         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8479
8480         * libc/machine/h8300/Makefile.in: Make `all' the default target.
8481         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8482         h8300h.
8483         * libc/machine/h8300/defines.h: Add macros to handle pointers for
8484         h8300 (16 bits) and h8300h (32 bits).
8485         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8486         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8487
8488 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
8489
8490         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8491         implementation of setjmp and longjmp for the m88k.
8492         * libc/include/machine/setjmp.h: Added __m88000__ case.
8493
8494 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
8495
8496         * configure.in: Recognize h8300h as variant of h8300.
8497
8498 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8499
8500         * libc/include/sys/unistd.h (read, write): get prototypes right.
8501         (sbrk): New prototype.
8502         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8503         * libc/stdio/local.h: Include unistd.h.
8504         * libc/machine/h8300/syscalls.c: Names have changed.
8505
8506 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
8507
8508         * configure.in: add sys_dir assignment for m88k-bug.
8509
8510 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8511
8512         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8513         a.out or elf.
8514         * libc/sys/sparc64: all *.S files: Use new macros.
8515         * libc/sys/sparc64/isatty.c: New file.
8516         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8517         functions beyond what newlib provides.
8518
8519 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
8520
8521         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8522         svr4.
8523
8524 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8525
8526         * libc/include/machine/ieeefp.h: Add support for h8/300h.
8527
8528 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
8529
8530         * configure.in: add m88k.
8531         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
8532         sanity check so no one else need ever chase what I did to find
8533         this.
8534
8535         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8536
8537 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8538
8539         * doc/makedoc.c: Include <ctype.h>.
8540
8541 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8542
8543         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8544         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8545         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8546
8547         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8548
8549 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
8550
8551         * libc/include/errno.h (ENOSYS): Added.
8552
8553         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8554
8555 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8556
8557         * libc/stdio/fflush.c (fflush): Check for reent struct
8558         initialization.
8559         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8560
8561 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
8562
8563         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8564         out of dtoa.c so it doesn't pollute the namespace.
8565         * libc/include/_syslist.h: new file -- mappings from _function to
8566         function, for systems where we can't win (by default, all of them,
8567         until we start updating system calls.)
8568         * libc/syscalls: new directory -- stubs for exporting _function
8569         names as unmodified function names.
8570         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8571         _syslist.h on all platforms by default, but put hooks in for
8572         fake_sys_dir so we can include it when we've renamed the system
8573         calls.
8574         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8575         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8576         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8577         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8578         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8579         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8580         non ANSI functions to call _function.
8581
8582 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8583
8584         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8585         when base 16 is specified.  Don't accept non-digits if radix > 10.
8586
8587 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
8588
8589         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8590
8591 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
8592
8593         * libc/include/sys/stat.h: Surround text after #endif with
8594         comments.
8595
8596 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8597
8598         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8599         _malloc_r, _realloc_r, and free_r call the corresponding
8600         non-reentrant functions.
8601
8602         * libm/math/modf.c (modf): We now take the address of ipart, so
8603         don't make it a register variable.
8604
8605 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
8606
8607         * libm/math/*: Rename all xxx_r fns to _xxx_r.
8608
8609 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
8610
8611         * libc/libc.texinfo and embedded docn throughout: formatting
8612         improvements, minor rephrasing for clarity, and improved
8613         reentrancy docn.
8614
8615 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8616
8617         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8618
8619         * libc/stdio/cvt.c (_licvt): Print the right value on machines
8620         where sizeof(int) != sizeof(long).
8621
8622 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8623
8624         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8625         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8626         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8627         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8628         libm/math/matherr.c: changes for better docn formatting (info).
8629
8630         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8631         libc/reent/reent.tex, libc/signal/signal.tex,
8632         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8633         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8634         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8635         makeinfo node defaulting to get better Info file node structure.
8636         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8637         Also include a few formerly missing sections (subroutines).
8638
8639         * doc/doc.str: delete fossil expansion for "func"
8640
8641         * default.menu, no-signal.menu: delete.
8642
8643         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8644         method used to adjust doc for missing "signals" chapter when 
8645         signal_dir is empty.
8646
8647 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8648
8649         * configure.in: added testsuite/libm.sac
8650
8651 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
8652
8653         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8654         code model).
8655
8656 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8657
8658         * libm/Makefile.in: Use $(MAKE) rather than make, and define
8659         MAKEOVERRIDES to be empty.
8660
8661 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
8662
8663         * configure.in: Don't build mips-*-* with -msoft-float, since that
8664         makes it incompatible with hard floating point.
8665
8666 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8667
8668         * Makefile.in: added recursive 'make check'
8669
8670 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8671
8672         * configure.in: added ./testsuite ./testsuite/libm.paranoia
8673         * ./testsuite/Makefile.in: created
8674         * ./testsuite/libm.paranoia: paranoia tests added
8675
8676 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8677
8678         * configure.in: For mips-*-* set machine_dir to mips.
8679
8680         * libc/machine/mips: New directory.
8681         * libc/machine/mips/Makefile.in: New file.
8682         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8683         setjmp and longjmp.
8684         * libc/include/machine/setjmp.h: Added __mips__ case.
8685
8686         * libc/machine/lmips: Removed unused and useless directory.
8687
8688 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
8689
8690         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8691
8692 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
8693
8694         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8695         start up).
8696
8697 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8698
8699         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8700         SETJMP_H.
8701
8702 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
8703
8704         * libm/test/convert.c: structure member errno -> errno_val.
8705         Must include <errno.h> to use errno, it's a macro now.
8706         * libm/test/math.c: Ditto.
8707         * libm/test/math2.c: Include errno.h.
8708         * libm/test/string.c: Ditto.
8709         * libm/test/test.h: structure member errno -> errno_val.
8710         Remove extern int errno decl.
8711
8712 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
8713
8714         * libc/stdio/Makefile.in: Added dependencies on local header
8715         files.
8716         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8717         files.
8718
8719 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8720
8721         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8722
8723 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8724
8725         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8726         Initialize _data.
8727
8728         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8729         * libc/stdio/local.h: Add prototype for _licvt.
8730
8731         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8732         instead of malloc,reealloc.
8733
8734         * libc/stdlib/local.h: New file.
8735         * libc/stdlib/efgcvt.c: #include local.h.
8736         (gcvt): Fix call to _gcvt.
8737         * libc/stdlib/ecvtbuf.c: #include local.h.
8738
8739         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8740         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8741         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8742
8743         * libc/stdlib/atexit.c: moved global data to struct _reent.
8744         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8745
8746         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8747
8748 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
8749
8750         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8751         here from ../reent.h.
8752
8753 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
8754
8755         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8756         should be provided in both libc.a and libm.a.
8757         (libc.a): Depend on targ-include and libm.a.  Copy
8758         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8759         (libm.a): Depend on targ-include.
8760         * configure.in (subdirs): Removed libc/math.
8761
8762 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8763
8764         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8765
8766 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
8767
8768         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8769         sys/reent.h instead of reent.h.
8770         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8771         headers moved to sys/reent.h.  
8772         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8773         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8774         __need__MAX_SIGNALS defined.
8775         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8776         std{in,out,err} refer to new _std{in,out,err} members.
8777
8778 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8779
8780         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8781         case.
8782
8783 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
8784
8785         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8786         rather than whatever macro seterrno() has.
8787
8788 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
8789
8790         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8791         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8792
8793         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8794         __STDC__.
8795
8796         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8797         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8798         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8799
8800         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8801         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8802
8803         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8804         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8805         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8806         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8807         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8808         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8809         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8810         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
8811         for ANSI.  structure members given leading "_" for ANSI.  Use
8812         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8813
8814         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8815         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8816         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
8817         reent_struct renamed to struct _reent for ANSI.
8818         Structure members given leading "_" for ANSI.
8819         _CONST --> const in prototypes.
8820         Use _HAVE_STDC instead of __STDC__.
8821
8822         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8823         _xxx_r.
8824         struct reent_struct renamed to struct _reent for ANSI.
8825         Structure members given leading "_" for ANSI.
8826
8827         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8828         _xxx_r.
8829         struct reent_struct renamed to struct _reent for ANSI.
8830
8831         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8832         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8833         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8834         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8835         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8836
8837         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8838         signal.h, stdio.h, stdlib.h, string.h, time.h}:
8839         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8840         #ifndef _STRICT_ANSI non-ANSI routines.
8841         Reentrant routines renamed from _r_xxx to _xxx_r.
8842         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8843         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8844         Clean up namespace (structure members have leading "_").
8845         struct reent_struct renamed to struct _reent for ANSI compliance.
8846         _CONST --> const in function prototypes.
8847
8848         * libc/include/string.h: Add NULL and size_t.
8849
8850         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8851         unlink, wait, wait4. Reentrant syscall routines close, fork,
8852         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8853         write.
8854         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8855         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8856         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8857         write.S}: Define reentrant versions.
8858         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8859         reentrant syscalls.
8860
8861         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8862
8863         * libc/include/stdlib.h (RAND_MAX): Fix value.
8864
8865 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
8866
8867         * libc/sys/a29khif/_main.c: Removed unnecessary file.
8868         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8869         VPATH support targets after all: target.
8870
8871         * stub/mvme135/mvme.S: Renamed exceptionhandler to
8872         exceptionHandler, which is what mvme135-stub.c expects.
8873
8874 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
8875
8876         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8877
8878         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8879         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8880         compliant).
8881
8882 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8883
8884         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8885         first.
8886         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8887         _r_write): Ditto.
8888         libc/reent/fstatr.c (_r_fstat): Ditto.
8889         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8890         libc/reent/sbrkr.c (_r_sbrk): Ditto.
8891         libc/reent/statr.c (_r_stat): Ditto.
8892
8893         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8894         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8895         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8896         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8897         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8898         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8899         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8900         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
8901         (__swrite): Ditto for _r_lseek, _r_write.
8902         (__sseek): Ditto for _r_lseek.
8903         (__close): Ditto for _r_close.
8904         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
8905
8906         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
8907         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
8908
8909         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
8910         to make reent_struct the first argument (and thus consistent with
8911         the rest of newlib).
8912
8913         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
8914         reference to __STDC__.
8915
8916 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8917
8918         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
8919         global __cleanup.
8920
8921 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
8922
8923         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
8924         first.
8925         libc/stdio/fclose.c (fclose): Ditto.
8926
8927 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
8928
8929         * Run through indent and rename reentrant routines for ANSI.
8930         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
8931         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
8932         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
8933         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
8934         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
8935         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8936         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8937         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8938         vsprintf.c wbuf.c wsetup.c local.h}
8939
8940         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8941
8942         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8943         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8944         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8945         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8946         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8947         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
8948
8949         * Run through indent.
8950         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
8951         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
8952         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
8953         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
8954         strxfrm.c}
8955
8956         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
8957         localtime.c mktime.c strftime.c time.c}:
8958         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
8959
8960         * Reformatting + renaming (for ANSI, GNU style, consistency).
8961         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
8962         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
8963         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
8964
8965 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
8966
8967         * libc/include/stdio.h (stdin_r): Fix.
8968
8969 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
8970
8971         * Makefile.in: Unexport some variables to keep GNU make from
8972         putting them in the environment and using up needed ARG_MAX space
8973         (a hack is used to let this work with older makes as well).
8974
8975 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
8976
8977         * Makefile.in: Use $(MAKE) rather than make.
8978         (MAKEOVERRIDES): Define to be empty.
8979         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8980         (libc.a, libm.a): Depend on targ-include.
8981         * host/any (LD): Don't define.
8982         (INCLUDES): Use targ-include.   
8983         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
8984         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8985         * libc/Makefile.in: Use $(MAKE) rather than make.
8986         (MAKEOVERRIDES): Define to be empty.
8987         (FLAGS_TO_PASS): Don't pass LD (it's not used).
8988         (all): Rewrote to be slightly smaller.
8989         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
8990         Define to be empty.
8991         (FLAGS_TO_PASS): Don't pass LD (it's not used).
8992         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
8993
8994 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
8995
8996         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
8997         with errno/errno.c.
8998
8999 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
9000
9001         * Changes for reentrancy.
9002         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9003         Use ptr->_errno, not errno.
9004         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9005         libc/stdio/remove.c (remove_r): New function.
9006         libc/stdio/rename.c (rename_r): New function.
9007         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9008         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9009         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9010         reentrant versions of system calls.
9011         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9012         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9013         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9014         libc/stdio/findfp.c: Include <string.h>.
9015         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9016         "local.h".
9017         libc/stdio/wbuf.c: Include "fvwrite.h"
9018
9019         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9020         <string.h>.
9021         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9022         (NULL): Don't define if already defined.
9023         libc/stdlib/system.c: Call reentrant versions of system calls.
9024         (system_r): New function.
9025
9026         * Changes for reentrancy.
9027         libc/include/_ansi.h (_PARAMS): New macro.
9028         libc/include/errno.h: Define errno as a macro that calls __errno.
9029         (__errno_r): New macro for reentrant code.
9030         libc/include/math.h: Include reent.h.  Declare many reentrant
9031         functions.
9032         (signgam): Now a macro, not a variable.
9033         (struct exception): Added err field.
9034         libc/include/reent.h: Don't declare __sglue.  Added function
9035         declarations.
9036         (struct reent_struct): Moved errno to beginning.  Added _signgam.
9037         libc/include/stdio.h, libc/include/stdlib.h: Added function
9038         declarations.
9039
9040         * More reentrancy hacking.
9041         libc/errno/errno.c (__errno): New function.
9042         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9043         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9044         files.
9045         
9046         * Added many new reentrant functions to libm/math/*.
9047         libm/math/error.c (__matherror): Added reent_struct pointer
9048         argument. Changed all callers.
9049         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9050         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9051         libm/math/tan.h: Removed obsolete unused header files.
9052
9053         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9054
9055         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9056
9057 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9058
9059         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9060         delay slots.
9061
9062 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9063
9064         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
9065
9066 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9067
9068         * libc/reent/reent.tex:  New file.  (text from
9069         newlib/libc/libc.texinfo)
9070         * libc/stdio/tmpnam.c:  fixed doc typo
9071         * libc/stdlib/rand.c:   fixed doc typo
9072
9073 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
9074
9075         * libc/reent/reent.tex:  New file.  (text from
9076         newlib/libc/libc.texinfo)
9077
9078 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9079
9080         support for reentrancy
9081         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9082         new files
9083         * libc/errno/errno.c, libc/include/ieeefp.h,
9084         libc/include/locale.h, libc/include/reent.h,
9085         libc/include/signal.h, libc/include/stdio.h,
9086         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9087         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9088         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9089         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9090         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9091         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9092         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9093         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9094         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9095         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9096         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9097         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9098         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9099         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9100         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9101         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9102         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9103         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9104         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9105         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9106         libc/time/strftime.c: modify to provide reentracy.
9107
9108         new routines:
9109         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9110         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9111         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9112         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9113         mstats_r, realloc_r, localeconv_r, setlocale_r
9114
9115 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
9116
9117         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9118         libc/include/sys/config.h, libc/include/sys/signal.h,
9119         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9120         provided macros (such as m68000), use the ansi version
9121         (__m68000__) so that the library can be used with code compiled
9122         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9123         and sparc.
9124
9125 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9126
9127         * configure.in (sparc*): Don't set -fsoft-float for sparc
9128         configurations.  Do set -fsoft-float for sparclite configurations.
9129
9130 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9131
9132         * default.menu, no-signal.menu: alternate forms of libc main menu
9133           (in newlib rather than newlib/libc due to configuration restrictions)
9134
9135         * configure.in: select one of the two menus above, link to
9136         libc.menu
9137
9138         * libc/libc.texinfo: include menu from separate file
9139
9140 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9141
9142         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9143         (info): Split long shell command in half.
9144         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9145         sub-makes, just CHEW and TARGETDOC. 
9146         (targetdep.tex): Removed now special handling of sys and machine
9147         subdirectories, made obsolete some time ago.
9148         * libc/machine/Makefile.in (doc): Don't pass everything to
9149         sub-make, just CHEW and TARGETDOC.
9150         (Makefile): New target.
9151         * libc/sys/Makefile.in (Makefile): New target.
9152
9153 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9154
9155         * Makefile.in (here and most subdirectories): Only pass down CHEW
9156         and TARGETDOC when making info, not for other targets.
9157
9158         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9159         $(AR_FLAGS) rather than $(ARUPDATE).
9160
9161 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9162
9163         * Try to reduce command line length:
9164         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9165         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9166         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9167         (info): Pass CHEW to other subdirs.
9168
9169 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9170
9171         * configure.in: add signal_dir, like unix_dir, but by default it
9172         is set to "signal" so that a29khif can turn it off (since a29khif
9173         has raise() as part of machine-specific signal.s.)
9174
9175 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9176
9177         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9178         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9179         correctly.
9180         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9181         libc/stdio/vfprintf: type lint.
9182         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9183         initialzation code.
9184         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9185
9186 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9187
9188         * stub/mvme135/mvme135-asm.S: new file.
9189         stub/mvme135mvme135-stub.c: moved all assembler routines into
9190         mvme135-asm.S.
9191         stub/mvme135/Makefile.in: build mvme135-stub.o.
9192
9193 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9194
9195         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9196         sub-Makefiles instead, to try to avoid line length limitations.
9197
9198 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9199
9200         * libc/include/unistd.h (read, write):  Use void* instead of
9201         char*.
9202
9203 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9204
9205         * stub/go32/resetpc: sample script to send a reset packet to the
9206         stub
9207
9208         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9209         DOS environment, which compiles with Turbo C.
9210
9211         * stub/go32/DSER32.LNK: new file, linker commands for serial
9212         remote stub.
9213
9214         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9215         start up message to identify version; call set_debug_traps.
9216
9217         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9218         keyboard interaction); call handle_exception() in go_til_stop,
9219         rather than return, so that the remote stub gets control.
9220
9221         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9222         rename, rather than mv), set flags that work with current Turbo C,
9223         including using the /3 flag; also, add commands to build dser32.
9224
9225         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9226         default Turbo C installation (\tc rather than \usr)
9227
9228         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9229         "&..."
9230
9231 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9232
9233         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9234
9235 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9236
9237         * libc/stdio/cvt.c (licvt): new function to convert ints when
9238         sizeof(int) != sizeof(long).
9239
9240         * libc/include/stdio.h: added prototype for iprintf.
9241         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9242
9243 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9244
9245         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9246         __REGISTER_PREFIX__.
9247
9248 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9249
9250         * libc/sys/m68kbare: moved into stub directory.
9251
9252 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9253
9254         * configure.in, Makefile.in: created new directory stub, to hold
9255         sample code for specific targets.
9256
9257 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
9258
9259         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9260         in the unified libc/include/sys/fcntl.h.
9261
9262 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
9263
9264         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9265         printed .01, not 0.01.
9266
9267 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
9268
9269         * configure.in: compile with -m68000 for m68* targets.
9270
9271 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
9272
9273         * libm/math/remainder.c (remainder): document the svr4 and sunos
9274         references used to construct the function.
9275
9276 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
9277
9278         * libm/math/remainder.c (rint, remainder): fix old typos.
9279         * libm/math/Makefile.in: actually build remainder.c (functions
9280         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9281         page.)
9282
9283 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
9284
9285         * libc/string/bcopy.c: BSD version works on overlapping strings,
9286         so ours should too.
9287
9288         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9289         ("SHELL").
9290
9291 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
9292
9293         * Makefile.in (docs): new target.
9294
9295 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
9296
9297         * libc/include/sys/times.h: define clock_t as required by POSIX.
9298         libc/include/time.h: protect clock_t from multiple definitions.
9299
9300 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9301
9302         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9303         does not need more than the original three iterations to get
9304         within 1 ulp. (Paranoia tests for rounding to better than that,
9305         but further iterations *don't* help, only more subtle changes
9306         can.)
9307
9308 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9309
9310         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9311         were doing nothing useful.
9312
9313 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9314
9315         * configure.in: define MALLOC_PROVIDED for vxworks targets;
9316         removed sys_dir settings of vxworks68 and vxworks960.
9317         host/any: don't pass -nostdinc to gcc, since newlib no longer
9318         provides all required header files.
9319
9320         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9321         is not defined; this provides a hook for VxWorks.
9322
9323 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9324
9325         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9326         buffer if buf is NULL, don't do it here -- it is already being
9327         done by makebuf elsewhere in stdio.
9328
9329 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9330
9331         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9332         that C programs can call functions without using initial
9333         underscores.
9334
9335 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
9336
9337         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9338
9339 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
9340
9341         * configure.in: set TARGET_CFLAGS for certain CPU types to
9342         -msoft-float.
9343
9344 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9345
9346         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9347
9348 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9349
9350         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9351         m68k*-unknown-coff.
9352
9353 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
9354
9355         * libc/include/stdio.h: define __need___va_list before including
9356         <stdarg.h>, to avoid defining va_arg, et. al.
9357
9358 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
9359
9360         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9361         (don't cd to the user's home directory).
9362
9363         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9364         In general this is the wrong thing to do, but I can't get around
9365         GNU make's insistence on passing command line arguments any other
9366         way.
9367
9368 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9369
9370         * configure.in: always configure the libc/sys directory, since it
9371         now provides a required documentation file.
9372
9373         * Makefile.in: replaced all instances of $(MAKE) with make.  In
9374         general this is the wrong thing to do, but I can't get around GNU
9375         make's insistence on passing command line arguments any other way.
9376
9377 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
9378
9379         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9380         terminated.
9381
9382         * libc/stdio/local.h: include <stdarg.h> to define va_list.
9383         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9384
9385         * libc/include/float.h, libc/include/stdarg.h,
9386         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9387         versions instead.
9388         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9389         <stdarg.h>, not from <machine/types.h>.  Protect definition of
9390         NULL.
9391         libc/include/time.h: get size_t from stddef.h.  Protect definition
9392         of NULL.
9393         libc/include/machine/limits.h: override gcc <limits.h> by defining
9394         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
9395         get correct INT_MIN and LONG_LONG values.
9396         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9397         size_t or va_list at all; they're now gotten from stddef.h
9398         instead.
9399         libc/include/machine/varargs.h: removed; use gcc version instead.
9400         libc/include/sys/types.h: explicitly include <machine/types.h>.
9401
9402         * libm/math/sqrt.h: using the fp-bit routines appears to require
9403         more iterations.
9404
9405         * Makefile.in, host/any: let system include files override machine
9406         include files.
9407
9408 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9409
9410         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9411         override _*_T_ definitions defaulted here.
9412
9413 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
9414
9415         * Makefile.in (install): install the include files in
9416         $(tooldir)/include, not $(exec_prefix)/include.
9417
9418 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9419
9420         * Makefile.in (install): fixed typo, and changed install to not
9421         force rebuild of libc.a and libm.a.
9422
9423 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
9424
9425         * libc/sys/a29khif/*: Changed all .include's to include
9426         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
9427         that they will be installed for the user.
9428
9429         * Makefile.in (all): create targ-include, a directory holding the
9430         machine and system specific header files during the build.
9431         (install): fixed installation of machine and system specific
9432         header files.
9433
9434         * Makefile.in: fixed comment.
9435         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9436         we can pass $(INCLUDES) to it.
9437
9438 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9439
9440         * libc/include/sys/param.h: new generic file, which may be
9441         overridden for specific systems.
9442
9443         * libc/include/sys/signal.h: define all ANSI signal names, and
9444         NSIG (which is not ANSI) for a29k.
9445
9446 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
9447
9448         * Makefile.in: don't pass down arguments the lower level makes
9449         will not need.
9450         * libc/Makefile.in: recurse directly, rather than using subdir_do,
9451         in hopes of avoiding argument length limits.
9452         * libm/Makefile.in: recurse directly, rather using subdir_do, in
9453         hopes of avoiding argument length limits.
9454
9455 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
9456
9457         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9458         mode_t is defined.
9459
9460 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9461
9462         * Fixed make info and make install-info for newlib, changing most
9463         Makefile.in and several *.tex files.  Moved doc directory from
9464         libc to top level.
9465
9466         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9467         Should be rewritten.
9468
9469         * libc/string/strings.tex: renamed node index to node index
9470         function, so that it does not conflict with the top level index
9471         node.
9472
9473         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9474
9475 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9476
9477         * Overhauled general configuration for newlib.  Eliminated all
9478         target dependent Makefile fragments.  Create libraries in newlib
9479         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
9480         than CROSS_CC, et. al.  Broke make docs; will fix later.
9481
9482         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9483         Should be rewritten.
9484
9485 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9486
9487         * libc/configure.in: cleaned up somewhat; switch on ${target}
9488         rather than ${target_alias}.
9489         * libm/configure.in: cleaned up somewhat; switch on ${target}
9490         rather than ${target_alias}.
9491
9492         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9493         * libc/include/ctype.h: marked _ctype_ as _CONST.
9494
9495         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9496         _CONST.
9497
9498         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9499         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9500         libc/stdio/gets.c (gets): removed non-ANSI warning message.
9501         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9502
9503         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9504         bigtens, tinytens): marked arrays _CONST.
9505         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9506         rather than a static variable.
9507
9508         * libc/time/asctime.c (asctime), libc/time/localtime.c
9509         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9510         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9511         mname_len, mname): Marked static arrays _CONST.
9512
9513         * libm/math/gamma.h: made local variables non-static.
9514
9515         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9516         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9517         _CONST.
9518
9519         * libm/math/constants.c: removed file, because the constants it
9520         defined were never referenced.
9521         libm/math/Makefile.in: removed references to constants.c.
9522         libm/math/mathimpl.h: removed declarations of constants.
9523
9524 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9525
9526         * libc/include/machine/varargs.h: only call __builtin_saveregs if
9527         it is sensibly defined in libgcc2.  Checks preprocessor defines,
9528         which is not a good solution.
9529
9530         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9531
9532         * libm/frexp.c: handle denormalized numbers as arguments.
9533
9534         * libm/math/Makefile.in: added some dependencies for .c files
9535         which include local .h files.
9536
9537 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
9538
9539         * libc/configure.in: set target_alias for OSE*.  Replace
9540         target_makefile_frag if it is blank.
9541
9542         * libc/Makefile.in: make sure everything is passed to subsidiary
9543         makes; create all directories when installing.
9544
9545         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9546         CROSS_ARUPDATE instead of AR.
9547
9548         * libm/configure.in: set target_alias for OSE*.  Replace
9549         target_makefile_frag if it is blank.
9550
9551         * libm/Makefile.in: make sure everything is passed to subsidiary
9552         makes; create all directories when installing.
9553
9554 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
9555
9556         * add following change from libc copy.
9557
9558 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9559
9560         * libc/libc.texinfo: make copyright disclaimers appear on back of
9561         title page; make format of same slightly less ugly; avoid using
9562         underbars in section headings (avoids nasty texinfo bug in table
9563         of contents).
9564
9565         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9566           comments only) avoid using underbars in section headings
9567
9568         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9569           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9570           changes in comments only): shorten headings ieeefp/infinity.c,
9571           ieeefp/isnan.c: (doc, comments only) more informative headings
9572
9573         * libc/math/bessel.c: (doc, comments only) shorten heading
9574
9575         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9576         (doc, comments only) shorten headings
9577
9578         * libc/time/localtime.c (doc, comments only): shorten headings
9579
9580         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9581           isnan
9582           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9583           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9584           headings
9585           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9586           only) more informative headings
9587         * libm/math/bessel.c: (doc, comments only) shorten heading
9588
9589 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9590
9591         * .../Makefile.in: use CROSS_ARUPDATE consistently.
9592         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9593         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9594         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9595         defined, the one from the .mt file will be correct.
9596         * libc/include/machine, libc/include/sys: created, and populated
9597         with common files from machine/*/machine. ifdefs were used for
9598         most, typically by handling exceptions first and then filling in
9599         defaults. Files with D.J. Delorie copyright #included rather than
9600         copied. Most files in include/sys really were the same in the
9601         original.
9602         * libc/include/...: cleaned up use of _EXFUN.
9603         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9604         it with double quotes, not angles.
9605
9606 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
9607
9608         * libc/Makefile.in: always create installation directories.
9609
9610 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9611
9612         * libc/configure.in: handle host properly (using canonical
9613         triples), better error message for the case of target not found
9614
9615 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
9616
9617         * libc/Makefile.in (insincdir): Ensure this directory exists
9618         before attempting installation.
9619
9620 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9621
9622         * libc/stdlib/assert.c: now calls abort like it should
9623         * libc/sys/a29khif: many many patches for 29khif work
9624         * libc/machine/i386: gnulib2 expanded there.
9625
9626 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9627
9628         Added accurate fp conversion routines to stdlib, moved dcvt from
9629         stdio to stdlib and called it ecvtbuf:
9630         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9631         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9632         routines
9633         * libc/libc.texinfo: Modifed to include the copyright info from
9634         the mprec files
9635         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9636         * libc/test/ : many vector which tested for the implementation
9637         defined returns of strange conversion requests have been updated
9638         to relflect the new implementation
9639
9640 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9641
9642         * libc/libc.texinfo: new chapter on variable arg lists
9643         (stdarg.h/varargs.h)
9644         * libc/libc.texinfo: new title
9645         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9646         (doc only) shorter headings for better formatting.
9647
9648 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9649
9650         * libc/libc.texinfo: three more info menu entries
9651         * libc/locale/locale.tex: new chapter
9652         * libc/locale/locale.c: new doc for setlocale, localeconv
9653         * libc/locale/Makefile.in: use new locale doc
9654         * libc/signal/signal.tex: new chapter
9655         * libc/signal/raise.c, libc/signal/signal.c: new doc
9656         * libc/signal/Makefile.in: use new doc
9657         * libc/time/time.tex: new chapter
9658         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9659         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9660         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9661         * libc/time/Makefile.in: use new doc
9662
9663 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9664
9665         * libm/math/log1p.c: split to use the new function way of float
9666         function definition. math/log1p.h deleted
9667         * libm/math/scalb.c: obsolete and deleted
9668         * libm/math/scalbn.c: created from part log1p.c
9669         * libm/math/Makefile.in: know about log1p and scalbn
9670
9671 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9672
9673         * libc/ctype/isupper.c: revise doc;
9674           libc/ctype/ctype.tex: use doc from isupper.c
9675
9676         * libc/string/bzero.c: new doc
9677
9678 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9679
9680         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9681         new doc
9682         * libc/stdlib/Makefile.in: extract new doc
9683         * libc/stdlib/stdlib.tex: use new doc
9684
9685         * libc/string/strerror.c: expanded doc.
9686
9687         * libc/stdio/Makefile.in: extract doc from more files
9688         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9689         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9690         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9691         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9692         libc/stdio/vsprintf.c: new doc
9693         * libc/stdio/stdio.tex: use new doc
9694
9695 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9696
9697         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9698         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9699         finitef functions.
9700         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9701         time ago.
9702
9703         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9704         * libc/stdio/setbuf.c: added ansi style definition.
9705         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9706         buffer if none provided.
9707         * libc/stdio/tmpfile.c: lint
9708         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9709         rather than using static, also make sure file isn't already
9710         present.  Uses P_tmpdir. (tempnam): rewritten to use new
9711         subroutine, and uses P_tmpdir.
9712         * libc/stdio/siprintf.c: created
9713
9714 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9715
9716         Release 1.03 for NEC, major mods. Main differences from release
9717         1.02::
9718
9719         More tests in test/:
9720         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9721         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9722         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9723         get/set mask, get/set sticky and get/set roundtoi.  Tests
9724         that setting the bits changes the way arithmetic is done.
9725         * string.c: added test to make sure memcmp does it with unsigned
9726         chars.
9727         * test.c: cleaned up and removed lint.
9728         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9729         dvec.c: tests for string to value conversions,  sprintf, scanf,
9730         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9731         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
9732         rounding in sprintf too.
9733         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
9734         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9735         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9736         and function form.
9737         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9738         powf
9739
9740         In the library:
9741         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9742         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9743         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9744         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9745         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9746         than sprintf.
9747         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
9748         * Method of producting float versions of double functions has
9749         changed, functions will be modified gradually. So far:
9750         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9751         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9752         altered
9753         * libc/string/memcmp.c: now uses unsigned chars
9754         * libc/string/bcmp.c, libc/string/strcpy.c,
9755         libc/stsring/strxfrm.c: fixed doc
9756         * libc/sys/sysvnecv70.tex: fix example of sbrk code
9757 \f
9758 Local Variables:
9759 version-control: never
9760 End: