OSDN Git Service

2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/sourceware.git] / newlib / ChangeLog
1 2002-05-17  Jeff Johnston  <jjohnstn@redhat.com>
2
3         * Makefile.am: Copy and install headers from sys/machine/include
4         directory.  Also pass $toollibdir to lower-level directories.
5         * Makefile.in: Regenerated.
6         * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and 
7         stderr to use _REENT macro instead of _impure_ptr directly.
8         * libc/include/sys/config.h[__i386__][__linux__]: Define
9         __DYNAMIC_REENT__.
10         * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be 
11         call to __getreent() function if !__SINGLE_THREAD__ and
12         __DYNAMIC_REENT__ is set.
13         * libc/reent/Makefile.am: Add support for getreent.c.
14         * libc/reent/Makefile.in: Regenerated.
15         * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
16         * libc/sys/linux/Makefile.am: Add support for new files.
17         * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
18         * libc/sys/linux/Makefile.in: Regenerated.
19         * libc/sys/linux/configure: Ditto.
20         * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
21         __close, __read, __write, __poll, __open, __lseek, __fcntl from
22         their __libc_ counterparts.
23         * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
24         and weak-alias to regular names.
25         * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
26         to pread64 and __pread64.
27         * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
28         * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
29         weak-alias to pwrite64.
30         * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
31         __libc_sched_getscheduler, __libc_sched_get_priority_max,
32         __libc_sched_get_priority_min, and __libc_sched_setschedule to
33         name with __ instead of __libc_. 
34         * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
35         Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
36         Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
37         * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
38         to raise.
39         * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
40         __libc_send to __send.
41         * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
42         __gettimeofday.
43         * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
44         it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
45         * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
46         type and typedef __jmp_buf to jmp_buf.
47         * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
48         setjmp.S.
49         * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
50         * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
51         section.
52         * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
53         prefix for function macros and then use weak_alias() to regular names.
54         * libc/sys/linux/machine/i386/syscall.h: Ditto.
55         * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
56         * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
57         to be flockfile() and funlockfile() respectively.
58         * libc/sys/linux/sys/types.h
59         * libc/reent/getreent.c: New file.
60         * libc/sys/linux/flockfile.c: Ditto.
61         * libc/sys/linux/funlockfile.c: Ditto.
62         * libc/sys/linux/getreent.c: Ditto.
63         * libc/sys/linux/pread.c: Ditto.
64         * libc/sys/linux/pwrite.c: Ditto.
65         * libc/sys/linux/raise.c: Ditto.
66         * libc/sys/linux/system.c: Ditto.
67         * libc/sys/linux/tcdrain.c: Ditto.
68         * libc/sys/linux/machine/i386/i386mach.h: Ditto.
69         * libc/sys/linux/machine/i386/setjmp.S: Ditto.
70         * libc/sys/linux/machine/i386/syscalls.c: Ditto.
71         * libc/sys/linux/machine/i386/weakalias.h: Ditto.
72         * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
73
74 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
75
76         * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
77         * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
78         * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
79         * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
80
81 Thu May 16 17:24:57 2002  J"orn Rennecke <joern.rennecke@superh.com>
82
83         * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
84         __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
85         exit point.
86
87 2002-05-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
88
89         * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
90         options when testing natively on i[3456]86-*-linux.
91
92         * testsuite/lib/checkoutput.exp (newlib_check_output): Output
93         only one pass or fail per test file.  Trim \r's from output
94         values received from test programs.  Remove support for named
95         tests.
96         * testsuite/newlib.locale/UTF-8.exp: Update to support new
97         newlib_check_output behaviour.
98         * testsuite/newlib.locale/UTF-8.c: Likewise.
99
100 2002-05-15  Jeff Johnston  <jjohnstn@redhat.com>
101
102         * libc/include/stdlib.h: Add on_exit prototype.
103         * libc/include/sys/reent.h (struct _atexit): Add argument array
104         and bits to track type of exit routine to support both on_exit
105         and atexit.
106         (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
107         by default and change the setting of the atexit structure.
108         (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
109         * libc/stdlib/on_exit.c: New file.
110         * libc/stdlib/Makefile.am: Add support for on_exit.
111         * libc/stdlib/Makefile.in: Regenerated.
112         * libc/stdlib/atexit.c: Change to initialize types field.
113         * libc/stdlib/exit.c: Change to look at types field for each
114         exit routine and either call an atexit-style or an on_exit-style
115         routine accordingly.
116
117 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
118
119         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
120         allow v specifier with n or L specifiers.  For vector c format,
121         move tmp declaration to the top.
122
123 2002-05-13  Jeff Johnston  <jjohnstn@redhat.com>
124
125         * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
126         the original format specifier when looping for vectors to compensate
127         for any changes made in vector %g format processing.
128         Also add syntax checking for various invalid scenarios
129         involving vector format extensions.
130         * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
131         return code setting for vector formats.  Also treat vector
132         separator mismatch as a match error instead of an input error.
133         Perform some syntax checking for vector formats.
134
135 2002-05-10  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
136
137         * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
138         * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
139         * libc/string/strlcat.c: New file.
140         * libc/string/strlcpy.c: New file.
141
142 2002-05-10  Jeff Johnston  <jjohnstn@redhat.com>
143
144         * libc/string/strchr.c: Fix comment typo.
145
146 2002-05-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
147
148         * acinclude.m4: Add support for --enable-newlib-multithread.
149         * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
150         --enable-newlib-multithread=no.
151
152         * libc/stdio/getc_u.c: New file.
153         * libc/stdio/getchar_u.c: New file.
154         * libc/stdio/putc_u.c: New file.
155         * libc/stdio/putchar_u.c: New file.
156         * libc/include/stdio.h: Add declarations for getc_unlocked,
157         getchar_unlocked, putc_unlocked and putchar_unlocked.
158         * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
159         (CHEWOUT_FILES): Add new files' .def's.
160         * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
161
162 Wed May  8 17:47:35 2002  J"orn Rennecke <joern.rennecke@superh.com>
163
164         * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
165         Also handle as single quad word when destination ends at last
166         byte of first quad word.  Fix byte selection in single quad code.
167
168 2002-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
169
170         * libc/include/sys/stdio.h: New file.
171         * libc/sys/linux/sys/stdio.h: New file.
172         * libc/include/stdio.h: Add declarations for flockfile,
173         ftrylockfile, and funlockfile.  Include <sys/stdio.h>.
174         * libc/stdio/clearerr.c: Add file locking.
175         * libc/stdio/fclose.c: Likewise.
176         * libc/stdio/feof.c: Likewise.
177         * libc/stdio/ferror.c: Likewise.
178         * libc/stdio/fflush.c: Likewise.
179         * libc/stdio/fgetc.c: Likewise.
180         * libc/stdio/fgetpos.c: Likewise.
181         * libc/stdio/fgets.c: Likewise.
182         * libc/stdio/fileno.c: Likewise.
183         * libc/stdio/fputc.c: Likewise.
184         * libc/stdio/fputs.c: Likewise.
185         * libc/stdio/fread.c: Likewise.
186         * libc/stdio/freopen.c: Likewise.
187         * libc/stdio/fseek.c: Likewise.
188         * libc/stdio/ftell.c: Likewise.
189         * libc/stdio/fwrite.c: Likewise.
190         * libc/stdio/getc.c: Likewise.
191         * libc/stdio/putc.c: Likewise.
192         * libc/stdio/setvbuf.c: Likewise.
193         * libc/stdio/ungetc.c: Likewise.
194         * libc/stdio/vfprintf.c: Likewise.
195
196 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
197
198         * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
199         support for 'p' format.  Fix code to print bytes for vector
200         integer formats that do not specify 'h' or 'l'.
201         * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
202         for 'p' specifier.  Fix code to scan 16 bytes for vector integer
203         formats that do not specify 'h' or 'l'.
204
205         * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
206
207 2002-05-06  Nick Clifton  <nickc@cambridge.redhat.com>
208
209         * libc/sys/arm/syscalls.c (_rename): Add parameter names.
210         (_sbrk): Add cast of return value.
211
212 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
213
214         *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
215         (_REENT_L64A_BUF): New macro for accessing area.
216         *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
217         *  libc/stdlib/Makefile.in: Regenerated.
218         *  libc/stdlib/a64l.c: New file.
219         *  libc/stdlib/l64a.c: New file.
220
221 2002-05-06  Jeff Johnston  <jjohnstn@redhat.com>
222
223         * libc/unix/pread.c: Fix typo for _pread_r.
224         * libc/unix/pwrite.c: Fix type for _pwrite_r.
225         * libc/sys/linux/pread64.c: Fix typo for read syscall.
226         * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
227
228 2002-05-03  Christopher Faylor  <cgf@redhat.com>
229
230         * libc/include/sys/unistd.h: Define getdomainname under cygwin.
231
232 2002-05-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
233
234         * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
235
236 2002-05-01  Christopher Faylor  <cgf@redhat.com>
237
238         * utmp.h: Define more UNIX constants.
239
240 2002-05-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
241
242         * Makefile.am: Add support for checking multilibs.
243
244         * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
245         (SUBDEFS): Add LIBC_EXTRA_DEF.
246         * libc/configure.in (LIBC_EXTRA_LIB): New variable.
247         (LIBC_EXTRA_DEF): Likewise.
248         (extra_dir): Likewise.
249         * libc/machine/xscale/machine: New directory.
250         * libc/machine/xscale/machine/profile.h: New file.
251
252         * Makefile.am (site.exp): Remove newlib_cflags.  Add
253         multibuildtop.
254         * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
255         * testsuite/lib/flags.exp: New file.
256         * testsuite/lib/newlib.exp: Load flags.exp.
257         (newlib_target_compile): Remove libgloss directory references.
258         (newlib_init): Remove newlib_cflags references.
259
260 2002-04-30  Thomas Fitzsimmons  <fitzsim@redhat.com>
261
262         * testsuite/lib/newlib.exp (newlib_target_compile): Change
263         method of finding libgloss_target_dir.
264
265         * Makefile.am (site.exp): Change host_alias, host_triplet,
266         target_alias, target_triplet to refer to gcc's host and target
267         variables (newlib's build and host variables).
268         * testsuite/lib/newlib.exp (newlib_init): Change build
269         references to host references, host references to target
270         references to reflect Makefile.am changes.
271         (newlib_target_compile): Likewise.
272         (newlib_finish): Likewise.
273
274 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
275
276         * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
277
278 2002-04-29  Jonathan Larmour  <jlarmour@redhat.com>
279
280         * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
281         (_system): New function. Ditto.
282         * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
283         * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
284         targets.
285
286 2002-04-29  Jeff Johnston  <jjohnstn@redhat.com>
287
288         *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
289         *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
290         *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
291         *  libc/sys/linux/Makefile.in: Regenerated.
292         *  libc/unix/Makefile.in: Ditto.
293         *  libc/sys/linux/pread64.c: New file.
294         *  libc/sys/linux/pwrite64.c: Ditto.
295         *  libc/unix/pread.c: Ditto.
296         *  libc/unix/pwrite.c: Ditto.
297
298 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
299
300         *  libc/sys/linux/Makefile.am: Add io64.c.
301         *  libc/sys/linux/Makefile.in: Regenerated.
302         *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
303         *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto. 
304         *  libc/sys/linux/io64.c: New file.
305
306 2002-04-26  Jeff Johnston  <jjohnstn@redhat.com>
307
308         * configure.in (CC_FOR_NEWLIB): New variable that
309         bases on $(CC) and adds targ-include and libc/include as
310         -isystem directives if they are not already part of $(CC).
311         * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
312         $(CC_FOR_NEWLIB).
313         * configure: Regenerated.
314         * Makefile.in: Ditto.
315
316 2002-04-25  Jeff Johnston  <jjohnstn@redhat.com>
317
318         *  libc/sys/linux/Makefile.am: Add support for sched.c.
319         *  libc/sys/linux/Makefile.in: Regenerated.
320         *  libc/sys/linux/sched.c: New file.
321         *  libc/sys/linux/sys/types.h: Add struct timespec.
322
323 2002-04-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
324
325         * configure.in (CC_FOR_BUILD): Set to gcc whether
326         cross-compiling or not.
327         (CC): Add -isystem's for targ-include and libc/include when they
328         do not already appear in CC.
329
330 2002-04-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
331
332         * Makefile.am (check-DEJAGNU): New target.
333         (site.exp): Likewise.
334         * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
335         with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
336         * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
337         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
338         * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
339         * testsuite: New directory.
340         * testsuite/config: Likewise.
341         * testsuite/lib: Likewise.
342         * testsuite/newlib.locale: Likewise.
343         * testsuite/newlib.string: Likewise.
344         * testsuite/config/default.exp: New file.
345         * testsuite/lib/checkoutput.exp: New file.
346         * testsuite/lib/newlib.exp: New file.
347         * testsuite/lib/passfail.exp: New file.
348         * testsuite/newlib.locale/UTF-8.c: New file.
349         * testsuite/newlib.locale/UTF-8.exp: New file.
350         * testsuite/newlib.locale/locale.exp: New file.
351         * testsuite/newlib.string/string.exp: New file.
352         * testsuite/newlib.string/tstring.c: New file.
353
354 2002-04-23  Jeff Johnston  <jjohnstn@redhat.com>
355
356         *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
357         *  libc/sys/linux/Makefile.am: Add support for mmap.c.
358         *  libc/sys/linux/Makefile.in: Regenerated.
359         *  libc/sys/linux/mmap.c: New file.
360         *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
361         *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
362
363 2002-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
364
365         * acinclude.m4 (newlib_cflags): Remove include directories that
366         are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
367
368 2002-04-19  Bill Siegmund  <ctc-dsl@pacbell.net>
369
370         * libc/machine/xscale/memchr.c: Don't use multi-line strings.
371         * libc/machine/xscale/memcmp.c: Ditto.
372         * libc/machine/xscale/memcpy.c: Ditto.
373         * libc/machine/xscale/memmove.c: Ditto.
374         * libc/machine/xscale/memset.c: Ditto.
375         * libc/machine/xscale/strchr.c: Ditto.
376         * libc/machine/xscale/strcmp.c: Ditto.
377         * libc/machine/xscale/strcpy.c: Ditto.
378         * libc/machine/xscale/strlen.c: Ditto.
379
380 2002-04-19  Alexandre Oliva  <aoliva@redhat.com>
381
382         * libc/include/sys/config.h: Remove include of <limits.h>.
383         (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
384         define INT_MAX and LONG_MAX.  Use them in tests.
385
386 2002-04-19  Jeff Johnston  <jjohnstn@redhat.com>
387
388         *  configure.host: Add support for powerpc-eabialtivec*.
389         *  libc/include/malloc.h: Add include of <machine/malloc.h>.
390         *  libc/include/stdlib.h: Add include of <machine/stdlib.h>.
391         *  libc/include/machine/malloc.h: New file.
392         *  libc/include/machine/stdlib.h: Ditto.
393         *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
394         *  libc/machine/powerpc/Makefile.am: Add conditional objects and
395         sources based on configuration.
396         *  libc/machine/powerpc/Makefile.in: Regenerated.
397         *  libc/machine/powerpc/configure: Ditto.
398         *  libc/machine/powerpc/configure.in: Add check for
399         powerpc-eabialtivec* in which case add in additional source files.
400         *  libc/machine/powerpc/setjmp.S: Add altivec support.
401         *  libc/machine/powerpc/vec_calloc.c: New file.
402         *  libc/machine/powerpc/vec_free.c: Ditto.
403         *  libc/machine/powerpc/vec_malloc.c: Ditto.
404         *  libc/machine/powerpc/vec_mallocr.c: Ditto.
405         *  libc/machine/powerpc/vec_realloc.c: Ditto.
406         *  libc/machine/powerpc/machine/malloc.h: Ditto.
407         *  libc/machine/powerpc/machine/stdlib.h: Ditto.
408         *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
409         with added altivec format specifiers.
410         *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
411         added altivec format specifiers.
412
413 2002-04-19      Joel Sherrill <joel@OARcorp.com>
414
415         * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
416         while autoconf is trying to link main(){}.
417
418 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
419
420         * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
421         * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
422
423 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
424
425         * libc/time/time.tex: Add tzset info.
426
427 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
428
429         * libc/include/time.h (tzset, _tzset_r): Added prototypes.
430         (strptime): Moved prototype to be within !__STRICT_ANSI__.
431         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
432         (tzname): Defined for all platforms.
433         (daylight, timezone): Defined only for CYGWIN.
434         * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
435         environment set up.
436         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
437         environment variable is set.
438         * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
439         tzset_r.c.
440         * libc/time/Makefile.in: Regenerated.
441         * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
442         * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
443         * libc/time/lcltime_r.c (lcltime_r): Ditto.
444         * libc/time/local.h: New local header file.
445         * libc/time/mktime.c (mktime): Add timezone support.
446         * libc/time/mktm_r.c: New file which is the common engine
447         for gmtime_r and lcltime_r.  This code has timezone support.
448         * libc/time/strftime.c (strftime): Add %Z timezone support.
449         * libc/time/tzlock.c: New file containing timezone lock stubs.
450         * libc/time/tzset.c: New file containing tzset() routine.
451         * libc/time/tzset_r.c: New file containing _tzset_r and
452         internal routine for calculating timezone changes for specified year.
453
454 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
455
456         * configure.in (CRT0_DIR): Set to libc/.
457         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
458         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
459         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
460         $(CRT1_DIR)/$(CRT1).
461         * libc/machine/xstormy16/Makefile.in: Regenerated.
462         * libc/machine/xstormy16/aclocal.m4: Regenerated.
463         * libc/machine/xstormy16/configure: Regenerated.
464
465 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
466
467         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
468         fails, don't bail out, and try to correct next time.
469
470         * libc/include/sys/config.h: Include limits.h.
471
472 2002-04-12  Eric Norum  <eric.norum@usask.com>
473
474         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
475         routine to allow autoconf to determine that building executables
476         for rtems works.
477         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
478         (rtems_gxx_mutex_once): Ditto.
479
480 2002-04-09  Tom Rix  <trix@redhat.com>
481
482         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
483
484 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
485
486         * libc/include/time.h: Fix strptime declaration.
487         * libc/time/Makefile.am: Add strptime.c.
488         * libc/time/Makefile.in: Regenerated.
489         * libc/time/strptime.c: New file.
490
491 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
492
493         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
494         siglongjmp prototype, and sigsetjmp macro definition.
495         * libc/sys/linux/siglongjmp.c: New file.
496         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
497         * libc/sys/linux/Makefile.in: Regenerated.
498
499 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
500
501         * Makefile.am: Add support for installing crt1.o if one exists.
502         * configure.host: Specify crt1.o for linux.
503         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
504         * Makefile.in: Regenerated.
505         * configure: Ditto.
506         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
507         Added for non-Cygwin, non-RTEMS configurations.
508         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
509         * libc/sys/linux/Makefile.in: Regenerated.
510         * libc/sys/linux/crt1.c: New empty file to override one defaulted
511         by gcc.  This fixes problem with reconfiguring linux newlib build.
512         * libc/sys/linux/sysconf.c: New file.
513
514 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
515
516         * configure.host: Add support for machine subdirectory of
517         sys subdirectory.
518         * configure.in: Add check for sys machine subdirectory.
519         * Makefile.am: Ditto.
520         * configure: Regenerated.
521         * Makefile.in: Ditto.
522         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
523         * libc/sys/linux/sys/syscall.h: Ditto.
524         * libc/sys/linux/sleep.c: New file.
525         * libc/sys/linux/socket.c: Ditto.
526         * libc/sys/linux/sockops.h: Ditto.
527         * libc/sys/linux/stack.c: Ditto.
528         * libc/sys/linux/usleep.c: Ditto.
529         * libc/sys/linux/machine/Makefile.am: Ditto.
530         * libc/sys/linux/machine/Makefile.in: Ditto.
531         * libc/sys/linux/machine/aclocal.m4: Ditto.
532         * libc/sys/linux/machine/configure: Ditto.
533         * libc/sys/linux/machine/configure.in: Ditto.
534         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
535         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
536         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
537         * libc/sys/linux/machine/i386/configure: Ditto.
538         * libc/sys/linux/machine/i386/configure.in: Ditto.
539         * libc/sys/linux/machine/i386/crt0.c: Ditto.
540         * libc/sys/linux/machine/i386/sigset.c: Ditto.
541         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
542         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
543         * libc/sys/linux/machine/i386/syscall.h: Ditto.
544         * libc/sys/linux/sys/select.h: Ditto.
545         * libc/sys/linux/configure.in: Add support for machine directory.
546         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
547         * libc/sys/linux/Makefile.in: Regenerated.
548         * libc/sys/linux/configure: Ditto.
549         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
550         * libc/sys/linux/inode.c: Ditto.
551         * libc/sys/linux/linux.c: Ditto.
552         * libc/sys/linux/process.c: Ditto.
553         * libc/sys/linux/systat.c: Ditto.
554         * libc/sys/linux/time.c: Ditto.
555         * libc/sys/linux/wait.c: Ditto.
556         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
557         * libc/sys/linux/io.c: Change header plus add readv/writev.
558         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
559         use __sigsuspend syscall.
560         * libc/sys/linux/select.c: Change header plus change select to
561         use _newselect syscall.
562         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
563         used by glibc header files.
564         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
565         types.
566
567 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
568
569         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
570         initializing a struct _reent that has been dynamically allocated.
571         (_REENT_CHECK_MISC): New macro that checks _misc struct for
572         _REENT_SMALL and does nothing otherwise.
573         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
574         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
575         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
576         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
577         [_REENT_SMALL](struct _misc_reent): New structure containing
578         miscellaneous reentrant areas needed by newlib.
579         [_REENT_SMALL](struct _reent): Add _misc pointer.
580         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
581         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
582         and _REENT_STRTOK_LAST macros.
583         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
584         and _REENT_MBLEN_STATE macros.
585         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
586         and _REENT_MBTOWC_STATE macros.
587         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
588         and _REENT_WCTOMB_STATE macros.
589
590 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
591
592         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
593
594 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
595
596         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
597
598 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
599
600         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
601         Store high part of leading bytes too.
602
603 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
604
605         * libm/math/ef_hypot.c: Increase scale factor to 68.
606
607 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
608
609         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
610         error.
611
612 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
613
614         * libc/sys/go32/access.c: Change license to relaxed license
615         used in identical file throughout newlib/libgloss.
616
617 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
618
619         * libc/sys/arm/access.c: New file.
620         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
621         * libc/sys/arm/Makefile.in: Regenerate.
622         * libc/sys/arm/syscalls.c (_stat): New function.
623
624 2002-03-11  Michael Meissner  <meissner@redhat.com>
625
626         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
627         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
628         * libc/machine/mips/Makefile.in: Regenerate.
629         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
630         * libc/machine/mips/memset.c: Dito.
631         * libc/machine/mips/strcmp.c: Dito.
632         * libc/machine/mips/strlen.c: Dito.
633         * libc/machine/mips/strncmp.c: Dito.
634
635 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
636
637         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
638         object so it works for shared library or statici library.
639 2002-04-17  Jeff Johnston  <jjohnstn@redhat.com>
640
641         *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
642         (strptime): Moved prototype to be within !__STRICT_ANSI__.
643         (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
644         (tzname): Defined for all platforms.
645         (daylight, timezone): Defined only for CYGWIN.
646         *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
647         environment set up.
648         * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
649         environment variable is set.
650         *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
651         tzset_r.c.
652         *  libc/time/Makefile.in: Regenerated.
653         *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
654         *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
655         *  libc/time/lcltime_r.c (lcltime_r): Ditto.
656         *  libc/time/local.h: New local header file.
657         *  libc/time/mktime.c (mktime): Add timezone support.
658         *  libc/time/mktm_r.c: New file which is the common engine
659         for gmtime_r and lcltime_r.  This code has timezone support.
660         *  libc/time/strftime.c (strftime): Add %Z timezone support.
661         *  libc/time/tzlock.c: New file containing timezone lock stubs.
662         *  libc/time/tzset.c: New file containing tzset() routine.
663         *  libc/time/tzset_r.c: New file containing _tzset_r and
664         internal routine for calculating timezone changes for specified year.
665
666 2002-04-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
667
668         * configure.in (CRT0_DIR): Set to libc/.
669         (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
670         * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
671         $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
672         $(CRT1_DIR)/$(CRT1).
673         * libc/machine/xstormy16/Makefile.in: Regenerated.
674         * libc/machine/xstormy16/aclocal.m4: Regenerated.
675         * libc/machine/xstormy16/configure: Regenerated.
676
677 2002-04-13  Alexandre Oliva  <aoliva@redhat.com>
678
679         * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
680         fails, don't bail out, and try to correct next time.
681
682         * libc/include/sys/config.h: Include limits.h.
683
684 2002-04-12  Eric Norum  <eric.norum@usask.com>
685
686         * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
687         routine to allow autoconf to determine that building executables
688         for rtems works.
689         (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
690         (rtems_gxx_mutex_once): Ditto.
691
692 2002-04-09  Tom Rix  <trix@redhat.com>
693
694         * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
695
696 2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
697
698         * libc/include/time.h: Fix strptime declaration.
699         * libc/time/Makefile.am: Add strptime.c.
700         * libc/time/Makefile.in: Regenerated.
701         * libc/time/strptime.c: New file.
702
703 2002-04-08  Jeff Johnston  <jjohnstn@redhat.com>
704
705         * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
706         siglongjmp prototype, and sigsetjmp macro definition.
707         * libc/sys/linux/siglongjmp.c: New file.
708         * libc/sys/linux/Makefile.am: Add support for siglongjmp.
709         * libc/sys/linux/Makefile.in: Regenerated.
710
711 2002-04-04  Jeff Johnston  <jjohnstn@redhat.com>
712
713         * Makefile.am: Add support for installing crt1.o if one exists.
714         * configure.host: Specify crt1.o for linux.
715         * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
716         * Makefile.in: Regenerated.
717         * configure: Ditto.
718         * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
719         Added for non-Cygwin, non-RTEMS configurations.
720         * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
721         * libc/sys/linux/Makefile.in: Regenerated.
722         * libc/sys/linux/crt1.c: New empty file to override one defaulted
723         by gcc.  This fixes problem with reconfiguring linux newlib build.
724         * libc/sys/linux/sysconf.c: New file.
725
726 2002-04-03  Jeff Johnston  <jjohnstn@redhat.com>
727
728         * configure.host: Add support for machine subdirectory of
729         sys subdirectory.
730         * configure.in: Add check for sys machine subdirectory.
731         * Makefile.am: Ditto.
732         * configure: Regenerated.
733         * Makefile.in: Ditto.
734         * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
735         * libc/sys/linux/sys/syscall.h: Ditto.
736         * libc/sys/linux/sleep.c: New file.
737         * libc/sys/linux/socket.c: Ditto.
738         * libc/sys/linux/sockops.h: Ditto.
739         * libc/sys/linux/stack.c: Ditto.
740         * libc/sys/linux/usleep.c: Ditto.
741         * libc/sys/linux/machine/Makefile.am: Ditto.
742         * libc/sys/linux/machine/Makefile.in: Ditto.
743         * libc/sys/linux/machine/aclocal.m4: Ditto.
744         * libc/sys/linux/machine/configure: Ditto.
745         * libc/sys/linux/machine/configure.in: Ditto.
746         * libc/sys/linux/machine/i386/Makefile.am: Ditto.
747         * libc/sys/linux/machine/i386/Makefile.in: Ditto.
748         * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
749         * libc/sys/linux/machine/i386/configure: Ditto.
750         * libc/sys/linux/machine/i386/configure.in: Ditto.
751         * libc/sys/linux/machine/i386/crt0.c: Ditto.
752         * libc/sys/linux/machine/i386/sigset.c: Ditto.
753         * libc/sys/linux/machine/i386/sigstack.h: Ditto.
754         * libc/sys/linux/machine/i386/socketcall.h: Ditto.
755         * libc/sys/linux/machine/i386/syscall.h: Ditto.
756         * libc/sys/linux/sys/select.h: Ditto.
757         * libc/sys/linux/configure.in: Add support for machine directory.
758         * libc/sys/linux/Makefile.am: Ditto plus add new files above.
759         * libc/sys/linux/Makefile.in: Regenerated.
760         * libc/sys/linux/configure: Ditto.
761         * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
762         * libc/sys/linux/inode.c: Ditto.
763         * libc/sys/linux/linux.c: Ditto.
764         * libc/sys/linux/process.c: Ditto.
765         * libc/sys/linux/systat.c: Ditto.
766         * libc/sys/linux/time.c: Ditto.
767         * libc/sys/linux/wait.c: Ditto.
768         * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
769         * libc/sys/linux/io.c: Change header plus add readv/writev.
770         * libc/sys/linux/signal.c: Change header plus change sigsuspend to
771         use __sigsuspend syscall.
772         * libc/sys/linux/select.c: Change header plus change select to
773         use _newselect syscall.
774         * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
775         used by glibc header files.
776         * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
777         types.
778
779 2002-04-01  Jeff Johnston  <jjohnstn@redhat.com>
780
781         * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
782         initializing a struct _reent that has been dynamically allocated.
783         (_REENT_CHECK_MISC): New macro that checks _misc struct for
784         _REENT_SMALL and does nothing otherwise.
785         (_REENT_STRTOK_LAST): New macro for reentrant strtok.
786         (_REENT_MBLEN_STATE): New macro for reentrant mblen.
787         (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
788         (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
789         [_REENT_SMALL](struct _misc_reent): New structure containing
790         miscellaneous reentrant areas needed by newlib.
791         [_REENT_SMALL](struct _reent): Add _misc pointer.
792         [_REENT_SMALL](_REENT_INIT_MISC): New macro.
793         * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
794         and _REENT_STRTOK_LAST macros.
795         * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
796         and _REENT_MBLEN_STATE macros.
797         * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
798         and _REENT_MBTOWC_STATE macros.
799         * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
800         and _REENT_WCTOMB_STATE macros.
801
802 2002-04-01  Till Straumann <strauman@SLAC.Stanford.EDU>
803
804         * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
805
806 Wed Mar 27 07:34:44 2002  Jason Tishler <jason@tishler.net>
807
808         * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
809
810 Tue Mar 26 17:17:10 2002  J"orn Rennecke <joern.rennecke@superh.com>
811
812         * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
813         Store high part of leading bytes too.
814
815 2002-03-22  Richard Sandiford  <rsandifo@redhat.com>
816
817         * libm/math/ef_hypot.c: Increase scale factor to 68.
818
819 2002-03-13  Alexandre Oliva  <aoliva@redhat.com>
820
821         * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
822         error.
823
824 2002-03-12  Jeff Johnston  <jjohnstn@redhat.com>
825
826         * libc/sys/go32/access.c: Change license to relaxed license
827         used in identical file throughout newlib/libgloss.
828
829 2002-03-12  Richard Earnshaw  <rearnsha@arm.com>
830
831         * libc/sys/arm/access.c: New file.
832         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
833         * libc/sys/arm/Makefile.in: Regenerate.
834         * libc/sys/arm/syscalls.c (_stat): New function.
835
836 2002-03-11  Michael Meissner  <meissner@redhat.com>
837
838         * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
839         variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
840         * libc/machine/mips/Makefile.in: Regenerate.
841         * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
842         * libc/machine/mips/memset.c: Dito.
843         * libc/machine/mips/strcmp.c: Dito.
844         * libc/machine/mips/strlen.c: Dito.
845         * libc/machine/mips/strncmp.c: Dito.
846
847 2002-03-06  Jeff Johnston  <jjohnstn@redhat.com>
848
849         * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
850         object so it works for shared library or statici library.
851         * libc/machine/i386/Makefile.in: Regenerated.
852
853 Wed Mar  6 10:24:26 2002  J"orn Rennecke <joern.rennecke@superh.com>
854
855         * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
856         Add memcpy.S, memset.S and strcpy.S.
857         * libc/machine/sh/Makefile.in: Regenerate.
858         * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
859         (SHHI, SHLO): Define.
860         * libc/machine/sh/memset.S: Add code for SH5.
861         * libc/machine/sh/memset.S: Likewise.
862         * libc/machine/sh/strcpy.S: Likewise.
863
864 2002-02-27  Jeff Johnston  <jjohnstn@redhat.com>
865
866         * configure.host: Add check for --disable-newlib-io-float
867         configuration option and add -DNO_FLOATING_POINT to newlib cflags
868         if appropriate.
869         * acinclude.m4: Added --disable-newlib-io-float option.
870         * aclocal.m4: Regenerated.
871         * configure: Ditto.
872         * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
873         * libc/*/aclocal.m4 libc/*/configure 
874         * libm/*/aclocal.m4 libm/*/configure: Ditto.
875         * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
876         if NO_FLOATING_POINT flag is not defined.
877
878 2002-02-25  Jeff Johnston  <jjohnstn@redhat.com>
879
880         * libc/include/sys/config.h: Add __extension__ in front of
881         long long references.
882
883 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
884
885         * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
886         (_stat): Ditto.
887
888 2002-02-23  Corinna Vinschen  <corinna@vinschen.de>
889
890         * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
891         of off_t.
892
893 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
894
895         * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
896         clobbered registers.
897
898 2002-02-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
899
900         * configure.host (newlib_cflags): When host is in m68* add
901         -DCOMPACT_CTYPE.
902
903 2002-02-15  Jeff Johnston  <jjohnstn@redhat.com>
904
905         * libc/include/sys/config.h: Add definitions for
906         __int16_t, __uint16_t, __int64_t, and __uint64_t.
907
908 2002-02-12  Hans-Peter Nilsson  <hp@bitrange.com>
909
910         * libc/sys/mmixware/link.c: New.
911         * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
912         volatile.
913         * libc/sys/mmixware/times.c (_times): Renamed from times.
914         * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
915         properly by reading previous contents, not through BinaryReadWrite.
916         * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
917         * libc/sys/mmixware/Makefile.in: Regenerate.
918
919 2002-02-10  Corinna Vinschen  <corinna@vinschen.de>
920
921         * libc/include/grp.h: Don't declare group functions when compiling
922         Cygwin.
923
924 2002-02-09  Corinna Vinschen  <corinna@vinschen.de>
925
926         * libc/include/grp.h: Include Cygwin specific header.
927         * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
928         when compiling for Cygwin.
929         * libc/include/sys/types.h: Don't define off_t, uid_t
930         and gid_t when compiling for Cygwin.
931
932 2002-02-08  matthew green  <mrg@redhat.com>
933
934         * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
935         _REENT_EMERGENCY_SIZE, not sizeof(char *).
936
937 2002-02-08  Alexandre Oliva  <aoliva@redhat.com>
938
939         Contribute sh64-elf.
940         2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
941         * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
942         support in printf.
943         2001-01-29  Alexandre Oliva  <aoliva@redhat.com>
944         * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
945         any labels.
946         2001-01-24  Alexandre Oliva  <aoliva@redhat.com>
947         * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
948         2000-12-16  Alexandre Oliva  <aoliva@redhat.com>
949         * libc/machine/sh/configure.in: Rework conditionals.
950         * libc/machine/sh/Makefile.am: Likewise.
951         * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
952         2000-12-01  Alexandre Oliva  <aoliva@redhat.com>
953         * configure.host: Match `sh*'.
954         * libc/include/machine/setjmp.h: Define for SH5.
955         * libc/machine/sh/configure.in: Detect SH5.
956         * libc/machine/sh/configure: Rebuilt.
957         * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
958         * libc/machine/sh/Makefile.in: Rebuilt.
959         * libc/machine/sh/asm.h: Adjust for SH5.
960         * libc/machine/sh/setjmp.S: Implement in SHmedia.
961         * libc/sys/sh/crt0.S: Likewise.
962         * libc/sys/sh/trap.S: Likewise.
963
964 2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>
965
966         * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
967         (mach_add_obj): Conditionally set to setjmp.o or nothing.
968         (LIB_SOURCES): Remove $(mach_add_src).
969         (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
970         (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
971         * libc/machine/i386/Makefile.in: Regenerate.
972
973 2002-02-05  Manik Raina <manik@cisco.com>
974
975         * libc/misc/dprintf.c (parse_number): #if 0 unused function.
976         * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
977         s, p, k, and outstr.
978         * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
979
980 2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>
981
982         * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
983         _REENT_CHECK_EMERGENCY macro.
984
985 2002-02-03  matthew green  <mrg@redhat.com>
986
987         * libc/reent/signgam.c (__signgam): Fix error in previous.
988
989 2002-02-02  matthew green  <mrg@redhat.com>
990
991         * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
992
993         * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
994         * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
995         * libc/include/sys/reent.h (struct _reent): Completely new version
996         for _REENT_SMALL.
997         (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
998         (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
999         (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1000         (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1001         (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1002         (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1003         (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1004         (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1005         (_REENT_EMERGENCY): Likewise.
1006
1007         * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1008         the start of the real __sFILE, used for stdin, stdout and stderr until
1009         they are setup properly.
1010         (struct __sFILE): Move location of _data in _REENT_SMALL case.
1011         * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1012         allocated stdin, stdout and stderr.
1013         * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1014         * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1015         * libc/stdio/perror.c (_perror_r): Likewise.
1016         * libc/stdio/printf.c (printf, _printf_r): Likewise.
1017         * libc/stdio/putchar.c (_putchar_r): Likewise.
1018         * libc/stdio/puts.c (_puts_r): Likewise.
1019         * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1020         * libc/stdio/vprintf.c (vprintf): Likewise.
1021         * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1022
1023         * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1024
1025         * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1026         * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1027         for _REENT_SMALL.
1028         * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1029         * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1030
1031         * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1032         _REENT_SMALL.
1033         * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1034         * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1035         * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1036         * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1037         * libc/stdlib/rand48.c (__dorand48): Likewise.
1038         * libc/stdlib/seed48.c (_seed48_r): Likewise.
1039         * libc/stdlib/srand48.c (_srand48_r): Likewise.
1040         * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1041         as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1042         * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
1043         _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1044         * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1045         * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1046         * libc/stdlib/rand.c (rand): Likewise.
1047
1048         * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1049         * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1050
1051         * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
1052         _REENT_MP_FREELIST() and _REENT_MP_P5S.
1053         * libc/include/sys/reent.h (struct _mprec): New structure.
1054
1055         * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1056         _unused_strtok_last.
1057         * libc/string/strtok.c (strtok): Use a local static variable.
1058
1059         * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1060         (_REENT_EMERGENCY_SIZE): Likewise.
1061         * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
1062         _REENT_ASCTIME_BUF().
1063         * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
1064         _REENT_TM().
1065
1066         * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1067         * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1068         * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1069         * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1070         * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1071         * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1072
1073 2002-02-01  Geoffrey Keating  <geoffk@redhat.com>
1074
1075         * configure.host (xstormy16): Don't use the generic malloc.
1076         * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1077         * libc/machine/xstormy16/Makefile.in: Regenerate.
1078         * libc/machine/xstormy16/mallocr.c: New file.
1079         * libc/machine/xstormy16/tiny-malloc.c: New file.
1080
1081 2002-01-28  Thomas Fitzsimmons  <fitzsim@redhat.com>
1082
1083         * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1084         when _CYGWIN_TYPES_H is not defined.
1085
1086 2002-01-24  Thomas Fitzsimmons  <fitzsim@redhat.com>
1087
1088         * libc/include/sys/signal.h: Revert 2002-01-23 change.
1089
1090 2002-01-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
1091
1092         * libc/include/sys/signal.h: Remove pthread_kill declaration
1093         when __CYGWIN__ is defined.
1094
1095 2002-01-18  Mark Bradshaw  <bradshaw@staff.crosswalk.com>
1096
1097         * libc/include/time.h: Add prototype for strptime for Cygwin.
1098
1099 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
1100
1101         * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1102         dst was not word aligned.
1103
1104         * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1105         if too much memory is requested.
1106
1107 2002-01-11 Jeff Johnston  <jjohnstn@redhat.com>
1108
1109         * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1110         reads blanks from the input file to break if EOF reached
1111         rather than end processing.
1112
1113 2002-01-07 Jeff Johnston  <jjohnstn@redhat.com>
1114
1115         * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1116
1117 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1118
1119         * libc/include/machine/ieeefp.h: Configure d10v doubles to
1120         be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
1121         libc/include/sys/config.h: Ditto.
1122
1123 2001-12-28  Corinna Vinschen  <corinna@vinschen.de>
1124
1125         * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1126
1127 2001-12-22  Geoffrey Keating  <geoffk@redhat.com>
1128             Catherine Moore  <clm@redhat.com>
1129             Richard Henderson  <rth@redhat.com>
1130             Corinna Vinschen  <vinschen@redhat.com>
1131
1132         * configure.host: Add support for xstormy16.
1133         * libc/include/machine/ieeefp.h: Add support for xstormy16.
1134         * libc/include/machine/setjmp.h: Add support for xstormy16.
1135         * libc/include/sys/config.h: Add support for xstormy16.
1136         * libc/machine/xstormy16/Makefile.am: New file.
1137         * libc/machine/xstormy16/Makefile.in: New file.
1138         * libc/machine/xstormy16/aclocal.m4: New file.
1139         * libc/machine/xstormy16/configure: New file.
1140         * libc/machine/xstormy16/configure.in: New file.
1141         * libc/machine/xstormy16/setjmp.S: New file.
1142
1143 2001-12-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
1144
1145         * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1146         * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1147
1148 2001-12-19  Corinna Vinschen  <corinna@vinschen.de>
1149
1150         * libm/machine/Makefile.am: Change rules to create correct lib.a.
1151         * libm/machine/Makefile.in: Regenerated through automake.
1152
1153 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1154
1155         * Makefile.am (DOCDIR): Force to empty string when doc
1156         directory is not present.
1157
1158 2001-12-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
1159
1160         * libc/machine/i386/f_*: Move to libm/machine/i386.
1161
1162 2001-12-18      Joel Sherrill <joel@OARcorp.com>
1163
1164         * libm/machine/Makefile.am: Add dummy doc stub so
1165         "make info" works.
1166
1167 2001-12-17      Joel Sherrill <joel@OARcorp.com>
1168
1169         * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1170
1171 2001-12-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
1172
1173         * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1174         $(COMPILE) rather than $(CC).
1175         * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1176         (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1177         $(LIB_COMPILE) change.
1178         (vfiprintf.$(oext)): Likewise.
1179
1180 2001-12-17  Corinna Vinschen  <vinschen@redhat.de>
1181
1182         * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1183         conditionalized including of getopt stuff.
1184
1185 2001-12-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
1186
1187         * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1188         compile line.
1189         (vfiprintf.$(oext)): Likewise.
1190
1191 2001-12-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
1192
1193         * Makefile.shared: New file.
1194         * libc/sys/linux/shared.ld: New file.
1195         * libm/machine/*: New files.
1196         * libm/machine/i386/*: New files.
1197         * Makefile.am: Add libtool support.  Change math and mathfp
1198         references to variables.
1199         * configure.host: Add variables for libtool support.  Add
1200         libm_machine_dir variable.
1201         * configure.in: Add objectlist variables, for libtool
1202         support.  Add CC_FOR_BUILD tests.
1203         * libc/Makefile.am: Add libtool support.  Change crt0.o
1204         reference to be a variable reference.
1205         * libc/configure.in: Add libtool support.  Change sublib
1206         names to be lib${subdir}.la when using libtool.
1207         * libc/ctype/Makefile.am: Add libtool support.
1208         * libc/errno/Makefile.am: Likewise.
1209         * libc/locale/Makefile.am: Likewise.
1210         * libc/machine/Makefile.am: Likewise.
1211         * libc/machine/configure.in: Likewise.
1212         * libc/machine/i386/Makefile.am: Likewise.
1213         * libc/machine/i386/configure.in: Likewise.
1214         * libc/misc/Makefile.am: Likewise.
1215         * libc/posix/Makefile.am: Likewise.
1216         * libc/reent/Makefile.am: Likewise.
1217         * libc/signal/Makefile.am: Likewise.
1218         * libc/stdio/Makefile.am: Likewise.
1219         * libc/stdlib/Makefile.am: Likewise.
1220         * libc/string/Makefile.am: Likewise.
1221         * libc/sys/Makefile.am: Likewise.
1222         * libc/sys/configure.in: Likewise.
1223         * libc/sys/linux/Makefile.am: Add libtool support.  Change
1224         awk reference to a variable reference.  Change signal.h
1225         reference to a variable reference.
1226         * libc/sys/linux/configure.in: Add libtool support.
1227         * libc/syscalls/Makefile.am: Likewise.
1228         * libc/time/Makefile.am: Likewise.
1229         * libc/unix/Makefile.am: Likewise.
1230         * libm/Makefile.am: Add libtool support.  Change math and
1231         mathfp references to variables.
1232         * libm/configure.in: Add libtool support.  Add
1233         LIBM_MACHINE_LIB variable.
1234         * libm/common/Makefile.am: Add libtool support.
1235         * libm/math/Makefile.am: Likewise.
1236         * libm/mathfp/Makefile.am: Likewise.
1237         Regenerate all Makefile.in, aclocal.m4, and configure.
1238
1239 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1240
1241         * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1242
1243 2001-12-06  John Peacock <jpeacock@rowman.com>
1244
1245         * libc/include/sys/unistd.h: Correct ualarm declaration.
1246
1247 2001-12-05  Nick Clifton  <nickc@cambridge.redhat.com>
1248
1249         * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1250         vector before calling the initialisation functions.
1251
1252 2001-11-29  Christopher Faylor  <cgf@redhat.com>
1253
1254         * libc/include/dirent.h: Protect against multiple inclusion.
1255
1256 2001-11-27  Christopher Faylor  <cgf@redhat.com>
1257
1258         * libc/include/sys/types.h: Define useconds_t.
1259         * libc/include/sys/ulimit.h: Declare ualarm.
1260
1261 2001-11-21  Christopher Faylor  <cgf@redhat.com>
1262
1263         * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1264
1265 2001-11-19  Hans-Peter Nilsson  <hp@bitrange.com>
1266
1267         * libc/sys/mmixware/*: Tweak license header in all source files.
1268
1269 2001-11-12  Corinna Vinschen  <vinschen@redhat.com>
1270
1271         * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1272         to here.  Rearrange for general inclusion by stdlib.h.
1273         * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1274         isn't defined.
1275         * libc/sys/linux/include/alloca.h: Move to libc/include.
1276
1277 2001-11-12  Anthony Green  <green@redhat.com>
1278
1279         * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1280
1281 2001-11-13  Hans-Peter Nilsson  <hp@bitrange.com>
1282
1283         * libc/sys/mmixware/*: Correct spacing in all source files.
1284         * libc/sys/mmixware/syscall.h: Move misplaced file...
1285         * libc/sys/mmixware/sys/syscall.h: ...here.
1286
1287 2001-11-12  Hans-Peter Nilsson  <hp@bitrange.com>
1288
1289         * libc/include/machine/ieeefp.h: Add support for mmix target.
1290         * libc/include/machine/setjmp.h: Ditto.
1291         * configure.host: Ditto.
1292         * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1293         libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1294         libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1295         libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1296         libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1297         libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1298         libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1299         libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1300         libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1301         libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1302         libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1303         libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1304         libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1305         libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1306         libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1307         libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1308         * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1309         libc/sys/mmixware/aclocal.m4: Generate.
1310
1311 2001-11-05  Corinna Vinschen  <corinna@vinschen.de>
1312
1313         * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1314         getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1315         when __CYGWIN__ is defined.
1316         * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1317         logwtmp().
1318
1319 2001-11-01  Arati Dikey  <aratidikey@hotmail.com>
1320
1321         * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1322         [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1323         * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1324         [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1325
1326 2001-10-24  Christopher Faylor  <cgf@redhat.com>
1327
1328         * libc/stdio/fseek.c: Reset pointer to buffer base
1329         when forced to seek outside of current buffer contents.
1330         This prevents the code from erroneously thinking there is
1331         anything in the current buffer.
1332
1333 2001-10-22  Geoffrey Keating  <geoffk@redhat.com>
1334
1335         * libc/include/math.h: The C++ standard adds the single-precision
1336         versions of the elementary functions.
1337
1338 2001-10-22  Christopher Faylor  <cgf@redhat.com>
1339
1340         * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1341         throughout.
1342         * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1343         * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1344         * system.c (_system_r): Ditto.
1345
1346 2001-10-17  Corinna Vinschen  <corinna@vinschen.de>
1347
1348         * libc/include/sys/unistd.h: Add prototype for fchdir() when
1349         __CYGWIN__ or __rtems__ is defined.
1350
1351 2001-10-01  Charles Wilson  <cwilson@ece.gatech.edu>
1352
1353         * libc/include/stdlib.h: add declarations for
1354         _strtoull_r, _strtoll_r, strtoull, and strtoll.
1355         * libc/stdio/local.h: remove declarations of
1356         __strtoull_r and __strtoll_r.
1357         * libc/stdio/vfscanf.c(__svfscanf_r): call
1358         _strtoull_r instead of __strtoull_r. Ditto
1359         _strtoll_r vs. __strtoll_r.
1360         * libc/stdlib/Makefile.am: add new files to
1361         .c list and .def list
1362         * libc/stdlib/Makefile.in: regenerate
1363         * libc/stdlib/strtoll_r.c: rename __strtoll_r
1364         as _strtoll_r
1365         * libc/stdlib/strtoull_r.c: rename __strtoull_r
1366         as _strtoull_r
1367         * libc/stdlib/strtoull.c: new file
1368         * libc/stdlib/strtoll.c: new file
1369
1370 Mon Sep 17 17:29:47 2001  Christopher Faylor <cgf@cygnus.com>
1371
1372         * libc/include/process.h: Add getpid() declaration.
1373
1374 2001-09-14  Nick Clifton  <nickc@cambridge.redhat.com>
1375
1376         * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1377         for new style arm/elf ctor/dtor handling.
1378         Minor formatting tidy up.
1379
1380 2001-09-13  Jeff Johnston  <jjohnstn@redhat.com>
1381
1382         * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1383         and strtoull_r.c.
1384         * libc/stdlib/Makefile.in: Regenerated.
1385         * libc/stdlib/strtoll_r.c: New file.
1386         * libc/stdlib/strtoull_r.c: New file.
1387         * libc/stdio/local.h: Add prototypes for long long string
1388         conversion routines.
1389         * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1390         tied to %L integer conversion specifier.
1391
1392 Thu Sep 13 08:49:49 2001  Jason Tishler <jason@tishler.net>
1393
1394         * strftime.c (strftime): Fix "%W" implementation to properly handle
1395         Mondays too.
1396
1397 2001-09-07  Jeff Law  <law@redhat.com>
1398
1399         * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1400         __fini with "mov.l" instead of "mov.w".
1401
1402 2001-09-05  Corinna Vinschen  <corinna@vinschen.de>
1403
1404         * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1405         and getopt.h.
1406
1407 2001-09-04  Jason Merrill  <jason_merrill@redhat.com>
1408
1409         * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1410
1411 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1412
1413         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1414         field.
1415         (__DIRENT_VERSION): New define.
1416
1417 2001-09-03  Corinna Vinschen  <corinna@vinschen.de>
1418
1419         * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1420         Shrink __d_reserved accordingly to keep structure size.
1421         (dirfd): Declare external.
1422
1423 2001-08-29  Joel Sherrill <joel@OARcorp.com>
1424
1425         * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1426
1427 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1428
1429         * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1430           libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1431           libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1432           libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1433           libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1434           libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1435           libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1436           libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1437         Add conditional compilation to avoid HW FPU instructions
1438         when compiled for soft-float.
1439
1440 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1441
1442         * Makefile.am: Add check for ln failing when creating libg.a
1443         so that cp gets used as a backup.
1444         * Makefile.in: Regenerated.
1445
1446 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>
1447
1448         * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1449         No longer include time.h.  Add struct __tm to use for
1450         _localtime_buf in the reentrant structure.  Add a
1451         _NULL definition to use in initializing the reentrant struct.
1452         * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1453         the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1454         <sys/_types.h>.
1455         * libc/include/sys/unistd.h: Include <sys/_types.h>.
1456         * libc/time/lcltime.c (localtime): Cast the reentrant struct
1457         _localtime_buf to be struct tm *.
1458
1459 Wed Aug 29 14:17:38 2001  J"orn Rennecke <amylaar@redhat.com>
1460
1461         * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1462         * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1463         __ctors_end.
1464         * libc/sys/h8300hms/syscalls.c: Include errno.h.
1465         (_unlink): New stub function.
1466
1467 Sat Aug 25 22:22:25 2001  Christopher Faylor <cgf@cygnus.com>
1468
1469         * libc/include/sys/errno.h: Add a cautionary comment.
1470
1471 2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>
1472
1473         * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1474         for SIZE_SZ so that alignment ends up a minimum of 8.
1475
1476 Mon Aug 13 22:26:01 2001  Christopher Faylor <cgf@cygnus.com>
1477
1478         * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1479         arguments.
1480
1481         * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1482         Cygwin.
1483
1484 2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>
1485
1486         * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1487         macro constants for mallopt options.
1488         (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1489
1490 2001-08-02  Jeff Johnston  <jjohnstn@redhat.com>
1491
1492         * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1493         otherwise default.
1494
1495 2001-07-12  Aldy Hernandez  <aldyh@redhat.com>
1496
1497         * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1498
1499 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
1500
1501         * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1502         Define for little endian ARMs.
1503
1504         * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1505         __IEEE_BYTES_LITTLE_ENDIAN is defined.
1506
1507 2001-06-11  Danny Smith  <dannysmith@users.sourceforge.net>
1508
1509         * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1510
1511 2001-06-11  Egor Duda  <deo@logos-m.ru>
1512
1513         * libc/ctype/ctype_.c: When compiled with gcc on platforms
1514         with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1515         initialized memory region. Platform can define COMPACT_CTYPE
1516         to avoid allocation of the additional 128 bytes of data.
1517         Add pointer to _ctype_ array. Always initialize all _ctype_
1518         array elements.
1519
1520 2001-06-08  Jonathan Larmour  <jlarmour@redhat.com>
1521
1522         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1523         NULL pointer.
1524
1525 2001-05-28  Nick Clifton  <nickc@cambridge.redhat.com>
1526
1527         * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1528
1529 2001-05-25  Nick Clifton  <nickc@cambridge.redhat.com>
1530
1531         * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1532         matching, non-word alignment, and the length is <= 4 but more than
1533         enough to move them over a word boundary.
1534         Add comments explaining what each instruction does.
1535
1536 Mon May  7 20:39:25 2001  Christopher Faylor <cgf@cygnus.com>
1537
1538         * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1539         * libc/include/sys/unistd.h: Ditto.
1540
1541 2001-05-04  Earnie Boyd  <earnie@users.sourceforge.net>
1542
1543         * libc/string/strrchr.c: Use strchr for the speed improvements.
1544
1545 2001-05-01  Jeff Johnston  <jjohnstn@redhat.com>
1546
1547         * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1548         real file systems, let __smakebuf() determine if line buffering
1549         should be used for stdout.
1550
1551 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1552
1553         * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1554
1555 2001-04-27  Jeff Johnston  <jjohnstn@redhat.com>
1556
1557         * libc/include/stdlib.h: Add prototype for _strtod_r.
1558
1559 2001-04-24  Charles Wilson  <cwilson@ece.gatech.edu
1560
1561         * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1562         * libc/stdio/vprintf.c (_vprintf_r): new function
1563         * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1564         * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1565         _DEFUN, and call _vfprintf_r, not vfprintf.
1566         * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1567         * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1568         _DEFUN, and call _vfprintf_r, not vfprintf.
1569
1570 2001-04-22  Earnie Boyd  <earnie@users.sourceforge.net>
1571   
1572         * libc/include/sys/unistd.h [X_OK]: Use better protection against
1573         Cygwin X_OK definitions in sys/file.h.
1574
1575 Fri Apr 20 23:17:51 2001  Christopher Faylor <cgf@cygnus.com>
1576
1577         * libc/include/sys/time.h: Define timercmp and other macros for
1578         __CYGWIN__, too.
1579
1580 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
1581         
1582         * acinclude.m4: Added --enable-malloc-debugging configure flag.
1583         * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1584         --enable-malloc-debugging selected.
1585         * aclocal.m4 configure: Regenerated.
1586           libm/aclocal.m4 libm/configure: Ditto.
1587         * libc/aclocal.m4 libc/configure: Ditto.
1588         * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1589         * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1590         * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1591         * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1592         * doc/aclocal.m4 doc/configure: Ditto.
1593
1594 2001-04-20  Jeff Johnston  <jjohnstn@redhat.com>
1595
1596         * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1597         into one list.
1598         [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1599         (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1600         function prototypes.
1601         (_fscanf_r, _sscanf_r): Ditto.
1602         * libc/include/stdlib.h: Added _strtod_r prototype.
1603         * libc/stdio/Makefile.am: Add new v*scanf functions.
1604         * libc/stdio/Makefile.in: Regenerate.
1605         * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1606         and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
1607         * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1608         * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1609         (sscanf): Changed to call __svfscanf_r with _REENT argument.
1610         (_sscanf_r): New routine.
1611         * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1612         with __svfscanf_r prototype.
1613         * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1614         routines.
1615         (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1616         structure as argument as calls reentrant versions of helper functions
1617         (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1618         to _strtol_r and _strtod_r respectively.
1619         * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1620         * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1621         _REENT argument.
1622         * libc/stdio/vscanf.c: New file.
1623         * libc/stdio/vsscanf.c: Ditto.
1624
1625 2001-04-19  Robert Collins  <rbtcollins@hotmail.com>
1626
1627         * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
1628         Define daylight to _daylight if it is not defined
1629         Prepare a variable export of timezone based on timezonevariable. 
1630         (Cannot be used with the timezone() function.)
1631
1632 2001-04-17  Stephen L. Moshier  <moshier@moshier.ne.mediaone.net>
1633
1634         * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1635          Correct the numerical values.
1636
1637 2001-04-13  Robert Collins <rbtcollins@hotmail.com>
1638
1639         * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1640
1641 Thu Apr 12 23:11:00 2001  Corinna Vinschen <corinna@vinschen.de>
1642
1643         * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1644         on case insensitve file systems.
1645
1646 2001-04-12  Robert Collins <rbtcollins@hotmail.com>
1647
1648         * libc/include/sys/features.h: Add appropriate defines for Cygwin
1649         pthread support.
1650         * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1651         * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1652         types.  Include <cygwin/types.h> for the cygwin specific typedefs.
1653
1654 2001-04-04  Richard Sandiford  <rsandifo@redhat.com>
1655
1656         * libc/include/machine/ieeefp.h: Comment about new configuration
1657         macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1658         * libm/common/fdlib.h: Define new macros for testing floats.
1659         * libm/common/sf_*: Use them.
1660         * libm/math/ef_*: Likewise.
1661         * libm/math/sf_*: Likewise.
1662
1663 2001-03-29  Jeff Johnston  <jjohnstn@redhat.com>
1664
1665         * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1666         prolog to by-pass possible assembler error.
1667
1668 2001-03-21  Egor Duda  <deo@logos-m.ru>
1669
1670         Allow building internal stubs for non-reentrant syscalls
1671         if target provides its own malloc
1672         * libc/reent/reent.c (errno): Move definition here.
1673         * libc/reent/sbrkr.c: From here.
1674
1675 2001-03-20  Danny Smith <dannysmith@users.sourceforge.net>
1676
1677         * libc/include/sys/types.h (BSD int typedefs): Guard with
1678         _BSDTYPES_DEFINED rather than _WINSOCK_H.
1679         (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1680         _SYS_TYPES_FD_SET.
1681         * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1682         (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1683
1684 Sat Mar 17 18:30:00 2001  Corinna Vinschen <corinna@vinschen.de>
1685
1686         * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1687         _PC_POSIX_SECURITY constants for Cygwin.
1688
1689 Wed Mar 14  9:34:00 2001  Corinna Vinschen <corinna@vinschen.de>
1690
1691         * libc/sys/cygwin/crt0.c: Add copyright hint.
1692         * libc/sys/cygwin/sys/dirent.h: Ditto.
1693         * libc/sys/cygwin/sys/param.h: Ditto.
1694         * libc/sys/cygwin/sys/utime.h: Ditto.
1695         * libc/sys/cygwin/sys/utmp.h: Ditto.
1696
1697 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
1698
1699         * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1700         equivalent to LONGINT.
1701
1702 2001-03-08  Richard Sandiford  <rsandifo@redhat.com>
1703
1704         * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1705         jmpbuf on MIPS64 targets.
1706         * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1707
1708 Wed Mar  7 16:02:07 2001  Christopher Faylor <cgf@cygnus.com>
1709
1710         * libc/include/sys/config.h: Use ssize_t for Cygwin read/write 
1711           declarations.
1712
1713 Mon Mar  5 21:48:54 2001  J"orn Rennecke <amylaar@redhat.com>
1714
1715         * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1716         For RTEMS, define to be ssize_t.  Default to int if not defined.
1717         * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1718         * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1719         * libc/stdio/local.h (__sread, __swrite): Likewise.
1720         * libc/include/sys/reent.h (_read, _write): Likewise.
1721         * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1722         * libc/syscalls/sysread.c (read): Likewise.
1723         * libc/syscalls/syswrite.c (write): Likewise.
1724
1725 2001-03-05  Jeff Johnston  <jjohnstn@redhat.com>
1726
1727         * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1728
1729 Sat Mar  3 00:34:14 2001  Christopher Faylor <cgf@cygnus.com>
1730
1731         * libc/include/sys/stat.h: Use special defines for executable stat bits
1732         when compiling for Cygwin.
1733         * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1734         for Cygwin.
1735
1736 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
1737
1738         * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1739         of strtok_r is always defined.
1740
1741 2001-03-02  Jeff Johnston  <jjohnstn@redhat.com>
1742
1743         * libc/include/machine/ansi.h: New dummy header file.
1744
1745 2001-02-22  Jeff Johnston  <jjohnstn@redhat.com>
1746
1747         * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1748         changed the copyright information to allow free modification of the
1749         file with no reference to "copying.dj".
1750         * libc/include/sys/stat-dj.h: Ditto.
1751         * libc/machine/i386/setjmp.S: Ditto.
1752         * libc/sys/h8300hms/sys/file.h: Ditto.
1753         * libc/sys/sysmec/access.c: Ditto.
1754         * libc/sys/sysnecv850/access.c: Ditto.
1755         * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1756         * libc/stdlib/getenv_r.c: Ditto.
1757         * libc/stdlib/putenv_r.c: Ditto.
1758         * libc/stdlib/setenv_r.c: Ditto.
1759         * libc/stdlib/getenv.c: Removed DJ reference since any possible
1760         modifications will now be in the _r version of this file.
1761         * libc/stdlib/putenv.c: Ditto.
1762         * libc/stdlib/setenv.c: Ditto.
1763         * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1764         valid.  Added a reference to DJ's web page that contains his address.
1765         * libc/sys/go32/*.s: Removed references to DJ's old address.
1766         * libc/sys/go32/*.c: Ditto.
1767         * libc/sys/go32/*.h: Ditto.
1768         * libc/sys/go32/*.S: Ditto.
1769         * libc/sys/go32/sys/*.h: Ditto.
1770
1771 2001-02-21  Jeff Johnston  <jjohnstn@redhat.com>
1772
1773         * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1774         HAVE_FCNTL flag check.
1775         * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1776         powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1777
1778 Thu Feb 15 01:39:51 2001  Christopher Faylor <cgf@cygnus.com>
1779
1780         * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1781
1782 2001-02-14  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
1783
1784         * libc/include/stdlib.h: Add declarations of rand48 functions and
1785         their reentrant versions.
1786         * libc/include/sys/reent.h: Move macros from rand48.h. Add
1787         struct _rand48 for shared parameters of rand48 functions.
1788         (struct _reent): Add a variable _r48 of struct _rand48.
1789         (_REENT_INIT): Add _r48 initialization.
1790         * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
1791         (CHEWOUT_FILES): Add rand48.def.
1792         * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
1793         * libc/stdlib/Makefile.in: Regenerated.
1794         * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
1795         NetBSD C library.
1796         * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
1797         * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
1798         * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
1799         * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
1800         * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
1801         * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
1802         * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
1803         * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
1804         * libc/stdlib/rand48.c (__dorand48): Ditto.
1805         * libc/stdlib/rand48.h: Ditto, and modify declarations of global
1806         parameters into macros referring them in the reentrant structure.
1807
1808 2001-02-12  Jeff Johnston  <jjohnstn@redhat.com>
1809
1810         * libc/include/sys/stat.h: Add mknod for Cygwin now that
1811         Cygwin definition has correct prototype.
1812
1813 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
1814
1815         * libc/include/sys/stat.h: Must revert change for mknod
1816         for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1817         prototype.
1818
1819 2001-02-08  Jeff Johnston  <jjohnstn@redhat.com>
1820
1821         * libc/include/stdio.h: Revert putw prototype.
1822
1823 2001-02-08  Edward M. Lee  <tailbert@yahoo.com>
1824
1825         * libc/include/grp.h: add prototype for initgroups.
1826         * libc/include/stdio.h: fix prototype for putw.
1827         * libc/include/sys/signal.h: add prototype for killpg.
1828         * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1829         * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1830         vhangup and remove duplicate sysconf prototype.
1831
1832 2001-02-07  Jeff Johnston  <jjohnstn@redhat.com>
1833
1834         * libc/sys/rtems/sys/types.h: Removed.
1835
1836 2001-02-05  Charles Wilson  <cwilson@ece.gatech.edu>
1837
1838         * libc/include/locale.h: add LC_MESSAGES definition
1839
1840 2001-02-01  Alexandre Oliva  <aoliva@redhat.com>
1841
1842         * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
1843         SYS_get_argN):
1844         * libc/sys/sh/syscalls.c (__setup_argv_for_main,
1845         __setup_argv_and_call_main): New.
1846
1847 2001-01-31  Jeff Johnston  <jjohnstn@redhat.com>
1848
1849         * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
1850         if defined.
1851         (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
1852         (L_tmpnam): Changed to use __L_tmpnam__ if defined.
1853         * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
1854         appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
1855
1856 Mon Jan 29 23:03:06 2001  Christopher Faylor <cgf@cygnus.com>
1857
1858         * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
1859         compiling under Cygwin.
1860
1861 2001-01-29  Jeff Johnston  <jjohnstn@redhat.com>
1862
1863         * libc/include/math.h (signgam): Change to errno-like solution
1864         using a function to return the address of the real signgam.
1865         * libc/reent/signgam.c: New file containing __signgam().
1866         * libc/reent/Makefile.am: Added signgam.c to list of files.
1867         * libc/reent/Makefile.in: Regenerated.
1868
1869 2001-01-25  Alexandre Oliva  <aoliva@redhat.com>
1870
1871         * libc/sys/sh/syscalls.c (_times): New.
1872
1873         * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
1874         * libc/sys/sh/syscalls.c (_gettimeofday): New.
1875
1876 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
1877
1878         * libc/include/math.h (signgam): Regress previous fix as
1879         it does not handle programs with extern int signgam in them.
1880
1881 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
1882
1883         * libc/include/math.h (signgam): Changed to a macro refering to
1884         its location in the reentrant structure.
1885
1886 2001-01-23  Jeff Johnston  <jjohnstn@redhat.com>
1887
1888         * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
1889         that suppressed . for %.0f, 0.1.  Check now looks if there
1890         are padding zeroes (expt) in addition to any digits (ndig) to
1891         print.
1892
1893 2001-01-18  Jeff Johnston  <jjohnstn@redhat.com>
1894
1895         * libc/sys/arc/Makefile.am: New file.
1896         * libc/sys/arc/Makefile.in: Ditto.
1897         * libc/sys/arc/aclocal.m4: Ditto.
1898         * libc/sys/arc/configure: Ditto.
1899         * libc/sys/arc/configure.in: Ditto.
1900         * libc/sys/arc/crt0.S: Ditto.
1901         * libc/sys/arc/isatty.c: Ditto.
1902         * libc/sys/arc/mem-layout.c: Ditto.
1903         * libc/sys/arc/sbrk.c: Ditto.
1904         * libc/sys/arc/syscalls.c: Ditto.
1905         * libc/sys/arc/sys/syscall.h: Ditto.
1906
1907 Wed Jan 17 23:20:56 2001  Christopher Faylor <cgf@cygnus.com>
1908
1909         * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
1910
1911 Fri Jan 12 00:34:31 2001  Christopher Faylor <cgf@cygnus.com>
1912
1913         * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
1914
1915 Thu Jan 11 20:42:06  2001  Earnie Boyd  <earnie_boyd@yahoo.com>
1916
1917         * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
1918
1919 2001-01-09  Nick Clifton  <nickc@redhat.com>
1920
1921         * configure.host (v859): Remove unsupported compiler options.
1922
1923 Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  <aaron@frye.com>
1924
1925         * src/newlib/configure.host (*-*-rtems*): add printf long long
1926         support for RTEMS.
1927
1928 2000-12-19  Graham Stott <grahams@redhat.com>
1929
1930         * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
1931
1932 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
1933
1934         * configure.host: Turn on long double I/O for Cygwin.
1935
1936 Wed Dec 14  Jeff Johnston  <jjohnstn@redhat.com>
1937
1938         * MAINTAINERS: Removed Ranjith.
1939         * NEWS: Updated for 1.9.0.
1940         * README: Updated.
1941         * acinclude.m4: Updated to release 1.9.0.
1942         * aclocal.m4 configure
1943           doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1944           libc/machine/aclocal.m4 libc/machine/configure
1945           libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
1946           libc/machine/arm/aclocal.m4 libc/machine/arm/configure
1947           libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
1948           libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
1949           libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
1950           libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
1951           libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
1952           libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
1953           libc/machine/i386/aclocal.m4 libc/machine/i386/configure
1954           libc/machine/i960/aclocal.m4 libc/machine/i960/configure
1955           libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
1956           libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
1957           libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
1958           libc/machine/mips/aclocal.m4 libc/machine/mips/configure
1959           libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
1960           libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
1961           libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
1962           libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
1963           libc/machine/sh/aclocal.m4 libc/machine/sh/configure
1964           libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
1965           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
1966           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
1967           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
1968           libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
1969           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
1970           libc/sys/aclocal.m4 libc/sys/configure
1971           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1972           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
1973           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
1974           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1975           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1976           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1977           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1978           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1979           libc/sys/linux/aclocal.m4 libc/sys/linux/configure
1980           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1981           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1982           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1983           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1984           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1985           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1986           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1987           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1988           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1989           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1990           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1991           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1992           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1993           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1994           libm/aclocal.m4 libm/configure: Regenerated.
1995
1996 Wed Dec 13 11:52:00 2000  Corinna Vinschen <vinschen@cygnus.com>
1997
1998         * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
1999         when __CYGWIN__ is defined.
2000
2001 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2002
2003         * libc/stdlib/ldtoa.c (_ldcheck): New routine
2004         that categorizes a long double as NaN, Infinity, or other.
2005         * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed 
2006         isinfl and isnanl static routines which were i386-specific.  Changed 
2007         calls to the two removed routines to a single _ldcheck call.
2008         * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2009
2010 2000-12-13  Jeff Johnston  <jjohnstn@redhat.com>
2011
2012         * Makefile.am: Fixed install-data-local target to use
2013         $(mkinstalldirs) for the installed header files to ensure
2014         the directories exist before copying.
2015         * Makefile.in: Regenerated.
2016
2017 2000-12-12  Jeff Johnston  <jjohnstn@redhat.com>
2018
2019         * libc/include/sys/unistd.h: Restored Cygwin _SC
2020         constants and moved new constants appropriately
2021         so Cygwin will build.
2022
2023 2000-12-11  Joel Sherrill <joel@OARcorp.com>
2024
2025         * Merge RTEMS specific .h files into main libc/include.
2026         * libc/sys/rtems/include/signal.h: Removed.
2027         * libc/sys/rtems/include/time.h: Removed.
2028         * libc/sys/rtems/sys/features.h: Removed.
2029         * libc/sys/rtems/sys/sched.h: Removed.
2030         * libc/sys/rtems/sys/siginfo.h: Removed.
2031         * libc/sys/rtems/sys/signal.h: Removed.
2032         * libc/sys/rtems/sys/time.h: Removed.
2033         * libc/sys/rtems/sys/times.h: Removed.
2034         definitions for time_t and clock_t since these are
2035         no longer in time.h.
2036         * libc/include/pthread.h: New file.
2037         * libc/include/sys/sched.h: New file.
2038         * libc/include/sys/features.h: New file.
2039         * libc/include/time.h: Removed duplicate definition of clock_t
2040         and time_t, get them from <sys/types.h> instead.  Add prototypes
2041         for POSIX clock and timer functionality.
2042         * libc/sys/linux/sys/types.h: Changed to include
2043         * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2044         * libc/include/sys/signal.h: Add more complete set of POSIX
2045         signal functionality including real-time and threaded signals.
2046         * libc/include/sys/types.h: Add clock_t, time_t, struct
2047         timespec, and struct itimerspec.  Centralizing these makes 
2048         things cleaner.  RTEMS uses 64-bit dev_t.
2049         Added numerous primitive definitions
2050         for pthreads including macros, pthread_attr_t,
2051         pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, 
2052         pthread_once_t, and pthread_t.
2053         * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2054         If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2055         Feature flags removed and moved to new file <sys/features.h>.
2056         Full set of POSIX sysconf() constants
2057
2058 2000-12-08  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2059
2060         * configure.host: Added x86 linux target.
2061         * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2062         definitions provided if not already defined.
2063         * libc/sys/linux/crt0.c: New file.
2064         * libc/sys/linux/Makefile.am: Ditto.
2065         * libc/sys/linux/Makefile.in: Ditto.
2066         * libc/sys/linux/aclocal.m4: Ditto.
2067         * libc/sys/linux/brk.c: Ditto.
2068         * libc/sys/linux/configure: Ditto.
2069         * libc/sys/linux/configure.in: Ditto.
2070         * libc/sys/linux/getoptlong.c: Ditto.
2071         * libc/sys/linux/ids.c: Ditto.
2072         * libc/sys/linux/inode.c: Ditto.
2073         * libc/sys/linux/io.c: Ditto.
2074         * libc/sys/linux/linux.c: Ditto.
2075         * libc/sys/linux/process.c: Ditto.
2076         * libc/sys/linux/realpath.c: Ditto.
2077         * libc/sys/linux/select.c: Ditto.
2078         * libc/sys/linux/signal.c: Ditto.
2079         * libc/sys/linux/systat.c: Ditto.
2080         * libc/sys/linux/termios.c: Ditto.
2081         * libc/sys/linux/time.c: Ditto.
2082         * libc/sys/linux/wait.c: Ditto.
2083         * libc/sys/linux/include/alloca.h: Ditto.
2084         * libc/sys/linux/include/getopt.h: Ditto.
2085         * libc/sys/linux/include/stdint.h: Ditto.
2086         * libc/sys/linux/include/unistd.h: Ditto.
2087         * libc/sys/linux/sys/cdefs.h: Ditto.
2088         * libc/sys/linux/sys/dirent.h: Ditto.
2089         * libc/sys/linux/sys/errno.h: Ditto.
2090         * libc/sys/linux/sys/fcntl.h: Ditto.
2091         * libc/sys/linux/sys/file.h: Ditto.
2092         * libc/sys/linux/sys/ioctl.h: Ditto.
2093         * libc/sys/linux/sys/resource.h: Ditto.
2094         * libc/sys/linux/sys/signal.h: Ditto.
2095         * libc/sys/linux/sys/stat.h: Ditto.
2096         * libc/sys/linux/sys/syscall.h: Ditto.
2097         * libc/sys/linux/sys/termios.h: Ditto.
2098         * libc/sys/linux/sys/time.h: Ditto.
2099         * libc/sys/linux/sys/types.h: Ditto.
2100         * libc/sys/linux/sys/utmp.h: Ditto.
2101         * libc/sys/linux/sys/utsname.h: Ditto.
2102         * libc/sys/linux/sys/wait.h: Ditto.
2103
2104 2000-12-08  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2105
2106         * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)  
2107         can be a relative path to $(top_srcdir)/install.sh so ensure the
2108         autoconf detected settings are properly passed recursively.
2109         Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2110         properly to subdirectories.
2111         * Makefile.in: Regenerated.
2112
2113 2000-12-07  Jay Kulpinski <jskulpin@eng01.gdds.com>
2114
2115         * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2116         a floating point register unless really printing a floating
2117         point number.
2118
2119 2000-12-07  Jeff Johnston  <jjohnstn@redhat.com>
2120
2121         * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2122         Also removed \r's.
2123         (asctoeg): Replaced alloca call with stack array and malloc
2124         when storage exceeds reasonable limit.
2125         (e53toe): Fixed einfin calls missing ldp parameter.
2126         (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2127
2128 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2129
2130
2131         * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2132
2133 2000-12-06  Jeff Johnston  <jjohnstn@redhat.com>
2134
2135         * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2136         * libc/stdlib/Makefile.in: Regenerated.
2137         * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2138         * libc/stdio/vfieeefp.h: Added long double bit structures.
2139         * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2140         [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2141         (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2142         * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2143         * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2144         _strtold routines used for conversions between character
2145         and long double.
2146
2147 Wed Dec  6 12:01:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2148
2149         * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2150
2151 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2152
2153         * libc/include/machine/time.h: RTEMS systems can configure clock
2154         tick rate so use sysconf() to ask.
2155
2156 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2157
2158         * libc/include/sys/times.h: Add reference to POSIX standard.
2159
2160 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2161
2162         * libc/include/sys/time.h: Added BSD timer manipulation macros
2163         used by RTEMS code.
2164
2165 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2166
2167         * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2168         referenced by code generated by gcc 2.8.1.
2169         (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to 
2170         satisfy gcc.
2171
2172 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2173
2174         * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2175
2176 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2177
2178         * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2179
2180 2000-12-04  Joel Sherrill <joel@OARcorp.com>
2181
2182         * configure.host (or16, or32): New entries for OpenCores
2183         OpenRisc CPUs.
2184         (*-*-rtems*): Add -DNO_EXEC.
2185
2186 2000-12-04  Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2187
2188         * libc/include/sys/errno.h: Added comments on many error numbers.
2189         * libc/string/strerror.c: Added some more strings.
2190
2191 2000-11-30  Jeff Johnston <jjohnstn@redhat.com>
2192
2193         * libc/sys/sh/syscalls.c (_link): New stub.
2194
2195 2000-11-29  Nick Clifton  <nickc@redhat.com>
2196
2197         * configure.host: Add xscale target.
2198         * libc/machine/xscale: New directory.
2199         * libc/machine/xscale/Makefile.am: New file.
2200         * libc/machine/xscale/Makefile.in: New file.
2201         * libc/machine/xscale/aclocal.m4: New file.
2202         * libc/machine/xscale/configure: New file.
2203         * libc/machine/xscale/configure.in: New file.
2204         * libc/machine/xscale/memchr.S: New file.
2205         * libc/machine/xscale/memcmp.S: New file.
2206         * libc/machine/xscale/memcpy.S: New file.
2207         * libc/machine/xscale/memmove.S: New file.
2208         * libc/machine/xscale/memset.S: New file.
2209         * libc/machine/xscale/strchr.S: New file.
2210         * libc/machine/xscale/strcmp.S: New file.
2211         * libc/machine/xscale/strcpy.S: New file.
2212         * libc/machine/xscale/strlen.S: New file.
2213
2214 Sat Nov 25 11:24:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2215
2216         * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2217         avoid compiler warnings.
2218
2219 2000-11-22  Michael Meissner  <meissner@redhat.com>
2220
2221         * libc/posix/execl.c (execl): Don't reference environ directly,
2222         reference it only via a static pointer to avoid problems with some
2223         shared library systems and with different uses of small data where
2224         the user specifies his own version of environ.
2225         * libc/posix/execv.c (execv): Ditto.
2226         * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2227         * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2228         * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2229
2230         * libc/stdlib/getenv.c (environ): Delete unused reference to
2231         environ.
2232
2233         * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2234         colorization.
2235         * libc/stdlib/system.c: Ditto.
2236
2237 Tue Nov 21 20:32:21 2000  Christopher Faylor <cgf@cygnus.com>
2238
2239         * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2240         including windows headers.
2241
2242 2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>
2243
2244         * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2245         * libc/include/dirent.h: Added definition of MAXNAMLEN if
2246         not defined by sys/dirent.h.
2247         * libc/posix/execvp.c: Added include of dirent.h to get
2248         MAXNAMLEN value which used to be in unistd.h.
2249
2250 Mon Nov  6 12:56:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2251
2252         * libc/include/sys/types.h: Change type of i to `size_t' in
2253         FD_ZERO macro to avoid compiler warnings.
2254
2255 Sun Oct 29 20:06:41 2000  Christopher Faylor <cgf@cygnus.com>
2256
2257         * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2258         * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
2259
2260 Tue Oct 24 20:16:00 2000  Corinna Vinschen <vinschen@cygnus.com>
2261
2262         * libc/include/sys/unistd.h: Add defines for sysconf values
2263         _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2264         _SC_AVPHYS_PAGES.
2265
2266 Mon Oct  9 20:26:33 2000  Christopher Faylor <cgf@cygnus.com>
2267
2268         * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2269         declarations for __CYGWIN__.
2270
2271 2000-09-19  Geoffrey Keating  <geoffk@cygnus.com>
2272
2273         * libc/signal/signal.c (__sigtramp_r): ISO C requires
2274         case labels to be integral constant expressions, so
2275         use an if/else tree instead.
2276         (_raise_r): Likewise.
2277
2278 2000-09-13  Jeff Johnston  <jjohnstn@redhat.com>
2279
2280         * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2281         clipping patch from e-mail reader.
2282
2283 2000-09-13  Will Cohen  <wcohen@redhat.com>
2284
2285         * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2286         Added return value 0.
2287         (_longjmp): Allow longjmp to return value of second argument
2288         passed to it.
2289
2290 2000-09-06  Jeff Johnston <jjohnstn@redhat.com>
2291
2292         * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2293         inline code to prevent having to include another header file.
2294
2295 Wed Sep  6 15:06:40 2000  Christopher Faylor <cgf@cygnus.com>
2296
2297         * Makefile.am: Fix space vs. tab problem in install-data-local.
2298         * Makefile.in: Regenerate.
2299
2300 Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>
2301
2302         * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2303         (_EXPARM): New macro for defining a function parameter.
2304         * libc/include/stdlib.h: Use _EXPARM.
2305         * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2306
2307 2000-09-05  Manfred Hollstein  <manfredh@redhat.com>
2308
2309         * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2310         required, as documented in the gnu coding standards.
2311         * Makefile.in: Regenerate.
2312
2313 2000-09-05  Jeff Johnston <jjohnstn@redhat.com>
2314
2315         * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2316         make O_NDELAY and O_NONBLOCK have the same value.
2317
2318 2000-08-30  Kazu Hirata  <kazu@hxi.com>
2319
2320         * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2321
2322 2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2323
2324         * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2325         * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2326         "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2327         everywhere else.
2328
2329 2000-08-30  Geoffrey Keating  <geoffk@cygnus.com>
2330
2331         * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2332         * libc/include/string.h: Don't include <sys/types.h>,
2333         as it causes really bad namespace pollution.  Don't declare
2334         swab(), it is properly declared in unistd.h.
2335
2336 2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2337
2338         * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2339         (broken) support for non-existent /etc/passwd field "comment".
2340
2341 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2342
2343         * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2344         only if _DIRENT_HAVE_D_NAMLEN is defined.
2345         (alphasort): aligned prototype with
2346         libc/sys/cygwin/sys/dirent.h and simplified function body.
2347         * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2348         long telldir (DIR *) as mentioned in annex B of POSIX.1
2349
2350 2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2351
2352         * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2353         of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2354         Added __CLI and __STI macros (controlled via
2355         _I386MACH_ALLOW_HW_INTERRUPTS macro).
2356         * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2357         libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2358         libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2359         libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2360         libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2361         libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2362         libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2363         libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2364         libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2365         libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2366         (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2367         for all global entry points.
2368         * libc/machine/i386/setjmp.S: removed code replicated in
2369         libc/machine/i386/i386mach.h and included i386mach.h instead;
2370         Use __CLI and __STI instead of cli and sti.
2371
2372 2000-08-25  DJ Delorie  <dj@redhat.com>
2373
2374         * libc/include/sys/unistd.h (environ): this one isn't from the
2375         DLL, no __IMPORT
2376
2377 Fri Aug 25 13:37:11 2000  Christopher Faylor <cgf@cygnus.com>
2378
2379         * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2380         environ when compiling under cygwin since it is already declared in
2381         unistd.h.
2382
2383 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2384
2385         * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2386         like  x << y-z  to the equivalent  x << (y-z).
2387         (d2b): changed if statements with assignment to perform the
2388         assignment prior to the if check.
2389         * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2390         * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2391         * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2392         * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2393         precedence.
2394         * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2395         Added "_execve" prototype (for execl.c, execle.c, execv.c, and 
2396         execve.c).
2397         * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2398         precedence.
2399         * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2400         clarify && and || precendence (and to remove pascalism).
2401         * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2402         * libm/math/s_infconst.c: added another pair of braces to all
2403         initializers for __infinity (need three: for __infinity[1] array,
2404         for union __dmath, and for i[2]).
2405
2406 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2407
2408         * libc/stdlib/abort.c: changed description: uses "raise" instead of
2409         "getpid" and "kill"; added: uses "write" and "_exit".
2410         Also included unistd.h for "_exit" prototype.
2411         * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2412         reent.h for "_fork_r" and "_wait_r" prototypes.
2413         (do_system): changed  extern char *environ[] to POSIX-friendly 
2414         extern char **environ.
2415         * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2416         prototypes.
2417         * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2418         * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2419         * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2420         * libc/reent/openr.c: included fcntl.h for "open" prototype.
2421         * libc/reent/signalr.c: included signal.h for "kill" prototype,
2422         unistd.h for "getpid" prototype.
2423         * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2424         * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2425         * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2426         prototype.  Also included stdlib.h for "abort", string.h for
2427         "strdup" and "strncmp" prototypes.
2428         * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2429         "strncpy", unistd.h for "read" and "close" prototypes.
2430         * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2431         "strcat" prototypes.
2432
2433 2000-08-23  Werner Almesberger  <Wernen Almesberger@epfl.ch>
2434
2435         * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2436         used later (ifdef __SCLE)
2437         * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2438         used later (ifdef MB_CAPABLE)
2439         * libc/string/memset.c (memset): removed unused variables "count"
2440         and "unaligned_addr"
2441         * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2442         "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2443         * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2444         and "gid"
2445
2446 2000-08-23  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2447
2448         * libc/stdlib/envlock.c: changed documented "__env_lock" and
2449         "__env_unlock" prototype from "void *" or "char *" to
2450         "struct _reent *" to match real function.  Also added include
2451         of envlock.h.
2452         * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2453         "__malloc_unlock" prototype from "void *" or "char *" to
2454         "struct _reent *" to match real function.
2455         * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2456         prototypes (for getenv_r.c and setenv_r.c).
2457
2458 2000-08-22  Werner Almesberger  <Werner.Almesberger@epfl.ch>
2459
2460         * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2461         and prototype in cygwin's utmp.h
2462
2463 2000-08-16  Eric Fifer  <efifer@sanwaint.com>
2464
2465         * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2466
2467 2000-08-09  Nick Clifton  <nickc@cygnus.com>
2468
2469         * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2470         epilogue and to allow the functions to be used in a Thumb based
2471         toolchain.
2472
2473 2000-08-08  Jeff Johnston <jjohnstn@redhat.com>
2474
2475         * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2476         so size of 0 results in nothing being written to string.
2477         Also fixed code so that when size is non-zero, there is only
2478         a maximum of size - 1 characters written to the array and
2479         a nul terminator is appended at the end.
2480         * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2481
2482 2000-08-01  DJ Delorie  <dj@redhat.com>
2483
2484         * libc/include/sys/config.h: define __IMPORT appropriately
2485         * libc/include/ctype.h (_ctype_): use __IMPORT
2486         * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2487         * libc/include/math.h (__mb_cur_max): ditto
2488         * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2489         * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2490         * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2491         * libc/include/unistd.h (environ): ditto
2492
2493 2000-07-28  Michael Meissner  <meissner@redhat.com>
2494
2495         * libc/include/math.h (__infinity): Declare as an array without
2496         bounds to get around small data support.  Rewrite Cygwin support
2497         to be more general.
2498         * libm/math/s_infconst.c (__infinity): Ditto.
2499         * libm/mathfp/s_infconst.c (__infinity): Ditto.
2500
2501 Thu Jul 27 10:46:01 2000  Christopher Faylor <cgf@cygnus.com>
2502
2503         * libc/include/math.h: Use appropriate dll import linkage for
2504         __infinity under Cygwin.
2505
2506 2000-07-13  DJ Delorie  <dj@cygnus.com>
2507
2508         * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2509
2510 Wed Jun 28 14:08:00 2000  Keith Walker  <keith.walker@arm.com>
2511
2512         * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2513         to argument list for AngelSWI_Reason_GetCmdLine.
2514
2515 Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  <marekm@linux.org.pl>
2516
2517         * configure.host: Add support for AVR target.
2518         * libc/include/machine/ieeefp.h: Likewise.
2519         * libc/include/sys/config.h: Likewise.
2520
2521 Thu Jun 22 18:35:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2522
2523         * README: Newlib 1.8.2 must be built in a separate directory
2524         than the sources.
2525
2526 Tue Jun 20 14:30:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2527
2528         * libc/include/sys/reent.h (_rand_next): Added __extension__
2529         qualifier as long long type is not strict ANSI.
2530         * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2531         to long long constant.
2532
2533 Fri Jun 16 23:02:00 2000  Corinna Vinschen <corinna@vinschen.de>
2534
2535         * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2536         `setegid' provided by Cygwin.
2537
2538 Thu Jun 15  0:21:00 2000  Corinna Vinschen <corinna@vinschen.de>
2539
2540         * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2541         account for Cygwin.
2542
2543 Fri Jun  9 14:28:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2544
2545         * libc/include/sys/reent.h (_rand_next): Changed to
2546         unsigned long long and moved to end of _reent struct in _new union.
2547         (_REENT_INIT): Changed to move _rand_next initialization.
2548         * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2549         linear congruential algorithm that is used by DJGPP.
2550
2551 Thu Jun  8 21:18:00 2000  Ranjith Kumaran  <ranjith@cygnus.com>
2552
2553         * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2554         * libc/include/sys/config.h: Define __RAND_MAX.
2555
2556 Thu Jun  8 17:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2557
2558         * libc/stdlib/rand_r.c: New algorithm that meets minimal
2559         standard.
2560
2561 Fri Jun  2 23:02:11 2000  Christopher Faylor <cgf@cygnus.com>
2562
2563         * libc/include/string.h: Work around problem with strsignal and gdb.
2564
2565 Tue May 30 13:13:01 2000  Christopher Faylor <cgf@cygnus.com>
2566
2567         * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2568         * libc/include/malloc.h: Ditto.
2569         * libc/include/process.h: Ditto.
2570         * libc/include/stdio.h: Ditto.
2571         * libc/include/stdlib.h: Ditto.
2572         * libc/include/time.h: Ditto.
2573         * libc/include/machine/setjmp.h: Ditto.
2574         * libc/include/sys/errno.h: Ditto.
2575         * libc/include/sys/signal.h: Ditto.
2576         * libc/include/sys/stat.h: Ditto.
2577         * libc/include/sys/time.h: Ditto.
2578         * libc/include/sys/unistd.h: Ditto.
2579         * libc/include/string.h: Ditto.  strsignal should return a const char *.
2580
2581 2000-05-26  Marek Michalkiewicz  <marekm@linux.org.pl>
2582
2583         * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2584         * libm/common/s_log1p.c (log1p): Likewise.
2585         * libm/common/s_scalbn.c (scalbn): Likewise.
2586         * libm/math/e_log.c: Likewise.
2587         * libm/math/e_asin.c: Likewise.
2588         * libm/math/ef_asin.c: Likewise.
2589         * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2590         * libm/math/e_j1.c (pone, qone): Likewise.
2591         * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2592         * libm/math/ef_j1.c (ponef, qonef): Likewise.
2593         * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2594         * libm/mathfp/e_j1.c (pone, qone): Likewise.
2595         * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2596         * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2597
2598 2000-05-19  DJ Delorie  <dj@cygnus.com>
2599
2600         * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2601         (__sread): always read in binary mode
2602         (__swrite): always write in binary mode
2603         * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2604         compatibility issues with different dll versions
2605         * libc/stdio/fopen.c: use __stextmode
2606         * libc/stdio/fdopen.c: ditto
2607         * libc/stdio/freopen.c: ditto
2608         * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2609         * libc/stdio/local.h: declare __stextmode
2610         
2611 2000-05-18  DJ Delorie  <dj@cygnus.com>
2612
2613         * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2614         
2615 Mon May 15 18:54:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2616
2617         * libc/include/ctype.h: Changed tolower and toupper macros
2618         to use __extension__ to prevent pedantic warnings.
2619
2620 Mon May 15 14:26:00 2000  Joel Sherrill  <joel@oarcorp.com>
2621
2622         * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2623         structures.
2624
2625 Wed May 10 19:24:53 2000  Jim Wilson  <wilson@cygnus.com>
2626
2627         * libc/include/machine/ieeefp.h: Add ia64 support.
2628         * configure.host: Likewise.
2629
2630 Wed May 10 13:52:24 2000  Egor Duda <deo@logos-m.ru>
2631
2632         * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2633         month is now padded with space, not zero.  This now conforms to
2634         ANSI standard.
2635
2636 Wed May 03 17:57:00 2000  Corinna Vinschen <corinna@vinschen.de>
2637
2638         * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2639         host or network path") used by cygwin. Add some comments.
2640
2641 Tue May 02 23:45:48 2000  DJ Delorie  <dj@cygnus.com>
2642
2643         * libc/include/stdio.h (FILE): define __SCLE for "convert line
2644         endings" for Cygwin.
2645         (__sgetc): convert line endings if needed
2646         (__sputc): ditto
2647         * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2648         * libc/stdio/fopen.c (_fopen_r): ditto
2649         * libc/stdio/freopen.c (freopen): ditto
2650         * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2651         * libc/stdio/fvwrite.c (__sfvwrite): ditto
2652
2653 Thu Apr 27 07:45:48 2000  Alexandre Oliva  <aoliva@cygnus.com>
2654
2655         * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2656         post-increment when it is worth it, spacewise.
2657
2658 Mon Apr 17 12:46:00 2000  Marek Michalkiewicz <marekm@linux.org.pl>
2659
2660         * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2661         * libc/stdio/findfp.c (std): Added declaration of flags and file.
2662         * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int 
2663         return type.
2664         * libc/stdio/putchar.c (putchar): Added return statement.
2665         * libc/stdio/refill.c (lflush): Added correct parentheses.
2666         * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2667         * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which 
2668         prints long value to use l qualifier.
2669         * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2670         messages and initialized local values: ilim, ilim1, and spec_case.
2671         * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2672         * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2673         * libc/stdlib/mprec.c: Ditto.
2674         * libc/stdlib/setenv_r.c: Ditto.
2675         * libc/stdlib/strtod.c: Ditto.
2676         * libc/stdlib/strtol.c: Ditto.
2677         * libc/stdlib/strtoul.c: Ditto.
2678         * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2679         * libm/common/sf_log1p.c: Ditto.
2680         * libm/common/sf_scalbn.c: Ditto.
2681         * libm/math/ef_log.c: Ditto.
2682
2683 Sun Apr 16 12:45:00 2000  Corinna Vinschen <corinna@vinschen.de>
2684
2685         * libc/posix/execvp.c (execvp): Check path for
2686         trailing slash.
2687
2688 Fri Mar 31 20:39:00 2000  Corinna Vinschen <corinna@vinschen.de>
2689
2690         * libc/include/sys/unistd.h: Add prototypes for
2691         fchmod, fchown, lchown.
2692
2693 Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>
2694
2695         * acinclude.m4: Changed release to 1.8.2.
2696         * aclocal.m4 configure doc/aclocal.m4 doc/configure
2697           libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2698           libc/machine/configure libc/machine/a29k/aclocal.m4
2699           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2700           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2701           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2702           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2703           libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2704           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2705           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2706           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2707           libc/machine/i386/configure libc/machine/i960/aclocal.m4
2708           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2709           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2710           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2711           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2712           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2713           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2714           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2715           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2716           libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2717           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2718           libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2719           libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2720           libc/machine/v850/configure libc/machine/w65/aclocal.m4
2721           libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2722           libc/machine/z8k/configure libc/sys/aclocal.m4
2723           libc/sys/aclocal.m4 libc/sys/configure
2724           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2725           libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2726           libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2727           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2728           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2729           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2730           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2731           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2732           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2733           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2734           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2735           libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2736           libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2737           libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2738           libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2739           libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2740           libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2741           libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2742           libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2743           libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2744           libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2745           libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2746           libm/aclocal.m4 libm/configure: Regenerated.
2747
2748 2000-03-24  Nick Clifton  <nickc@cygnus.com>
2749
2750         * libc/sys/arm/syscalls.c: Fix compile time warnings.
2751         (do_AngelSWI): Add "cc" to list o registers clobbered.
2752
2753 Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>
2754
2755         * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2756         information to be clobbered by an Angel C library support syscall. 
2757
2758 Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2759
2760         * libc/stdlib/envlock.c: Fixed comment typo.
2761
2762 Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2763
2764         * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2765         code to update nread as each character is processed instead
2766         of using buffer contents which throw away leading zeroes.
2767
2768 Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>
2769
2770         * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2771
2772 Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>
2773
2774         * libc/include/string.h: Include <sys/types.h>.
2775
2776 Fri Mar 10 14:53:50 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2777
2778         * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2779         with XSH5, not SVID.
2780
2781 Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
2782
2783         * libc/include/string.h: Changed last argument back to ssize_t
2784         to make it compatible with XPG4 definition which is 
2785         defined in <unistd.h>.  There is a conflict in the SVID 3
2786         and XPG4 definitions and newlib will settle with XPG4.
2787         * libc/string/swab.c: Ditto.
2788
2789 Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>
2790
2791         * libc/include/string.h: Changed last argument to size_t.
2792         * libc/string/swab.c: Changed last argument to size_t.
2793
2794 Wed Mar  8 00:46:41 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2795
2796         * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
2797         (CHEWOUT_FILES): Added unlinkr.def.
2798         * libc/reent/Makefile.in: Rebuilt.
2799         * libc/sys.tex: Include unlinkr.def.
2800         * libc/reent/linkr.c (_unlink_r): Moved to...
2801         * libc/reent/unlinkr.c: ... new file.
2802
2803 Wed Mar  8 00:43:07 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2804
2805         * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
2806         (CHEWOUT_FILES): Added swab.def.
2807         * libc/string/Makefile.in: Rebuilt.
2808         * libc/string/string.tex: Include swab.def.
2809         * libc/include/string.h (swab): Declare.
2810         * libc/string/swab.c: New file.
2811
2812 Wed Mar  8 00:38:35 2000  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
2813
2814         * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
2815         (CHEWOUT_FILES): Added getw.def and putw.def.
2816         * libc/stdio/Makefile.in: Rebuilt.
2817         * libc/stdio/stdio.tex: Include getw.def and putw.def.
2818         * libc/stdio/getw.c: New file.
2819         * libc/stdio/putw.c: New file.
2820
2821 Fri Feb 25 14:50:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
2822
2823         * libc/stdio/flags.c (__sflags): Added check that mode[1]
2824         is non-null before looking at mode[2].
2825
2826 Thu Feb 24 11:43:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
2827
2828         * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2829         * libm/mathfp/sf_atan.c: Ditto.
2830
2831 Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>
2832
2833         * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2834
2835 Tue Feb 22 14:37:00 2000  Ran Cabell <rcabell@norfolk.infi.net>
2836
2837         * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
2838         _DOUBLE_IS_32BITS.
2839
2840 Mon Feb 21 11:43:50 2000  Jeff Johnston <jjohnstn@cygnus.com>
2841
2842         * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
2843         call prior to calling _VFPRINTF_R so reentrant data area is set.
2844         (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2845
2846 Thu Feb 17 01:42:50 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2847
2848         * libc/stdio/vfscanf.c (limits.h): #include.
2849         (MAX_LONG_LEN): #define.
2850         (__svfscanf): Handle floating point numbers with arbitrary amounts
2851         of leading zeroes.
2852
2853 2000-02-15  Nick Clifton  <nickc@cygnus.com>
2854
2855         * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
2856         zero.  Set the blocksize to 1024/
2857
2858 Thu Jan 20 18:57:00 2000  Fernando Nasser <fnasser@redhat.com>
2859
2860         * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
2861         with line buffering.
2862
2863 Mon Jan 10 18:43:00 2000  Jeff Johnston <jjohnstn@cygnus.com>
2864
2865         * acinclude.m4: Changed include directory for winsup headers. 
2866         * aclocal.m4 configure libc/aclocal.m4
2867           libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
2868           libc/locale/Makefile.in libc/machine/aclocal.m4
2869           libc/machine/configure libc/machine/a29k/aclocal.m4
2870           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2871           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2872           libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2873           libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2874           libc/machine/fr30/configure
2875           libc/machine/h8300/aclocal.m4
2876           libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2877           libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2878           libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2879           libc/machine/i386/configure libc/machine/i960/aclocal.m4
2880           libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2881           libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2882           libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2883           libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2884           libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2885           libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2886           libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2887           libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2888           libc/machine/powerpc/configure 
2889           libc/machine/sh/aclocal.m4
2890           libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2891           libc/machine/sparc/configure
2892           libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2893           libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2894           libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2895           libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2896           libc/misc/Makefile.in libc/posix/Makefile.in
2897           libc/reent/Makefile.in 
2898           libc/signal/Makefile.in
2899           libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
2900           libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2901           libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
2902           libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2903           libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
2904           libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2905           libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2906           libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2907           libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2908           libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2909           libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2910           libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2911           libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2912           libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
2913           libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
2914           libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
2915           libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
2916           libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
2917           libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
2918           libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
2919           libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
2920           libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
2921           libc/sys/tic80/configure libc/sys/w65/aclocal.m4
2922           libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
2923           libc/sys/z8ksim/configure libc/syscalls/Makefile.in
2924           libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
2925           libm/configure: Regenerated.
2926
2927 Mon Jan 10 18:43:46 2000  Jeff Johnston <jjohnstn@cygnus.com>
2928
2929         * libc/stdlib/putenv_r.c (_putenv_r): New file.
2930         * libc/stdlib/strdup_r.c (_strdup_r): New file.
2931         * libc/include/string.h: Added _strdup_r.
2932         * libc/stdlib/putenv.c: Added call to reentrant version. 
2933         * libc/stdlib/strdup.c: Ditto.
2934         * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
2935         * libc/include/stdlib.h: Ditto.
2936         * libc/stdlib/Makefile.in: Regenerated. 
2937         * libc/string/Makefile.in: Regenerated.
2938         * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
2939         * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
2940         management calls to reentrant versions.
2941         * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
2942         * libc/stdlib/wctomb.c: Ditto.
2943         * libc/stdlib/mblen.c: Ditto.
2944         * libc/stdlib/mbstowcs.c: Ditto.
2945         * libc/stdlib/mbtowc.c: Ditto. 
2946         * libc/stdlib/getenv.c: Ditto.
2947         * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
2948         and _strdup_r.
2949
2950 Thu Jan  6 15:33:46 2000  Christopher Faylor <cgf@cygnus.com>
2951
2952         patch from Corinna Vinschen <corinna@vinschen.de>
2953         * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
2954
2955 Mon Jan 03 14:36:00 2000  Sergei Organov <osv@javad.ru>
2956
2957         * libm/mathfp/s_atangent.c: Fix exponent calculation.
2958         * libm/mathfp/s_ldexp.c: Ditto.
2959         * libm/mathfp/sf_atangent.c: Ditto.
2960         * libm/mathfp/sf_ldexp.c: Ditto.
2961
2962 Tue Dec 14 5:42:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
2963
2964         * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
2965         * libc/include/locale.h: define NULL to be 0.
2966
2967 Tue Dec  7 15:41:45 1999  Jim Wilson  <wilson@cygnus.com>
2968
2969         * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
2970         function.
2971
2972 Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
2973
2974         * libc/machine/mn10300/setjmp.S: Handle am33.
2975
2976 1999-11-26  Nick Clifton  <nickc@cygnus.com>
2977
2978         * libc/sys/arm/syscalls.c: Add function prototypes.
2979         (stack_ptr): Move declaration before function definitions.
2980
2981 Sat Nov 20 17:13:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
2982
2983         * NEWS: Updated version information.
2984         * README: Ditto.
2985
2986 Tue Nov 09 12:19:21 1999  Jeff Johnston <jjohnstn@cygnus.com>
2987
2988         * libc/machine/i386/strchr.S: Fixed alignment test.
2989
2990 Thu Oct 28 05:30:46 1999  Andrew Cagney  <cagney@makita.cygnus.com>
2991
2992         * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
2993
2994 Thu Oct 28 15:29:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2995
2996         * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
2997         ensuring that there is space between the two.
2998
2999 Thu Oct 14 13:39:21 1999  Christopher Faylor <cgf@cygnus.com>
3000
3001         * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3002         only.
3003
3004 1999-10-08  Vadim Egorov  <egorovv@1c.ru>
3005
3006         * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3007         section
3008
3009 Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3010
3011         * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3012         * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3013
3014 Fri Oct  1 13:17:59 CDT 1999  <joel@OARcorp.com>
3015         * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3016           per POSIX 1003.1b.
3017         * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3018           per POSIX 1003.1b.
3019
3020 1999-09-13  DJ Delorie  <dj@cygnus.com>
3021
3022         * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3023         also.
3024
3025 Thu Sep  9 15:31:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3026
3027         * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
3028         also note BUFSIZ as its size.
3029
3030 Tue Sep  7 17:15:00 1999  Joel Sherrill <joel@OARcorp.com>
3031
3032         * configure.host: Corrected feature defines for RTEMS.
3033         * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3034         * libc/include/sys/stat.h: mkfifo() should take const path arg.
3035         * libc/include/sys/unistd.h: pathconf() should take const path arg.
3036           Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3037           Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3038           _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
3039           _PC_PRIO_IO, and _PC_SYNC_IO.
3040         * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3041         * libc/machine/m68k/Makefile.in: Regenerated.
3042         * libc/machine/m68k/strcpy.c: New file.
3043         * libc/machine/m68k/strlen.c: New file.
3044         * libc/stdio/tmpnam.c: Always make the returned name usable.
3045         * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3046         * libc/sys/rtems/sys/dirent.h: New file.
3047         * libc/sys/rtems/sys/types.h: Added dev_t.
3048
3049 Tue Sep  7 17:15:00 1999   Jay Kulpinski <jskulpin@eng01.gdds.com>
3050
3051         * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3052
3053 Fri Sep  3 12:35:20 1999  Jeff Johnston <jjohnstn@cygnus.com>
3054
3055         * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3056         my patch.
3057
3058 Thu Sep  2 22:05:20 1999  Christopher Faylor <cgf@cygnus.com>
3059
3060         patch from Jeff Johnston <jjohnstn@cygnus.com>
3061         * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3062         buffer is not in a useful state.
3063
3064 1999-09-01  Nick Clifton  <nickc@cygnus.com>
3065
3066         * libc/sys/arm/syscalls.c (_link): Add stub.
3067
3068 Fri Aug 27 23:09:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3069
3070         * ftell.c (ftell): Use actual position within buffer for text mode.
3071         * findfp.c (std): Initialize ptr->_bf._size.
3072
3073 Wed Aug 18 18:48:02 1999  Christopher Faylor <cgf@cygnus.com>
3074
3075         * libc/include/sys/unistd.h: Add nice() declaration.
3076
3077 1999-08-09  Nick Clifton  <nickc@cygnus.com>
3078
3079         * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3080         declare as a thumb function so that the disassembler will see the
3081         mode change.
3082
3083 Thu Aug  5 17:37:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3084
3085         * libc/reent/reent.tex: Updated list of reentrant functions.
3086
3087 1999-07-09  Michael Meissner  <meissner@cygnus.com>
3088
3089         * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3090         
3091 Tue Jul  6 10:46:24 1999  Jeff Johnston <jjohnstn@cygnus.com>
3092
3093         * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3094         separate file.
3095         * libc/stdio/snprintf.c: New file.
3096         * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3097         separate file.
3098         * libc/stdio/vsnprintf.c: New file.
3099         * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3100         * libc/stdio/Makefile.in: Regenerated.
3101
3102 Mon Jul  5 14:43:24 1999  Christopher Faylor <cgf@cygnus.com>
3103
3104         Patch submitted by Egor Duda <deo@logos-m.ru>:
3105         * libc/include/stdio.h: Add declarations for *nprintf.
3106         * libc/stdio/sprintf.c (snprintf): New function.
3107         (_snprintf_r): New function.
3108         * libc/stdio/vsprintf.c (vsnprintf): New function.
3109         (_vnsprintf_r): New function.
3110
3111 Wed Jun 30 16:36:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3112
3113         * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3114         * libm/Makefile.am (stmp-targetdep): Ditto.
3115         * libc/Makefile.in: Regenerated.
3116         * libm/Makefile.in: Ditto.
3117
3118 Fri Jun 25 10:49:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3119
3120         * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3121         * libm/Makefile.am (stmp-targetdep): Ditto.
3122         * libc/Makefile.in: Regenerated.
3123         * libm/Makefile.in: Ditto.
3124
3125 Thu June 03 16:25:00 1999  Jeff Johnston <jjohnstn@cygnus.com>
3126
3127         * Makefile.am: Removed dependencies on all-recursive and added "."
3128         to the SUBDIRS list to prevent infinite recursion from occurring.
3129         Also removed any references to EXTRA_DATA.
3130         * libc/Makefile.am: Ditto.
3131         * libc/machine/Makefile.am: Ditto.
3132         * libc/machine/i386/Makefile.am: Ditto.
3133         * libm/Makefile.am: Ditto.
3134         * libc/sys/Makefile.am: Ditto.
3135         * Makefile.in: Regenerated.
3136         * aclocal.m4: Ditto.
3137         * configure: Ditto.
3138         * doc/Makefile.in: Ditto.
3139         * doc/aclocal.m4: Ditto.
3140         * doc/configure: Ditto.
3141         * libc/Makefile.in: Ditto.
3142         * libc/aclocal.m4: Ditto.
3143         * libc/configure: Ditto.
3144         * libc/machine/Makefile.in: Ditto.
3145         * libc/machine/aclocal.m4: Ditto.
3146         * libc/machine/configure: Ditto.
3147         * libc/machine/mn10300/Makefile.in: Ditto.
3148         * libc/machine/mn10300/aclocal.m4: Ditto.
3149         * libc/machine/mn10300/configure: Ditto.
3150         * libc/sys/Makefile.in: Ditto.
3151         * libc/sys/aclocal.m4: Ditto.
3152         * libc/sys/configure: Ditto.
3153         * libm/Makefile.in: Ditto.
3154         * libm/aclocal.m4: Ditto.
3155         * libm/configure: Ditto.
3156
3157 Thu June 03 16:20:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3158
3159         * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3160
3161 Fri May 28 17:09:00 1999  Ranjith Kumaran <ranjith@cygnus.com>
3162
3163         * libc/include/stdlib.h: Add reentrant routines.
3164         * libc/stdlib/Makefile.am: Add reentrant routines.
3165         * libc/stdlib/Makefile.in: Ditto.
3166         * libc/stdlib/envlock.c: New file.
3167         * libc/stdlib/envlock.h: New file.
3168         * libc/stdlib/getenv.c: Modify to call reentrant routine.
3169         * libc/stdlib/getenv_r.c: New file.
3170         * libc/stdlib/mblen.c: Modify to call reentrant routine.
3171         * libc/stdlib/mblen_r.c: New file.
3172         * libc/stdlib/setenv.c: Modify to call reentrant routine.
3173         * libc/stdlib/setenv_r.c: New file.
3174         * libc/stdlib/stdlib.tex: Add reentrant routines.
3175
3176 Mon May 17 22:01:38 1999  Christopher Faylor <cgf@cygnus.com>
3177
3178         * libc/include/sys/types.h: Define __MS_types__ whenever
3179         cygwin or win32.
3180
3181 Sun May 16 16:02:41 1999  Christopher Faylor <cgf@cygnus.com>
3182
3183         * libc/include/machine/ieeefp.h: Always default to little
3184         endian if Windows, regardless of architecture.
3185         * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3186         regardless of architecture.
3187
3188 Mon May  3 11:49:18 1999  Geoffrey Noer  <noer@cygnus.com>
3189
3190         * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3191         _WIN32 isn't defined.
3192
3193 Mon May  3 11:41:51 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3194
3195         * libm/common/s_rint.c (rint): Add volatile qualifier for
3196         intermediate value w.
3197         * libm/common/sf_rint.c (rintf): Ditto.
3198
3199 Thu Apr 29 20:34:27 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3200
3201         * libc/sys/arm/syscalls.c (remap_handle): Added check to
3202         ensure that std streams are initialized before being referenced.
3203
3204 1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
3205
3206         * README: Update reference to newlib@cygnus.com new
3207         newlib@sourceware.cygnus.com address.
3208
3209 Mon Apr 26 18:17:33 1999  Geoffrey Noer  <noer@cygnus.com>
3210
3211         * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3212         * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3213         defined, even if _WIN32 isn't defined.
3214
3215 Sat Apr 24 19:59:55 1999  Christopher Faylor <cgf@cygnus.com>
3216
3217         * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3218
3219 Wed Apr 21 18:01:00 1999  Ranjith Kumaran  <ranjith@cygnus.com>
3220
3221         * libc/include/sys/reent.h: Change Long and ULong to __Long and
3222         __ULong.
3223         * libc/stdlib/dtoa.c: Ditto.
3224         * libc/stdlib/mprec.c: Ditto.
3225         * libc/stdlib/mprec.h: Ditto.
3226         * libc/stdlib/strtod.c: Ditto.
3227
3228 1999-04-21  Nick Clifton  <nickc@cygnus.com>
3229
3230         * configure.host (mcore): Remove mcore machine directory.
3231
3232 1999-04-18  Nick Clifton  <nickc@cygnus.com>
3233
3234         * libc/include/machine/ieeefp.h: Add support for mcore target.
3235         * libc/include/machine/setjmp.h: Add support for mcore target.
3236         * configure.host: Add support for mcore target.
3237
3238 1999-04-13  Mark Salter  <msalter@cygnus.com>
3239
3240         * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3241         * libc/sys/arm/syscalls.c: Added isatty.
3242
3243 Wed Apr 07 16:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3244
3245         * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3246         insert zeroes after significant digits.
3247
3248 Wed Mar 17 22:06:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3249         
3250         * libc/stdio/vfprintf.c (cvt): Changed floating point
3251         cvt routine to use union used by dtoa to properly determine
3252         if the sign bit is on or not.
3253         * libc/stdio/vfieeefp.h: New file
3254         
3255 Wed Mar 17 17:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3256
3257         * aclocal.m4: Regenerated.
3258         * configure: Regenerated.
3259
3260 Wed Mar 17 16:35:04 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3261
3262         * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3263         f_tanf reference.
3264         * libc/machine/i386/Makefile.in: Regenerated.
3265
3266 Tue Mar 16 14:56:36 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3267
3268         * acinclude.m4: Changed to work with new automake.
3269         * configure: Regenerated.
3270         * libc/machine/i386/aclocal.m4: Regenerated.
3271         * libc/machine/i386/configure: Regenerated.
3272
3273 Tue Mar 16 13:55:36 1999  Corinna Vinschen  <corinna.vinschen@cityweb.de>
3274
3275         * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3276         for telldir() and seekdir().  Rename unused structure element
3277         for use with these two routines.
3278
3279 Fri Mar 12 19:11:58 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3280
3281         * libc/time/mktime.c (validate_structure): Multiple fixes to
3282         code to handle cases where input fields are outside valid ranges.
3283         * libc/stdlib/div.c (div): Modified invalid rounding check.
3284         * libc/stdlib/ldiv.c (ldiv): Ditto.
3285
3286 Thu Mar 11 21:32:13 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3287
3288         * libc/machine/i386/memcpy.S: Performance rewrite.
3289         * libc/machine/i386/memmove.S: Ditto.
3290         * libc/machine/i386/i386mach.h: Added more register definitions.
3291         * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3292         option used.
3293         * libc/include/machine/fastmath.h: Add definitions for x86
3294         fast-math routines.
3295
3296 Wed Mar 10 17:56:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3297
3298         * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3299
3300 Tue Mar  9 14:31:58 1999  Geoffrey Noer  <noer@cygnus.com>
3301
3302         Adjust newlib headers for new Cygwin Win32 API header files:
3303         * libc/include/sys/time.h: Check _WINSOCK_H rather than
3304         _GNU_H_WINDOWS32_SOCKETS.
3305         * libc/include/sys/types.h: Ditto.
3306
3307 Tue Mar 09 15:55:00 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3308
3309         *include/sys/reent.h: Add checks for size of Bigint element Long.
3310         *libc/dtoa.c: Change routines to use generic Long type.
3311         *libc/mprec.c: Change routines to use generic Long type.
3312         *libc/mprec.h: Change routines to use generic Long type.
3313
3314 Tue Mar 02 18:07:49 1999 Ranjith Kumaran  <ranjith@cygnus.com>
3315
3316         * libc/Makefile.am: Add .def files.
3317         * libc/Makefile.in: Regenerate.
3318         * libc/e_acosh.c: Documentation update.
3319         * libc/e_atanh.c: Documentation update.
3320         * libc/e_hypot.c: Documentation update.
3321         * libc/e_remainder.c: Documentation update.
3322         * libc/er_lgamma.c: Documentation update.
3323         * libc/mathfp.tex: Documentation update.
3324         * libc/s_acos.c: Documentation update.
3325         * libc/s_atan.c: Documentation update.
3326         * libc/s_atan2.c: Documentation update.
3327         * libc/s_cosh.c: Documentation update.
3328         * libc/s_fmod.c: Documentation update.
3329         * libc/s_isnan.c: Documentation update.
3330         * libc/s_log10.c: Documentation update.
3331         * libc/s_pow.c: Documentation update.
3332         * libc/w_jn.c: Documentation update.
3333
3334 Sun Feb 28 23:18:49 1999  Geoffrey Noer  <noer@cygnus.com>
3335
3336         * aclocal.m4: Regenerate.
3337         * configure: Regenerate.
3338
3339 Tue Feb 23 13:57:26 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3340
3341         * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3342         to return 1 if user specified return code is 0.
3343         * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3344
3345 Thu Feb 18 11:13:28 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3346
3347         * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3348         to save the return address.  Fixed longjmp to return to the original
3349         calling address of setjmp and to return the user specified return code
3350         rather than default to 1.
3351         * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3352
3353 Mon Feb 15 17:48:17 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3354
3355         * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3356
3357 1999-02-10  Nick Clifton  <nickc@cygnus.com>
3358
3359         * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3360         volatile so that its assignments will not be discarded.
3361
3362 Wed Feb 10 17:19:40 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3363
3364         * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3365         be __STRICT_ANSI__ which is generated by compiler.
3366         * libc/include/ctype.h: Ditto.
3367         * libc/include/math.h: Ditto.
3368         * libc/include/stdio.h: Ditto.
3369         * libc/include/stdlib.h: Ditto.
3370         * libc/include/string.h: Ditto.
3371         * libc/include/sys/signal.h: Ditto.
3372
3373 1999-02-08  Nick Clifton  <nickc@cygnus.com>
3374
3375         * configure.host: Add support for StrongARM target.
3376
3377 Fri Feb  5 11:13:14 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3378
3379         * libc/string/strncpy.c (strncpy): Removed redundant code
3380         that was copying bytes if data unaligned.
3381
3382 1999-02-02  Brendan Kehoe  <brendan@cygnus.com>
3383
3384         * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3385         mbstowcs.def, and wcstombs.def.
3386
3387 Sat Jan 30 02:36:33 1999  Christopher Faylor <cgf@cygnus.com>
3388
3389         * libc/include/sys/errno.h: Add Cygwin errno.
3390         * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3391         is specified.
3392
3393 1999-01-29  Nick Clifton  <nickc@cygnus.com>
3394
3395         * libc/sys/arm/syscalls.c: Move C library functions into seperate
3396         file.
3397         
3398         * libc/sys/arm/libcfunc.c: New file containing C library functions
3399         from syscalls.c
3400
3401         * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3402         * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3403
3404
3405 1999-01-27  Michael Meissner  <meissner@cygnus.com>
3406
3407         * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3408         type, and cut size in half so that the jmp_buf array is guaranteed
3409         to be aligned on a 64-bit boundary.
3410
3411 Mon Jan 25 12:05:38 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3412
3413         * libc/string/strings.tex: Added information about
3414         strcasecmp and strncasecmp.
3415         * libc/stdlib/stdlib.tex: Added missing information
3416         about mblen, mbstowcs, and wcstombs.
3417         * libc/string/strchr.c: Changed how mask is built to use
3418         shift operators so register will be used instead of storage.
3419
3420 1999-01-22  DJ Delorie  <dj@cygnus.com>
3421
3422         * libc/include/stdlib.h: don't use dllimport if we're building
3423         newlib, since it's inside cygwin.dll
3424
3425 Fri Jan 22 14:57:18 1999  Christopher Faylor <cgf@cygnus.com>
3426
3427         * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3428         _ctype_ under cygwin.
3429
3430 Fri Jan 22 09:50:19 1999  Christopher Faylor <cgf@cygnus.com>
3431
3432         * include/stdlib.h: Fix typo from previous checkin.
3433
3434 Thu Jan 21 22:42:21 1999  Christopher Faylor <cgf@cygnus.com>
3435
3436         * include/ctype.h: Use __declspec(dllimport) method for exporting
3437         variable from cygwin DLL.
3438         * include/time.h: Ditto.
3439         * sys/errno.h: Ditto.
3440         * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3441         * libc/locale/locale.c: Use __declspec(dllexport) method for
3442         exporting variable from cygwin DLL.
3443
3444 Sat Jan 16 13:29:54 1999  Christopher Faylor <cgf@cygnus.com>
3445
3446         * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3447         access of bogus pointer will result in SIGSEGV.
3448
3449 1999-01-07  Nick Clifton  <nickc@cygnus.com>
3450
3451         * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3452         of an underscore prefix to function names.
3453
3454 Fri Jan  8 19:00:07 1999  Jeff Johnston  <jjohnstn@cygnus.com>
3455
3456         * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3457         define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3458
3459 1998-12-31  Michael Meissner  <meissner@cygnus.com>
3460
3461         * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3462         to `%' if not already defined.
3463
3464 1998-12-30  Michael Meissner  <meissner@cygnus.com>
3465
3466         * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3467         arguments const char *, not char *.
3468         * libc/include/stdio.h (_tempnam_r): Ditto.
3469
3470         * libc/include/sys/reent.h (struct _reent): The _sig_func type
3471         points to a function taking an integer, not void.
3472
3473 Tue Dec 29 14:35:53 1998  Christopher Faylor <cgf@cygnus.com>
3474
3475         * configure.host: Add a define for Cygwin builds.
3476         * libc/include/ctype.h: Don't use dll imported variables in newlib.
3477
3478 Mon Dec 28 09:19:56 1998  Christopher Faylor <cgf@cygnus.com>
3479
3480         * libc/include/ctype.h: Define _ctype_ as dll imported variable
3481         for use with Cygwin.
3482         * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3483         dll imported variables for use with Cygwin.
3484         * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3485         as a dll imported variable for Cygwin.
3486
3487 Sat Dec 26 00:13:53 1998  Christopher Faylor <cgf@cygnus.com>
3488
3489         * libc/include/sys/unistd.h: Add proto for getpass.
3490
3491 Fri Dec 18 19:28:19 1998  Geoffrey Noer  <noer@cygnus.com>
3492
3493         * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3494         alphasort.
3495
3496 Fri Dec 18 16:33:25 1998  Geoffrey Noer  <noer@cygnus.com>
3497
3498         * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3499         not posix_path_list_p.
3500
3501 1998-12-15  Nick Clifton  <nickc@cygnus.com>
3502
3503         * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3504         a signed int.
3505
3506 1998-12-13  Nick Clifton  <nickc@cygnus.com>
3507
3508         * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3509
3510 1998-12-12  Nick Clifton  <nickc@cygnus.com>
3511
3512         * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3513         <msalter@cygnus.com>
3514         * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3515         * libc/machine/fr30/Makefile.in: Regenerated.
3516
3517 1998-12-11  Nick Clifton  <nickc@cygnus.com>
3518
3519         * configure.host: Remove use of libc/sys for FR30 port.
3520         * libc/sys/fr30: Remove directory (replaced by libgloss).
3521
3522 1998-12-10  Ken Raeburn  <raeburn@cygnus.com>
3523
3524         * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3525         * libc/string/strncat.c (ALIGNED): Ditto.
3526
3527 Wed Dec  9 14:37:57 1998  Geoffrey Noer  <noer@cygnus.com>
3528
3529         * libc/include/sys/time.h: include sys/types.h
3530
3531 Tue Dec  8 15:53:18 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3532
3533         * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3534         comparison found when checking word at a time.
3535
3536 1998-12-04  Nick Clifton  <nickc@cygnus.com>
3537
3538         * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3539
3540 1998-12-03  Nick Clifton  <nickc@cygnus.com>
3541
3542         * libc/sys/fr30/syscalls.c (_times): New function stub.
3543
3544 Thu Dec  3 15:59:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3545
3546         * configure.host (mach_add_setjmp): Replaced mach_add_objs
3547         with mach_add_setjmp flag which indicates if setjmp should
3548         be added to the machine directory objects.
3549         * acinclude.m4: Removed reference to mach_add_objs.
3550         * aclocal.m4: Regenerated.
3551         * Makefile.in: Regenerated.
3552         * configure: Regenerated.
3553         * libc/aclocal.m4: Regenerated.
3554         * libc/Makefile.in: Regenerated.
3555         * libc/configure: Regenerated.
3556         * libc/machine/aclocal.m4: Regenerated.
3557         * libc/machine/Makefile.in: Regenerated.
3558         * libc/machine/configure: Regenerated.
3559         * libc/machine/i386/aclocal.m4: Regenerated.
3560         * libc/machine/i386/Makefile.am: Altered to selectively add
3561         setjmp.S to the src files list.
3562         * libc/machine/i386/Makefile.in: Regenerated.
3563         * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3564         * libc/machine/i386/configure: Regenerated.
3565
3566 1998-12-02  Nick Clifton  <nickc@cygnus.com>
3567
3568         * libc/sys/fr30/crt0.s (_start): Fix function names.
3569
3570         * libc/machine/fr30: New directory
3571         * libc/machine/fr30/Makefile.am: New file.
3572         * libc/machine/fr30/Makefile.in: New generated file.
3573         * libc/machine/fr30/configure.in: New file.
3574         * libc/machine/fr30/configure: New generated file.
3575         * libc/machine/fr30/aclocal.m4: New generated file.
3576         * libc/sys/fr30/Makefile.am: New file.
3577         * libc/sys/fr30/Makefile.in: New generated file.
3578         * libc/sys/fr30/configure.in: New file.
3579         * libc/sys/fr30/configure: New generated file.
3580         * libc/sys/fr30/syscalls.c: New file.
3581
3582 Tue Dec  1 16:28:56 1998  Geoffrey Noer  <noer@cygnus.com>
3583
3584         * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3585
3586 1998-12-01  Ken Raeburn  <raeburn@cygnus.com>
3587
3588         * libc/time/strftime.c (strftime): Also handle %y for years before
3589         1900.
3590
3591 Tue Dec  1 13:26:07 1998  Christopher Faylor <cgf@cygnus.com>
3592
3593         * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3594         UNIX convention.  Perform tolower on characters before comparing
3595         them rather than use toupper.
3596         * libc/string/strncasecmp.c (strncasecmp): Ditto.
3597
3598 Mon Nov 30 16:24:19 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3599         
3600         * configure.host: Added using i386 machine directory
3601         for all x86 cross-compiler and configuring
3602         which added object files to use via new "mach_add_objs" variable.
3603         * configure: Regenerated.
3604         * libc/configure: Regenerated.
3605         * libc/Makefile.in: Regenerated.
3606         * libc/aclocal.m4: Regenerated.
3607         * libc/ctype/Makefile.in: Regenerated.
3608         * libc/errno/Makefile.in: Regenerated.
3609         * libc/locale/Makefile.in: Regenerated.
3610         * libc/machine/Makefile.in: Regenerated.
3611         * libc/machine/aclocal.m4: Regenerated.
3612         * libc/machine/configure: Regenerated.
3613         * libc/posix/Makefile.in: Regenerated.
3614         * libc/reent/Makefile.in: Regenerated.
3615         * libc/signal/Makefile.in: Regenerated.
3616         * libc/stdio/Makefile.in: Regenerated.
3617         * libc/stdlib/Makefile.in: Regenerated.
3618         * libc/string/Makefile.in: Regenerated.
3619         * libc/string/memmove.c: Optimized code to use memcpy
3620         logic when performing a non-destructive copy.
3621         * libc/string/strncmp.c: Altered code to allow building
3622         optimized for size or speed.
3623         * libc/syscalls/Makefile.in: Regenerated.
3624         * libc/time/Makefile.in: Regenerated.
3625         * libc/unix/Makefile.in: Regenerated.
3626         * libc/machine/i386/Makefile.am: Added new files and reference
3627         to "mach_add_objs" to indicate optional object files.
3628         * libc/machine/i386/Makefile.in: Regenerated.
3629         * libc/machine/i386/aclocal.m4: Regenerated.
3630         * libc/machine/i386/configure: Regenerated.
3631         * libc/machine/i386/memchr.S: New file that implements
3632         function in Intel assembler.
3633         * libc/machine/i386/memcmp.S: ditto.
3634         * libc/machine/i386/memcpy.S: ditto.
3635         * libc/machine/i386/memmove.S: ditto.
3636         * libc/machine/i386/memset.S: ditto.
3637         * libc/machine/i386/strchr.S: ditto.
3638         * libc/machine/i386/strlen.S: ditto.
3639         * libc/machine/i386/f_atan2.S: New file that implements
3640         fast version of math function to be used by compiler when
3641         --ffast_math compile option is used.
3642         * libc/machine/i386/f_atan2f.S: ditto.
3643         * libc/machine/i386/f_exp.c: ditto.
3644         * libc/machine/i386/f_expf.c: ditto.
3645         * libc/machine/i386/f_frexp.S: ditto.
3646         * libc/machine/i386/f_frexpf.S: ditto.
3647         * libc/machine/i386/f_ldexp.S: ditto.
3648         * libc/machine/i386/f_ldexpf.S: ditto.
3649         * libc/machine/i386/f_log.S: ditto.
3650         * libc/machine/i386/f_logf.S: ditto.
3651         * libc/machine/i386/f_log10.S: ditto.
3652         * libc/machine/i386/f_log10f.S: ditto.
3653         * libc/machine/i386/f_math.h: New file.
3654         * libc/machine/i386/f_pow.c: ditto.
3655         * libc/machine/i386/f_powf.S: ditto.
3656         * libc/machine/i386/f_tan.S: ditto.
3657         * libc/machine/i386/f_tan.S: ditto.
3658         * libc/machine/i386/i386mach.h: New file.
3659
3660 Mon Nov 30 13:02:17 1998  Christopher Faylor <cgf@cygnus.com>
3661
3662         patch from Mumit Khan <khan@xraylith.wisc.edu>
3663         * libc/include/stdio.h (tempnam): Add prototype.
3664         * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3665         (tempnam): Adhere to prototype.
3666
3667 Thu Nov 26 00:21:32 1998  Christopher Faylor <cgf@cygnus.com>
3668
3669         * Makefile.am: Add default for AR_FLAGS.
3670         * Makefile.in: Regenerate.
3671
3672 Tue Nov 24 18:48:56 1998  Geoffrey Noer  <noer@cygnus.com>
3673
3674         * libc/include/time.h: move __cplusplus wrapper after includes
3675         * libc/include/sys/time.h: ditto.  If Cygwin, include
3676         sys/select.h.
3677         * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3678
3679 1998-11-23  Ken Raeburn  <raeburn@cygnus.com>
3680
3681         * libc/time/strftime.c (strftime): Handle %y after year 2000.
3682
3683 Wed Nov 18 12:22:41 1998  Nick Clifton  <nickc@cygnus.com>
3684
3685         * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3686         abnormnal end-of-crt0 marker.
3687
3688 Tue Nov 17 16:27:58 1998  Nick Clifton  <nickc@cygnus.com>
3689
3690         * libc/sys/fr30/crt0.s: New file/directory.
3691         * libc/include/machine/setjmp.h: Add FR30 target.
3692         * libc/include/machine/ieeefp.h: Add FR30 target.
3693         * configure.host: Add FR30 target.
3694
3695 Mon Nov  16 23:15:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3696
3697         * libm/math: Files that are duplicated in common directory removed.
3698         * libm/math/fdlibm.h: Removed.
3699         * libm/math/s_cbrt.c: Removed.
3700         * libm/math/s_copysign.c: Removed.
3701         * libm/math/s_expm1.c: Removed.
3702         * libm/math/s_finite.c: Removed.
3703         * libm/math/s_ilogb.c: Removed.
3704         * libm/math/s_infinity.c: Removed.
3705         * libm/math/s_lib_ver.c: Removed.
3706         * libm/math/s_log1p.c: Removed.
3707         * libm/math/s_logb.c: Removed.
3708         * libm/math/s_matherr.c: Removed.
3709         * libm/math/s_modf.c: Removed.
3710         * libm/math/s_nan.c: Removed.
3711         * libm/math/s_nextafter.c: Removed.
3712         * libm/math/s_rint.c: Removed.
3713         * libm/math/s_scalbn.c: Removed.
3714         * libm/math/sf_cbrt.c: Removed.
3715         * libm/math/sf_copysign.c: Removed.
3716         * libm/math/sf_expm1.c: Removed.
3717         * libm/math/sf_finite.c: Removed.
3718         * libm/math/sf_ilogb.c: Removed.
3719         * libm/math/sf_infinity.c: Removed.
3720         * libm/math/sf_log1p.c: Removed.
3721         * libm/math/sf_logb.c: Removed.
3722         * libm/math/sf_modf.c: Removed.
3723         * libm/math/sf_nan.c: Removed.
3724         * libm/math/sf_nextafter.c: Removed.
3725         * libm/math/sf_rint.c: Removed.
3726         * libm/math/sf_scalbn.c: Removed.
3727         * libm/math/Makefile.am: Removed references to deleted files (above).
3728         * libm/math/Makefile.in: Regenerated.
3729         * libm/Makefile.am: Added common directory to math.
3730         * libm/Makefile.in: Regenerated.
3731
3732 Mon Nov  2 23:12:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3733
3734         * libm/mathfp: Add non-ANSI functions.
3735         * libm/mathfp/e_acosh.c acosh(): New file.
3736         * libm/mathfp/e_atanh.c atanh(): New file.
3737         * libm/mathfp/e_hypot.c hypot(): New file.
3738         * libm/mathfp/e_j0.c j0(): New file.
3739         * libm/mathfp/e_j1.c j1(): New file.
3740         * libm/mathfp/e_remainder.c remainder(): New file.
3741         * libm/mathfp/e_scalb.c scalb(): New file.
3742         * libm/mathfp/ef_acosh.c acoshf(): New file.
3743         * libm/mathfp/ef_atanh.c atanhf(): New file.
3744         * libm/mathfp/ef_hypot.c hypotf(): New file.
3745         * libm/mathfp/ef_j0.c j0f(): New file.
3746         * libm/mathfp/ef_j1.c j1f(): New file.
3747         * libm/mathfp/ef_remainder.c remainderf(): New file.
3748         * libm/mathfp/ef_scalb.c scalbf(): New file.
3749         * libm/mathfp/er_gamma.c gamma_r: New file.
3750         * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3751         * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3752         * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3753         * libm/mathfp/w_cabs.c cabs(): New file.
3754         * libm/mathfp/w_drem.c drem(): New file.
3755         * libm/mathfp/w_jn.c jn(): New file.
3756         * libm/mathfp/wf_cabs.c cabsf(): New file.
3757         * libm/mathfp/wf_drem.c dremf(): New file.
3758         * libm/mathfp/wf_jn.c jnf(): New file.
3759
3760 Mon Nov  2 16:43:18 1998  Geoffrey Noer  <noer@cygnus.com>
3761
3762         * libc/sys/cygwin32: remove directory and contents
3763         * libc/sys/cygwin: and add back, losing the "32".
3764         * configure.host: check for cygwin* instead of cygwin32.
3765         * acinclude.m4: ditto.
3766         * aclocal.m4: regenerate with aclocal
3767         * configure: regenerate with autoconf
3768
3769 Tue Oct 20 17:28:28 1998  Geoffrey Noer  <noer@cygnus.com>
3770
3771         * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3772         for length
3773
3774 Tue Oct 20 18:49:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3775
3776         * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3777         _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3778         to make rand/srand, strtok, asctime, localtime, w_gamma,
3779         w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
3780         time.h to bring in struct tm definition.
3781         * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3782         '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
3783         * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
3784         instead of static variable.
3785         * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
3786         struct reent instead of static variable.
3787         * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
3788         struct reent instead of static variable.
3789         * libm/math/Makefile.am: Removed s_signgam.o.
3790         * libm/math/Makefile.in: Regenerated.
3791         * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
3792         struct reent instead of global variable 'signgam'.
3793         * libm/math/w_lgamma.c (lgamma): Likewise.
3794         * libm/math/wf_gamma.c (gammaf): Likewise.
3795         * libm/math/wf_lgamma.c (lgammaf): Likewise.
3796         * libm/math/s_signgam.c: Removed.
3797         * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
3798         to be const.
3799         * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
3800         to be const.
3801         * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
3802         libc/include/reent.h.
3803         * libc/reent/Makefile.in: Regenerated.
3804         * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
3805         to be const.
3806         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
3807         'JIS_action_table' to be const.
3808         * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
3809
3810 Mon Oct 12 00:26:33 1998  Christopher Faylor <cgf@cygnus.com>
3811
3812         * acinclude.m4:  $with_target_subdir should default to '.'
3813         or confusion results when configuring in same directory as sources.
3814         * Regenerate all aclocal.m4 and configure files.
3815
3816 Fri Oct  9 16:27:36 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3817
3818         * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3819         can be set by defining MALLOC_ALIGNMENT=16.  Also added support
3820         for platforms where sizeof(size_t) < sizeof(long) via
3821         SIZE_T_SMALLER_THAN_LONG macro.
3822         
3823 Wed Oct  7 14:02:40 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3824
3825         * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3826         to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3827         which sets _CLOCKS_PER_SEC_ for selected machines.
3828         * libc/include/machine/time.h: New file.
3829
3830 Tue Oct  6 16:08:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3831
3832         * libc/syscalls/sysexecve.c: New file.
3833         * libc/syscalls/sysgettod.c: New file.
3834         * libc/syscalls/systimes.c: New file.
3835         * libc/syscalls/Makefile.am: Added new objects.
3836         * libc/syscalls/Makefile.in: Regenerated.
3837         * libc/include/_syslist.h (_execve): Moved define in file.
3838         * libc/include/reent.h:  Added _execve_r declaration.
3839         * libc/Makefile.in: Regenerated.
3840         * libc/ctype/Makefile.in: Regenerated.
3841         * libc/errno/Makefile.in: Regenerated.
3842         * libc/locale/Makefile.in: Regenerated.
3843         * libc/machine/Makefile.in: Regenerated.
3844         * libc/misc/Makefile.in: Regenerated.
3845         * libc/posix/Makefile.in: Regenerated.
3846         * libc/reent/Makefile.in: Regenerated.
3847         * libc/reent/execr.c (_execve_r): Added _execve_r function.
3848         * libc/signal/Makefile.in: Regenerated.
3849         * libc/stdio/Makefile.in: Regenerated.
3850         * libc/time/Makefile.in: Regenerated.
3851         * libc/unix/Makefile.in: Regenerated.
3852         * libm/mathfp/Makefile.in: Regenerated.
3853
3854 Tue Oct  6 14:14:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3855
3856         * libc/string/Makefile.in: Regenerated.
3857         * libc/string/memchr.c (memchr): Moved code to reduce object size.
3858         * libc/string/memcpy.c (memcpy): Ditto.
3859         * libc/string/memcmp.c (memcmp): Ditto.
3860         * libc/string/memset.c (memset): Ditto.
3861         * libc/string/strchr.c (strchr): Ditto.
3862         * libc/string/strcmp.c (strcmp): Ditto.
3863         * libc/string/strcpy.c (strcpy): Ditto.
3864         * libc/string/strlen.c (strlen): Ditto.
3865
3866 Tue Oct  6 13:58:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
3867
3868         * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
3869         to generate aclocal.m4.
3870         * libm/Makefile.in: Regenerated.
3871         * libm/aclocal.m4: Regenerated.
3872         * libm/configure: Regenerated.
3873         * libm/math/Makefile.in: Regenerated.
3874         * libm/mathfp/Makefile.in: Regenerated.
3875
3876 1998-09-25  Mark Salter  <msalter@cygnus.com>
3877
3878         * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
3879         by adding leading and trailing underscores to symbol names.
3880
3881 Tue Sep 22 15:33:41 1998  Christopher Faylor <cgf@cygnus.com>
3882
3883         * Makefile.in: Add default for AR_FLAGS.
3884
3885 Tue Sep 22 15:02:49 1998  Christopher Faylor <cgf@cygnus.com>
3886
3887         patch from ian@airs.com (Ian Taylor):
3888         * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
3889         NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
3890         is needed for detecting the build machine.  Required for
3891         cygwin native builds.
3892
3893         * Regenerate all aclocal.m4 and configure files.
3894
3895 Mon Sep 21 14:44:16 1998  Nick Clifton  <nickc@cygnus.com>
3896
3897         * libc/sys/arm/crt0.S: Prepend a period to all local labels that
3898         used to start with LC.
3899
3900 Thu Sep 17 18:18:11 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3901
3902         * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
3903         (longjmp): Likewise.
3904
3905 Thu Sep 17 16:25:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3906
3907         * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
3908         the test for small number of bytes.
3909
3910 Thu Sep 10 11:40:00 1998  Ranjith Kumaran <ranjith@cygnus.com>
3911
3912         * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
3913         math library that uses floating point algorithms instead of the old
3914         libm.
3915         * Makefile.in: Regenerate with automake version 1.3b.
3916         * configure: Rebuild.
3917         * libm/Makefile.in: Regenerate with automake version 1.3b.
3918         * libm/aclocal.m4: Regenerate.
3919         * libm/configure: Rebuild.
3920         * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
3921         * libm/acinclude.m4: Define macros for configure.in.
3922         * libm/config.h.in: Generate.
3923         * libm/mathfp/Makefile.am: New file.
3924         * libm/mathfp/Makefile.in: Generate.
3925         * libm/mathfp/s_acos.c (acos): New file.
3926         * libm/mathfp/s_asin.c (asin): New file.
3927         * libm/mathfp/s_asine.c (asine): New file.
3928         * libm/mathfp/s_atan.c (atan): New file.
3929         * libm/mathfp/s_atan2.c (atan2): New file.
3930         * libm/mathfp/s_atangent.c (atangent): New file.
3931         * libm/mathfp/s_ceil.c (ceil): New file.
3932         * libm/mathfp/s_copysign.c (copysign): New file.
3933         * libm/mathfp/s_cos.c (cos): New file.
3934         * libm/mathfp/s_cosh.c (cosh): New file.
3935         * libm/mathfp/s_exp.c (exp): New file.
3936         * libm/mathfp/s_fabs.c (fabs): New file.
3937         * libm/mathfp/s_finite.c (finite): New file.
3938         * libm/mathfp/s_floor.c (floor): New file.
3939         * libm/mathfp/s_fmod.c (fmod): New file.
3940         * libm/mathfp/s_frexp.c (frexp): New file.
3941         * libm/mathfp/s_infconst.c: New file.
3942         * libm/mathfp/s_isinf (isinf).c: New file.
3943         * libm/mathfp/s_isnan.c (isnan): New file.
3944         * libm/mathfp/s_ispos.c (ispos): New file.
3945         * libm/mathfp/s_ldexp.c (ldexp): New file.
3946         * libm/mathfp/s_log.c (log): New file.
3947         * libm/mathfp/s_log10.c (log10): New file.
3948         * libm/mathfp/s_logarithm.c (logarithm): New file.
3949         * libm/mathfp/s_mathcnst.c: New file.
3950         * libm/mathfp/s_modf (modf).c: New file.
3951         * libm/mathfp/s_numtest.c (numtest): New file.
3952         * libm/mathfp/s_pow.c (pow): New file.
3953         * libm/mathfp/s_scalbn.c (scalbn): New file.
3954         * libm/mathfp/s_sin (sin).c: New file.
3955         * libm/mathfp/s_sine.c (sine): New file.
3956         * libm/mathfp/s_sineh.c (sineh): New file.
3957         * libm/mathfp/s_sinf.c (sinf): New file.
3958         * libm/mathfp/s_sinh.c (sinh): New file.
3959         * libm/mathfp/s_sqrt.c (sqrt): New file.
3960         * libm/mathfp/s_tan.c (tan): New file.
3961         * libm/mathfp/s_tanh.c (tanh): New file.
3962         * libm/mathfp/sf_acos.c (acosf): New file.
3963         * libm/mathfp/sf_asin.c (asinf): New file.
3964         * libm/mathfp/sf_asine.c (asinef): New file.
3965         * libm/mathfp/sf_atan.c (atanf): New file.
3966         * libm/mathfp/sf_atan2.c (atan2f): New file.
3967         * libm/mathfp/sf_atangent.c (atangent): New file.
3968         * libm/mathfp/sf_ceil.c (ceilf): New file.
3969         * libm/mathfp/sf_copysign.c (copysignf): New file.
3970         * libm/mathfp/sf_cos.c (cosf): New file.
3971         * libm/mathfp/sf_cosh.c (coshf): New file.
3972         * libm/mathfp/sf_exp.c (expf): New file.
3973         * libm/mathfp/sf_fabs.c (fabsf): New file.
3974         * libm/mathfp/sf_finite.c (finitef): New file.
3975         * libm/mathfp/sf_floor.c (floorf): New file.
3976         * libm/mathfp/sf_fmod.c (fmodf): New file.
3977         * libm/mathfp/sf_frexp.c (frexpf): New file.
3978         * libm/mathfp/sf_isinf.c (isinff): New file.
3979         * libm/mathfp/sf_isnan.c (isnanf): New file.
3980         * libm/mathfp/sf_ispos.c (isposf): New file.
3981         * libm/mathfp/sf_ldexp.c (ldexpf): New file.
3982         * libm/mathfp/sf_log.c (logf): New file.
3983         * libm/mathfp/sf_log10.c (log10f): New file.
3984         * libm/mathfp/sf_logarithm.c (logarithmf): New file.
3985         * libm/mathfp/sf_modf.c (modff): New file.
3986         * libm/mathfp/sf_numtest.c (numtestf): New file.
3987         * libm/mathfp/sf_pow.c (powf): New file.
3988         * libm/mathfp/sf_scalbn.c (scalbnf): New file.
3989         * libm/mathfp/sf_sin.c (sinf): New file.
3990         * libm/mathfp/sf_sine.c (sinef): New file.
3991         * libm/mathfp/sf_sineh.c (sinehf): New file.
3992         * libm/mathfp/sf_sinh.c (sinhf): New file.
3993         * libm/mathfp/sf_sqrt.c (sqrtf): New file.
3994         * libm/mathfp/sf_tan.c (tanf): New file.
3995         * libm/mathfp/sf_tanh.c (tanhf): New file.
3996         * libm/mathfp/zmath.h: New file.
3997
3998 Wed Sep  2 02:49:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3999
4000         * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4001         exit if it has been overwritten by pre-fetching in delay slot.
4002
4003 1998-09-01  Michael Meissner  <meissner@cygnus.com>
4004
4005         * Makefile.am (tooldir): Add in host_alias, so that multilib
4006         libraries are installed in the directory the compiler looks in.
4007         * Makefile.in: Regenerate.
4008
4009         * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4010
4011 Mon Aug 31 11:39:31 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4012
4013         * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4014         ahead of test for number of bytes being moved.
4015
4016 Thu Aug 27 14:07:53 1998  Christopher Faylor <cgf@cygnus.com>
4017
4018         * libc/include/sys/unistd.h: Nothing special needed for
4019         _exit under cygwin.
4020
4021 Wed Aug 26 15:05:21 1998  Nick Clifton  <nickc@cygnus.com>
4022
4023         * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4024         conform to user label naming conventions. 
4025
4026 Mon Aug 24 14:46:19 1998  Geoffrey Noer <noer@cygnus.com>
4027
4028         * libc/sys/cygwin32/sys/utime.h: variable names in
4029         protos should start with two leading underscores
4030         * libc/include/string.h: ditto
4031         * libc/include/sys/signal.h: ditto
4032         * libc/include/sys/stat.h: ditto
4033         * libc/include/sys/time.h: ditto
4034         * libc/include/sys/unistd.h: ditto
4035         * libc/include/ctype.h: ditto
4036         * libc/include/stdlib.h: ditto
4037         * libc/include/sys/reent.h: struct _atexit function ptr takes a
4038         void, same with _sig_func.
4039
4040 Fri Aug 21 14:44:14 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4041
4042         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4043         for MB_CAPABLE to reduce code size when newlib is not configured
4044         with --enable-newlib-mb.
4045         * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4046         mbtowc_r.o to minimize size.
4047         * libc/stdlib/Makefile.in: Rebuild.
4048         
4049 Wed Aug 19 16:20:13 1998  Jim Wilson  <wilson@cygnus.com>
4050
4051         * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4052         to -DREENT.
4053         * libc/sys/sparc64/Makefile.in: Rebuild.
4054         
4055 Tue Aug 18 22:38:29 1998  Ian Lance Taylor  <ian@cygnus.com>
4056
4057         * Makefile.am (MAKEOVERRIDES): Define.
4058         * Makefile.in: Rebuild.
4059
4060 Tue Aug 18 12:38:47 1998  Jim Wilson  <wilson@cygnus.com>
4061
4062         * libc/sys/sparc64/sys/stat.h (stat): Add const.
4063
4064 Mon Aug 17 22:27:06 1998  Ian Lance Taylor  <ian@cygnus.com>
4065
4066         * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4067         newlib_cflags when looking for targ-include.
4068         * */aclocal.m4, */configure: Rebuild.
4069
4070 Fri Jul 31 10:57:42 1998  Catherine Moore  <clm@cygnus.com>
4071
4072         * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4073         to "_end".
4074
4075 Wed Jul 29 00:02:01 1998  Mark Alexander  <marka@cygnus.com>
4076
4077         * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4078         on SPARCs with little-endian data.
4079         * libc/include/machine/ieeefp.h: Ditto.
4080
4081 Wed Jul 22 18:00:10 1998  Ian Lance Taylor  <ian@cygnus.com>
4082
4083         * acinclude.m4: Handle a relative srcdir correctly when setting
4084         newlib_cflags.
4085         * */aclocal.m4, */configure: Rebuild.
4086
4087 Wed Jul 22 17:11:33 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4088
4089         * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4090         also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4091         * libm/math/wrf_gamma.c (gammaf_r): ditto 
4092         * libm/math/wr_lgamma.c (lgamma_r): ditto 
4093         * libm/math/wr_gamma.c (gamma_r): ditto 
4094         * libm/math/wf_sqrt.c (sqrtf): ditto 
4095         * libm/math/wf_sinh.c (sinhf): ditto 
4096         * libm/math/wf_scalb.c (scalbf): ditto 
4097         * libm/math/wf_remainder.c (remainderf): ditto 
4098         * libm/math/wf_pow.c (powf): ditto 
4099         * libm/math/wf_log10.c (log10f): ditto 
4100         * libm/math/wf_log.c (logf): ditto 
4101         * libm/math/wf_lgamma.c (lgammaf): ditto 
4102         * libm/math/wf_jn.c (jnf, ynf): ditto 
4103         * libm/math/wf_j1.c (j1f, y1f): ditto 
4104         * libm/math/wf_j0.c (j0f, y0f): ditto 
4105         * libm/math/wf_hypot.c (hypotf): ditto 
4106         * libm/math/wf_gamma.c (gammaf): ditto 
4107         * libm/math/wf_fmod.c (fmodf): ditto 
4108         * libm/math/wf_exp.c (expf): ditto 
4109         * libm/math/wf_cosh.c (coshf): ditto 
4110         * libm/math/wf_atanh.c (atanhf): ditto 
4111         * libm/math/wf_atan2f.c (atan2f): ditto 
4112         * libm/math/wf_asin.c (asinf): ditto 
4113         * libm/math/wf_acosh.c (acoshf): ditto 
4114         * libm/math/wf_acos.c (acosf): ditto 
4115         * libm/math/w_sqrt.c (sqrt): ditto 
4116         * libm/math/w_sinh.c (sinh): ditto 
4117         * libm/math/w_scalb.c (scalb): ditto 
4118         * libm/math/w_remainder.c (remainder): ditto 
4119         * libm/math/w_pow.c (pow): ditto 
4120         * libm/math/w_log10.c (log10): ditto 
4121         * libm/math/w_log.c (log): ditto 
4122         * libm/math/w_lgamma.c (lgamma): ditto 
4123         * libm/math/w_jn.c (jn, yn): ditto 
4124         * libm/math/w_j1.c (j1, y1): ditto 
4125         * libm/math/w_j0.c (j0, y0): ditto 
4126         * libm/math/w_hypot.c (hypot): ditto 
4127         * libm/math/w_gamma.c (gamma): ditto 
4128         * libm/math/w_fmod.c (fmod): ditto 
4129         * libm/math/w_exp.c (exp): ditto 
4130         * libm/math/w_cosh.c (cosh): ditto 
4131         * libm/math/w_atanh.c (atanh): ditto 
4132         * libm/math/w_atan2f.c (atan2): ditto 
4133         * libm/math/w_asin.c (asin): ditto 
4134         * libm/math/w_acosh.c (acosh): ditto 
4135         * libm/math/w_acos.c (acos): ditto 
4136
4137 Tue Jul 21 12:34:54 1998  Ian Lance Taylor  <ian@cygnus.com>
4138
4139         * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4140         (fsrc): Add wf_cabs.c and wf_drem.c.
4141         * libm/math/Makefile.in: Rebuild.
4142
4143         * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
4144         unused directory variables.  Remove duplicate CFLAGS.
4145         * Makefile.in: Rebuild.
4146
4147         * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4148         with $(CC_FOR_BUILD).
4149         (makedoc.o): Likewise.
4150         * doc/Makefile.in: Rebuild.
4151
4152         * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4153         force a definition of COMPILE.
4154         (libfoo_a_SOURCES): Define.
4155         * libc/sys/cygwin32/Makefile.in: Rebuild.
4156         * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4157         force a definition of COMPILE.
4158         (libfoo_a_SOURCES): Define.
4159         * libc/sys/tic80/Makefile.in: Rebuild.
4160
4161 Mon Jul 20 20:49:24 1998  Christopher Faylor <cgf@cygnus.com>
4162
4163         * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4164         flag.
4165
4166 Fri Jul 17 16:13:16 1998  Ian Lance Taylor  <ian@cygnus.com>
4167
4168         * Build using autoconf and automake.  Added many Makefile.am and
4169         configure.in files, plus generated files.  Old configure.in files
4170         and all old Makefile.in files completely replaced.  Removed
4171         host/any.  Added acinclude.m4 and configure.host.
4172
4173 Sat Jul 11 18:14:49 1998  Felix Lee  <flee@cygnus.com>
4174
4175         * libc/stdio/vfprintf.c: enable long long support, sometimes.
4176         * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4177
4178 Tue Jul  7 01:51:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4179
4180         * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4181         * libc/machine/sh/Makefile.in: Add rules for new files.
4182
4183 Tue Jul  7 01:40:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4184
4185         * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4186         * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4187         * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4188
4189 Thu Jul  2 10:33:16 1998  Nick Clifton  <nickc@cygnus.com>
4190
4191         * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4192         code is ignored.
4193
4194 Wed Jun 24 13:56:54 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4195
4196         * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4197         internal static buffer when s is NULL, as prescribed by ANSI.
4198
4199 1998-06-22  Vladimir N. Makarov  <vmakarov@cygnus.com>
4200
4201         * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4202         removed.
4203         * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
4204         libc/stdlib will be used for h8300hms.
4205         
4206 Thu Jun 18 16:56:05 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4207
4208         * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4209         version that can be built either for speed or size.
4210         * libc/machine/mn10300/memset.S (_memset): ditto
4211         * libc/machine/mn10300/memchr.S (_memchr): ditto
4212         * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4213         * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4214         * libc/machine/mn10300/strchr.S (_strchr): ditto
4215         * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4216         * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4217         * libc/machine/mn10300/Makefile.in: Added entries for
4218         memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o, 
4219         strcmp.o, strcpy.o, and strlen.o.
4220
4221 Wed Jun 17 12:50:26 1998  Mark Alexander  <marka@cygnus.com>
4222
4223         * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4224         been replaced with libgloss/mn10200.
4225
4226 Fri Jun 12 14:34:39 1998  Michael Meissner  <meissner@cygnus.com>
4227
4228         * libc/string/strchr.c (strchr): Make s a constant pointer to
4229         avoid warning.
4230
4231 Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
4232
4233         * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4234         instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4235         board SWIs instead of Demon board SWIs).
4236
4237 Thu Jun  4 12:16:46 1998  Michael Meissner  <meissner@cygnus.com>
4238
4239         * libc/string/strncat.c (strncat):  Make -Os act the same as
4240         PREFER_SIZE_OVER_SPEED being defined.
4241
4242 Wed Jun  3 17:52:33 1998  Michael Meissner  <meissner@cygnus.com>
4243
4244         * libc/string/memchr.c (memchr): Make -Os act the same as
4245         PREFER_SIZE_OVER_SPEED being defined.
4246         * libc/string/memcmp.c (memcmp): Ditto.
4247         * libc/string/memcpy.c (memcpy): Ditto.
4248         * libc/string/memset.c (memset): Ditto.
4249         * libc/string/strcat.c (strcat): Ditto.
4250         * libc/string/strchr.c (strchr): Ditto.
4251         * libc/string/strcmp.c (strcmp): Ditto.
4252         * libc/string/strcpy.c (strcpy): Ditto.
4253         * libc/string/strlen.c (strlen): Ditto.
4254         * libc/string/strncat.c (strncat): Ditto.
4255         * libc/string/strncmp.c (strncmp): Ditto.
4256         * libc/string/strncpy.c (strncpy): Ditto.
4257
4258 Mon Jun  1 15:25:07 1998  Geoffrey Noer  <noer@cygnus.com>
4259
4260         * libc/include/sys/itimer.h: remove
4261         * libc/include/sys/time.h: itimer stuff should be here
4262
4263 Mon Jun  1 16:31:29 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4264
4265         * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4266         bit instead of comparing to 0 so -0.0 can be printed correctly.
4267
4268 Sat May 30 09:33:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4269
4270         * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4271
4272 Fri May 29 22:25:10 1998  Geoffrey Noer  <noer@cygnus.com>
4273
4274         * libc/include/sys/unistd.h: fix sync() proto
4275         * libc/include/sys/fcntl.h: remove _close which is already
4276         defined in unistd.h.
4277         * libc/include/sys/time.h: add getitimer proto
4278
4279 Fri May 29 16:10:28 1998  Geoffrey Noer  <noer@cygnus.com>
4280
4281         * libc/string/strchr.c: convert arg to unsigned char
4282         * libc/include/stdlib.h: add protos for random, srandom
4283         * libc/include/sys/stat.h: add lstat proto
4284         * libc/include/sys/time.h: add setitimer proto
4285         * libc/include/sys/unistd.h: add readlink, symlink protos
4286         * libc/include/process.h: instead of including windows.h and using
4287         HANDLEs in sexec protos, just use void *s.  Need to include
4288         sys/types.h.
4289
4290 Fri May 29 03:04:29 1998  Geoffrey Noer  <noer@cygnus.com>
4291
4292         * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4293
4294 Thu May 28 16:34:21 1998  Geoffrey Noer  <noer@cygnus.com>
4295
4296         * libc/include/process.h: add secure exec protos
4297
4298 Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
4299
4300         * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4301         which are accessed as both doubles and integers.
4302         * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4303         * libc/stdlib/strtod.c (_strtod_r): Likewise.
4304         * libc/stdlib/mprec.h: Add "union double_union" and change
4305         word0/word1 macros to use it.
4306
4307 Tue May 26 18:04:21 1998  Geoffrey Noer  <noer@cygnus.com>
4308
4309         * libc/include/sys/signal.h: add __cplusplus wrapper
4310
4311 Tue May 26 15:10:22 1998  Geoffrey Noer  <noer@cygnus.com>
4312
4313         * libc/include/sys/utime.h: new generic file that gets replaced by
4314         libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4315         function.
4316         * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4317         * libc/include/time.h: remove duplicate utime proto
4318         * libc/include/utime.h: add comment
4319
4320 Sun May 24 23:56:20 1998  Christopher Faylor <cgf@cygnus.com>
4321
4322         * libc/include/sys/time.h: Add missing include to
4323         allow use of _EXFUN.  Remove times function that is
4324         already defined in times.h.
4325
4326 Sun May 24 01:32:14 1998  Christopher Faylor <cgf@cygnus.com>
4327
4328         * libc/include/time.h: Fix typo in tzset.
4329
4330 Fri May 22 17:00:48 1998  Geoffrey Noer  <noer@cygnus.com>
4331
4332         * libc/include/sys/time.h: add missing Cygwin32 function protos
4333         * libc/include/sys/unistd.h: ditto
4334         * libc/include/time.h: ditto
4335
4336 Wed May 20 20:35:11 1998  Geoffrey Noer  <noer@cygnus.com>
4337
4338         * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4339         FIXME.
4340         * libc/include/sys/types.h: add a new __MS_types__ section
4341         to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4342         __BIT_TYPES_DEFINED__.
4343
4344 Wed May 20 18:49:21 1998  Geoffrey Noer  <noer@cygnus.com>
4345
4346         * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4347         since it overrides the one in libc/include/sys.  Also, start
4348         including types.h.
4349
4350 Wed May 20 14:45:40 1998  Geoffrey Noer  <noer@cygnus.com>
4351
4352         * libm/math/Makefile.in: add s_signgam.o to obj list
4353
4354 Tue May 19 11:57:11 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4355
4356         * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4357
4358 Mon May 18 22:36:12 1998  Christopher Faylor <cgf@cygnus.com>
4359
4360         * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4361         so don't use defines.
4362
4363 Mon May 18 19:01:02 1998  Michael Meissner  <meissner@cygnus.com>
4364
4365         * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4366
4367 Sun May 17 18:40:32 1998  Frank Ch. Eigler  <fche@cygnus.com>
4368
4369         * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4370         _current_locale as default locale.
4371
4372 Sat May 16 21:59:59 1998  Bob Manson  <manson@charmed.cygnus.com>
4373
4374         * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4375         insufficient space in a chunk.
4376
4377 Tue May 12 14:41:01 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4378
4379         * configure.in (links): Added check for --enable-newlib-mb configure
4380         option which defines the MB_CAPABLE macro.
4381         * libc/locale/locale.c (_setlocale_r): Added support for setting
4382         LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4383         defined.
4384         * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4385         implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4386         * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4387         implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4388         * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4389         implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4390         * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4391         wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4392         * libc/stdlib/Makefile.in: Added new multibyte
4393         routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4394         * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4395         _mbstowcs_r(), and _wcstombs_r().
4396         * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4397         for JIS, SJIS, and EUC-JP characters.
4398         * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4399         MB_CAPABLE defined.
4400         * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4401         MB_CAPABLE defined.
4402         * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4403         MB_CAPABLE defined.
4404         * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4405         if MB_CAPABLE defined.
4406         * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4407         if MB_CAPABLE defined.
4408         * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4409         to the format string processing when MB_CAPABLE.
4410         * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4411         call _mbtowc_r().
4412
4413 Tue May  5 16:07:23 1998  Nick Clifton  <nickc@cygnus.com>
4414
4415         The following modifications are courtesy of Anthony Thompson,
4416         athompson@cambridge.arm.com:
4417         * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4418         boith RDI and RDP monitors.
4419         * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4420         RDI and RDP monitors.
4421
4422 Wed Apr 29 15:22:15 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4423
4424         * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4425         * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4426         (_swiopen): Fixed open flags to treat write with append as just append.
4427         (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4428         * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4429
4430 Fri Apr 24 18:00:09 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4431
4432         * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4433         When needing to transfer an initial 2-byte-word, store as
4434         two single bytes.
4435
4436 Wed Apr 22 17:56:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4437
4438         * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4439         __SH3E__ .
4440         * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4441         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4442
4443 Wed Apr 22 12:28:03 1998  Michael Meissner  <meissner@cygnus.com>
4444
4445         * configure.in (target_cflags): If --enable-target-optspace, use
4446         -Os to compile newlib rather than -O2.  Default to using -Os for
4447         d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4448         used.
4449
4450 Tue Apr 21 23:13:34 1998  Geoffrey Noer  <noer@cygnus.com>
4451
4452         * libc/include/machine/setjmp.h: change sigsetjmp and
4453         siglongjmp definitions to use an array instead of a struct
4454         for __CYGWIN32__
4455
4456 Tue Apr 14 11:47:47 1998  Doug Evans  <devans@canuck.cygnus.com>
4457
4458         * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4459
4460 Mon Apr  6 15:05:08 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4461
4462         * libc/string/strxfrm.c: fix to get correct return value
4463
4464 Wed Apr  1 16:09:05 1998  Nick Clifton  <nickc@cygnus.com>
4465
4466         * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4467         builds.  Make mode change labels global so that they will be seen
4468         by the debugger.
4469
4470 Wed Mar 18 09:45:10 1998  Nick Clifton  <nickc@cygnus.com>
4471
4472         * configure.in (links): Do not use ARM debiugging protocols for PE
4473         builds.
4474
4475         * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4476         message. 
4477
4478 Fri Mar 13 11:24:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4479
4480         * libc/stdio/findfp.c (__sinit): Made stdout default to
4481         line buffered mode as defined by ANSI.
4482
4483 Tue Mar 10 11:41:26 1997  Bob Manson  <manson@charmed.cygnus.com>
4484
4485         * libc/include/sys/itimer.h: New file.
4486
4487         * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4488
4489 Mon Mar  9 14:19:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4490
4491         * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4492         failure.
4493
4494 Fri Feb 27 13:56:10 1998  Michael Meissner  <meissner@cygnus.com>
4495
4496         * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4497         insns.
4498
4499 Wed Feb 25 09:29:54 1998  Nick Clifton  <nickc@cygnus.com>
4500
4501         * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4502
4503 Tue Feb 24 18:00:13 1998  Michael Meissner  <meissner@cygnus.com>
4504
4505         * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4506         support.
4507
4508         * libc/include/machine/setjmp.h: Add D30V support.
4509
4510         * configure.in (d30v-*): Add d30v machine directory.
4511
4512 Mon Feb 23 09:32:58 1998  Mark Alexander  <marka@cygnus.com>
4513
4514         * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4515         been replaced with libgloss/mn10300.
4516
4517 Sat Feb 21 17:44:43 1998  Geoffrey Noer  <noer@cygnus.com>
4518
4519         * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4520         it is no longer needed.
4521
4522 Thu Feb 19 16:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4523
4524         * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4525
4526 Wed Feb 18 23:51:08 1998  Geoffrey Noer  <noer@cygnus.com>
4527
4528         * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4529         the file when O_APPEND is set, wherever the EOF happens to be at
4530         that time. 
4531
4532 Wed Feb 18 23:25:02 1998  Geoffrey Noer  <noer@cygnus.com>
4533         
4534         patch from cgf@bbc.com (Christopher Faylor):
4535         * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4536         convention of closing fp prior to attempting to open the file
4537         argument.  This allows correct operation when reopening
4538         stdin/stdout/stderr.  Replaces last freopen.c patch.
4539
4540 Wed Feb 18 16:27:40 1998  Geoffrey Noer  <noer@cygnus.com>
4541
4542         patch from cgf@bbc.com (Christopher Faylor):
4543         * libc/stdio/freopen.c: freopen was not preserving the fd
4544         of the stream being operated on.  This confuses programs that
4545         expect that the handles for stdout and stderr will be 1 and 2.
4546
4547 Mon Feb 16 23:34:07 1998  Andrew Cagney  <cagney@b1.cygnus.com>
4548
4549         * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4550
4551 Thu Feb 12 15:09:20 1998  Ranjith Kumaran <ranjith@cygnus.com>
4552
4553         * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4554
4555 Wed Feb 11 17:50:45 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4556
4557         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4558         altered to not use a branch.  Also added hint that last
4559         bclr in longjmp will likely result in branch.
4560         
4561
4562 Mon Feb  9 03:44:02 1998  Geoffrey Noer  <noer@cygnus.com>
4563
4564         * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4565
4566 Fri Feb  6 16:32:32 1998  Nick Clifton  <nickc@cygnus.com>
4567
4568         * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4569         v850 builds.
4570
4571         * configure.in: Add -msmall-sld to target_cflags for v850 builds. 
4572
4573 Wed Feb  4 16:56:20 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4574
4575         * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4576         that loads FR14 to specify offset of 8 rather than 4
4577         so it loads from offset 96 (where setjmp stored it).
4578
4579 Tue Feb  3 18:08:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4580
4581         * libc/machine/sh/memcpy.S: (_memcpy): Update to
4582         latest version supplied by customer.
4583         * libc/machine/sh/memset.S (_memset): Ditto.
4584
4585 Mon Feb  2 16:20:39 1998  Nick Clifton  <nickc@cygnus.com>
4586
4587         * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4588         PR14730). 
4589
4590 Mon Feb  2 15:13:26 1998  Geoffrey Noer  <noer@cygnus.com>
4591
4592         * libc/include/string.h: remove redefinition of ffs
4593
4594 Wed Jan 28 13:30:14 1998  Geoffrey Noer  <noer@cygnus.com>
4595
4596         * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4597         defined
4598
4599 Wed Jan 28 10:38:34 1998  Jeff Johnston  <jjohnstn@cygnus.com>
4600
4601         * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4602         TI Libraries to link to libc.a
4603         
4604 Sat Jan 24 10:15:56 1998  Michael Meissner  <meissner@cygnus.com>
4605
4606         * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4607         * libc/include/sys/stat.h (_{,f}stat): Ditto.
4608         * libc/include/sys/wait.h (_wait): Ditto.
4609         * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4610         (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4611
4612 Fri Jan 23 11:32:10 1998  Michael Meissner  <meissner@cygnus.com>
4613
4614         * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
4615         minded stabs so function name shows up when running the simulator
4616         with -t.
4617         * libc/sys/d10v/{crt0,trap}.S: Ditto.
4618
4619 Thu Jan 22 15:57:14 1998  Fred Fish  <fnf@cygnus.com>
4620
4621         * libc/sys/d10v/trap.S: Change syscalls to use trap 15. 
4622         * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4623         Use R5 where we used to use R3.
4624         
4625 Wed Jan 21 14:22:23 1998  Bill Moyer <billm@cygnus.com>
4626
4627         * libc/stdlib/getopt.c (getopt): replaced __progname
4628         with nargv[0] to improve portability to imbedded systems.
4629
4630 Thu Jan 15 12:32:38 1998  Nick Clifton  <nickc@cygnus.com>
4631
4632         * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4633         patch supplied by Tont.Thompson@arm.com to fix the creation of the
4634         stdout file.
4635
4636 Wed Jan 14 13:00:19 1998  Ian Lance Taylor  <ian@cygnus.com>
4637
4638         * libc/stdio/tmpnam.c (worker): Generate a different file name
4639         each time.
4640
4641         * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4642         fails, try an execlp for sh.
4643
4644         * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4645         option for the winsup include directory.
4646
4647 Wed Jan  7 17:02:58 1998  Nick Clifton  <nickc@cygnus.com>
4648
4649         * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4650         debugging interface from Tony.Thompson@arm.com.
4651         
4652         * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4653         * libc/sys/arm/swi.h: ditto.
4654
4655 Tue Jan  6 14:15:10 1998  Geoffrey Noer  <noer@cygnus.com>
4656
4657         * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4658         DIR struct used for readdir hashes.
4659
4660 Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
4661
4662         * libc/string/strchr.c: Use "unsigned chars" as necessary.
4663
4664 Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
4665
4666         * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4667         integer targets.
4668
4669 Sat Dec 13 15:11:06 1997  Ian Lance Taylor  <ian@cygnus.com>
4670
4671         * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4672         INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4673         * libc/include/malloc.h: Add extern "C" if __cplusplus.
4674         (__malloc_copy): Declare.
4675
4676 Wed Dec 10 12:15:54 1997  Ian Lance Taylor  <ian@cygnus.com>
4677
4678         * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4679         <sys/config.h>.
4680         (POINTER_UINT): Define.
4681         (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4682         (MALLOC_ALIGNMENT): Don't define if already defined.
4683         (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4684         long.
4685
4686 Tue Dec  9 19:23:42 1997  Michael Meissner  <meissner@cygnus.com>
4687
4688         * libc/string/memset.c (memset): Fiddle with code so that the long
4689         value being stored is not a stack value.  Unroll storing longs 4
4690         times.
4691
4692 Tue Dec  9 14:13:18 1997  Jeff Johnston  <jjohnstn@cygnus.com>
4693
4694         * Reduce code size for libm modules.
4695         * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4696         and simply move code into sqrt.
4697         * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4698         * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4699         * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4700         * libm/math/wr_gamma.c (gamma_r): Likewise.
4701         * libm/math/wf_sinh.c (sinfh): Likewise.
4702         * libm/math/w_sinh.c (sinh): Likewise.
4703         * libm/math/wf_scalb.c (scalbf): Likewise.
4704         * libm/math/w_scalb.c (scalb): Likewise.
4705         * libm/math/wf_remainder.c (remainderf): Likewise.
4706         * libm/math/w_remainder.c (remainder): Likewise.
4707         * libm/math/wf_pow.c (powf): Likewise.
4708         * libm/math/w_pow.c (pow): Likewise.
4709         * libm/math/wf_log10.c (log10f): Likewise.
4710         * libm/math/w_log10.c (log10): Likewise.
4711         * libm/math/wf_log.c (logf): Likewise.
4712         * libm/math/w_log.c (log): Likewise.
4713         * libm/math/w_lgamma.c (lgamma): Likewise.
4714         * libm/math/wf_lgamma.c (lgammaf): Likewise.
4715         * libm/math/wf_jn.c (jnf): Likewise.
4716         * libm/math/w_jn.c (jn): Likewise.
4717         * libm/math/wf_j1.c (j1f): Likewise.
4718         * libm/math/w_j1.c (j1): Likewise.
4719         * libm/math/wf_j0.c (j0f): Likewise.
4720         * libm/math/w_j0.c (j0): Likewise.
4721         * libm/math/wf_hypot.c (hypotf): Likewise.
4722         * libm/math/w_hypot.c (hypot): Likewise.
4723         * libm/math/wf_gamma.c (gammaf): Likewise.
4724         * libm/math/w_gamma.c (gamma): Likewise.
4725         * libm/math/wf_fmod.c (fmodf): Likewise.
4726         * libm/math/w_fmod.c (fmod): Likewise.
4727         * libm/math/wf_exp.c (expf): Likewise.
4728         * libm/math/w_exp.c (exp): Likewise.
4729         * libm/math/wf_cosh.c (coshf): Likewise.
4730         * libm/math/w_cosh.c (cosh): Likewise.
4731         * libm/math/wf_atanh.c (atanhf): Likewise.
4732         * libm/math/w_atanh.c (atanh): Likewise.
4733         * libm/math/wf_atan2.c (atan2f): Likewise.
4734         * libm/math/w_atan2.c (atan2): Likewise.
4735         * libm/math/wf_asin.c (asinf): Likewise.
4736         * libm/math/w_asin.c (asin): Likewise.
4737         * libm/math/wf_acosh.c (acoshf): Likewise.
4738         * libm/math/w_acosh.c (acosh): Likewise.
4739         * libm/math/wf_acos.c (asocf): Likewise.
4740         * libm/math/w_acos.c (acos): Likewise.
4741         * libm/math/wf_sqrt.c (sqrtf): Likewise.
4742         * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4743         for embedded systems.
4744
4745 Mon Dec  8 12:12:58 1997  Ian Lance Taylor  <ian@cygnus.com>
4746
4747         * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4748         Lea in case of a foreign sbrk.
4749
4750 Fri Dec  5 23:27:28 1997  Ian Lance Taylor  <ian@cygnus.com>
4751
4752         Incorporate Doug Lea's malloc:
4753         * libc/stdlib/mallocr.c: Completely replaced.
4754         * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4755         (realloc): Remove.
4756         * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4757         * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4758         mallopt.
4759         (mallinfo, malloc_stats, mallopt): New functions.
4760         (_mstats_r): Just call _malloc_stats_r.
4761         * libc/stdlib/malign.c: New file.
4762         * libc/stdlib/mlock.c: New file.
4763         * libc/stdlib/msize.c: New file.
4764         * libc/stdlib/mtrim.c: New file.
4765         * libc/stdlib/realloc.c: New file.
4766         * libc/stdlib/valloc.c: New file.
4767         * libc/stdlib/malloc.h: Remove.
4768         * libc/stdlib/callocr.c: Remove.
4769         * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4770         malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4771         mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4772         reallocr.o, valloc.o, vallocr.o.
4773         (CHEWOUT_FILES): Add mlock.def, mstats.def.
4774         (MALLOC_CFLAGS): New variable.
4775         (mallocr.o): New target, build from mallocr.c.
4776         (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4777         (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4778         (msizer.o, malloptr.o): Likewise.
4779         (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4780         (valloc.o): New target.
4781         * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4782         * libc/include/malloc.h: Declare struct mallinfo, and new
4783         routines.
4784         * libc/include/stdlib.h (cfree): Correct declaration.
4785
4786 Tue Dec  2 10:12:16 1997  Nick Clifton  <nickc@cygnus.com>
4787
4788         * libc/include/machine/setjmp.h: Add support for Thumb target.
4789
4790         * libc/include/machine/ieeefp.h: Add support for Thumb target.
4791
4792         * configure.in (links): Add support for Thumb target.
4793
4794 Wed Nov 26 09:56:17 1997  Nick Clifton  <nickc@cygnus.com>
4795
4796         * libc/sys/arm/setjmp.S: Updated with version from branch.
4797
4798 Thu Nov 20 01:21:43 1997  Geoffrey Noer  <noer@cygnus.com>
4799
4800         * libc/include/stdio.h: add POSIX-required define L_ctermid
4801         for ctermid
4802
4803 Wed Nov 19 16:11:40 1997  Michael Meissner  <meissner@cygnus.com>
4804
4805         * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
4806         addition to MISSING_SYSCALL_NAMES.
4807
4808 Mon Nov 17 20:05:05 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
4809
4810         * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
4811
4812 Mon Nov 10 22:26:55 1997  Geoffrey Noer  <noer@cygnus.com>
4813
4814         * libc/include/string.h: change strsignal proto to return
4815         a char *.  This eliminates compile problems in gdb resulting
4816         from gdb's definition of strsignal in defs.h.
4817
4818 Mon Nov 10 17:11:08 1997  Geoffrey Noer  <noer@cygnus.com>
4819
4820         * libc/sys/cygwin32/sys/utime.h: new (moved here from
4821         winsup/include) so as not to conflict with the one in
4822         libc/include.
4823         * libc/include/string.h: add protos for strsignal, strtosigno
4824
4825 Mon Nov 10 13:49:54 1997  Michael Meissner  <meissner@cygnus.com>
4826
4827         * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4828
4829         * configure.in (d30v-*-*): Add configuration.
4830
4831 Thu Oct 30 14:01:23 1997  Nick Clifton  <nickc@cygnus.com>
4832
4833         * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
4834         to select which kind of debug monitor is in use for an ARM target.
4835
4836         * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
4837         Angel and Demon debug monitors.  Part of this code was supplied by
4838         Tony Thompson at ARM: athompso@arm.com.
4839
4840 Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
4841
4842         * strncat.c (strncat): Don't call strncpy; strncay has the wrong
4843         semantics when the count is greater than the length of the second
4844         source string.
4845
4846 Thu Oct 23 01:37:41 1997  Geoffrey Noer  <noer@cygnus.com>
4847
4848         * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
4849         * libc/include/sys/unistd.h: add protos for usleep, truncate,
4850         truncate and ftruncate take off_t, not size_t
4851
4852 Tue Oct 21 18:42:00 1997  Jim Wilson  <wilson@cygnus.com>
4853
4854         * libc/string/strcat.c (strcat): Add missing comment end.
4855         * libc/string/strncat.c (strncat): Likewise.
4856
4857 Tue Oct 21 17:23:34 1997  Nick Clifton  <nickc@cygnus.com>
4858
4859         * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
4860         targets. 
4861         * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
4862         optimised version which is selected if PREFER_SIZE_OVER_SPEED is
4863         defined.  
4864         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4865         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4866         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4867
4868 Mon Oct 13 15:12:35 1997  Ian Lance Taylor  <ian@cygnus.com>
4869
4870         * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
4871         (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
4872
4873 Thu Oct  9 13:54:44 1997  Doug Evans  <dje@canuck.cygnus.com>
4874
4875         * libc/machine/i386/setjmp.S: New file.
4876         * libc/machine/i386/Makefile.in: Delete COPYOFILES.
4877         (OFILES): Add setjmp.o.
4878         (setjmp.o): Add rule for.
4879         * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
4880
4881 Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
4882                          Jeffrey A Law  (law@cygnus.com)
4883
4884         * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
4885         * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4886         * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4887         * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4888
4889 Mon Oct  6 14:07:59 1997  Nick Clifton  <nickc@cygnus.com>
4890
4891         * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
4892         rules. 
4893
4894         * libc/include/sys/config.h: Use __v850 to select v850
4895         endianness. 
4896
4897         * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
4898         buffer size.
4899
4900         * libc/include/machine/ieeefp.h: Use __v850 to select v850
4901         endianness. 
4902
4903 Thu Sep 25 14:11:37 1997  Geoffrey Noer  <noer@cygnus.com>
4904
4905         * libc/stdlib/setenv.c: change unsetenv definition to match
4906         style of setenv (with _DEFUN).  The string should be a const.
4907         * libc/include/stdlib.h: unsetenv proto should return void.
4908
4909 Tue Sep 23 18:17:20 1997  Geoffrey Noer  <noer@cygnus.com>
4910
4911         * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
4912
4913 Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
4914
4915         * libc/stdio/glue.h: remove.
4916         * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
4917         * libc/stdio/Makefile.in: remove glue.h dependencies
4918
4919 Wed Sep 17 17:42:27 1997  Nick Clifton  <nickc@cygnus.com>
4920
4921         * libc/sys/sysnecv850/crt0.S: Created V850e version.
4922         
4923 Tue Sep  9 10:40:57 1997  Doug Evans  <dje@canuck.cygnus.com>
4924
4925         * configure.in (target_cpu): Add `arc'.
4926
4927 Tue Sep  9 10:40:42 1997  Joel Sherrill  <joel@OARcorp.com>
4928
4929         * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and 
4930           -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
4931         * newlib/libc/include/sys/errno.h: Add ENOTSUP.
4932         * newlib/libc/reent/reent.c: Add _wrapup_reent.
4933         * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
4934
4935 Sun Sep  7 16:41:41 1997  Gavin Koch  <gavin@cygnus.com>
4936
4937         * libc/machine/mips/setjmp.S: Handle mips16 builds.
4938
4939 Thu Aug 21 20:05:38 1997  Ian Lance Taylor  <ian@cygnus.com>
4940
4941         * libc/include/stdio.h (siprintf): Declare.
4942
4943 Mon Aug 18 11:19:13 1997  Nick Clifton  <nickc@cygnus.com>
4944
4945         * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
4946         TARGET_CFLAGS and NEWLIB_FLAGS.
4947
4948 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
4949
4950         * configure.in (links): Add support for v850ea target.
4951
4952 Mon Aug 18 11:15:43 1997  Nick Clifton  <nickc@cygnus.com>
4953
4954         * configure.in (links): Add support for v850e target.
4955
4956 Wed Aug 13 19:16:54 1997  Nick Clifton  <nickc@cygnus.com>
4957
4958         * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
4959
4960 Mon Aug 11 15:49:54 1997  Doug Evans  <dje@canuck.cygnus.com>
4961
4962         * configure.in (arc-*-*): Add support for.
4963         * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
4964
4965 Fri Jul 25 17:37:41 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
4966
4967         * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
4968
4969 Thu Jul 24 18:32:17 1997  Geoffrey Noer  <noer@cygnus.com>
4970
4971         * libc/stdlib/bsearch.c (bsearch): remove last unneeded
4972         comparison which accesses invalid memory when the key is
4973         larger than the last member of the array.
4974         * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
4975         for CYGWIN32
4976         * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
4977
4978 Tue Jul 22 16:03:06 1997  Ian Lance Taylor  <ian@cygnus.com>
4979
4980         * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
4981         not _STRICT_ANSI.
4982
4983 Thu Jul 10 15:11:52 1997  Doug Evans  <dje@canuck.cygnus.com>
4984
4985         * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
4986         ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
4987
4988 Thu Jul 10 16:00:09 1997  Mike Meissner  <meissner@cygnus.com>
4989
4990         * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
4991         to load/store memory.
4992
4993 Mon Jul  7 17:38:17 1997  Ian Lance Taylor  <ian@cygnus.com>
4994
4995         * libc/include/sys/fcntl.h: Define _O_* symbols with leading
4996         underscores if _WIN32.
4997
4998 Wed Jul  2 10:07:20 1997  Doug Evans  <dje@canuck.cygnus.com>
4999
5000         * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5001         support ifdef _USE_WRITE missed in last change.
5002         From Anders Blomdell <anders.blomdell@control.lth.se>.
5003
5004 Wed Jun 25 10:18:49 1997  Doug Evans  <dje@canuck.cygnus.com>
5005
5006         * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5007         (_tmpnam_r, _tempnam_r): Update.
5008
5009 Wed Jun 25 00:16:55 1997  Mark Alexander  <marka@cygnus.com>
5010
5011         * libc/machine/sparc/setjmp.S: New file.
5012         * libc/machine/sparc/Makefile.in: Add setjmp.
5013         * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5014
5015 Tue Jun 24 23:27:38 1997  Mark Alexander  <marka@cygnus.com>
5016
5017         * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5018
5019 Tue Jun 24 14:53:40 1997  Doug Evans  <dje@canuck.cygnus.com>
5020
5021         From Joel Sherrill <joel@oarcorp.com>.
5022         * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5023
5024         Add rtems support.  From Joel Sherrill <joel@oarcorp.com>.
5025         * configure.in: Recognize *-*-rtems*.
5026         * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5027         * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5028         time.h,times.h,types.h}: New files.
5029         * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5030
5031 Fri Jun 20 11:13:16 1997  Geoffrey Noer  <noer@cygnus.com>
5032
5033         patch from sos@prospect.com.ru (Sergey Okhapkin):
5034         * include/sys/wait.h: correct operator precidence bug
5035         in WIFSIGNALED
5036
5037 Wed Jun 18 22:08:27 1997  Geoffrey Noer  <noer@cygnus.com>
5038
5039         * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5040         with newlib's unsetenv function
5041         * libc/sys/cygwin32/sys: new directory for includes
5042         * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5043         here from winsup/include/sys
5044
5045 Mon Jun 16 21:02:22 1997  Geoffrey Noer  <noer@cygnus.com>
5046
5047         * libc/include/sys/unistd.h: _exit should only be
5048         labelled noreturn when not __CYGWIN32__
5049         * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5050         * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5051         increment NSIG
5052
5053 Thu Jun 12 18:52:41 1997  Ian Lance Taylor  <ian@cygnus.com>
5054
5055         * libc/include/sys/time.h: Only define timeval and timezone if
5056         _GNU_H_WINDOWS32_SOCKETS is not defined.
5057         * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5058
5059 Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
5060
5061         * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5062         * libc/machine/mn10300/setjmp.S: Likewise.
5063
5064         * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5065         the mn10300 (more relaxing opportunities).
5066
5067 Tue Jun 10 17:24:45 1997  Mike Meissner  <meissner@cygnus.com>
5068
5069         * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5070         Build libraries with -mstrict-align.
5071
5072 Fri Jun  6 14:07:59 1997  Ian Lance Taylor  <ian@cygnus.com>
5073
5074         * libc/string/strlwr.c: New file.
5075         * libc/string/strupr.c: New file.
5076         * libc/include/string.h: Declare strlwr and strupr.
5077         * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5078         (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5079         (strlwr.o, strupr.o): New targets.
5080         * libc/string/strings.tex: Include strlwr and strupr docs.
5081
5082         * libc/include/sys/types.h: Don't define u_char, et. al., if
5083         _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
5084         et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
5085         _types_fd_set rather than fd_set, and define fd_set as a macro.
5086
5087         * libc/include/malloc.h: New file.
5088
5089         * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5090         strnicmp if they are not already defined.
5091
5092         * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5093         _timezone, _daylight, and _tzname.
5094
5095 Wed Jun  4 12:51:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5096
5097         * configure.in: Sort all configuration tables.
5098
5099         From Joel Sherrill <joel@oarcorp.com>
5100         * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5101
5102 Tue Jun  3 14:47:46 1997  Ian Lance Taylor  <ian@cygnus.com>
5103
5104         * libc/include/sys/signal.h: Don't include <sys/types.h>.  Just
5105         use int when declaring kill.
5106
5107         * libc/include/sys/timeb.h: New file.
5108
5109 Mon Jun  2 12:06:58 1997  Geoffrey Noer  <noer@cirdan.cygnus.com>
5110
5111         * libc/include/sys/time.h: add itimer support for Cygwin32
5112
5113 Mon May 19 11:56:46 1997  Mike Meissner  <meissner@cygnus.com>
5114
5115         * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5116         out a message that abort was called to stderr.
5117
5118 Fri May 16 15:02:59 1997  Bob Manson  <manson@charmed.cygnus.com>
5119
5120         * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5121         so that libio doesn't freak.
5122
5123         * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5124         int.
5125
5126         * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5127         memory sizes, not int.
5128
5129 Wed May 14 21:16:58 1997  Bob Manson  <manson@charmed.cygnus.com>
5130
5131         * libm/math/ef_hypot.c: Use long constants where
5132         appropriate.
5133         * libm/math/ef_sqrt.c: Ditto.
5134
5135         * libc/sys/sysmec/times.c(_times): Change to times.
5136
5137         * libc/sys/sysmec/read.c(_read): The third argument is
5138         size_t.
5139         * libc/sys/sysmec/write.c (_write): Ditto.
5140
5141         * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5142         (_lseek): It's off_t for the second argument.
5143
5144 Wed May 14 15:23:36 1997  Mike Meissner  <meissner@cygnus.com>
5145
5146         * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5147         as well as machine/ieeefp.h.
5148
5149 Thu May  8 15:47:25 1997  Geoffrey Noer  <noer@cygnus.com>
5150
5151         * libc/include/sys/signal.h: add signal protos for winsup
5152         functions (when __CYGWIN32__), include types.h
5153         * libc/include/sys/types.h: Change __go32_types__ internal
5154         define to __MS_types__ since it's used for more than just
5155         GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
5156         defined.
5157         * libc/include/sys/unistd.h: add ftruncate proto for
5158         winsup functions (when __CYGWIN32__)
5159
5160 Fri Apr 25 10:10:16 1997  Doug Evans  <dje@canuck.cygnus.com>
5161
5162         * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5163
5164 Thu Apr 24 15:46:51 1997  Mike Stump  <mrs@cygnus.com>
5165
5166         * libc/include/machine/setjmp.h: Add tic80 support.
5167         * libc/machine/tic80/setjmp.S: Likewise.
5168
5169 Tue Apr 22 16:54:40 1997  Geoffrey Noer  <noer@pizza.cygnus.com>
5170
5171         * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5172         link programs from libraries only (such as in the X11
5173         distribution)
5174
5175 Mon Apr 21 15:02:12 1997  Fred Fish  <fnf@cygnus.com>
5176
5177         * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5178         supplied elsewhere in newlib.
5179
5180 Mon Apr 14 16:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
5181
5182         * Makefile.in (INSTALL): Change install.sh to install-sh.
5183
5184 Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5185
5186         * README: update WWW address for on-line documentation.
5187
5188 Wed Apr  9 00:38:13 1997  Geoffrey Noer  <noer@cygnus.com>
5189
5190         * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5191         increment NSIG
5192
5193 Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
5194
5195         * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5196         mn10300.
5197         * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5198
5199 Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
5200
5201         * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5202         * libc/sys/d10v/syscalls.c: Likewise.
5203         * libc/sys/h8300hms/sbrk.c: Likewise.
5204         * libc/sys/h8500hms/syscalls.c: Likewise.
5205         * libc/sys/m88kbug/syscalls.c: Likewise.
5206         * libc/sys/sh/syscalls.c: Likewise.
5207         * libc/sys/sysmec/sbrk.c: Likewise.
5208         * libc/sys/sysnecv850/sbrk.c: Likewise.
5209         * libc/sys/w65/syscalls.c: Likewise.
5210         * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5211
5212 Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
5213
5214         * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5215         emulated syscall instead of "trap".
5216
5217 Fri Mar 14 11:26:13 1997  Michael Meissner  <meissner@cygnus.com>
5218
5219         * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5220         not trap 0.
5221
5222 Sun Mar  9 23:27:04 1997  Doug Evans  <dje@seba.cygnus.com>
5223
5224         * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5225
5226 Sat Mar  8 09:05:01 1997  Fred Fish  <fnf@cygnus.com>
5227
5228         * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5229         not "sh".
5230         * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5231         not "d10v".
5232         * libc/sys/tic80/crt0.c: New file for TIc80.
5233         * libc/sys/tic80/Makefile.in: New file for TIc80.
5234         * libc/machine/tic80/Makefile.in: New file for TIc80.
5235
5236 Wed Mar  5 11:32:12 1997  J.T. Conklin  <jtc@cygnus.com>
5237
5238         * libc/machine/sh/memcpy.S: New file.
5239         * libc/machine/sh/memset.S: New file.
5240         * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5241
5242 Thu Feb 27 16:27:55 1997  Fred Fish  <fnf@cygnus.com>
5243
5244         * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5245         for TIc80.
5246
5247 Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
5248
5249         * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5250         the mn10200.
5251
5252 Wed Feb 26 07:11:03 1997  Michael Meissner  <meissner@cygnus.com>
5253
5254         * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5255         (patch from andrew@pogo.WV.TEK.COM).
5256
5257 Fri Feb 14 11:49:28 1997  Doug Evans  <dje@canuck.cygnus.com>
5258
5259         * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5260         (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5261
5262 Mon Feb 10 10:02:34 1997  Fred Fish  <fnf@cygnus.com>
5263
5264         * configure.in:  Add cases for "tic80" to set machine_dir,
5265         sys_dir, and syscall_dir.
5266
5267 Sun Feb  2 17:57:15 1997  Geoffrey Noer  <noer@cygnus.com>
5268
5269         * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5270
5271 Wed Jan 29 15:57:38 1997  Geoffrey Noer  <noer@cygnus.com>
5272
5273         * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5274
5275 Mon Jan 27 12:50:01 1997  Doug Evans  <dje@seba.cygnus.com>
5276
5277         * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5278         Use proper constant prefix.
5279
5280 Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
5281
5282         * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5283         that loses on the mn10200 where ints and pointers are different
5284         sizes.
5285
5286 Tue Jan 14 13:29:55 PST 1997  Jeremy Allison <jra@cygnus.com>
5287
5288         * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5289         target as signal is provided in winsup.
5290
5291 Tue Jan 14 11:10:13 1997  Jeremy Allison <jra@cygnus.com>
5292
5293         * libc/include/sys/process.h: Corrected const definitions
5294         in spawn functions. Added cwait.
5295
5296 Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
5297
5298         * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5299         doubles.
5300         * libc/include/sys/config.h: Similarly.
5301
5302 Tue Dec 31 18:36:14 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5303
5304         * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5305         target_cflags.
5306         (i[3456]86-*-sco*): Ditto.
5307
5308         * libc/signal/Makefile.in (OFILES): Add signal.o.
5309         (CFILES): Add signal.c.
5310
5311         * libc/signal/raise.c (_raise_r): Only compile code if
5312         SIGNAL_PROVIDED is defined.
5313
5314         * libc/signal/signal.c: Redo whole file so that it works with
5315         current newlib.  Use _kill_r if no signal handler provided.
5316
5317         * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5318         signal stubs.
5319         * libc/sys/sysvnecv70/Makefile.in: Ditto.
5320         * libc/sys/sysnecv850/Makefile.in: Ditto.
5321
5322         * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5323         * libc/sys/sysmec/{raise,signal}.c: Ditto.
5324         * libc/sys/sysvnecv70/signal.s: Ditto.
5325         * libc/sys/sysnecv850/raise.c: Ditto.
5326
5327         * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5328         simulator and debugger can tell the difference between a signal
5329         being raised and an exit system call.
5330
5331         * NEWS: Document software signals being provided.
5332
5333 Mon Dec 23 11:54:19 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5334
5335         * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5336         __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
5337         include/sys/config.h.
5338         (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5339         Change from 'inpure_data'.
5340         (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
5341         &impure_data, not &inpure_data.
5342
5343         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5344         and and System V ABI, define so that _impure_ptr lives in the
5345         .sdata section.
5346
5347 Sun Dec 22 23:33:05 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5348
5349         * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5350         nothing if not defined.
5351         (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5352         its attributes.
5353
5354         * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): 
5355
5356 Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
5357
5358         * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5359         * libc/sys/sysmec/trap.s: Handle mn10200 too.
5360         * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5361
5362 Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
5363
5364         * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5365
5366 Fri Dec 13 11:05:20 1996  Jeremy Allison <jra@cygnus.com>
5367
5368         * libc/include/sys/errno.h: Added net errno's.
5369
5370 Wed Dec 11 16:24:25 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5371
5372         * libc/misc/ffs.c: New file to support ffs function for GCC test
5373         gcc.c-torture/execute/960909-1.c.
5374
5375         * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5376
5377 Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
5378
5379         * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5380         * libc/sys/sysmec/trap.S: Likewise.
5381
5382 Fri Dec  6 15:08:49 1996  Jim Wilson  <wilson@cygnus.com>
5383
5384         * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5385         * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5386
5387 Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
5388
5389         * libc/sys/sysmec/signal.c: Dummy file.
5390         * libc/sys/sysmec/Makefile.in: Build it.
5391
5392 Wed Nov 27 13:10:18 1996  Ian Lance Taylor  <ian@cygnus.com>
5393
5394         * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5395         mips16.
5396
5397 Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
5398
5399         * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5400         c-startup and simulator traps.
5401
5402
5403         * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5404         * libc/sys/sysmec/trap0.S: Likewise.
5405
5406 Sat Nov 23 09:01:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5407
5408         * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5409         round to double word alignment.
5410         (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5411         byte alignment.
5412
5413         * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5414
5415         * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5416         out of memory.
5417
5418 Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
5419
5420         * configure.in: Handle mn10200 and mn10300.
5421         * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5422         * libc/include/sys/config.h: Likewise.
5423         * libc/sys/sysmec: New directory for mec stuff.
5424         * libc/machine/mn10300: New directory for mn10300 stuff.
5425         * libc/machine/mn10200: Similarly for mn10200 stuff.
5426
5427 Fri Nov 15 16:41:41 1996  Doug Evans  <dje@canuck.cygnus.com>
5428
5429         * libc/sys/arm/crt0.S: Use .text, not .section .text.
5430         * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5431
5432         * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5433         (nlink_t): Change type from unsigned int to unsigned short.
5434         (mode_t): Ensure size is 32 bits even if int is 16.
5435         * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5436         (st_spare[123]): Change type from int to long.
5437
5438 Fri Nov 15 11:41:50 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5439
5440         * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5441         byte boundary.
5442
5443         * configure.in (d10v*): Define SMALL_MEMORY.
5444
5445 Mon Nov 11 10:30:44 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5446
5447         * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5448         -mrelocatable-lib and -mno-eabi flags.
5449
5450 Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
5451
5452         * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5453         Fix handling of mis-aligned source operand when both the
5454         destination & length are properly aligned.
5455         
5456 Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
5457
5458         * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5459         times.o, time.o and gettime.o
5460         * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5461         * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5462         SYS_gettimeofday.
5463
5464 Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
5465
5466         * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5467         * libc/sys/sysnecv850/access.c: New file.
5468
5469 Mon Oct 21 19:47:02 1996  Ian Lance Taylor  <ian@cygnus.com>
5470
5471         * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5472
5473         * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5474         long.
5475
5476 Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
5477
5478         * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5479
5480 Thu Oct 17 11:47:16 1996  Doug Evans  <dje@seba.cygnus.com>
5481
5482         * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5483         * libc/include/sys/config.h: Add m32r support.
5484
5485 Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
5486
5487         * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
5488         here.
5489
5490 Wed Oct 16 21:18:07 1996  Mark Alexander  <marka@cygnus.com>
5491
5492         * libc/include/machine/setjmp.h: Add D10v support.
5493
5494 Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
5495
5496         * configure.in: Configure the "libc/syscalls" directory for
5497         the v850.
5498
5499         * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5500         * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5501         * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5502         * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5503         * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5504
5505 Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
5506
5507         * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
5508         stack for args for main and other routines.  Zero out args for
5509         main.
5510
5511         * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
5512         correctly.
5513
5514 Tue Oct 15 11:51:42 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5515
5516         * libc/stdio/findfp.c (std): Remove extraneous ';' after
5517         function.
5518
5519         * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5520
5521         * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5522         real system calls now.
5523
5524         * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5525         before casting them to int.
5526         * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5527
5528         * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5529         aligning pointer.
5530         * libc/string/memset.c (memset): Ditto.
5531         
5532         * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5533         first convert ints to _POINTER_INT to eliminate GCC warning.
5534
5535         * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5536         processing %p.
5537
5538         * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5539         from 65000 if ints are only 16 bits.
5540
5541         * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5542         from 50000 if ints are only 16 bits.
5543
5544         * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5545         int type that is the same size as a pointer.
5546
5547         * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5548         processing %p.
5549         (get_number): Explicitly cast number to long before shifting by 16
5550         or 24, in case ints are short.
5551
5552         * libc/include/sys/config.h (_POINTER_INT): Define as short.
5553
5554 Wed Oct  9 16:54:32 1996  Jeremy Allison <jra@cygnus.com>
5555
5556         * libc/string.h: Added ffs, removed swab.
5557         * libc/sys/errno.h: Added EOPNOTSUPP.
5558         * libc/sys/unistd.h: Added swab.
5559
5560 Thu Oct  3 17:08:50 1996  Jeremy Allison <jra@cygnus.com>
5561
5562         * libc/include/sys/stat.h: Added fchmod.
5563         * libc/include/sys/unistd.h: Added fsync.
5564
5565 Tue Oct  1 17:34:08 1996  Jeremy Allison <jra@cygnus.com>
5566
5567         * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5568         and ECONNRESET (104) for cygwin32.
5569
5570 Tue Oct  1 16:24:05 1996  Gavin Koch  <gavin@cygnus.com>
5571
5572         * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5573         do the static destructors.
5574         
5575 Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
5576
5577         * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
5578
5579 Mon Sep 30 12:02:50 1996  Doug Evans  <dje@canuck.cygnus.com>
5580
5581         * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5582         * configure.in: Recognize m32r-*-*.
5583
5584 Mon Sep 30 00:34:41 1996  James G. Smith  <jsmith@cygnus.co.uk>
5585
5586         * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5587         __rt_stkovf_split_small): Added default software stack overflow
5588         handlers, which just call SWI_Exit.
5589         * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5590         limit initialisation.
5591
5592 Fri Sep 27 13:08:03 1996  Mark Alexander  <marka@cygnus.com>
5593
5594         * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5595
5596 Fri Sep 27 12:32:00 1996  Jeremy Allison <jra@cygnus.com>
5597
5598         * libc/include/sys/types.h: Added ssize_t definition.
5599         
5600 Wed Sep 25 14:52:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5601
5602         * libc/machine/d10v/setjmp.S: Use ';' for comments.
5603         * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5604
5605         * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5606         branch around a single ldi instruction.
5607
5608         * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5609         Call exit, instead of just issuing a stop instruction.
5610
5611 Sun Sep 22 17:26:55 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5612
5613         * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5614
5615 Fri Sep 20 13:23:12 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5616
5617         * libc/stdlib/mprec.h: Explicitly declare all large constants as
5618         longs, and then cast them to __uint32_t.
5619
5620         * libc/include/sys/config.h: Protect against multiple inclusions.
5621
5622 Tue Sep 17 13:10:33 1996  Mark Alexander  <marka@cygnus.com>
5623
5624         * configure.in (d10v*): Set syscall_dir.
5625
5626 Sun Sep 15 10:41:59 1996  Mark Alexander  <marka@cygnus.com>
5627
5628         * libc/sys/d10v/crt0.S: Set stack pointer.
5629
5630 Thu Sep 12 13:02:38 1996  Mark Alexander  <marka@cygnus.com>
5631
5632         * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5633         in assembly for efficiency.  Change calling convention to allow
5634         long ints to be returned.
5635
5636 Wed Sep 11 10:28:18 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5637
5638         * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5639
5640 Thu Sep  5 19:23:06 1996  Doug Evans  <dje@canuck.cygnus.com>
5641
5642         * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5643         Handle empty entries in $PATH.
5644
5645 Tue Sep 03 18:15:02 1996  Mark Alexander  <marka@cygnus.com>
5646
5647         * libc/machine/d10v/setjmp.S: Make it really work.
5648
5649 Tue Sep  3 12:16:26 1996  Ian Lance Taylor  <ian@cygnus.com>
5650
5651         * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5652         the .stack section.
5653
5654 Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
5655
5656         * sys/sysnecv850/sys/file.h: Remove.
5657         * sys/sysnecv850/sys/syscall.h: New file.
5658         * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5659         * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5660         * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5661         * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5662         * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5663         * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5664         * sys/sysnec850/trap.S: New file.
5665         * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5666         syscalls.
5667         * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5668         * sys/sysnec850/sbrk.c: New version.
5669
5670 Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
5671
5672         * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
5673         as long as r6 is less than r7.
5674
5675 Sun Sep  1 13:54:19 1996  Ian Lance Taylor  <ian@cygnus.com>
5676
5677         * Makefile.in (mostlyclean): Separate from clean target.  Don't
5678         remove *.a or targ-include.
5679         * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5680
5681 Sun Sep  1 11:35:26 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5682
5683         * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5684         d10v.
5685         (__SMALL_BITFIELDS): Ditto.
5686
5687         * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5688
5689 Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
5690
5691         * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5692         prefix.
5693
5694         * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5695         * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5696         * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5697         * libc/sys/sysnecv850/write.c (write): Likewise.
5698
5699         * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5700         .bss.
5701
5702 Fri Aug 30 11:18:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5703
5704         * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5705         appropriately for D10V, depending on -mint16/-mint32.
5706
5707 Thu Aug 29 16:09:37 1996  Mark Alexander  <marka@cygnus.com>
5708
5709         * configure.in: Add cases for D10V.
5710
5711 Thu Aug 29 17:03:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5712
5713         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5714
5715 Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
5716
5717         * libc/include/machine/ieeefp.h: Fix typo.
5718
5719 Wed Aug 28 19:47:55 1996  Mark Alexander  <marka@cygnus.com>
5720
5721         * libc/sys/d10v: New directory for D10V stuff.
5722         * libc/include/machine/ieeefp.h: Add D10V defines.
5723
5724 Mon Aug 26 13:34:58 1996  Doug Evans  <dje@canuck.cygnus.com>
5725
5726         * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5727         ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5728         ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5729         * libc/string/strerror.c (strerror): Add them.
5730
5731 Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
5732
5733         * libc/sys/sysnecv850: New directory for v850 stuff.
5734
5735         * libc/machine/v850: New directory for v850 stuff.
5736         * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5737
5738         * configure.in: Add support for the v850.
5739
5740         * libc/include/machine/ieeefp.h: Add v850 defines.
5741         * libc/include/machine/setjmp.h: Likewise.
5742         * libc/include/sys/config.h: Add v850 defines.
5743
5744 Sat Aug 17 04:06:36 1996  Geoffrey Noer  <noer@cygnus.com>
5745
5746         * libc/include/machine/ieeefp.h
5747         * libc/include/machine/setjmp.h
5748         * libc/include/sys/fcntl.h
5749         * libc/include/sys/signal.h
5750         * libc/include/sys/types.h
5751         * libc/stdlib/system.c:
5752         Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5753         API availability, __CYGWIN32__ for cygwin32 environment specific).
5754
5755 Thu Aug 15 17:09:21 1996  Geoffrey Noer  <noer@cygnus.com>
5756
5757         * libc/include/stdlib.h: add multibyte character functions.  Add
5758         __eprintf for assert.
5759
5760 Thu Aug 15 11:15:40 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5761
5762         * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5763         arithmetic or __alignof__ to properly get the alignment, instead
5764         of hardwiring it to 4.
5765
5766 Wed Aug 14 23:43:28 1996  Geoffrey Noer  <noer@cygnus.com>
5767
5768         * libc/stdio/fseek.c: add fflush call to adjust seek offset
5769         on append stream (fix from NetBSD sources), adjust curoff offset
5770         for ungetc's benefit.
5771         * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5772         * libc/stdio/rewind.c: replace code with up to date NetBSD
5773         code to undo hacks made to work around above problem of not
5774         having fflush call mentioned above
5775
5776 Fri Aug  2 18:28:07 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5777
5778         * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5779         openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5780         Partially revert last changes.  The thread specific errno is set
5781         iff if the underlying syscall fails and the global errno is not
5782         zero.
5783
5784 Fri Jul 19 11:41:52 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5785
5786         * libc/reent/filer.c: Removed files, all functions have split out
5787         into their own files.
5788         * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}: 
5789         New files containing functions formally in filer.c
5790         * libc/reent/Makefile.in: Updated for above change.
5791
5792         * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
5793         syscall fails, not if errno is changed.
5794         * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r, 
5795         _write_r): Likewise.
5796         * libc/reent/fstatr.c (_fstat_r): Likewise.
5797         * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
5798         * libc/reent/sbrkr.c (_sbrk_r): Likewise.
5799         * libc/reent/signalr.c (_kill_r): Likewise.
5800         * libc/reent/statr.c (_stat_r): Likewise.
5801         * libc/reent/timer.c (_gettimeofday_r): Likewise.
5802
5803         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
5804         signalr.c, statr.c, timer.c} (errno): declare extern rather
5805         than as a common.
5806
5807         * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
5808         instead of calling vfprintf so that i*printf will not require
5809         floating point support code.
5810         
5811 Mon Jul 15 16:50:59 1996  Doug Evans  <dje@canuck.cygnus.com>
5812
5813         * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
5814         path delimiter.
5815         * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
5816         (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5817
5818 Thu Jul 11 14:34:14 1996  Geoffrey Noer  <noer@cygnus.com>
5819
5820         * libc/include/signal.h: _sig_func_ptr function takes an int
5821         * libc/include/sys/signal.h: sa_handler function takes an int
5822
5823 Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
5824
5825         * libc/include/machine/ieeefp.h: Simplify H8/S support.
5826         * libc/include/sys/config.h: Add missing H8/S conditional.
5827
5828 Sun Jun 30 12:05:46 1996  Doug Evans  <dje@canuck.cygnus.com>
5829
5830         * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
5831
5832 Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
5833
5834         * libc/include/machine/setjmp.h: Handle H8/S.
5835         * libc/include/machine/ieeefp.h: Likewise.
5836         * libc/include/sys/config.h: Likewise.
5837         * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
5838         * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
5839         * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
5840         * libc/sys/h8300hms/crt0.S: Likewise.
5841
5842 Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
5843
5844         * Makefile.in (datadir): Set to $(prefix)/share.
5845         (oldincludedir, docdir): Removed.
5846         * doc/Makefile.in (datadir): Set to $(prefix)/share.
5847         (oldincludedir, docdir): Removed.
5848         * libc/Makefile.in (datadir): Set to $(prefix)/share.
5849         (oldincludedir, docdir): Removed.
5850         * libm/Makefile.in (datadir): Set to $(prefix)/share.
5851         (oldincludedir, docdir): Removed.
5852
5853 Fri Jun 21 19:24:41 1996  Ian Lance Taylor  <ian@cygnus.com>
5854
5855         * libc/include/sys/reent.h (_REENT_INIT): Update for change to
5856         _reent struct.
5857
5858 Wed Jun 19 14:00:09 1996  Doug Evans  <dje@canuck.cygnus.com>
5859
5860         * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
5861         fetch current path rules with sysconf and handler posix/win32
5862         appropriately.
5863
5864         * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
5865
5866         * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
5867         (WAIT_CHILD): Always define.
5868
5869 Sat Jun 15 17:50:42 1996  Ian Lance Taylor  <ian@cygnus.com>
5870
5871         * libc/stdlib/eprintf.c: New file.
5872         * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
5873         (eprintf.o): New target.
5874
5875 Thu Jun 13 16:44:32 1996  Doug Evans  <dje@canuck.cygnus.com>
5876
5877         * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
5878         (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
5879
5880 Thu Jun 13 17:45:17 1996  Mike Meissner  <meissner@rtl.cygnus.com>
5881
5882         * libc/include/machine/ieeefp.h: Add support for AIX and Windows
5883         NT in PowerPC endianess cases.
5884
5885 Tue Jun 11 12:26:28 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5886
5887         * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
5888
5889 Thu Jun  6 11:34:20 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5890
5891         * libc/string/strtok.c: Fix doc typo.
5892
5893 Mon Jun  3 11:30:00 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5894
5895         * libc/include/sys/reent.h (struct _reent): Removed _asctime,
5896         _next, _scanpoint, _signgam fields.
5897
5898         * libc/include/stdlib.h (rand_r): Added new declaration.
5899         (_rand_r, _srand_r): Removed declarations.
5900         * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
5901         have been made obsolete by rand_r.
5902         * libc/stdlib/rand_r.c: New file, rand_r function as specified
5903         by POSIX.1c.
5904         
5905         * libc/string/strtok.c: Update documentation to describe
5906         strtok_r().
5907
5908 Sat Jun  1 23:50:39 1996  Michael Meissner  <meissner@cygnus.com>
5909
5910         * libc/include/sys/stat.h (stat structure): Use the expanded stat
5911         structure on Solaris, and PowerPC systems even though __svr4__ is
5912         defined.
5913
5914 Tue May 28 13:02:42 1996  Doug Evans  <dje@canuck.cygnus.com>
5915
5916         * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
5917
5918 Fri May 17 10:34:44 1996  Ian Lance Taylor  <ian@cygnus.com>
5919
5920         * host/any: Use ../.. rather than .. to get to the main build
5921         directory.  This matches the current layout of the build
5922         directory.
5923
5924 Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
5925
5926         * libc/machine/h8300/__main.S: Delete.  No longer needed.
5927         * libc/machine/h8300/Makefile.in: Corresponding changes.
5928         * libc/sys/h8300hms/crt1.c: New file.
5929         * libc/sys/h8300hms/Makefile.in: Corresponding changes.
5930         * libc/sys/h8300hms/crt0.s: Call __main.
5931
5932         * libc/sys/h8300hms/crt0.S: Use temporary label names
5933         for branch targets.
5934
5935 Mon May 13 14:26:30 1996  Doug Evans  <dje@canuck.cygnus.com>
5936
5937         * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
5938
5939 Fri May  3 16:38:23 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
5940
5941         * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
5942         .sdata on the PowerPC so that we can link newlib with code
5943         compiled with -msdata.
5944
5945 Mon Apr 29 21:38:02 1996  Doug Evans  <dje@canuck.cygnus.com>
5946
5947         * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
5948
5949 Thu Apr 25 06:38:59 1996  Michael Meissner  <meissner@cygnus.com>
5950
5951         * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
5952         exception handler to __cygwin_exception_handler.
5953
5954 Tue Apr 23 15:14:20 1996  Ian Lance Taylor  <ian@cygnus.com>
5955
5956         * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
5957
5958 Sun Apr 21 12:11:51 1996  Doug Evans  <dje@blues.cygnus.com>
5959
5960         * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
5961         SunOS VPATH.
5962         * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
5963         wcstombs.o): Likewise.
5964
5965 Thu Apr 18 12:37:01 1996  Doug Evans  <dje@canuck.cygnus.com>
5966
5967         * libc/stdlib/environ.c (initial_env): New static local.
5968         (environ): Point to `initial_env'.
5969
5970         * libc/include/machine/setjmp.h: Clean up.
5971         (__H8300H__,__PPC__): Define _JBTYPE.
5972         (__arm__): Provide entry for.
5973         (sigjmp_buf): Delete.
5974         (jmp_buf): Use _JBTYPE if defined, otherwise int.
5975
5976 Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
5977
5978         * libc/machine/h8300/strcmp.S: Sign extend the result to
5979         32bits so we don't lose with -mint32.
5980
5981 Sun Apr 14 19:59:52 1996  Doug Evans  <dje@canuck.cygnus.com>
5982
5983         * libc/sys/go32/sys/errno.h: New file.
5984         * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
5985         * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
5986         errno's address (make compatible with rest of newlib).
5987         * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
5988         * libc/string/strerror.c (strerror): Surround each case with #ifdef.
5989
5990 Thu Mar 28 13:44:42 1996  Doug Evans  <dje@canuck.cygnus.com>
5991
5992         * libc/machine/sparc/{scan.c,shuffle.c}: New files.
5993         * libc/machine/sparc/Makefile.in: Build them.
5994         * libc/machine/sparc/machine/sparclet.h: New file.
5995
5996 Mon Mar 25 15:29:14 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
5997
5998         * libc/machine/sh/asm.h: New file.
5999         * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
6000         support for SH3e's FP registers.  Use asm.h.
6001
6002 Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
6003
6004         * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6005         as first argument.  Call _dtoa_r and pass the reent structure
6006         instead of calling __dtoa.
6007
6008 Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
6009
6010         * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6011         the h8300, h8500, and others.  Add comments for some rather
6012         dubious code.
6013
6014 Thu Mar 14 18:04:43 1996  Ian Lance Taylor  <ian@cygnus.com>
6015
6016         * Makefile.in (check): Check that testsuite exists before cd.
6017
6018 Tue Mar 12 11:46:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6019
6020         * libc/include/string.h (strsep): Correct prototype.
6021
6022 Mon Mar 11 09:55:19 1996  Doug Evans  <dje@charmed.cygnus.com>
6023
6024         * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6025         * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6026         * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6027
6028 Wed Mar  6 11:51:55 1996  Doug Evans  <dje@charmed.cygnus.com>
6029
6030         * libc/posix/{creat.c,isatty.c}: New files.
6031         * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6032
6033         * libc/sys/sparc64/crt0.S (environ): Delete.
6034         (.LHaveBias): Renamed from HaveBias.
6035
6036 Thu Feb 15 10:48:37 1996  Doug Evans  <dje@charmed.cygnus.com>
6037
6038         * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6039         (_morecore_r): Delete SBRK_IS_ALLOC support.
6040
6041 Tue Feb 13 09:44:09 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6042
6043         * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6044         module rather than touch, so we don't get warning messages when
6045         all of the libraries are combined into libc.a.
6046
6047 Tue Feb 13 06:32:07 1996  Doug Evans  <dje@charmed.cygnus.com>
6048
6049         * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6050         crt0.s replaced by version in libgloss.
6051
6052 Mon Feb  5 15:17:51 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
6053
6054         * libc/reent/Makefile.in (OFILES): Add impure.o.
6055         * libc/reent/impure.o: New file, define initial reentrancy struct.
6056         * libc/reent/reent.c: Remove above definition.
6057
6058         * libm/math/sf_asinh.c: Fix typo.
6059
6060         * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6061         srf_ldexp.o.
6062         
6063         * libm/libm.texinfo: Change documentation to reflect changes
6064         in reentrancy model.
6065         * libm/math/w_gamma.c: Likewise.
6066
6067 Wed Jan 31 18:49:45 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6068
6069         * configure.in (*-*-cygwin32): New.
6070         (*-*-win32): Deleted.
6071         * libc/sys/win32 renamed libc/sys/cygwin32.
6072
6073 Tue Jan 30 22:09:03 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6074
6075         * libc/include/sys/file.h: New include file.
6076
6077 Fri Jan 26 15:52:54 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6078
6079         * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6080
6081 Tue Jan 23 17:49:16 1996  Steve Chamberlain  <sac@slash.cygnus.com>
6082
6083         * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6084
6085 Tue Jan 16 09:28:10 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
6086
6087         * doc/makedoc.c (realloc): Declare at file scope.
6088         (catchar): Not here.
6089
6090 Wed Dec 27 15:45:23 1995  Doug Evans  <dje@canuck.cygnus.com>
6091
6092         * Makefile.in (VERSION): Update to 1.7.0.
6093         * {libc,libm}/Makefile.in (VERSION): Likewise.
6094         * configure.in: Minor clean up of multilib stuff.
6095
6096         From David Johnson <davidj@ICSI.Berkeley.EDU>
6097         * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6098
6099         * libc/stdlib/environ.c: New file.
6100         * libc/stdlib/Makefile.in (OFILES): Build it.
6101         * libc/sys/h8500hms/crt0.c (environ): Deleted.
6102         * libc/sys/m88kbug/crt0.c (environ): Deleted.
6103         * libc/sys/z8ksim/crt0.c (environ): Deleted.
6104         * libc/sys/netware/environ.c: Deleted.
6105
6106 Tue Dec 19 15:24:46 1995  Kim Knuttila  <krk@cygnus.com>
6107
6108         * configure.in (links): set sys_dir, posix_dir, syscall_dir
6109
6110 Wed Dec 13 04:16:25 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6111
6112         * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6113         declaration out to external scope and declare it PTR, not char *.
6114
6115 Mon Dec 11 17:35:12 1995  steve chamberlain  <sac@slash.cygnus.com>
6116
6117         * libc/include/sys/unistd.h (getpagesize): New declaration.
6118         (_SC_PAGESIZE): New definition.
6119         * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6120         * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6121
6122 Fri Dec  1 16:48:46 1995  James G. Smith  <jsmith@cygnus.co.uk>
6123
6124         * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6125         addressing. System call returns size, not (last address + 1).
6126
6127 Thu Nov 30 15:05:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6128
6129         * libm/math/*.c: Removed _foo_r() reentrancy API.
6130         * libc/include/math.h: Removed _foo_r prototypes and macros.
6131
6132         * libm/math/*.c: On systems with IEEE single precision "doubles" 
6133         move foo() -> foof() wrapper code from the files that implement
6134         the standard IEEE double precision functions to the files that 
6135         implement IEEE single precision functions. (ie. On those systems
6136         sin is moved from s_sin.c to sf_sin.c).  There should eventually
6137         be use of a C extension (like gcc's alias attribute) so that the
6138         wrappers are not needed at all.
6139
6140         * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6141         strict NEC V810 compiler.
6142         * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6143         for same reason.
6144
6145 Wed Nov 29 14:25:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6146
6147         * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6148         from NetBSD C library.
6149         * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6150
6151         * libc/stdlib/assert.c (__assert): Renamed from __assertfail 
6152         and adapted from implementation I wrote for NetBSD C library.
6153         The difference is __assert doesn't take a format argument,
6154         so that there won't be multiple copies of the same string
6155         constant in the executable if assertions are enabled in
6156         more than one source module.
6157         * libc/include/assert.h (assert): Changed to call __assert.
6158
6159 Tue Nov 28 16:54:26 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6160
6161         * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6162         word1 on systems with 32 bit doubles.
6163         * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6164         so that we can do arithmetic on them.
6165         * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6166         compilers.
6167         
6168 Tue Nov 28 16:03:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6169
6170         * libc/sys/arm/crt0.S: Zero bss.
6171
6172 Fri Nov 24 16:09:23 1995  Doug Evans  <dje@deneb.cygnus.com>
6173
6174         * libc/include/unctrl.h: New file.
6175         * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6176         * configure.in (subdirs): Add libc/misc.
6177         * libc/Makefile.in (SUBDIRS): Add misc.
6178         (SUBLIBS): Add misc/lib.a.
6179
6180         * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6181
6182 Wed Nov 22 19:49:47 1995  Doug Evans  <dje@deneb.cygnus.com>
6183
6184         * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6185         (_vfprintf_r): Call CHECK_INIT.
6186
6187 Tue Nov 14 02:52:12 1995  Doug Evans  <dje@canuck.cygnus.com>
6188
6189         * Makefile.in (MULTITOP): Delete.
6190         (MULTISRCTOP, MULTIBUILDTOP): Add.
6191         * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
6192         instead of cfg-ml-pos.in.
6193
6194 Wed Nov  8 01:24:08 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6195
6196         * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6197         * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6198         presence.
6199
6200 Thu Nov  2 22:25:06 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
6201
6202         * libc/string/strtok.c: Include string.h to pick up strtok_r
6203         prototype.
6204
6205 Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6206
6207         * libc/string/strtok.c: include <_ansi.h>.
6208         * libc/time/asctime_r.c: `reresult' -> `result'.
6209
6210 Wed Nov  1 14:35:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6211
6212         * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6213         in #ifndef _REENT_ONLY ... #endif conditional.
6214
6215         * libc/include/string.h (_strtok_r): Remove declaration.
6216         * libc/include/time.h (_asctime_r): Remove declaration.
6217         * libc/string/strtok.c (_strtok_r): Removed.
6218         * libc/time/asctime.c (_asctime_r): Removed.
6219
6220         * libc/string/Makefile.in (OFILES): Add new object.
6221         * libc/string/strtok_r.c: New file.  strtok_r function as
6222         specified by POSIX.1c, adapted from strtok implementation 
6223         from NetBSD C library.
6224         * libc/string/strtok.c (strtok): Reimplemented in terms of 
6225         strtok_r.
6226
6227         * libc/time/Makefile.in (OFILES): Add new objects.
6228         * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6229         New files, reentrant time functions specified by POSIX.1c.
6230         * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6231         reentrant time functions re-written in terms of reentrant 
6232         functions.
6233         * libc/time/lcltime.c: Renamed from localtime.c
6234
6235         * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6236         gmtime_r, and localtime_r.
6237
6238 Sat Oct 28 14:34:31 1995  steve chamberlain  <sac@slash.cygnus.com>
6239
6240         * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6241         * libc/include/sys/unistd.h (getlogin): Revert change of
6242         Oct 19.
6243         * libc/include/sys/signal.h (sigprocmask): Change prototype
6244         so it compiles with c++.
6245
6246 Wed Oct 25 15:43:18 1995  Michael Meissner  <meissner@cygnus.com>
6247
6248         * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6249         PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
6250         to give some room in case we need to align the jmp_buf.
6251         
6252         * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6253         the new ppc-asm.h include file the compiler provides to specify
6254         function prologue/epilogue.  Eliminate saves of the xer and ctr
6255         registers, which are volatile.  Before starting to save registers,
6256         align to 8 byte boundary.
6257
6258 Mon Oct 23 11:20:51 1995  James G. Smith  <jsmith@pasanda.cygnus.co.uk>
6259
6260         * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6261         referenced by standard libraries.
6262
6263 Thu Oct 19 21:39:47 1995  Fred Fish  <fnf@cygnus.com>
6264         
6265         * libc/unix/Makefile.in, libc/string/Makefile.in,
6266         libc/stdio/Makefile.in, libc/reent/Makefile.in,
6267         libc/posix/Makefile.in:
6268         Remove tabs from otherwise empty line.  Confuses some
6269         older non-GNU versions of "make".
6270
6271 Thu Oct 19 16:32:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6272
6273         * libc/sys/unistd.h (getlogin): Returns const char *.
6274
6275 Wed Oct 18 12:57:50 1995  steve chamberlain  <sac@slash.cygnus.com>
6276
6277         * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6278         * libc/include/errno.h: Moved into and include...
6279         * libc/include/sys/errno.h: New file.
6280         * libc/include/sys/wait.h: New file.
6281         * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6282         * libc/sys/win32/*: Moved out.
6283         * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6284         * configure.in (i[345]86-*-win32): HAVE_RENAME
6285
6286 Wed Oct 18 09:58:27 1995  Brendan Kehoe  <brendan@lisa.cygnus.com>
6287
6288         * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6289         avoid macro expansion for these two names.
6290
6291 Tue Oct 17 08:45:33 1995  Doug Evans  <dje@canuck.cygnus.com>
6292
6293         * libc/machine/h8500/psi.S: r6 renamed to fp.
6294
6295 Sun Oct 15 12:58:10 1995  Michael Meissner  <meissner@wogglebug.tiac.net>
6296
6297         * configure.in (powerpc*): No longer need to define
6298         NO_LONGLONG_POINTERS to supress warnings.
6299
6300 Sat Oct 14 12:55:08 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6301
6302         * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6303         through PTR instead of directly.
6304
6305         * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
6306         non-standard constructor support.
6307
6308 Thu Oct 12 11:39:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6309
6310         * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6311         address of the Bigint instead of the address of its _x field,
6312         as the size the result buffer was calculated accordingly.  
6313         Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6314
6315         * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6316         from NetBSD C library.  No longer special cases division by 
6317         zero (which needs to be done by the application anyway), but
6318         it doesn't need to call abs() (or labs()) four times either.
6319         
6320         * libc/stdlib/qsort.c: Replaced with implementation from 
6321         NetBSD C library.
6322
6323 Tue Oct 10 14:01:10 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6324
6325         * libc/stdio/vfprintf.c: Replaced with implementation from
6326         NetBSD C library (which is derived from the 4.4BSD C library).
6327         * libc/stdio/cvt.c: Removed.
6328         * libc/stdio/Makefile: Updated.
6329         
6330 Tue Oct 10 12:15:23 1995  steve chamberlain  <sac@slash.cygnus.com>
6331
6332         * libc/sys/win32/syscalls.c (rename): New.
6333         * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6334
6335 Fri Oct  6 12:18:43 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
6336
6337         * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6338         * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6339
6340         * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6341         (setjmp.o): Delete rule to build setjmp.o.
6342         * libc/sys/sh/setjmp.S: Delete file.
6343
6344 Fri Oct  6 11:19:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6345
6346         * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6347         * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6348         format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
6349         pow5mult and s2b to identifiers with leading underscores.
6350         * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6351         ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
6352
6353 Thu Oct  5 17:27:30 1995  steve chamberlain  <sac@slash.cygnus.com>
6354
6355         * libc/sys/posix/popen.c (sys/types.h): Include.
6356
6357 Thu Oct  5 16:33:01 1995  Doug Evans  <dje@canuck.cygnus.com>
6358
6359         * libc/sys/win32/syscalls.h (fhandler): New struct.
6360         (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6361         (__fhandler_normal): Declare.
6362         (hinfo): New member op_handlers.
6363         * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6364         (__write): Likewise.
6365         (_read, _write, _open, _close, _lseek): Validate fd here.
6366         Move file type specific stuff to foo_normal.
6367         (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6368         New functions.
6369         (__lookup_fhandler): New function.
6370         (__lookup_fhandler_hook, __fhandler_normal): New variables.
6371
6372         From anders.blomdell@control.lth.se (Anders Blomdell)
6373         * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6374         Don't touch standard handles.
6375         * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6376         (_execve): Only create __FD_TABLE__ if necessary.
6377         * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6378
6379 Thu Oct  5 14:25:14 1995  steve chamberlain  <sac@slash.cygnus.com>
6380
6381         * libc/sys/win32/sys/termios.h (FLUSHO): New.
6382         * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6383         * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6384         * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6385         without a handler is received.
6386         * libc/sys/win32/Makefile.in: Remove --nodelete.
6387         * libc/sys/win32/resouce.c (gettimeofday): New.
6388         * libc/sys/win32/syscalls.c (path_to_real_path): New.
6389         * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6390
6391 Wed Oct  4 13:10:35 1995  Doug Evans  <dje@canuck.cygnus.com>
6392
6393         * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6394         Don't append "/*" to search pattern if trailing '/' already there,
6395         append "*".
6396         * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6397         like /'s, convert them to \'s.  Handle //<drive>/ path names.
6398         Add space for quoted \'s in arg string.  Print translated prog name
6399         and original prog name.
6400         (_execve): Handle parent doing exec a teensy bit better.
6401         * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6402         * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6403         path needs conversion, handle both cases.  Delete `const' from result.
6404         (hash_path_name): New function.
6405         (_open): Call it.
6406         (_stat): Likewise.  Fill in more fields for directories.
6407         * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6408         (wait_for_any): Fix trace message.
6409         (waitpid): Explicitly test for intpid == 0.
6410
6411         From anders.blomdell@control.lth.se (Anders Blomdell)
6412         * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6413         so `next' is valid.
6414
6415 Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
6416
6417         * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6418         complicated.
6419
6420 Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
6421
6422         * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6423         at all, not just == 1.
6424         * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6425
6426 Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6427
6428         * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6429         * libc/sys/win32/include/wintypes.h: include <winnt.h>
6430         * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6431         file.
6432
6433 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6434
6435         * libc/sys/syscalls.c (getcwd): Fix off by one error.
6436
6437         * libc/sys/signal.c (sleep): Fill it in.
6438         * libc/sys/termios.c (tcflush): Use PurgeComm
6439         (tcsetattr): Set some more of the bits.
6440         * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6441
6442 Fri Sep 29 04:33:53 1995  Doug Evans  <dje@deneb.cygnus.com>
6443
6444         * libc/sys/arm/crt0.S (fp): Initialize to 0.
6445         Conditionally include .idata$3 stuff ifdef __pe__.
6446
6447 Fri Sep 29 01:49:17 1995  steve chamberlain  <sac@slash.cygnus.com>
6448
6449         * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6450         * libc/sys/win32/pipe.c (pipe): Ditto.
6451         * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
6452         * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6453         * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6454         (tcgetattr): Contents are new.
6455         * libc/sys/win32/include/winkernel.h (DCB): New.
6456         (GetCommState, SetCommState): New.
6457
6458 Thu Sep 28 16:29:09 1995  Doug Evans  <dje@deneb.cygnus.com>
6459
6460         * libc/sys/arm/crt0.S (_start): Define.
6461
6462 Thu Sep 28 12:26:45 1995  steve chamberlain  <sac@slash.cygnus.com>
6463
6464         * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6465         * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6466
6467         * libc/sys/win32/sysconf.c: New
6468         * libc/sys/win32/sys/winadvapi.h: New
6469         * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6470         * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6471         * libc/sys/win32/pipe.c (pipe): Ditto.
6472         * libc/sys/win32/signal.c (_raise): New.
6473         (_kill): Moved from spawn.c
6474         * libc/sys/win32/spawn.c (kill): Moved to signal.c
6475         * libc/sys/win32/syscalls.c (__read): Use new fields.
6476         (_open): Ditto.
6477         * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6478         * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6479         * libc/include/sys/unistd.h (rmdir): Takes const path.
6480         * libc/include/sys/stat.h (mkdir): Takes const path.
6481         * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6482
6483 Thu Sep 28 10:11:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6484
6485         * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6486
6487         Add support for specifying paths as //<drive>/foo/bar.
6488         * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6489         (__path_to_real_path): Declare.
6490         (PATH_TO_REAL_PATH): New macro.
6491         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6492         (__path_needs_conversion_p, __path_to_real_path): New functions.
6493         (_open): Fix test for error return from CreateFileA.
6494         Handle new path syntax.
6495         (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6496         * libc/sys/win32/dirsearch.c (opendir): Likewise.
6497
6498 Wed Sep 27 16:36:46 1995  steve chamberlain  <sac@slash.cygnus.com>
6499
6500         * libc/sys/win32/include/*.h: Reorganized
6501         * libc/sys/win32/include/WINREADME: New.
6502         * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6503         * libc/sys/win32/*.c: Fix for new include scheme.
6504         * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6505         * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6506         * libc/sys/win32/passwd.c (*): Fix.
6507         * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6508         (_stat): Get directory owner and permissions right.
6509         * libc/sys/win32/syscalls.h (uinfo): New.
6510         * libc/sys/win32/version.def: Remove leading underscores.
6511
6512 Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6513
6514         * libc/sys/win32/key.c: include "include/wincon.h".
6515
6516 Tue Sep 26 07:21:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6517
6518         * libc/sys/win32/{key, stubs}.c: New.
6519         * libc/sys/win32/Makefile: Adjust to cope.
6520         * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6521         (environ_init): Change env names to upper case.
6522         * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6523         * libc/sys/win32/passwd.c (*): Fill in the functions.
6524         * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6525         * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6526         * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6527         (_open): Initialze hmap->execable_p too.
6528         * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6529         (_fstat): Fill in permissions.
6530         * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6531
6532 Fri Sep 22 13:47:27 1995  Doug Evans  <dje@canuck.cygnus.com>
6533
6534         * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6535         if defined.
6536         (cfg-ml-pos.in invocation): Likewise.
6537
6538 Fri Sep 22 11:43:44 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6539
6540         * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6541         s_isnan.o and sf_isnan.o.
6542
6543 Wed Sep 20 14:50:19 1995  Ian Lance Taylor  <ian@cygnus.com>
6544
6545         * All Makefile.in files: added maintainer-clean target as a
6546         synonym for realclean.
6547
6548 Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
6549
6550         * libc/include/machine/setjmp.h: Add hppa support.
6551         * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6552         support.
6553         * libc/machine/hppa/Makefile.in: Related changes.
6554
6555 Tue Sep 19 12:09:01 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6556
6557         * configure.in (machine_dir): Don't set for v810-*-*.
6558
6559 Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6560
6561         * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6562         conventions correctly.
6563
6564 Thu Sep 14 13:37:22 1995  J.T. Conklin  <jtc@blues.cygnus.com>
6565
6566         * libc/stdio/puts.c: Update documentation of return value to match
6567         ANSI standard.
6568
6569 Thu Sep 14 01:52:37 1995  Doug Evans  <dje@canuck.cygnus.com>
6570
6571         Fix file descriptor inheritance.
6572         * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6573         (NOT_OPEN_FD): Fix.
6574         * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6575         close-on-exec flag not set.  Initialize child's entire fd table.
6576         * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6577         CHILD_P.
6578         * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6579         if CHILD_P.  Initialize entire hmap entry.
6580         (dup): Only create new handle as inheritable if CHILD_P.
6581         (dup2): Likewise.  Properly initialize hmap entry.
6582
6583         * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6584         _spawn.
6585         (_exit): Use CHILD_P.
6586         * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6587         (_stat): Likewise.
6588
6589 Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6590
6591         * libc/sys/win32/crt0.c (passover): fix up the state table.
6592         * libc/posix/popen.c: Added.
6593         * libc/posix/Makefile.in: compile popen.c.
6594         
6595 Mon Sep 11 11:43:38 1995  J.T. Conklin  <jtc@cygnus.com>
6596
6597         * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6598         h8/500 define _DOUBLE_IS_32BITS.
6599
6600 Sat Sep  9 17:55:54 1995  Doug Evans  <dje@canuck.cygnus.com>
6601
6602         Get vfork/exec/spawn/cwait/wait working again.
6603         * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6604         (procinfo): New member vfork_level.
6605         * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6606         (vfork_init_first): Use GetCurrentProcessId to get pid.
6607         Initialize vfork_level.
6608         (vfork_init): Delete __PID__.
6609         (environ_init): New function.  Undo patch of Aug 19, Posix says
6610         environment variables are case sensitive.
6611         (mainCRTStartup): Call it.
6612         * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6613         (my_longjump: Make static.
6614         (_spawn): New argument `h'.  Delete setting of __PID__.
6615         Delete local `idx'.  Look for chars that need quotes, rather than
6616         ones that don't.  Set handle of created process in `h'.
6617         Result is process id if created task.
6618         (allocate_spawn_entry): New function.
6619         (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
6620         (_execve): Set __FD_TABLE__ before spawning child.
6621         Scan our fd table when passing fds, not our parent's.
6622         Store handle and pid in procinfo entry.
6623         (vfork0): Ensure strace message always printed.
6624         Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6625         (vfork): Don't clobber result of vfork0.
6626         * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6627         (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6628
6629         * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6630         and `exit_code'.
6631         * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6632         (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
6633         adding vfork level to pseudo-pid.  
6634         (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6635         (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6636         (_exit): If child, set exit code.
6637         (__vfork_record_death): Only close process handle if valid.
6638         * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6639         didn't exec.
6640         (wait_for_any): Likewise.  Start scan after root entry.
6641
6642 Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6643
6644         * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6645         * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6646         * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6647         of actual file length.
6648
6649         * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6650         * libc/include/paths.h: _PATH_BSHELL added.
6651         * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6652         and STDERR_FILENO.
6653
6654 Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6655
6656         * libc/include/ar.h: Added.
6657         * libc/include/sys/types.h: ino_t goes back to 32-bits.
6658         * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6659         * libc/sys/win32/syscalls.c (_open): compute .namehash based
6660         on filename.
6661         (_fstat): use .namehash for inode number of the fd.
6662
6663 Thu Sep  7 12:57:19 1995  steve chamberlain  <sac@slash.cygnus.com>
6664
6665         * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6666          Change hinfo to __this_procinfo.
6667         * libc/sys/win32/crt0.c: Remove procinfo_list.
6668
6669 Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6670
6671         * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6672         win32 environment.
6673
6674 Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6675
6676         * libc/sys/win32/include/grp.h: Removed.
6677         * libc/sys/include/grp.h: Added.
6678         * libc/sys/win32/grp.c: Include <grp.h>.
6679
6680 Wed Sep  6 16:52:48 1995  steve chamberlain  <sac@slash.cygnus.com>
6681
6682         * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6683         (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6684         Defined for all but strict ANSI.
6685         * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6686         * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6687         * libc/signal/signal.c (_signal_r): Changed from using
6688         _MAX_SIGNALS to NSIG.  
6689         * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6690          __hmap): Deleted.
6691         (__strace, __vfork_next_pid): New.
6692         (__exe_suffix): Default to 1.
6693         (passover, table): Understand quoted arguments.
6694         (vfork_init_first): New.
6695         (vfork_init): Initialize new process structure.
6696         (mainCRTStartup): Pass environ to main.
6697         * exceptions.c (__sig_mask): New
6698         (ehandler3): Ignore signals in mask.
6699         (really_exit): Remove CHILD_P test.
6700         * pipe.c (pipe, dup, dup2): Use new process and file structure.
6701         * resource.c (getrusage): Ditto.
6702         * signal.c (sigprocmask): New.
6703         * spawn.c (*): Rewritten.
6704         * syscalls.c (*): Use new process and file structure.
6705         (find_unused_handle): New.
6706         * syscalls.h (MAX_HANDLES): Deleted.
6707         (hinfo): Removed child_created_p.
6708         (MAX_CHILDREN): Deleted.
6709         (vfork_jmp_info, procinfo): New.
6710         * wait.c (*): Mostly new.
6711         * sys/strace.h (_STRACE_PARANOID): New.
6712         * sys/param.h: New file.
6713
6714 Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6715
6716         * libc/include/sys/stat.h: add S_BLKSIZE.
6717         * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6718         * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6719         types under win32.
6720         (mode_t): add a #else to avoid multiple definitons.
6721
6722         * libc/sys/win32/Makefile.in: add grp.c.
6723         * libc/sys/win32/grp.c: include grp.h correctly.
6724         * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6725         of the st structure with real information.
6726         * libc/sys/win32 (dirent): d_ino is of type ino_t.
6727
6728 Wed Sep  6 10:41:34 1995  Doug Evans  <dje@canuck.cygnus.com>
6729
6730         * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6731         and (maybe) sparc64.
6732         (nlink_t): Provide typedef.
6733
6734 Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
6735
6736         * libc/sys/win32/grp.c: New file.
6737         * libc/sys/win32/include/grp.h: New file.
6738
6739 Tue Sep  5 13:47:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6740
6741         * libc/include/machine/ieeefp.h: Added whitespace to make this
6742         file easier to maintain.
6743         On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6744         depending on the value of __LITTLE_ENDIAN__.
6745         On the sh3e, define _DOUBLE_IS_32BITS.
6746         
6747 Fri Sep  1 15:35:18 1995  James G. Smith  <jsmith@beauty.cygnus.com>
6748
6749         * libc/sys/vr4300/syscalls.c: Added missing support
6750         routines. _raise() and getpid().
6751
6752 Fri Sep  1 14:12:48 1995  James G. Smith  <jsmith@rtl.cygnus.com>
6753
6754         * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6755
6756 Fri Sep  1 08:42:11 1995  James G. Smith  <jsmith@beauty.cygnus.com>
6757
6758         * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6759         and VR4300 processor.
6760         * libc/sys/vr4300: Add directory.
6761         * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6762         monitor run-time support.
6763
6764 Thu Aug 31 09:16:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6765
6766         * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6767         * libc/stdlib/stdlib.tex: Don't include atol.def.
6768
6769 Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6770
6771         * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6772
6773 Wed Aug 30 10:48:08 1995  steve chamberlain  <sac@slash.cygnus.com>
6774
6775         * libc/ctype/Makefile.in: Fill in _to* dependencies.
6776
6777 Tue Aug 29 17:14:29 1995  steve chamberlain  <sac@slash.cygnus.com>
6778
6779         * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6780         * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6781         * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6782         * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
6783         * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
6784
6785 Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6786
6787         * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
6788
6789 Tue Aug 29 16:08:09 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6790
6791         * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
6792         * libc/stdlib/atoff.c: New file.
6793         * libc/stdlib/atof.c (atoff): Moved to atoff.c.
6794         * libc/stdlib/atoi.c (atol): Removed.
6795         * libc/stdlib/atol.c: Removed duplicate documentation.
6796
6797         * libc/include/ctype.h (_tolower, _toupper): Moved inside
6798         #ifndef _STRICT_ANSI conditional.
6799         * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
6800         * libc/ctype/_tolower.c: New file.
6801         * libc/ctype/_toupper.c: New file.
6802         * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
6803         * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
6804         * libc/ctype/toascii.c (_toascii): Removed.
6805
6806 Tue Aug 29 12:17:32 1995  Doug Evans  <dje@canuck.cygnus.com>
6807
6808         * libc/sys/sparc64/sys/types.h: Deleted.
6809
6810 Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6811
6812         * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
6813         and recognize Windows_95 systems.
6814
6815 Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6816
6817         * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6818         and passed fds should be opened in text mode.
6819
6820 Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
6821
6822         * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6823         in __hmap, set to binary mode by default.
6824
6825 Tue Aug 22 14:12:37 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6826
6827         * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6828         * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
6829         vector 34.
6830
6831 Sat Aug 19 18:25:37 1995  steve chamberlain  <sac@slash.cygnus.com>
6832
6833         * Makefile.in (install): Install all libraries found in the
6834         top level.  If there's a sys/<type>/include directory,
6835         install those headers into include.
6836
6837         * libc/sys/win32/kernel.def351: Delete
6838         * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
6839         glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
6840         lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
6841         nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
6842         ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
6843         rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
6844         uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
6845         winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
6846
6847         * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
6848         * libc/sys/win32/crt0.c: Force all env names to upper case.
6849         * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
6850         * libc/sys/win32/*.c: Headers have moved.
6851         * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
6852         __vfork_child_idx is now __vfork_child_ptr.
6853
6854         * posix/execvp (execvp): Don't crash if no PATH envname.
6855
6856 Fri Aug 18 12:22:59 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6857
6858         * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
6859         * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
6860         through the _freelist instead of through the _reclaim list.
6861         * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
6862         * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
6863         sources.
6864
6865 Thu Aug 17 11:03:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6866
6867         * libc/machine/h8500/setjmp.S: New file.
6868         * libc/include/machine/setjmp.h: Updated for H8/500.
6869
6870 Wed Aug 16 16:19:11 1995  steve chamberlain  <sac@slash.cygnus.com>
6871
6872         * libc/sys/win32/syscalls.c (_open): More stracing.
6873         (_stat): Open the file in O_BINARY.
6874
6875 Wed Aug 16 15:49:01 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
6876
6877         * libc/machine/h8300/setjmp.S: New file.
6878         * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
6879
6880 Tue Aug 15 10:31:09 1995  Doug Evans  <dje@canuck.cygnus.com>
6881
6882         * libc/sys/win32/crt0.c (__exe_suffix): New global.
6883         (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
6884         * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
6885         __exe_suffix.  Free fd_tab after setting env variable.
6886         (spawnv,_execve): Update.
6887         * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
6888         * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
6889         (__small_vfprintf): New function.
6890         * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
6891         * libc/sys/win32/wait.c (cwait): Validate argument.
6892
6893         * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
6894         (process_deletion_queue): Likewise.
6895
6896         * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
6897
6898 Mon Aug 14 10:14:10 1995  steve chamberlain  <sac@slash.cygnus.com>
6899
6900         * libc/sys/win32: Copyrights and gratuitous indenting.
6901
6902 Mon Aug 14 01:32:58 1995  Doug Evans  <dje@canuck.cygnus.com>
6903
6904         * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
6905         (process_deletion_queue): Likewise.
6906         (__close_all_files): New function.
6907         (_close): Only queue file deletion if really a file.
6908         * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
6909         _P_APPEND_EXE.
6910         (_exit): Call __close_all_files.
6911
6912         * libc/stdlib/system.c: #include <errno.h>.
6913         (_system_r): Fix results in -DNO_EXEC case.
6914
6915         * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
6916         Reorganize structure.
6917         * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
6918         if argument is valid.  Save directory name in DIR.  malloc space
6919         for dirent struct separately.
6920         * libc/sys/win32/syscalls.c (stat): Fix test for directory.
6921
6922         * libc/include/errno.h (ENAMETOOLONG): Define.
6923         * libc/string/strerror.c (strerror): Reword ENFILE.
6924         Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
6925
6926 Sun Aug 13 22:42:25 1995  Doug Evans  <dje@canuck.cygnus.com>
6927
6928         * libc/sys/win32/crt0.c (__progname): New global.
6929         (mainCRTStartup): Support strace=bitmask,filename.
6930         * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
6931         * libc/sys/win32/syscalls.c (_write): Print parent trace message
6932         if error.
6933         (getcwd): Handle len too small.  Convert '\\' to '/'.
6934         * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
6935         Add prototypes for open, creat, fcntl.
6936         (O_APPEND): Change value to conform to Microsoft's value.
6937         * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
6938
6939         * libc/stdlib/getopt.c: New file.
6940         * libc/stdlib/Makefile.in: Build it.
6941
6942 Sat Aug 12 12:17:14 1995  Doug Evans  <dje@canuck.cygnus.com>
6943
6944         * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
6945         Fix scanning of $PATH.
6946         * libc/posix/exec*.c: Call _execve, not execve.
6947         * libc/posix/execve.c: New file.
6948         * libc/posix/Makefile.in (OFILES): Add execve.o.
6949
6950         * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
6951         _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
6952         (_STRACE): If level==0, always print.  Handle new bit mask scheme.
6953         * libc/sys/win32/crt0.c: Update _STRACE calls.
6954         * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
6955
6956         * libc/sys/win32/smallprint.c (rn): Fix digit list.
6957
6958         * libc/sys/win32/syscalls.c (__really_exit): Move from here,
6959         * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
6960         * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
6961         Print __seterrno trace message first.
6962         (_execve): Renamed from execve.
6963         (vfork): Update __strace usage.
6964         (__vfork_child_pid): Deleted.
6965         (__vfork_children, __vfork_child_idx): New globals.
6966         (_spawnvp): New function.
6967         (spawnvp, spawnv, _execve): Call _spawnvp.
6968         (init_child): Record child in __vfork_children.
6969         (__vfork_get_entry, __vfork_record_death): New functions.
6970         * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
6971         * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
6972         * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
6973         (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
6974         (children): New typedef.
6975         (__vfork_children,__vfork_child_idx): Declare.
6976         (__vfork_get_entry,__vfork_record_death): Declare.
6977         * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
6978         (waitpid): Handle pid == -1.
6979         * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
6980         * configure.in (i386-win32): Add -DNO_FORK.
6981         * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
6982         * libc/reent/execr.c (_fork_r): Likewise.
6983         * libc/stdlib/system.c (do_system): New function.
6984         If WIN32, try to get shell path from $SH_PATH, use vfork.
6985         (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
6986         otherwise return 0.
6987
6988 Sat Aug 12 11:08:00 1995  steve chamberlain  <sac@slash.cygnus.com>
6989
6990         * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
6991         * libc/sys/win32/fcntl.h: Don't include self.
6992         * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
6993         * libc/sys/win32/sys/winbase.h: (GetUserName) New.
6994         * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
6995         * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
6996         SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
6997         Correct prototypes.
6998         * libc/sys/win32/strace.c: New file.
6999         * libc/sys/win32/smallprint.c: New file.
7000         * libc/sys/win32/crt0.c (func): Delete.
7001         (mainCRTStartup): Fix alloca usage.  Set handles explictly.
7002         * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7003         * libc/sys/win32/exceptions.c: Lint.
7004         * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7005         Clean up handle usage.
7006         * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7007         (open.c): Default file type is text.
7008         * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7009         * libc/sys/win32/advapi32.def: New      
7010
7011 Fri Aug 11 17:11:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7012
7013         * configure.in (posix_dir, libc_posix_lib): New variables.
7014         Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7015         (i[345]86-*-win32): Define posix_dir.
7016         Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
7017         (if unix_dir): Fix typo.
7018         * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7019         scandir,seekdir,telldir}: New files.
7020         * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7021         from libc/unix.
7022         * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7023         (SUBDIRS): Add posix.
7024         (SUBLIBS): Add $(LIBC_POSIX_LIB).
7025
7026         * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7027         (NSIG): Increase to 21.
7028         * libc/include/sys/unistd.h (pid_t): Move from here,
7029         * libc/include/sys/types.h (pid_t): to here.
7030
7031         * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7032         (__ptrace): Delete.
7033         (hinfo): New members close_exec_p, child_created_p.
7034         (struct exception_list): Define.
7035         (__hmap): Redefine as pointer to table.
7036         (__parent_hmap, __child_hmap): New globals.
7037         (__set_errno, __really_exit): Declare.
7038         (__vfork_child_pid): Declare.
7039         * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7040         (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7041         (__parent_hmap, __child_hmap): New globals.
7042         (__hmap): Redefine as pointer to active map.
7043         (__get_console): New function.
7044         (mainCRTStartup): Change leading '=' in environ vars to '!'.
7045         (env __FD_TABLE__): Watch for this and initialize our fd/handle
7046         mapping table from it if defined.
7047         (argv, envp): Dump if __strace >= 4.
7048         (main): Call here.
7049         * libc/sys/win32/exceptions.c (myp): Redefine.
7050         (__syscalls_b): Delete.
7051         (__stack_trace): New function.
7052         (ehandler3): Update to use _STRACE.  Print stack trace.
7053         Call __really_exit instead of exit.
7054         (init_exceptions): Delete args argc,argv.  New arg mine.
7055         * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7056         FindFirstFileA, FindNextFileA, GetComputerNameA,
7057         GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7058         * libc/sys/win32/signal.c (signal): Validate arg.
7059         (alarm, sleep): Define as stubs for now.
7060         * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7061         (__syscalls_b, errno): Delete.
7062         (__vfork_child_pid, __vfork_jmp_buf): New globals.
7063         (__seterrno): Handle more errors.
7064         (__sys_printf): Renamed from _ptrace.
7065         (__really_exit): New function.
7066         (queue_file_deletion, process_deletion_queue): New functions.
7067         (__resume_parent): New function.
7068         (_unlink): Handle trying to delete open file.
7069         (__totime_t): Renamed from totime_t.
7070         (setsid, __read, __write): New functions.
7071         (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7072         * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7073         times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7074         * libc/sys/win32/console.c: Update to new definition of __hmap.
7075         * libc/sys/win32/Makefile.in: Build new files.
7076         * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7077         * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7078         * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7079         * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7080
7081 Thu Aug 10 16:32:52 1995  Doug Evans  <dje@canuck.cygnus.com>
7082
7083         * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7084
7085 Thu Aug 10 12:07:38 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7086
7087         * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7088         have been made to the master dtoa.c sources (from netlib.att.com)
7089         since they were integrated into newlib in early 1992.  Fixes
7090         problems with storage leaks and handling of numbers with very
7091         negative exponents.
7092         
7093 Wed Aug  9 14:18:39 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7094
7095         * Makefile.in (all): set rootpre and srcrootpre before calling
7096         sub-makes.
7097
7098 Tue Aug  8 17:20:45 1995  steve chamberlain  <sac@slash.cygnus.com>
7099
7100         * libc/sys/win32/crt0.c: Change __hmap usage.
7101         * libc/sys/win32/exceptions.c: Use _ptrace call.
7102         * libc/sys/win32/syscalls.c: Use _ptrace call.
7103         (read, write): Cope with DOS style CRLF when in TEXT mode.
7104         * libc/sys/win32/syscalls.h: Declare hinfo struct.
7105         * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7106         * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7107         * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7108         * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7109
7110 Mon Aug  7 13:04:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7111
7112         * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7113
7114         * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7115         wrappers for hypot() and remainder() for BSD libm compatibility.
7116         These are public domain implementations written by me for the
7117         NetBSD libm some time ago.  Note cabs() is required by ucbtest.
7118         * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7119         (fobj): Added wf_cabs.o and wf_drem.o.
7120
7121 Thu Aug  3 08:13:05 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7122
7123         * libc/sys/h8500hms/misc.c: New file.
7124         * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7125
7126 Wed Aug  2 16:46:27 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7127
7128         * libc/time/localtime.c (localtime): Fix problem with leap year
7129         handling.  Stole algorithm from Arthur David Olson's tz code.
7130         
7131 Mon Jul 31 10:21:54 1995  steve chamberlain  <sac@slash.cygnus.com>
7132
7133         * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7134
7135         * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7136         (_exit): Use argument.
7137
7138 Fri Jul 28 15:17:04 1995  Doug Evans  <dje@canuck.cygnus.com>
7139
7140         * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7141
7142 Wed Jul 26 16:24:19 1995  steve chamberlain  <sac@slash.cygnus.com>
7143
7144         * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7145
7146 Mon Jul 24 13:42:52 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7147
7148         * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7149         target_cflags.
7150
7151 Mon Jul 24 11:42:07 1995  steve chamberlain  <sac@slash.cygnus.com>
7152
7153         * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
7154         ptrace with case insensitivity
7155         * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7156         sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7157         New files.
7158
7159 Fri Jul 21 11:22:26 1995  Doug Evans  <dje@canuck.cygnus.com>
7160
7161         * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7162         (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7163         (all, install, *clean): Use new multilib support.
7164         * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7165
7166 Fri Jul 21 07:11:42 1995  steve chamberlain  <sac@slash.cygnus.com>
7167
7168         * libc/include/sys/signal.h (__WIN32__): New.
7169
7170         * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7171
7172         * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7173         (ulp, b2d): Handle 32 bit doubles.
7174         * libc/stdlib/mprec.h:  Handle 32 bit doubles.
7175         * libc/stdlib/strtod.c (_strtod_r): Ditto.
7176
7177 Fri Jul 14 08:24:58 1995  steve chamberlain  <sac@slash.cygnus.com>
7178
7179         from medp@primag.co.uk:
7180         * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7181         dynamically allocated buffers.
7182
7183 Thu Jul 20 10:11:03 1995  Fred Fish  <fnf@fishbowl>
7184
7185         * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
7186         * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
7187
7188 Thu Jul 20 10:16:25 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7189
7190         * configure.in (powerpc): Fix previous fix.
7191
7192 Wed Jul 19 14:08:55 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7193
7194         * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7195         directories for this target.
7196
7197 Wed Jul 19 00:34:30 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
7198
7199         * configure.in (hppa): Add machine_dir definition.
7200         * libc/machine/hppa: New directory with PA specific implementations
7201         of the basic memory/string functions.
7202
7203 Tue Jul 18 21:16:00 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
7204
7205         * configure.in: Update current PowerPC multilib directories.
7206         Split big and little endian configurations.
7207
7208 Tue Jul 18 11:55:33 1995  Ian Lance Taylor  <ian@cygnus.com>
7209
7210         * configure.in: Add --enable-single-float option to configure to
7211         control use of MIPS single-float directories.  Default to yes.
7212
7213         * Makefile.in (all): Don't recurse into multilib directory if it
7214         does not exist.
7215
7216 Mon Jul 17 15:51:30 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7217
7218         * libc/sys/sh/syscalls.c: Fix typo.
7219
7220 Mon Jul  3 14:38:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7221
7222         * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7223         Pass down DLLTOOL.
7224         * libc/include/process.h: Define WAIT_CHILD.
7225         * libc/include/types.h: Get sizes right for win32.
7226         * configure.in (i386-*-pe): Becomes i386-win32.
7227         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7228         wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7229         * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7230         is defined.
7231
7232 Wed Jun 28 18:34:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7233
7234         * configure.in (i[345]86-*-pe):  New target (NT).
7235         * host/any: DLLTOOL new.
7236         * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7237         wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7238         WIN32 (just enough to cross host the comp-tools).
7239
7240 Thu Jun 22 11:45:18 1995  Doug Evans  <dje@canuck.cygnus.com>
7241
7242         * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7243         Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
7244
7245 Mon Jun 19 11:40:40 1995  Doug Evans  <dje@canuck.cygnus.com>
7246
7247         * libc/include/machine/ieeefp.h (arm): Change to always be
7248         __IEEE_BIG_ENDIAN (even on little endian ARM's).
7249
7250 Thu Jun  8 14:22:28 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7251
7252         * libc/sys/crt0.S: Initialze sp, and call exit after main.
7253         * libc/sys/syscalls.c (abort): New.
7254         * configure.in (arm): Define ABORT_PROVIDED.
7255
7256 Wed Jun  7 14:04:35 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7257
7258         * configure.in (powerpc): Define multidirs.
7259
7260 Mon Jun  5 16:10:13 1995  Doug Evans  <dje@canuck.cygnus.com>
7261
7262         * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7263
7264 Thu Jun  1 10:51:47 1995  Sean Eric Fagan <sef@cygnus.com>
7265
7266         * configure.in (sparclite): Delete target_cflags.  Define multidirs.
7267
7268 Wed May 24 14:23:25 1995  Steve Chamberlain  <sac@slash.cygnus.com>
7269
7270         * configure.in, libc/include/machine/ieeefp.h: Modified
7271         for arm:
7272         libc/machine/arm/*, libc/sys/arm/*: New
7273
7274 Tue May 23 13:53:07 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7275
7276         * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7277           __powerpc__ when determining endianness.
7278
7279 Wed May 10 07:55:56 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7280
7281         * configure.in (m68*): Add multidir for the m68332.
7282
7283         * host/any (CC): Fix typo in last change.
7284
7285 Fri Apr 14 22:20:31 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
7286
7287         * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7288         when determining endianness.
7289         * libc/include/machine/ieeefp.h: Ditto.
7290         * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7291         operands.
7292
7293 Fri Apr 14 14:14:29 1995  Doug Evans  <dje@chestnut.cygnus.com>
7294
7295         * libc/include/errno.h (ENOTEMPTY): Define.
7296
7297 Thu Apr  6 12:21:20 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7298
7299         * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7300           target_cflags.
7301
7302         * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7303           and umultiply.o.
7304
7305         * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7306           instead of only when open succeeds.  ANSI requires that multiple
7307           calls to tmpnam() result in different files.
7308
7309         * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7310           objects pulled in from /lib/libc.a that must be renamed before
7311           being pulled into newlib.  /lib/libc.a's div.o conflicted with
7312           newlib's file with the same name.
7313
7314         * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7315
7316         * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7317           the build tree will only be used if the executables are present
7318           (instead of just the Makefiles).
7319
7320         * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7321           wcstombs): Define.
7322         * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7323           versions of these functions that I orignally wrote for the
7324           NetBSD C library.
7325         * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7326           versions I wrote for NetBSD.
7327
7328 Wed Mar 29 12:42:42 1995  Kung Hsu  <kung@mexican.cygnus.com>
7329
7330         * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7331         * libc/sys/sparclite/crt0.s: ditto.
7332
7333 Tue Mar 28 20:28:03 1995  Rob Savoye  <rob@rtl.cygnus.com>
7334
7335         * configure.in: Add soft-float for proelf.
7336
7337 Mon Mar 27 12:07:56 1995  Steve Chamberlain  <sac@bang.hack.com>
7338
7339         * libc/stdlib/mprec.h (Bcopy): Copy the right number
7340         of bytes.
7341
7342 Mon Mar 27 11:24:22 1995  Doug Evans  <dje@chestnut.cygnus.com>
7343
7344         * Makefile.in (all): Depend on `force'.
7345         * configure.in (syscall_dir): Renamed from fake_sys_dir.
7346         (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7347         (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7348         * libc/Makefile.in: Likewise.
7349         * libc/include/reent.h: Update syscall references.
7350         (_fcntl_r): Add prototype.
7351         * libc/syscalls/*.c #include <reent.h>.
7352         (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7353
7354 Mon Mar 20 16:57:39 1995  Doug Evans  <dje@deneb.cygnus.com>
7355
7356         * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7357         (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7358         * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7359         (time.h, sys/types.h): Always include (even if MSDOS).
7360         (stat): Fix prototype.
7361
7362 Fri Mar 10 11:30:38 1995  Ian Lance Taylor  <ian@cygnus.com>
7363
7364         * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7365
7366 Mon Feb 27 18:00:39 1995  Jim Wilson  <wilson@chestnut.cygnus.com>
7367
7368         * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7369
7370 Mon Feb 13 16:10:03 1995  Ian Lance Taylor  <ian@cygnus.com>
7371
7372         * libc/include/regdef.h: New file.
7373         * libc/machine/mips/machine/regdef.h: New file.
7374
7375 Mon Feb  6 15:24:29 1995  Doug Evans  <dje@canuck.cygnus.com>
7376
7377         * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7378
7379 Fri Jan 27 13:52:10 1995  Steve Chamberlain  <sac@splat>
7380
7381         * libc/sys/sh/crt0.S: Pass main's return to exit.
7382         * libc/sys/sh/trap.S: Put errno in the right place.
7383
7384 Tue Jan 24 18:57:56 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7385
7386         * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7387         from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7388         * libm/math/ef_rem_pio2.c: Likewise.
7389         * libm/math/e_log10.c: Remove unused static one.
7390         * libm/math/ef_log10.c: Likewise.
7391         * libm/math/s_frexp.c: Likewise.
7392         * libm/math/sf_frexp.c: Likewise.
7393
7394 Sun Jan 22 21:26:14 1995  Steve Chamberlain  <sac@splat>
7395
7396         * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7397         longjmp.S: Upgraded.
7398         * libc/sys/go32/sys/setjmp.h: Upgraded.
7399         * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7400
7401 Fri Jan 20 18:33:18 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7402
7403         * configure.in: Add many entries to multidirs for mips targets.
7404
7405 Wed Jan 18 10:19:25 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
7406
7407         * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7408           5.2 which fixes bug where jn(-1,x) is three times larger than
7409           the actual answer.
7410         * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7411
7412 Sun Jan 15 21:48:58 1995  Steve Chamberlain  <sac@splat>
7413
7414         * libc/sys/w65/sys/syscalls.h: New file
7415         * libc/include/machine/ieeefp.h: W65 support.
7416         * libc/include/sys/config.h: Ditto.
7417         * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7418         sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7419         * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7420
7421 Wed Jan 11 15:59:01 1995  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7422
7423         * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7424
7425 Tue Jan  3 15:57:03 1995  Rob Savoye  <rob@darkstar.cygnus.com>
7426
7427         * Makefile.in, configure.in: Remove any references to the old
7428         "stub" dir.
7429
7430 Thu Dec 22 10:42:08 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7431
7432         * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7433         uses ... in prototype.
7434
7435
7436 Wed Nov 30 08:39:42 1994  Ian Lance Taylor  <ian@rtl.cygnus.com>
7437
7438         * libc/sys/a29khif/sys/libconfig.h: Remove.
7439         * libc/sys/go32/sys/libconfig.h: Remove.
7440         * libc/sys/sun4/sys/libconfig.h: Remove.
7441         * libc/sys/sysvi386/sys/libconfig.h: Remove.
7442         * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7443         * libc/sys/sparc64/sys/libconfig.h: Remove.
7444
7445         * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7446         * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7447         * libc/include/math.h: Change all uses of _FLOAT_RET and
7448         _FLOAT_ARG to float.
7449         * libm/test/math.c: Likewise.
7450         * testsuite/libm.sac/math.c: Likewise.
7451         * testsuite/libm.sac/working/math.c: Likewise.
7452
7453 Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7454
7455         * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7456         gcc calls gas with endian option.
7457         * configure.in (sh): Build little endian version too.
7458
7459 Wed Nov 16 18:21:45 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7460
7461         * configure.in: Configure big and little endian versions for MIPS
7462         targets.
7463
7464 Sat Nov 12 21:12:51 1994  Doug Evans  <dje@canuck.cygnus.com>
7465
7466         * libc/include/limits.h: Deleted.
7467         * libc/include/machine/limits.h: Deleted.
7468
7469 Thu Nov 10 15:32:44 1994  Rob Savoye  <rob@rtl.cygnus.com>
7470
7471         * ChangeLog: Remove stub directory. This has all been rewritten
7472         and moved to devo/libgloss.
7473
7474 Thu Sep 29 18:31:04 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
7475
7476         * Makefile.in (dvi): Add to info target, use $@ in sub make.
7477         (docs): Merge into info target.
7478         * libm/Makefile.in (dvi): Add $(srcdir).
7479         * libm/math/Makefile.in (chobjs): Remove underscores from file
7480         names.  Texinfo doesn't like them.
7481         (wacos.def, ...): Add explicit targets for all .def files.
7482         * libm/math/math.tex: Remove underscores from @include file names.
7483         * doc/Makefile.in (dvi): Add dummy target.
7484         * testsuite/Makefile.in (dvi): Add dummy target.
7485
7486 Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
7487
7488         * Makefile.in (VERSION): Define.  For net newlib releases.
7489
7490 Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
7491
7492         * README: New file.
7493
7494 Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7495
7496         * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7497
7498 Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7499
7500         * libc/stdlib/setenv.c (_findenv): Declare.
7501
7502         * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7503         fcntl to not use _EXFUN, and change string parameters to open and
7504         creat to be ``const char *''.
7505         * libc/sys/sparc64/sys/fcntl.h: Likewise.
7506         * libc/sys/sparc64/creat.c (creat): Make PATH const.
7507         * libc/syscalls/sysopen.c: Include <fcntl.h>.
7508         (open) Make _FILE const.
7509         * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7510         (_creat): Make PATH const.
7511         * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7512         * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7513         * libc/sys/m88kbug/syscalls.c (open): Likewise.
7514         * libc/sys/sh/syscalls.c (_open): Likewise.
7515         * stub/shared/glue.c (open): Make BUF const.
7516         * stub/ex93x/syscalls.c (open): Make FILENAME const.
7517
7518 Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
7519
7520         * libc/include/errno.h: Add ENMFILE
7521         * libc/include/sys/config.h: Support Z8000.
7522         * libc/include/sys/signal.h: New signals for go32.
7523         * libc/machine/h8500/psi.S (__addpsir0r0): New function
7524         * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7525         * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7526         * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7527         size is variable, depending upon CHUNK_POWER.
7528         * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7529
7530 Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
7531
7532         * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7533
7534 Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7535
7536         * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7537
7538 Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7539
7540         * configure.in: Change i[34]86 to i[345]86.
7541
7542         * libc/include/math.h: Don't define HUGE_VAL if it is already
7543         defined.
7544
7545 Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7546
7547         * testsuite/libm.sac/test_erfc.c: Correct some result values.
7548         * testsuite/libm.sac/test_gammaf.c: Likewise.
7549         * testsuite/libm.sac/test_sin.c: Likewise.
7550         * testsuite/libm.sac/test_tanh.c: Likewise.
7551
7552 Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7553
7554         * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7555         already set.  Define typedefs __int32_t and __uint32_t.
7556         * libc/include/math.h: Include <machine/ieeefp.h>.
7557         (union __dmath): Use __uint32_t.
7558         * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7559         instead of int and unsigned int.
7560
7561 Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7562
7563         Replace the math library with the SunPRO fdlibm package.
7564         * libm/math: Completely changed all files.
7565         * libm/ieeefp: Remove contents and directory.
7566         * libm/Makefile.in (LIBM_FP_LIB): Remove.
7567         (SUBDIRS): Just set to math/lib.a.
7568         * libm/libm.texinfo: Updated for new library.
7569         * libc/include/math.h: Extensive changes for new math library.
7570         * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7571         from _FLOAT_ARG to float.
7572         (maxpowtwo, maxpowtwof): Don't declare.
7573         * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7574         (libm_fp_lib): Removed.
7575         * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7576         * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7577         argument to ${RUNTEST}.
7578         * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7579         (.c.o): New rule.
7580         (RUNTESTFLAGS): Set CC and CFLAGS.
7581         (TESTS): Remove test_log2 and test_log2f.
7582         (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7583         * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7584         _FLOAT_ARG, for single precision argument type.
7585         * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7586         expected failure.  Close the input pipe.
7587         * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7588         Correct misspelling of inaccurate.
7589         (test_mok): Use ``inaccurate'', not ``wrong''.
7590         * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7591         test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7592         test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7593         test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7594         test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7595         test_yn.c): Correct many result values.  Many are still wrong.
7596
7597         * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7598         just copy the string.
7599         (_gcvt): Always return the buffer.
7600
7601 Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
7602
7603         * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7604
7605 Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
7606
7607         * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7608         structure.
7609         (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7610         (_reclaim_reent): declare new entry point.
7611         * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7612         functions.
7613
7614         * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7615         ever allocated, so that we can later reclaim them all.
7616         (pow5mult): make reentrant.
7617
7618         * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7619         so that when given NULL as a buffer, return a pointer to static
7620         space in the rent structure.  This is not documented behaviour;
7621         it's only to support ecvt and fcvt, which aren't ANSI anyway.
7622         * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7623         therefore become reentrant).
7624         
7625         * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7626
7627 Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7628
7629         * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7630
7631 Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
7632
7633         * Makefile.in: Make link to libg.a after libc.a; this is needed
7634           for the testsuites to build executables when everything comes
7635           from the tree.
7636
7637 Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
7638
7639         * libc/Makefile.in: Add a VERSION variable so we can keep track.
7640         * libm/Makefile.in: Add a VERSION variable so we can keep track.
7641
7642 Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
7643
7644         * libc/include/stdio.h: Use __VALIST, not va_list.
7645
7646 Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
7647
7648         * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7649         testsuite/libm.sac/execute.exp:
7650           Replace error proc calls with perror calls.
7651
7652 Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
7653
7654         * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7655         * libc/include/time.h: #define NULL as 0L.
7656
7657 Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
7658
7659         * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7660         care of it.
7661
7662 Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7663
7664         * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7665         not __unix__.
7666
7667 Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
7668
7669         * configure.in (TARGET_CFLAGS): Set -O2 as default.
7670         (z8k-*-*): Use syscalls fake sys dir.
7671         * libc/sys/z8k/glue.c: Rename syscalls.
7672         * libc/sys/go32/Makefile.in: Use new routines.
7673         * libc/machine/Makefile.in: Fix typo in ln stuff.
7674
7675 Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7676
7677         * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7678         * libc/Makefile.in (crt0.o): Likewise.
7679         * libc/machine/Makefile.in (lib.a): Likewise.
7680         * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7681
7682         All Makefile.in files: Added mostlyclean, realclean and distclean
7683         targets.
7684
7685         * Makefile.in: Don't bother to unexport XTRAFLAGS or
7686         XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7687         the top level Makefile.
7688
7689 Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
7690
7691         * libc/sys/sparc64/sys/stat.h: New file.
7692         * libc/sys/sparc64/sys/time.h: New file.
7693         * libc/sys/sparc64/sys/types.h: New file.
7694
7695 Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
7696
7697         * stub/ex93x/crt0.s (start): Add code to clear bss.
7698
7699 Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
7700
7701         * libc/include/sys/types.h (time_t): Properly protect inside
7702         #ifndef __time_t_defined.
7703
7704         * libc/stdio/fileno.c: New file.
7705         * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7706         (fileno.o): Add dependency.
7707         * libc/include/stdio.h (__sgetc): Rename never to _never.
7708         (fileno macro): Disable, needs to do CHECK_INIT first.
7709
7710 Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
7711
7712         * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7713         goal.
7714
7715         * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7716         * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7717         runtest.
7718         * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7719         runtest.
7720
7721 Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
7722
7723         * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7724         of the various constants.
7725
7726 Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
7727
7728         * libc/include/math.h: #ifndef __math_68881 around things which
7729         conflict with the (gcc-provided) inline functions in
7730         gcc/ginclude/math-68881.h.
7731
7732 Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
7733
7734         * libc/include/_syslist.h (_gettimeofday): Define.
7735         (_times): Ditto.
7736         * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7737         (struct tms, timeval, timezone): Declare.
7738         (_gettimeofday_r, _times_r): Declare.
7739         * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
7740         #ifdef _CLOCK_T_ surrounding definition of clock_t.
7741         (time_t): Add multiple definition protection, __time_t_defined.
7742         * libc/include/sys/time.h: Don't #include <time.h>.
7743         Always define struct timezone (remove #ifndef _TIME_H_).
7744         * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
7745         #ifdef _CLOCK_T_ surrounding definition of clock_t.
7746         * libc/reent/Makefile.in (OFILES): Add timer.o.
7747         (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
7748         * libc/reent/timer.c: New file.
7749         * libc/time/clock.c: #include <reent.h>.
7750         (clock): Call _times_r instead of times.
7751         * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7752         HAVE_GET_TIME_OF_DAY.
7753         Add comment regarding supporting OS routine(s) required (for docs).
7754         #include <reent.h>.
7755         (time): Call _gettimeofday_r instead of gettimeofday.
7756         * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7757         * libc/time/ctime.c: Ditto.
7758         * libc/time/strftime.c: Ditto.
7759         * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7760         (TEMPLATE_SFILES_R): Define here.  Also define times.
7761         Add times_r.o/times.S dependence.
7762         (time2.c, junk.c): Deleted.
7763         * libc/sys/sparc64/time2.c: Deleted.
7764         * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7765
7766         * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7767         * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7768         * libc/sys/sparc64/junk.c: Deleted.
7769
7770 Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
7771
7772         * libc/sys/sparc64/Makefile.in: Add times syscall.
7773         * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7774         be used with and without it.  Add comment clarifying Medium/Anywhere
7775         model requirements.
7776         * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7777         * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7778         even if obsolete.
7779
7780 Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
7781
7782         * configure.in (target_cflags): Move init.
7783         (sparc64-*-*): Define HAVE_BLKSIZE.
7784
7785 Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
7786
7787         * libc/include/sys/_types.h: New file.
7788         * libc/include/reent.h: #include it.
7789         Add comment describing REENTRANT_SYSCALLS_PROVIDED and
7790         MISSING_SYSCALL_NAMES.
7791         Sort syscalls.
7792         * libc/include/_syslist.h: Remove _raise.
7793         * libc/reent/signalr.c: New file.
7794         * libc/reent/Makefile.in: Compile it.
7795         * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
7796         Add doc for raise and _raise_r.
7797         * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
7798         (raise): Call _raise_r.
7799         (_raise_r): Call _getpid_r and _kill_r.
7800         * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
7801         (abort): Loop forever calling raise and _exit.
7802
7803 Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7804
7805         * configure.in: Remove extraneous echo.
7806
7807 Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
7808
7809         * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
7810         collision with unistd.h, and fix for svr4.
7811
7812 Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
7813
7814         * libc/stdio/local.h (_llicvt): Declare.
7815         (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
7816         * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7817         (_llicvt): Define.
7818         (_sicvt): Fix function header (`value' is short).
7819         * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7820         Add printing of long long's support.
7821         Add printing of 8 byte pointer support.
7822
7823 Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
7824
7825         * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7826         stat, chmod): New hooks. 
7827         (sbrk): Abort if stack and heap collide.
7828         * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7829         shortcut when given small args.
7830         * libc/machine/sh/setjmp.s: Rewritten.
7831         * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
7832         of cmp/str instruction.
7833
7834 Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7835
7836         * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
7837         and machine_dir powerpc.
7838         * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
7839         Add cases for __powerpc__.
7840         * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
7841         New files.
7842
7843         * libc/include/stdio.h (_iprintf_r): Declare correctly.
7844
7845 Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
7846
7847         * libc/stdlib/callocr.c: New file with _calloc_r in it.
7848         * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
7849
7850 Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
7851
7852         * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
7853         (print_e): More comments to describe args, etc.
7854         "type" arg may now be 'g' or 'G' for %g/G format --> remove
7855         trailing blanks.
7856         (_gcvt): Remove locals decpt, sign, end, p, done.
7857         More comments for print_e invocation.
7858         Pass "type" to print_e as is (g/G).
7859
7860 Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
7861
7862         * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
7863         stock m68000. 
7864
7865 Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
7866
7867         * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
7868         works with any sized pointer, including ones bigger than ints and
7869         longs.
7870
7871 Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
7872
7873         * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
7874
7875 Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
7876
7877         * libc/include/stdlib.h (_calloc_r): Add prototype.
7878         * libc/machine/h8500/negsi2.c: New file.
7879         * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
7880         large unsigned numbers.
7881         * libc/machine/h8500/cmpsi.c: Add cmppsi.
7882         * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
7883         works when sizeof(size_t) != sizeof(char *).
7884         * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
7885         get play area
7886         * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
7887
7888 Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
7889
7890         * libc/include/assert.h (assert): Handle -traditional.
7891
7892 Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
7893
7894         * Makefile.in: added ; after every "fi" and "done" that wasn't at
7895         the end of a line (ie. anything before a backslash continuation)
7896         so that bash handles them.
7897
7898 Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
7899
7900         * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
7901         stat to lstat
7902
7903 Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
7904
7905         * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
7906         libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
7907         libc/machine/sh/udivsi3.s: Use new calling convention.
7908
7909 Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
7910
7911         * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
7912         chmod, access, chdir, chown by making _path const. Also fix _amode
7913         param of access.
7914
7915 Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
7916
7917         * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
7918         _khif_tmpnam, because it doesn't comply with ANSI but may be
7919         useful anyway. Real tmpnam was already in libc/stdio, and was
7920         colliding with this one (pr 2176.) 
7921         * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
7922         the wrong idea anyhow.
7923
7924 Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
7925
7926         * configure.in: Remove h8300h, we have multilib now.
7927
7928 Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
7929
7930         * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
7931         functions, to get preference over the ones in libiberty (since we
7932         provide correct declarations in <string.h>.
7933         * libc/string/Makefile.in: add support for strncasecmp,
7934         strcasecmp.
7935
7936 Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
7937
7938         * Change netware config not to look for cpu explicitly.
7939
7940 Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
7941
7942         * libc/sys/sparc64/{creat.c,junk.c}: New files.
7943         * libc/sys/sparc64/Makefile.in: Add dependencies.
7944
7945 Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
7946
7947         * configure.in: Clean up v9 a bit, new "os" aoutv8.
7948
7949 Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
7950
7951         * libc/include/sys/reent.h: make structure smaller by allocating
7952         some stuff when needed.
7953         * libc/signal/signal.c: allocate as needed
7954         * libc/stdio/findfp.c,stdio/local.h: ditto
7955         * libc/stdlib/mprec.c: ditto
7956
7957         * libc/time/localtime.c: don't return a dangling stack ptr.
7958
7959 Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
7960
7961         * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
7962
7963 Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7964
7965         * libc/include/stdio.h (__sputc): comment out static inline which
7966           confuses coff toolchains.
7967
7968 Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
7969
7970         * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
7971         _write.s, getpid.c, kill.c, read.s}:
7972         * libc/sys/a29khif/stubs.s: eliminated stubs that already go
7973         through the syscalls directory.
7974
7975 Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
7976
7977         * configure.in: fixed double quote gotcha.
7978
7979 Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
7980
7981         * stub/ex931: stub library for sparclite board.
7982         * stub/idp: Renamed from mc68ec. Added contructor table
7983         stuff to linker script.
7984         * stub/mvme135: Renamed from m68kmvme. Added contructor table
7985         stuff to linker script.
7986
7987 Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
7988
7989         * configure.in: Configure testsuites only if they exist.
7990
7991 Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
7992
7993         * configure.in: Don't set machine_dir for i386 until there is
7994         something in libc/machine/i386 to compile.  For i[34]86-*-netware*
7995         use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
7996         CLOCK_PROVIDED and MALLOC_PROVIDED.
7997
7998         * libc/sys/netware: New directory.  Contains simplistic and
7999         probably incorrect stubs for NetWare.  Should be enough to load
8000         the library.
8001         * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8002         libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8003         stub files.
8004
8005         * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8006         * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8007         * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8008         * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8009
8010 Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
8011
8012         * testsuite/Makefile.in: add "docs" dummy target for consistency
8013         with rest of newlib; turn "info" and "install-info" into dummy
8014         targets, since they wouldn't have worked.  (Depended on
8015         nonexistent "doc" subdir.)
8016
8017 Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
8018
8019         * configure.in: handle mips* instead of mips
8020
8021 Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8022
8023         * libc/include/sys/dirent.h: New file.  If it is not overridden by
8024         a version of libc/sys/*/sys/dirent.h, it includes the next
8025         <dirent.h> file in case there is one lurking somewhere.
8026
8027 Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8028
8029         * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8030         compliance, namely: Accept a minus sign.  Consider a single 0 with
8031         a radix of 0 as being a conversion.  Determine overflow correctly.
8032         If an overflow occurs, set *ptr to the end of the number, not the
8033         middle.
8034         * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8035
8036 Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
8037
8038         * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8039
8040 Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
8041
8042         * Makefile.in (INSTALL): Use $srcrootpre.
8043         (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8044         can't handle it.
8045         * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8046         it.
8047         * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8048         * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8049         * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8050         * libm/math/Makefile.in (matherr.o): Ditto.
8051
8052 Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8053
8054         * configure.in: Build multidirs for z8k.
8055         * libc/include/stdlib.h (_strtoul_r): add prototype.
8056         * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8057         * libc/include/machine/setjmp.h: Add for z8k.
8058         * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8059         * libc/sys/z8ksim/glue.c: tidy up.
8060
8061 Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
8062
8063         * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8064         New files.  Requires execve system call.
8065         * libc/unix/Makefile.in: Use them.
8066         * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8067         Deleted, moved to libc/unix.
8068         * libc/sys/sparc64/Makefile.in: Remove them.
8069
8070 Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8071
8072         * libc/sys/sparc64/{template.S template_r.S}: New files.
8073         * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8074         from templates.
8075         * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8076         fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8077         umask.S unlink.S wait4.S write.S}: Removed, now built from
8078         templates.
8079
8080 Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
8081
8082         * libc/time/time.c: #include <_ansi.h>.
8083
8084 Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
8085
8086         * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8087
8088 Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8089
8090         * configure.in: match m8* rather than m88k so that m88110 is
8091           recognized as well.
8092
8093 Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8094
8095         * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8096         Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8097         misc.c: New file.
8098
8099         * configure.in: Add multilib support to h8300.
8100
8101 Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8102
8103         * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8104         * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8105         * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8106
8107 Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8108
8109         * configure.in: Corrected multidirs for sparc target.
8110
8111 Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
8112
8113         Support for building newlib multiple times with different
8114         compilation flags.
8115         * configure.in: Only configure doc at top level.  Set multidirs
8116         when appropriate for target, unless not at top level.  If
8117         multidirs is set, independently configure each subdirectory.
8118         Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8119         * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8120         automagically set by configure.in.
8121         (all): If MULTIDIRS is set, build multiple copies of libraries.
8122         (install): If MULTIDIRS is set, install multiple copies of
8123         libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
8124         MULTISUBDIR is set, don't bother to install header files.
8125         * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8126         ${srcrootpre}.
8127         * stub/configure.in: Set MULTISUBDIR appropriately.
8128         * stub/Makefile.in (install): Install in
8129         $(tooldir)/lib/$(MULTISUBDIR).
8130         * All Makefile.in files: Define SRCTOP as well as TOP.
8131
8132 Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
8133
8134         * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8135         * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8136
8137 Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8138
8139         * libc/sys/h8300hms/exit.c (_exit): New function.
8140
8141 Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8142
8143         * configure.in: recognize m88110.
8144
8145 Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8146
8147         * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8148           prototype main and call with args.
8149
8150 Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
8151
8152         First real try at system traps for m88k-bug.
8153         * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
8154           to real trap calls.
8155         * libc/sys/m88kbug/sys/systraps.h: new file.
8156
8157 Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8158
8159         Patches to fix info building when target does not use sys
8160         directory.
8161         * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8162         * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8163           libc/sys.tex.
8164         * libc/sys/Makefile.in (doc): do nothing.
8165
8166 Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8167
8168         * libc/Makefile.in (CRT0): new macro.
8169           (all): depend on $(CRT0) rather than crt0.o.
8170
8171         * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8172           do not default crt0, instead, set crt0 and crt0_dir based on
8173           sys_dir and stub_dir.
8174
8175         * Makefile.in (CRT0_DIR): new macro.
8176           (all): depend on $(CRT0) rather than crt0.o which may not exist.
8177           (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8178           $(CRT0).
8179           ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8180
8181 Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8182
8183         * testsuite/lib/libm.exp: 
8184                 added code to support compiling and linking of tests for 
8185                 libm.sac (paranoia to be added next) and processing the 
8186                 pass or failure of the tests.
8187
8188         * testsuite/config/unix-libm.exp:
8189                 platform specific proc's for dealing with compiler, linker
8190                 and the way we execute and process the test results.
8191
8192         * testsuite/libm.sac/execute.exp:
8193                 generic framework for the sac tests. the config and lib 
8194                 expect code for specific platforms tie it all together.
8195
8196         * testsuite/libm.sac/test_is.c:
8197                 changed the output of the test to be consistant with the
8198                 other tests. parsing of pass nad fail messages is now fixed.
8199
8200 Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
8201
8202         * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8203         locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8204         stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8205         #ifdef __cplusplus, surround by extern ""C { ... }.
8206         * libc/include/assert.h:  Do *not* protect assert.h against
8207         multiple inclusion!  Also, #undef it before #define, to allow
8208         redefinition.
8209         * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
8210         should be only in unistd.h.
8211
8212         * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8213         unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8214         ... }.
8215
8216 Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
8217
8218         * libc/machine/sparc/Makefile.in: Must create a library, even
8219         if empty.
8220
8221 Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8222
8223         * configure.in: set machine_dir for m88k.  edit crt0 definition
8224           into makefiles.
8225
8226         * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8227
8228         * libc/Makefile.in (all): also build crt0.o.
8229
8230         * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8231           libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8232           to remove CRT0.
8233
8234         * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8235           (all): reworked to build in place.
8236           (clean): remove lib.a
8237           (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8238
8239         * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8240           (_start): key off edata rather than _start_bss.
8241
8242 Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
8243
8244         * libc/include/sys/unistd.h, libc/include/reent.h,
8245         libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8246
8247 Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8248
8249         * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8250
8251         * Makefile.in (libc.a): break into two rules, one for libc.a and
8252           one for libc/libc.a.  Force subdirs current before rebuilding
8253           library.
8254           (libm.a): break into two rules, one for libm.a and one for
8255           libm/libm.a.  Force subdirs current before rebuilding library.
8256
8257         * libc/Makefile.in (SUBLIBS): fix typo.
8258
8259         * libc/sys/Makefile.in (all): force descent into subdirs, then
8260           rebuild library iff out of of date.
8261
8262 Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
8263
8264         Rework so that library is built and then finished rather than
8265         being built on each invocation of make.
8266
8267         * host/any (machine_dir, sys_dir, signal_dir): these are not
8268           shared and have been moved to their associated Makefile.in's.
8269           (AR_FLAGS): switch to qc which is faster.
8270         * configure.in: no longer assign machine_dir for m88k.  set
8271           stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
8272           stub_dir set, then add to configdirs.  add comment about silly
8273           configuration.
8274           (configdirs): drop stub.  It will be added only
8275           when needed.
8276           (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8277           libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8278           stub_lib, crt0): new variables for tailoring lower level
8279           makefiles.  Assign accordingly and edit into makefiles.
8280         * libm/Makefile.in: updated copyright.
8281           (TARGETLIB): removed.
8282           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8283           (SUBDIRS): removed TARGETDEP_DIRS.
8284           (LIBM_FP_LIB, SUBLIBS): new macros.
8285           (all): reworked.
8286           (force): new target to force rebuilds.
8287           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8288         * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8289           libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8290           libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8291           libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8292           libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8293           libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8294           stub/m68kmvme/Makefile.in: updated copyright.
8295           (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8296           (all): reworked.  made this the default rule.
8297           (clean): also remove lib.a.
8298           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8299         * stub/Makefile.in: updated copyright.
8300           (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8301           (stub_lib): new macro.
8302           (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
8303           RANLIB.
8304           (all): reworked.
8305           (clean, install): assume stub_dir exists.
8306           (Makefile): depend on configure.in.  call $(SHELL) rather than
8307           sh.  drop redundant ./
8308         * stub/configure.in (stublib): new macro, assign it, edit it into
8309           makefiles.
8310         * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8311           updated copyright.
8312           (all): reworked.
8313           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8314         * libc/Makefile.in (TARGETCRT0): removed.
8315           (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8316           TARGETCRT0.
8317           (SUBDIRS): drop TARGETDEP_DIRS.
8318           (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8319           LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8320           (force): new target to force rebuilds.
8321         * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8322           (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8323           removed.
8324           (clean): assume sys_dir always exists.
8325         * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8326           drop redundant ./
8327         * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8328           libc/locale/Makefile.in, libc/machine/Makefile.in,
8329           libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8330           libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8331           libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8332           libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8333           libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8334           libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8335           libc/signal/Makefile.in, libc/stdio/Makefile.in,
8336           libc/stdlib/Makefile.in, libc/string/Makefile.in,
8337           libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8338           libc/time/Makefile.in, libc/unix/Makefile.in,
8339           libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8340           (TARGETLIB): removed.
8341           (all): reworked.
8342           (clean): also remove lib.a.
8343           (Makefile): call $(SHELL) rather than sh.  drop redundant ./
8344         * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8345           new macros.
8346           (SUBDIRS): moved to follow frag inclusion, change stub to
8347           stub_dir.
8348           (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8349           are now set in the libc Makefile.
8350         * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8351           (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8352           TARGETCRT0.
8353           (force): new target to force rebuilds.
8354         * stub/configure.in: determine and set stub_lib for for Makefile.
8355
8356 Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
8357
8358         * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8359         crt0.s renamed to crt0.S.
8360         * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8361
8362         * libc/machine/h8300/Makefile.in: Make `all' the default target.
8363         * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8364         h8300h.
8365         * libc/machine/h8300/defines.h: Add macros to handle pointers for
8366         h8300 (16 bits) and h8300h (32 bits).
8367         * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8368         reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8369
8370 Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
8371
8372         * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8373         implementation of setjmp and longjmp for the m88k.
8374         * libc/include/machine/setjmp.h: Added __m88000__ case.
8375
8376 Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
8377
8378         * configure.in: Recognize h8300h as variant of h8300.
8379
8380 Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8381
8382         * libc/include/sys/unistd.h (read, write): get prototypes right.
8383         (sbrk): New prototype.
8384         * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8385         * libc/stdio/local.h: Include unistd.h.
8386         * libc/machine/h8300/syscalls.c: Names have changed.
8387
8388 Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
8389
8390         * configure.in: add sys_dir assignment for m88k-bug.
8391
8392 Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8393
8394         * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8395         a.out or elf.
8396         * libc/sys/sparc64: all *.S files: Use new macros.
8397         * libc/sys/sparc64/isatty.c: New file.
8398         * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8399         functions beyond what newlib provides.
8400
8401 Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
8402
8403         * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8404         svr4.
8405
8406 Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
8407
8408         * libc/include/machine/ieeefp.h: Add support for h8/300h.
8409
8410 Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
8411
8412         * configure.in: add m88k.
8413         * libc/include/machine/ieeefp.h: add case for m88k.  Also add
8414         sanity check so no one else need ever chase what I did to find
8415         this.
8416
8417         * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8418
8419 Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8420
8421         * doc/makedoc.c: Include <ctype.h>.
8422
8423 Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
8424
8425         * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8426         * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8427         * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8428
8429         * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8430
8431 Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
8432
8433         * libc/include/errno.h (ENOSYS): Added.
8434
8435         * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8436
8437 Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
8438
8439         * libc/stdio/fflush.c (fflush): Check for reent struct
8440         initialization.
8441         * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8442
8443 Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
8444
8445         * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8446         out of dtoa.c so it doesn't pollute the namespace.
8447         * libc/include/_syslist.h: new file -- mappings from _function to
8448         function, for systems where we can't win (by default, all of them,
8449         until we start updating system calls.)
8450         * libc/syscalls: new directory -- stubs for exporting _function
8451         names as unmodified function names.
8452         * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8453         _syslist.h on all platforms by default, but put hooks in for
8454         fake_sys_dir so we can include it when we've renamed the system
8455         calls.
8456         * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8457         libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8458         libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8459         libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8460         libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8461         libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8462         non ANSI functions to call _function.
8463
8464 Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8465
8466         * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8467         when base 16 is specified.  Don't accept non-digits if radix > 10.
8468
8469 Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
8470
8471         * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8472
8473 Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
8474
8475         * libc/include/sys/stat.h: Surround text after #endif with
8476         comments.
8477
8478 Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8479
8480         * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8481         _malloc_r, _realloc_r, and free_r call the corresponding
8482         non-reentrant functions.
8483
8484         * libm/math/modf.c (modf): We now take the address of ipart, so
8485         don't make it a register variable.
8486
8487 Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
8488
8489         * libm/math/*: Rename all xxx_r fns to _xxx_r.
8490
8491 Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
8492
8493         * libc/libc.texinfo and embedded docn throughout: formatting
8494         improvements, minor rephrasing for clarity, and improved
8495         reentrancy docn.
8496
8497 Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8498
8499         * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8500
8501         * libc/stdio/cvt.c (_licvt): Print the right value on machines
8502         where sizeof(int) != sizeof(long).
8503
8504 Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
8505
8506         * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8507         libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8508         libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8509         libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8510         libm/math/matherr.c: changes for better docn formatting (info).
8511
8512         * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8513         libc/reent/reent.tex, libc/signal/signal.tex,
8514         libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8515         libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8516         libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8517         makeinfo node defaulting to get better Info file node structure.
8518         (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8519         Also include a few formerly missing sections (subroutines).
8520
8521         * doc/doc.str: delete fossil expansion for "func"
8522
8523         * default.menu, no-signal.menu: delete.
8524
8525         * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8526         method used to adjust doc for missing "signals" chapter when 
8527         signal_dir is empty.
8528
8529 Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8530
8531         * configure.in: added testsuite/libm.sac
8532
8533 Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
8534
8535         * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8536         code model).
8537
8538 Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
8539
8540         * libm/Makefile.in: Use $(MAKE) rather than make, and define
8541         MAKEOVERRIDES to be empty.
8542
8543 Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
8544
8545         * configure.in: Don't build mips-*-* with -msoft-float, since that
8546         makes it incompatible with hard floating point.
8547
8548 Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8549
8550         * Makefile.in: added recursive 'make check'
8551
8552 Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
8553
8554         * configure.in: added ./testsuite ./testsuite/libm.paranoia
8555         * ./testsuite/Makefile.in: created
8556         * ./testsuite/libm.paranoia: paranoia tests added
8557
8558 Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
8559
8560         * configure.in: For mips-*-* set machine_dir to mips.
8561
8562         * libc/machine/mips: New directory.
8563         * libc/machine/mips/Makefile.in: New file.
8564         * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8565         setjmp and longjmp.
8566         * libc/include/machine/setjmp.h: Added __mips__ case.
8567
8568         * libc/machine/lmips: Removed unused and useless directory.
8569
8570 Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
8571
8572         * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8573
8574 Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
8575
8576         * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8577         start up).
8578
8579 Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
8580
8581         * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8582         SETJMP_H.
8583
8584 Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
8585
8586         * libm/test/convert.c: structure member errno -> errno_val.
8587         Must include <errno.h> to use errno, it's a macro now.
8588         * libm/test/math.c: Ditto.
8589         * libm/test/math2.c: Include errno.h.
8590         * libm/test/string.c: Ditto.
8591         * libm/test/test.h: structure member errno -> errno_val.
8592         Remove extern int errno decl.
8593
8594 Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
8595
8596         * libc/stdio/Makefile.in: Added dependencies on local header
8597         files.
8598         * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8599         files.
8600
8601 Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
8602
8603         * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8604
8605 Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8606
8607         * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8608         Initialize _data.
8609
8610         * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8611         * libc/stdio/local.h: Add prototype for _licvt.
8612
8613         * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8614         instead of malloc,reealloc.
8615
8616         * libc/stdlib/local.h: New file.
8617         * libc/stdlib/efgcvt.c: #include local.h.
8618         (gcvt): Fix call to _gcvt.
8619         * libc/stdlib/ecvtbuf.c: #include local.h.
8620
8621         * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8622         * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8623         * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8624
8625         * libc/stdlib/atexit.c: moved global data to struct _reent.
8626         * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8627
8628         * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8629
8630 Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
8631
8632         * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8633         here from ../reent.h.
8634
8635 Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
8636
8637         * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8638         should be provided in both libc.a and libm.a.
8639         (libc.a): Depend on targ-include and libm.a.  Copy
8640         $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8641         (libm.a): Depend on targ-include.
8642         * configure.in (subdirs): Removed libc/math.
8643
8644 Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8645
8646         * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8647
8648 Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
8649
8650         * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8651         sys/reent.h instead of reent.h.
8652         * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8653         headers moved to sys/reent.h.  
8654         * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8655         * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8656         __need__MAX_SIGNALS defined.
8657         * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8658         std{in,out,err} refer to new _std{in,out,err} members.
8659
8660 Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
8661
8662         * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8663         case.
8664
8665 Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
8666
8667         * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8668         rather than whatever macro seterrno() has.
8669
8670 Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
8671
8672         * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8673         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8674
8675         * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8676         __STDC__.
8677
8678         * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8679         reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8680         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8681
8682         * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8683         _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
8684
8685         * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8686         fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8687         fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8688         mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8689         remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8690         sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8691         vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8692         renamed to _xxx_r.  struct reent_struct renamed to struct _reent
8693         for ANSI.  structure members given leading "_" for ANSI.  Use
8694         _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8695
8696         * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8697         mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8698         system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
8699         reent_struct renamed to struct _reent for ANSI.
8700         Structure members given leading "_" for ANSI.
8701         _CONST --> const in prototypes.
8702         Use _HAVE_STDC instead of __STDC__.
8703
8704         * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8705         _xxx_r.
8706         struct reent_struct renamed to struct _reent for ANSI.
8707         Structure members given leading "_" for ANSI.
8708
8709         * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8710         _xxx_r.
8711         struct reent_struct renamed to struct _reent for ANSI.
8712
8713         * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8714         cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8715         gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8716         mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8717         tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8718
8719         * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8720         signal.h, stdio.h, stdlib.h, string.h, time.h}:
8721         Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8722         #ifndef _STRICT_ANSI non-ANSI routines.
8723         Reentrant routines renamed from _r_xxx to _xxx_r.
8724         No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8725         Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8726         Clean up namespace (structure members have leading "_").
8727         struct reent_struct renamed to struct _reent for ANSI compliance.
8728         _CONST --> const in function prototypes.
8729
8730         * libc/include/string.h: Add NULL and size_t.
8731
8732         * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8733         unlink, wait, wait4. Reentrant syscall routines close, fork,
8734         fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8735         write.
8736         * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8737         * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8738         open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8739         write.S}: Define reentrant versions.
8740         * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8741         reentrant syscalls.
8742
8743         * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8744
8745         * libc/include/stdlib.h (RAND_MAX): Fix value.
8746
8747 Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
8748
8749         * libc/sys/a29khif/_main.c: Removed unnecessary file.
8750         * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8751         VPATH support targets after all: target.
8752
8753         * stub/mvme135/mvme.S: Renamed exceptionhandler to
8754         exceptionHandler, which is what mvme135-stub.c expects.
8755
8756 Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
8757
8758         * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8759
8760         * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8761         def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8762         compliant).
8763
8764 Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
8765
8766         * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8767         first.
8768         libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8769         _r_write): Ditto.
8770         libc/reent/fstatr.c (_r_fstat): Ditto.
8771         libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8772         libc/reent/sbrkr.c (_r_sbrk): Ditto.
8773         libc/reent/statr.c (_r_stat): Ditto.
8774
8775         * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8776         * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8777         * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8778         * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8779         * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8780         * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8781         * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8782         * libc/stdio/stdio.c (__sread): Ditto for _r_read.
8783         (__swrite): Ditto for _r_lseek, _r_write.
8784         (__sseek): Ditto for _r_lseek.
8785         (__close): Ditto for _r_close.
8786         * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
8787
8788         * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
8789         * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
8790
8791         * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
8792         to make reent_struct the first argument (and thus consistent with
8793         the rest of newlib).
8794
8795         * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
8796         reference to __STDC__.
8797
8798 Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
8799
8800         * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
8801         global __cleanup.
8802
8803 Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
8804
8805         * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
8806         first.
8807         libc/stdio/fclose.c (fclose): Ditto.
8808
8809 Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
8810
8811         * Run through indent and rename reentrant routines for ANSI.
8812         libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
8813         fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
8814         fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
8815         fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
8816         getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
8817         putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8818         scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8819         tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8820         vsprintf.c wbuf.c wsetup.c local.h}
8821
8822         * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8823
8824         * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8825         libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8826         assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8827         dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8828         mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8829         strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
8830
8831         * Run through indent.
8832         libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
8833         memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
8834         strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
8835         strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
8836         strxfrm.c}
8837
8838         * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
8839         localtime.c mktime.c strftime.c time.c}:
8840         Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
8841
8842         * Reformatting + renaming (for ANSI, GNU style, consistency).
8843         libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
8844         ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
8845         signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
8846
8847 Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
8848
8849         * libc/include/stdio.h (stdin_r): Fix.
8850
8851 Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
8852
8853         * Makefile.in: Unexport some variables to keep GNU make from
8854         putting them in the environment and using up needed ARG_MAX space
8855         (a hack is used to let this work with older makes as well).
8856
8857 Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
8858
8859         * Makefile.in: Use $(MAKE) rather than make.
8860         (MAKEOVERRIDES): Define to be empty.
8861         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8862         (libc.a, libm.a): Depend on targ-include.
8863         * host/any (LD): Don't define.
8864         (INCLUDES): Use targ-include.   
8865         * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
8866         (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8867         * libc/Makefile.in: Use $(MAKE) rather than make.
8868         (MAKEOVERRIDES): Define to be empty.
8869         (FLAGS_TO_PASS): Don't pass LD (it's not used).
8870         (all): Rewrote to be slightly smaller.
8871         * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
8872         Define to be empty.
8873         (FLAGS_TO_PASS): Don't pass LD (it's not used).
8874         * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
8875
8876 Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
8877
8878         * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
8879         with errno/errno.c.
8880
8881 Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
8882
8883         * Changes for reentrancy.
8884         libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
8885         Use ptr->_errno, not errno.
8886         libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
8887         libc/stdio/remove.c (remove_r): New function.
8888         libc/stdio/rename.c (rename_r): New function.
8889         libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8890         libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
8891         libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
8892         reentrant versions of system calls.
8893         libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
8894         libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
8895         libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
8896         libc/stdio/findfp.c: Include <string.h>.
8897         libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
8898         "local.h".
8899         libc/stdio/wbuf.c: Include "fvwrite.h"
8900
8901         * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
8902         <string.h>.
8903         libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
8904         (NULL): Don't define if already defined.
8905         libc/stdlib/system.c: Call reentrant versions of system calls.
8906         (system_r): New function.
8907
8908         * Changes for reentrancy.
8909         libc/include/_ansi.h (_PARAMS): New macro.
8910         libc/include/errno.h: Define errno as a macro that calls __errno.
8911         (__errno_r): New macro for reentrant code.
8912         libc/include/math.h: Include reent.h.  Declare many reentrant
8913         functions.
8914         (signgam): Now a macro, not a variable.
8915         (struct exception): Added err field.
8916         libc/include/reent.h: Don't declare __sglue.  Added function
8917         declarations.
8918         (struct reent_struct): Moved errno to beginning.  Added _signgam.
8919         libc/include/stdio.h, libc/include/stdlib.h: Added function
8920         declarations.
8921
8922         * More reentrancy hacking.
8923         libc/errno/errno.c (__errno): New function.
8924         libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
8925         libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
8926         files.
8927         
8928         * Added many new reentrant functions to libm/math/*.
8929         libm/math/error.c (__matherror): Added reent_struct pointer
8930         argument. Changed all callers.
8931         libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
8932         libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
8933         libm/math/tan.h: Removed obsolete unused header files.
8934
8935         * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
8936
8937         * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
8938
8939 Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8940
8941         * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
8942         delay slots.
8943
8944 Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
8945
8946         * libc/libc.texinfo:  comment out reentrancy chapter (duh)
8947
8948 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
8949
8950         * libc/reent/reent.tex:  New file.  (text from
8951         newlib/libc/libc.texinfo)
8952         * libc/stdio/tmpnam.c:  fixed doc typo
8953         * libc/stdlib/rand.c:   fixed doc typo
8954
8955 Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
8956
8957         * libc/reent/reent.tex:  New file.  (text from
8958         newlib/libc/libc.texinfo)
8959
8960 Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
8961
8962         support for reentrancy
8963         * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
8964         new files
8965         * libc/errno/errno.c, libc/include/ieeefp.h,
8966         libc/include/locale.h, libc/include/reent.h,
8967         libc/include/signal.h, libc/include/stdio.h,
8968         libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
8969         libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
8970         libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
8971         libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
8972         libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8973         libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
8974         libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
8975         libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
8976         libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
8977         libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
8978         libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
8979         libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
8980         libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
8981         libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
8982         libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
8983         libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
8984         libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
8985         libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
8986         libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
8987         libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
8988         libc/time/strftime.c: modify to provide reentracy.
8989
8990         new routines:
8991         strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
8992         perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
8993         tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
8994         srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
8995         mstats_r, realloc_r, localeconv_r, setlocale_r
8996
8997 Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
8998
8999         * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9000         libc/include/sys/config.h, libc/include/sys/signal.h,
9001         libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9002         provided macros (such as m68000), use the ansi version
9003         (__m68000__) so that the library can be used with code compiled
9004         -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9005         and sparc.
9006
9007 Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
9008
9009         * configure.in (sparc*): Don't set -fsoft-float for sparc
9010         configurations.  Do set -fsoft-float for sparclite configurations.
9011
9012 Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9013
9014         * default.menu, no-signal.menu: alternate forms of libc main menu
9015           (in newlib rather than newlib/libc due to configuration restrictions)
9016
9017         * configure.in: select one of the two menus above, link to
9018         libc.menu
9019
9020         * libc/libc.texinfo: include menu from separate file
9021
9022 Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
9023
9024         * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9025         (info): Split long shell command in half.
9026         * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9027         sub-makes, just CHEW and TARGETDOC. 
9028         (targetdep.tex): Removed now special handling of sys and machine
9029         subdirectories, made obsolete some time ago.
9030         * libc/machine/Makefile.in (doc): Don't pass everything to
9031         sub-make, just CHEW and TARGETDOC.
9032         (Makefile): New target.
9033         * libc/sys/Makefile.in (Makefile): New target.
9034
9035 Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
9036
9037         * Makefile.in (here and most subdirectories): Only pass down CHEW
9038         and TARGETDOC when making info, not for other targets.
9039
9040         * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9041         $(AR_FLAGS) rather than $(ARUPDATE).
9042
9043 Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
9044
9045         * Try to reduce command line length:
9046         * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9047         CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9048         (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9049         (info): Pass CHEW to other subdirs.
9050
9051 Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
9052
9053         * configure.in: add signal_dir, like unix_dir, but by default it
9054         is set to "signal" so that a29khif can turn it off (since a29khif
9055         has raise() as part of machine-specific signal.s.)
9056
9057 Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
9058
9059         * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9060         * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9061         correctly.
9062         * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9063         libc/stdio/vfprintf: type lint.
9064         * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9065         initialzation code.
9066         * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9067
9068 Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
9069
9070         * stub/mvme135/mvme135-asm.S: new file.
9071         stub/mvme135mvme135-stub.c: moved all assembler routines into
9072         mvme135-asm.S.
9073         stub/mvme135/Makefile.in: build mvme135-stub.o.
9074
9075 Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9076
9077         * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9078         sub-Makefiles instead, to try to avoid line length limitations.
9079
9080 Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
9081
9082         * libc/include/unistd.h (read, write):  Use void* instead of
9083         char*.
9084
9085 Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
9086
9087         * stub/go32/resetpc: sample script to send a reset packet to the
9088         stub
9089
9090         * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9091         DOS environment, which compiles with Turbo C.
9092
9093         * stub/go32/DSER32.LNK: new file, linker commands for serial
9094         remote stub.
9095
9096         * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9097         start up message to identify version; call set_debug_traps.
9098
9099         * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9100         keyboard interaction); call handle_exception() in go_til_stop,
9101         rather than return, so that the remote stub gets control.
9102
9103         * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9104         rename, rather than mv), set flags that work with current Turbo C,
9105         including using the /3 flag; also, add commands to build dser32.
9106
9107         * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9108         default Turbo C installation (\tc rather than \usr)
9109
9110         * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9111         "&..."
9112
9113 Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9114
9115         * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9116
9117 Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9118
9119         * libc/stdio/cvt.c (licvt): new function to convert ints when
9120         sizeof(int) != sizeof(long).
9121
9122         * libc/include/stdio.h: added prototype for iprintf.
9123         * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9124
9125 Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9126
9127         * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9128         __REGISTER_PREFIX__.
9129
9130 Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9131
9132         * libc/sys/m68kbare: moved into stub directory.
9133
9134 Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
9135
9136         * configure.in, Makefile.in: created new directory stub, to hold
9137         sample code for specific targets.
9138
9139 Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
9140
9141         * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9142         in the unified libc/include/sys/fcntl.h.
9143
9144 Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
9145
9146         * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9147         printed .01, not 0.01.
9148
9149 Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
9150
9151         * configure.in: compile with -m68000 for m68* targets.
9152
9153 Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
9154
9155         * libm/math/remainder.c (remainder): document the svr4 and sunos
9156         references used to construct the function.
9157
9158 Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
9159
9160         * libm/math/remainder.c (rint, remainder): fix old typos.
9161         * libm/math/Makefile.in: actually build remainder.c (functions
9162         rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9163         page.)
9164
9165 Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
9166
9167         * libc/string/bcopy.c: BSD version works on overlapping strings,
9168         so ours should too.
9169
9170         * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9171         ("SHELL").
9172
9173 Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
9174
9175         * Makefile.in (docs): new target.
9176
9177 Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
9178
9179         * libc/include/sys/times.h: define clock_t as required by POSIX.
9180         libc/include/time.h: protect clock_t from multiple definitions.
9181
9182 Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9183
9184         * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9185         does not need more than the original three iterations to get
9186         within 1 ulp. (Paranoia tests for rounding to better than that,
9187         but further iterations *don't* help, only more subtle changes
9188         can.)
9189
9190 Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
9191
9192         * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9193         were doing nothing useful.
9194
9195 Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9196
9197         * configure.in: define MALLOC_PROVIDED for vxworks targets;
9198         removed sys_dir settings of vxworks68 and vxworks960.
9199         host/any: don't pass -nostdinc to gcc, since newlib no longer
9200         provides all required header files.
9201
9202         * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9203         is not defined; this provides a hook for VxWorks.
9204
9205 Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9206
9207         * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9208         buffer if buf is NULL, don't do it here -- it is already being
9209         done by makebuf elsewhere in stdio.
9210
9211 Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9212
9213         * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9214         that C programs can call functions without using initial
9215         underscores.
9216
9217 Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
9218
9219         * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9220
9221 Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
9222
9223         * configure.in: set TARGET_CFLAGS for certain CPU types to
9224         -msoft-float.
9225
9226 Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9227
9228         * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9229
9230 Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9231
9232         * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9233         m68k*-unknown-coff.
9234
9235 Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
9236
9237         * libc/include/stdio.h: define __need___va_list before including
9238         <stdarg.h>, to avoid defining va_arg, et. al.
9239
9240 Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
9241
9242         * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9243         (don't cd to the user's home directory).
9244
9245         * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9246         In general this is the wrong thing to do, but I can't get around
9247         GNU make's insistence on passing command line arguments any other
9248         way.
9249
9250 Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
9251
9252         * configure.in: always configure the libc/sys directory, since it
9253         now provides a required documentation file.
9254
9255         * Makefile.in: replaced all instances of $(MAKE) with make.  In
9256         general this is the wrong thing to do, but I can't get around GNU
9257         make's insistence on passing command line arguments any other way.
9258
9259 Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
9260
9261         * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9262         terminated.
9263
9264         * libc/stdio/local.h: include <stdarg.h> to define va_list.
9265         libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9266
9267         * libc/include/float.h, libc/include/stdarg.h,
9268         libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9269         versions instead.
9270         libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9271         <stdarg.h>, not from <machine/types.h>.  Protect definition of
9272         NULL.
9273         libc/include/time.h: get size_t from stddef.h.  Protect definition
9274         of NULL.
9275         libc/include/machine/limits.h: override gcc <limits.h> by defining
9276         _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc <limits.h> to
9277         get correct INT_MIN and LONG_LONG values.
9278         libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9279         size_t or va_list at all; they're now gotten from stddef.h
9280         instead.
9281         libc/include/machine/varargs.h: removed; use gcc version instead.
9282         libc/include/sys/types.h: explicitly include <machine/types.h>.
9283
9284         * libm/math/sqrt.h: using the fp-bit routines appears to require
9285         more iterations.
9286
9287         * Makefile.in, host/any: let system include files override machine
9288         include files.
9289
9290 Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9291
9292         * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9293         override _*_T_ definitions defaulted here.
9294
9295 Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
9296
9297         * Makefile.in (install): install the include files in
9298         $(tooldir)/include, not $(exec_prefix)/include.
9299
9300 Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
9301
9302         * Makefile.in (install): fixed typo, and changed install to not
9303         force rebuild of libc.a and libm.a.
9304
9305 Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
9306
9307         * libc/sys/a29khif/*: Changed all .include's to include
9308         sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
9309         that they will be installed for the user.
9310
9311         * Makefile.in (all): create targ-include, a directory holding the
9312         machine and system specific header files during the build.
9313         (install): fixed installation of machine and system specific
9314         header files.
9315
9316         * Makefile.in: fixed comment.
9317         host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9318         we can pass $(INCLUDES) to it.
9319
9320 Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
9321
9322         * libc/include/sys/param.h: new generic file, which may be
9323         overridden for specific systems.
9324
9325         * libc/include/sys/signal.h: define all ANSI signal names, and
9326         NSIG (which is not ANSI) for a29k.
9327
9328 Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
9329
9330         * Makefile.in: don't pass down arguments the lower level makes
9331         will not need.
9332         * libc/Makefile.in: recurse directly, rather than using subdir_do,
9333         in hopes of avoiding argument length limits.
9334         * libm/Makefile.in: recurse directly, rather using subdir_do, in
9335         hopes of avoiding argument length limits.
9336
9337 Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
9338
9339         * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9340         mode_t is defined.
9341
9342 Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
9343
9344         * Fixed make info and make install-info for newlib, changing most
9345         Makefile.in and several *.tex files.  Moved doc directory from
9346         libc to top level.
9347
9348         * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9349         Should be rewritten.
9350
9351         * libc/string/strings.tex: renamed node index to node index
9352         function, so that it does not conflict with the top level index
9353         node.
9354
9355         * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9356
9357 Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9358
9359         * Overhauled general configuration for newlib.  Eliminated all
9360         target dependent Makefile fragments.  Create libraries in newlib
9361         rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
9362         than CROSS_CC, et. al.  Broke make docs; will fix later.
9363
9364         * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9365         Should be rewritten.
9366
9367 Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
9368
9369         * libc/configure.in: cleaned up somewhat; switch on ${target}
9370         rather than ${target_alias}.
9371         * libm/configure.in: cleaned up somewhat; switch on ${target}
9372         rather than ${target_alias}.
9373
9374         * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9375         * libc/include/ctype.h: marked _ctype_ as _CONST.
9376
9377         * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9378         _CONST.
9379
9380         * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9381         libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9382         libc/stdio/gets.c (gets): removed non-ANSI warning message.
9383         libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9384
9385         * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9386         bigtens, tinytens): marked arrays _CONST.
9387         libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9388         rather than a static variable.
9389
9390         * libc/time/asctime.c (asctime), libc/time/localtime.c
9391         (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9392         _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9393         mname_len, mname): Marked static arrays _CONST.
9394
9395         * libm/math/gamma.h: made local variables non-static.
9396
9397         * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9398         libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9399         _CONST.
9400
9401         * libm/math/constants.c: removed file, because the constants it
9402         defined were never referenced.
9403         libm/math/Makefile.in: removed references to constants.c.
9404         libm/math/mathimpl.h: removed declarations of constants.
9405
9406 Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
9407
9408         * libc/include/machine/varargs.h: only call __builtin_saveregs if
9409         it is sensibly defined in libgcc2.  Checks preprocessor defines,
9410         which is not a good solution.
9411
9412         * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9413
9414         * libm/frexp.c: handle denormalized numbers as arguments.
9415
9416         * libm/math/Makefile.in: added some dependencies for .c files
9417         which include local .h files.
9418
9419 Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
9420
9421         * libc/configure.in: set target_alias for OSE*.  Replace
9422         target_makefile_frag if it is blank.
9423
9424         * libc/Makefile.in: make sure everything is passed to subsidiary
9425         makes; create all directories when installing.
9426
9427         * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9428         CROSS_ARUPDATE instead of AR.
9429
9430         * libm/configure.in: set target_alias for OSE*.  Replace
9431         target_makefile_frag if it is blank.
9432
9433         * libm/Makefile.in: make sure everything is passed to subsidiary
9434         makes; create all directories when installing.
9435
9436 Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
9437
9438         * add following change from libc copy.
9439
9440 Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9441
9442         * libc/libc.texinfo: make copyright disclaimers appear on back of
9443         title page; make format of same slightly less ugly; avoid using
9444         underbars in section headings (avoids nasty texinfo bug in table
9445         of contents).
9446
9447         * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9448           comments only) avoid using underbars in section headings
9449
9450         * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9451           isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9452           changes in comments only): shorten headings ieeefp/infinity.c,
9453           ieeefp/isnan.c: (doc, comments only) more informative headings
9454
9455         * libc/math/bessel.c: (doc, comments only) shorten heading
9456
9457         * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9458         (doc, comments only) shorten headings
9459
9460         * libc/time/localtime.c (doc, comments only): shorten headings
9461
9462         * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9463           isnan
9464           libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9465           libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9466           headings
9467           libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9468           only) more informative headings
9469         * libm/math/bessel.c: (doc, comments only) shorten heading
9470
9471 Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
9472
9473         * .../Makefile.in: use CROSS_ARUPDATE consistently.
9474         * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9475         * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9476         * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9477         defined, the one from the .mt file will be correct.
9478         * libc/include/machine, libc/include/sys: created, and populated
9479         with common files from machine/*/machine. ifdefs were used for
9480         most, typically by handling exceptions first and then filling in
9481         defaults. Files with D.J. Delorie copyright #included rather than
9482         copied. Most files in include/sys really were the same in the
9483         original.
9484         * libc/include/...: cleaned up use of _EXFUN.
9485         * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9486         it with double quotes, not angles.
9487
9488 Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
9489
9490         * libc/Makefile.in: always create installation directories.
9491
9492 Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
9493
9494         * libc/configure.in: handle host properly (using canonical
9495         triples), better error message for the case of target not found
9496
9497 Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
9498
9499         * libc/Makefile.in (insincdir): Ensure this directory exists
9500         before attempting installation.
9501
9502 Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9503
9504         * libc/stdlib/assert.c: now calls abort like it should
9505         * libc/sys/a29khif: many many patches for 29khif work
9506         * libc/machine/i386: gnulib2 expanded there.
9507
9508 Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9509
9510         Added accurate fp conversion routines to stdlib, moved dcvt from
9511         stdio to stdlib and called it ecvtbuf:
9512         * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9513         * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9514         routines
9515         * libc/libc.texinfo: Modifed to include the copyright info from
9516         the mprec files
9517         * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9518         * libc/test/ : many vector which tested for the implementation
9519         defined returns of strange conversion requests have been updated
9520         to relflect the new implementation
9521
9522 Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9523
9524         * libc/libc.texinfo: new chapter on variable arg lists
9525         (stdarg.h/varargs.h)
9526         * libc/libc.texinfo: new title
9527         * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9528         (doc only) shorter headings for better formatting.
9529
9530 Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9531
9532         * libc/libc.texinfo: three more info menu entries
9533         * libc/locale/locale.tex: new chapter
9534         * libc/locale/locale.c: new doc for setlocale, localeconv
9535         * libc/locale/Makefile.in: use new locale doc
9536         * libc/signal/signal.tex: new chapter
9537         * libc/signal/raise.c, libc/signal/signal.c: new doc
9538         * libc/signal/Makefile.in: use new doc
9539         * libc/time/time.tex: new chapter
9540         * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9541         libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9542         libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9543         * libc/time/Makefile.in: use new doc
9544
9545 Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9546
9547         * libm/math/log1p.c: split to use the new function way of float
9548         function definition. math/log1p.h deleted
9549         * libm/math/scalb.c: obsolete and deleted
9550         * libm/math/scalbn.c: created from part log1p.c
9551         * libm/math/Makefile.in: know about log1p and scalbn
9552
9553 Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9554
9555         * libc/ctype/isupper.c: revise doc;
9556           libc/ctype/ctype.tex: use doc from isupper.c
9557
9558         * libc/string/bzero.c: new doc
9559
9560 Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
9561
9562         * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9563         new doc
9564         * libc/stdlib/Makefile.in: extract new doc
9565         * libc/stdlib/stdlib.tex: use new doc
9566
9567         * libc/string/strerror.c: expanded doc.
9568
9569         * libc/stdio/Makefile.in: extract doc from more files
9570         * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9571         libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9572         libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9573         libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9574         libc/stdio/vsprintf.c: new doc
9575         * libc/stdio/stdio.tex: use new doc
9576
9577 Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9578
9579         * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9580         * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9581         finitef functions.
9582         * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9583         time ago.
9584
9585         * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9586         * libc/stdio/setbuf.c: added ansi style definition.
9587         * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9588         buffer if none provided.
9589         * libc/stdio/tmpfile.c: lint
9590         * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9591         rather than using static, also make sure file isn't already
9592         present.  Uses P_tmpdir. (tempnam): rewritten to use new
9593         subroutine, and uses P_tmpdir.
9594         * libc/stdio/siprintf.c: created
9595
9596 Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
9597
9598         Release 1.03 for NEC, major mods. Main differences from release
9599         1.02::
9600
9601         More tests in test/:
9602         * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9603         log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9604         * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9605         get/set mask, get/set sticky and get/set roundtoi.  Tests
9606         that setting the bits changes the way arithmetic is done.
9607         * string.c: added test to make sure memcmp does it with unsigned
9608         chars.
9609         * test.c: cleaned up and removed lint.
9610         * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9611         dvec.c: tests for string to value conversions,  sprintf, scanf,
9612         atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9613         ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
9614         rounding in sprintf too.
9615         * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
9616         isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9617         isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9618         and function form.
9619         * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9620         powf
9621
9622         In the library:
9623         * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9624         libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9625         libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9626         libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9627         * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9628         than sprintf.
9629         * libc/stdio/dcvt.c: rewritten to make more useful elsewhere. 
9630         * Method of producting float versions of double functions has
9631         changed, functions will be modified gradually. So far:
9632         libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9633         libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9634         altered
9635         * libc/string/memcmp.c: now uses unsigned chars
9636         * libc/string/bcmp.c, libc/string/strcpy.c,
9637         libc/stsring/strxfrm.c: fixed doc
9638         * libc/sys/sysvnecv70.tex: fix example of sbrk code
9639 \f
9640 Local Variables:
9641 version-control: never
9642 End: