1 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
3 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
4 clipping patch from e-mail reader.
6 2000-09-13 Will Cohen <wcohen@redhat.com>
8 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10 (_longjmp): Allow longjmp to return value of second argument
13 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
15 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
16 inline code to prevent having to include another header file.
18 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
20 * Makefile.am: Fix space vs. tab problem in install-data-local.
21 * Makefile.in: Regenerate.
23 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
25 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
26 (_EXPARM): New macro for defining a function parameter.
27 * libc/include/stdlib.h: Use _EXPARM.
28 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
30 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
32 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
33 required, as documented in the gnu coding standards.
34 * Makefile.in: Regenerate.
36 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
38 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
39 make O_NDELAY and O_NONBLOCK have the same value.
41 2000-08-30 Kazu Hirata <kazu@hxi.com>
43 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
45 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
47 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
48 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
49 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
52 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
54 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
55 * libc/include/string.h: Don't include <sys/types.h>,
56 as it causes really bad namespace pollution. Don't declare
57 swab(), it is properly declared in unistd.h.
59 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
61 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
62 (broken) support for non-existent /etc/passwd field "comment".
64 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
66 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
67 only if _DIRENT_HAVE_D_NAMLEN is defined.
68 (alphasort): aligned prototype with
69 libc/sys/cygwin/sys/dirent.h and simplified function body.
70 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
71 long telldir (DIR *) as mentioned in annex B of POSIX.1
73 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
75 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
76 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
77 Added __CLI and __STI macros (controlled via
78 _I386MACH_ALLOW_HW_INTERRUPTS macro).
79 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
80 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
81 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
82 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
83 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
84 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
85 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
86 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
87 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
88 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
89 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
90 for all global entry points.
91 * libc/machine/i386/setjmp.S: removed code replicated in
92 libc/machine/i386/i386mach.h and included i386mach.h instead;
93 Use __CLI and __STI instead of cli and sti.
95 2000-08-25 DJ Delorie <dj@redhat.com>
97 * libc/include/sys/unistd.h (environ): this one isn't from the
100 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
102 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
103 environ when compiling under cygwin since it is already declared in
106 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
108 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
109 like x << y-z to the equivalent x << (y-z).
110 (d2b): changed if statements with assignment to perform the
111 assignment prior to the if check.
112 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
113 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
114 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
115 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
117 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
118 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
120 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
122 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
123 clarify && and || precendence (and to remove pascalism).
124 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
125 * libm/math/s_infconst.c: added another pair of braces to all
126 initializers for __infinity (need three: for __infinity[1] array,
127 for union __dmath, and for i[2]).
129 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
131 * libc/stdlib/abort.c: changed description: uses "raise" instead of
132 "getpid" and "kill"; added: uses "write" and "_exit".
133 Also included unistd.h for "_exit" prototype.
134 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
135 reent.h for "_fork_r" and "_wait_r" prototypes.
136 (do_system): changed extern char *environ[] to POSIX-friendly
137 extern char **environ.
138 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
140 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
141 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
142 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
143 * libc/reent/openr.c: included fcntl.h for "open" prototype.
144 * libc/reent/signalr.c: included signal.h for "kill" prototype,
145 unistd.h for "getpid" prototype.
146 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
147 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
148 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
149 prototype. Also included stdlib.h for "abort", string.h for
150 "strdup" and "strncmp" prototypes.
151 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
152 "strncpy", unistd.h for "read" and "close" prototypes.
153 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
156 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
158 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
159 used later (ifdef __SCLE)
160 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
161 used later (ifdef MB_CAPABLE)
162 * libc/string/memset.c (memset): removed unused variables "count"
164 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
165 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
166 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
169 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
171 * libc/stdlib/envlock.c: changed documented "__env_lock" and
172 "__env_unlock" prototype from "void *" or "char *" to
173 "struct _reent *" to match real function. Also added include
175 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
176 "__malloc_unlock" prototype from "void *" or "char *" to
177 "struct _reent *" to match real function.
178 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
179 prototypes (for getenv_r.c and setenv_r.c).
181 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
183 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
184 and prototype in cygwin's utmp.h
186 2000-08-16 Eric Fifer <efifer@sanwaint.com>
188 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
190 2000-08-09 Nick Clifton <nickc@cygnus.com>
192 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
193 epilogue and to allow the functions to be used in a Thumb based
196 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
198 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
199 so size of 0 results in nothing being written to string.
200 Also fixed code so that when size is non-zero, there is only
201 a maximum of size - 1 characters written to the array and
202 a nul terminator is appended at the end.
203 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
205 2000-08-01 DJ Delorie <dj@redhat.com>
207 * libc/include/sys/config.h: define __IMPORT appropriately
208 * libc/include/ctype.h (_ctype_): use __IMPORT
209 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
210 * libc/include/math.h (__mb_cur_max): ditto
211 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
212 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
213 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
214 * libc/include/unistd.h (environ): ditto
216 2000-07-28 Michael Meissner <meissner@redhat.com>
218 * libc/include/math.h (__infinity): Declare as an array without
219 bounds to get around small data support. Rewrite Cygwin support
221 * libm/math/s_infconst.c (__infinity): Ditto.
222 * libm/mathfp/s_infconst.c (__infinity): Ditto.
224 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
226 * libc/include/math.h: Use appropriate dll import linkage for
227 __infinity under Cygwin.
229 2000-07-13 DJ Delorie <dj@cygnus.com>
231 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
233 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
235 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
236 to argument list for AngelSWI_Reason_GetCmdLine.
238 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
240 * configure.host: Add support for AVR target.
241 * libc/include/machine/ieeefp.h: Likewise.
242 * libc/include/sys/config.h: Likewise.
244 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
246 * README: Newlib 1.8.2 must be built in a separate directory
249 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
251 * libc/include/sys/reent.h (_rand_next): Added __extension__
252 qualifier as long long type is not strict ANSI.
253 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
254 to long long constant.
256 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
258 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
259 `setegid' provided by Cygwin.
261 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
263 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
266 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
268 * libc/include/sys/reent.h (_rand_next): Changed to
269 unsigned long long and moved to end of _reent struct in _new union.
270 (_REENT_INIT): Changed to move _rand_next initialization.
271 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
272 linear congruential algorithm that is used by DJGPP.
274 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
276 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
277 * libc/include/sys/config.h: Define __RAND_MAX.
279 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
281 * libc/stdlib/rand_r.c: New algorithm that meets minimal
284 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
286 * libc/include/string.h: Work around problem with strsignal and gdb.
288 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
290 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
291 * libc/include/malloc.h: Ditto.
292 * libc/include/process.h: Ditto.
293 * libc/include/stdio.h: Ditto.
294 * libc/include/stdlib.h: Ditto.
295 * libc/include/time.h: Ditto.
296 * libc/include/machine/setjmp.h: Ditto.
297 * libc/include/sys/errno.h: Ditto.
298 * libc/include/sys/signal.h: Ditto.
299 * libc/include/sys/stat.h: Ditto.
300 * libc/include/sys/time.h: Ditto.
301 * libc/include/sys/unistd.h: Ditto.
302 * libc/include/string.h: Ditto. strsignal should return a const char *.
304 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
306 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
307 * libm/common/s_log1p.c (log1p): Likewise.
308 * libm/common/s_scalbn.c (scalbn): Likewise.
309 * libm/math/e_log.c: Likewise.
310 * libm/math/e_asin.c: Likewise.
311 * libm/math/ef_asin.c: Likewise.
312 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
313 * libm/math/e_j1.c (pone, qone): Likewise.
314 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
315 * libm/math/ef_j1.c (ponef, qonef): Likewise.
316 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
317 * libm/mathfp/e_j1.c (pone, qone): Likewise.
318 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
319 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
321 2000-05-19 DJ Delorie <dj@cygnus.com>
323 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
324 (__sread): always read in binary mode
325 (__swrite): always write in binary mode
326 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
327 compatibility issues with different dll versions
328 * libc/stdio/fopen.c: use __stextmode
329 * libc/stdio/fdopen.c: ditto
330 * libc/stdio/freopen.c: ditto
331 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
332 * libc/stdio/local.h: declare __stextmode
334 2000-05-18 DJ Delorie <dj@cygnus.com>
336 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
338 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
340 * libc/include/ctype.h: Changed tolower and toupper macros
341 to use __extension__ to prevent pedantic warnings.
343 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
345 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
348 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
350 * libc/include/machine/ieeefp.h: Add ia64 support.
351 * configure.host: Likewise.
353 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
355 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
356 month is now padded with space, not zero. This now conforms to
359 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
361 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
362 host or network path") used by cygwin. Add some comments.
364 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
366 * libc/include/stdio.h (FILE): define __SCLE for "convert line
368 (__sgetc): convert line endings if needed
370 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
371 * libc/stdio/fopen.c (_fopen_r): ditto
372 * libc/stdio/freopen.c (freopen): ditto
373 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
374 * libc/stdio/fvwrite.c (__sfvwrite): ditto
376 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
378 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
379 post-increment when it is worth it, spacewise.
381 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
383 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
384 * libc/stdio/findfp.c (std): Added declaration of flags and file.
385 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
387 * libc/stdio/putchar.c (putchar): Added return statement.
388 * libc/stdio/refill.c (lflush): Added correct parentheses.
389 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
390 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
391 prints long value to use l qualifier.
392 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
393 messages and initialized local values: ilim, ilim1, and spec_case.
394 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
395 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
396 * libc/stdlib/mprec.c: Ditto.
397 * libc/stdlib/setenv_r.c: Ditto.
398 * libc/stdlib/strtod.c: Ditto.
399 * libc/stdlib/strtol.c: Ditto.
400 * libc/stdlib/strtoul.c: Ditto.
401 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
402 * libm/common/sf_log1p.c: Ditto.
403 * libm/common/sf_scalbn.c: Ditto.
404 * libm/math/ef_log.c: Ditto.
406 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
408 * libc/posix/execvp.c (execvp): Check path for
411 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
413 * libc/include/sys/unistd.h: Add prototypes for
414 fchmod, fchown, lchown.
416 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
418 * acinclude.m4: Changed release to 1.8.2.
419 * aclocal.m4 configure doc/aclocal.m4 doc/configure
420 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
421 libc/machine/configure libc/machine/a29k/aclocal.m4
422 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
423 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
424 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
425 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
426 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
427 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
428 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
429 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
430 libc/machine/i386/configure libc/machine/i960/aclocal.m4
431 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
432 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
433 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
434 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
435 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
436 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
437 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
438 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
439 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
440 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
441 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
442 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
443 libc/machine/v850/configure libc/machine/w65/aclocal.m4
444 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
445 libc/machine/z8k/configure libc/sys/aclocal.m4
446 libc/sys/aclocal.m4 libc/sys/configure
447 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
448 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
449 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
450 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
451 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
452 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
453 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
454 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
455 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
456 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
457 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
458 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
459 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
460 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
461 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
462 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
463 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
464 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
465 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
466 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
467 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
468 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
469 libm/aclocal.m4 libm/configure: Regenerated.
471 2000-03-24 Nick Clifton <nickc@cygnus.com>
473 * libc/sys/arm/syscalls.c: Fix compile time warnings.
474 (do_AngelSWI): Add "cc" to list o registers clobbered.
476 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
478 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
479 information to be clobbered by an Angel C library support syscall.
481 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
483 * libc/stdlib/envlock.c: Fixed comment typo.
485 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
487 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
488 code to update nread as each character is processed instead
489 of using buffer contents which throw away leading zeroes.
491 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
493 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
495 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
497 * libc/include/string.h: Include <sys/types.h>.
499 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
501 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
504 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
506 * libc/include/string.h: Changed last argument back to ssize_t
507 to make it compatible with XPG4 definition which is
508 defined in <unistd.h>. There is a conflict in the SVID 3
509 and XPG4 definitions and newlib will settle with XPG4.
510 * libc/string/swab.c: Ditto.
512 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
514 * libc/include/string.h: Changed last argument to size_t.
515 * libc/string/swab.c: Changed last argument to size_t.
517 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
519 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
520 (CHEWOUT_FILES): Added unlinkr.def.
521 * libc/reent/Makefile.in: Rebuilt.
522 * libc/sys.tex: Include unlinkr.def.
523 * libc/reent/linkr.c (_unlink_r): Moved to...
524 * libc/reent/unlinkr.c: ... new file.
526 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
528 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
529 (CHEWOUT_FILES): Added swab.def.
530 * libc/string/Makefile.in: Rebuilt.
531 * libc/string/string.tex: Include swab.def.
532 * libc/include/string.h (swab): Declare.
533 * libc/string/swab.c: New file.
535 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
537 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
538 (CHEWOUT_FILES): Added getw.def and putw.def.
539 * libc/stdio/Makefile.in: Rebuilt.
540 * libc/stdio/stdio.tex: Include getw.def and putw.def.
541 * libc/stdio/getw.c: New file.
542 * libc/stdio/putw.c: New file.
544 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
546 * libc/stdio/flags.c (__sflags): Added check that mode[1]
547 is non-null before looking at mode[2].
549 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
551 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
552 * libm/mathfp/sf_atan.c: Ditto.
554 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
556 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
558 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
560 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
563 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
565 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
566 call prior to calling _VFPRINTF_R so reentrant data area is set.
567 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
569 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
571 * libc/stdio/vfscanf.c (limits.h): #include.
572 (MAX_LONG_LEN): #define.
573 (__svfscanf): Handle floating point numbers with arbitrary amounts
576 2000-02-15 Nick Clifton <nickc@cygnus.com>
578 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
579 zero. Set the blocksize to 1024/
581 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
583 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
586 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
588 * acinclude.m4: Changed include directory for winsup headers.
589 * aclocal.m4 configure libc/aclocal.m4
590 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
591 libc/locale/Makefile.in libc/machine/aclocal.m4
592 libc/machine/configure libc/machine/a29k/aclocal.m4
593 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
594 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
595 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
596 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
597 libc/machine/fr30/configure
598 libc/machine/h8300/aclocal.m4
599 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
600 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
601 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
602 libc/machine/i386/configure libc/machine/i960/aclocal.m4
603 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
604 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
605 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
606 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
607 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
608 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
609 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
610 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
611 libc/machine/powerpc/configure
612 libc/machine/sh/aclocal.m4
613 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
614 libc/machine/sparc/configure
615 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
616 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
617 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
618 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
619 libc/misc/Makefile.in libc/posix/Makefile.in
620 libc/reent/Makefile.in
621 libc/signal/Makefile.in
622 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
623 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
624 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
625 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
626 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
627 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
628 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
629 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
630 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
631 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
632 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
633 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
634 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
635 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
636 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
637 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
638 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
639 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
640 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
641 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
642 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
643 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
644 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
645 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
646 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
647 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
648 libm/configure: Regenerated.
650 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
652 * libc/stdlib/putenv_r.c (_putenv_r): New file.
653 * libc/stdlib/strdup_r.c (_strdup_r): New file.
654 * libc/include/string.h: Added _strdup_r.
655 * libc/stdlib/putenv.c: Added call to reentrant version.
656 * libc/stdlib/strdup.c: Ditto.
657 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
658 * libc/include/stdlib.h: Ditto.
659 * libc/stdlib/Makefile.in: Regenerated.
660 * libc/string/Makefile.in: Regenerated.
661 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
662 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
663 management calls to reentrant versions.
664 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
665 * libc/stdlib/wctomb.c: Ditto.
666 * libc/stdlib/mblen.c: Ditto.
667 * libc/stdlib/mbstowcs.c: Ditto.
668 * libc/stdlib/mbtowc.c: Ditto.
669 * libc/stdlib/getenv.c: Ditto.
670 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
673 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
675 patch from Corinna Vinschen <corinna@vinschen.de>
676 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
678 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
680 * libm/mathfp/s_atangent.c: Fix exponent calculation.
681 * libm/mathfp/s_ldexp.c: Ditto.
682 * libm/mathfp/sf_atangent.c: Ditto.
683 * libm/mathfp/sf_ldexp.c: Ditto.
685 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
687 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
688 * libc/include/locale.h: define NULL to be 0.
690 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
692 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
695 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
697 * libc/machine/mn10300/setjmp.S: Handle am33.
699 1999-11-26 Nick Clifton <nickc@cygnus.com>
701 * libc/sys/arm/syscalls.c: Add function prototypes.
702 (stack_ptr): Move declaration before function definitions.
704 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
706 * NEWS: Updated version information.
709 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
711 * libc/machine/i386/strchr.S: Fixed alignment test.
713 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
715 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
717 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
719 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
720 ensuring that there is space between the two.
722 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
724 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
727 1999-10-08 Vadim Egorov <egorovv@1c.ru>
729 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
732 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
734 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
735 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
737 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
738 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
740 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
743 1999-09-13 DJ Delorie <dj@cygnus.com>
745 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
748 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
750 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
751 also note BUFSIZ as its size.
753 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
755 * configure.host: Corrected feature defines for RTEMS.
756 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
757 * libc/include/sys/stat.h: mkfifo() should take const path arg.
758 * libc/include/sys/unistd.h: pathconf() should take const path arg.
759 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
760 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
761 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
762 _PC_PRIO_IO, and _PC_SYNC_IO.
763 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
764 * libc/machine/m68k/Makefile.in: Regenerated.
765 * libc/machine/m68k/strcpy.c: New file.
766 * libc/machine/m68k/strlen.c: New file.
767 * libc/stdio/tmpnam.c: Always make the returned name usable.
768 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
769 * libc/sys/rtems/sys/dirent.h: New file.
770 * libc/sys/rtems/sys/types.h: Added dev_t.
772 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
774 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
776 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
778 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
781 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
783 patch from Jeff Johnston <jjohnstn@cygnus.com>
784 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
785 buffer is not in a useful state.
787 1999-09-01 Nick Clifton <nickc@cygnus.com>
789 * libc/sys/arm/syscalls.c (_link): Add stub.
791 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
793 * ftell.c (ftell): Use actual position within buffer for text mode.
794 * findfp.c (std): Initialize ptr->_bf._size.
796 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
798 * libc/include/sys/unistd.h: Add nice() declaration.
800 1999-08-09 Nick Clifton <nickc@cygnus.com>
802 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
803 declare as a thumb function so that the disassembler will see the
806 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
808 * libc/reent/reent.tex: Updated list of reentrant functions.
810 1999-07-09 Michael Meissner <meissner@cygnus.com>
812 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
814 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
816 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
818 * libc/stdio/snprintf.c: New file.
819 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
821 * libc/stdio/vsnprintf.c: New file.
822 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
823 * libc/stdio/Makefile.in: Regenerated.
825 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
827 Patch submitted by Egor Duda <deo@logos-m.ru>:
828 * libc/include/stdio.h: Add declarations for *nprintf.
829 * libc/stdio/sprintf.c (snprintf): New function.
830 (_snprintf_r): New function.
831 * libc/stdio/vsprintf.c (vsnprintf): New function.
832 (_vnsprintf_r): New function.
834 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
836 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
837 * libm/Makefile.am (stmp-targetdep): Ditto.
838 * libc/Makefile.in: Regenerated.
839 * libm/Makefile.in: Ditto.
841 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
843 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
844 * libm/Makefile.am (stmp-targetdep): Ditto.
845 * libc/Makefile.in: Regenerated.
846 * libm/Makefile.in: Ditto.
848 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
850 * Makefile.am: Removed dependencies on all-recursive and added "."
851 to the SUBDIRS list to prevent infinite recursion from occurring.
852 Also removed any references to EXTRA_DATA.
853 * libc/Makefile.am: Ditto.
854 * libc/machine/Makefile.am: Ditto.
855 * libc/machine/i386/Makefile.am: Ditto.
856 * libm/Makefile.am: Ditto.
857 * libc/sys/Makefile.am: Ditto.
858 * Makefile.in: Regenerated.
861 * doc/Makefile.in: Ditto.
862 * doc/aclocal.m4: Ditto.
863 * doc/configure: Ditto.
864 * libc/Makefile.in: Ditto.
865 * libc/aclocal.m4: Ditto.
866 * libc/configure: Ditto.
867 * libc/machine/Makefile.in: Ditto.
868 * libc/machine/aclocal.m4: Ditto.
869 * libc/machine/configure: Ditto.
870 * libc/machine/mn10300/Makefile.in: Ditto.
871 * libc/machine/mn10300/aclocal.m4: Ditto.
872 * libc/machine/mn10300/configure: Ditto.
873 * libc/sys/Makefile.in: Ditto.
874 * libc/sys/aclocal.m4: Ditto.
875 * libc/sys/configure: Ditto.
876 * libm/Makefile.in: Ditto.
877 * libm/aclocal.m4: Ditto.
878 * libm/configure: Ditto.
880 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
882 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
884 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
886 * libc/include/stdlib.h: Add reentrant routines.
887 * libc/stdlib/Makefile.am: Add reentrant routines.
888 * libc/stdlib/Makefile.in: Ditto.
889 * libc/stdlib/envlock.c: New file.
890 * libc/stdlib/envlock.h: New file.
891 * libc/stdlib/getenv.c: Modify to call reentrant routine.
892 * libc/stdlib/getenv_r.c: New file.
893 * libc/stdlib/mblen.c: Modify to call reentrant routine.
894 * libc/stdlib/mblen_r.c: New file.
895 * libc/stdlib/setenv.c: Modify to call reentrant routine.
896 * libc/stdlib/setenv_r.c: New file.
897 * libc/stdlib/stdlib.tex: Add reentrant routines.
899 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
901 * libc/include/sys/types.h: Define __MS_types__ whenever
904 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
906 * libc/include/machine/ieeefp.h: Always default to little
907 endian if Windows, regardless of architecture.
908 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
909 regardless of architecture.
911 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
913 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
914 _WIN32 isn't defined.
916 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
918 * libm/common/s_rint.c (rint): Add volatile qualifier for
919 intermediate value w.
920 * libm/common/sf_rint.c (rintf): Ditto.
922 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
924 * libc/sys/arm/syscalls.c (remap_handle): Added check to
925 ensure that std streams are initialized before being referenced.
927 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
929 * README: Update reference to newlib@cygnus.com new
930 newlib@sourceware.cygnus.com address.
932 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
934 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
935 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
936 defined, even if _WIN32 isn't defined.
938 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
940 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
942 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
944 * libc/include/sys/reent.h: Change Long and ULong to __Long and
946 * libc/stdlib/dtoa.c: Ditto.
947 * libc/stdlib/mprec.c: Ditto.
948 * libc/stdlib/mprec.h: Ditto.
949 * libc/stdlib/strtod.c: Ditto.
951 1999-04-21 Nick Clifton <nickc@cygnus.com>
953 * configure.host (mcore): Remove mcore machine directory.
955 1999-04-18 Nick Clifton <nickc@cygnus.com>
957 * libc/include/machine/ieeefp.h: Add support for mcore target.
958 * libc/include/machine/setjmp.h: Add support for mcore target.
959 * configure.host: Add support for mcore target.
961 1999-04-13 Mark Salter <msalter@cygnus.com>
963 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
964 * libc/sys/arm/syscalls.c: Added isatty.
966 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
968 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
969 insert zeroes after significant digits.
971 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
973 * libc/stdio/vfprintf.c (cvt): Changed floating point
974 cvt routine to use union used by dtoa to properly determine
975 if the sign bit is on or not.
976 * libc/stdio/vfieeefp.h: New file
978 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
980 * aclocal.m4: Regenerated.
981 * configure: Regenerated.
983 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
985 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
987 * libc/machine/i386/Makefile.in: Regenerated.
989 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
991 * acinclude.m4: Changed to work with new automake.
992 * configure: Regenerated.
993 * libc/machine/i386/aclocal.m4: Regenerated.
994 * libc/machine/i386/configure: Regenerated.
996 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
998 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
999 for telldir() and seekdir(). Rename unused structure element
1000 for use with these two routines.
1002 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
1004 * libc/time/mktime.c (validate_structure): Multiple fixes to
1005 code to handle cases where input fields are outside valid ranges.
1006 * libc/stdlib/div.c (div): Modified invalid rounding check.
1007 * libc/stdlib/ldiv.c (ldiv): Ditto.
1009 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
1011 * libc/machine/i386/memcpy.S: Performance rewrite.
1012 * libc/machine/i386/memmove.S: Ditto.
1013 * libc/machine/i386/i386mach.h: Added more register definitions.
1014 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
1016 * libc/include/machine/fastmath.h: Add definitions for x86
1019 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1021 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
1023 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
1025 Adjust newlib headers for new Cygwin Win32 API header files:
1026 * libc/include/sys/time.h: Check _WINSOCK_H rather than
1027 _GNU_H_WINDOWS32_SOCKETS.
1028 * libc/include/sys/types.h: Ditto.
1030 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1032 *include/sys/reent.h: Add checks for size of Bigint element Long.
1033 *libc/dtoa.c: Change routines to use generic Long type.
1034 *libc/mprec.c: Change routines to use generic Long type.
1035 *libc/mprec.h: Change routines to use generic Long type.
1037 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
1039 * libc/Makefile.am: Add .def files.
1040 * libc/Makefile.in: Regenerate.
1041 * libc/e_acosh.c: Documentation update.
1042 * libc/e_atanh.c: Documentation update.
1043 * libc/e_hypot.c: Documentation update.
1044 * libc/e_remainder.c: Documentation update.
1045 * libc/er_lgamma.c: Documentation update.
1046 * libc/mathfp.tex: Documentation update.
1047 * libc/s_acos.c: Documentation update.
1048 * libc/s_atan.c: Documentation update.
1049 * libc/s_atan2.c: Documentation update.
1050 * libc/s_cosh.c: Documentation update.
1051 * libc/s_fmod.c: Documentation update.
1052 * libc/s_isnan.c: Documentation update.
1053 * libc/s_log10.c: Documentation update.
1054 * libc/s_pow.c: Documentation update.
1055 * libc/w_jn.c: Documentation update.
1057 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
1059 * aclocal.m4: Regenerate.
1060 * configure: Regenerate.
1062 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
1064 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
1065 to return 1 if user specified return code is 0.
1066 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
1068 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
1070 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
1071 to save the return address. Fixed longjmp to return to the original
1072 calling address of setjmp and to return the user specified return code
1073 rather than default to 1.
1074 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
1076 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
1078 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
1080 1999-02-10 Nick Clifton <nickc@cygnus.com>
1082 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
1083 volatile so that its assignments will not be discarded.
1085 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
1087 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
1088 be __STRICT_ANSI__ which is generated by compiler.
1089 * libc/include/ctype.h: Ditto.
1090 * libc/include/math.h: Ditto.
1091 * libc/include/stdio.h: Ditto.
1092 * libc/include/stdlib.h: Ditto.
1093 * libc/include/string.h: Ditto.
1094 * libc/include/sys/signal.h: Ditto.
1096 1999-02-08 Nick Clifton <nickc@cygnus.com>
1098 * configure.host: Add support for StrongARM target.
1100 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
1102 * libc/string/strncpy.c (strncpy): Removed redundant code
1103 that was copying bytes if data unaligned.
1105 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
1107 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
1108 mbstowcs.def, and wcstombs.def.
1110 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
1112 * libc/include/sys/errno.h: Add Cygwin errno.
1113 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
1116 1999-01-29 Nick Clifton <nickc@cygnus.com>
1118 * libc/sys/arm/syscalls.c: Move C library functions into seperate
1121 * libc/sys/arm/libcfunc.c: New file containing C library functions
1124 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
1125 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
1128 1999-01-27 Michael Meissner <meissner@cygnus.com>
1130 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
1131 type, and cut size in half so that the jmp_buf array is guaranteed
1132 to be aligned on a 64-bit boundary.
1134 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
1136 * libc/string/strings.tex: Added information about
1137 strcasecmp and strncasecmp.
1138 * libc/stdlib/stdlib.tex: Added missing information
1139 about mblen, mbstowcs, and wcstombs.
1140 * libc/string/strchr.c: Changed how mask is built to use
1141 shift operators so register will be used instead of storage.
1143 1999-01-22 DJ Delorie <dj@cygnus.com>
1145 * libc/include/stdlib.h: don't use dllimport if we're building
1146 newlib, since it's inside cygwin.dll
1148 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
1150 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
1151 _ctype_ under cygwin.
1153 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
1155 * include/stdlib.h: Fix typo from previous checkin.
1157 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
1159 * include/ctype.h: Use __declspec(dllimport) method for exporting
1160 variable from cygwin DLL.
1161 * include/time.h: Ditto.
1162 * sys/errno.h: Ditto.
1163 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
1164 * libc/locale/locale.c: Use __declspec(dllexport) method for
1165 exporting variable from cygwin DLL.
1167 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
1169 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
1170 access of bogus pointer will result in SIGSEGV.
1172 1999-01-07 Nick Clifton <nickc@cygnus.com>
1174 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
1175 of an underscore prefix to function names.
1177 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
1179 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
1180 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
1182 1998-12-31 Michael Meissner <meissner@cygnus.com>
1184 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
1185 to `%' if not already defined.
1187 1998-12-30 Michael Meissner <meissner@cygnus.com>
1189 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
1190 arguments const char *, not char *.
1191 * libc/include/stdio.h (_tempnam_r): Ditto.
1193 * libc/include/sys/reent.h (struct _reent): The _sig_func type
1194 points to a function taking an integer, not void.
1196 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
1198 * configure.host: Add a define for Cygwin builds.
1199 * libc/include/ctype.h: Don't use dll imported variables in newlib.
1201 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
1203 * libc/include/ctype.h: Define _ctype_ as dll imported variable
1204 for use with Cygwin.
1205 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
1206 dll imported variables for use with Cygwin.
1207 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
1208 as a dll imported variable for Cygwin.
1210 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
1212 * libc/include/sys/unistd.h: Add proto for getpass.
1214 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
1216 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
1219 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
1221 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
1222 not posix_path_list_p.
1224 1998-12-15 Nick Clifton <nickc@cygnus.com>
1226 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
1229 1998-12-13 Nick Clifton <nickc@cygnus.com>
1231 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
1233 1998-12-12 Nick Clifton <nickc@cygnus.com>
1235 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
1236 <msalter@cygnus.com>
1237 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
1238 * libc/machine/fr30/Makefile.in: Regenerated.
1240 1998-12-11 Nick Clifton <nickc@cygnus.com>
1242 * configure.host: Remove use of libc/sys for FR30 port.
1243 * libc/sys/fr30: Remove directory (replaced by libgloss).
1245 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
1247 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
1248 * libc/string/strncat.c (ALIGNED): Ditto.
1250 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
1252 * libc/include/sys/time.h: include sys/types.h
1254 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
1256 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
1257 comparison found when checking word at a time.
1259 1998-12-04 Nick Clifton <nickc@cygnus.com>
1261 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
1263 1998-12-03 Nick Clifton <nickc@cygnus.com>
1265 * libc/sys/fr30/syscalls.c (_times): New function stub.
1267 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1269 * configure.host (mach_add_setjmp): Replaced mach_add_objs
1270 with mach_add_setjmp flag which indicates if setjmp should
1271 be added to the machine directory objects.
1272 * acinclude.m4: Removed reference to mach_add_objs.
1273 * aclocal.m4: Regenerated.
1274 * Makefile.in: Regenerated.
1275 * configure: Regenerated.
1276 * libc/aclocal.m4: Regenerated.
1277 * libc/Makefile.in: Regenerated.
1278 * libc/configure: Regenerated.
1279 * libc/machine/aclocal.m4: Regenerated.
1280 * libc/machine/Makefile.in: Regenerated.
1281 * libc/machine/configure: Regenerated.
1282 * libc/machine/i386/aclocal.m4: Regenerated.
1283 * libc/machine/i386/Makefile.am: Altered to selectively add
1284 setjmp.S to the src files list.
1285 * libc/machine/i386/Makefile.in: Regenerated.
1286 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
1287 * libc/machine/i386/configure: Regenerated.
1289 1998-12-02 Nick Clifton <nickc@cygnus.com>
1291 * libc/sys/fr30/crt0.s (_start): Fix function names.
1293 * libc/machine/fr30: New directory
1294 * libc/machine/fr30/Makefile.am: New file.
1295 * libc/machine/fr30/Makefile.in: New generated file.
1296 * libc/machine/fr30/configure.in: New file.
1297 * libc/machine/fr30/configure: New generated file.
1298 * libc/machine/fr30/aclocal.m4: New generated file.
1299 * libc/sys/fr30/Makefile.am: New file.
1300 * libc/sys/fr30/Makefile.in: New generated file.
1301 * libc/sys/fr30/configure.in: New file.
1302 * libc/sys/fr30/configure: New generated file.
1303 * libc/sys/fr30/syscalls.c: New file.
1305 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
1307 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
1309 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
1311 * libc/time/strftime.c (strftime): Also handle %y for years before
1314 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
1316 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
1317 UNIX convention. Perform tolower on characters before comparing
1318 them rather than use toupper.
1319 * libc/string/strncasecmp.c (strncasecmp): Ditto.
1321 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1323 * configure.host: Added using i386 machine directory
1324 for all x86 cross-compiler and configuring
1325 which added object files to use via new "mach_add_objs" variable.
1326 * configure: Regenerated.
1327 * libc/configure: Regenerated.
1328 * libc/Makefile.in: Regenerated.
1329 * libc/aclocal.m4: Regenerated.
1330 * libc/ctype/Makefile.in: Regenerated.
1331 * libc/errno/Makefile.in: Regenerated.
1332 * libc/locale/Makefile.in: Regenerated.
1333 * libc/machine/Makefile.in: Regenerated.
1334 * libc/machine/aclocal.m4: Regenerated.
1335 * libc/machine/configure: Regenerated.
1336 * libc/posix/Makefile.in: Regenerated.
1337 * libc/reent/Makefile.in: Regenerated.
1338 * libc/signal/Makefile.in: Regenerated.
1339 * libc/stdio/Makefile.in: Regenerated.
1340 * libc/stdlib/Makefile.in: Regenerated.
1341 * libc/string/Makefile.in: Regenerated.
1342 * libc/string/memmove.c: Optimized code to use memcpy
1343 logic when performing a non-destructive copy.
1344 * libc/string/strncmp.c: Altered code to allow building
1345 optimized for size or speed.
1346 * libc/syscalls/Makefile.in: Regenerated.
1347 * libc/time/Makefile.in: Regenerated.
1348 * libc/unix/Makefile.in: Regenerated.
1349 * libc/machine/i386/Makefile.am: Added new files and reference
1350 to "mach_add_objs" to indicate optional object files.
1351 * libc/machine/i386/Makefile.in: Regenerated.
1352 * libc/machine/i386/aclocal.m4: Regenerated.
1353 * libc/machine/i386/configure: Regenerated.
1354 * libc/machine/i386/memchr.S: New file that implements
1355 function in Intel assembler.
1356 * libc/machine/i386/memcmp.S: ditto.
1357 * libc/machine/i386/memcpy.S: ditto.
1358 * libc/machine/i386/memmove.S: ditto.
1359 * libc/machine/i386/memset.S: ditto.
1360 * libc/machine/i386/strchr.S: ditto.
1361 * libc/machine/i386/strlen.S: ditto.
1362 * libc/machine/i386/f_atan2.S: New file that implements
1363 fast version of math function to be used by compiler when
1364 --ffast_math compile option is used.
1365 * libc/machine/i386/f_atan2f.S: ditto.
1366 * libc/machine/i386/f_exp.c: ditto.
1367 * libc/machine/i386/f_expf.c: ditto.
1368 * libc/machine/i386/f_frexp.S: ditto.
1369 * libc/machine/i386/f_frexpf.S: ditto.
1370 * libc/machine/i386/f_ldexp.S: ditto.
1371 * libc/machine/i386/f_ldexpf.S: ditto.
1372 * libc/machine/i386/f_log.S: ditto.
1373 * libc/machine/i386/f_logf.S: ditto.
1374 * libc/machine/i386/f_log10.S: ditto.
1375 * libc/machine/i386/f_log10f.S: ditto.
1376 * libc/machine/i386/f_math.h: New file.
1377 * libc/machine/i386/f_pow.c: ditto.
1378 * libc/machine/i386/f_powf.S: ditto.
1379 * libc/machine/i386/f_tan.S: ditto.
1380 * libc/machine/i386/f_tan.S: ditto.
1381 * libc/machine/i386/i386mach.h: New file.
1383 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
1385 patch from Mumit Khan <khan@xraylith.wisc.edu>
1386 * libc/include/stdio.h (tempnam): Add prototype.
1387 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
1388 (tempnam): Adhere to prototype.
1390 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
1392 * Makefile.am: Add default for AR_FLAGS.
1393 * Makefile.in: Regenerate.
1395 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
1397 * libc/include/time.h: move __cplusplus wrapper after includes
1398 * libc/include/sys/time.h: ditto. If Cygwin, include
1400 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
1402 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
1404 * libc/time/strftime.c (strftime): Handle %y after year 2000.
1406 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
1408 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
1409 abnormnal end-of-crt0 marker.
1411 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
1413 * libc/sys/fr30/crt0.s: New file/directory.
1414 * libc/include/machine/setjmp.h: Add FR30 target.
1415 * libc/include/machine/ieeefp.h: Add FR30 target.
1416 * configure.host: Add FR30 target.
1418 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1420 * libm/math: Files that are duplicated in common directory removed.
1421 * libm/math/fdlibm.h: Removed.
1422 * libm/math/s_cbrt.c: Removed.
1423 * libm/math/s_copysign.c: Removed.
1424 * libm/math/s_expm1.c: Removed.
1425 * libm/math/s_finite.c: Removed.
1426 * libm/math/s_ilogb.c: Removed.
1427 * libm/math/s_infinity.c: Removed.
1428 * libm/math/s_lib_ver.c: Removed.
1429 * libm/math/s_log1p.c: Removed.
1430 * libm/math/s_logb.c: Removed.
1431 * libm/math/s_matherr.c: Removed.
1432 * libm/math/s_modf.c: Removed.
1433 * libm/math/s_nan.c: Removed.
1434 * libm/math/s_nextafter.c: Removed.
1435 * libm/math/s_rint.c: Removed.
1436 * libm/math/s_scalbn.c: Removed.
1437 * libm/math/sf_cbrt.c: Removed.
1438 * libm/math/sf_copysign.c: Removed.
1439 * libm/math/sf_expm1.c: Removed.
1440 * libm/math/sf_finite.c: Removed.
1441 * libm/math/sf_ilogb.c: Removed.
1442 * libm/math/sf_infinity.c: Removed.
1443 * libm/math/sf_log1p.c: Removed.
1444 * libm/math/sf_logb.c: Removed.
1445 * libm/math/sf_modf.c: Removed.
1446 * libm/math/sf_nan.c: Removed.
1447 * libm/math/sf_nextafter.c: Removed.
1448 * libm/math/sf_rint.c: Removed.
1449 * libm/math/sf_scalbn.c: Removed.
1450 * libm/math/Makefile.am: Removed references to deleted files (above).
1451 * libm/math/Makefile.in: Regenerated.
1452 * libm/Makefile.am: Added common directory to math.
1453 * libm/Makefile.in: Regenerated.
1455 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1457 * libm/mathfp: Add non-ANSI functions.
1458 * libm/mathfp/e_acosh.c acosh(): New file.
1459 * libm/mathfp/e_atanh.c atanh(): New file.
1460 * libm/mathfp/e_hypot.c hypot(): New file.
1461 * libm/mathfp/e_j0.c j0(): New file.
1462 * libm/mathfp/e_j1.c j1(): New file.
1463 * libm/mathfp/e_remainder.c remainder(): New file.
1464 * libm/mathfp/e_scalb.c scalb(): New file.
1465 * libm/mathfp/ef_acosh.c acoshf(): New file.
1466 * libm/mathfp/ef_atanh.c atanhf(): New file.
1467 * libm/mathfp/ef_hypot.c hypotf(): New file.
1468 * libm/mathfp/ef_j0.c j0f(): New file.
1469 * libm/mathfp/ef_j1.c j1f(): New file.
1470 * libm/mathfp/ef_remainder.c remainderf(): New file.
1471 * libm/mathfp/ef_scalb.c scalbf(): New file.
1472 * libm/mathfp/er_gamma.c gamma_r: New file.
1473 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
1474 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
1475 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
1476 * libm/mathfp/w_cabs.c cabs(): New file.
1477 * libm/mathfp/w_drem.c drem(): New file.
1478 * libm/mathfp/w_jn.c jn(): New file.
1479 * libm/mathfp/wf_cabs.c cabsf(): New file.
1480 * libm/mathfp/wf_drem.c dremf(): New file.
1481 * libm/mathfp/wf_jn.c jnf(): New file.
1483 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
1485 * libc/sys/cygwin32: remove directory and contents
1486 * libc/sys/cygwin: and add back, losing the "32".
1487 * configure.host: check for cygwin* instead of cygwin32.
1488 * acinclude.m4: ditto.
1489 * aclocal.m4: regenerate with aclocal
1490 * configure: regenerate with autoconf
1492 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
1494 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
1497 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1499 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
1500 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
1501 to make rand/srand, strtok, asctime, localtime, w_gamma,
1502 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
1503 time.h to bring in struct tm definition.
1504 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
1505 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
1506 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
1507 instead of static variable.
1508 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
1509 struct reent instead of static variable.
1510 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
1511 struct reent instead of static variable.
1512 * libm/math/Makefile.am: Removed s_signgam.o.
1513 * libm/math/Makefile.in: Regenerated.
1514 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
1515 struct reent instead of global variable 'signgam'.
1516 * libm/math/w_lgamma.c (lgamma): Likewise.
1517 * libm/math/wf_gamma.c (gammaf): Likewise.
1518 * libm/math/wf_lgamma.c (lgammaf): Likewise.
1519 * libm/math/s_signgam.c: Removed.
1520 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
1522 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
1524 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
1525 libc/include/reent.h.
1526 * libc/reent/Makefile.in: Regenerated.
1527 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
1529 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
1530 'JIS_action_table' to be const.
1531 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
1533 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
1535 * acinclude.m4: $with_target_subdir should default to '.'
1536 or confusion results when configuring in same directory as sources.
1537 * Regenerate all aclocal.m4 and configure files.
1539 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
1541 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
1542 can be set by defining MALLOC_ALIGNMENT=16. Also added support
1543 for platforms where sizeof(size_t) < sizeof(long) via
1544 SIZE_T_SMALLER_THAN_LONG macro.
1546 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
1548 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
1549 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
1550 which sets _CLOCKS_PER_SEC_ for selected machines.
1551 * libc/include/machine/time.h: New file.
1553 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1555 * libc/syscalls/sysexecve.c: New file.
1556 * libc/syscalls/sysgettod.c: New file.
1557 * libc/syscalls/systimes.c: New file.
1558 * libc/syscalls/Makefile.am: Added new objects.
1559 * libc/syscalls/Makefile.in: Regenerated.
1560 * libc/include/_syslist.h (_execve): Moved define in file.
1561 * libc/include/reent.h: Added _execve_r declaration.
1562 * libc/Makefile.in: Regenerated.
1563 * libc/ctype/Makefile.in: Regenerated.
1564 * libc/errno/Makefile.in: Regenerated.
1565 * libc/locale/Makefile.in: Regenerated.
1566 * libc/machine/Makefile.in: Regenerated.
1567 * libc/misc/Makefile.in: Regenerated.
1568 * libc/posix/Makefile.in: Regenerated.
1569 * libc/reent/Makefile.in: Regenerated.
1570 * libc/reent/execr.c (_execve_r): Added _execve_r function.
1571 * libc/signal/Makefile.in: Regenerated.
1572 * libc/stdio/Makefile.in: Regenerated.
1573 * libc/time/Makefile.in: Regenerated.
1574 * libc/unix/Makefile.in: Regenerated.
1575 * libm/mathfp/Makefile.in: Regenerated.
1577 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1579 * libc/string/Makefile.in: Regenerated.
1580 * libc/string/memchr.c (memchr): Moved code to reduce object size.
1581 * libc/string/memcpy.c (memcpy): Ditto.
1582 * libc/string/memcmp.c (memcmp): Ditto.
1583 * libc/string/memset.c (memset): Ditto.
1584 * libc/string/strchr.c (strchr): Ditto.
1585 * libc/string/strcmp.c (strcmp): Ditto.
1586 * libc/string/strcpy.c (strcpy): Ditto.
1587 * libc/string/strlen.c (strlen): Ditto.
1589 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1591 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1592 to generate aclocal.m4.
1593 * libm/Makefile.in: Regenerated.
1594 * libm/aclocal.m4: Regenerated.
1595 * libm/configure: Regenerated.
1596 * libm/math/Makefile.in: Regenerated.
1597 * libm/mathfp/Makefile.in: Regenerated.
1599 1998-09-25 Mark Salter <msalter@cygnus.com>
1601 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1602 by adding leading and trailing underscores to symbol names.
1604 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
1606 * Makefile.in: Add default for AR_FLAGS.
1608 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
1610 patch from ian@airs.com (Ian Taylor):
1611 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1612 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1613 is needed for detecting the build machine. Required for
1614 cygwin native builds.
1616 * Regenerate all aclocal.m4 and configure files.
1618 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
1620 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
1621 used to start with LC.
1623 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1625 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
1626 (longjmp): Likewise.
1628 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1630 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
1631 the test for small number of bytes.
1633 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1635 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
1636 math library that uses floating point algorithms instead of the old
1638 * Makefile.in: Regenerate with automake version 1.3b.
1639 * configure: Rebuild.
1640 * libm/Makefile.in: Regenerate with automake version 1.3b.
1641 * libm/aclocal.m4: Regenerate.
1642 * libm/configure: Rebuild.
1643 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
1644 * libm/acinclude.m4: Define macros for configure.in.
1645 * libm/config.h.in: Generate.
1646 * libm/mathfp/Makefile.am: New file.
1647 * libm/mathfp/Makefile.in: Generate.
1648 * libm/mathfp/s_acos.c (acos): New file.
1649 * libm/mathfp/s_asin.c (asin): New file.
1650 * libm/mathfp/s_asine.c (asine): New file.
1651 * libm/mathfp/s_atan.c (atan): New file.
1652 * libm/mathfp/s_atan2.c (atan2): New file.
1653 * libm/mathfp/s_atangent.c (atangent): New file.
1654 * libm/mathfp/s_ceil.c (ceil): New file.
1655 * libm/mathfp/s_copysign.c (copysign): New file.
1656 * libm/mathfp/s_cos.c (cos): New file.
1657 * libm/mathfp/s_cosh.c (cosh): New file.
1658 * libm/mathfp/s_exp.c (exp): New file.
1659 * libm/mathfp/s_fabs.c (fabs): New file.
1660 * libm/mathfp/s_finite.c (finite): New file.
1661 * libm/mathfp/s_floor.c (floor): New file.
1662 * libm/mathfp/s_fmod.c (fmod): New file.
1663 * libm/mathfp/s_frexp.c (frexp): New file.
1664 * libm/mathfp/s_infconst.c: New file.
1665 * libm/mathfp/s_isinf (isinf).c: New file.
1666 * libm/mathfp/s_isnan.c (isnan): New file.
1667 * libm/mathfp/s_ispos.c (ispos): New file.
1668 * libm/mathfp/s_ldexp.c (ldexp): New file.
1669 * libm/mathfp/s_log.c (log): New file.
1670 * libm/mathfp/s_log10.c (log10): New file.
1671 * libm/mathfp/s_logarithm.c (logarithm): New file.
1672 * libm/mathfp/s_mathcnst.c: New file.
1673 * libm/mathfp/s_modf (modf).c: New file.
1674 * libm/mathfp/s_numtest.c (numtest): New file.
1675 * libm/mathfp/s_pow.c (pow): New file.
1676 * libm/mathfp/s_scalbn.c (scalbn): New file.
1677 * libm/mathfp/s_sin (sin).c: New file.
1678 * libm/mathfp/s_sine.c (sine): New file.
1679 * libm/mathfp/s_sineh.c (sineh): New file.
1680 * libm/mathfp/s_sinf.c (sinf): New file.
1681 * libm/mathfp/s_sinh.c (sinh): New file.
1682 * libm/mathfp/s_sqrt.c (sqrt): New file.
1683 * libm/mathfp/s_tan.c (tan): New file.
1684 * libm/mathfp/s_tanh.c (tanh): New file.
1685 * libm/mathfp/sf_acos.c (acosf): New file.
1686 * libm/mathfp/sf_asin.c (asinf): New file.
1687 * libm/mathfp/sf_asine.c (asinef): New file.
1688 * libm/mathfp/sf_atan.c (atanf): New file.
1689 * libm/mathfp/sf_atan2.c (atan2f): New file.
1690 * libm/mathfp/sf_atangent.c (atangent): New file.
1691 * libm/mathfp/sf_ceil.c (ceilf): New file.
1692 * libm/mathfp/sf_copysign.c (copysignf): New file.
1693 * libm/mathfp/sf_cos.c (cosf): New file.
1694 * libm/mathfp/sf_cosh.c (coshf): New file.
1695 * libm/mathfp/sf_exp.c (expf): New file.
1696 * libm/mathfp/sf_fabs.c (fabsf): New file.
1697 * libm/mathfp/sf_finite.c (finitef): New file.
1698 * libm/mathfp/sf_floor.c (floorf): New file.
1699 * libm/mathfp/sf_fmod.c (fmodf): New file.
1700 * libm/mathfp/sf_frexp.c (frexpf): New file.
1701 * libm/mathfp/sf_isinf.c (isinff): New file.
1702 * libm/mathfp/sf_isnan.c (isnanf): New file.
1703 * libm/mathfp/sf_ispos.c (isposf): New file.
1704 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
1705 * libm/mathfp/sf_log.c (logf): New file.
1706 * libm/mathfp/sf_log10.c (log10f): New file.
1707 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
1708 * libm/mathfp/sf_modf.c (modff): New file.
1709 * libm/mathfp/sf_numtest.c (numtestf): New file.
1710 * libm/mathfp/sf_pow.c (powf): New file.
1711 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
1712 * libm/mathfp/sf_sin.c (sinf): New file.
1713 * libm/mathfp/sf_sine.c (sinef): New file.
1714 * libm/mathfp/sf_sineh.c (sinehf): New file.
1715 * libm/mathfp/sf_sinh.c (sinhf): New file.
1716 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
1717 * libm/mathfp/sf_tan.c (tanf): New file.
1718 * libm/mathfp/sf_tanh.c (tanhf): New file.
1719 * libm/mathfp/zmath.h: New file.
1721 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1723 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
1724 exit if it has been overwritten by pre-fetching in delay slot.
1726 1998-09-01 Michael Meissner <meissner@cygnus.com>
1728 * Makefile.am (tooldir): Add in host_alias, so that multilib
1729 libraries are installed in the directory the compiler looks in.
1730 * Makefile.in: Regenerate.
1732 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
1734 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
1736 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
1737 ahead of test for number of bytes being moved.
1739 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
1741 * libc/include/sys/unistd.h: Nothing special needed for
1744 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
1746 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
1747 conform to user label naming conventions.
1749 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
1751 * libc/sys/cygwin32/sys/utime.h: variable names in
1752 protos should start with two leading underscores
1753 * libc/include/string.h: ditto
1754 * libc/include/sys/signal.h: ditto
1755 * libc/include/sys/stat.h: ditto
1756 * libc/include/sys/time.h: ditto
1757 * libc/include/sys/unistd.h: ditto
1758 * libc/include/ctype.h: ditto
1759 * libc/include/stdlib.h: ditto
1760 * libc/include/sys/reent.h: struct _atexit function ptr takes a
1761 void, same with _sig_func.
1763 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
1765 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
1766 for MB_CAPABLE to reduce code size when newlib is not configured
1767 with --enable-newlib-mb.
1768 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
1769 mbtowc_r.o to minimize size.
1770 * libc/stdlib/Makefile.in: Rebuild.
1772 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
1774 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
1776 * libc/sys/sparc64/Makefile.in: Rebuild.
1778 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
1780 * Makefile.am (MAKEOVERRIDES): Define.
1781 * Makefile.in: Rebuild.
1783 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
1785 * libc/sys/sparc64/sys/stat.h (stat): Add const.
1787 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
1789 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
1790 newlib_cflags when looking for targ-include.
1791 * */aclocal.m4, */configure: Rebuild.
1793 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
1795 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
1798 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
1800 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
1801 on SPARCs with little-endian data.
1802 * libc/include/machine/ieeefp.h: Ditto.
1804 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
1806 * acinclude.m4: Handle a relative srcdir correctly when setting
1808 * */aclocal.m4, */configure: Rebuild.
1810 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
1812 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
1813 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
1814 * libm/math/wrf_gamma.c (gammaf_r): ditto
1815 * libm/math/wr_lgamma.c (lgamma_r): ditto
1816 * libm/math/wr_gamma.c (gamma_r): ditto
1817 * libm/math/wf_sqrt.c (sqrtf): ditto
1818 * libm/math/wf_sinh.c (sinhf): ditto
1819 * libm/math/wf_scalb.c (scalbf): ditto
1820 * libm/math/wf_remainder.c (remainderf): ditto
1821 * libm/math/wf_pow.c (powf): ditto
1822 * libm/math/wf_log10.c (log10f): ditto
1823 * libm/math/wf_log.c (logf): ditto
1824 * libm/math/wf_lgamma.c (lgammaf): ditto
1825 * libm/math/wf_jn.c (jnf, ynf): ditto
1826 * libm/math/wf_j1.c (j1f, y1f): ditto
1827 * libm/math/wf_j0.c (j0f, y0f): ditto
1828 * libm/math/wf_hypot.c (hypotf): ditto
1829 * libm/math/wf_gamma.c (gammaf): ditto
1830 * libm/math/wf_fmod.c (fmodf): ditto
1831 * libm/math/wf_exp.c (expf): ditto
1832 * libm/math/wf_cosh.c (coshf): ditto
1833 * libm/math/wf_atanh.c (atanhf): ditto
1834 * libm/math/wf_atan2f.c (atan2f): ditto
1835 * libm/math/wf_asin.c (asinf): ditto
1836 * libm/math/wf_acosh.c (acoshf): ditto
1837 * libm/math/wf_acos.c (acosf): ditto
1838 * libm/math/w_sqrt.c (sqrt): ditto
1839 * libm/math/w_sinh.c (sinh): ditto
1840 * libm/math/w_scalb.c (scalb): ditto
1841 * libm/math/w_remainder.c (remainder): ditto
1842 * libm/math/w_pow.c (pow): ditto
1843 * libm/math/w_log10.c (log10): ditto
1844 * libm/math/w_log.c (log): ditto
1845 * libm/math/w_lgamma.c (lgamma): ditto
1846 * libm/math/w_jn.c (jn, yn): ditto
1847 * libm/math/w_j1.c (j1, y1): ditto
1848 * libm/math/w_j0.c (j0, y0): ditto
1849 * libm/math/w_hypot.c (hypot): ditto
1850 * libm/math/w_gamma.c (gamma): ditto
1851 * libm/math/w_fmod.c (fmod): ditto
1852 * libm/math/w_exp.c (exp): ditto
1853 * libm/math/w_cosh.c (cosh): ditto
1854 * libm/math/w_atanh.c (atanh): ditto
1855 * libm/math/w_atan2f.c (atan2): ditto
1856 * libm/math/w_asin.c (asin): ditto
1857 * libm/math/w_acosh.c (acosh): ditto
1858 * libm/math/w_acos.c (acos): ditto
1860 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
1862 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
1863 (fsrc): Add wf_cabs.c and wf_drem.c.
1864 * libm/math/Makefile.in: Rebuild.
1866 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
1867 unused directory variables. Remove duplicate CFLAGS.
1868 * Makefile.in: Rebuild.
1870 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
1871 with $(CC_FOR_BUILD).
1872 (makedoc.o): Likewise.
1873 * doc/Makefile.in: Rebuild.
1875 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
1876 force a definition of COMPILE.
1877 (libfoo_a_SOURCES): Define.
1878 * libc/sys/cygwin32/Makefile.in: Rebuild.
1879 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
1880 force a definition of COMPILE.
1881 (libfoo_a_SOURCES): Define.
1882 * libc/sys/tic80/Makefile.in: Rebuild.
1884 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
1886 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
1889 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
1891 * Build using autoconf and automake. Added many Makefile.am and
1892 configure.in files, plus generated files. Old configure.in files
1893 and all old Makefile.in files completely replaced. Removed
1894 host/any. Added acinclude.m4 and configure.host.
1896 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
1898 * libc/stdio/vfprintf.c: enable long long support, sometimes.
1899 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
1901 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1903 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
1904 * libc/machine/sh/Makefile.in: Add rules for new files.
1906 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1908 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
1909 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
1910 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
1912 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
1914 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
1917 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
1919 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
1920 internal static buffer when s is NULL, as prescribed by ANSI.
1922 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
1924 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
1926 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
1927 libc/stdlib will be used for h8300hms.
1929 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1931 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
1932 version that can be built either for speed or size.
1933 * libc/machine/mn10300/memset.S (_memset): ditto
1934 * libc/machine/mn10300/memchr.S (_memchr): ditto
1935 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
1936 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
1937 * libc/machine/mn10300/strchr.S (_strchr): ditto
1938 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
1939 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
1940 * libc/machine/mn10300/Makefile.in: Added entries for
1941 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
1942 strcmp.o, strcpy.o, and strlen.o.
1944 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
1946 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
1947 been replaced with libgloss/mn10200.
1949 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
1951 * libc/string/strchr.c (strchr): Make s a constant pointer to
1954 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
1956 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
1957 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
1958 board SWIs instead of Demon board SWIs).
1960 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
1962 * libc/string/strncat.c (strncat): Make -Os act the same as
1963 PREFER_SIZE_OVER_SPEED being defined.
1965 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
1967 * libc/string/memchr.c (memchr): Make -Os act the same as
1968 PREFER_SIZE_OVER_SPEED being defined.
1969 * libc/string/memcmp.c (memcmp): Ditto.
1970 * libc/string/memcpy.c (memcpy): Ditto.
1971 * libc/string/memset.c (memset): Ditto.
1972 * libc/string/strcat.c (strcat): Ditto.
1973 * libc/string/strchr.c (strchr): Ditto.
1974 * libc/string/strcmp.c (strcmp): Ditto.
1975 * libc/string/strcpy.c (strcpy): Ditto.
1976 * libc/string/strlen.c (strlen): Ditto.
1977 * libc/string/strncat.c (strncat): Ditto.
1978 * libc/string/strncmp.c (strncmp): Ditto.
1979 * libc/string/strncpy.c (strncpy): Ditto.
1981 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
1983 * libc/include/sys/itimer.h: remove
1984 * libc/include/sys/time.h: itimer stuff should be here
1986 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
1988 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
1989 bit instead of comparing to 0 so -0.0 can be printed correctly.
1991 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1993 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
1995 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
1997 * libc/include/sys/unistd.h: fix sync() proto
1998 * libc/include/sys/fcntl.h: remove _close which is already
1999 defined in unistd.h.
2000 * libc/include/sys/time.h: add getitimer proto
2002 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
2004 * libc/string/strchr.c: convert arg to unsigned char
2005 * libc/include/stdlib.h: add protos for random, srandom
2006 * libc/include/sys/stat.h: add lstat proto
2007 * libc/include/sys/time.h: add setitimer proto
2008 * libc/include/sys/unistd.h: add readlink, symlink protos
2009 * libc/include/process.h: instead of including windows.h and using
2010 HANDLEs in sexec protos, just use void *s. Need to include
2013 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
2015 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
2017 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
2019 * libc/include/process.h: add secure exec protos
2021 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
2023 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
2024 which are accessed as both doubles and integers.
2025 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
2026 * libc/stdlib/strtod.c (_strtod_r): Likewise.
2027 * libc/stdlib/mprec.h: Add "union double_union" and change
2028 word0/word1 macros to use it.
2030 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
2032 * libc/include/sys/signal.h: add __cplusplus wrapper
2034 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
2036 * libc/include/sys/utime.h: new generic file that gets replaced by
2037 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
2039 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
2040 * libc/include/time.h: remove duplicate utime proto
2041 * libc/include/utime.h: add comment
2043 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
2045 * libc/include/sys/time.h: Add missing include to
2046 allow use of _EXFUN. Remove times function that is
2047 already defined in times.h.
2049 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
2051 * libc/include/time.h: Fix typo in tzset.
2053 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
2055 * libc/include/sys/time.h: add missing Cygwin32 function protos
2056 * libc/include/sys/unistd.h: ditto
2057 * libc/include/time.h: ditto
2059 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
2061 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
2063 * libc/include/sys/types.h: add a new __MS_types__ section
2064 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
2065 __BIT_TYPES_DEFINED__.
2067 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
2069 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
2070 since it overrides the one in libc/include/sys. Also, start
2073 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
2075 * libm/math/Makefile.in: add s_signgam.o to obj list
2077 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
2079 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
2081 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
2083 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
2084 so don't use defines.
2086 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
2088 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
2090 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
2092 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
2093 _current_locale as default locale.
2095 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
2097 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
2098 insufficient space in a chunk.
2100 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
2102 * configure.in (links): Added check for --enable-newlib-mb configure
2103 option which defines the MB_CAPABLE macro.
2104 * libc/locale/locale.c (_setlocale_r): Added support for setting
2105 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
2107 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
2108 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
2109 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
2110 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
2111 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
2112 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
2113 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
2114 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
2115 * libc/stdlib/Makefile.in: Added new multibyte
2116 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
2117 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
2118 _mbstowcs_r(), and _wcstombs_r().
2119 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
2120 for JIS, SJIS, and EUC-JP characters.
2121 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
2123 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
2125 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
2127 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
2128 if MB_CAPABLE defined.
2129 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
2130 if MB_CAPABLE defined.
2131 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
2132 to the format string processing when MB_CAPABLE.
2133 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
2136 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
2138 The following modifications are courtesy of Anthony Thompson,
2139 athompson@cambridge.arm.com:
2140 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
2141 boith RDI and RDP monitors.
2142 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
2143 RDI and RDP monitors.
2145 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
2147 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
2148 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
2149 (_swiopen): Fixed open flags to treat write with append as just append.
2150 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
2151 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
2153 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2155 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
2156 When needing to transfer an initial 2-byte-word, store as
2159 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2161 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
2163 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
2164 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
2166 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
2168 * configure.in (target_cflags): If --enable-target-optspace, use
2169 -Os to compile newlib rather than -O2. Default to using -Os for
2170 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
2173 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
2175 * libc/include/machine/setjmp.h: change sigsetjmp and
2176 siglongjmp definitions to use an array instead of a struct
2179 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
2181 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
2183 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
2185 * libc/string/strxfrm.c: fix to get correct return value
2187 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
2189 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
2190 builds. Make mode change labels global so that they will be seen
2193 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
2195 * configure.in (links): Do not use ARM debiugging protocols for PE
2198 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
2201 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2203 * libc/stdio/findfp.c (__sinit): Made stdout default to
2204 line buffered mode as defined by ANSI.
2206 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
2208 * libc/include/sys/itimer.h: New file.
2210 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
2212 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2214 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
2217 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
2219 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
2222 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
2224 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
2226 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
2228 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
2231 * libc/include/machine/setjmp.h: Add D30V support.
2233 * configure.in (d30v-*): Add d30v machine directory.
2235 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
2237 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
2238 been replaced with libgloss/mn10300.
2240 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
2242 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
2243 it is no longer needed.
2245 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2247 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
2249 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
2251 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
2252 the file when O_APPEND is set, wherever the EOF happens to be at
2255 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
2257 patch from cgf@bbc.com (Christopher Faylor):
2258 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
2259 convention of closing fp prior to attempting to open the file
2260 argument. This allows correct operation when reopening
2261 stdin/stdout/stderr. Replaces last freopen.c patch.
2263 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
2265 patch from cgf@bbc.com (Christopher Faylor):
2266 * libc/stdio/freopen.c: freopen was not preserving the fd
2267 of the stream being operated on. This confuses programs that
2268 expect that the handles for stdout and stderr will be 1 and 2.
2270 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
2272 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
2274 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
2276 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
2278 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
2280 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
2281 altered to not use a branch. Also added hint that last
2282 bclr in longjmp will likely result in branch.
2285 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
2287 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
2289 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
2291 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
2294 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
2296 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
2298 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
2299 that loads FR14 to specify offset of 8 rather than 4
2300 so it loads from offset 96 (where setjmp stored it).
2302 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2304 * libc/machine/sh/memcpy.S: (_memcpy): Update to
2305 latest version supplied by customer.
2306 * libc/machine/sh/memset.S (_memset): Ditto.
2308 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
2310 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
2313 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
2315 * libc/include/string.h: remove redefinition of ffs
2317 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
2319 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
2322 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2324 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
2325 TI Libraries to link to libc.a
2327 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
2329 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
2330 * libc/include/sys/stat.h (_{,f}stat): Ditto.
2331 * libc/include/sys/wait.h (_wait): Ditto.
2332 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
2333 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
2335 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
2337 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
2338 minded stabs so function name shows up when running the simulator
2340 * libc/sys/d10v/{crt0,trap}.S: Ditto.
2342 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
2344 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
2345 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
2346 Use R5 where we used to use R3.
2348 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
2350 * libc/stdlib/getopt.c (getopt): replaced __progname
2351 with nargv[0] to improve portability to imbedded systems.
2353 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
2355 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
2356 patch supplied by Tont.Thompson@arm.com to fix the creation of the
2359 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
2361 * libc/stdio/tmpnam.c (worker): Generate a different file name
2364 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
2365 fails, try an execlp for sh.
2367 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
2368 option for the winsup include directory.
2370 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
2372 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
2373 debugging interface from Tony.Thompson@arm.com.
2375 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
2376 * libc/sys/arm/swi.h: ditto.
2378 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2380 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
2381 DIR struct used for readdir hashes.
2383 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
2385 * libc/string/strchr.c: Use "unsigned chars" as necessary.
2387 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
2389 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
2392 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
2394 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
2395 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
2396 * libc/include/malloc.h: Add extern "C" if __cplusplus.
2397 (__malloc_copy): Declare.
2399 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
2401 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
2403 (POINTER_UINT): Define.
2404 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
2405 (MALLOC_ALIGNMENT): Don't define if already defined.
2406 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
2409 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
2411 * libc/string/memset.c (memset): Fiddle with code so that the long
2412 value being stored is not a stack value. Unroll storing longs 4
2415 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
2417 * Reduce code size for libm modules.
2418 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
2419 and simply move code into sqrt.
2420 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
2421 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
2422 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
2423 * libm/math/wr_gamma.c (gamma_r): Likewise.
2424 * libm/math/wf_sinh.c (sinfh): Likewise.
2425 * libm/math/w_sinh.c (sinh): Likewise.
2426 * libm/math/wf_scalb.c (scalbf): Likewise.
2427 * libm/math/w_scalb.c (scalb): Likewise.
2428 * libm/math/wf_remainder.c (remainderf): Likewise.
2429 * libm/math/w_remainder.c (remainder): Likewise.
2430 * libm/math/wf_pow.c (powf): Likewise.
2431 * libm/math/w_pow.c (pow): Likewise.
2432 * libm/math/wf_log10.c (log10f): Likewise.
2433 * libm/math/w_log10.c (log10): Likewise.
2434 * libm/math/wf_log.c (logf): Likewise.
2435 * libm/math/w_log.c (log): Likewise.
2436 * libm/math/w_lgamma.c (lgamma): Likewise.
2437 * libm/math/wf_lgamma.c (lgammaf): Likewise.
2438 * libm/math/wf_jn.c (jnf): Likewise.
2439 * libm/math/w_jn.c (jn): Likewise.
2440 * libm/math/wf_j1.c (j1f): Likewise.
2441 * libm/math/w_j1.c (j1): Likewise.
2442 * libm/math/wf_j0.c (j0f): Likewise.
2443 * libm/math/w_j0.c (j0): Likewise.
2444 * libm/math/wf_hypot.c (hypotf): Likewise.
2445 * libm/math/w_hypot.c (hypot): Likewise.
2446 * libm/math/wf_gamma.c (gammaf): Likewise.
2447 * libm/math/w_gamma.c (gamma): Likewise.
2448 * libm/math/wf_fmod.c (fmodf): Likewise.
2449 * libm/math/w_fmod.c (fmod): Likewise.
2450 * libm/math/wf_exp.c (expf): Likewise.
2451 * libm/math/w_exp.c (exp): Likewise.
2452 * libm/math/wf_cosh.c (coshf): Likewise.
2453 * libm/math/w_cosh.c (cosh): Likewise.
2454 * libm/math/wf_atanh.c (atanhf): Likewise.
2455 * libm/math/w_atanh.c (atanh): Likewise.
2456 * libm/math/wf_atan2.c (atan2f): Likewise.
2457 * libm/math/w_atan2.c (atan2): Likewise.
2458 * libm/math/wf_asin.c (asinf): Likewise.
2459 * libm/math/w_asin.c (asin): Likewise.
2460 * libm/math/wf_acosh.c (acoshf): Likewise.
2461 * libm/math/w_acosh.c (acosh): Likewise.
2462 * libm/math/wf_acos.c (asocf): Likewise.
2463 * libm/math/w_acos.c (acos): Likewise.
2464 * libm/math/wf_sqrt.c (sqrtf): Likewise.
2465 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
2466 for embedded systems.
2468 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
2470 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
2471 Lea in case of a foreign sbrk.
2473 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
2475 Incorporate Doug Lea's malloc:
2476 * libc/stdlib/mallocr.c: Completely replaced.
2477 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
2479 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
2480 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
2482 (mallinfo, malloc_stats, mallopt): New functions.
2483 (_mstats_r): Just call _malloc_stats_r.
2484 * libc/stdlib/malign.c: New file.
2485 * libc/stdlib/mlock.c: New file.
2486 * libc/stdlib/msize.c: New file.
2487 * libc/stdlib/mtrim.c: New file.
2488 * libc/stdlib/realloc.c: New file.
2489 * libc/stdlib/valloc.c: New file.
2490 * libc/stdlib/malloc.h: Remove.
2491 * libc/stdlib/callocr.c: Remove.
2492 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
2493 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
2494 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
2495 reallocr.o, valloc.o, vallocr.o.
2496 (CHEWOUT_FILES): Add mlock.def, mstats.def.
2497 (MALLOC_CFLAGS): New variable.
2498 (mallocr.o): New target, build from mallocr.c.
2499 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
2500 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
2501 (msizer.o, malloptr.o): Likewise.
2502 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
2503 (valloc.o): New target.
2504 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
2505 * libc/include/malloc.h: Declare struct mallinfo, and new
2507 * libc/include/stdlib.h (cfree): Correct declaration.
2509 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
2511 * libc/include/machine/setjmp.h: Add support for Thumb target.
2513 * libc/include/machine/ieeefp.h: Add support for Thumb target.
2515 * configure.in (links): Add support for Thumb target.
2517 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
2519 * libc/sys/arm/setjmp.S: Updated with version from branch.
2521 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
2523 * libc/include/stdio.h: add POSIX-required define L_ctermid
2526 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
2528 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
2529 addition to MISSING_SYSCALL_NAMES.
2531 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2533 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
2535 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
2537 * libc/include/string.h: change strsignal proto to return
2538 a char *. This eliminates compile problems in gdb resulting
2539 from gdb's definition of strsignal in defs.h.
2541 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
2543 * libc/sys/cygwin32/sys/utime.h: new (moved here from
2544 winsup/include) so as not to conflict with the one in
2546 * libc/include/string.h: add protos for strsignal, strtosigno
2548 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
2550 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
2552 * configure.in (d30v-*-*): Add configuration.
2554 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
2556 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
2557 to select which kind of debug monitor is in use for an ARM target.
2559 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
2560 Angel and Demon debug monitors. Part of this code was supplied by
2561 Tony Thompson at ARM: athompso@arm.com.
2563 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
2565 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
2566 semantics when the count is greater than the length of the second
2569 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
2571 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2572 * libc/include/sys/unistd.h: add protos for usleep, truncate,
2573 truncate and ftruncate take off_t, not size_t
2575 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
2577 * libc/string/strcat.c (strcat): Add missing comment end.
2578 * libc/string/strncat.c (strncat): Likewise.
2580 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
2582 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2584 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
2585 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2587 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2588 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2589 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2591 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
2593 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2594 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2596 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
2598 * libc/machine/i386/setjmp.S: New file.
2599 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2600 (OFILES): Add setjmp.o.
2601 (setjmp.o): Add rule for.
2602 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2604 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
2605 Jeffrey A Law (law@cygnus.com)
2607 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2608 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2609 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2610 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2612 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
2614 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
2617 * libc/include/sys/config.h: Use __v850 to select v850
2620 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
2623 * libc/include/machine/ieeefp.h: Use __v850 to select v850
2626 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
2628 * libc/stdlib/setenv.c: change unsetenv definition to match
2629 style of setenv (with _DEFUN). The string should be a const.
2630 * libc/include/stdlib.h: unsetenv proto should return void.
2632 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
2634 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
2636 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
2638 * libc/stdio/glue.h: remove.
2639 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
2640 * libc/stdio/Makefile.in: remove glue.h dependencies
2642 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
2644 * libc/sys/sysnecv850/crt0.S: Created V850e version.
2646 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
2648 * configure.in (target_cpu): Add `arc'.
2650 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
2652 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
2653 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
2654 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
2655 * newlib/libc/reent/reent.c: Add _wrapup_reent.
2656 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
2658 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
2660 * libc/machine/mips/setjmp.S: Handle mips16 builds.
2662 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
2664 * libc/include/stdio.h (siprintf): Declare.
2666 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
2668 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
2669 TARGET_CFLAGS and NEWLIB_FLAGS.
2671 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2673 * configure.in (links): Add support for v850ea target.
2675 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2677 * configure.in (links): Add support for v850e target.
2679 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
2681 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
2683 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
2685 * configure.in (arc-*-*): Add support for.
2686 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
2688 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2690 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
2692 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
2694 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
2695 comparison which accesses invalid memory when the key is
2696 larger than the last member of the array.
2697 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
2699 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
2701 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
2703 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
2706 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
2708 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
2709 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
2711 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
2713 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
2714 to load/store memory.
2716 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
2718 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
2719 underscores if _WIN32.
2721 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
2723 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
2724 support ifdef _USE_WRITE missed in last change.
2725 From Anders Blomdell <anders.blomdell@control.lth.se>.
2727 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
2729 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
2730 (_tmpnam_r, _tempnam_r): Update.
2732 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
2734 * libc/machine/sparc/setjmp.S: New file.
2735 * libc/machine/sparc/Makefile.in: Add setjmp.
2736 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
2738 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
2740 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
2742 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
2744 From Joel Sherrill <joel@oarcorp.com>.
2745 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
2747 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
2748 * configure.in: Recognize *-*-rtems*.
2749 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
2750 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
2751 time.h,times.h,types.h}: New files.
2752 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
2754 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
2756 patch from sos@prospect.com.ru (Sergey Okhapkin):
2757 * include/sys/wait.h: correct operator precidence bug
2760 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
2762 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
2763 with newlib's unsetenv function
2764 * libc/sys/cygwin32/sys: new directory for includes
2765 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
2766 here from winsup/include/sys
2768 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
2770 * libc/include/sys/unistd.h: _exit should only be
2771 labelled noreturn when not __CYGWIN32__
2772 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
2773 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
2776 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
2778 * libc/include/sys/time.h: Only define timeval and timezone if
2779 _GNU_H_WINDOWS32_SOCKETS is not defined.
2780 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
2782 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
2784 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
2785 * libc/machine/mn10300/setjmp.S: Likewise.
2787 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
2788 the mn10300 (more relaxing opportunities).
2790 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
2792 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
2793 Build libraries with -mstrict-align.
2795 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
2797 * libc/string/strlwr.c: New file.
2798 * libc/string/strupr.c: New file.
2799 * libc/include/string.h: Declare strlwr and strupr.
2800 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
2801 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
2802 (strlwr.o, strupr.o): New targets.
2803 * libc/string/strings.tex: Include strlwr and strupr docs.
2805 * libc/include/sys/types.h: Don't define u_char, et. al., if
2806 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
2807 et. al. Make FD_SETSIZE default 64 rather than 60. Define
2808 _types_fd_set rather than fd_set, and define fd_set as a macro.
2810 * libc/include/malloc.h: New file.
2812 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
2813 strnicmp if they are not already defined.
2815 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
2816 _timezone, _daylight, and _tzname.
2818 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
2820 * configure.in: Sort all configuration tables.
2822 From Joel Sherrill <joel@oarcorp.com>
2823 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
2825 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
2827 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
2828 use int when declaring kill.
2830 * libc/include/sys/timeb.h: New file.
2832 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
2834 * libc/include/sys/time.h: add itimer support for Cygwin32
2836 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
2838 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
2839 out a message that abort was called to stderr.
2841 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
2843 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
2844 so that libio doesn't freak.
2846 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
2849 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
2850 memory sizes, not int.
2852 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
2854 * libm/math/ef_hypot.c: Use long constants where
2856 * libm/math/ef_sqrt.c: Ditto.
2858 * libc/sys/sysmec/times.c(_times): Change to times.
2860 * libc/sys/sysmec/read.c(_read): The third argument is
2862 * libc/sys/sysmec/write.c (_write): Ditto.
2864 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
2865 (_lseek): It's off_t for the second argument.
2867 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
2869 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
2870 as well as machine/ieeefp.h.
2872 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
2874 * libc/include/sys/signal.h: add signal protos for winsup
2875 functions (when __CYGWIN32__), include types.h
2876 * libc/include/sys/types.h: Change __go32_types__ internal
2877 define to __MS_types__ since it's used for more than just
2878 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
2880 * libc/include/sys/unistd.h: add ftruncate proto for
2881 winsup functions (when __CYGWIN32__)
2883 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
2885 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
2887 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
2889 * libc/include/machine/setjmp.h: Add tic80 support.
2890 * libc/machine/tic80/setjmp.S: Likewise.
2892 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
2894 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
2895 link programs from libraries only (such as in the X11
2898 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
2900 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
2901 supplied elsewhere in newlib.
2903 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
2905 * Makefile.in (INSTALL): Change install.sh to install-sh.
2907 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
2909 * README: update WWW address for on-line documentation.
2911 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
2913 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
2916 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
2918 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
2920 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
2922 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
2924 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
2925 * libc/sys/d10v/syscalls.c: Likewise.
2926 * libc/sys/h8300hms/sbrk.c: Likewise.
2927 * libc/sys/h8500hms/syscalls.c: Likewise.
2928 * libc/sys/m88kbug/syscalls.c: Likewise.
2929 * libc/sys/sh/syscalls.c: Likewise.
2930 * libc/sys/sysmec/sbrk.c: Likewise.
2931 * libc/sys/sysnecv850/sbrk.c: Likewise.
2932 * libc/sys/w65/syscalls.c: Likewise.
2933 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
2935 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
2937 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
2938 emulated syscall instead of "trap".
2940 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
2942 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
2945 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
2947 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
2949 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
2951 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
2953 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
2955 * libc/sys/tic80/crt0.c: New file for TIc80.
2956 * libc/sys/tic80/Makefile.in: New file for TIc80.
2957 * libc/machine/tic80/Makefile.in: New file for TIc80.
2959 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
2961 * libc/machine/sh/memcpy.S: New file.
2962 * libc/machine/sh/memset.S: New file.
2963 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
2965 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
2967 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
2970 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
2972 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
2975 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
2977 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
2978 (patch from andrew@pogo.WV.TEK.COM).
2980 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
2982 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
2983 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
2985 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
2987 * configure.in: Add cases for "tic80" to set machine_dir,
2988 sys_dir, and syscall_dir.
2990 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
2992 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
2994 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
2996 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
2998 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
3000 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
3001 Use proper constant prefix.
3003 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
3005 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
3006 that loses on the mn10200 where ints and pointers are different
3009 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
3011 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
3012 target as signal is provided in winsup.
3014 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
3016 * libc/include/sys/process.h: Corrected const definitions
3017 in spawn functions. Added cwait.
3019 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
3021 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
3023 * libc/include/sys/config.h: Similarly.
3025 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3027 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
3029 (i[3456]86-*-sco*): Ditto.
3031 * libc/signal/Makefile.in (OFILES): Add signal.o.
3032 (CFILES): Add signal.c.
3034 * libc/signal/raise.c (_raise_r): Only compile code if
3035 SIGNAL_PROVIDED is defined.
3037 * libc/signal/signal.c: Redo whole file so that it works with
3038 current newlib. Use _kill_r if no signal handler provided.
3040 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
3042 * libc/sys/sysvnecv70/Makefile.in: Ditto.
3043 * libc/sys/sysnecv850/Makefile.in: Ditto.
3045 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
3046 * libc/sys/sysmec/{raise,signal}.c: Ditto.
3047 * libc/sys/sysvnecv70/signal.s: Ditto.
3048 * libc/sys/sysnecv850/raise.c: Ditto.
3050 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
3051 simulator and debugger can tell the difference between a signal
3052 being raised and an exit system call.
3054 * NEWS: Document software signals being provided.
3056 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3058 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
3059 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
3060 include/sys/config.h.
3061 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
3062 Change from 'inpure_data'.
3063 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
3064 &impure_data, not &inpure_data.
3066 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
3067 and and System V ABI, define so that _impure_ptr lives in the
3070 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3072 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
3073 nothing if not defined.
3074 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
3077 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
3079 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
3081 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
3082 * libc/sys/sysmec/trap.s: Handle mn10200 too.
3083 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
3085 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
3087 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
3089 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
3091 * libc/include/sys/errno.h: Added net errno's.
3093 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3095 * libc/misc/ffs.c: New file to support ffs function for GCC test
3096 gcc.c-torture/execute/960909-1.c.
3098 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
3100 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
3102 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
3103 * libc/sys/sysmec/trap.S: Likewise.
3105 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
3107 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
3108 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
3110 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
3112 * libc/sys/sysmec/signal.c: Dummy file.
3113 * libc/sys/sysmec/Makefile.in: Build it.
3115 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
3117 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
3120 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
3122 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
3123 c-startup and simulator traps.
3126 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
3127 * libc/sys/sysmec/trap0.S: Likewise.
3129 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3131 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
3132 round to double word alignment.
3133 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
3136 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
3138 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
3141 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
3143 * configure.in: Handle mn10200 and mn10300.
3144 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
3145 * libc/include/sys/config.h: Likewise.
3146 * libc/sys/sysmec: New directory for mec stuff.
3147 * libc/machine/mn10300: New directory for mn10300 stuff.
3148 * libc/machine/mn10200: Similarly for mn10200 stuff.
3150 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
3152 * libc/sys/arm/crt0.S: Use .text, not .section .text.
3153 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
3155 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
3156 (nlink_t): Change type from unsigned int to unsigned short.
3157 (mode_t): Ensure size is 32 bits even if int is 16.
3158 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
3159 (st_spare[123]): Change type from int to long.
3161 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3163 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
3166 * configure.in (d10v*): Define SMALL_MEMORY.
3168 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3170 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
3171 -mrelocatable-lib and -mno-eabi flags.
3173 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
3175 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
3176 Fix handling of mis-aligned source operand when both the
3177 destination & length are properly aligned.
3179 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
3181 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
3182 times.o, time.o and gettime.o
3183 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
3184 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
3187 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
3189 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
3190 * libc/sys/sysnecv850/access.c: New file.
3192 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
3194 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
3196 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
3199 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
3201 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
3203 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
3205 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
3206 * libc/include/sys/config.h: Add m32r support.
3208 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
3210 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
3213 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
3215 * libc/include/machine/setjmp.h: Add D10v support.
3217 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
3219 * configure.in: Configure the "libc/syscalls" directory for
3222 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
3223 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
3224 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
3225 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
3226 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
3228 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
3230 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
3231 stack for args for main and other routines. Zero out args for
3234 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
3237 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3239 * libc/stdio/findfp.c (std): Remove extraneous ';' after
3242 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
3244 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
3245 real system calls now.
3247 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
3248 before casting them to int.
3249 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
3251 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
3253 * libc/string/memset.c (memset): Ditto.
3255 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
3256 first convert ints to _POINTER_INT to eliminate GCC warning.
3258 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
3261 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
3262 from 65000 if ints are only 16 bits.
3264 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
3265 from 50000 if ints are only 16 bits.
3267 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
3268 int type that is the same size as a pointer.
3270 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
3272 (get_number): Explicitly cast number to long before shifting by 16
3273 or 24, in case ints are short.
3275 * libc/include/sys/config.h (_POINTER_INT): Define as short.
3277 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
3279 * libc/string.h: Added ffs, removed swab.
3280 * libc/sys/errno.h: Added EOPNOTSUPP.
3281 * libc/sys/unistd.h: Added swab.
3283 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
3285 * libc/include/sys/stat.h: Added fchmod.
3286 * libc/include/sys/unistd.h: Added fsync.
3288 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
3290 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
3291 and ECONNRESET (104) for cygwin32.
3293 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
3295 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
3296 do the static destructors.
3298 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
3300 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
3302 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
3304 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
3305 * configure.in: Recognize m32r-*-*.
3307 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
3309 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
3310 __rt_stkovf_split_small): Added default software stack overflow
3311 handlers, which just call SWI_Exit.
3312 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
3313 limit initialisation.
3315 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
3317 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
3319 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
3321 * libc/include/sys/types.h: Added ssize_t definition.
3323 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3325 * libc/machine/d10v/setjmp.S: Use ';' for comments.
3326 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
3328 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
3329 branch around a single ldi instruction.
3331 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
3332 Call exit, instead of just issuing a stop instruction.
3334 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3336 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
3338 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3340 * libc/stdlib/mprec.h: Explicitly declare all large constants as
3341 longs, and then cast them to __uint32_t.
3343 * libc/include/sys/config.h: Protect against multiple inclusions.
3345 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
3347 * configure.in (d10v*): Set syscall_dir.
3349 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
3351 * libc/sys/d10v/crt0.S: Set stack pointer.
3353 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
3355 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
3356 in assembly for efficiency. Change calling convention to allow
3357 long ints to be returned.
3359 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3361 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
3363 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
3365 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
3366 Handle empty entries in $PATH.
3368 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
3370 * libc/machine/d10v/setjmp.S: Make it really work.
3372 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
3374 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
3377 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
3379 * sys/sysnecv850/sys/file.h: Remove.
3380 * sys/sysnecv850/sys/syscall.h: New file.
3381 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
3382 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
3383 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
3384 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
3385 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
3386 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
3387 * sys/sysnec850/trap.S: New file.
3388 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
3390 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
3391 * sys/sysnec850/sbrk.c: New version.
3393 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
3395 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
3396 as long as r6 is less than r7.
3398 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
3400 * Makefile.in (mostlyclean): Separate from clean target. Don't
3401 remove *.a or targ-include.
3402 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
3404 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3406 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
3408 (__SMALL_BITFIELDS): Ditto.
3410 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
3412 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
3414 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
3417 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
3418 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
3419 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
3420 * libc/sys/sysnecv850/write.c (write): Likewise.
3422 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
3425 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3427 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
3428 appropriately for D10V, depending on -mint16/-mint32.
3430 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
3432 * configure.in: Add cases for D10V.
3434 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3436 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3438 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
3440 * libc/include/machine/ieeefp.h: Fix typo.
3442 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
3444 * libc/sys/d10v: New directory for D10V stuff.
3445 * libc/include/machine/ieeefp.h: Add D10V defines.
3447 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
3449 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
3450 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
3451 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
3452 * libc/string/strerror.c (strerror): Add them.
3454 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
3456 * libc/sys/sysnecv850: New directory for v850 stuff.
3458 * libc/machine/v850: New directory for v850 stuff.
3459 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
3461 * configure.in: Add support for the v850.
3463 * libc/include/machine/ieeefp.h: Add v850 defines.
3464 * libc/include/machine/setjmp.h: Likewise.
3465 * libc/include/sys/config.h: Add v850 defines.
3467 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
3469 * libc/include/machine/ieeefp.h
3470 * libc/include/machine/setjmp.h
3471 * libc/include/sys/fcntl.h
3472 * libc/include/sys/signal.h
3473 * libc/include/sys/types.h
3474 * libc/stdlib/system.c:
3475 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
3476 API availability, __CYGWIN32__ for cygwin32 environment specific).
3478 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
3480 * libc/include/stdlib.h: add multibyte character functions. Add
3481 __eprintf for assert.
3483 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3485 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
3486 arithmetic or __alignof__ to properly get the alignment, instead
3487 of hardwiring it to 4.
3489 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
3491 * libc/stdio/fseek.c: add fflush call to adjust seek offset
3492 on append stream (fix from NetBSD sources), adjust curoff offset
3493 for ungetc's benefit.
3494 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
3495 * libc/stdio/rewind.c: replace code with up to date NetBSD
3496 code to undo hacks made to work around above problem of not
3497 having fflush call mentioned above
3499 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3501 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
3502 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
3503 Partially revert last changes. The thread specific errno is set
3504 iff if the underlying syscall fails and the global errno is not
3507 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3509 * libc/reent/filer.c: Removed files, all functions have split out
3510 into their own files.
3511 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
3512 New files containing functions formally in filer.c
3513 * libc/reent/Makefile.in: Updated for above change.
3515 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
3516 syscall fails, not if errno is changed.
3517 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
3518 _write_r): Likewise.
3519 * libc/reent/fstatr.c (_fstat_r): Likewise.
3520 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
3521 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
3522 * libc/reent/signalr.c (_kill_r): Likewise.
3523 * libc/reent/statr.c (_stat_r): Likewise.
3524 * libc/reent/timer.c (_gettimeofday_r): Likewise.
3526 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
3527 signalr.c, statr.c, timer.c} (errno): declare extern rather
3530 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
3531 instead of calling vfprintf so that i*printf will not require
3532 floating point support code.
3534 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
3536 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
3538 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
3539 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
3541 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
3543 * libc/include/signal.h: _sig_func_ptr function takes an int
3544 * libc/include/sys/signal.h: sa_handler function takes an int
3546 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
3548 * libc/include/machine/ieeefp.h: Simplify H8/S support.
3549 * libc/include/sys/config.h: Add missing H8/S conditional.
3551 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
3553 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
3555 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
3557 * libc/include/machine/setjmp.h: Handle H8/S.
3558 * libc/include/machine/ieeefp.h: Likewise.
3559 * libc/include/sys/config.h: Likewise.
3560 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
3561 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
3562 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
3563 * libc/sys/h8300hms/crt0.S: Likewise.
3565 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3567 * Makefile.in (datadir): Set to $(prefix)/share.
3568 (oldincludedir, docdir): Removed.
3569 * doc/Makefile.in (datadir): Set to $(prefix)/share.
3570 (oldincludedir, docdir): Removed.
3571 * libc/Makefile.in (datadir): Set to $(prefix)/share.
3572 (oldincludedir, docdir): Removed.
3573 * libm/Makefile.in (datadir): Set to $(prefix)/share.
3574 (oldincludedir, docdir): Removed.
3576 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
3578 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3581 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
3583 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
3584 fetch current path rules with sysconf and handler posix/win32
3587 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3589 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3590 (WAIT_CHILD): Always define.
3592 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
3594 * libc/stdlib/eprintf.c: New file.
3595 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3596 (eprintf.o): New target.
3598 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
3600 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3601 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3603 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
3605 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3606 NT in PowerPC endianess cases.
3608 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3610 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3612 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3614 * libc/string/strtok.c: Fix doc typo.
3616 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3618 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
3619 _next, _scanpoint, _signgam fields.
3621 * libc/include/stdlib.h (rand_r): Added new declaration.
3622 (_rand_r, _srand_r): Removed declarations.
3623 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
3624 have been made obsolete by rand_r.
3625 * libc/stdlib/rand_r.c: New file, rand_r function as specified
3628 * libc/string/strtok.c: Update documentation to describe
3631 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
3633 * libc/include/sys/stat.h (stat structure): Use the expanded stat
3634 structure on Solaris, and PowerPC systems even though __svr4__ is
3637 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
3639 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
3641 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
3643 * host/any: Use ../.. rather than .. to get to the main build
3644 directory. This matches the current layout of the build
3647 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
3649 * libc/machine/h8300/__main.S: Delete. No longer needed.
3650 * libc/machine/h8300/Makefile.in: Corresponding changes.
3651 * libc/sys/h8300hms/crt1.c: New file.
3652 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
3653 * libc/sys/h8300hms/crt0.s: Call __main.
3655 * libc/sys/h8300hms/crt0.S: Use temporary label names
3658 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
3660 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
3662 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3664 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
3665 .sdata on the PowerPC so that we can link newlib with code
3666 compiled with -msdata.
3668 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
3670 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
3672 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
3674 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
3675 exception handler to __cygwin_exception_handler.
3677 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
3679 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
3681 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
3683 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
3685 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
3686 wcstombs.o): Likewise.
3688 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
3690 * libc/stdlib/environ.c (initial_env): New static local.
3691 (environ): Point to `initial_env'.
3693 * libc/include/machine/setjmp.h: Clean up.
3694 (__H8300H__,__PPC__): Define _JBTYPE.
3695 (__arm__): Provide entry for.
3696 (sigjmp_buf): Delete.
3697 (jmp_buf): Use _JBTYPE if defined, otherwise int.
3699 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
3701 * libc/machine/h8300/strcmp.S: Sign extend the result to
3702 32bits so we don't lose with -mint32.
3704 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
3706 * libc/sys/go32/sys/errno.h: New file.
3707 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
3708 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
3709 errno's address (make compatible with rest of newlib).
3710 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
3711 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
3713 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
3715 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
3716 * libc/machine/sparc/Makefile.in: Build them.
3717 * libc/machine/sparc/machine/sparclet.h: New file.
3719 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3721 * libc/machine/sh/asm.h: New file.
3722 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
3723 support for SH3e's FP registers. Use asm.h.
3725 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
3727 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
3728 as first argument. Call _dtoa_r and pass the reent structure
3729 instead of calling __dtoa.
3731 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
3733 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
3734 the h8300, h8500, and others. Add comments for some rather
3737 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
3739 * Makefile.in (check): Check that testsuite exists before cd.
3741 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3743 * libc/include/string.h (strsep): Correct prototype.
3745 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
3747 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
3748 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
3749 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
3751 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
3753 * libc/posix/{creat.c,isatty.c}: New files.
3754 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
3756 * libc/sys/sparc64/crt0.S (environ): Delete.
3757 (.LHaveBias): Renamed from HaveBias.
3759 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
3761 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
3762 (_morecore_r): Delete SBRK_IS_ALLOC support.
3764 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3766 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
3767 module rather than touch, so we don't get warning messages when
3768 all of the libraries are combined into libc.a.
3770 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
3772 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
3773 crt0.s replaced by version in libgloss.
3775 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3777 * libc/reent/Makefile.in (OFILES): Add impure.o.
3778 * libc/reent/impure.o: New file, define initial reentrancy struct.
3779 * libc/reent/reent.c: Remove above definition.
3781 * libm/math/sf_asinh.c: Fix typo.
3783 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
3786 * libm/libm.texinfo: Change documentation to reflect changes
3787 in reentrancy model.
3788 * libm/math/w_gamma.c: Likewise.
3790 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
3792 * configure.in (*-*-cygwin32): New.
3793 (*-*-win32): Deleted.
3794 * libc/sys/win32 renamed libc/sys/cygwin32.
3796 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3798 * libc/include/sys/file.h: New include file.
3800 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
3802 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
3804 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
3806 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
3808 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3810 * doc/makedoc.c (realloc): Declare at file scope.
3811 (catchar): Not here.
3813 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
3815 * Makefile.in (VERSION): Update to 1.7.0.
3816 * {libc,libm}/Makefile.in (VERSION): Likewise.
3817 * configure.in: Minor clean up of multilib stuff.
3819 From David Johnson <davidj@ICSI.Berkeley.EDU>
3820 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
3822 * libc/stdlib/environ.c: New file.
3823 * libc/stdlib/Makefile.in (OFILES): Build it.
3824 * libc/sys/h8500hms/crt0.c (environ): Deleted.
3825 * libc/sys/m88kbug/crt0.c (environ): Deleted.
3826 * libc/sys/z8ksim/crt0.c (environ): Deleted.
3827 * libc/sys/netware/environ.c: Deleted.
3829 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
3831 * configure.in (links): set sys_dir, posix_dir, syscall_dir
3833 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3835 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
3836 declaration out to external scope and declare it PTR, not char *.
3838 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
3840 * libc/include/sys/unistd.h (getpagesize): New declaration.
3841 (_SC_PAGESIZE): New definition.
3842 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
3843 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
3845 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
3847 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
3848 addressing. System call returns size, not (last address + 1).
3850 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3852 * libm/math/*.c: Removed _foo_r() reentrancy API.
3853 * libc/include/math.h: Removed _foo_r prototypes and macros.
3855 * libm/math/*.c: On systems with IEEE single precision "doubles"
3856 move foo() -> foof() wrapper code from the files that implement
3857 the standard IEEE double precision functions to the files that
3858 implement IEEE single precision functions. (ie. On those systems
3859 sin is moved from s_sin.c to sf_sin.c). There should eventually
3860 be use of a C extension (like gcc's alias attribute) so that the
3861 wrappers are not needed at all.
3863 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
3864 strict NEC V810 compiler.
3865 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
3868 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3870 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
3871 from NetBSD C library.
3872 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
3874 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
3875 and adapted from implementation I wrote for NetBSD C library.
3876 The difference is __assert doesn't take a format argument,
3877 so that there won't be multiple copies of the same string
3878 constant in the executable if assertions are enabled in
3879 more than one source module.
3880 * libc/include/assert.h (assert): Changed to call __assert.
3882 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3884 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
3885 word1 on systems with 32 bit doubles.
3886 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
3887 so that we can do arithmetic on them.
3888 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
3891 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
3893 * libc/sys/arm/crt0.S: Zero bss.
3895 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
3897 * libc/include/unctrl.h: New file.
3898 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
3899 * configure.in (subdirs): Add libc/misc.
3900 * libc/Makefile.in (SUBDIRS): Add misc.
3901 (SUBLIBS): Add misc/lib.a.
3903 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
3905 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
3907 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
3908 (_vfprintf_r): Call CHECK_INIT.
3910 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
3912 * Makefile.in (MULTITOP): Delete.
3913 (MULTISRCTOP, MULTIBUILDTOP): Add.
3914 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3915 instead of cfg-ml-pos.in.
3917 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3919 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
3920 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
3923 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3925 * libc/string/strtok.c: Include string.h to pick up strtok_r
3928 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3930 * libc/string/strtok.c: include <_ansi.h>.
3931 * libc/time/asctime_r.c: `reresult' -> `result'.
3933 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3935 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
3936 in #ifndef _REENT_ONLY ... #endif conditional.
3938 * libc/include/string.h (_strtok_r): Remove declaration.
3939 * libc/include/time.h (_asctime_r): Remove declaration.
3940 * libc/string/strtok.c (_strtok_r): Removed.
3941 * libc/time/asctime.c (_asctime_r): Removed.
3943 * libc/string/Makefile.in (OFILES): Add new object.
3944 * libc/string/strtok_r.c: New file. strtok_r function as
3945 specified by POSIX.1c, adapted from strtok implementation
3946 from NetBSD C library.
3947 * libc/string/strtok.c (strtok): Reimplemented in terms of
3950 * libc/time/Makefile.in (OFILES): Add new objects.
3951 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
3952 New files, reentrant time functions specified by POSIX.1c.
3953 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
3954 reentrant time functions re-written in terms of reentrant
3956 * libc/time/lcltime.c: Renamed from localtime.c
3958 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
3959 gmtime_r, and localtime_r.
3961 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
3963 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
3964 * libc/include/sys/unistd.h (getlogin): Revert change of
3966 * libc/include/sys/signal.h (sigprocmask): Change prototype
3967 so it compiles with c++.
3969 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
3971 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
3972 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
3973 to give some room in case we need to align the jmp_buf.
3975 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
3976 the new ppc-asm.h include file the compiler provides to specify
3977 function prologue/epilogue. Eliminate saves of the xer and ctr
3978 registers, which are volatile. Before starting to save registers,
3979 align to 8 byte boundary.
3981 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3983 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
3984 referenced by standard libraries.
3986 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
3988 * libc/unix/Makefile.in, libc/string/Makefile.in,
3989 libc/stdio/Makefile.in, libc/reent/Makefile.in,
3990 libc/posix/Makefile.in:
3991 Remove tabs from otherwise empty line. Confuses some
3992 older non-GNU versions of "make".
3994 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
3996 * libc/sys/unistd.h (getlogin): Returns const char *.
3998 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
4000 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
4001 * libc/include/errno.h: Moved into and include...
4002 * libc/include/sys/errno.h: New file.
4003 * libc/include/sys/wait.h: New file.
4004 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
4005 * libc/sys/win32/*: Moved out.
4006 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
4007 * configure.in (i[345]86-*-win32): HAVE_RENAME
4009 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
4011 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
4012 avoid macro expansion for these two names.
4014 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
4016 * libc/machine/h8500/psi.S: r6 renamed to fp.
4018 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
4020 * configure.in (powerpc*): No longer need to define
4021 NO_LONGLONG_POINTERS to supress warnings.
4023 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4025 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
4026 through PTR instead of directly.
4028 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
4029 non-standard constructor support.
4031 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4033 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
4034 address of the Bigint instead of the address of its _x field,
4035 as the size the result buffer was calculated accordingly.
4036 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
4038 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
4039 from NetBSD C library. No longer special cases division by
4040 zero (which needs to be done by the application anyway), but
4041 it doesn't need to call abs() (or labs()) four times either.
4043 * libc/stdlib/qsort.c: Replaced with implementation from
4046 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4048 * libc/stdio/vfprintf.c: Replaced with implementation from
4049 NetBSD C library (which is derived from the 4.4BSD C library).
4050 * libc/stdio/cvt.c: Removed.
4051 * libc/stdio/Makefile: Updated.
4053 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
4055 * libc/sys/win32/syscalls.c (rename): New.
4056 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
4058 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4060 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
4061 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
4063 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
4064 (setjmp.o): Delete rule to build setjmp.o.
4065 * libc/sys/sh/setjmp.S: Delete file.
4067 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4069 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
4070 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
4071 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
4072 pow5mult and s2b to identifiers with leading underscores.
4073 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
4074 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
4076 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
4078 * libc/sys/posix/popen.c (sys/types.h): Include.
4080 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
4082 * libc/sys/win32/syscalls.h (fhandler): New struct.
4083 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
4084 (__fhandler_normal): Declare.
4085 (hinfo): New member op_handlers.
4086 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
4087 (__write): Likewise.
4088 (_read, _write, _open, _close, _lseek): Validate fd here.
4089 Move file type specific stuff to foo_normal.
4090 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
4092 (__lookup_fhandler): New function.
4093 (__lookup_fhandler_hook, __fhandler_normal): New variables.
4095 From anders.blomdell@control.lth.se (Anders Blomdell)
4096 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
4097 Don't touch standard handles.
4098 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
4099 (_execve): Only create __FD_TABLE__ if necessary.
4100 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
4102 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
4104 * libc/sys/win32/sys/termios.h (FLUSHO): New.
4105 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
4106 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
4107 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
4108 without a handler is received.
4109 * libc/sys/win32/Makefile.in: Remove --nodelete.
4110 * libc/sys/win32/resouce.c (gettimeofday): New.
4111 * libc/sys/win32/syscalls.c (path_to_real_path): New.
4112 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
4114 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
4116 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
4117 Don't append "/*" to search pattern if trailing '/' already there,
4119 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
4120 like /'s, convert them to \'s. Handle //<drive>/ path names.
4121 Add space for quoted \'s in arg string. Print translated prog name
4122 and original prog name.
4123 (_execve): Handle parent doing exec a teensy bit better.
4124 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
4125 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
4126 path needs conversion, handle both cases. Delete `const' from result.
4127 (hash_path_name): New function.
4129 (_stat): Likewise. Fill in more fields for directories.
4130 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
4131 (wait_for_any): Fix trace message.
4132 (waitpid): Explicitly test for intpid == 0.
4134 From anders.blomdell@control.lth.se (Anders Blomdell)
4135 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
4138 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
4140 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
4143 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4145 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
4146 at all, not just == 1.
4147 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
4149 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4151 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
4152 * libc/sys/win32/include/wintypes.h: include <winnt.h>
4153 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
4156 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
4158 * libc/sys/syscalls.c (getcwd): Fix off by one error.
4160 * libc/sys/signal.c (sleep): Fill it in.
4161 * libc/sys/termios.c (tcflush): Use PurgeComm
4162 (tcsetattr): Set some more of the bits.
4163 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
4165 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
4167 * libc/sys/arm/crt0.S (fp): Initialize to 0.
4168 Conditionally include .idata$3 stuff ifdef __pe__.
4170 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
4172 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
4173 * libc/sys/win32/pipe.c (pipe): Ditto.
4174 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
4175 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
4176 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
4177 (tcgetattr): Contents are new.
4178 * libc/sys/win32/include/winkernel.h (DCB): New.
4179 (GetCommState, SetCommState): New.
4181 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
4183 * libc/sys/arm/crt0.S (_start): Define.
4185 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
4187 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
4188 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
4190 * libc/sys/win32/sysconf.c: New
4191 * libc/sys/win32/sys/winadvapi.h: New
4192 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
4193 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
4194 * libc/sys/win32/pipe.c (pipe): Ditto.
4195 * libc/sys/win32/signal.c (_raise): New.
4196 (_kill): Moved from spawn.c
4197 * libc/sys/win32/spawn.c (kill): Moved to signal.c
4198 * libc/sys/win32/syscalls.c (__read): Use new fields.
4200 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
4201 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
4202 * libc/include/sys/unistd.h (rmdir): Takes const path.
4203 * libc/include/sys/stat.h (mkdir): Takes const path.
4204 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
4206 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
4208 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
4210 Add support for specifying paths as //<drive>/foo/bar.
4211 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
4212 (__path_to_real_path): Declare.
4213 (PATH_TO_REAL_PATH): New macro.
4214 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
4215 (__path_needs_conversion_p, __path_to_real_path): New functions.
4216 (_open): Fix test for error return from CreateFileA.
4217 Handle new path syntax.
4218 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
4219 * libc/sys/win32/dirsearch.c (opendir): Likewise.
4221 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
4223 * libc/sys/win32/include/*.h: Reorganized
4224 * libc/sys/win32/include/WINREADME: New.
4225 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
4226 * libc/sys/win32/*.c: Fix for new include scheme.
4227 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
4228 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
4229 * libc/sys/win32/passwd.c (*): Fix.
4230 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
4231 (_stat): Get directory owner and permissions right.
4232 * libc/sys/win32/syscalls.h (uinfo): New.
4233 * libc/sys/win32/version.def: Remove leading underscores.
4235 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4237 * libc/sys/win32/key.c: include "include/wincon.h".
4239 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
4241 * libc/sys/win32/{key, stubs}.c: New.
4242 * libc/sys/win32/Makefile: Adjust to cope.
4243 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
4244 (environ_init): Change env names to upper case.
4245 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
4246 * libc/sys/win32/passwd.c (*): Fill in the functions.
4247 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
4248 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
4249 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
4250 (_open): Initialze hmap->execable_p too.
4251 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
4252 (_fstat): Fill in permissions.
4253 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
4255 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
4257 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
4259 (cfg-ml-pos.in invocation): Likewise.
4261 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4263 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
4264 s_isnan.o and sf_isnan.o.
4266 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
4268 * All Makefile.in files: added maintainer-clean target as a
4269 synonym for realclean.
4271 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
4273 * libc/include/machine/setjmp.h: Add hppa support.
4274 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
4276 * libc/machine/hppa/Makefile.in: Related changes.
4278 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
4280 * configure.in (machine_dir): Don't set for v810-*-*.
4282 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4284 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
4285 conventions correctly.
4287 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
4289 * libc/stdio/puts.c: Update documentation of return value to match
4292 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
4294 Fix file descriptor inheritance.
4295 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
4297 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
4298 close-on-exec flag not set. Initialize child's entire fd table.
4299 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
4301 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
4302 if CHILD_P. Initialize entire hmap entry.
4303 (dup): Only create new handle as inheritable if CHILD_P.
4304 (dup2): Likewise. Properly initialize hmap entry.
4306 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
4308 (_exit): Use CHILD_P.
4309 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
4312 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4314 * libc/sys/win32/crt0.c (passover): fix up the state table.
4315 * libc/posix/popen.c: Added.
4316 * libc/posix/Makefile.in: compile popen.c.
4318 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
4320 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
4321 h8/500 define _DOUBLE_IS_32BITS.
4323 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
4325 Get vfork/exec/spawn/cwait/wait working again.
4326 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
4327 (procinfo): New member vfork_level.
4328 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
4329 (vfork_init_first): Use GetCurrentProcessId to get pid.
4330 Initialize vfork_level.
4331 (vfork_init): Delete __PID__.
4332 (environ_init): New function. Undo patch of Aug 19, Posix says
4333 environment variables are case sensitive.
4334 (mainCRTStartup): Call it.
4335 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
4336 (my_longjump: Make static.
4337 (_spawn): New argument `h'. Delete setting of __PID__.
4338 Delete local `idx'. Look for chars that need quotes, rather than
4339 ones that don't. Set handle of created process in `h'.
4340 Result is process id if created task.
4341 (allocate_spawn_entry): New function.
4342 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
4343 (_execve): Set __FD_TABLE__ before spawning child.
4344 Scan our fd table when passing fds, not our parent's.
4345 Store handle and pid in procinfo entry.
4346 (vfork0): Ensure strace message always printed.
4347 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
4348 (vfork): Don't clobber result of vfork0.
4349 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
4350 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
4352 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
4354 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
4355 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
4356 adding vfork level to pseudo-pid.
4357 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
4358 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
4359 (_exit): If child, set exit code.
4360 (__vfork_record_death): Only close process handle if valid.
4361 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
4363 (wait_for_any): Likewise. Start scan after root entry.
4365 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4367 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
4368 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
4369 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
4370 of actual file length.
4372 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
4373 * libc/include/paths.h: _PATH_BSHELL added.
4374 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
4377 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4379 * libc/include/ar.h: Added.
4380 * libc/include/sys/types.h: ino_t goes back to 32-bits.
4381 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
4382 * libc/sys/win32/syscalls.c (_open): compute .namehash based
4384 (_fstat): use .namehash for inode number of the fd.
4386 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
4388 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
4389 Change hinfo to __this_procinfo.
4390 * libc/sys/win32/crt0.c: Remove procinfo_list.
4392 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4394 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
4397 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4399 * libc/sys/win32/include/grp.h: Removed.
4400 * libc/sys/include/grp.h: Added.
4401 * libc/sys/win32/grp.c: Include <grp.h>.
4403 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
4405 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
4406 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
4407 Defined for all but strict ANSI.
4408 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
4409 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
4410 * libc/signal/signal.c (_signal_r): Changed from using
4411 _MAX_SIGNALS to NSIG.
4412 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
4414 (__strace, __vfork_next_pid): New.
4415 (__exe_suffix): Default to 1.
4416 (passover, table): Understand quoted arguments.
4417 (vfork_init_first): New.
4418 (vfork_init): Initialize new process structure.
4419 (mainCRTStartup): Pass environ to main.
4420 * exceptions.c (__sig_mask): New
4421 (ehandler3): Ignore signals in mask.
4422 (really_exit): Remove CHILD_P test.
4423 * pipe.c (pipe, dup, dup2): Use new process and file structure.
4424 * resource.c (getrusage): Ditto.
4425 * signal.c (sigprocmask): New.
4426 * spawn.c (*): Rewritten.
4427 * syscalls.c (*): Use new process and file structure.
4428 (find_unused_handle): New.
4429 * syscalls.h (MAX_HANDLES): Deleted.
4430 (hinfo): Removed child_created_p.
4431 (MAX_CHILDREN): Deleted.
4432 (vfork_jmp_info, procinfo): New.
4433 * wait.c (*): Mostly new.
4434 * sys/strace.h (_STRACE_PARANOID): New.
4435 * sys/param.h: New file.
4437 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4439 * libc/include/sys/stat.h: add S_BLKSIZE.
4440 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
4441 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
4443 (mode_t): add a #else to avoid multiple definitons.
4445 * libc/sys/win32/Makefile.in: add grp.c.
4446 * libc/sys/win32/grp.c: include grp.h correctly.
4447 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
4448 of the st structure with real information.
4449 * libc/sys/win32 (dirent): d_ino is of type ino_t.
4451 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
4453 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
4454 and (maybe) sparc64.
4455 (nlink_t): Provide typedef.
4457 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4459 * libc/sys/win32/grp.c: New file.
4460 * libc/sys/win32/include/grp.h: New file.
4462 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4464 * libc/include/machine/ieeefp.h: Added whitespace to make this
4465 file easier to maintain.
4466 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
4467 depending on the value of __LITTLE_ENDIAN__.
4468 On the sh3e, define _DOUBLE_IS_32BITS.
4470 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
4472 * libc/sys/vr4300/syscalls.c: Added missing support
4473 routines. _raise() and getpid().
4475 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
4477 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
4479 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
4481 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
4482 and VR4300 processor.
4483 * libc/sys/vr4300: Add directory.
4484 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
4485 monitor run-time support.
4487 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4489 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
4490 * libc/stdlib/stdlib.tex: Don't include atol.def.
4492 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4494 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
4496 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
4498 * libc/ctype/Makefile.in: Fill in _to* dependencies.
4500 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
4502 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
4503 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
4504 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
4505 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
4506 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
4508 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4510 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
4512 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4514 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
4515 * libc/stdlib/atoff.c: New file.
4516 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
4517 * libc/stdlib/atoi.c (atol): Removed.
4518 * libc/stdlib/atol.c: Removed duplicate documentation.
4520 * libc/include/ctype.h (_tolower, _toupper): Moved inside
4521 #ifndef _STRICT_ANSI conditional.
4522 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
4523 * libc/ctype/_tolower.c: New file.
4524 * libc/ctype/_toupper.c: New file.
4525 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
4526 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
4527 * libc/ctype/toascii.c (_toascii): Removed.
4529 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
4531 * libc/sys/sparc64/sys/types.h: Deleted.
4533 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4535 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
4536 and recognize Windows_95 systems.
4538 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4540 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
4541 and passed fds should be opened in text mode.
4543 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4545 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
4546 in __hmap, set to binary mode by default.
4548 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4550 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
4551 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
4554 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
4556 * Makefile.in (install): Install all libraries found in the
4557 top level. If there's a sys/<type>/include directory,
4558 install those headers into include.
4560 * libc/sys/win32/kernel.def351: Delete
4561 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
4562 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
4563 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
4564 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
4565 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
4566 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
4567 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4568 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4570 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4571 * libc/sys/win32/crt0.c: Force all env names to upper case.
4572 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4573 * libc/sys/win32/*.c: Headers have moved.
4574 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4575 __vfork_child_idx is now __vfork_child_ptr.
4577 * posix/execvp (execvp): Don't crash if no PATH envname.
4579 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4581 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4582 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4583 through the _freelist instead of through the _reclaim list.
4584 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4585 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4588 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4590 * libc/machine/h8500/setjmp.S: New file.
4591 * libc/include/machine/setjmp.h: Updated for H8/500.
4593 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
4595 * libc/sys/win32/syscalls.c (_open): More stracing.
4596 (_stat): Open the file in O_BINARY.
4598 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4600 * libc/machine/h8300/setjmp.S: New file.
4601 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4603 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
4605 * libc/sys/win32/crt0.c (__exe_suffix): New global.
4606 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4607 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4608 __exe_suffix. Free fd_tab after setting env variable.
4609 (spawnv,_execve): Update.
4610 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4611 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4612 (__small_vfprintf): New function.
4613 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4614 * libc/sys/win32/wait.c (cwait): Validate argument.
4616 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
4617 (process_deletion_queue): Likewise.
4619 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
4621 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
4623 * libc/sys/win32: Copyrights and gratuitous indenting.
4625 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
4627 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
4628 (process_deletion_queue): Likewise.
4629 (__close_all_files): New function.
4630 (_close): Only queue file deletion if really a file.
4631 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
4633 (_exit): Call __close_all_files.
4635 * libc/stdlib/system.c: #include <errno.h>.
4636 (_system_r): Fix results in -DNO_EXEC case.
4638 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
4639 Reorganize structure.
4640 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
4641 if argument is valid. Save directory name in DIR. malloc space
4642 for dirent struct separately.
4643 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
4645 * libc/include/errno.h (ENAMETOOLONG): Define.
4646 * libc/string/strerror.c (strerror): Reword ENFILE.
4647 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
4649 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
4651 * libc/sys/win32/crt0.c (__progname): New global.
4652 (mainCRTStartup): Support strace=bitmask,filename.
4653 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
4654 * libc/sys/win32/syscalls.c (_write): Print parent trace message
4656 (getcwd): Handle len too small. Convert '\\' to '/'.
4657 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
4658 Add prototypes for open, creat, fcntl.
4659 (O_APPEND): Change value to conform to Microsoft's value.
4660 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
4662 * libc/stdlib/getopt.c: New file.
4663 * libc/stdlib/Makefile.in: Build it.
4665 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
4667 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
4668 Fix scanning of $PATH.
4669 * libc/posix/exec*.c: Call _execve, not execve.
4670 * libc/posix/execve.c: New file.
4671 * libc/posix/Makefile.in (OFILES): Add execve.o.
4673 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
4674 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
4675 (_STRACE): If level==0, always print. Handle new bit mask scheme.
4676 * libc/sys/win32/crt0.c: Update _STRACE calls.
4677 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
4679 * libc/sys/win32/smallprint.c (rn): Fix digit list.
4681 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
4682 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
4683 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
4684 Print __seterrno trace message first.
4685 (_execve): Renamed from execve.
4686 (vfork): Update __strace usage.
4687 (__vfork_child_pid): Deleted.
4688 (__vfork_children, __vfork_child_idx): New globals.
4689 (_spawnvp): New function.
4690 (spawnvp, spawnv, _execve): Call _spawnvp.
4691 (init_child): Record child in __vfork_children.
4692 (__vfork_get_entry, __vfork_record_death): New functions.
4693 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
4694 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
4695 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
4696 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
4697 (children): New typedef.
4698 (__vfork_children,__vfork_child_idx): Declare.
4699 (__vfork_get_entry,__vfork_record_death): Declare.
4700 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
4701 (waitpid): Handle pid == -1.
4702 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
4703 * configure.in (i386-win32): Add -DNO_FORK.
4704 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
4705 * libc/reent/execr.c (_fork_r): Likewise.
4706 * libc/stdlib/system.c (do_system): New function.
4707 If WIN32, try to get shell path from $SH_PATH, use vfork.
4708 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
4711 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
4713 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
4714 * libc/sys/win32/fcntl.h: Don't include self.
4715 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
4716 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
4717 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
4718 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
4719 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
4721 * libc/sys/win32/strace.c: New file.
4722 * libc/sys/win32/smallprint.c: New file.
4723 * libc/sys/win32/crt0.c (func): Delete.
4724 (mainCRTStartup): Fix alloca usage. Set handles explictly.
4725 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
4726 * libc/sys/win32/exceptions.c: Lint.
4727 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
4728 Clean up handle usage.
4729 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
4730 (open.c): Default file type is text.
4731 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
4732 * libc/sys/win32/advapi32.def: New
4734 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
4736 * configure.in (posix_dir, libc_posix_lib): New variables.
4737 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
4738 (i[345]86-*-win32): Define posix_dir.
4739 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
4740 (if unix_dir): Fix typo.
4741 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
4742 scandir,seekdir,telldir}: New files.
4743 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
4745 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
4746 (SUBDIRS): Add posix.
4747 (SUBLIBS): Add $(LIBC_POSIX_LIB).
4749 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
4750 (NSIG): Increase to 21.
4751 * libc/include/sys/unistd.h (pid_t): Move from here,
4752 * libc/include/sys/types.h (pid_t): to here.
4754 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
4756 (hinfo): New members close_exec_p, child_created_p.
4757 (struct exception_list): Define.
4758 (__hmap): Redefine as pointer to table.
4759 (__parent_hmap, __child_hmap): New globals.
4760 (__set_errno, __really_exit): Declare.
4761 (__vfork_child_pid): Declare.
4762 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
4763 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
4764 (__parent_hmap, __child_hmap): New globals.
4765 (__hmap): Redefine as pointer to active map.
4766 (__get_console): New function.
4767 (mainCRTStartup): Change leading '=' in environ vars to '!'.
4768 (env __FD_TABLE__): Watch for this and initialize our fd/handle
4769 mapping table from it if defined.
4770 (argv, envp): Dump if __strace >= 4.
4772 * libc/sys/win32/exceptions.c (myp): Redefine.
4773 (__syscalls_b): Delete.
4774 (__stack_trace): New function.
4775 (ehandler3): Update to use _STRACE. Print stack trace.
4776 Call __really_exit instead of exit.
4777 (init_exceptions): Delete args argc,argv. New arg mine.
4778 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
4779 FindFirstFileA, FindNextFileA, GetComputerNameA,
4780 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
4781 * libc/sys/win32/signal.c (signal): Validate arg.
4782 (alarm, sleep): Define as stubs for now.
4783 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
4784 (__syscalls_b, errno): Delete.
4785 (__vfork_child_pid, __vfork_jmp_buf): New globals.
4786 (__seterrno): Handle more errors.
4787 (__sys_printf): Renamed from _ptrace.
4788 (__really_exit): New function.
4789 (queue_file_deletion, process_deletion_queue): New functions.
4790 (__resume_parent): New function.
4791 (_unlink): Handle trying to delete open file.
4792 (__totime_t): Renamed from totime_t.
4793 (setsid, __read, __write): New functions.
4794 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
4795 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
4796 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
4797 * libc/sys/win32/console.c: Update to new definition of __hmap.
4798 * libc/sys/win32/Makefile.in: Build new files.
4799 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
4800 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
4801 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
4802 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
4804 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
4806 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
4808 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4810 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
4811 have been made to the master dtoa.c sources (from netlib.att.com)
4812 since they were integrated into newlib in early 1992. Fixes
4813 problems with storage leaks and handling of numbers with very
4816 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4818 * Makefile.in (all): set rootpre and srcrootpre before calling
4821 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
4823 * libc/sys/win32/crt0.c: Change __hmap usage.
4824 * libc/sys/win32/exceptions.c: Use _ptrace call.
4825 * libc/sys/win32/syscalls.c: Use _ptrace call.
4826 (read, write): Cope with DOS style CRLF when in TEXT mode.
4827 * libc/sys/win32/syscalls.h: Declare hinfo struct.
4828 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
4829 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
4830 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
4831 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
4833 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4835 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
4837 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
4838 wrappers for hypot() and remainder() for BSD libm compatibility.
4839 These are public domain implementations written by me for the
4840 NetBSD libm some time ago. Note cabs() is required by ucbtest.
4841 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
4842 (fobj): Added wf_cabs.o and wf_drem.o.
4844 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4846 * libc/sys/h8500hms/misc.c: New file.
4847 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
4849 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4851 * libc/time/localtime.c (localtime): Fix problem with leap year
4852 handling. Stole algorithm from Arthur David Olson's tz code.
4854 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
4856 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
4858 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
4859 (_exit): Use argument.
4861 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
4863 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
4865 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
4867 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
4869 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4871 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
4874 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
4876 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
4877 ptrace with case insensitivity
4878 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
4879 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
4882 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
4884 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4885 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
4886 (all, install, *clean): Use new multilib support.
4887 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4889 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
4891 * libc/include/sys/signal.h (__WIN32__): New.
4893 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
4895 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
4896 (ulp, b2d): Handle 32 bit doubles.
4897 * libc/stdlib/mprec.h: Handle 32 bit doubles.
4898 * libc/stdlib/strtod.c (_strtod_r): Ditto.
4900 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
4902 from medp@primag.co.uk:
4903 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
4904 dynamically allocated buffers.
4906 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
4908 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
4909 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
4911 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4913 * configure.in (powerpc): Fix previous fix.
4915 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4917 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
4918 directories for this target.
4920 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
4922 * configure.in (hppa): Add machine_dir definition.
4923 * libc/machine/hppa: New directory with PA specific implementations
4924 of the basic memory/string functions.
4926 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4928 * configure.in: Update current PowerPC multilib directories.
4929 Split big and little endian configurations.
4931 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
4933 * configure.in: Add --enable-single-float option to configure to
4934 control use of MIPS single-float directories. Default to yes.
4936 * Makefile.in (all): Don't recurse into multilib directory if it
4939 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4941 * libc/sys/sh/syscalls.c: Fix typo.
4943 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
4945 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
4947 * libc/include/process.h: Define WAIT_CHILD.
4948 * libc/include/types.h: Get sizes right for win32.
4949 * configure.in (i386-*-pe): Becomes i386-win32.
4950 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4951 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
4952 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
4955 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
4957 * configure.in (i[345]86-*-pe): New target (NT).
4958 * host/any: DLLTOOL new.
4959 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4960 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
4961 WIN32 (just enough to cross host the comp-tools).
4963 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
4965 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
4966 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
4968 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
4970 * libc/include/machine/ieeefp.h (arm): Change to always be
4971 __IEEE_BIG_ENDIAN (even on little endian ARM's).
4973 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
4975 * libc/sys/crt0.S: Initialze sp, and call exit after main.
4976 * libc/sys/syscalls.c (abort): New.
4977 * configure.in (arm): Define ABORT_PROVIDED.
4979 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4981 * configure.in (powerpc): Define multidirs.
4983 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
4985 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
4987 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
4989 * configure.in (sparclite): Delete target_cflags. Define multidirs.
4991 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
4993 * configure.in, libc/include/machine/ieeefp.h: Modified
4995 libc/machine/arm/*, libc/sys/arm/*: New
4997 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4999 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
5000 __powerpc__ when determining endianness.
5002 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5004 * configure.in (m68*): Add multidir for the m68332.
5006 * host/any (CC): Fix typo in last change.
5008 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5010 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
5011 when determining endianness.
5012 * libc/include/machine/ieeefp.h: Ditto.
5013 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
5016 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
5018 * libc/include/errno.h (ENOTEMPTY): Define.
5020 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5022 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
5025 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
5028 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
5029 instead of only when open succeeds. ANSI requires that multiple
5030 calls to tmpnam() result in different files.
5032 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
5033 objects pulled in from /lib/libc.a that must be renamed before
5034 being pulled into newlib. /lib/libc.a's div.o conflicted with
5035 newlib's file with the same name.
5037 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
5039 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
5040 the build tree will only be used if the executables are present
5041 (instead of just the Makefiles).
5043 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
5045 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
5046 versions of these functions that I orignally wrote for the
5048 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
5049 versions I wrote for NetBSD.
5051 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
5053 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
5054 * libc/sys/sparclite/crt0.s: ditto.
5056 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
5058 * configure.in: Add soft-float for proelf.
5060 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
5062 * libc/stdlib/mprec.h (Bcopy): Copy the right number
5065 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
5067 * Makefile.in (all): Depend on `force'.
5068 * configure.in (syscall_dir): Renamed from fake_sys_dir.
5069 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
5070 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
5071 * libc/Makefile.in: Likewise.
5072 * libc/include/reent.h: Update syscall references.
5073 (_fcntl_r): Add prototype.
5074 * libc/syscalls/*.c #include <reent.h>.
5075 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
5077 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
5079 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
5080 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
5081 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
5082 (time.h, sys/types.h): Always include (even if MSDOS).
5083 (stat): Fix prototype.
5085 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
5087 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
5089 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5091 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
5093 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
5095 * libc/include/regdef.h: New file.
5096 * libc/machine/mips/machine/regdef.h: New file.
5098 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
5100 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
5102 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
5104 * libc/sys/sh/crt0.S: Pass main's return to exit.
5105 * libc/sys/sh/trap.S: Put errno in the right place.
5107 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5109 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
5110 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
5111 * libm/math/ef_rem_pio2.c: Likewise.
5112 * libm/math/e_log10.c: Remove unused static one.
5113 * libm/math/ef_log10.c: Likewise.
5114 * libm/math/s_frexp.c: Likewise.
5115 * libm/math/sf_frexp.c: Likewise.
5117 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
5119 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
5120 longjmp.S: Upgraded.
5121 * libc/sys/go32/sys/setjmp.h: Upgraded.
5122 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
5124 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5126 * configure.in: Add many entries to multidirs for mips targets.
5128 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5130 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
5131 5.2 which fixes bug where jn(-1,x) is three times larger than
5133 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
5135 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
5137 * libc/sys/w65/sys/syscalls.h: New file
5138 * libc/include/machine/ieeefp.h: W65 support.
5139 * libc/include/sys/config.h: Ditto.
5140 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
5141 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
5142 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
5144 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5146 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
5148 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
5150 * Makefile.in, configure.in: Remove any references to the old
5153 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5155 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
5156 uses ... in prototype.
5159 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
5161 * libc/sys/a29khif/sys/libconfig.h: Remove.
5162 * libc/sys/go32/sys/libconfig.h: Remove.
5163 * libc/sys/sun4/sys/libconfig.h: Remove.
5164 * libc/sys/sysvi386/sys/libconfig.h: Remove.
5165 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
5166 * libc/sys/sparc64/sys/libconfig.h: Remove.
5168 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
5169 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
5170 * libc/include/math.h: Change all uses of _FLOAT_RET and
5171 _FLOAT_ARG to float.
5172 * libm/test/math.c: Likewise.
5173 * testsuite/libm.sac/math.c: Likewise.
5174 * testsuite/libm.sac/working/math.c: Likewise.
5176 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5178 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
5179 gcc calls gas with endian option.
5180 * configure.in (sh): Build little endian version too.
5182 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5184 * configure.in: Configure big and little endian versions for MIPS
5187 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
5189 * libc/include/limits.h: Deleted.
5190 * libc/include/machine/limits.h: Deleted.
5192 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
5194 * ChangeLog: Remove stub directory. This has all been rewritten
5195 and moved to devo/libgloss.
5197 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5199 * Makefile.in (dvi): Add to info target, use $@ in sub make.
5200 (docs): Merge into info target.
5201 * libm/Makefile.in (dvi): Add $(srcdir).
5202 * libm/math/Makefile.in (chobjs): Remove underscores from file
5203 names. Texinfo doesn't like them.
5204 (wacos.def, ...): Add explicit targets for all .def files.
5205 * libm/math/math.tex: Remove underscores from @include file names.
5206 * doc/Makefile.in (dvi): Add dummy target.
5207 * testsuite/Makefile.in (dvi): Add dummy target.
5209 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
5211 * Makefile.in (VERSION): Define. For net newlib releases.
5213 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
5217 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5219 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
5221 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5223 * libc/stdlib/setenv.c (_findenv): Declare.
5225 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
5226 fcntl to not use _EXFUN, and change string parameters to open and
5227 creat to be ``const char *''.
5228 * libc/sys/sparc64/sys/fcntl.h: Likewise.
5229 * libc/sys/sparc64/creat.c (creat): Make PATH const.
5230 * libc/syscalls/sysopen.c: Include <fcntl.h>.
5231 (open) Make _FILE const.
5232 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
5233 (_creat): Make PATH const.
5234 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
5235 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
5236 * libc/sys/m88kbug/syscalls.c (open): Likewise.
5237 * libc/sys/sh/syscalls.c (_open): Likewise.
5238 * stub/shared/glue.c (open): Make BUF const.
5239 * stub/ex93x/syscalls.c (open): Make FILENAME const.
5241 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5243 * libc/include/errno.h: Add ENMFILE
5244 * libc/include/sys/config.h: Support Z8000.
5245 * libc/include/sys/signal.h: New signals for go32.
5246 * libc/machine/h8500/psi.S (__addpsir0r0): New function
5247 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
5248 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
5249 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
5250 size is variable, depending upon CHUNK_POWER.
5251 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
5253 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5255 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
5257 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5259 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
5261 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5263 * configure.in: Change i[34]86 to i[345]86.
5265 * libc/include/math.h: Don't define HUGE_VAL if it is already
5268 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5270 * testsuite/libm.sac/test_erfc.c: Correct some result values.
5271 * testsuite/libm.sac/test_gammaf.c: Likewise.
5272 * testsuite/libm.sac/test_sin.c: Likewise.
5273 * testsuite/libm.sac/test_tanh.c: Likewise.
5275 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5277 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
5278 already set. Define typedefs __int32_t and __uint32_t.
5279 * libc/include/math.h: Include <machine/ieeefp.h>.
5280 (union __dmath): Use __uint32_t.
5281 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
5282 instead of int and unsigned int.
5284 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5286 Replace the math library with the SunPRO fdlibm package.
5287 * libm/math: Completely changed all files.
5288 * libm/ieeefp: Remove contents and directory.
5289 * libm/Makefile.in (LIBM_FP_LIB): Remove.
5290 (SUBDIRS): Just set to math/lib.a.
5291 * libm/libm.texinfo: Updated for new library.
5292 * libc/include/math.h: Extensive changes for new math library.
5293 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
5294 from _FLOAT_ARG to float.
5295 (maxpowtwo, maxpowtwof): Don't declare.
5296 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
5297 (libm_fp_lib): Removed.
5298 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
5299 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
5300 argument to ${RUNTEST}.
5301 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
5303 (RUNTESTFLAGS): Set CC and CFLAGS.
5304 (TESTS): Remove test_log2 and test_log2f.
5305 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
5306 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
5307 _FLOAT_ARG, for single precision argument type.
5308 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
5309 expected failure. Close the input pipe.
5310 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
5311 Correct misspelling of inaccurate.
5312 (test_mok): Use ``inaccurate'', not ``wrong''.
5313 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
5314 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
5315 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
5316 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
5317 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
5318 test_yn.c): Correct many result values. Many are still wrong.
5320 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
5321 just copy the string.
5322 (_gcvt): Always return the buffer.
5324 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5326 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
5328 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
5330 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
5332 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
5333 (_reclaim_reent): declare new entry point.
5334 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
5337 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
5338 ever allocated, so that we can later reclaim them all.
5339 (pow5mult): make reentrant.
5341 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
5342 so that when given NULL as a buffer, return a pointer to static
5343 space in the rent structure. This is not documented behaviour;
5344 it's only to support ecvt and fcvt, which aren't ANSI anyway.
5345 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
5346 therefore become reentrant).
5348 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
5350 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5352 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
5354 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5356 * Makefile.in: Make link to libg.a after libc.a; this is needed
5357 for the testsuites to build executables when everything comes
5360 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
5362 * libc/Makefile.in: Add a VERSION variable so we can keep track.
5363 * libm/Makefile.in: Add a VERSION variable so we can keep track.
5365 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5367 * libc/include/stdio.h: Use __VALIST, not va_list.
5369 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
5371 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
5372 testsuite/libm.sac/execute.exp:
5373 Replace error proc calls with perror calls.
5375 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
5377 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
5378 * libc/include/time.h: #define NULL as 0L.
5380 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
5382 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
5385 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5387 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
5390 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
5392 * configure.in (TARGET_CFLAGS): Set -O2 as default.
5393 (z8k-*-*): Use syscalls fake sys dir.
5394 * libc/sys/z8k/glue.c: Rename syscalls.
5395 * libc/sys/go32/Makefile.in: Use new routines.
5396 * libc/machine/Makefile.in: Fix typo in ln stuff.
5398 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5400 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
5401 * libc/Makefile.in (crt0.o): Likewise.
5402 * libc/machine/Makefile.in (lib.a): Likewise.
5403 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
5405 All Makefile.in files: Added mostlyclean, realclean and distclean
5408 * Makefile.in: Don't bother to unexport XTRAFLAGS or
5409 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
5410 the top level Makefile.
5412 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
5414 * libc/sys/sparc64/sys/stat.h: New file.
5415 * libc/sys/sparc64/sys/time.h: New file.
5416 * libc/sys/sparc64/sys/types.h: New file.
5418 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
5420 * stub/ex93x/crt0.s (start): Add code to clear bss.
5422 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
5424 * libc/include/sys/types.h (time_t): Properly protect inside
5425 #ifndef __time_t_defined.
5427 * libc/stdio/fileno.c: New file.
5428 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
5429 (fileno.o): Add dependency.
5430 * libc/include/stdio.h (__sgetc): Rename never to _never.
5431 (fileno macro): Disable, needs to do CHECK_INIT first.
5433 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
5435 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
5438 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
5439 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
5441 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
5444 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
5446 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
5447 of the various constants.
5449 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
5451 * libc/include/math.h: #ifndef __math_68881 around things which
5452 conflict with the (gcc-provided) inline functions in
5453 gcc/ginclude/math-68881.h.
5455 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
5457 * libc/include/_syslist.h (_gettimeofday): Define.
5459 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
5460 (struct tms, timeval, timezone): Declare.
5461 (_gettimeofday_r, _times_r): Declare.
5462 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
5463 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5464 (time_t): Add multiple definition protection, __time_t_defined.
5465 * libc/include/sys/time.h: Don't #include <time.h>.
5466 Always define struct timezone (remove #ifndef _TIME_H_).
5467 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
5468 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5469 * libc/reent/Makefile.in (OFILES): Add timer.o.
5470 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
5471 * libc/reent/timer.c: New file.
5472 * libc/time/clock.c: #include <reent.h>.
5473 (clock): Call _times_r instead of times.
5474 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
5475 HAVE_GET_TIME_OF_DAY.
5476 Add comment regarding supporting OS routine(s) required (for docs).
5478 (time): Call _gettimeofday_r instead of gettimeofday.
5479 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
5480 * libc/time/ctime.c: Ditto.
5481 * libc/time/strftime.c: Ditto.
5482 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
5483 (TEMPLATE_SFILES_R): Define here. Also define times.
5484 Add times_r.o/times.S dependence.
5485 (time2.c, junk.c): Deleted.
5486 * libc/sys/sparc64/time2.c: Deleted.
5487 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
5489 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
5490 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
5491 * libc/sys/sparc64/junk.c: Deleted.
5493 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
5495 * libc/sys/sparc64/Makefile.in: Add times syscall.
5496 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
5497 be used with and without it. Add comment clarifying Medium/Anywhere
5499 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
5500 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
5503 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
5505 * configure.in (target_cflags): Move init.
5506 (sparc64-*-*): Define HAVE_BLKSIZE.
5508 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
5510 * libc/include/sys/_types.h: New file.
5511 * libc/include/reent.h: #include it.
5512 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
5513 MISSING_SYSCALL_NAMES.
5515 * libc/include/_syslist.h: Remove _raise.
5516 * libc/reent/signalr.c: New file.
5517 * libc/reent/Makefile.in: Compile it.
5518 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
5519 Add doc for raise and _raise_r.
5520 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
5521 (raise): Call _raise_r.
5522 (_raise_r): Call _getpid_r and _kill_r.
5523 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
5524 (abort): Loop forever calling raise and _exit.
5526 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5528 * configure.in: Remove extraneous echo.
5530 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
5532 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
5533 collision with unistd.h, and fix for svr4.
5535 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
5537 * libc/stdio/local.h (_llicvt): Declare.
5538 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
5539 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
5541 (_sicvt): Fix function header (`value' is short).
5542 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
5543 Add printing of long long's support.
5544 Add printing of 8 byte pointer support.
5546 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
5548 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
5549 stat, chmod): New hooks.
5550 (sbrk): Abort if stack and heap collide.
5551 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
5552 shortcut when given small args.
5553 * libc/machine/sh/setjmp.s: Rewritten.
5554 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
5555 of cmp/str instruction.
5557 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5559 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
5560 and machine_dir powerpc.
5561 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
5562 Add cases for __powerpc__.
5563 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
5566 * libc/include/stdio.h (_iprintf_r): Declare correctly.
5568 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
5570 * libc/stdlib/callocr.c: New file with _calloc_r in it.
5571 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5573 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
5575 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5576 (print_e): More comments to describe args, etc.
5577 "type" arg may now be 'g' or 'G' for %g/G format --> remove
5579 (_gcvt): Remove locals decpt, sign, end, p, done.
5580 More comments for print_e invocation.
5581 Pass "type" to print_e as is (g/G).
5583 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
5585 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5588 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
5590 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5591 works with any sized pointer, including ones bigger than ints and
5594 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
5596 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5598 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5600 * libc/include/stdlib.h (_calloc_r): Add prototype.
5601 * libc/machine/h8500/negsi2.c: New file.
5602 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5603 large unsigned numbers.
5604 * libc/machine/h8500/cmpsi.c: Add cmppsi.
5605 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5606 works when sizeof(size_t) != sizeof(char *).
5607 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5609 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5611 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
5613 * libc/include/assert.h (assert): Handle -traditional.
5615 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
5617 * Makefile.in: added ; after every "fi" and "done" that wasn't at
5618 the end of a line (ie. anything before a backslash continuation)
5619 so that bash handles them.
5621 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5623 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
5626 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
5628 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
5629 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
5630 libc/machine/sh/udivsi3.s: Use new calling convention.
5632 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
5634 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
5635 chmod, access, chdir, chown by making _path const. Also fix _amode
5638 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
5640 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
5641 _khif_tmpnam, because it doesn't comply with ANSI but may be
5642 useful anyway. Real tmpnam was already in libc/stdio, and was
5643 colliding with this one (pr 2176.)
5644 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
5645 the wrong idea anyhow.
5647 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
5649 * configure.in: Remove h8300h, we have multilib now.
5651 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
5653 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
5654 functions, to get preference over the ones in libiberty (since we
5655 provide correct declarations in <string.h>.
5656 * libc/string/Makefile.in: add support for strncasecmp,
5659 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
5661 * Change netware config not to look for cpu explicitly.
5663 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
5665 * libc/sys/sparc64/{creat.c,junk.c}: New files.
5666 * libc/sys/sparc64/Makefile.in: Add dependencies.
5668 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
5670 * configure.in: Clean up v9 a bit, new "os" aoutv8.
5672 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
5674 * libc/include/sys/reent.h: make structure smaller by allocating
5675 some stuff when needed.
5676 * libc/signal/signal.c: allocate as needed
5677 * libc/stdio/findfp.c,stdio/local.h: ditto
5678 * libc/stdlib/mprec.c: ditto
5680 * libc/time/localtime.c: don't return a dangling stack ptr.
5682 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
5684 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
5686 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5688 * libc/include/stdio.h (__sputc): comment out static inline which
5689 confuses coff toolchains.
5691 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
5693 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
5694 _write.s, getpid.c, kill.c, read.s}:
5695 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
5696 through the syscalls directory.
5698 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
5700 * configure.in: fixed double quote gotcha.
5702 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
5704 * stub/ex931: stub library for sparclite board.
5705 * stub/idp: Renamed from mc68ec. Added contructor table
5706 stuff to linker script.
5707 * stub/mvme135: Renamed from m68kmvme. Added contructor table
5708 stuff to linker script.
5710 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5712 * configure.in: Configure testsuites only if they exist.
5714 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5716 * configure.in: Don't set machine_dir for i386 until there is
5717 something in libc/machine/i386 to compile. For i[34]86-*-netware*
5718 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
5719 CLOCK_PROVIDED and MALLOC_PROVIDED.
5721 * libc/sys/netware: New directory. Contains simplistic and
5722 probably incorrect stubs for NetWare. Should be enough to load
5724 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
5725 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
5728 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
5729 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
5730 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
5731 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
5733 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
5735 * testsuite/Makefile.in: add "docs" dummy target for consistency
5736 with rest of newlib; turn "info" and "install-info" into dummy
5737 targets, since they wouldn't have worked. (Depended on
5738 nonexistent "doc" subdir.)
5740 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5742 * configure.in: handle mips* instead of mips
5744 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
5746 * libc/include/sys/dirent.h: New file. If it is not overridden by
5747 a version of libc/sys/*/sys/dirent.h, it includes the next
5748 <dirent.h> file in case there is one lurking somewhere.
5750 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5752 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
5753 compliance, namely: Accept a minus sign. Consider a single 0 with
5754 a radix of 0 as being a conversion. Determine overflow correctly.
5755 If an overflow occurs, set *ptr to the end of the number, not the
5757 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
5759 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
5761 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
5763 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
5765 * Makefile.in (INSTALL): Use $srcrootpre.
5766 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
5768 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
5770 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
5771 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
5772 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
5773 * libm/math/Makefile.in (matherr.o): Ditto.
5775 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5777 * configure.in: Build multidirs for z8k.
5778 * libc/include/stdlib.h (_strtoul_r): add prototype.
5779 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
5780 * libc/include/machine/setjmp.h: Add for z8k.
5781 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
5782 * libc/sys/z8ksim/glue.c: tidy up.
5784 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
5786 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
5787 New files. Requires execve system call.
5788 * libc/unix/Makefile.in: Use them.
5789 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
5790 Deleted, moved to libc/unix.
5791 * libc/sys/sparc64/Makefile.in: Remove them.
5793 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
5795 * libc/sys/sparc64/{template.S template_r.S}: New files.
5796 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
5798 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
5799 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
5800 umask.S unlink.S wait4.S write.S}: Removed, now built from
5803 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
5805 * libc/time/time.c: #include <_ansi.h>.
5807 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
5809 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
5811 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5813 * configure.in: match m8* rather than m88k so that m88110 is
5816 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
5818 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
5819 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
5822 * configure.in: Add multilib support to h8300.
5824 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
5826 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
5827 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
5828 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
5830 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5832 * configure.in: Corrected multidirs for sparc target.
5834 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5836 Support for building newlib multiple times with different
5838 * configure.in: Only configure doc at top level. Set multidirs
5839 when appropriate for target, unless not at top level. If
5840 multidirs is set, independently configure each subdirectory.
5841 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
5842 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
5843 automagically set by configure.in.
5844 (all): If MULTIDIRS is set, build multiple copies of libraries.
5845 (install): If MULTIDIRS is set, install multiple copies of
5846 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
5847 MULTISUBDIR is set, don't bother to install header files.
5848 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
5850 * stub/configure.in: Set MULTISUBDIR appropriately.
5851 * stub/Makefile.in (install): Install in
5852 $(tooldir)/lib/$(MULTISUBDIR).
5853 * All Makefile.in files: Define SRCTOP as well as TOP.
5855 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
5857 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
5858 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
5860 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
5862 * libc/sys/h8300hms/exit.c (_exit): New function.
5864 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5866 * configure.in: recognize m88110.
5868 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5870 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
5871 prototype main and call with args.
5873 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
5875 First real try at system traps for m88k-bug.
5876 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
5878 * libc/sys/m88kbug/sys/systraps.h: new file.
5880 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5882 Patches to fix info building when target does not use sys
5884 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
5885 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
5887 * libc/sys/Makefile.in (doc): do nothing.
5889 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5891 * libc/Makefile.in (CRT0): new macro.
5892 (all): depend on $(CRT0) rather than crt0.o.
5894 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
5895 do not default crt0, instead, set crt0 and crt0_dir based on
5896 sys_dir and stub_dir.
5898 * Makefile.in (CRT0_DIR): new macro.
5899 (all): depend on $(CRT0) rather than crt0.o which may not exist.
5900 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
5902 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
5904 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5906 * testsuite/lib/libm.exp:
5907 added code to support compiling and linking of tests for
5908 libm.sac (paranoia to be added next) and processing the
5909 pass or failure of the tests.
5911 * testsuite/config/unix-libm.exp:
5912 platform specific proc's for dealing with compiler, linker
5913 and the way we execute and process the test results.
5915 * testsuite/libm.sac/execute.exp:
5916 generic framework for the sac tests. the config and lib
5917 expect code for specific platforms tie it all together.
5919 * testsuite/libm.sac/test_is.c:
5920 changed the output of the test to be consistant with the
5921 other tests. parsing of pass nad fail messages is now fixed.
5923 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
5925 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
5926 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
5927 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
5928 #ifdef __cplusplus, surround by extern ""C { ... }.
5929 * libc/include/assert.h: Do *not* protect assert.h against
5930 multiple inclusion! Also, #undef it before #define, to allow
5932 * libc/include/stdio.h (getlogin, cuserid): Removed. These
5933 should be only in unistd.h.
5935 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
5936 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
5939 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
5941 * libc/machine/sparc/Makefile.in: Must create a library, even
5944 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5946 * configure.in: set machine_dir for m88k. edit crt0 definition
5949 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
5951 * libc/Makefile.in (all): also build crt0.o.
5953 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
5954 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
5957 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
5958 (all): reworked to build in place.
5959 (clean): remove lib.a
5960 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
5962 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
5963 (_start): key off edata rather than _start_bss.
5965 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
5967 * libc/include/sys/unistd.h, libc/include/reent.h,
5968 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
5970 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5972 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
5974 * Makefile.in (libc.a): break into two rules, one for libc.a and
5975 one for libc/libc.a. Force subdirs current before rebuilding
5977 (libm.a): break into two rules, one for libm.a and one for
5978 libm/libm.a. Force subdirs current before rebuilding library.
5980 * libc/Makefile.in (SUBLIBS): fix typo.
5982 * libc/sys/Makefile.in (all): force descent into subdirs, then
5983 rebuild library iff out of of date.
5985 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5987 Rework so that library is built and then finished rather than
5988 being built on each invocation of make.
5990 * host/any (machine_dir, sys_dir, signal_dir): these are not
5991 shared and have been moved to their associated Makefile.in's.
5992 (AR_FLAGS): switch to qc which is faster.
5993 * configure.in: no longer assign machine_dir for m88k. set
5994 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
5995 stub_dir set, then add to configdirs. add comment about silly
5997 (configdirs): drop stub. It will be added only
5999 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
6000 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
6001 stub_lib, crt0): new variables for tailoring lower level
6002 makefiles. Assign accordingly and edit into makefiles.
6003 * libm/Makefile.in: updated copyright.
6004 (TARGETLIB): removed.
6005 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
6006 (SUBDIRS): removed TARGETDEP_DIRS.
6007 (LIBM_FP_LIB, SUBLIBS): new macros.
6009 (force): new target to force rebuilds.
6010 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6011 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
6012 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
6013 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
6014 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
6015 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
6016 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
6017 stub/m68kmvme/Makefile.in: updated copyright.
6018 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
6019 (all): reworked. made this the default rule.
6020 (clean): also remove lib.a.
6021 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6022 * stub/Makefile.in: updated copyright.
6023 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
6024 (stub_lib): new macro.
6025 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
6028 (clean, install): assume stub_dir exists.
6029 (Makefile): depend on configure.in. call $(SHELL) rather than
6030 sh. drop redundant ./
6031 * stub/configure.in (stublib): new macro, assign it, edit it into
6033 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
6036 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6037 * libc/Makefile.in (TARGETCRT0): removed.
6038 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
6040 (SUBDIRS): drop TARGETDEP_DIRS.
6041 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
6042 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
6043 (force): new target to force rebuilds.
6044 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
6045 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
6047 (clean): assume sys_dir always exists.
6048 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
6050 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
6051 libc/locale/Makefile.in, libc/machine/Makefile.in,
6052 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
6053 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
6054 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
6055 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
6056 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
6057 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
6058 libc/signal/Makefile.in, libc/stdio/Makefile.in,
6059 libc/stdlib/Makefile.in, libc/string/Makefile.in,
6060 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
6061 libc/time/Makefile.in, libc/unix/Makefile.in,
6062 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
6063 (TARGETLIB): removed.
6065 (clean): also remove lib.a.
6066 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6067 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
6069 (SUBDIRS): moved to follow frag inclusion, change stub to
6071 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
6072 are now set in the libc Makefile.
6073 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
6074 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
6076 (force): new target to force rebuilds.
6077 * stub/configure.in: determine and set stub_lib for for Makefile.
6079 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
6081 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
6082 crt0.s renamed to crt0.S.
6083 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
6085 * libc/machine/h8300/Makefile.in: Make `all' the default target.
6086 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
6088 * libc/machine/h8300/defines.h: Add macros to handle pointers for
6089 h8300 (16 bits) and h8300h (32 bits).
6090 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
6091 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
6093 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
6095 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
6096 implementation of setjmp and longjmp for the m88k.
6097 * libc/include/machine/setjmp.h: Added __m88000__ case.
6099 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
6101 * configure.in: Recognize h8300h as variant of h8300.
6103 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6105 * libc/include/sys/unistd.h (read, write): get prototypes right.
6106 (sbrk): New prototype.
6107 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
6108 * libc/stdio/local.h: Include unistd.h.
6109 * libc/machine/h8300/syscalls.c: Names have changed.
6111 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
6113 * configure.in: add sys_dir assignment for m88k-bug.
6115 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
6117 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
6119 * libc/sys/sparc64: all *.S files: Use new macros.
6120 * libc/sys/sparc64/isatty.c: New file.
6121 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
6122 functions beyond what newlib provides.
6124 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
6126 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
6129 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
6131 * libc/include/machine/ieeefp.h: Add support for h8/300h.
6133 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
6135 * configure.in: add m88k.
6136 * libc/include/machine/ieeefp.h: add case for m88k. Also add
6137 sanity check so no one else need ever chase what I did to find
6140 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
6142 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
6144 * doc/makedoc.c: Include <ctype.h>.
6146 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
6148 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6149 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6150 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6152 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
6154 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
6156 * libc/include/errno.h (ENOSYS): Added.
6158 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
6160 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6162 * libc/stdio/fflush.c (fflush): Check for reent struct
6164 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
6166 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
6168 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
6169 out of dtoa.c so it doesn't pollute the namespace.
6170 * libc/include/_syslist.h: new file -- mappings from _function to
6171 function, for systems where we can't win (by default, all of them,
6172 until we start updating system calls.)
6173 * libc/syscalls: new directory -- stubs for exporting _function
6174 names as unmodified function names.
6175 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
6176 _syslist.h on all platforms by default, but put hooks in for
6177 fake_sys_dir so we can include it when we've renamed the system
6179 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
6180 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
6181 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
6182 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
6183 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
6184 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
6185 non ANSI functions to call _function.
6187 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
6189 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
6190 when base 16 is specified. Don't accept non-digits if radix > 10.
6192 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
6194 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
6196 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6198 * libc/include/sys/stat.h: Surround text after #endif with
6201 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
6203 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
6204 _malloc_r, _realloc_r, and free_r call the corresponding
6205 non-reentrant functions.
6207 * libm/math/modf.c (modf): We now take the address of ipart, so
6208 don't make it a register variable.
6210 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
6212 * libm/math/*: Rename all xxx_r fns to _xxx_r.
6214 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
6216 * libc/libc.texinfo and embedded docn throughout: formatting
6217 improvements, minor rephrasing for clarity, and improved
6220 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6222 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
6224 * libc/stdio/cvt.c (_licvt): Print the right value on machines
6225 where sizeof(int) != sizeof(long).
6227 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6229 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
6230 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
6231 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
6232 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
6233 libm/math/matherr.c: changes for better docn formatting (info).
6235 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
6236 libc/reent/reent.tex, libc/signal/signal.tex,
6237 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
6238 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
6239 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
6240 makeinfo node defaulting to get better Info file node structure.
6241 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
6242 Also include a few formerly missing sections (subroutines).
6244 * doc/doc.str: delete fossil expansion for "func"
6246 * default.menu, no-signal.menu: delete.
6248 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
6249 method used to adjust doc for missing "signals" chapter when
6250 signal_dir is empty.
6252 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6254 * configure.in: added testsuite/libm.sac
6256 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
6258 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
6261 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
6263 * libm/Makefile.in: Use $(MAKE) rather than make, and define
6264 MAKEOVERRIDES to be empty.
6266 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
6268 * configure.in: Don't build mips-*-* with -msoft-float, since that
6269 makes it incompatible with hard floating point.
6271 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6273 * Makefile.in: added recursive 'make check'
6275 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6277 * configure.in: added ./testsuite ./testsuite/libm.paranoia
6278 * ./testsuite/Makefile.in: created
6279 * ./testsuite/libm.paranoia: paranoia tests added
6281 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
6283 * configure.in: For mips-*-* set machine_dir to mips.
6285 * libc/machine/mips: New directory.
6286 * libc/machine/mips/Makefile.in: New file.
6287 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
6289 * libc/include/machine/setjmp.h: Added __mips__ case.
6291 * libc/machine/lmips: Removed unused and useless directory.
6293 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
6295 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
6297 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
6299 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
6302 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
6304 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
6307 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
6309 * libm/test/convert.c: structure member errno -> errno_val.
6310 Must include <errno.h> to use errno, it's a macro now.
6311 * libm/test/math.c: Ditto.
6312 * libm/test/math2.c: Include errno.h.
6313 * libm/test/string.c: Ditto.
6314 * libm/test/test.h: structure member errno -> errno_val.
6315 Remove extern int errno decl.
6317 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
6319 * libc/stdio/Makefile.in: Added dependencies on local header
6321 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
6324 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
6326 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
6328 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
6330 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
6333 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
6334 * libc/stdio/local.h: Add prototype for _licvt.
6336 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
6337 instead of malloc,reealloc.
6339 * libc/stdlib/local.h: New file.
6340 * libc/stdlib/efgcvt.c: #include local.h.
6341 (gcvt): Fix call to _gcvt.
6342 * libc/stdlib/ecvtbuf.c: #include local.h.
6344 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
6345 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
6346 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
6348 * libc/stdlib/atexit.c: moved global data to struct _reent.
6349 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
6351 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
6353 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
6355 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
6356 here from ../reent.h.
6358 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
6360 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
6361 should be provided in both libc.a and libm.a.
6362 (libc.a): Depend on targ-include and libm.a. Copy
6363 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
6364 (libm.a): Depend on targ-include.
6365 * configure.in (subdirs): Removed libc/math.
6367 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6369 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
6371 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
6373 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
6374 sys/reent.h instead of reent.h.
6375 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
6376 headers moved to sys/reent.h.
6377 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
6378 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
6379 __need__MAX_SIGNALS defined.
6380 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
6381 std{in,out,err} refer to new _std{in,out,err} members.
6383 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
6385 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
6388 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
6390 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
6391 rather than whatever macro seterrno() has.
6393 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
6395 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
6396 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6398 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
6401 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
6402 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
6403 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6405 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
6406 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6408 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
6409 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
6410 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
6411 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
6412 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
6413 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
6414 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
6415 renamed to _xxx_r. struct reent_struct renamed to struct _reent
6416 for ANSI. structure members given leading "_" for ANSI. Use
6417 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6419 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
6420 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
6421 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
6422 reent_struct renamed to struct _reent for ANSI.
6423 Structure members given leading "_" for ANSI.
6424 _CONST --> const in prototypes.
6425 Use _HAVE_STDC instead of __STDC__.
6427 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
6429 struct reent_struct renamed to struct _reent for ANSI.
6430 Structure members given leading "_" for ANSI.
6432 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
6434 struct reent_struct renamed to struct _reent for ANSI.
6436 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
6437 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
6438 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
6439 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
6440 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
6442 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
6443 signal.h, stdio.h, stdlib.h, string.h, time.h}:
6444 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6445 #ifndef _STRICT_ANSI non-ANSI routines.
6446 Reentrant routines renamed from _r_xxx to _xxx_r.
6447 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
6448 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
6449 Clean up namespace (structure members have leading "_").
6450 struct reent_struct renamed to struct _reent for ANSI compliance.
6451 _CONST --> const in function prototypes.
6453 * libc/include/string.h: Add NULL and size_t.
6455 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
6456 unlink, wait, wait4. Reentrant syscall routines close, fork,
6457 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
6459 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
6460 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
6461 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
6462 write.S}: Define reentrant versions.
6463 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
6466 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
6468 * libc/include/stdlib.h (RAND_MAX): Fix value.
6470 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
6472 * libc/sys/a29khif/_main.c: Removed unnecessary file.
6473 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
6474 VPATH support targets after all: target.
6476 * stub/mvme135/mvme.S: Renamed exceptionhandler to
6477 exceptionHandler, which is what mvme135-stub.c expects.
6479 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
6481 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
6483 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
6484 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
6487 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
6489 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
6491 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
6493 libc/reent/fstatr.c (_r_fstat): Ditto.
6494 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
6495 libc/reent/sbrkr.c (_r_sbrk): Ditto.
6496 libc/reent/statr.c (_r_stat): Ditto.
6498 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
6499 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
6500 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
6501 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
6502 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
6503 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
6504 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
6505 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
6506 (__swrite): Ditto for _r_lseek, _r_write.
6507 (__sseek): Ditto for _r_lseek.
6508 (__close): Ditto for _r_close.
6509 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
6511 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
6512 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
6514 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
6515 to make reent_struct the first argument (and thus consistent with
6516 the rest of newlib).
6518 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
6519 reference to __STDC__.
6521 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
6523 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
6526 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
6528 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
6530 libc/stdio/fclose.c (fclose): Ditto.
6532 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
6534 * Run through indent and rename reentrant routines for ANSI.
6535 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
6536 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
6537 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
6538 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
6539 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
6540 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
6541 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
6542 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
6543 vsprintf.c wbuf.c wsetup.c local.h}
6545 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
6547 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
6548 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
6549 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
6550 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
6551 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
6552 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
6554 * Run through indent.
6555 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
6556 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
6557 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
6558 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
6561 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
6562 localtime.c mktime.c strftime.c time.c}:
6563 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
6565 * Reformatting + renaming (for ANSI, GNU style, consistency).
6566 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
6567 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6568 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6570 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
6572 * libc/include/stdio.h (stdin_r): Fix.
6574 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
6576 * Makefile.in: Unexport some variables to keep GNU make from
6577 putting them in the environment and using up needed ARG_MAX space
6578 (a hack is used to let this work with older makes as well).
6580 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
6582 * Makefile.in: Use $(MAKE) rather than make.
6583 (MAKEOVERRIDES): Define to be empty.
6584 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6585 (libc.a, libm.a): Depend on targ-include.
6586 * host/any (LD): Don't define.
6587 (INCLUDES): Use targ-include.
6588 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6589 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6590 * libc/Makefile.in: Use $(MAKE) rather than make.
6591 (MAKEOVERRIDES): Define to be empty.
6592 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6593 (all): Rewrote to be slightly smaller.
6594 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6596 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6597 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6599 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
6601 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6604 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
6606 * Changes for reentrancy.
6607 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6608 Use ptr->_errno, not errno.
6609 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6610 libc/stdio/remove.c (remove_r): New function.
6611 libc/stdio/rename.c (rename_r): New function.
6612 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6613 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6614 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
6615 reentrant versions of system calls.
6616 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
6617 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
6618 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
6619 libc/stdio/findfp.c: Include <string.h>.
6620 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
6622 libc/stdio/wbuf.c: Include "fvwrite.h"
6624 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
6626 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
6627 (NULL): Don't define if already defined.
6628 libc/stdlib/system.c: Call reentrant versions of system calls.
6629 (system_r): New function.
6631 * Changes for reentrancy.
6632 libc/include/_ansi.h (_PARAMS): New macro.
6633 libc/include/errno.h: Define errno as a macro that calls __errno.
6634 (__errno_r): New macro for reentrant code.
6635 libc/include/math.h: Include reent.h. Declare many reentrant
6637 (signgam): Now a macro, not a variable.
6638 (struct exception): Added err field.
6639 libc/include/reent.h: Don't declare __sglue. Added function
6641 (struct reent_struct): Moved errno to beginning. Added _signgam.
6642 libc/include/stdio.h, libc/include/stdlib.h: Added function
6645 * More reentrancy hacking.
6646 libc/errno/errno.c (__errno): New function.
6647 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
6648 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
6651 * Added many new reentrant functions to libm/math/*.
6652 libm/math/error.c (__matherror): Added reent_struct pointer
6653 argument. Changed all callers.
6654 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
6655 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
6656 libm/math/tan.h: Removed obsolete unused header files.
6658 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
6660 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
6662 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6664 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
6667 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6669 * libc/libc.texinfo: comment out reentrancy chapter (duh)
6671 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6673 * libc/reent/reent.tex: New file. (text from
6674 newlib/libc/libc.texinfo)
6675 * libc/stdio/tmpnam.c: fixed doc typo
6676 * libc/stdlib/rand.c: fixed doc typo
6678 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6680 * libc/reent/reent.tex: New file. (text from
6681 newlib/libc/libc.texinfo)
6683 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6685 support for reentrancy
6686 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
6688 * libc/errno/errno.c, libc/include/ieeefp.h,
6689 libc/include/locale.h, libc/include/reent.h,
6690 libc/include/signal.h, libc/include/stdio.h,
6691 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
6692 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
6693 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
6694 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
6695 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6696 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
6697 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
6698 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
6699 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
6700 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
6701 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
6702 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
6703 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
6704 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
6705 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
6706 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
6707 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
6708 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
6709 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
6710 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
6711 libc/time/strftime.c: modify to provide reentracy.
6714 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
6715 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
6716 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
6717 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
6718 mstats_r, realloc_r, localeconv_r, setlocale_r
6720 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
6722 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
6723 libc/include/sys/config.h, libc/include/sys/signal.h,
6724 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
6725 provided macros (such as m68000), use the ansi version
6726 (__m68000__) so that the library can be used with code compiled
6727 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
6730 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6732 * configure.in (sparc*): Don't set -fsoft-float for sparc
6733 configurations. Do set -fsoft-float for sparclite configurations.
6735 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6737 * default.menu, no-signal.menu: alternate forms of libc main menu
6738 (in newlib rather than newlib/libc due to configuration restrictions)
6740 * configure.in: select one of the two menus above, link to
6743 * libc/libc.texinfo: include menu from separate file
6745 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
6747 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
6748 (info): Split long shell command in half.
6749 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
6750 sub-makes, just CHEW and TARGETDOC.
6751 (targetdep.tex): Removed now special handling of sys and machine
6752 subdirectories, made obsolete some time ago.
6753 * libc/machine/Makefile.in (doc): Don't pass everything to
6754 sub-make, just CHEW and TARGETDOC.
6755 (Makefile): New target.
6756 * libc/sys/Makefile.in (Makefile): New target.
6758 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
6760 * Makefile.in (here and most subdirectories): Only pass down CHEW
6761 and TARGETDOC when making info, not for other targets.
6763 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
6764 $(AR_FLAGS) rather than $(ARUPDATE).
6766 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
6768 * Try to reduce command line length:
6769 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
6770 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
6771 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
6772 (info): Pass CHEW to other subdirs.
6774 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
6776 * configure.in: add signal_dir, like unix_dir, but by default it
6777 is set to "signal" so that a29khif can turn it off (since a29khif
6778 has raise() as part of machine-specific signal.s.)
6780 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6782 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
6783 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
6785 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
6786 libc/stdio/vfprintf: type lint.
6787 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
6789 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
6791 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
6793 * stub/mvme135/mvme135-asm.S: new file.
6794 stub/mvme135mvme135-stub.c: moved all assembler routines into
6796 stub/mvme135/Makefile.in: build mvme135-stub.o.
6798 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
6800 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
6801 sub-Makefiles instead, to try to avoid line length limitations.
6803 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
6805 * libc/include/unistd.h (read, write): Use void* instead of
6808 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
6810 * stub/go32/resetpc: sample script to send a reset packet to the
6813 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
6814 DOS environment, which compiles with Turbo C.
6816 * stub/go32/DSER32.LNK: new file, linker commands for serial
6819 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
6820 start up message to identify version; call set_debug_traps.
6822 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
6823 keyboard interaction); call handle_exception() in go_til_stop,
6824 rather than return, so that the remote stub gets control.
6826 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
6827 rename, rather than mv), set flags that work with current Turbo C,
6828 including using the /3 flag; also, add commands to build dser32.
6830 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
6831 default Turbo C installation (\tc rather than \usr)
6833 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
6836 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6838 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
6840 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6842 * libc/stdio/cvt.c (licvt): new function to convert ints when
6843 sizeof(int) != sizeof(long).
6845 * libc/include/stdio.h: added prototype for iprintf.
6846 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
6848 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
6850 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
6851 __REGISTER_PREFIX__.
6853 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
6855 * libc/sys/m68kbare: moved into stub directory.
6857 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
6859 * configure.in, Makefile.in: created new directory stub, to hold
6860 sample code for specific targets.
6862 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
6864 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
6865 in the unified libc/include/sys/fcntl.h.
6867 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
6869 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
6870 printed .01, not 0.01.
6872 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
6874 * configure.in: compile with -m68000 for m68* targets.
6876 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
6878 * libm/math/remainder.c (remainder): document the svr4 and sunos
6879 references used to construct the function.
6881 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
6883 * libm/math/remainder.c (rint, remainder): fix old typos.
6884 * libm/math/Makefile.in: actually build remainder.c (functions
6885 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
6888 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
6890 * libc/string/bcopy.c: BSD version works on overlapping strings,
6893 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
6896 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
6898 * Makefile.in (docs): new target.
6900 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
6902 * libc/include/sys/times.h: define clock_t as required by POSIX.
6903 libc/include/time.h: protect clock_t from multiple definitions.
6905 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6907 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
6908 does not need more than the original three iterations to get
6909 within 1 ulp. (Paranoia tests for rounding to better than that,
6910 but further iterations *don't* help, only more subtle changes
6913 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
6915 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
6916 were doing nothing useful.
6918 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
6920 * configure.in: define MALLOC_PROVIDED for vxworks targets;
6921 removed sys_dir settings of vxworks68 and vxworks960.
6922 host/any: don't pass -nostdinc to gcc, since newlib no longer
6923 provides all required header files.
6925 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
6926 is not defined; this provides a hook for VxWorks.
6928 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6930 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
6931 buffer if buf is NULL, don't do it here -- it is already being
6932 done by makebuf elsewhere in stdio.
6934 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
6936 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
6937 that C programs can call functions without using initial
6940 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
6942 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
6944 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
6946 * configure.in: set TARGET_CFLAGS for certain CPU types to
6949 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6951 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
6953 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
6955 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
6958 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
6960 * libc/include/stdio.h: define __need___va_list before including
6961 <stdarg.h>, to avoid defining va_arg, et. al.
6963 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
6965 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
6966 (don't cd to the user's home directory).
6968 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
6969 In general this is the wrong thing to do, but I can't get around
6970 GNU make's insistence on passing command line arguments any other
6973 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
6975 * configure.in: always configure the libc/sys directory, since it
6976 now provides a required documentation file.
6978 * Makefile.in: replaced all instances of $(MAKE) with make. In
6979 general this is the wrong thing to do, but I can't get around GNU
6980 make's insistence on passing command line arguments any other way.
6982 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
6984 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
6987 * libc/stdio/local.h: include <stdarg.h> to define va_list.
6988 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
6990 * libc/include/float.h, libc/include/stdarg.h,
6991 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
6993 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
6994 <stdarg.h>, not from <machine/types.h>. Protect definition of
6996 libc/include/time.h: get size_t from stddef.h. Protect definition
6998 libc/include/machine/limits.h: override gcc <limits.h> by defining
6999 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
7000 get correct INT_MIN and LONG_LONG values.
7001 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
7002 size_t or va_list at all; they're now gotten from stddef.h
7004 libc/include/machine/varargs.h: removed; use gcc version instead.
7005 libc/include/sys/types.h: explicitly include <machine/types.h>.
7007 * libm/math/sqrt.h: using the fp-bit routines appears to require
7010 * Makefile.in, host/any: let system include files override machine
7013 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7015 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
7016 override _*_T_ definitions defaulted here.
7018 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
7020 * Makefile.in (install): install the include files in
7021 $(tooldir)/include, not $(exec_prefix)/include.
7023 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
7025 * Makefile.in (install): fixed typo, and changed install to not
7026 force rebuild of libc.a and libm.a.
7028 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
7030 * libc/sys/a29khif/*: Changed all .include's to include
7031 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
7032 that they will be installed for the user.
7034 * Makefile.in (all): create targ-include, a directory holding the
7035 machine and system specific header files during the build.
7036 (install): fixed installation of machine and system specific
7039 * Makefile.in: fixed comment.
7040 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
7041 we can pass $(INCLUDES) to it.
7043 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
7045 * libc/include/sys/param.h: new generic file, which may be
7046 overridden for specific systems.
7048 * libc/include/sys/signal.h: define all ANSI signal names, and
7049 NSIG (which is not ANSI) for a29k.
7051 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
7053 * Makefile.in: don't pass down arguments the lower level makes
7055 * libc/Makefile.in: recurse directly, rather than using subdir_do,
7056 in hopes of avoiding argument length limits.
7057 * libm/Makefile.in: recurse directly, rather using subdir_do, in
7058 hopes of avoiding argument length limits.
7060 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
7062 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
7065 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
7067 * Fixed make info and make install-info for newlib, changing most
7068 Makefile.in and several *.tex files. Moved doc directory from
7071 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
7072 Should be rewritten.
7074 * libc/string/strings.tex: renamed node index to node index
7075 function, so that it does not conflict with the top level index
7078 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
7080 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
7082 * Overhauled general configuration for newlib. Eliminated all
7083 target dependent Makefile fragments. Create libraries in newlib
7084 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
7085 than CROSS_CC, et. al. Broke make docs; will fix later.
7087 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
7088 Should be rewritten.
7090 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
7092 * libc/configure.in: cleaned up somewhat; switch on ${target}
7093 rather than ${target_alias}.
7094 * libm/configure.in: cleaned up somewhat; switch on ${target}
7095 rather than ${target_alias}.
7097 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
7098 * libc/include/ctype.h: marked _ctype_ as _CONST.
7100 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
7103 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
7104 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
7105 libc/stdio/gets.c (gets): removed non-ANSI warning message.
7106 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
7108 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
7109 bigtens, tinytens): marked arrays _CONST.
7110 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
7111 rather than a static variable.
7113 * libc/time/asctime.c (asctime), libc/time/localtime.c
7114 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
7115 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
7116 mname_len, mname): Marked static arrays _CONST.
7118 * libm/math/gamma.h: made local variables non-static.
7120 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
7121 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
7124 * libm/math/constants.c: removed file, because the constants it
7125 defined were never referenced.
7126 libm/math/Makefile.in: removed references to constants.c.
7127 libm/math/mathimpl.h: removed declarations of constants.
7129 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
7131 * libc/include/machine/varargs.h: only call __builtin_saveregs if
7132 it is sensibly defined in libgcc2. Checks preprocessor defines,
7133 which is not a good solution.
7135 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
7137 * libm/frexp.c: handle denormalized numbers as arguments.
7139 * libm/math/Makefile.in: added some dependencies for .c files
7140 which include local .h files.
7142 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
7144 * libc/configure.in: set target_alias for OSE*. Replace
7145 target_makefile_frag if it is blank.
7147 * libc/Makefile.in: make sure everything is passed to subsidiary
7148 makes; create all directories when installing.
7150 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
7151 CROSS_ARUPDATE instead of AR.
7153 * libm/configure.in: set target_alias for OSE*. Replace
7154 target_makefile_frag if it is blank.
7156 * libm/Makefile.in: make sure everything is passed to subsidiary
7157 makes; create all directories when installing.
7159 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
7161 * add following change from libc copy.
7163 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7165 * libc/libc.texinfo: make copyright disclaimers appear on back of
7166 title page; make format of same slightly less ugly; avoid using
7167 underbars in section headings (avoids nasty texinfo bug in table
7170 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
7171 comments only) avoid using underbars in section headings
7173 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7174 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
7175 changes in comments only): shorten headings ieeefp/infinity.c,
7176 ieeefp/isnan.c: (doc, comments only) more informative headings
7178 * libc/math/bessel.c: (doc, comments only) shorten heading
7180 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
7181 (doc, comments only) shorten headings
7183 * libc/time/localtime.c (doc, comments only): shorten headings
7185 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7187 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
7188 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
7190 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
7191 only) more informative headings
7192 * libm/math/bessel.c: (doc, comments only) shorten heading
7194 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7196 * .../Makefile.in: use CROSS_ARUPDATE consistently.
7197 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
7198 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
7199 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
7200 defined, the one from the .mt file will be correct.
7201 * libc/include/machine, libc/include/sys: created, and populated
7202 with common files from machine/*/machine. ifdefs were used for
7203 most, typically by handling exceptions first and then filling in
7204 defaults. Files with D.J. Delorie copyright #included rather than
7205 copied. Most files in include/sys really were the same in the
7207 * libc/include/...: cleaned up use of _EXFUN.
7208 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
7209 it with double quotes, not angles.
7211 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
7213 * libc/Makefile.in: always create installation directories.
7215 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7217 * libc/configure.in: handle host properly (using canonical
7218 triples), better error message for the case of target not found
7220 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
7222 * libc/Makefile.in (insincdir): Ensure this directory exists
7223 before attempting installation.
7225 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7227 * libc/stdlib/assert.c: now calls abort like it should
7228 * libc/sys/a29khif: many many patches for 29khif work
7229 * libc/machine/i386: gnulib2 expanded there.
7231 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7233 Added accurate fp conversion routines to stdlib, moved dcvt from
7234 stdio to stdlib and called it ecvtbuf:
7235 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
7236 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
7238 * libc/libc.texinfo: Modifed to include the copyright info from
7240 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
7241 * libc/test/ : many vector which tested for the implementation
7242 defined returns of strange conversion requests have been updated
7243 to relflect the new implementation
7245 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7247 * libc/libc.texinfo: new chapter on variable arg lists
7248 (stdarg.h/varargs.h)
7249 * libc/libc.texinfo: new title
7250 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
7251 (doc only) shorter headings for better formatting.
7253 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7255 * libc/libc.texinfo: three more info menu entries
7256 * libc/locale/locale.tex: new chapter
7257 * libc/locale/locale.c: new doc for setlocale, localeconv
7258 * libc/locale/Makefile.in: use new locale doc
7259 * libc/signal/signal.tex: new chapter
7260 * libc/signal/raise.c, libc/signal/signal.c: new doc
7261 * libc/signal/Makefile.in: use new doc
7262 * libc/time/time.tex: new chapter
7263 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
7264 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
7265 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
7266 * libc/time/Makefile.in: use new doc
7268 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7270 * libm/math/log1p.c: split to use the new function way of float
7271 function definition. math/log1p.h deleted
7272 * libm/math/scalb.c: obsolete and deleted
7273 * libm/math/scalbn.c: created from part log1p.c
7274 * libm/math/Makefile.in: know about log1p and scalbn
7276 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7278 * libc/ctype/isupper.c: revise doc;
7279 libc/ctype/ctype.tex: use doc from isupper.c
7281 * libc/string/bzero.c: new doc
7283 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7285 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
7287 * libc/stdlib/Makefile.in: extract new doc
7288 * libc/stdlib/stdlib.tex: use new doc
7290 * libc/string/strerror.c: expanded doc.
7292 * libc/stdio/Makefile.in: extract doc from more files
7293 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
7294 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
7295 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
7296 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
7297 libc/stdio/vsprintf.c: new doc
7298 * libc/stdio/stdio.tex: use new doc
7300 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7302 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
7303 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
7305 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
7308 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
7309 * libc/stdio/setbuf.c: added ansi style definition.
7310 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
7311 buffer if none provided.
7312 * libc/stdio/tmpfile.c: lint
7313 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
7314 rather than using static, also make sure file isn't already
7315 present. Uses P_tmpdir. (tempnam): rewritten to use new
7316 subroutine, and uses P_tmpdir.
7317 * libc/stdio/siprintf.c: created
7319 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7321 Release 1.03 for NEC, major mods. Main differences from release
7324 More tests in test/:
7325 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
7326 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
7327 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
7328 get/set mask, get/set sticky and get/set roundtoi. Tests
7329 that setting the bits changes the way arithmetic is done.
7330 * string.c: added test to make sure memcmp does it with unsigned
7332 * test.c: cleaned up and removed lint.
7333 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
7334 dvec.c: tests for string to value conversions, sprintf, scanf,
7335 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
7336 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
7337 rounding in sprintf too.
7338 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
7339 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
7340 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
7342 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
7346 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
7347 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
7348 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
7349 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
7350 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
7352 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
7353 * Method of producting float versions of double functions has
7354 changed, functions will be modified gradually. So far:
7355 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
7356 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
7358 * libc/string/memcmp.c: now uses unsigned chars
7359 * libc/string/bcmp.c, libc/string/strcpy.c,
7360 libc/stsring/strxfrm.c: fixed doc
7361 * libc/sys/sysvnecv70.tex: fix example of sbrk code
7364 version-control: never