1 2000-12-04 Joel Sherrill <joel@OARcorp.com>
3 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
5 2000-12-04 Joel Sherrill <joel@OARcorp.com>
7 * configure.host (or16, or32): New entries for OpenCores
9 (*-*-rtems*): Add -DNO_EXEC.
11 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
13 * libc/include/sys/errno.h: Added comments on many error numbers.
14 * libc/string/strerror.c: Added some more strings.
16 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
18 * libc/sys/sh/syscalls.c (_link): New stub.
20 2000-11-29 Nick Clifton <nickc@redhat.com>
22 * configure.host: Add xscale target.
23 * libc/machine/xscale: New directory.
24 * libc/machine/xscale/Makefile.am: New file.
25 * libc/machine/xscale/Makefile.in: New file.
26 * libc/machine/xscale/aclocal.m4: New file.
27 * libc/machine/xscale/configure: New file.
28 * libc/machine/xscale/configure.in: New file.
29 * libc/machine/xscale/memchr.S: New file.
30 * libc/machine/xscale/memcmp.S: New file.
31 * libc/machine/xscale/memcpy.S: New file.
32 * libc/machine/xscale/memmove.S: New file.
33 * libc/machine/xscale/memset.S: New file.
34 * libc/machine/xscale/strchr.S: New file.
35 * libc/machine/xscale/strcmp.S: New file.
36 * libc/machine/xscale/strcpy.S: New file.
37 * libc/machine/xscale/strlen.S: New file.
39 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
41 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
42 avoid compiler warnings.
44 2000-11-22 Michael Meissner <meissner@redhat.com>
46 * libc/posix/execl.c (execl): Don't reference environ directly,
47 reference it only via a static pointer to avoid problems with some
48 shared library systems and with different uses of small data where
49 the user specifies his own version of environ.
50 * libc/posix/execv.c (execv): Ditto.
51 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
52 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
53 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
55 * libc/stdlib/getenv.c (environ): Delete unused reference to
58 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
60 * libc/stdlib/system.c: Ditto.
62 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
64 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
65 including windows headers.
67 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
69 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
70 * libc/include/dirent.h: Added definition of MAXNAMLEN if
71 not defined by sys/dirent.h.
72 * libc/posix/execvp.c: Added include of dirent.h to get
73 MAXNAMLEN value which used to be in unistd.h.
75 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
77 * libc/include/sys/types.h: Change type of i to `size_t' in
78 FD_ZERO macro to avoid compiler warnings.
80 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
82 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
83 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
85 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
87 * libc/include/sys/unistd.h: Add defines for sysconf values
88 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
91 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
93 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
94 declarations for __CYGWIN__.
96 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
98 * libc/signal/signal.c (__sigtramp_r): ISO C requires
99 case labels to be integral constant expressions, so
100 use an if/else tree instead.
101 (_raise_r): Likewise.
103 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
105 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
106 clipping patch from e-mail reader.
108 2000-09-13 Will Cohen <wcohen@redhat.com>
110 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
111 Added return value 0.
112 (_longjmp): Allow longjmp to return value of second argument
115 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
117 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
118 inline code to prevent having to include another header file.
120 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
122 * Makefile.am: Fix space vs. tab problem in install-data-local.
123 * Makefile.in: Regenerate.
125 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
127 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
128 (_EXPARM): New macro for defining a function parameter.
129 * libc/include/stdlib.h: Use _EXPARM.
130 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
132 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
134 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
135 required, as documented in the gnu coding standards.
136 * Makefile.in: Regenerate.
138 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
140 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
141 make O_NDELAY and O_NONBLOCK have the same value.
143 2000-08-30 Kazu Hirata <kazu@hxi.com>
145 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
147 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
149 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
150 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
151 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
154 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
156 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
157 * libc/include/string.h: Don't include <sys/types.h>,
158 as it causes really bad namespace pollution. Don't declare
159 swab(), it is properly declared in unistd.h.
161 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
163 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
164 (broken) support for non-existent /etc/passwd field "comment".
166 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
168 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
169 only if _DIRENT_HAVE_D_NAMLEN is defined.
170 (alphasort): aligned prototype with
171 libc/sys/cygwin/sys/dirent.h and simplified function body.
172 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
173 long telldir (DIR *) as mentioned in annex B of POSIX.1
175 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
177 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
178 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
179 Added __CLI and __STI macros (controlled via
180 _I386MACH_ALLOW_HW_INTERRUPTS macro).
181 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
182 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
183 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
184 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
185 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
186 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
187 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
188 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
189 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
190 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
191 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
192 for all global entry points.
193 * libc/machine/i386/setjmp.S: removed code replicated in
194 libc/machine/i386/i386mach.h and included i386mach.h instead;
195 Use __CLI and __STI instead of cli and sti.
197 2000-08-25 DJ Delorie <dj@redhat.com>
199 * libc/include/sys/unistd.h (environ): this one isn't from the
202 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
204 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
205 environ when compiling under cygwin since it is already declared in
208 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
210 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
211 like x << y-z to the equivalent x << (y-z).
212 (d2b): changed if statements with assignment to perform the
213 assignment prior to the if check.
214 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
215 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
216 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
217 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
219 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
220 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
222 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
224 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
225 clarify && and || precendence (and to remove pascalism).
226 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
227 * libm/math/s_infconst.c: added another pair of braces to all
228 initializers for __infinity (need three: for __infinity[1] array,
229 for union __dmath, and for i[2]).
231 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
233 * libc/stdlib/abort.c: changed description: uses "raise" instead of
234 "getpid" and "kill"; added: uses "write" and "_exit".
235 Also included unistd.h for "_exit" prototype.
236 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
237 reent.h for "_fork_r" and "_wait_r" prototypes.
238 (do_system): changed extern char *environ[] to POSIX-friendly
239 extern char **environ.
240 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
242 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
243 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
244 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
245 * libc/reent/openr.c: included fcntl.h for "open" prototype.
246 * libc/reent/signalr.c: included signal.h for "kill" prototype,
247 unistd.h for "getpid" prototype.
248 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
249 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
250 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
251 prototype. Also included stdlib.h for "abort", string.h for
252 "strdup" and "strncmp" prototypes.
253 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
254 "strncpy", unistd.h for "read" and "close" prototypes.
255 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
258 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
260 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
261 used later (ifdef __SCLE)
262 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
263 used later (ifdef MB_CAPABLE)
264 * libc/string/memset.c (memset): removed unused variables "count"
266 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
267 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
268 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
271 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
273 * libc/stdlib/envlock.c: changed documented "__env_lock" and
274 "__env_unlock" prototype from "void *" or "char *" to
275 "struct _reent *" to match real function. Also added include
277 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
278 "__malloc_unlock" prototype from "void *" or "char *" to
279 "struct _reent *" to match real function.
280 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
281 prototypes (for getenv_r.c and setenv_r.c).
283 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
285 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
286 and prototype in cygwin's utmp.h
288 2000-08-16 Eric Fifer <efifer@sanwaint.com>
290 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
292 2000-08-09 Nick Clifton <nickc@cygnus.com>
294 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
295 epilogue and to allow the functions to be used in a Thumb based
298 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
300 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
301 so size of 0 results in nothing being written to string.
302 Also fixed code so that when size is non-zero, there is only
303 a maximum of size - 1 characters written to the array and
304 a nul terminator is appended at the end.
305 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
307 2000-08-01 DJ Delorie <dj@redhat.com>
309 * libc/include/sys/config.h: define __IMPORT appropriately
310 * libc/include/ctype.h (_ctype_): use __IMPORT
311 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
312 * libc/include/math.h (__mb_cur_max): ditto
313 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
314 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
315 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
316 * libc/include/unistd.h (environ): ditto
318 2000-07-28 Michael Meissner <meissner@redhat.com>
320 * libc/include/math.h (__infinity): Declare as an array without
321 bounds to get around small data support. Rewrite Cygwin support
323 * libm/math/s_infconst.c (__infinity): Ditto.
324 * libm/mathfp/s_infconst.c (__infinity): Ditto.
326 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
328 * libc/include/math.h: Use appropriate dll import linkage for
329 __infinity under Cygwin.
331 2000-07-13 DJ Delorie <dj@cygnus.com>
333 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
335 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
337 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
338 to argument list for AngelSWI_Reason_GetCmdLine.
340 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
342 * configure.host: Add support for AVR target.
343 * libc/include/machine/ieeefp.h: Likewise.
344 * libc/include/sys/config.h: Likewise.
346 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
348 * README: Newlib 1.8.2 must be built in a separate directory
351 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
353 * libc/include/sys/reent.h (_rand_next): Added __extension__
354 qualifier as long long type is not strict ANSI.
355 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
356 to long long constant.
358 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
360 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
361 `setegid' provided by Cygwin.
363 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
365 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
368 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
370 * libc/include/sys/reent.h (_rand_next): Changed to
371 unsigned long long and moved to end of _reent struct in _new union.
372 (_REENT_INIT): Changed to move _rand_next initialization.
373 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
374 linear congruential algorithm that is used by DJGPP.
376 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
378 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
379 * libc/include/sys/config.h: Define __RAND_MAX.
381 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
383 * libc/stdlib/rand_r.c: New algorithm that meets minimal
386 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
388 * libc/include/string.h: Work around problem with strsignal and gdb.
390 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
392 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
393 * libc/include/malloc.h: Ditto.
394 * libc/include/process.h: Ditto.
395 * libc/include/stdio.h: Ditto.
396 * libc/include/stdlib.h: Ditto.
397 * libc/include/time.h: Ditto.
398 * libc/include/machine/setjmp.h: Ditto.
399 * libc/include/sys/errno.h: Ditto.
400 * libc/include/sys/signal.h: Ditto.
401 * libc/include/sys/stat.h: Ditto.
402 * libc/include/sys/time.h: Ditto.
403 * libc/include/sys/unistd.h: Ditto.
404 * libc/include/string.h: Ditto. strsignal should return a const char *.
406 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
408 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
409 * libm/common/s_log1p.c (log1p): Likewise.
410 * libm/common/s_scalbn.c (scalbn): Likewise.
411 * libm/math/e_log.c: Likewise.
412 * libm/math/e_asin.c: Likewise.
413 * libm/math/ef_asin.c: Likewise.
414 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
415 * libm/math/e_j1.c (pone, qone): Likewise.
416 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
417 * libm/math/ef_j1.c (ponef, qonef): Likewise.
418 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
419 * libm/mathfp/e_j1.c (pone, qone): Likewise.
420 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
421 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
423 2000-05-19 DJ Delorie <dj@cygnus.com>
425 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
426 (__sread): always read in binary mode
427 (__swrite): always write in binary mode
428 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
429 compatibility issues with different dll versions
430 * libc/stdio/fopen.c: use __stextmode
431 * libc/stdio/fdopen.c: ditto
432 * libc/stdio/freopen.c: ditto
433 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
434 * libc/stdio/local.h: declare __stextmode
436 2000-05-18 DJ Delorie <dj@cygnus.com>
438 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
440 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
442 * libc/include/ctype.h: Changed tolower and toupper macros
443 to use __extension__ to prevent pedantic warnings.
445 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
447 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
450 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
452 * libc/include/machine/ieeefp.h: Add ia64 support.
453 * configure.host: Likewise.
455 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
457 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
458 month is now padded with space, not zero. This now conforms to
461 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
463 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
464 host or network path") used by cygwin. Add some comments.
466 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
468 * libc/include/stdio.h (FILE): define __SCLE for "convert line
470 (__sgetc): convert line endings if needed
472 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
473 * libc/stdio/fopen.c (_fopen_r): ditto
474 * libc/stdio/freopen.c (freopen): ditto
475 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
476 * libc/stdio/fvwrite.c (__sfvwrite): ditto
478 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
480 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
481 post-increment when it is worth it, spacewise.
483 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
485 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
486 * libc/stdio/findfp.c (std): Added declaration of flags and file.
487 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
489 * libc/stdio/putchar.c (putchar): Added return statement.
490 * libc/stdio/refill.c (lflush): Added correct parentheses.
491 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
492 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
493 prints long value to use l qualifier.
494 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
495 messages and initialized local values: ilim, ilim1, and spec_case.
496 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
497 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
498 * libc/stdlib/mprec.c: Ditto.
499 * libc/stdlib/setenv_r.c: Ditto.
500 * libc/stdlib/strtod.c: Ditto.
501 * libc/stdlib/strtol.c: Ditto.
502 * libc/stdlib/strtoul.c: Ditto.
503 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
504 * libm/common/sf_log1p.c: Ditto.
505 * libm/common/sf_scalbn.c: Ditto.
506 * libm/math/ef_log.c: Ditto.
508 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
510 * libc/posix/execvp.c (execvp): Check path for
513 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
515 * libc/include/sys/unistd.h: Add prototypes for
516 fchmod, fchown, lchown.
518 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
520 * acinclude.m4: Changed release to 1.8.2.
521 * aclocal.m4 configure doc/aclocal.m4 doc/configure
522 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
523 libc/machine/configure libc/machine/a29k/aclocal.m4
524 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
525 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
526 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
527 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
528 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
529 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
530 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
531 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
532 libc/machine/i386/configure libc/machine/i960/aclocal.m4
533 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
534 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
535 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
536 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
537 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
538 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
539 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
540 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
541 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
542 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
543 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
544 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
545 libc/machine/v850/configure libc/machine/w65/aclocal.m4
546 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
547 libc/machine/z8k/configure libc/sys/aclocal.m4
548 libc/sys/aclocal.m4 libc/sys/configure
549 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
550 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
551 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
552 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
553 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
554 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
555 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
556 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
557 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
558 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
559 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
560 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
561 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
562 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
563 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
564 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
565 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
566 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
567 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
568 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
569 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
570 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
571 libm/aclocal.m4 libm/configure: Regenerated.
573 2000-03-24 Nick Clifton <nickc@cygnus.com>
575 * libc/sys/arm/syscalls.c: Fix compile time warnings.
576 (do_AngelSWI): Add "cc" to list o registers clobbered.
578 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
580 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
581 information to be clobbered by an Angel C library support syscall.
583 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
585 * libc/stdlib/envlock.c: Fixed comment typo.
587 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
589 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
590 code to update nread as each character is processed instead
591 of using buffer contents which throw away leading zeroes.
593 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
595 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
597 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
599 * libc/include/string.h: Include <sys/types.h>.
601 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
603 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
606 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
608 * libc/include/string.h: Changed last argument back to ssize_t
609 to make it compatible with XPG4 definition which is
610 defined in <unistd.h>. There is a conflict in the SVID 3
611 and XPG4 definitions and newlib will settle with XPG4.
612 * libc/string/swab.c: Ditto.
614 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
616 * libc/include/string.h: Changed last argument to size_t.
617 * libc/string/swab.c: Changed last argument to size_t.
619 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
621 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
622 (CHEWOUT_FILES): Added unlinkr.def.
623 * libc/reent/Makefile.in: Rebuilt.
624 * libc/sys.tex: Include unlinkr.def.
625 * libc/reent/linkr.c (_unlink_r): Moved to...
626 * libc/reent/unlinkr.c: ... new file.
628 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
630 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
631 (CHEWOUT_FILES): Added swab.def.
632 * libc/string/Makefile.in: Rebuilt.
633 * libc/string/string.tex: Include swab.def.
634 * libc/include/string.h (swab): Declare.
635 * libc/string/swab.c: New file.
637 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
639 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
640 (CHEWOUT_FILES): Added getw.def and putw.def.
641 * libc/stdio/Makefile.in: Rebuilt.
642 * libc/stdio/stdio.tex: Include getw.def and putw.def.
643 * libc/stdio/getw.c: New file.
644 * libc/stdio/putw.c: New file.
646 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
648 * libc/stdio/flags.c (__sflags): Added check that mode[1]
649 is non-null before looking at mode[2].
651 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
653 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
654 * libm/mathfp/sf_atan.c: Ditto.
656 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
658 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
660 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
662 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
665 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
667 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
668 call prior to calling _VFPRINTF_R so reentrant data area is set.
669 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
671 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
673 * libc/stdio/vfscanf.c (limits.h): #include.
674 (MAX_LONG_LEN): #define.
675 (__svfscanf): Handle floating point numbers with arbitrary amounts
678 2000-02-15 Nick Clifton <nickc@cygnus.com>
680 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
681 zero. Set the blocksize to 1024/
683 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
685 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
688 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
690 * acinclude.m4: Changed include directory for winsup headers.
691 * aclocal.m4 configure libc/aclocal.m4
692 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
693 libc/locale/Makefile.in libc/machine/aclocal.m4
694 libc/machine/configure libc/machine/a29k/aclocal.m4
695 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
696 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
697 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
698 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
699 libc/machine/fr30/configure
700 libc/machine/h8300/aclocal.m4
701 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
702 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
703 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
704 libc/machine/i386/configure libc/machine/i960/aclocal.m4
705 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
706 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
707 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
708 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
709 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
710 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
711 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
712 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
713 libc/machine/powerpc/configure
714 libc/machine/sh/aclocal.m4
715 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
716 libc/machine/sparc/configure
717 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
718 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
719 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
720 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
721 libc/misc/Makefile.in libc/posix/Makefile.in
722 libc/reent/Makefile.in
723 libc/signal/Makefile.in
724 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
725 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
726 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
727 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
728 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
729 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
730 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
731 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
732 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
733 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
734 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
735 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
736 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
737 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
738 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
739 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
740 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
741 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
742 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
743 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
744 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
745 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
746 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
747 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
748 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
749 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
750 libm/configure: Regenerated.
752 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
754 * libc/stdlib/putenv_r.c (_putenv_r): New file.
755 * libc/stdlib/strdup_r.c (_strdup_r): New file.
756 * libc/include/string.h: Added _strdup_r.
757 * libc/stdlib/putenv.c: Added call to reentrant version.
758 * libc/stdlib/strdup.c: Ditto.
759 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
760 * libc/include/stdlib.h: Ditto.
761 * libc/stdlib/Makefile.in: Regenerated.
762 * libc/string/Makefile.in: Regenerated.
763 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
764 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
765 management calls to reentrant versions.
766 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
767 * libc/stdlib/wctomb.c: Ditto.
768 * libc/stdlib/mblen.c: Ditto.
769 * libc/stdlib/mbstowcs.c: Ditto.
770 * libc/stdlib/mbtowc.c: Ditto.
771 * libc/stdlib/getenv.c: Ditto.
772 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
775 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
777 patch from Corinna Vinschen <corinna@vinschen.de>
778 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
780 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
782 * libm/mathfp/s_atangent.c: Fix exponent calculation.
783 * libm/mathfp/s_ldexp.c: Ditto.
784 * libm/mathfp/sf_atangent.c: Ditto.
785 * libm/mathfp/sf_ldexp.c: Ditto.
787 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
789 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
790 * libc/include/locale.h: define NULL to be 0.
792 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
794 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
797 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
799 * libc/machine/mn10300/setjmp.S: Handle am33.
801 1999-11-26 Nick Clifton <nickc@cygnus.com>
803 * libc/sys/arm/syscalls.c: Add function prototypes.
804 (stack_ptr): Move declaration before function definitions.
806 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
808 * NEWS: Updated version information.
811 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
813 * libc/machine/i386/strchr.S: Fixed alignment test.
815 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
817 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
819 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
821 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
822 ensuring that there is space between the two.
824 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
826 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
829 1999-10-08 Vadim Egorov <egorovv@1c.ru>
831 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
834 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
836 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
837 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
839 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
840 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
842 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
845 1999-09-13 DJ Delorie <dj@cygnus.com>
847 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
850 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
852 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
853 also note BUFSIZ as its size.
855 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
857 * configure.host: Corrected feature defines for RTEMS.
858 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
859 * libc/include/sys/stat.h: mkfifo() should take const path arg.
860 * libc/include/sys/unistd.h: pathconf() should take const path arg.
861 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
862 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
863 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
864 _PC_PRIO_IO, and _PC_SYNC_IO.
865 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
866 * libc/machine/m68k/Makefile.in: Regenerated.
867 * libc/machine/m68k/strcpy.c: New file.
868 * libc/machine/m68k/strlen.c: New file.
869 * libc/stdio/tmpnam.c: Always make the returned name usable.
870 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
871 * libc/sys/rtems/sys/dirent.h: New file.
872 * libc/sys/rtems/sys/types.h: Added dev_t.
874 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
876 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
878 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
880 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
883 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
885 patch from Jeff Johnston <jjohnstn@cygnus.com>
886 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
887 buffer is not in a useful state.
889 1999-09-01 Nick Clifton <nickc@cygnus.com>
891 * libc/sys/arm/syscalls.c (_link): Add stub.
893 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
895 * ftell.c (ftell): Use actual position within buffer for text mode.
896 * findfp.c (std): Initialize ptr->_bf._size.
898 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
900 * libc/include/sys/unistd.h: Add nice() declaration.
902 1999-08-09 Nick Clifton <nickc@cygnus.com>
904 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
905 declare as a thumb function so that the disassembler will see the
908 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
910 * libc/reent/reent.tex: Updated list of reentrant functions.
912 1999-07-09 Michael Meissner <meissner@cygnus.com>
914 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
916 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
918 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
920 * libc/stdio/snprintf.c: New file.
921 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
923 * libc/stdio/vsnprintf.c: New file.
924 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
925 * libc/stdio/Makefile.in: Regenerated.
927 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
929 Patch submitted by Egor Duda <deo@logos-m.ru>:
930 * libc/include/stdio.h: Add declarations for *nprintf.
931 * libc/stdio/sprintf.c (snprintf): New function.
932 (_snprintf_r): New function.
933 * libc/stdio/vsprintf.c (vsnprintf): New function.
934 (_vnsprintf_r): New function.
936 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
938 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
939 * libm/Makefile.am (stmp-targetdep): Ditto.
940 * libc/Makefile.in: Regenerated.
941 * libm/Makefile.in: Ditto.
943 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
945 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
946 * libm/Makefile.am (stmp-targetdep): Ditto.
947 * libc/Makefile.in: Regenerated.
948 * libm/Makefile.in: Ditto.
950 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
952 * Makefile.am: Removed dependencies on all-recursive and added "."
953 to the SUBDIRS list to prevent infinite recursion from occurring.
954 Also removed any references to EXTRA_DATA.
955 * libc/Makefile.am: Ditto.
956 * libc/machine/Makefile.am: Ditto.
957 * libc/machine/i386/Makefile.am: Ditto.
958 * libm/Makefile.am: Ditto.
959 * libc/sys/Makefile.am: Ditto.
960 * Makefile.in: Regenerated.
963 * doc/Makefile.in: Ditto.
964 * doc/aclocal.m4: Ditto.
965 * doc/configure: Ditto.
966 * libc/Makefile.in: Ditto.
967 * libc/aclocal.m4: Ditto.
968 * libc/configure: Ditto.
969 * libc/machine/Makefile.in: Ditto.
970 * libc/machine/aclocal.m4: Ditto.
971 * libc/machine/configure: Ditto.
972 * libc/machine/mn10300/Makefile.in: Ditto.
973 * libc/machine/mn10300/aclocal.m4: Ditto.
974 * libc/machine/mn10300/configure: Ditto.
975 * libc/sys/Makefile.in: Ditto.
976 * libc/sys/aclocal.m4: Ditto.
977 * libc/sys/configure: Ditto.
978 * libm/Makefile.in: Ditto.
979 * libm/aclocal.m4: Ditto.
980 * libm/configure: Ditto.
982 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
984 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
986 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
988 * libc/include/stdlib.h: Add reentrant routines.
989 * libc/stdlib/Makefile.am: Add reentrant routines.
990 * libc/stdlib/Makefile.in: Ditto.
991 * libc/stdlib/envlock.c: New file.
992 * libc/stdlib/envlock.h: New file.
993 * libc/stdlib/getenv.c: Modify to call reentrant routine.
994 * libc/stdlib/getenv_r.c: New file.
995 * libc/stdlib/mblen.c: Modify to call reentrant routine.
996 * libc/stdlib/mblen_r.c: New file.
997 * libc/stdlib/setenv.c: Modify to call reentrant routine.
998 * libc/stdlib/setenv_r.c: New file.
999 * libc/stdlib/stdlib.tex: Add reentrant routines.
1001 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
1003 * libc/include/sys/types.h: Define __MS_types__ whenever
1006 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
1008 * libc/include/machine/ieeefp.h: Always default to little
1009 endian if Windows, regardless of architecture.
1010 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
1011 regardless of architecture.
1013 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
1015 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
1016 _WIN32 isn't defined.
1018 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
1020 * libm/common/s_rint.c (rint): Add volatile qualifier for
1021 intermediate value w.
1022 * libm/common/sf_rint.c (rintf): Ditto.
1024 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
1026 * libc/sys/arm/syscalls.c (remap_handle): Added check to
1027 ensure that std streams are initialized before being referenced.
1029 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
1031 * README: Update reference to newlib@cygnus.com new
1032 newlib@sourceware.cygnus.com address.
1034 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
1036 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
1037 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
1038 defined, even if _WIN32 isn't defined.
1040 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
1042 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
1044 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1046 * libc/include/sys/reent.h: Change Long and ULong to __Long and
1048 * libc/stdlib/dtoa.c: Ditto.
1049 * libc/stdlib/mprec.c: Ditto.
1050 * libc/stdlib/mprec.h: Ditto.
1051 * libc/stdlib/strtod.c: Ditto.
1053 1999-04-21 Nick Clifton <nickc@cygnus.com>
1055 * configure.host (mcore): Remove mcore machine directory.
1057 1999-04-18 Nick Clifton <nickc@cygnus.com>
1059 * libc/include/machine/ieeefp.h: Add support for mcore target.
1060 * libc/include/machine/setjmp.h: Add support for mcore target.
1061 * configure.host: Add support for mcore target.
1063 1999-04-13 Mark Salter <msalter@cygnus.com>
1065 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
1066 * libc/sys/arm/syscalls.c: Added isatty.
1068 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1070 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
1071 insert zeroes after significant digits.
1073 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1075 * libc/stdio/vfprintf.c (cvt): Changed floating point
1076 cvt routine to use union used by dtoa to properly determine
1077 if the sign bit is on or not.
1078 * libc/stdio/vfieeefp.h: New file
1080 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1082 * aclocal.m4: Regenerated.
1083 * configure: Regenerated.
1085 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1087 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
1089 * libc/machine/i386/Makefile.in: Regenerated.
1091 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
1093 * acinclude.m4: Changed to work with new automake.
1094 * configure: Regenerated.
1095 * libc/machine/i386/aclocal.m4: Regenerated.
1096 * libc/machine/i386/configure: Regenerated.
1098 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
1100 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
1101 for telldir() and seekdir(). Rename unused structure element
1102 for use with these two routines.
1104 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
1106 * libc/time/mktime.c (validate_structure): Multiple fixes to
1107 code to handle cases where input fields are outside valid ranges.
1108 * libc/stdlib/div.c (div): Modified invalid rounding check.
1109 * libc/stdlib/ldiv.c (ldiv): Ditto.
1111 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
1113 * libc/machine/i386/memcpy.S: Performance rewrite.
1114 * libc/machine/i386/memmove.S: Ditto.
1115 * libc/machine/i386/i386mach.h: Added more register definitions.
1116 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
1118 * libc/include/machine/fastmath.h: Add definitions for x86
1121 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1123 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
1125 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
1127 Adjust newlib headers for new Cygwin Win32 API header files:
1128 * libc/include/sys/time.h: Check _WINSOCK_H rather than
1129 _GNU_H_WINDOWS32_SOCKETS.
1130 * libc/include/sys/types.h: Ditto.
1132 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1134 *include/sys/reent.h: Add checks for size of Bigint element Long.
1135 *libc/dtoa.c: Change routines to use generic Long type.
1136 *libc/mprec.c: Change routines to use generic Long type.
1137 *libc/mprec.h: Change routines to use generic Long type.
1139 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
1141 * libc/Makefile.am: Add .def files.
1142 * libc/Makefile.in: Regenerate.
1143 * libc/e_acosh.c: Documentation update.
1144 * libc/e_atanh.c: Documentation update.
1145 * libc/e_hypot.c: Documentation update.
1146 * libc/e_remainder.c: Documentation update.
1147 * libc/er_lgamma.c: Documentation update.
1148 * libc/mathfp.tex: Documentation update.
1149 * libc/s_acos.c: Documentation update.
1150 * libc/s_atan.c: Documentation update.
1151 * libc/s_atan2.c: Documentation update.
1152 * libc/s_cosh.c: Documentation update.
1153 * libc/s_fmod.c: Documentation update.
1154 * libc/s_isnan.c: Documentation update.
1155 * libc/s_log10.c: Documentation update.
1156 * libc/s_pow.c: Documentation update.
1157 * libc/w_jn.c: Documentation update.
1159 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
1161 * aclocal.m4: Regenerate.
1162 * configure: Regenerate.
1164 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
1166 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
1167 to return 1 if user specified return code is 0.
1168 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
1170 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
1172 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
1173 to save the return address. Fixed longjmp to return to the original
1174 calling address of setjmp and to return the user specified return code
1175 rather than default to 1.
1176 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
1178 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
1180 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
1182 1999-02-10 Nick Clifton <nickc@cygnus.com>
1184 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
1185 volatile so that its assignments will not be discarded.
1187 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
1189 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
1190 be __STRICT_ANSI__ which is generated by compiler.
1191 * libc/include/ctype.h: Ditto.
1192 * libc/include/math.h: Ditto.
1193 * libc/include/stdio.h: Ditto.
1194 * libc/include/stdlib.h: Ditto.
1195 * libc/include/string.h: Ditto.
1196 * libc/include/sys/signal.h: Ditto.
1198 1999-02-08 Nick Clifton <nickc@cygnus.com>
1200 * configure.host: Add support for StrongARM target.
1202 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
1204 * libc/string/strncpy.c (strncpy): Removed redundant code
1205 that was copying bytes if data unaligned.
1207 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
1209 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
1210 mbstowcs.def, and wcstombs.def.
1212 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
1214 * libc/include/sys/errno.h: Add Cygwin errno.
1215 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
1218 1999-01-29 Nick Clifton <nickc@cygnus.com>
1220 * libc/sys/arm/syscalls.c: Move C library functions into seperate
1223 * libc/sys/arm/libcfunc.c: New file containing C library functions
1226 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
1227 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
1230 1999-01-27 Michael Meissner <meissner@cygnus.com>
1232 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
1233 type, and cut size in half so that the jmp_buf array is guaranteed
1234 to be aligned on a 64-bit boundary.
1236 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
1238 * libc/string/strings.tex: Added information about
1239 strcasecmp and strncasecmp.
1240 * libc/stdlib/stdlib.tex: Added missing information
1241 about mblen, mbstowcs, and wcstombs.
1242 * libc/string/strchr.c: Changed how mask is built to use
1243 shift operators so register will be used instead of storage.
1245 1999-01-22 DJ Delorie <dj@cygnus.com>
1247 * libc/include/stdlib.h: don't use dllimport if we're building
1248 newlib, since it's inside cygwin.dll
1250 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
1252 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
1253 _ctype_ under cygwin.
1255 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
1257 * include/stdlib.h: Fix typo from previous checkin.
1259 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
1261 * include/ctype.h: Use __declspec(dllimport) method for exporting
1262 variable from cygwin DLL.
1263 * include/time.h: Ditto.
1264 * sys/errno.h: Ditto.
1265 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
1266 * libc/locale/locale.c: Use __declspec(dllexport) method for
1267 exporting variable from cygwin DLL.
1269 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
1271 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
1272 access of bogus pointer will result in SIGSEGV.
1274 1999-01-07 Nick Clifton <nickc@cygnus.com>
1276 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
1277 of an underscore prefix to function names.
1279 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
1281 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
1282 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
1284 1998-12-31 Michael Meissner <meissner@cygnus.com>
1286 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
1287 to `%' if not already defined.
1289 1998-12-30 Michael Meissner <meissner@cygnus.com>
1291 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
1292 arguments const char *, not char *.
1293 * libc/include/stdio.h (_tempnam_r): Ditto.
1295 * libc/include/sys/reent.h (struct _reent): The _sig_func type
1296 points to a function taking an integer, not void.
1298 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
1300 * configure.host: Add a define for Cygwin builds.
1301 * libc/include/ctype.h: Don't use dll imported variables in newlib.
1303 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
1305 * libc/include/ctype.h: Define _ctype_ as dll imported variable
1306 for use with Cygwin.
1307 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
1308 dll imported variables for use with Cygwin.
1309 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
1310 as a dll imported variable for Cygwin.
1312 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
1314 * libc/include/sys/unistd.h: Add proto for getpass.
1316 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
1318 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
1321 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
1323 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
1324 not posix_path_list_p.
1326 1998-12-15 Nick Clifton <nickc@cygnus.com>
1328 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
1331 1998-12-13 Nick Clifton <nickc@cygnus.com>
1333 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
1335 1998-12-12 Nick Clifton <nickc@cygnus.com>
1337 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
1338 <msalter@cygnus.com>
1339 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
1340 * libc/machine/fr30/Makefile.in: Regenerated.
1342 1998-12-11 Nick Clifton <nickc@cygnus.com>
1344 * configure.host: Remove use of libc/sys for FR30 port.
1345 * libc/sys/fr30: Remove directory (replaced by libgloss).
1347 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
1349 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
1350 * libc/string/strncat.c (ALIGNED): Ditto.
1352 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
1354 * libc/include/sys/time.h: include sys/types.h
1356 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
1358 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
1359 comparison found when checking word at a time.
1361 1998-12-04 Nick Clifton <nickc@cygnus.com>
1363 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
1365 1998-12-03 Nick Clifton <nickc@cygnus.com>
1367 * libc/sys/fr30/syscalls.c (_times): New function stub.
1369 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1371 * configure.host (mach_add_setjmp): Replaced mach_add_objs
1372 with mach_add_setjmp flag which indicates if setjmp should
1373 be added to the machine directory objects.
1374 * acinclude.m4: Removed reference to mach_add_objs.
1375 * aclocal.m4: Regenerated.
1376 * Makefile.in: Regenerated.
1377 * configure: Regenerated.
1378 * libc/aclocal.m4: Regenerated.
1379 * libc/Makefile.in: Regenerated.
1380 * libc/configure: Regenerated.
1381 * libc/machine/aclocal.m4: Regenerated.
1382 * libc/machine/Makefile.in: Regenerated.
1383 * libc/machine/configure: Regenerated.
1384 * libc/machine/i386/aclocal.m4: Regenerated.
1385 * libc/machine/i386/Makefile.am: Altered to selectively add
1386 setjmp.S to the src files list.
1387 * libc/machine/i386/Makefile.in: Regenerated.
1388 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
1389 * libc/machine/i386/configure: Regenerated.
1391 1998-12-02 Nick Clifton <nickc@cygnus.com>
1393 * libc/sys/fr30/crt0.s (_start): Fix function names.
1395 * libc/machine/fr30: New directory
1396 * libc/machine/fr30/Makefile.am: New file.
1397 * libc/machine/fr30/Makefile.in: New generated file.
1398 * libc/machine/fr30/configure.in: New file.
1399 * libc/machine/fr30/configure: New generated file.
1400 * libc/machine/fr30/aclocal.m4: New generated file.
1401 * libc/sys/fr30/Makefile.am: New file.
1402 * libc/sys/fr30/Makefile.in: New generated file.
1403 * libc/sys/fr30/configure.in: New file.
1404 * libc/sys/fr30/configure: New generated file.
1405 * libc/sys/fr30/syscalls.c: New file.
1407 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
1409 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
1411 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
1413 * libc/time/strftime.c (strftime): Also handle %y for years before
1416 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
1418 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
1419 UNIX convention. Perform tolower on characters before comparing
1420 them rather than use toupper.
1421 * libc/string/strncasecmp.c (strncasecmp): Ditto.
1423 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1425 * configure.host: Added using i386 machine directory
1426 for all x86 cross-compiler and configuring
1427 which added object files to use via new "mach_add_objs" variable.
1428 * configure: Regenerated.
1429 * libc/configure: Regenerated.
1430 * libc/Makefile.in: Regenerated.
1431 * libc/aclocal.m4: Regenerated.
1432 * libc/ctype/Makefile.in: Regenerated.
1433 * libc/errno/Makefile.in: Regenerated.
1434 * libc/locale/Makefile.in: Regenerated.
1435 * libc/machine/Makefile.in: Regenerated.
1436 * libc/machine/aclocal.m4: Regenerated.
1437 * libc/machine/configure: Regenerated.
1438 * libc/posix/Makefile.in: Regenerated.
1439 * libc/reent/Makefile.in: Regenerated.
1440 * libc/signal/Makefile.in: Regenerated.
1441 * libc/stdio/Makefile.in: Regenerated.
1442 * libc/stdlib/Makefile.in: Regenerated.
1443 * libc/string/Makefile.in: Regenerated.
1444 * libc/string/memmove.c: Optimized code to use memcpy
1445 logic when performing a non-destructive copy.
1446 * libc/string/strncmp.c: Altered code to allow building
1447 optimized for size or speed.
1448 * libc/syscalls/Makefile.in: Regenerated.
1449 * libc/time/Makefile.in: Regenerated.
1450 * libc/unix/Makefile.in: Regenerated.
1451 * libc/machine/i386/Makefile.am: Added new files and reference
1452 to "mach_add_objs" to indicate optional object files.
1453 * libc/machine/i386/Makefile.in: Regenerated.
1454 * libc/machine/i386/aclocal.m4: Regenerated.
1455 * libc/machine/i386/configure: Regenerated.
1456 * libc/machine/i386/memchr.S: New file that implements
1457 function in Intel assembler.
1458 * libc/machine/i386/memcmp.S: ditto.
1459 * libc/machine/i386/memcpy.S: ditto.
1460 * libc/machine/i386/memmove.S: ditto.
1461 * libc/machine/i386/memset.S: ditto.
1462 * libc/machine/i386/strchr.S: ditto.
1463 * libc/machine/i386/strlen.S: ditto.
1464 * libc/machine/i386/f_atan2.S: New file that implements
1465 fast version of math function to be used by compiler when
1466 --ffast_math compile option is used.
1467 * libc/machine/i386/f_atan2f.S: ditto.
1468 * libc/machine/i386/f_exp.c: ditto.
1469 * libc/machine/i386/f_expf.c: ditto.
1470 * libc/machine/i386/f_frexp.S: ditto.
1471 * libc/machine/i386/f_frexpf.S: ditto.
1472 * libc/machine/i386/f_ldexp.S: ditto.
1473 * libc/machine/i386/f_ldexpf.S: ditto.
1474 * libc/machine/i386/f_log.S: ditto.
1475 * libc/machine/i386/f_logf.S: ditto.
1476 * libc/machine/i386/f_log10.S: ditto.
1477 * libc/machine/i386/f_log10f.S: ditto.
1478 * libc/machine/i386/f_math.h: New file.
1479 * libc/machine/i386/f_pow.c: ditto.
1480 * libc/machine/i386/f_powf.S: ditto.
1481 * libc/machine/i386/f_tan.S: ditto.
1482 * libc/machine/i386/f_tan.S: ditto.
1483 * libc/machine/i386/i386mach.h: New file.
1485 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
1487 patch from Mumit Khan <khan@xraylith.wisc.edu>
1488 * libc/include/stdio.h (tempnam): Add prototype.
1489 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
1490 (tempnam): Adhere to prototype.
1492 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
1494 * Makefile.am: Add default for AR_FLAGS.
1495 * Makefile.in: Regenerate.
1497 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
1499 * libc/include/time.h: move __cplusplus wrapper after includes
1500 * libc/include/sys/time.h: ditto. If Cygwin, include
1502 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
1504 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
1506 * libc/time/strftime.c (strftime): Handle %y after year 2000.
1508 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
1510 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
1511 abnormnal end-of-crt0 marker.
1513 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
1515 * libc/sys/fr30/crt0.s: New file/directory.
1516 * libc/include/machine/setjmp.h: Add FR30 target.
1517 * libc/include/machine/ieeefp.h: Add FR30 target.
1518 * configure.host: Add FR30 target.
1520 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1522 * libm/math: Files that are duplicated in common directory removed.
1523 * libm/math/fdlibm.h: Removed.
1524 * libm/math/s_cbrt.c: Removed.
1525 * libm/math/s_copysign.c: Removed.
1526 * libm/math/s_expm1.c: Removed.
1527 * libm/math/s_finite.c: Removed.
1528 * libm/math/s_ilogb.c: Removed.
1529 * libm/math/s_infinity.c: Removed.
1530 * libm/math/s_lib_ver.c: Removed.
1531 * libm/math/s_log1p.c: Removed.
1532 * libm/math/s_logb.c: Removed.
1533 * libm/math/s_matherr.c: Removed.
1534 * libm/math/s_modf.c: Removed.
1535 * libm/math/s_nan.c: Removed.
1536 * libm/math/s_nextafter.c: Removed.
1537 * libm/math/s_rint.c: Removed.
1538 * libm/math/s_scalbn.c: Removed.
1539 * libm/math/sf_cbrt.c: Removed.
1540 * libm/math/sf_copysign.c: Removed.
1541 * libm/math/sf_expm1.c: Removed.
1542 * libm/math/sf_finite.c: Removed.
1543 * libm/math/sf_ilogb.c: Removed.
1544 * libm/math/sf_infinity.c: Removed.
1545 * libm/math/sf_log1p.c: Removed.
1546 * libm/math/sf_logb.c: Removed.
1547 * libm/math/sf_modf.c: Removed.
1548 * libm/math/sf_nan.c: Removed.
1549 * libm/math/sf_nextafter.c: Removed.
1550 * libm/math/sf_rint.c: Removed.
1551 * libm/math/sf_scalbn.c: Removed.
1552 * libm/math/Makefile.am: Removed references to deleted files (above).
1553 * libm/math/Makefile.in: Regenerated.
1554 * libm/Makefile.am: Added common directory to math.
1555 * libm/Makefile.in: Regenerated.
1557 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1559 * libm/mathfp: Add non-ANSI functions.
1560 * libm/mathfp/e_acosh.c acosh(): New file.
1561 * libm/mathfp/e_atanh.c atanh(): New file.
1562 * libm/mathfp/e_hypot.c hypot(): New file.
1563 * libm/mathfp/e_j0.c j0(): New file.
1564 * libm/mathfp/e_j1.c j1(): New file.
1565 * libm/mathfp/e_remainder.c remainder(): New file.
1566 * libm/mathfp/e_scalb.c scalb(): New file.
1567 * libm/mathfp/ef_acosh.c acoshf(): New file.
1568 * libm/mathfp/ef_atanh.c atanhf(): New file.
1569 * libm/mathfp/ef_hypot.c hypotf(): New file.
1570 * libm/mathfp/ef_j0.c j0f(): New file.
1571 * libm/mathfp/ef_j1.c j1f(): New file.
1572 * libm/mathfp/ef_remainder.c remainderf(): New file.
1573 * libm/mathfp/ef_scalb.c scalbf(): New file.
1574 * libm/mathfp/er_gamma.c gamma_r: New file.
1575 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
1576 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
1577 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
1578 * libm/mathfp/w_cabs.c cabs(): New file.
1579 * libm/mathfp/w_drem.c drem(): New file.
1580 * libm/mathfp/w_jn.c jn(): New file.
1581 * libm/mathfp/wf_cabs.c cabsf(): New file.
1582 * libm/mathfp/wf_drem.c dremf(): New file.
1583 * libm/mathfp/wf_jn.c jnf(): New file.
1585 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
1587 * libc/sys/cygwin32: remove directory and contents
1588 * libc/sys/cygwin: and add back, losing the "32".
1589 * configure.host: check for cygwin* instead of cygwin32.
1590 * acinclude.m4: ditto.
1591 * aclocal.m4: regenerate with aclocal
1592 * configure: regenerate with autoconf
1594 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
1596 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
1599 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1601 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
1602 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
1603 to make rand/srand, strtok, asctime, localtime, w_gamma,
1604 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
1605 time.h to bring in struct tm definition.
1606 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
1607 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
1608 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
1609 instead of static variable.
1610 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
1611 struct reent instead of static variable.
1612 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
1613 struct reent instead of static variable.
1614 * libm/math/Makefile.am: Removed s_signgam.o.
1615 * libm/math/Makefile.in: Regenerated.
1616 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
1617 struct reent instead of global variable 'signgam'.
1618 * libm/math/w_lgamma.c (lgamma): Likewise.
1619 * libm/math/wf_gamma.c (gammaf): Likewise.
1620 * libm/math/wf_lgamma.c (lgammaf): Likewise.
1621 * libm/math/s_signgam.c: Removed.
1622 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
1624 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
1626 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
1627 libc/include/reent.h.
1628 * libc/reent/Makefile.in: Regenerated.
1629 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
1631 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
1632 'JIS_action_table' to be const.
1633 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
1635 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
1637 * acinclude.m4: $with_target_subdir should default to '.'
1638 or confusion results when configuring in same directory as sources.
1639 * Regenerate all aclocal.m4 and configure files.
1641 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
1643 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
1644 can be set by defining MALLOC_ALIGNMENT=16. Also added support
1645 for platforms where sizeof(size_t) < sizeof(long) via
1646 SIZE_T_SMALLER_THAN_LONG macro.
1648 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
1650 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
1651 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
1652 which sets _CLOCKS_PER_SEC_ for selected machines.
1653 * libc/include/machine/time.h: New file.
1655 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1657 * libc/syscalls/sysexecve.c: New file.
1658 * libc/syscalls/sysgettod.c: New file.
1659 * libc/syscalls/systimes.c: New file.
1660 * libc/syscalls/Makefile.am: Added new objects.
1661 * libc/syscalls/Makefile.in: Regenerated.
1662 * libc/include/_syslist.h (_execve): Moved define in file.
1663 * libc/include/reent.h: Added _execve_r declaration.
1664 * libc/Makefile.in: Regenerated.
1665 * libc/ctype/Makefile.in: Regenerated.
1666 * libc/errno/Makefile.in: Regenerated.
1667 * libc/locale/Makefile.in: Regenerated.
1668 * libc/machine/Makefile.in: Regenerated.
1669 * libc/misc/Makefile.in: Regenerated.
1670 * libc/posix/Makefile.in: Regenerated.
1671 * libc/reent/Makefile.in: Regenerated.
1672 * libc/reent/execr.c (_execve_r): Added _execve_r function.
1673 * libc/signal/Makefile.in: Regenerated.
1674 * libc/stdio/Makefile.in: Regenerated.
1675 * libc/time/Makefile.in: Regenerated.
1676 * libc/unix/Makefile.in: Regenerated.
1677 * libm/mathfp/Makefile.in: Regenerated.
1679 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1681 * libc/string/Makefile.in: Regenerated.
1682 * libc/string/memchr.c (memchr): Moved code to reduce object size.
1683 * libc/string/memcpy.c (memcpy): Ditto.
1684 * libc/string/memcmp.c (memcmp): Ditto.
1685 * libc/string/memset.c (memset): Ditto.
1686 * libc/string/strchr.c (strchr): Ditto.
1687 * libc/string/strcmp.c (strcmp): Ditto.
1688 * libc/string/strcpy.c (strcpy): Ditto.
1689 * libc/string/strlen.c (strlen): Ditto.
1691 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1693 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1694 to generate aclocal.m4.
1695 * libm/Makefile.in: Regenerated.
1696 * libm/aclocal.m4: Regenerated.
1697 * libm/configure: Regenerated.
1698 * libm/math/Makefile.in: Regenerated.
1699 * libm/mathfp/Makefile.in: Regenerated.
1701 1998-09-25 Mark Salter <msalter@cygnus.com>
1703 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1704 by adding leading and trailing underscores to symbol names.
1706 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
1708 * Makefile.in: Add default for AR_FLAGS.
1710 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
1712 patch from ian@airs.com (Ian Taylor):
1713 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1714 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1715 is needed for detecting the build machine. Required for
1716 cygwin native builds.
1718 * Regenerate all aclocal.m4 and configure files.
1720 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
1722 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
1723 used to start with LC.
1725 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1727 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
1728 (longjmp): Likewise.
1730 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1732 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
1733 the test for small number of bytes.
1735 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1737 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
1738 math library that uses floating point algorithms instead of the old
1740 * Makefile.in: Regenerate with automake version 1.3b.
1741 * configure: Rebuild.
1742 * libm/Makefile.in: Regenerate with automake version 1.3b.
1743 * libm/aclocal.m4: Regenerate.
1744 * libm/configure: Rebuild.
1745 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
1746 * libm/acinclude.m4: Define macros for configure.in.
1747 * libm/config.h.in: Generate.
1748 * libm/mathfp/Makefile.am: New file.
1749 * libm/mathfp/Makefile.in: Generate.
1750 * libm/mathfp/s_acos.c (acos): New file.
1751 * libm/mathfp/s_asin.c (asin): New file.
1752 * libm/mathfp/s_asine.c (asine): New file.
1753 * libm/mathfp/s_atan.c (atan): New file.
1754 * libm/mathfp/s_atan2.c (atan2): New file.
1755 * libm/mathfp/s_atangent.c (atangent): New file.
1756 * libm/mathfp/s_ceil.c (ceil): New file.
1757 * libm/mathfp/s_copysign.c (copysign): New file.
1758 * libm/mathfp/s_cos.c (cos): New file.
1759 * libm/mathfp/s_cosh.c (cosh): New file.
1760 * libm/mathfp/s_exp.c (exp): New file.
1761 * libm/mathfp/s_fabs.c (fabs): New file.
1762 * libm/mathfp/s_finite.c (finite): New file.
1763 * libm/mathfp/s_floor.c (floor): New file.
1764 * libm/mathfp/s_fmod.c (fmod): New file.
1765 * libm/mathfp/s_frexp.c (frexp): New file.
1766 * libm/mathfp/s_infconst.c: New file.
1767 * libm/mathfp/s_isinf (isinf).c: New file.
1768 * libm/mathfp/s_isnan.c (isnan): New file.
1769 * libm/mathfp/s_ispos.c (ispos): New file.
1770 * libm/mathfp/s_ldexp.c (ldexp): New file.
1771 * libm/mathfp/s_log.c (log): New file.
1772 * libm/mathfp/s_log10.c (log10): New file.
1773 * libm/mathfp/s_logarithm.c (logarithm): New file.
1774 * libm/mathfp/s_mathcnst.c: New file.
1775 * libm/mathfp/s_modf (modf).c: New file.
1776 * libm/mathfp/s_numtest.c (numtest): New file.
1777 * libm/mathfp/s_pow.c (pow): New file.
1778 * libm/mathfp/s_scalbn.c (scalbn): New file.
1779 * libm/mathfp/s_sin (sin).c: New file.
1780 * libm/mathfp/s_sine.c (sine): New file.
1781 * libm/mathfp/s_sineh.c (sineh): New file.
1782 * libm/mathfp/s_sinf.c (sinf): New file.
1783 * libm/mathfp/s_sinh.c (sinh): New file.
1784 * libm/mathfp/s_sqrt.c (sqrt): New file.
1785 * libm/mathfp/s_tan.c (tan): New file.
1786 * libm/mathfp/s_tanh.c (tanh): New file.
1787 * libm/mathfp/sf_acos.c (acosf): New file.
1788 * libm/mathfp/sf_asin.c (asinf): New file.
1789 * libm/mathfp/sf_asine.c (asinef): New file.
1790 * libm/mathfp/sf_atan.c (atanf): New file.
1791 * libm/mathfp/sf_atan2.c (atan2f): New file.
1792 * libm/mathfp/sf_atangent.c (atangent): New file.
1793 * libm/mathfp/sf_ceil.c (ceilf): New file.
1794 * libm/mathfp/sf_copysign.c (copysignf): New file.
1795 * libm/mathfp/sf_cos.c (cosf): New file.
1796 * libm/mathfp/sf_cosh.c (coshf): New file.
1797 * libm/mathfp/sf_exp.c (expf): New file.
1798 * libm/mathfp/sf_fabs.c (fabsf): New file.
1799 * libm/mathfp/sf_finite.c (finitef): New file.
1800 * libm/mathfp/sf_floor.c (floorf): New file.
1801 * libm/mathfp/sf_fmod.c (fmodf): New file.
1802 * libm/mathfp/sf_frexp.c (frexpf): New file.
1803 * libm/mathfp/sf_isinf.c (isinff): New file.
1804 * libm/mathfp/sf_isnan.c (isnanf): New file.
1805 * libm/mathfp/sf_ispos.c (isposf): New file.
1806 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
1807 * libm/mathfp/sf_log.c (logf): New file.
1808 * libm/mathfp/sf_log10.c (log10f): New file.
1809 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
1810 * libm/mathfp/sf_modf.c (modff): New file.
1811 * libm/mathfp/sf_numtest.c (numtestf): New file.
1812 * libm/mathfp/sf_pow.c (powf): New file.
1813 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
1814 * libm/mathfp/sf_sin.c (sinf): New file.
1815 * libm/mathfp/sf_sine.c (sinef): New file.
1816 * libm/mathfp/sf_sineh.c (sinehf): New file.
1817 * libm/mathfp/sf_sinh.c (sinhf): New file.
1818 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
1819 * libm/mathfp/sf_tan.c (tanf): New file.
1820 * libm/mathfp/sf_tanh.c (tanhf): New file.
1821 * libm/mathfp/zmath.h: New file.
1823 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1825 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
1826 exit if it has been overwritten by pre-fetching in delay slot.
1828 1998-09-01 Michael Meissner <meissner@cygnus.com>
1830 * Makefile.am (tooldir): Add in host_alias, so that multilib
1831 libraries are installed in the directory the compiler looks in.
1832 * Makefile.in: Regenerate.
1834 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
1836 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
1838 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
1839 ahead of test for number of bytes being moved.
1841 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
1843 * libc/include/sys/unistd.h: Nothing special needed for
1846 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
1848 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
1849 conform to user label naming conventions.
1851 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
1853 * libc/sys/cygwin32/sys/utime.h: variable names in
1854 protos should start with two leading underscores
1855 * libc/include/string.h: ditto
1856 * libc/include/sys/signal.h: ditto
1857 * libc/include/sys/stat.h: ditto
1858 * libc/include/sys/time.h: ditto
1859 * libc/include/sys/unistd.h: ditto
1860 * libc/include/ctype.h: ditto
1861 * libc/include/stdlib.h: ditto
1862 * libc/include/sys/reent.h: struct _atexit function ptr takes a
1863 void, same with _sig_func.
1865 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
1867 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
1868 for MB_CAPABLE to reduce code size when newlib is not configured
1869 with --enable-newlib-mb.
1870 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
1871 mbtowc_r.o to minimize size.
1872 * libc/stdlib/Makefile.in: Rebuild.
1874 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
1876 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
1878 * libc/sys/sparc64/Makefile.in: Rebuild.
1880 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
1882 * Makefile.am (MAKEOVERRIDES): Define.
1883 * Makefile.in: Rebuild.
1885 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
1887 * libc/sys/sparc64/sys/stat.h (stat): Add const.
1889 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
1891 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
1892 newlib_cflags when looking for targ-include.
1893 * */aclocal.m4, */configure: Rebuild.
1895 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
1897 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
1900 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
1902 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
1903 on SPARCs with little-endian data.
1904 * libc/include/machine/ieeefp.h: Ditto.
1906 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
1908 * acinclude.m4: Handle a relative srcdir correctly when setting
1910 * */aclocal.m4, */configure: Rebuild.
1912 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
1914 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
1915 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
1916 * libm/math/wrf_gamma.c (gammaf_r): ditto
1917 * libm/math/wr_lgamma.c (lgamma_r): ditto
1918 * libm/math/wr_gamma.c (gamma_r): ditto
1919 * libm/math/wf_sqrt.c (sqrtf): ditto
1920 * libm/math/wf_sinh.c (sinhf): ditto
1921 * libm/math/wf_scalb.c (scalbf): ditto
1922 * libm/math/wf_remainder.c (remainderf): ditto
1923 * libm/math/wf_pow.c (powf): ditto
1924 * libm/math/wf_log10.c (log10f): ditto
1925 * libm/math/wf_log.c (logf): ditto
1926 * libm/math/wf_lgamma.c (lgammaf): ditto
1927 * libm/math/wf_jn.c (jnf, ynf): ditto
1928 * libm/math/wf_j1.c (j1f, y1f): ditto
1929 * libm/math/wf_j0.c (j0f, y0f): ditto
1930 * libm/math/wf_hypot.c (hypotf): ditto
1931 * libm/math/wf_gamma.c (gammaf): ditto
1932 * libm/math/wf_fmod.c (fmodf): ditto
1933 * libm/math/wf_exp.c (expf): ditto
1934 * libm/math/wf_cosh.c (coshf): ditto
1935 * libm/math/wf_atanh.c (atanhf): ditto
1936 * libm/math/wf_atan2f.c (atan2f): ditto
1937 * libm/math/wf_asin.c (asinf): ditto
1938 * libm/math/wf_acosh.c (acoshf): ditto
1939 * libm/math/wf_acos.c (acosf): ditto
1940 * libm/math/w_sqrt.c (sqrt): ditto
1941 * libm/math/w_sinh.c (sinh): ditto
1942 * libm/math/w_scalb.c (scalb): ditto
1943 * libm/math/w_remainder.c (remainder): ditto
1944 * libm/math/w_pow.c (pow): ditto
1945 * libm/math/w_log10.c (log10): ditto
1946 * libm/math/w_log.c (log): ditto
1947 * libm/math/w_lgamma.c (lgamma): ditto
1948 * libm/math/w_jn.c (jn, yn): ditto
1949 * libm/math/w_j1.c (j1, y1): ditto
1950 * libm/math/w_j0.c (j0, y0): ditto
1951 * libm/math/w_hypot.c (hypot): ditto
1952 * libm/math/w_gamma.c (gamma): ditto
1953 * libm/math/w_fmod.c (fmod): ditto
1954 * libm/math/w_exp.c (exp): ditto
1955 * libm/math/w_cosh.c (cosh): ditto
1956 * libm/math/w_atanh.c (atanh): ditto
1957 * libm/math/w_atan2f.c (atan2): ditto
1958 * libm/math/w_asin.c (asin): ditto
1959 * libm/math/w_acosh.c (acosh): ditto
1960 * libm/math/w_acos.c (acos): ditto
1962 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
1964 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
1965 (fsrc): Add wf_cabs.c and wf_drem.c.
1966 * libm/math/Makefile.in: Rebuild.
1968 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
1969 unused directory variables. Remove duplicate CFLAGS.
1970 * Makefile.in: Rebuild.
1972 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
1973 with $(CC_FOR_BUILD).
1974 (makedoc.o): Likewise.
1975 * doc/Makefile.in: Rebuild.
1977 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
1978 force a definition of COMPILE.
1979 (libfoo_a_SOURCES): Define.
1980 * libc/sys/cygwin32/Makefile.in: Rebuild.
1981 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
1982 force a definition of COMPILE.
1983 (libfoo_a_SOURCES): Define.
1984 * libc/sys/tic80/Makefile.in: Rebuild.
1986 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
1988 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
1991 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
1993 * Build using autoconf and automake. Added many Makefile.am and
1994 configure.in files, plus generated files. Old configure.in files
1995 and all old Makefile.in files completely replaced. Removed
1996 host/any. Added acinclude.m4 and configure.host.
1998 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
2000 * libc/stdio/vfprintf.c: enable long long support, sometimes.
2001 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
2003 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2005 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
2006 * libc/machine/sh/Makefile.in: Add rules for new files.
2008 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2010 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
2011 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
2012 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
2014 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
2016 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
2019 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
2021 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
2022 internal static buffer when s is NULL, as prescribed by ANSI.
2024 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
2026 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
2028 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
2029 libc/stdlib will be used for h8300hms.
2031 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
2033 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
2034 version that can be built either for speed or size.
2035 * libc/machine/mn10300/memset.S (_memset): ditto
2036 * libc/machine/mn10300/memchr.S (_memchr): ditto
2037 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
2038 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
2039 * libc/machine/mn10300/strchr.S (_strchr): ditto
2040 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
2041 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
2042 * libc/machine/mn10300/Makefile.in: Added entries for
2043 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
2044 strcmp.o, strcpy.o, and strlen.o.
2046 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
2048 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
2049 been replaced with libgloss/mn10200.
2051 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
2053 * libc/string/strchr.c (strchr): Make s a constant pointer to
2056 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
2058 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
2059 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
2060 board SWIs instead of Demon board SWIs).
2062 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
2064 * libc/string/strncat.c (strncat): Make -Os act the same as
2065 PREFER_SIZE_OVER_SPEED being defined.
2067 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
2069 * libc/string/memchr.c (memchr): Make -Os act the same as
2070 PREFER_SIZE_OVER_SPEED being defined.
2071 * libc/string/memcmp.c (memcmp): Ditto.
2072 * libc/string/memcpy.c (memcpy): Ditto.
2073 * libc/string/memset.c (memset): Ditto.
2074 * libc/string/strcat.c (strcat): Ditto.
2075 * libc/string/strchr.c (strchr): Ditto.
2076 * libc/string/strcmp.c (strcmp): Ditto.
2077 * libc/string/strcpy.c (strcpy): Ditto.
2078 * libc/string/strlen.c (strlen): Ditto.
2079 * libc/string/strncat.c (strncat): Ditto.
2080 * libc/string/strncmp.c (strncmp): Ditto.
2081 * libc/string/strncpy.c (strncpy): Ditto.
2083 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
2085 * libc/include/sys/itimer.h: remove
2086 * libc/include/sys/time.h: itimer stuff should be here
2088 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
2090 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
2091 bit instead of comparing to 0 so -0.0 can be printed correctly.
2093 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2095 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
2097 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
2099 * libc/include/sys/unistd.h: fix sync() proto
2100 * libc/include/sys/fcntl.h: remove _close which is already
2101 defined in unistd.h.
2102 * libc/include/sys/time.h: add getitimer proto
2104 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
2106 * libc/string/strchr.c: convert arg to unsigned char
2107 * libc/include/stdlib.h: add protos for random, srandom
2108 * libc/include/sys/stat.h: add lstat proto
2109 * libc/include/sys/time.h: add setitimer proto
2110 * libc/include/sys/unistd.h: add readlink, symlink protos
2111 * libc/include/process.h: instead of including windows.h and using
2112 HANDLEs in sexec protos, just use void *s. Need to include
2115 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
2117 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
2119 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
2121 * libc/include/process.h: add secure exec protos
2123 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
2125 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
2126 which are accessed as both doubles and integers.
2127 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
2128 * libc/stdlib/strtod.c (_strtod_r): Likewise.
2129 * libc/stdlib/mprec.h: Add "union double_union" and change
2130 word0/word1 macros to use it.
2132 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
2134 * libc/include/sys/signal.h: add __cplusplus wrapper
2136 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
2138 * libc/include/sys/utime.h: new generic file that gets replaced by
2139 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
2141 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
2142 * libc/include/time.h: remove duplicate utime proto
2143 * libc/include/utime.h: add comment
2145 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
2147 * libc/include/sys/time.h: Add missing include to
2148 allow use of _EXFUN. Remove times function that is
2149 already defined in times.h.
2151 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
2153 * libc/include/time.h: Fix typo in tzset.
2155 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
2157 * libc/include/sys/time.h: add missing Cygwin32 function protos
2158 * libc/include/sys/unistd.h: ditto
2159 * libc/include/time.h: ditto
2161 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
2163 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
2165 * libc/include/sys/types.h: add a new __MS_types__ section
2166 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
2167 __BIT_TYPES_DEFINED__.
2169 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
2171 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
2172 since it overrides the one in libc/include/sys. Also, start
2175 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
2177 * libm/math/Makefile.in: add s_signgam.o to obj list
2179 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
2181 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
2183 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
2185 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
2186 so don't use defines.
2188 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
2190 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
2192 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
2194 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
2195 _current_locale as default locale.
2197 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
2199 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
2200 insufficient space in a chunk.
2202 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
2204 * configure.in (links): Added check for --enable-newlib-mb configure
2205 option which defines the MB_CAPABLE macro.
2206 * libc/locale/locale.c (_setlocale_r): Added support for setting
2207 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
2209 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
2210 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
2211 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
2212 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
2213 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
2214 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
2215 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
2216 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
2217 * libc/stdlib/Makefile.in: Added new multibyte
2218 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
2219 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
2220 _mbstowcs_r(), and _wcstombs_r().
2221 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
2222 for JIS, SJIS, and EUC-JP characters.
2223 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
2225 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
2227 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
2229 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
2230 if MB_CAPABLE defined.
2231 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
2232 if MB_CAPABLE defined.
2233 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
2234 to the format string processing when MB_CAPABLE.
2235 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
2238 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
2240 The following modifications are courtesy of Anthony Thompson,
2241 athompson@cambridge.arm.com:
2242 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
2243 boith RDI and RDP monitors.
2244 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
2245 RDI and RDP monitors.
2247 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
2249 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
2250 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
2251 (_swiopen): Fixed open flags to treat write with append as just append.
2252 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
2253 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
2255 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2257 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
2258 When needing to transfer an initial 2-byte-word, store as
2261 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2263 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
2265 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
2266 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
2268 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
2270 * configure.in (target_cflags): If --enable-target-optspace, use
2271 -Os to compile newlib rather than -O2. Default to using -Os for
2272 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
2275 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
2277 * libc/include/machine/setjmp.h: change sigsetjmp and
2278 siglongjmp definitions to use an array instead of a struct
2281 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
2283 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
2285 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
2287 * libc/string/strxfrm.c: fix to get correct return value
2289 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
2291 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
2292 builds. Make mode change labels global so that they will be seen
2295 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
2297 * configure.in (links): Do not use ARM debiugging protocols for PE
2300 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
2303 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2305 * libc/stdio/findfp.c (__sinit): Made stdout default to
2306 line buffered mode as defined by ANSI.
2308 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
2310 * libc/include/sys/itimer.h: New file.
2312 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
2314 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2316 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
2319 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
2321 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
2324 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
2326 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
2328 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
2330 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
2333 * libc/include/machine/setjmp.h: Add D30V support.
2335 * configure.in (d30v-*): Add d30v machine directory.
2337 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
2339 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
2340 been replaced with libgloss/mn10300.
2342 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
2344 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
2345 it is no longer needed.
2347 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2349 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
2351 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
2353 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
2354 the file when O_APPEND is set, wherever the EOF happens to be at
2357 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
2359 patch from cgf@bbc.com (Christopher Faylor):
2360 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
2361 convention of closing fp prior to attempting to open the file
2362 argument. This allows correct operation when reopening
2363 stdin/stdout/stderr. Replaces last freopen.c patch.
2365 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
2367 patch from cgf@bbc.com (Christopher Faylor):
2368 * libc/stdio/freopen.c: freopen was not preserving the fd
2369 of the stream being operated on. This confuses programs that
2370 expect that the handles for stdout and stderr will be 1 and 2.
2372 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
2374 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
2376 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
2378 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
2380 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
2382 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
2383 altered to not use a branch. Also added hint that last
2384 bclr in longjmp will likely result in branch.
2387 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
2389 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
2391 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
2393 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
2396 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
2398 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
2400 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
2401 that loads FR14 to specify offset of 8 rather than 4
2402 so it loads from offset 96 (where setjmp stored it).
2404 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2406 * libc/machine/sh/memcpy.S: (_memcpy): Update to
2407 latest version supplied by customer.
2408 * libc/machine/sh/memset.S (_memset): Ditto.
2410 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
2412 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
2415 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
2417 * libc/include/string.h: remove redefinition of ffs
2419 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
2421 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
2424 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2426 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
2427 TI Libraries to link to libc.a
2429 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
2431 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
2432 * libc/include/sys/stat.h (_{,f}stat): Ditto.
2433 * libc/include/sys/wait.h (_wait): Ditto.
2434 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
2435 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
2437 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
2439 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
2440 minded stabs so function name shows up when running the simulator
2442 * libc/sys/d10v/{crt0,trap}.S: Ditto.
2444 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
2446 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
2447 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
2448 Use R5 where we used to use R3.
2450 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
2452 * libc/stdlib/getopt.c (getopt): replaced __progname
2453 with nargv[0] to improve portability to imbedded systems.
2455 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
2457 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
2458 patch supplied by Tont.Thompson@arm.com to fix the creation of the
2461 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
2463 * libc/stdio/tmpnam.c (worker): Generate a different file name
2466 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
2467 fails, try an execlp for sh.
2469 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
2470 option for the winsup include directory.
2472 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
2474 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
2475 debugging interface from Tony.Thompson@arm.com.
2477 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
2478 * libc/sys/arm/swi.h: ditto.
2480 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2482 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
2483 DIR struct used for readdir hashes.
2485 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
2487 * libc/string/strchr.c: Use "unsigned chars" as necessary.
2489 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
2491 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
2494 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
2496 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
2497 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
2498 * libc/include/malloc.h: Add extern "C" if __cplusplus.
2499 (__malloc_copy): Declare.
2501 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
2503 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
2505 (POINTER_UINT): Define.
2506 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
2507 (MALLOC_ALIGNMENT): Don't define if already defined.
2508 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
2511 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
2513 * libc/string/memset.c (memset): Fiddle with code so that the long
2514 value being stored is not a stack value. Unroll storing longs 4
2517 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
2519 * Reduce code size for libm modules.
2520 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
2521 and simply move code into sqrt.
2522 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
2523 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
2524 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
2525 * libm/math/wr_gamma.c (gamma_r): Likewise.
2526 * libm/math/wf_sinh.c (sinfh): Likewise.
2527 * libm/math/w_sinh.c (sinh): Likewise.
2528 * libm/math/wf_scalb.c (scalbf): Likewise.
2529 * libm/math/w_scalb.c (scalb): Likewise.
2530 * libm/math/wf_remainder.c (remainderf): Likewise.
2531 * libm/math/w_remainder.c (remainder): Likewise.
2532 * libm/math/wf_pow.c (powf): Likewise.
2533 * libm/math/w_pow.c (pow): Likewise.
2534 * libm/math/wf_log10.c (log10f): Likewise.
2535 * libm/math/w_log10.c (log10): Likewise.
2536 * libm/math/wf_log.c (logf): Likewise.
2537 * libm/math/w_log.c (log): Likewise.
2538 * libm/math/w_lgamma.c (lgamma): Likewise.
2539 * libm/math/wf_lgamma.c (lgammaf): Likewise.
2540 * libm/math/wf_jn.c (jnf): Likewise.
2541 * libm/math/w_jn.c (jn): Likewise.
2542 * libm/math/wf_j1.c (j1f): Likewise.
2543 * libm/math/w_j1.c (j1): Likewise.
2544 * libm/math/wf_j0.c (j0f): Likewise.
2545 * libm/math/w_j0.c (j0): Likewise.
2546 * libm/math/wf_hypot.c (hypotf): Likewise.
2547 * libm/math/w_hypot.c (hypot): Likewise.
2548 * libm/math/wf_gamma.c (gammaf): Likewise.
2549 * libm/math/w_gamma.c (gamma): Likewise.
2550 * libm/math/wf_fmod.c (fmodf): Likewise.
2551 * libm/math/w_fmod.c (fmod): Likewise.
2552 * libm/math/wf_exp.c (expf): Likewise.
2553 * libm/math/w_exp.c (exp): Likewise.
2554 * libm/math/wf_cosh.c (coshf): Likewise.
2555 * libm/math/w_cosh.c (cosh): Likewise.
2556 * libm/math/wf_atanh.c (atanhf): Likewise.
2557 * libm/math/w_atanh.c (atanh): Likewise.
2558 * libm/math/wf_atan2.c (atan2f): Likewise.
2559 * libm/math/w_atan2.c (atan2): Likewise.
2560 * libm/math/wf_asin.c (asinf): Likewise.
2561 * libm/math/w_asin.c (asin): Likewise.
2562 * libm/math/wf_acosh.c (acoshf): Likewise.
2563 * libm/math/w_acosh.c (acosh): Likewise.
2564 * libm/math/wf_acos.c (asocf): Likewise.
2565 * libm/math/w_acos.c (acos): Likewise.
2566 * libm/math/wf_sqrt.c (sqrtf): Likewise.
2567 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
2568 for embedded systems.
2570 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
2572 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
2573 Lea in case of a foreign sbrk.
2575 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
2577 Incorporate Doug Lea's malloc:
2578 * libc/stdlib/mallocr.c: Completely replaced.
2579 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
2581 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
2582 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
2584 (mallinfo, malloc_stats, mallopt): New functions.
2585 (_mstats_r): Just call _malloc_stats_r.
2586 * libc/stdlib/malign.c: New file.
2587 * libc/stdlib/mlock.c: New file.
2588 * libc/stdlib/msize.c: New file.
2589 * libc/stdlib/mtrim.c: New file.
2590 * libc/stdlib/realloc.c: New file.
2591 * libc/stdlib/valloc.c: New file.
2592 * libc/stdlib/malloc.h: Remove.
2593 * libc/stdlib/callocr.c: Remove.
2594 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
2595 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
2596 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
2597 reallocr.o, valloc.o, vallocr.o.
2598 (CHEWOUT_FILES): Add mlock.def, mstats.def.
2599 (MALLOC_CFLAGS): New variable.
2600 (mallocr.o): New target, build from mallocr.c.
2601 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
2602 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
2603 (msizer.o, malloptr.o): Likewise.
2604 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
2605 (valloc.o): New target.
2606 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
2607 * libc/include/malloc.h: Declare struct mallinfo, and new
2609 * libc/include/stdlib.h (cfree): Correct declaration.
2611 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
2613 * libc/include/machine/setjmp.h: Add support for Thumb target.
2615 * libc/include/machine/ieeefp.h: Add support for Thumb target.
2617 * configure.in (links): Add support for Thumb target.
2619 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
2621 * libc/sys/arm/setjmp.S: Updated with version from branch.
2623 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
2625 * libc/include/stdio.h: add POSIX-required define L_ctermid
2628 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
2630 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
2631 addition to MISSING_SYSCALL_NAMES.
2633 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2635 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
2637 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
2639 * libc/include/string.h: change strsignal proto to return
2640 a char *. This eliminates compile problems in gdb resulting
2641 from gdb's definition of strsignal in defs.h.
2643 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
2645 * libc/sys/cygwin32/sys/utime.h: new (moved here from
2646 winsup/include) so as not to conflict with the one in
2648 * libc/include/string.h: add protos for strsignal, strtosigno
2650 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
2652 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
2654 * configure.in (d30v-*-*): Add configuration.
2656 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
2658 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
2659 to select which kind of debug monitor is in use for an ARM target.
2661 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
2662 Angel and Demon debug monitors. Part of this code was supplied by
2663 Tony Thompson at ARM: athompso@arm.com.
2665 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
2667 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
2668 semantics when the count is greater than the length of the second
2671 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
2673 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2674 * libc/include/sys/unistd.h: add protos for usleep, truncate,
2675 truncate and ftruncate take off_t, not size_t
2677 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
2679 * libc/string/strcat.c (strcat): Add missing comment end.
2680 * libc/string/strncat.c (strncat): Likewise.
2682 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
2684 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2686 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
2687 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2689 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2690 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2691 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2693 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
2695 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2696 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2698 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
2700 * libc/machine/i386/setjmp.S: New file.
2701 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2702 (OFILES): Add setjmp.o.
2703 (setjmp.o): Add rule for.
2704 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2706 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
2707 Jeffrey A Law (law@cygnus.com)
2709 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2710 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2711 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2712 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2714 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
2716 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
2719 * libc/include/sys/config.h: Use __v850 to select v850
2722 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
2725 * libc/include/machine/ieeefp.h: Use __v850 to select v850
2728 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
2730 * libc/stdlib/setenv.c: change unsetenv definition to match
2731 style of setenv (with _DEFUN). The string should be a const.
2732 * libc/include/stdlib.h: unsetenv proto should return void.
2734 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
2736 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
2738 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
2740 * libc/stdio/glue.h: remove.
2741 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
2742 * libc/stdio/Makefile.in: remove glue.h dependencies
2744 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
2746 * libc/sys/sysnecv850/crt0.S: Created V850e version.
2748 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
2750 * configure.in (target_cpu): Add `arc'.
2752 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
2754 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
2755 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
2756 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
2757 * newlib/libc/reent/reent.c: Add _wrapup_reent.
2758 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
2760 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
2762 * libc/machine/mips/setjmp.S: Handle mips16 builds.
2764 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
2766 * libc/include/stdio.h (siprintf): Declare.
2768 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
2770 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
2771 TARGET_CFLAGS and NEWLIB_FLAGS.
2773 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2775 * configure.in (links): Add support for v850ea target.
2777 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2779 * configure.in (links): Add support for v850e target.
2781 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
2783 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
2785 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
2787 * configure.in (arc-*-*): Add support for.
2788 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
2790 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2792 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
2794 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
2796 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
2797 comparison which accesses invalid memory when the key is
2798 larger than the last member of the array.
2799 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
2801 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
2803 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
2805 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
2808 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
2810 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
2811 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
2813 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
2815 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
2816 to load/store memory.
2818 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
2820 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
2821 underscores if _WIN32.
2823 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
2825 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
2826 support ifdef _USE_WRITE missed in last change.
2827 From Anders Blomdell <anders.blomdell@control.lth.se>.
2829 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
2831 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
2832 (_tmpnam_r, _tempnam_r): Update.
2834 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
2836 * libc/machine/sparc/setjmp.S: New file.
2837 * libc/machine/sparc/Makefile.in: Add setjmp.
2838 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
2840 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
2842 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
2844 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
2846 From Joel Sherrill <joel@oarcorp.com>.
2847 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
2849 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
2850 * configure.in: Recognize *-*-rtems*.
2851 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
2852 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
2853 time.h,times.h,types.h}: New files.
2854 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
2856 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
2858 patch from sos@prospect.com.ru (Sergey Okhapkin):
2859 * include/sys/wait.h: correct operator precidence bug
2862 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
2864 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
2865 with newlib's unsetenv function
2866 * libc/sys/cygwin32/sys: new directory for includes
2867 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
2868 here from winsup/include/sys
2870 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
2872 * libc/include/sys/unistd.h: _exit should only be
2873 labelled noreturn when not __CYGWIN32__
2874 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
2875 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
2878 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
2880 * libc/include/sys/time.h: Only define timeval and timezone if
2881 _GNU_H_WINDOWS32_SOCKETS is not defined.
2882 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
2884 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
2886 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
2887 * libc/machine/mn10300/setjmp.S: Likewise.
2889 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
2890 the mn10300 (more relaxing opportunities).
2892 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
2894 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
2895 Build libraries with -mstrict-align.
2897 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
2899 * libc/string/strlwr.c: New file.
2900 * libc/string/strupr.c: New file.
2901 * libc/include/string.h: Declare strlwr and strupr.
2902 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
2903 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
2904 (strlwr.o, strupr.o): New targets.
2905 * libc/string/strings.tex: Include strlwr and strupr docs.
2907 * libc/include/sys/types.h: Don't define u_char, et. al., if
2908 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
2909 et. al. Make FD_SETSIZE default 64 rather than 60. Define
2910 _types_fd_set rather than fd_set, and define fd_set as a macro.
2912 * libc/include/malloc.h: New file.
2914 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
2915 strnicmp if they are not already defined.
2917 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
2918 _timezone, _daylight, and _tzname.
2920 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
2922 * configure.in: Sort all configuration tables.
2924 From Joel Sherrill <joel@oarcorp.com>
2925 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
2927 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
2929 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
2930 use int when declaring kill.
2932 * libc/include/sys/timeb.h: New file.
2934 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
2936 * libc/include/sys/time.h: add itimer support for Cygwin32
2938 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
2940 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
2941 out a message that abort was called to stderr.
2943 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
2945 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
2946 so that libio doesn't freak.
2948 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
2951 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
2952 memory sizes, not int.
2954 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
2956 * libm/math/ef_hypot.c: Use long constants where
2958 * libm/math/ef_sqrt.c: Ditto.
2960 * libc/sys/sysmec/times.c(_times): Change to times.
2962 * libc/sys/sysmec/read.c(_read): The third argument is
2964 * libc/sys/sysmec/write.c (_write): Ditto.
2966 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
2967 (_lseek): It's off_t for the second argument.
2969 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
2971 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
2972 as well as machine/ieeefp.h.
2974 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
2976 * libc/include/sys/signal.h: add signal protos for winsup
2977 functions (when __CYGWIN32__), include types.h
2978 * libc/include/sys/types.h: Change __go32_types__ internal
2979 define to __MS_types__ since it's used for more than just
2980 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
2982 * libc/include/sys/unistd.h: add ftruncate proto for
2983 winsup functions (when __CYGWIN32__)
2985 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
2987 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
2989 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
2991 * libc/include/machine/setjmp.h: Add tic80 support.
2992 * libc/machine/tic80/setjmp.S: Likewise.
2994 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
2996 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
2997 link programs from libraries only (such as in the X11
3000 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
3002 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
3003 supplied elsewhere in newlib.
3005 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
3007 * Makefile.in (INSTALL): Change install.sh to install-sh.
3009 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
3011 * README: update WWW address for on-line documentation.
3013 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
3015 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
3018 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
3020 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
3022 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
3024 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
3026 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
3027 * libc/sys/d10v/syscalls.c: Likewise.
3028 * libc/sys/h8300hms/sbrk.c: Likewise.
3029 * libc/sys/h8500hms/syscalls.c: Likewise.
3030 * libc/sys/m88kbug/syscalls.c: Likewise.
3031 * libc/sys/sh/syscalls.c: Likewise.
3032 * libc/sys/sysmec/sbrk.c: Likewise.
3033 * libc/sys/sysnecv850/sbrk.c: Likewise.
3034 * libc/sys/w65/syscalls.c: Likewise.
3035 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
3037 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
3039 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
3040 emulated syscall instead of "trap".
3042 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
3044 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
3047 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
3049 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
3051 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
3053 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
3055 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
3057 * libc/sys/tic80/crt0.c: New file for TIc80.
3058 * libc/sys/tic80/Makefile.in: New file for TIc80.
3059 * libc/machine/tic80/Makefile.in: New file for TIc80.
3061 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
3063 * libc/machine/sh/memcpy.S: New file.
3064 * libc/machine/sh/memset.S: New file.
3065 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
3067 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
3069 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
3072 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
3074 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
3077 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
3079 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
3080 (patch from andrew@pogo.WV.TEK.COM).
3082 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
3084 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
3085 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
3087 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
3089 * configure.in: Add cases for "tic80" to set machine_dir,
3090 sys_dir, and syscall_dir.
3092 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
3094 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
3096 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
3098 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
3100 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
3102 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
3103 Use proper constant prefix.
3105 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
3107 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
3108 that loses on the mn10200 where ints and pointers are different
3111 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
3113 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
3114 target as signal is provided in winsup.
3116 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
3118 * libc/include/sys/process.h: Corrected const definitions
3119 in spawn functions. Added cwait.
3121 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
3123 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
3125 * libc/include/sys/config.h: Similarly.
3127 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3129 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
3131 (i[3456]86-*-sco*): Ditto.
3133 * libc/signal/Makefile.in (OFILES): Add signal.o.
3134 (CFILES): Add signal.c.
3136 * libc/signal/raise.c (_raise_r): Only compile code if
3137 SIGNAL_PROVIDED is defined.
3139 * libc/signal/signal.c: Redo whole file so that it works with
3140 current newlib. Use _kill_r if no signal handler provided.
3142 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
3144 * libc/sys/sysvnecv70/Makefile.in: Ditto.
3145 * libc/sys/sysnecv850/Makefile.in: Ditto.
3147 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
3148 * libc/sys/sysmec/{raise,signal}.c: Ditto.
3149 * libc/sys/sysvnecv70/signal.s: Ditto.
3150 * libc/sys/sysnecv850/raise.c: Ditto.
3152 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
3153 simulator and debugger can tell the difference between a signal
3154 being raised and an exit system call.
3156 * NEWS: Document software signals being provided.
3158 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3160 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
3161 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
3162 include/sys/config.h.
3163 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
3164 Change from 'inpure_data'.
3165 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
3166 &impure_data, not &inpure_data.
3168 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
3169 and and System V ABI, define so that _impure_ptr lives in the
3172 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3174 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
3175 nothing if not defined.
3176 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
3179 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
3181 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
3183 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
3184 * libc/sys/sysmec/trap.s: Handle mn10200 too.
3185 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
3187 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
3189 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
3191 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
3193 * libc/include/sys/errno.h: Added net errno's.
3195 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3197 * libc/misc/ffs.c: New file to support ffs function for GCC test
3198 gcc.c-torture/execute/960909-1.c.
3200 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
3202 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
3204 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
3205 * libc/sys/sysmec/trap.S: Likewise.
3207 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
3209 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
3210 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
3212 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
3214 * libc/sys/sysmec/signal.c: Dummy file.
3215 * libc/sys/sysmec/Makefile.in: Build it.
3217 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
3219 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
3222 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
3224 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
3225 c-startup and simulator traps.
3228 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
3229 * libc/sys/sysmec/trap0.S: Likewise.
3231 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3233 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
3234 round to double word alignment.
3235 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
3238 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
3240 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
3243 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
3245 * configure.in: Handle mn10200 and mn10300.
3246 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
3247 * libc/include/sys/config.h: Likewise.
3248 * libc/sys/sysmec: New directory for mec stuff.
3249 * libc/machine/mn10300: New directory for mn10300 stuff.
3250 * libc/machine/mn10200: Similarly for mn10200 stuff.
3252 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
3254 * libc/sys/arm/crt0.S: Use .text, not .section .text.
3255 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
3257 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
3258 (nlink_t): Change type from unsigned int to unsigned short.
3259 (mode_t): Ensure size is 32 bits even if int is 16.
3260 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
3261 (st_spare[123]): Change type from int to long.
3263 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3265 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
3268 * configure.in (d10v*): Define SMALL_MEMORY.
3270 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3272 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
3273 -mrelocatable-lib and -mno-eabi flags.
3275 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
3277 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
3278 Fix handling of mis-aligned source operand when both the
3279 destination & length are properly aligned.
3281 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
3283 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
3284 times.o, time.o and gettime.o
3285 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
3286 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
3289 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
3291 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
3292 * libc/sys/sysnecv850/access.c: New file.
3294 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
3296 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
3298 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
3301 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
3303 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
3305 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
3307 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
3308 * libc/include/sys/config.h: Add m32r support.
3310 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
3312 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
3315 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
3317 * libc/include/machine/setjmp.h: Add D10v support.
3319 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
3321 * configure.in: Configure the "libc/syscalls" directory for
3324 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
3325 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
3326 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
3327 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
3328 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
3330 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
3332 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
3333 stack for args for main and other routines. Zero out args for
3336 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
3339 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3341 * libc/stdio/findfp.c (std): Remove extraneous ';' after
3344 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
3346 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
3347 real system calls now.
3349 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
3350 before casting them to int.
3351 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
3353 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
3355 * libc/string/memset.c (memset): Ditto.
3357 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
3358 first convert ints to _POINTER_INT to eliminate GCC warning.
3360 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
3363 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
3364 from 65000 if ints are only 16 bits.
3366 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
3367 from 50000 if ints are only 16 bits.
3369 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
3370 int type that is the same size as a pointer.
3372 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
3374 (get_number): Explicitly cast number to long before shifting by 16
3375 or 24, in case ints are short.
3377 * libc/include/sys/config.h (_POINTER_INT): Define as short.
3379 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
3381 * libc/string.h: Added ffs, removed swab.
3382 * libc/sys/errno.h: Added EOPNOTSUPP.
3383 * libc/sys/unistd.h: Added swab.
3385 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
3387 * libc/include/sys/stat.h: Added fchmod.
3388 * libc/include/sys/unistd.h: Added fsync.
3390 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
3392 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
3393 and ECONNRESET (104) for cygwin32.
3395 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
3397 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
3398 do the static destructors.
3400 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
3402 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
3404 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
3406 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
3407 * configure.in: Recognize m32r-*-*.
3409 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
3411 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
3412 __rt_stkovf_split_small): Added default software stack overflow
3413 handlers, which just call SWI_Exit.
3414 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
3415 limit initialisation.
3417 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
3419 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
3421 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
3423 * libc/include/sys/types.h: Added ssize_t definition.
3425 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3427 * libc/machine/d10v/setjmp.S: Use ';' for comments.
3428 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
3430 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
3431 branch around a single ldi instruction.
3433 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
3434 Call exit, instead of just issuing a stop instruction.
3436 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3438 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
3440 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3442 * libc/stdlib/mprec.h: Explicitly declare all large constants as
3443 longs, and then cast them to __uint32_t.
3445 * libc/include/sys/config.h: Protect against multiple inclusions.
3447 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
3449 * configure.in (d10v*): Set syscall_dir.
3451 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
3453 * libc/sys/d10v/crt0.S: Set stack pointer.
3455 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
3457 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
3458 in assembly for efficiency. Change calling convention to allow
3459 long ints to be returned.
3461 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3463 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
3465 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
3467 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
3468 Handle empty entries in $PATH.
3470 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
3472 * libc/machine/d10v/setjmp.S: Make it really work.
3474 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
3476 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
3479 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
3481 * sys/sysnecv850/sys/file.h: Remove.
3482 * sys/sysnecv850/sys/syscall.h: New file.
3483 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
3484 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
3485 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
3486 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
3487 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
3488 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
3489 * sys/sysnec850/trap.S: New file.
3490 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
3492 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
3493 * sys/sysnec850/sbrk.c: New version.
3495 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
3497 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
3498 as long as r6 is less than r7.
3500 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
3502 * Makefile.in (mostlyclean): Separate from clean target. Don't
3503 remove *.a or targ-include.
3504 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
3506 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3508 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
3510 (__SMALL_BITFIELDS): Ditto.
3512 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
3514 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
3516 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
3519 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
3520 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
3521 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
3522 * libc/sys/sysnecv850/write.c (write): Likewise.
3524 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
3527 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3529 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
3530 appropriately for D10V, depending on -mint16/-mint32.
3532 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
3534 * configure.in: Add cases for D10V.
3536 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3538 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3540 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
3542 * libc/include/machine/ieeefp.h: Fix typo.
3544 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
3546 * libc/sys/d10v: New directory for D10V stuff.
3547 * libc/include/machine/ieeefp.h: Add D10V defines.
3549 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
3551 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
3552 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
3553 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
3554 * libc/string/strerror.c (strerror): Add them.
3556 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
3558 * libc/sys/sysnecv850: New directory for v850 stuff.
3560 * libc/machine/v850: New directory for v850 stuff.
3561 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
3563 * configure.in: Add support for the v850.
3565 * libc/include/machine/ieeefp.h: Add v850 defines.
3566 * libc/include/machine/setjmp.h: Likewise.
3567 * libc/include/sys/config.h: Add v850 defines.
3569 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
3571 * libc/include/machine/ieeefp.h
3572 * libc/include/machine/setjmp.h
3573 * libc/include/sys/fcntl.h
3574 * libc/include/sys/signal.h
3575 * libc/include/sys/types.h
3576 * libc/stdlib/system.c:
3577 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
3578 API availability, __CYGWIN32__ for cygwin32 environment specific).
3580 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
3582 * libc/include/stdlib.h: add multibyte character functions. Add
3583 __eprintf for assert.
3585 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3587 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
3588 arithmetic or __alignof__ to properly get the alignment, instead
3589 of hardwiring it to 4.
3591 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
3593 * libc/stdio/fseek.c: add fflush call to adjust seek offset
3594 on append stream (fix from NetBSD sources), adjust curoff offset
3595 for ungetc's benefit.
3596 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
3597 * libc/stdio/rewind.c: replace code with up to date NetBSD
3598 code to undo hacks made to work around above problem of not
3599 having fflush call mentioned above
3601 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3603 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
3604 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
3605 Partially revert last changes. The thread specific errno is set
3606 iff if the underlying syscall fails and the global errno is not
3609 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3611 * libc/reent/filer.c: Removed files, all functions have split out
3612 into their own files.
3613 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
3614 New files containing functions formally in filer.c
3615 * libc/reent/Makefile.in: Updated for above change.
3617 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
3618 syscall fails, not if errno is changed.
3619 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
3620 _write_r): Likewise.
3621 * libc/reent/fstatr.c (_fstat_r): Likewise.
3622 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
3623 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
3624 * libc/reent/signalr.c (_kill_r): Likewise.
3625 * libc/reent/statr.c (_stat_r): Likewise.
3626 * libc/reent/timer.c (_gettimeofday_r): Likewise.
3628 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
3629 signalr.c, statr.c, timer.c} (errno): declare extern rather
3632 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
3633 instead of calling vfprintf so that i*printf will not require
3634 floating point support code.
3636 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
3638 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
3640 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
3641 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
3643 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
3645 * libc/include/signal.h: _sig_func_ptr function takes an int
3646 * libc/include/sys/signal.h: sa_handler function takes an int
3648 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
3650 * libc/include/machine/ieeefp.h: Simplify H8/S support.
3651 * libc/include/sys/config.h: Add missing H8/S conditional.
3653 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
3655 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
3657 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
3659 * libc/include/machine/setjmp.h: Handle H8/S.
3660 * libc/include/machine/ieeefp.h: Likewise.
3661 * libc/include/sys/config.h: Likewise.
3662 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
3663 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
3664 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
3665 * libc/sys/h8300hms/crt0.S: Likewise.
3667 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3669 * Makefile.in (datadir): Set to $(prefix)/share.
3670 (oldincludedir, docdir): Removed.
3671 * doc/Makefile.in (datadir): Set to $(prefix)/share.
3672 (oldincludedir, docdir): Removed.
3673 * libc/Makefile.in (datadir): Set to $(prefix)/share.
3674 (oldincludedir, docdir): Removed.
3675 * libm/Makefile.in (datadir): Set to $(prefix)/share.
3676 (oldincludedir, docdir): Removed.
3678 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
3680 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3683 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
3685 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
3686 fetch current path rules with sysconf and handler posix/win32
3689 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3691 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3692 (WAIT_CHILD): Always define.
3694 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
3696 * libc/stdlib/eprintf.c: New file.
3697 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3698 (eprintf.o): New target.
3700 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
3702 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3703 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3705 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
3707 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3708 NT in PowerPC endianess cases.
3710 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3712 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3714 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3716 * libc/string/strtok.c: Fix doc typo.
3718 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3720 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
3721 _next, _scanpoint, _signgam fields.
3723 * libc/include/stdlib.h (rand_r): Added new declaration.
3724 (_rand_r, _srand_r): Removed declarations.
3725 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
3726 have been made obsolete by rand_r.
3727 * libc/stdlib/rand_r.c: New file, rand_r function as specified
3730 * libc/string/strtok.c: Update documentation to describe
3733 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
3735 * libc/include/sys/stat.h (stat structure): Use the expanded stat
3736 structure on Solaris, and PowerPC systems even though __svr4__ is
3739 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
3741 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
3743 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
3745 * host/any: Use ../.. rather than .. to get to the main build
3746 directory. This matches the current layout of the build
3749 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
3751 * libc/machine/h8300/__main.S: Delete. No longer needed.
3752 * libc/machine/h8300/Makefile.in: Corresponding changes.
3753 * libc/sys/h8300hms/crt1.c: New file.
3754 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
3755 * libc/sys/h8300hms/crt0.s: Call __main.
3757 * libc/sys/h8300hms/crt0.S: Use temporary label names
3760 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
3762 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
3764 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3766 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
3767 .sdata on the PowerPC so that we can link newlib with code
3768 compiled with -msdata.
3770 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
3772 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
3774 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
3776 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
3777 exception handler to __cygwin_exception_handler.
3779 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
3781 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
3783 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
3785 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
3787 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
3788 wcstombs.o): Likewise.
3790 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
3792 * libc/stdlib/environ.c (initial_env): New static local.
3793 (environ): Point to `initial_env'.
3795 * libc/include/machine/setjmp.h: Clean up.
3796 (__H8300H__,__PPC__): Define _JBTYPE.
3797 (__arm__): Provide entry for.
3798 (sigjmp_buf): Delete.
3799 (jmp_buf): Use _JBTYPE if defined, otherwise int.
3801 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
3803 * libc/machine/h8300/strcmp.S: Sign extend the result to
3804 32bits so we don't lose with -mint32.
3806 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
3808 * libc/sys/go32/sys/errno.h: New file.
3809 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
3810 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
3811 errno's address (make compatible with rest of newlib).
3812 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
3813 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
3815 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
3817 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
3818 * libc/machine/sparc/Makefile.in: Build them.
3819 * libc/machine/sparc/machine/sparclet.h: New file.
3821 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3823 * libc/machine/sh/asm.h: New file.
3824 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
3825 support for SH3e's FP registers. Use asm.h.
3827 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
3829 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
3830 as first argument. Call _dtoa_r and pass the reent structure
3831 instead of calling __dtoa.
3833 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
3835 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
3836 the h8300, h8500, and others. Add comments for some rather
3839 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
3841 * Makefile.in (check): Check that testsuite exists before cd.
3843 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3845 * libc/include/string.h (strsep): Correct prototype.
3847 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
3849 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
3850 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
3851 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
3853 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
3855 * libc/posix/{creat.c,isatty.c}: New files.
3856 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
3858 * libc/sys/sparc64/crt0.S (environ): Delete.
3859 (.LHaveBias): Renamed from HaveBias.
3861 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
3863 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
3864 (_morecore_r): Delete SBRK_IS_ALLOC support.
3866 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3868 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
3869 module rather than touch, so we don't get warning messages when
3870 all of the libraries are combined into libc.a.
3872 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
3874 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
3875 crt0.s replaced by version in libgloss.
3877 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3879 * libc/reent/Makefile.in (OFILES): Add impure.o.
3880 * libc/reent/impure.o: New file, define initial reentrancy struct.
3881 * libc/reent/reent.c: Remove above definition.
3883 * libm/math/sf_asinh.c: Fix typo.
3885 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
3888 * libm/libm.texinfo: Change documentation to reflect changes
3889 in reentrancy model.
3890 * libm/math/w_gamma.c: Likewise.
3892 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
3894 * configure.in (*-*-cygwin32): New.
3895 (*-*-win32): Deleted.
3896 * libc/sys/win32 renamed libc/sys/cygwin32.
3898 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3900 * libc/include/sys/file.h: New include file.
3902 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
3904 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
3906 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
3908 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
3910 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3912 * doc/makedoc.c (realloc): Declare at file scope.
3913 (catchar): Not here.
3915 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
3917 * Makefile.in (VERSION): Update to 1.7.0.
3918 * {libc,libm}/Makefile.in (VERSION): Likewise.
3919 * configure.in: Minor clean up of multilib stuff.
3921 From David Johnson <davidj@ICSI.Berkeley.EDU>
3922 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
3924 * libc/stdlib/environ.c: New file.
3925 * libc/stdlib/Makefile.in (OFILES): Build it.
3926 * libc/sys/h8500hms/crt0.c (environ): Deleted.
3927 * libc/sys/m88kbug/crt0.c (environ): Deleted.
3928 * libc/sys/z8ksim/crt0.c (environ): Deleted.
3929 * libc/sys/netware/environ.c: Deleted.
3931 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
3933 * configure.in (links): set sys_dir, posix_dir, syscall_dir
3935 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3937 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
3938 declaration out to external scope and declare it PTR, not char *.
3940 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
3942 * libc/include/sys/unistd.h (getpagesize): New declaration.
3943 (_SC_PAGESIZE): New definition.
3944 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
3945 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
3947 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
3949 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
3950 addressing. System call returns size, not (last address + 1).
3952 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3954 * libm/math/*.c: Removed _foo_r() reentrancy API.
3955 * libc/include/math.h: Removed _foo_r prototypes and macros.
3957 * libm/math/*.c: On systems with IEEE single precision "doubles"
3958 move foo() -> foof() wrapper code from the files that implement
3959 the standard IEEE double precision functions to the files that
3960 implement IEEE single precision functions. (ie. On those systems
3961 sin is moved from s_sin.c to sf_sin.c). There should eventually
3962 be use of a C extension (like gcc's alias attribute) so that the
3963 wrappers are not needed at all.
3965 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
3966 strict NEC V810 compiler.
3967 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
3970 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3972 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
3973 from NetBSD C library.
3974 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
3976 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
3977 and adapted from implementation I wrote for NetBSD C library.
3978 The difference is __assert doesn't take a format argument,
3979 so that there won't be multiple copies of the same string
3980 constant in the executable if assertions are enabled in
3981 more than one source module.
3982 * libc/include/assert.h (assert): Changed to call __assert.
3984 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3986 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
3987 word1 on systems with 32 bit doubles.
3988 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
3989 so that we can do arithmetic on them.
3990 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
3993 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
3995 * libc/sys/arm/crt0.S: Zero bss.
3997 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
3999 * libc/include/unctrl.h: New file.
4000 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
4001 * configure.in (subdirs): Add libc/misc.
4002 * libc/Makefile.in (SUBDIRS): Add misc.
4003 (SUBLIBS): Add misc/lib.a.
4005 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
4007 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
4009 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
4010 (_vfprintf_r): Call CHECK_INIT.
4012 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
4014 * Makefile.in (MULTITOP): Delete.
4015 (MULTISRCTOP, MULTIBUILDTOP): Add.
4016 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
4017 instead of cfg-ml-pos.in.
4019 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
4021 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
4022 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
4025 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4027 * libc/string/strtok.c: Include string.h to pick up strtok_r
4030 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4032 * libc/string/strtok.c: include <_ansi.h>.
4033 * libc/time/asctime_r.c: `reresult' -> `result'.
4035 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4037 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
4038 in #ifndef _REENT_ONLY ... #endif conditional.
4040 * libc/include/string.h (_strtok_r): Remove declaration.
4041 * libc/include/time.h (_asctime_r): Remove declaration.
4042 * libc/string/strtok.c (_strtok_r): Removed.
4043 * libc/time/asctime.c (_asctime_r): Removed.
4045 * libc/string/Makefile.in (OFILES): Add new object.
4046 * libc/string/strtok_r.c: New file. strtok_r function as
4047 specified by POSIX.1c, adapted from strtok implementation
4048 from NetBSD C library.
4049 * libc/string/strtok.c (strtok): Reimplemented in terms of
4052 * libc/time/Makefile.in (OFILES): Add new objects.
4053 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
4054 New files, reentrant time functions specified by POSIX.1c.
4055 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
4056 reentrant time functions re-written in terms of reentrant
4058 * libc/time/lcltime.c: Renamed from localtime.c
4060 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
4061 gmtime_r, and localtime_r.
4063 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
4065 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
4066 * libc/include/sys/unistd.h (getlogin): Revert change of
4068 * libc/include/sys/signal.h (sigprocmask): Change prototype
4069 so it compiles with c++.
4071 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
4073 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
4074 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
4075 to give some room in case we need to align the jmp_buf.
4077 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
4078 the new ppc-asm.h include file the compiler provides to specify
4079 function prologue/epilogue. Eliminate saves of the xer and ctr
4080 registers, which are volatile. Before starting to save registers,
4081 align to 8 byte boundary.
4083 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
4085 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
4086 referenced by standard libraries.
4088 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
4090 * libc/unix/Makefile.in, libc/string/Makefile.in,
4091 libc/stdio/Makefile.in, libc/reent/Makefile.in,
4092 libc/posix/Makefile.in:
4093 Remove tabs from otherwise empty line. Confuses some
4094 older non-GNU versions of "make".
4096 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
4098 * libc/sys/unistd.h (getlogin): Returns const char *.
4100 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
4102 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
4103 * libc/include/errno.h: Moved into and include...
4104 * libc/include/sys/errno.h: New file.
4105 * libc/include/sys/wait.h: New file.
4106 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
4107 * libc/sys/win32/*: Moved out.
4108 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
4109 * configure.in (i[345]86-*-win32): HAVE_RENAME
4111 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
4113 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
4114 avoid macro expansion for these two names.
4116 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
4118 * libc/machine/h8500/psi.S: r6 renamed to fp.
4120 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
4122 * configure.in (powerpc*): No longer need to define
4123 NO_LONGLONG_POINTERS to supress warnings.
4125 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4127 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
4128 through PTR instead of directly.
4130 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
4131 non-standard constructor support.
4133 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4135 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
4136 address of the Bigint instead of the address of its _x field,
4137 as the size the result buffer was calculated accordingly.
4138 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
4140 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
4141 from NetBSD C library. No longer special cases division by
4142 zero (which needs to be done by the application anyway), but
4143 it doesn't need to call abs() (or labs()) four times either.
4145 * libc/stdlib/qsort.c: Replaced with implementation from
4148 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4150 * libc/stdio/vfprintf.c: Replaced with implementation from
4151 NetBSD C library (which is derived from the 4.4BSD C library).
4152 * libc/stdio/cvt.c: Removed.
4153 * libc/stdio/Makefile: Updated.
4155 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
4157 * libc/sys/win32/syscalls.c (rename): New.
4158 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
4160 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4162 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
4163 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
4165 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
4166 (setjmp.o): Delete rule to build setjmp.o.
4167 * libc/sys/sh/setjmp.S: Delete file.
4169 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4171 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
4172 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
4173 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
4174 pow5mult and s2b to identifiers with leading underscores.
4175 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
4176 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
4178 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
4180 * libc/sys/posix/popen.c (sys/types.h): Include.
4182 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
4184 * libc/sys/win32/syscalls.h (fhandler): New struct.
4185 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
4186 (__fhandler_normal): Declare.
4187 (hinfo): New member op_handlers.
4188 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
4189 (__write): Likewise.
4190 (_read, _write, _open, _close, _lseek): Validate fd here.
4191 Move file type specific stuff to foo_normal.
4192 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
4194 (__lookup_fhandler): New function.
4195 (__lookup_fhandler_hook, __fhandler_normal): New variables.
4197 From anders.blomdell@control.lth.se (Anders Blomdell)
4198 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
4199 Don't touch standard handles.
4200 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
4201 (_execve): Only create __FD_TABLE__ if necessary.
4202 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
4204 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
4206 * libc/sys/win32/sys/termios.h (FLUSHO): New.
4207 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
4208 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
4209 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
4210 without a handler is received.
4211 * libc/sys/win32/Makefile.in: Remove --nodelete.
4212 * libc/sys/win32/resouce.c (gettimeofday): New.
4213 * libc/sys/win32/syscalls.c (path_to_real_path): New.
4214 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
4216 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
4218 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
4219 Don't append "/*" to search pattern if trailing '/' already there,
4221 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
4222 like /'s, convert them to \'s. Handle //<drive>/ path names.
4223 Add space for quoted \'s in arg string. Print translated prog name
4224 and original prog name.
4225 (_execve): Handle parent doing exec a teensy bit better.
4226 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
4227 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
4228 path needs conversion, handle both cases. Delete `const' from result.
4229 (hash_path_name): New function.
4231 (_stat): Likewise. Fill in more fields for directories.
4232 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
4233 (wait_for_any): Fix trace message.
4234 (waitpid): Explicitly test for intpid == 0.
4236 From anders.blomdell@control.lth.se (Anders Blomdell)
4237 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
4240 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
4242 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
4245 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4247 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
4248 at all, not just == 1.
4249 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
4251 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4253 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
4254 * libc/sys/win32/include/wintypes.h: include <winnt.h>
4255 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
4258 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
4260 * libc/sys/syscalls.c (getcwd): Fix off by one error.
4262 * libc/sys/signal.c (sleep): Fill it in.
4263 * libc/sys/termios.c (tcflush): Use PurgeComm
4264 (tcsetattr): Set some more of the bits.
4265 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
4267 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
4269 * libc/sys/arm/crt0.S (fp): Initialize to 0.
4270 Conditionally include .idata$3 stuff ifdef __pe__.
4272 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
4274 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
4275 * libc/sys/win32/pipe.c (pipe): Ditto.
4276 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
4277 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
4278 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
4279 (tcgetattr): Contents are new.
4280 * libc/sys/win32/include/winkernel.h (DCB): New.
4281 (GetCommState, SetCommState): New.
4283 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
4285 * libc/sys/arm/crt0.S (_start): Define.
4287 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
4289 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
4290 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
4292 * libc/sys/win32/sysconf.c: New
4293 * libc/sys/win32/sys/winadvapi.h: New
4294 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
4295 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
4296 * libc/sys/win32/pipe.c (pipe): Ditto.
4297 * libc/sys/win32/signal.c (_raise): New.
4298 (_kill): Moved from spawn.c
4299 * libc/sys/win32/spawn.c (kill): Moved to signal.c
4300 * libc/sys/win32/syscalls.c (__read): Use new fields.
4302 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
4303 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
4304 * libc/include/sys/unistd.h (rmdir): Takes const path.
4305 * libc/include/sys/stat.h (mkdir): Takes const path.
4306 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
4308 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
4310 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
4312 Add support for specifying paths as //<drive>/foo/bar.
4313 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
4314 (__path_to_real_path): Declare.
4315 (PATH_TO_REAL_PATH): New macro.
4316 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
4317 (__path_needs_conversion_p, __path_to_real_path): New functions.
4318 (_open): Fix test for error return from CreateFileA.
4319 Handle new path syntax.
4320 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
4321 * libc/sys/win32/dirsearch.c (opendir): Likewise.
4323 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
4325 * libc/sys/win32/include/*.h: Reorganized
4326 * libc/sys/win32/include/WINREADME: New.
4327 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
4328 * libc/sys/win32/*.c: Fix for new include scheme.
4329 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
4330 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
4331 * libc/sys/win32/passwd.c (*): Fix.
4332 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
4333 (_stat): Get directory owner and permissions right.
4334 * libc/sys/win32/syscalls.h (uinfo): New.
4335 * libc/sys/win32/version.def: Remove leading underscores.
4337 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4339 * libc/sys/win32/key.c: include "include/wincon.h".
4341 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
4343 * libc/sys/win32/{key, stubs}.c: New.
4344 * libc/sys/win32/Makefile: Adjust to cope.
4345 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
4346 (environ_init): Change env names to upper case.
4347 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
4348 * libc/sys/win32/passwd.c (*): Fill in the functions.
4349 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
4350 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
4351 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
4352 (_open): Initialze hmap->execable_p too.
4353 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
4354 (_fstat): Fill in permissions.
4355 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
4357 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
4359 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
4361 (cfg-ml-pos.in invocation): Likewise.
4363 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4365 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
4366 s_isnan.o and sf_isnan.o.
4368 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
4370 * All Makefile.in files: added maintainer-clean target as a
4371 synonym for realclean.
4373 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
4375 * libc/include/machine/setjmp.h: Add hppa support.
4376 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
4378 * libc/machine/hppa/Makefile.in: Related changes.
4380 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
4382 * configure.in (machine_dir): Don't set for v810-*-*.
4384 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4386 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
4387 conventions correctly.
4389 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
4391 * libc/stdio/puts.c: Update documentation of return value to match
4394 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
4396 Fix file descriptor inheritance.
4397 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
4399 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
4400 close-on-exec flag not set. Initialize child's entire fd table.
4401 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
4403 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
4404 if CHILD_P. Initialize entire hmap entry.
4405 (dup): Only create new handle as inheritable if CHILD_P.
4406 (dup2): Likewise. Properly initialize hmap entry.
4408 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
4410 (_exit): Use CHILD_P.
4411 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
4414 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4416 * libc/sys/win32/crt0.c (passover): fix up the state table.
4417 * libc/posix/popen.c: Added.
4418 * libc/posix/Makefile.in: compile popen.c.
4420 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
4422 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
4423 h8/500 define _DOUBLE_IS_32BITS.
4425 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
4427 Get vfork/exec/spawn/cwait/wait working again.
4428 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
4429 (procinfo): New member vfork_level.
4430 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
4431 (vfork_init_first): Use GetCurrentProcessId to get pid.
4432 Initialize vfork_level.
4433 (vfork_init): Delete __PID__.
4434 (environ_init): New function. Undo patch of Aug 19, Posix says
4435 environment variables are case sensitive.
4436 (mainCRTStartup): Call it.
4437 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
4438 (my_longjump: Make static.
4439 (_spawn): New argument `h'. Delete setting of __PID__.
4440 Delete local `idx'. Look for chars that need quotes, rather than
4441 ones that don't. Set handle of created process in `h'.
4442 Result is process id if created task.
4443 (allocate_spawn_entry): New function.
4444 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
4445 (_execve): Set __FD_TABLE__ before spawning child.
4446 Scan our fd table when passing fds, not our parent's.
4447 Store handle and pid in procinfo entry.
4448 (vfork0): Ensure strace message always printed.
4449 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
4450 (vfork): Don't clobber result of vfork0.
4451 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
4452 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
4454 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
4456 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
4457 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
4458 adding vfork level to pseudo-pid.
4459 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
4460 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
4461 (_exit): If child, set exit code.
4462 (__vfork_record_death): Only close process handle if valid.
4463 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
4465 (wait_for_any): Likewise. Start scan after root entry.
4467 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4469 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
4470 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
4471 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
4472 of actual file length.
4474 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
4475 * libc/include/paths.h: _PATH_BSHELL added.
4476 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
4479 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4481 * libc/include/ar.h: Added.
4482 * libc/include/sys/types.h: ino_t goes back to 32-bits.
4483 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
4484 * libc/sys/win32/syscalls.c (_open): compute .namehash based
4486 (_fstat): use .namehash for inode number of the fd.
4488 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
4490 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
4491 Change hinfo to __this_procinfo.
4492 * libc/sys/win32/crt0.c: Remove procinfo_list.
4494 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4496 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
4499 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4501 * libc/sys/win32/include/grp.h: Removed.
4502 * libc/sys/include/grp.h: Added.
4503 * libc/sys/win32/grp.c: Include <grp.h>.
4505 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
4507 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
4508 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
4509 Defined for all but strict ANSI.
4510 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
4511 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
4512 * libc/signal/signal.c (_signal_r): Changed from using
4513 _MAX_SIGNALS to NSIG.
4514 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
4516 (__strace, __vfork_next_pid): New.
4517 (__exe_suffix): Default to 1.
4518 (passover, table): Understand quoted arguments.
4519 (vfork_init_first): New.
4520 (vfork_init): Initialize new process structure.
4521 (mainCRTStartup): Pass environ to main.
4522 * exceptions.c (__sig_mask): New
4523 (ehandler3): Ignore signals in mask.
4524 (really_exit): Remove CHILD_P test.
4525 * pipe.c (pipe, dup, dup2): Use new process and file structure.
4526 * resource.c (getrusage): Ditto.
4527 * signal.c (sigprocmask): New.
4528 * spawn.c (*): Rewritten.
4529 * syscalls.c (*): Use new process and file structure.
4530 (find_unused_handle): New.
4531 * syscalls.h (MAX_HANDLES): Deleted.
4532 (hinfo): Removed child_created_p.
4533 (MAX_CHILDREN): Deleted.
4534 (vfork_jmp_info, procinfo): New.
4535 * wait.c (*): Mostly new.
4536 * sys/strace.h (_STRACE_PARANOID): New.
4537 * sys/param.h: New file.
4539 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4541 * libc/include/sys/stat.h: add S_BLKSIZE.
4542 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
4543 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
4545 (mode_t): add a #else to avoid multiple definitons.
4547 * libc/sys/win32/Makefile.in: add grp.c.
4548 * libc/sys/win32/grp.c: include grp.h correctly.
4549 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
4550 of the st structure with real information.
4551 * libc/sys/win32 (dirent): d_ino is of type ino_t.
4553 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
4555 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
4556 and (maybe) sparc64.
4557 (nlink_t): Provide typedef.
4559 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4561 * libc/sys/win32/grp.c: New file.
4562 * libc/sys/win32/include/grp.h: New file.
4564 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4566 * libc/include/machine/ieeefp.h: Added whitespace to make this
4567 file easier to maintain.
4568 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
4569 depending on the value of __LITTLE_ENDIAN__.
4570 On the sh3e, define _DOUBLE_IS_32BITS.
4572 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
4574 * libc/sys/vr4300/syscalls.c: Added missing support
4575 routines. _raise() and getpid().
4577 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
4579 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
4581 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
4583 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
4584 and VR4300 processor.
4585 * libc/sys/vr4300: Add directory.
4586 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
4587 monitor run-time support.
4589 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4591 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
4592 * libc/stdlib/stdlib.tex: Don't include atol.def.
4594 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4596 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
4598 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
4600 * libc/ctype/Makefile.in: Fill in _to* dependencies.
4602 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
4604 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
4605 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
4606 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
4607 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
4608 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
4610 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4612 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
4614 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4616 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
4617 * libc/stdlib/atoff.c: New file.
4618 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
4619 * libc/stdlib/atoi.c (atol): Removed.
4620 * libc/stdlib/atol.c: Removed duplicate documentation.
4622 * libc/include/ctype.h (_tolower, _toupper): Moved inside
4623 #ifndef _STRICT_ANSI conditional.
4624 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
4625 * libc/ctype/_tolower.c: New file.
4626 * libc/ctype/_toupper.c: New file.
4627 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
4628 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
4629 * libc/ctype/toascii.c (_toascii): Removed.
4631 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
4633 * libc/sys/sparc64/sys/types.h: Deleted.
4635 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4637 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
4638 and recognize Windows_95 systems.
4640 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4642 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
4643 and passed fds should be opened in text mode.
4645 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4647 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
4648 in __hmap, set to binary mode by default.
4650 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4652 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
4653 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
4656 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
4658 * Makefile.in (install): Install all libraries found in the
4659 top level. If there's a sys/<type>/include directory,
4660 install those headers into include.
4662 * libc/sys/win32/kernel.def351: Delete
4663 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
4664 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
4665 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
4666 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
4667 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
4668 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
4669 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4670 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4672 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4673 * libc/sys/win32/crt0.c: Force all env names to upper case.
4674 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4675 * libc/sys/win32/*.c: Headers have moved.
4676 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4677 __vfork_child_idx is now __vfork_child_ptr.
4679 * posix/execvp (execvp): Don't crash if no PATH envname.
4681 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4683 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4684 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4685 through the _freelist instead of through the _reclaim list.
4686 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4687 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4690 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4692 * libc/machine/h8500/setjmp.S: New file.
4693 * libc/include/machine/setjmp.h: Updated for H8/500.
4695 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
4697 * libc/sys/win32/syscalls.c (_open): More stracing.
4698 (_stat): Open the file in O_BINARY.
4700 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4702 * libc/machine/h8300/setjmp.S: New file.
4703 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4705 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
4707 * libc/sys/win32/crt0.c (__exe_suffix): New global.
4708 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4709 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4710 __exe_suffix. Free fd_tab after setting env variable.
4711 (spawnv,_execve): Update.
4712 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4713 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4714 (__small_vfprintf): New function.
4715 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4716 * libc/sys/win32/wait.c (cwait): Validate argument.
4718 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
4719 (process_deletion_queue): Likewise.
4721 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
4723 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
4725 * libc/sys/win32: Copyrights and gratuitous indenting.
4727 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
4729 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
4730 (process_deletion_queue): Likewise.
4731 (__close_all_files): New function.
4732 (_close): Only queue file deletion if really a file.
4733 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
4735 (_exit): Call __close_all_files.
4737 * libc/stdlib/system.c: #include <errno.h>.
4738 (_system_r): Fix results in -DNO_EXEC case.
4740 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
4741 Reorganize structure.
4742 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
4743 if argument is valid. Save directory name in DIR. malloc space
4744 for dirent struct separately.
4745 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
4747 * libc/include/errno.h (ENAMETOOLONG): Define.
4748 * libc/string/strerror.c (strerror): Reword ENFILE.
4749 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
4751 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
4753 * libc/sys/win32/crt0.c (__progname): New global.
4754 (mainCRTStartup): Support strace=bitmask,filename.
4755 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
4756 * libc/sys/win32/syscalls.c (_write): Print parent trace message
4758 (getcwd): Handle len too small. Convert '\\' to '/'.
4759 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
4760 Add prototypes for open, creat, fcntl.
4761 (O_APPEND): Change value to conform to Microsoft's value.
4762 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
4764 * libc/stdlib/getopt.c: New file.
4765 * libc/stdlib/Makefile.in: Build it.
4767 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
4769 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
4770 Fix scanning of $PATH.
4771 * libc/posix/exec*.c: Call _execve, not execve.
4772 * libc/posix/execve.c: New file.
4773 * libc/posix/Makefile.in (OFILES): Add execve.o.
4775 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
4776 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
4777 (_STRACE): If level==0, always print. Handle new bit mask scheme.
4778 * libc/sys/win32/crt0.c: Update _STRACE calls.
4779 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
4781 * libc/sys/win32/smallprint.c (rn): Fix digit list.
4783 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
4784 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
4785 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
4786 Print __seterrno trace message first.
4787 (_execve): Renamed from execve.
4788 (vfork): Update __strace usage.
4789 (__vfork_child_pid): Deleted.
4790 (__vfork_children, __vfork_child_idx): New globals.
4791 (_spawnvp): New function.
4792 (spawnvp, spawnv, _execve): Call _spawnvp.
4793 (init_child): Record child in __vfork_children.
4794 (__vfork_get_entry, __vfork_record_death): New functions.
4795 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
4796 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
4797 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
4798 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
4799 (children): New typedef.
4800 (__vfork_children,__vfork_child_idx): Declare.
4801 (__vfork_get_entry,__vfork_record_death): Declare.
4802 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
4803 (waitpid): Handle pid == -1.
4804 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
4805 * configure.in (i386-win32): Add -DNO_FORK.
4806 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
4807 * libc/reent/execr.c (_fork_r): Likewise.
4808 * libc/stdlib/system.c (do_system): New function.
4809 If WIN32, try to get shell path from $SH_PATH, use vfork.
4810 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
4813 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
4815 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
4816 * libc/sys/win32/fcntl.h: Don't include self.
4817 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
4818 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
4819 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
4820 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
4821 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
4823 * libc/sys/win32/strace.c: New file.
4824 * libc/sys/win32/smallprint.c: New file.
4825 * libc/sys/win32/crt0.c (func): Delete.
4826 (mainCRTStartup): Fix alloca usage. Set handles explictly.
4827 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
4828 * libc/sys/win32/exceptions.c: Lint.
4829 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
4830 Clean up handle usage.
4831 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
4832 (open.c): Default file type is text.
4833 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
4834 * libc/sys/win32/advapi32.def: New
4836 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
4838 * configure.in (posix_dir, libc_posix_lib): New variables.
4839 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
4840 (i[345]86-*-win32): Define posix_dir.
4841 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
4842 (if unix_dir): Fix typo.
4843 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
4844 scandir,seekdir,telldir}: New files.
4845 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
4847 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
4848 (SUBDIRS): Add posix.
4849 (SUBLIBS): Add $(LIBC_POSIX_LIB).
4851 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
4852 (NSIG): Increase to 21.
4853 * libc/include/sys/unistd.h (pid_t): Move from here,
4854 * libc/include/sys/types.h (pid_t): to here.
4856 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
4858 (hinfo): New members close_exec_p, child_created_p.
4859 (struct exception_list): Define.
4860 (__hmap): Redefine as pointer to table.
4861 (__parent_hmap, __child_hmap): New globals.
4862 (__set_errno, __really_exit): Declare.
4863 (__vfork_child_pid): Declare.
4864 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
4865 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
4866 (__parent_hmap, __child_hmap): New globals.
4867 (__hmap): Redefine as pointer to active map.
4868 (__get_console): New function.
4869 (mainCRTStartup): Change leading '=' in environ vars to '!'.
4870 (env __FD_TABLE__): Watch for this and initialize our fd/handle
4871 mapping table from it if defined.
4872 (argv, envp): Dump if __strace >= 4.
4874 * libc/sys/win32/exceptions.c (myp): Redefine.
4875 (__syscalls_b): Delete.
4876 (__stack_trace): New function.
4877 (ehandler3): Update to use _STRACE. Print stack trace.
4878 Call __really_exit instead of exit.
4879 (init_exceptions): Delete args argc,argv. New arg mine.
4880 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
4881 FindFirstFileA, FindNextFileA, GetComputerNameA,
4882 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
4883 * libc/sys/win32/signal.c (signal): Validate arg.
4884 (alarm, sleep): Define as stubs for now.
4885 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
4886 (__syscalls_b, errno): Delete.
4887 (__vfork_child_pid, __vfork_jmp_buf): New globals.
4888 (__seterrno): Handle more errors.
4889 (__sys_printf): Renamed from _ptrace.
4890 (__really_exit): New function.
4891 (queue_file_deletion, process_deletion_queue): New functions.
4892 (__resume_parent): New function.
4893 (_unlink): Handle trying to delete open file.
4894 (__totime_t): Renamed from totime_t.
4895 (setsid, __read, __write): New functions.
4896 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
4897 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
4898 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
4899 * libc/sys/win32/console.c: Update to new definition of __hmap.
4900 * libc/sys/win32/Makefile.in: Build new files.
4901 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
4902 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
4903 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
4904 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
4906 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
4908 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
4910 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4912 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
4913 have been made to the master dtoa.c sources (from netlib.att.com)
4914 since they were integrated into newlib in early 1992. Fixes
4915 problems with storage leaks and handling of numbers with very
4918 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4920 * Makefile.in (all): set rootpre and srcrootpre before calling
4923 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
4925 * libc/sys/win32/crt0.c: Change __hmap usage.
4926 * libc/sys/win32/exceptions.c: Use _ptrace call.
4927 * libc/sys/win32/syscalls.c: Use _ptrace call.
4928 (read, write): Cope with DOS style CRLF when in TEXT mode.
4929 * libc/sys/win32/syscalls.h: Declare hinfo struct.
4930 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
4931 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
4932 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
4933 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
4935 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4937 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
4939 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
4940 wrappers for hypot() and remainder() for BSD libm compatibility.
4941 These are public domain implementations written by me for the
4942 NetBSD libm some time ago. Note cabs() is required by ucbtest.
4943 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
4944 (fobj): Added wf_cabs.o and wf_drem.o.
4946 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4948 * libc/sys/h8500hms/misc.c: New file.
4949 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
4951 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4953 * libc/time/localtime.c (localtime): Fix problem with leap year
4954 handling. Stole algorithm from Arthur David Olson's tz code.
4956 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
4958 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
4960 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
4961 (_exit): Use argument.
4963 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
4965 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
4967 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
4969 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
4971 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4973 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
4976 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
4978 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
4979 ptrace with case insensitivity
4980 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
4981 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
4984 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
4986 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4987 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
4988 (all, install, *clean): Use new multilib support.
4989 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4991 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
4993 * libc/include/sys/signal.h (__WIN32__): New.
4995 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
4997 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
4998 (ulp, b2d): Handle 32 bit doubles.
4999 * libc/stdlib/mprec.h: Handle 32 bit doubles.
5000 * libc/stdlib/strtod.c (_strtod_r): Ditto.
5002 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
5004 from medp@primag.co.uk:
5005 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
5006 dynamically allocated buffers.
5008 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
5010 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
5011 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
5013 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5015 * configure.in (powerpc): Fix previous fix.
5017 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5019 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
5020 directories for this target.
5022 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5024 * configure.in (hppa): Add machine_dir definition.
5025 * libc/machine/hppa: New directory with PA specific implementations
5026 of the basic memory/string functions.
5028 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5030 * configure.in: Update current PowerPC multilib directories.
5031 Split big and little endian configurations.
5033 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
5035 * configure.in: Add --enable-single-float option to configure to
5036 control use of MIPS single-float directories. Default to yes.
5038 * Makefile.in (all): Don't recurse into multilib directory if it
5041 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5043 * libc/sys/sh/syscalls.c: Fix typo.
5045 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
5047 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
5049 * libc/include/process.h: Define WAIT_CHILD.
5050 * libc/include/types.h: Get sizes right for win32.
5051 * configure.in (i386-*-pe): Becomes i386-win32.
5052 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
5053 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
5054 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
5057 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
5059 * configure.in (i[345]86-*-pe): New target (NT).
5060 * host/any: DLLTOOL new.
5061 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
5062 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
5063 WIN32 (just enough to cross host the comp-tools).
5065 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
5067 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
5068 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
5070 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
5072 * libc/include/machine/ieeefp.h (arm): Change to always be
5073 __IEEE_BIG_ENDIAN (even on little endian ARM's).
5075 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
5077 * libc/sys/crt0.S: Initialze sp, and call exit after main.
5078 * libc/sys/syscalls.c (abort): New.
5079 * configure.in (arm): Define ABORT_PROVIDED.
5081 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5083 * configure.in (powerpc): Define multidirs.
5085 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
5087 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
5089 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
5091 * configure.in (sparclite): Delete target_cflags. Define multidirs.
5093 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
5095 * configure.in, libc/include/machine/ieeefp.h: Modified
5097 libc/machine/arm/*, libc/sys/arm/*: New
5099 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5101 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
5102 __powerpc__ when determining endianness.
5104 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5106 * configure.in (m68*): Add multidir for the m68332.
5108 * host/any (CC): Fix typo in last change.
5110 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5112 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
5113 when determining endianness.
5114 * libc/include/machine/ieeefp.h: Ditto.
5115 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
5118 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
5120 * libc/include/errno.h (ENOTEMPTY): Define.
5122 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5124 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
5127 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
5130 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
5131 instead of only when open succeeds. ANSI requires that multiple
5132 calls to tmpnam() result in different files.
5134 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
5135 objects pulled in from /lib/libc.a that must be renamed before
5136 being pulled into newlib. /lib/libc.a's div.o conflicted with
5137 newlib's file with the same name.
5139 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
5141 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
5142 the build tree will only be used if the executables are present
5143 (instead of just the Makefiles).
5145 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
5147 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
5148 versions of these functions that I orignally wrote for the
5150 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
5151 versions I wrote for NetBSD.
5153 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
5155 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
5156 * libc/sys/sparclite/crt0.s: ditto.
5158 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
5160 * configure.in: Add soft-float for proelf.
5162 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
5164 * libc/stdlib/mprec.h (Bcopy): Copy the right number
5167 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
5169 * Makefile.in (all): Depend on `force'.
5170 * configure.in (syscall_dir): Renamed from fake_sys_dir.
5171 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
5172 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
5173 * libc/Makefile.in: Likewise.
5174 * libc/include/reent.h: Update syscall references.
5175 (_fcntl_r): Add prototype.
5176 * libc/syscalls/*.c #include <reent.h>.
5177 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
5179 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
5181 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
5182 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
5183 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
5184 (time.h, sys/types.h): Always include (even if MSDOS).
5185 (stat): Fix prototype.
5187 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
5189 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
5191 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5193 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
5195 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
5197 * libc/include/regdef.h: New file.
5198 * libc/machine/mips/machine/regdef.h: New file.
5200 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
5202 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
5204 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
5206 * libc/sys/sh/crt0.S: Pass main's return to exit.
5207 * libc/sys/sh/trap.S: Put errno in the right place.
5209 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5211 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
5212 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
5213 * libm/math/ef_rem_pio2.c: Likewise.
5214 * libm/math/e_log10.c: Remove unused static one.
5215 * libm/math/ef_log10.c: Likewise.
5216 * libm/math/s_frexp.c: Likewise.
5217 * libm/math/sf_frexp.c: Likewise.
5219 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
5221 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
5222 longjmp.S: Upgraded.
5223 * libc/sys/go32/sys/setjmp.h: Upgraded.
5224 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
5226 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5228 * configure.in: Add many entries to multidirs for mips targets.
5230 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5232 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
5233 5.2 which fixes bug where jn(-1,x) is three times larger than
5235 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
5237 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
5239 * libc/sys/w65/sys/syscalls.h: New file
5240 * libc/include/machine/ieeefp.h: W65 support.
5241 * libc/include/sys/config.h: Ditto.
5242 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
5243 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
5244 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
5246 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5248 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
5250 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
5252 * Makefile.in, configure.in: Remove any references to the old
5255 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5257 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
5258 uses ... in prototype.
5261 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
5263 * libc/sys/a29khif/sys/libconfig.h: Remove.
5264 * libc/sys/go32/sys/libconfig.h: Remove.
5265 * libc/sys/sun4/sys/libconfig.h: Remove.
5266 * libc/sys/sysvi386/sys/libconfig.h: Remove.
5267 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
5268 * libc/sys/sparc64/sys/libconfig.h: Remove.
5270 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
5271 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
5272 * libc/include/math.h: Change all uses of _FLOAT_RET and
5273 _FLOAT_ARG to float.
5274 * libm/test/math.c: Likewise.
5275 * testsuite/libm.sac/math.c: Likewise.
5276 * testsuite/libm.sac/working/math.c: Likewise.
5278 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5280 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
5281 gcc calls gas with endian option.
5282 * configure.in (sh): Build little endian version too.
5284 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5286 * configure.in: Configure big and little endian versions for MIPS
5289 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
5291 * libc/include/limits.h: Deleted.
5292 * libc/include/machine/limits.h: Deleted.
5294 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
5296 * ChangeLog: Remove stub directory. This has all been rewritten
5297 and moved to devo/libgloss.
5299 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5301 * Makefile.in (dvi): Add to info target, use $@ in sub make.
5302 (docs): Merge into info target.
5303 * libm/Makefile.in (dvi): Add $(srcdir).
5304 * libm/math/Makefile.in (chobjs): Remove underscores from file
5305 names. Texinfo doesn't like them.
5306 (wacos.def, ...): Add explicit targets for all .def files.
5307 * libm/math/math.tex: Remove underscores from @include file names.
5308 * doc/Makefile.in (dvi): Add dummy target.
5309 * testsuite/Makefile.in (dvi): Add dummy target.
5311 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
5313 * Makefile.in (VERSION): Define. For net newlib releases.
5315 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
5319 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5321 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
5323 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5325 * libc/stdlib/setenv.c (_findenv): Declare.
5327 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
5328 fcntl to not use _EXFUN, and change string parameters to open and
5329 creat to be ``const char *''.
5330 * libc/sys/sparc64/sys/fcntl.h: Likewise.
5331 * libc/sys/sparc64/creat.c (creat): Make PATH const.
5332 * libc/syscalls/sysopen.c: Include <fcntl.h>.
5333 (open) Make _FILE const.
5334 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
5335 (_creat): Make PATH const.
5336 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
5337 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
5338 * libc/sys/m88kbug/syscalls.c (open): Likewise.
5339 * libc/sys/sh/syscalls.c (_open): Likewise.
5340 * stub/shared/glue.c (open): Make BUF const.
5341 * stub/ex93x/syscalls.c (open): Make FILENAME const.
5343 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5345 * libc/include/errno.h: Add ENMFILE
5346 * libc/include/sys/config.h: Support Z8000.
5347 * libc/include/sys/signal.h: New signals for go32.
5348 * libc/machine/h8500/psi.S (__addpsir0r0): New function
5349 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
5350 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
5351 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
5352 size is variable, depending upon CHUNK_POWER.
5353 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
5355 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5357 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
5359 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5361 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
5363 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5365 * configure.in: Change i[34]86 to i[345]86.
5367 * libc/include/math.h: Don't define HUGE_VAL if it is already
5370 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5372 * testsuite/libm.sac/test_erfc.c: Correct some result values.
5373 * testsuite/libm.sac/test_gammaf.c: Likewise.
5374 * testsuite/libm.sac/test_sin.c: Likewise.
5375 * testsuite/libm.sac/test_tanh.c: Likewise.
5377 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5379 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
5380 already set. Define typedefs __int32_t and __uint32_t.
5381 * libc/include/math.h: Include <machine/ieeefp.h>.
5382 (union __dmath): Use __uint32_t.
5383 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
5384 instead of int and unsigned int.
5386 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5388 Replace the math library with the SunPRO fdlibm package.
5389 * libm/math: Completely changed all files.
5390 * libm/ieeefp: Remove contents and directory.
5391 * libm/Makefile.in (LIBM_FP_LIB): Remove.
5392 (SUBDIRS): Just set to math/lib.a.
5393 * libm/libm.texinfo: Updated for new library.
5394 * libc/include/math.h: Extensive changes for new math library.
5395 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
5396 from _FLOAT_ARG to float.
5397 (maxpowtwo, maxpowtwof): Don't declare.
5398 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
5399 (libm_fp_lib): Removed.
5400 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
5401 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
5402 argument to ${RUNTEST}.
5403 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
5405 (RUNTESTFLAGS): Set CC and CFLAGS.
5406 (TESTS): Remove test_log2 and test_log2f.
5407 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
5408 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
5409 _FLOAT_ARG, for single precision argument type.
5410 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
5411 expected failure. Close the input pipe.
5412 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
5413 Correct misspelling of inaccurate.
5414 (test_mok): Use ``inaccurate'', not ``wrong''.
5415 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
5416 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
5417 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
5418 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
5419 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
5420 test_yn.c): Correct many result values. Many are still wrong.
5422 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
5423 just copy the string.
5424 (_gcvt): Always return the buffer.
5426 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5428 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
5430 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
5432 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
5434 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
5435 (_reclaim_reent): declare new entry point.
5436 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
5439 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
5440 ever allocated, so that we can later reclaim them all.
5441 (pow5mult): make reentrant.
5443 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
5444 so that when given NULL as a buffer, return a pointer to static
5445 space in the rent structure. This is not documented behaviour;
5446 it's only to support ecvt and fcvt, which aren't ANSI anyway.
5447 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
5448 therefore become reentrant).
5450 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
5452 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5454 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
5456 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5458 * Makefile.in: Make link to libg.a after libc.a; this is needed
5459 for the testsuites to build executables when everything comes
5462 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
5464 * libc/Makefile.in: Add a VERSION variable so we can keep track.
5465 * libm/Makefile.in: Add a VERSION variable so we can keep track.
5467 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5469 * libc/include/stdio.h: Use __VALIST, not va_list.
5471 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
5473 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
5474 testsuite/libm.sac/execute.exp:
5475 Replace error proc calls with perror calls.
5477 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
5479 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
5480 * libc/include/time.h: #define NULL as 0L.
5482 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
5484 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
5487 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5489 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
5492 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
5494 * configure.in (TARGET_CFLAGS): Set -O2 as default.
5495 (z8k-*-*): Use syscalls fake sys dir.
5496 * libc/sys/z8k/glue.c: Rename syscalls.
5497 * libc/sys/go32/Makefile.in: Use new routines.
5498 * libc/machine/Makefile.in: Fix typo in ln stuff.
5500 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5502 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
5503 * libc/Makefile.in (crt0.o): Likewise.
5504 * libc/machine/Makefile.in (lib.a): Likewise.
5505 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
5507 All Makefile.in files: Added mostlyclean, realclean and distclean
5510 * Makefile.in: Don't bother to unexport XTRAFLAGS or
5511 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
5512 the top level Makefile.
5514 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
5516 * libc/sys/sparc64/sys/stat.h: New file.
5517 * libc/sys/sparc64/sys/time.h: New file.
5518 * libc/sys/sparc64/sys/types.h: New file.
5520 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
5522 * stub/ex93x/crt0.s (start): Add code to clear bss.
5524 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
5526 * libc/include/sys/types.h (time_t): Properly protect inside
5527 #ifndef __time_t_defined.
5529 * libc/stdio/fileno.c: New file.
5530 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
5531 (fileno.o): Add dependency.
5532 * libc/include/stdio.h (__sgetc): Rename never to _never.
5533 (fileno macro): Disable, needs to do CHECK_INIT first.
5535 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
5537 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
5540 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
5541 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
5543 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
5546 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
5548 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
5549 of the various constants.
5551 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
5553 * libc/include/math.h: #ifndef __math_68881 around things which
5554 conflict with the (gcc-provided) inline functions in
5555 gcc/ginclude/math-68881.h.
5557 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
5559 * libc/include/_syslist.h (_gettimeofday): Define.
5561 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
5562 (struct tms, timeval, timezone): Declare.
5563 (_gettimeofday_r, _times_r): Declare.
5564 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
5565 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5566 (time_t): Add multiple definition protection, __time_t_defined.
5567 * libc/include/sys/time.h: Don't #include <time.h>.
5568 Always define struct timezone (remove #ifndef _TIME_H_).
5569 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
5570 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5571 * libc/reent/Makefile.in (OFILES): Add timer.o.
5572 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
5573 * libc/reent/timer.c: New file.
5574 * libc/time/clock.c: #include <reent.h>.
5575 (clock): Call _times_r instead of times.
5576 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
5577 HAVE_GET_TIME_OF_DAY.
5578 Add comment regarding supporting OS routine(s) required (for docs).
5580 (time): Call _gettimeofday_r instead of gettimeofday.
5581 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
5582 * libc/time/ctime.c: Ditto.
5583 * libc/time/strftime.c: Ditto.
5584 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
5585 (TEMPLATE_SFILES_R): Define here. Also define times.
5586 Add times_r.o/times.S dependence.
5587 (time2.c, junk.c): Deleted.
5588 * libc/sys/sparc64/time2.c: Deleted.
5589 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
5591 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
5592 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
5593 * libc/sys/sparc64/junk.c: Deleted.
5595 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
5597 * libc/sys/sparc64/Makefile.in: Add times syscall.
5598 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
5599 be used with and without it. Add comment clarifying Medium/Anywhere
5601 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
5602 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
5605 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
5607 * configure.in (target_cflags): Move init.
5608 (sparc64-*-*): Define HAVE_BLKSIZE.
5610 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
5612 * libc/include/sys/_types.h: New file.
5613 * libc/include/reent.h: #include it.
5614 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
5615 MISSING_SYSCALL_NAMES.
5617 * libc/include/_syslist.h: Remove _raise.
5618 * libc/reent/signalr.c: New file.
5619 * libc/reent/Makefile.in: Compile it.
5620 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
5621 Add doc for raise and _raise_r.
5622 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
5623 (raise): Call _raise_r.
5624 (_raise_r): Call _getpid_r and _kill_r.
5625 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
5626 (abort): Loop forever calling raise and _exit.
5628 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5630 * configure.in: Remove extraneous echo.
5632 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
5634 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
5635 collision with unistd.h, and fix for svr4.
5637 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
5639 * libc/stdio/local.h (_llicvt): Declare.
5640 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
5641 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
5643 (_sicvt): Fix function header (`value' is short).
5644 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
5645 Add printing of long long's support.
5646 Add printing of 8 byte pointer support.
5648 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
5650 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
5651 stat, chmod): New hooks.
5652 (sbrk): Abort if stack and heap collide.
5653 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
5654 shortcut when given small args.
5655 * libc/machine/sh/setjmp.s: Rewritten.
5656 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
5657 of cmp/str instruction.
5659 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5661 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
5662 and machine_dir powerpc.
5663 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
5664 Add cases for __powerpc__.
5665 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
5668 * libc/include/stdio.h (_iprintf_r): Declare correctly.
5670 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
5672 * libc/stdlib/callocr.c: New file with _calloc_r in it.
5673 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5675 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
5677 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5678 (print_e): More comments to describe args, etc.
5679 "type" arg may now be 'g' or 'G' for %g/G format --> remove
5681 (_gcvt): Remove locals decpt, sign, end, p, done.
5682 More comments for print_e invocation.
5683 Pass "type" to print_e as is (g/G).
5685 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
5687 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5690 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
5692 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5693 works with any sized pointer, including ones bigger than ints and
5696 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
5698 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5700 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5702 * libc/include/stdlib.h (_calloc_r): Add prototype.
5703 * libc/machine/h8500/negsi2.c: New file.
5704 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5705 large unsigned numbers.
5706 * libc/machine/h8500/cmpsi.c: Add cmppsi.
5707 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5708 works when sizeof(size_t) != sizeof(char *).
5709 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5711 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5713 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
5715 * libc/include/assert.h (assert): Handle -traditional.
5717 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
5719 * Makefile.in: added ; after every "fi" and "done" that wasn't at
5720 the end of a line (ie. anything before a backslash continuation)
5721 so that bash handles them.
5723 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5725 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
5728 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
5730 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
5731 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
5732 libc/machine/sh/udivsi3.s: Use new calling convention.
5734 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
5736 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
5737 chmod, access, chdir, chown by making _path const. Also fix _amode
5740 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
5742 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
5743 _khif_tmpnam, because it doesn't comply with ANSI but may be
5744 useful anyway. Real tmpnam was already in libc/stdio, and was
5745 colliding with this one (pr 2176.)
5746 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
5747 the wrong idea anyhow.
5749 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
5751 * configure.in: Remove h8300h, we have multilib now.
5753 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
5755 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
5756 functions, to get preference over the ones in libiberty (since we
5757 provide correct declarations in <string.h>.
5758 * libc/string/Makefile.in: add support for strncasecmp,
5761 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
5763 * Change netware config not to look for cpu explicitly.
5765 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
5767 * libc/sys/sparc64/{creat.c,junk.c}: New files.
5768 * libc/sys/sparc64/Makefile.in: Add dependencies.
5770 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
5772 * configure.in: Clean up v9 a bit, new "os" aoutv8.
5774 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
5776 * libc/include/sys/reent.h: make structure smaller by allocating
5777 some stuff when needed.
5778 * libc/signal/signal.c: allocate as needed
5779 * libc/stdio/findfp.c,stdio/local.h: ditto
5780 * libc/stdlib/mprec.c: ditto
5782 * libc/time/localtime.c: don't return a dangling stack ptr.
5784 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
5786 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
5788 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5790 * libc/include/stdio.h (__sputc): comment out static inline which
5791 confuses coff toolchains.
5793 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
5795 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
5796 _write.s, getpid.c, kill.c, read.s}:
5797 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
5798 through the syscalls directory.
5800 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
5802 * configure.in: fixed double quote gotcha.
5804 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
5806 * stub/ex931: stub library for sparclite board.
5807 * stub/idp: Renamed from mc68ec. Added contructor table
5808 stuff to linker script.
5809 * stub/mvme135: Renamed from m68kmvme. Added contructor table
5810 stuff to linker script.
5812 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5814 * configure.in: Configure testsuites only if they exist.
5816 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5818 * configure.in: Don't set machine_dir for i386 until there is
5819 something in libc/machine/i386 to compile. For i[34]86-*-netware*
5820 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
5821 CLOCK_PROVIDED and MALLOC_PROVIDED.
5823 * libc/sys/netware: New directory. Contains simplistic and
5824 probably incorrect stubs for NetWare. Should be enough to load
5826 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
5827 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
5830 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
5831 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
5832 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
5833 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
5835 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
5837 * testsuite/Makefile.in: add "docs" dummy target for consistency
5838 with rest of newlib; turn "info" and "install-info" into dummy
5839 targets, since they wouldn't have worked. (Depended on
5840 nonexistent "doc" subdir.)
5842 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5844 * configure.in: handle mips* instead of mips
5846 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
5848 * libc/include/sys/dirent.h: New file. If it is not overridden by
5849 a version of libc/sys/*/sys/dirent.h, it includes the next
5850 <dirent.h> file in case there is one lurking somewhere.
5852 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5854 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
5855 compliance, namely: Accept a minus sign. Consider a single 0 with
5856 a radix of 0 as being a conversion. Determine overflow correctly.
5857 If an overflow occurs, set *ptr to the end of the number, not the
5859 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
5861 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
5863 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
5865 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
5867 * Makefile.in (INSTALL): Use $srcrootpre.
5868 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
5870 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
5872 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
5873 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
5874 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
5875 * libm/math/Makefile.in (matherr.o): Ditto.
5877 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5879 * configure.in: Build multidirs for z8k.
5880 * libc/include/stdlib.h (_strtoul_r): add prototype.
5881 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
5882 * libc/include/machine/setjmp.h: Add for z8k.
5883 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
5884 * libc/sys/z8ksim/glue.c: tidy up.
5886 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
5888 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
5889 New files. Requires execve system call.
5890 * libc/unix/Makefile.in: Use them.
5891 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
5892 Deleted, moved to libc/unix.
5893 * libc/sys/sparc64/Makefile.in: Remove them.
5895 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
5897 * libc/sys/sparc64/{template.S template_r.S}: New files.
5898 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
5900 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
5901 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
5902 umask.S unlink.S wait4.S write.S}: Removed, now built from
5905 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
5907 * libc/time/time.c: #include <_ansi.h>.
5909 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
5911 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
5913 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5915 * configure.in: match m8* rather than m88k so that m88110 is
5918 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
5920 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
5921 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
5924 * configure.in: Add multilib support to h8300.
5926 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
5928 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
5929 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
5930 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
5932 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5934 * configure.in: Corrected multidirs for sparc target.
5936 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5938 Support for building newlib multiple times with different
5940 * configure.in: Only configure doc at top level. Set multidirs
5941 when appropriate for target, unless not at top level. If
5942 multidirs is set, independently configure each subdirectory.
5943 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
5944 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
5945 automagically set by configure.in.
5946 (all): If MULTIDIRS is set, build multiple copies of libraries.
5947 (install): If MULTIDIRS is set, install multiple copies of
5948 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
5949 MULTISUBDIR is set, don't bother to install header files.
5950 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
5952 * stub/configure.in: Set MULTISUBDIR appropriately.
5953 * stub/Makefile.in (install): Install in
5954 $(tooldir)/lib/$(MULTISUBDIR).
5955 * All Makefile.in files: Define SRCTOP as well as TOP.
5957 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
5959 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
5960 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
5962 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
5964 * libc/sys/h8300hms/exit.c (_exit): New function.
5966 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5968 * configure.in: recognize m88110.
5970 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5972 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
5973 prototype main and call with args.
5975 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
5977 First real try at system traps for m88k-bug.
5978 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
5980 * libc/sys/m88kbug/sys/systraps.h: new file.
5982 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5984 Patches to fix info building when target does not use sys
5986 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
5987 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
5989 * libc/sys/Makefile.in (doc): do nothing.
5991 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5993 * libc/Makefile.in (CRT0): new macro.
5994 (all): depend on $(CRT0) rather than crt0.o.
5996 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
5997 do not default crt0, instead, set crt0 and crt0_dir based on
5998 sys_dir and stub_dir.
6000 * Makefile.in (CRT0_DIR): new macro.
6001 (all): depend on $(CRT0) rather than crt0.o which may not exist.
6002 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
6004 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
6006 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6008 * testsuite/lib/libm.exp:
6009 added code to support compiling and linking of tests for
6010 libm.sac (paranoia to be added next) and processing the
6011 pass or failure of the tests.
6013 * testsuite/config/unix-libm.exp:
6014 platform specific proc's for dealing with compiler, linker
6015 and the way we execute and process the test results.
6017 * testsuite/libm.sac/execute.exp:
6018 generic framework for the sac tests. the config and lib
6019 expect code for specific platforms tie it all together.
6021 * testsuite/libm.sac/test_is.c:
6022 changed the output of the test to be consistant with the
6023 other tests. parsing of pass nad fail messages is now fixed.
6025 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
6027 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
6028 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
6029 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
6030 #ifdef __cplusplus, surround by extern ""C { ... }.
6031 * libc/include/assert.h: Do *not* protect assert.h against
6032 multiple inclusion! Also, #undef it before #define, to allow
6034 * libc/include/stdio.h (getlogin, cuserid): Removed. These
6035 should be only in unistd.h.
6037 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
6038 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
6041 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
6043 * libc/machine/sparc/Makefile.in: Must create a library, even
6046 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6048 * configure.in: set machine_dir for m88k. edit crt0 definition
6051 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
6053 * libc/Makefile.in (all): also build crt0.o.
6055 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
6056 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
6059 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
6060 (all): reworked to build in place.
6061 (clean): remove lib.a
6062 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
6064 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
6065 (_start): key off edata rather than _start_bss.
6067 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
6069 * libc/include/sys/unistd.h, libc/include/reent.h,
6070 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
6072 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6074 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
6076 * Makefile.in (libc.a): break into two rules, one for libc.a and
6077 one for libc/libc.a. Force subdirs current before rebuilding
6079 (libm.a): break into two rules, one for libm.a and one for
6080 libm/libm.a. Force subdirs current before rebuilding library.
6082 * libc/Makefile.in (SUBLIBS): fix typo.
6084 * libc/sys/Makefile.in (all): force descent into subdirs, then
6085 rebuild library iff out of of date.
6087 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6089 Rework so that library is built and then finished rather than
6090 being built on each invocation of make.
6092 * host/any (machine_dir, sys_dir, signal_dir): these are not
6093 shared and have been moved to their associated Makefile.in's.
6094 (AR_FLAGS): switch to qc which is faster.
6095 * configure.in: no longer assign machine_dir for m88k. set
6096 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
6097 stub_dir set, then add to configdirs. add comment about silly
6099 (configdirs): drop stub. It will be added only
6101 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
6102 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
6103 stub_lib, crt0): new variables for tailoring lower level
6104 makefiles. Assign accordingly and edit into makefiles.
6105 * libm/Makefile.in: updated copyright.
6106 (TARGETLIB): removed.
6107 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
6108 (SUBDIRS): removed TARGETDEP_DIRS.
6109 (LIBM_FP_LIB, SUBLIBS): new macros.
6111 (force): new target to force rebuilds.
6112 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6113 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
6114 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
6115 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
6116 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
6117 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
6118 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
6119 stub/m68kmvme/Makefile.in: updated copyright.
6120 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
6121 (all): reworked. made this the default rule.
6122 (clean): also remove lib.a.
6123 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6124 * stub/Makefile.in: updated copyright.
6125 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
6126 (stub_lib): new macro.
6127 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
6130 (clean, install): assume stub_dir exists.
6131 (Makefile): depend on configure.in. call $(SHELL) rather than
6132 sh. drop redundant ./
6133 * stub/configure.in (stublib): new macro, assign it, edit it into
6135 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
6138 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6139 * libc/Makefile.in (TARGETCRT0): removed.
6140 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
6142 (SUBDIRS): drop TARGETDEP_DIRS.
6143 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
6144 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
6145 (force): new target to force rebuilds.
6146 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
6147 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
6149 (clean): assume sys_dir always exists.
6150 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
6152 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
6153 libc/locale/Makefile.in, libc/machine/Makefile.in,
6154 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
6155 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
6156 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
6157 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
6158 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
6159 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
6160 libc/signal/Makefile.in, libc/stdio/Makefile.in,
6161 libc/stdlib/Makefile.in, libc/string/Makefile.in,
6162 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
6163 libc/time/Makefile.in, libc/unix/Makefile.in,
6164 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
6165 (TARGETLIB): removed.
6167 (clean): also remove lib.a.
6168 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6169 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
6171 (SUBDIRS): moved to follow frag inclusion, change stub to
6173 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
6174 are now set in the libc Makefile.
6175 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
6176 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
6178 (force): new target to force rebuilds.
6179 * stub/configure.in: determine and set stub_lib for for Makefile.
6181 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
6183 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
6184 crt0.s renamed to crt0.S.
6185 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
6187 * libc/machine/h8300/Makefile.in: Make `all' the default target.
6188 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
6190 * libc/machine/h8300/defines.h: Add macros to handle pointers for
6191 h8300 (16 bits) and h8300h (32 bits).
6192 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
6193 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
6195 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
6197 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
6198 implementation of setjmp and longjmp for the m88k.
6199 * libc/include/machine/setjmp.h: Added __m88000__ case.
6201 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
6203 * configure.in: Recognize h8300h as variant of h8300.
6205 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6207 * libc/include/sys/unistd.h (read, write): get prototypes right.
6208 (sbrk): New prototype.
6209 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
6210 * libc/stdio/local.h: Include unistd.h.
6211 * libc/machine/h8300/syscalls.c: Names have changed.
6213 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
6215 * configure.in: add sys_dir assignment for m88k-bug.
6217 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
6219 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
6221 * libc/sys/sparc64: all *.S files: Use new macros.
6222 * libc/sys/sparc64/isatty.c: New file.
6223 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
6224 functions beyond what newlib provides.
6226 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
6228 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
6231 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
6233 * libc/include/machine/ieeefp.h: Add support for h8/300h.
6235 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
6237 * configure.in: add m88k.
6238 * libc/include/machine/ieeefp.h: add case for m88k. Also add
6239 sanity check so no one else need ever chase what I did to find
6242 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
6244 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
6246 * doc/makedoc.c: Include <ctype.h>.
6248 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
6250 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6251 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6252 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6254 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
6256 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
6258 * libc/include/errno.h (ENOSYS): Added.
6260 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
6262 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6264 * libc/stdio/fflush.c (fflush): Check for reent struct
6266 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
6268 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
6270 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
6271 out of dtoa.c so it doesn't pollute the namespace.
6272 * libc/include/_syslist.h: new file -- mappings from _function to
6273 function, for systems where we can't win (by default, all of them,
6274 until we start updating system calls.)
6275 * libc/syscalls: new directory -- stubs for exporting _function
6276 names as unmodified function names.
6277 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
6278 _syslist.h on all platforms by default, but put hooks in for
6279 fake_sys_dir so we can include it when we've renamed the system
6281 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
6282 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
6283 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
6284 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
6285 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
6286 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
6287 non ANSI functions to call _function.
6289 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
6291 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
6292 when base 16 is specified. Don't accept non-digits if radix > 10.
6294 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
6296 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
6298 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6300 * libc/include/sys/stat.h: Surround text after #endif with
6303 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
6305 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
6306 _malloc_r, _realloc_r, and free_r call the corresponding
6307 non-reentrant functions.
6309 * libm/math/modf.c (modf): We now take the address of ipart, so
6310 don't make it a register variable.
6312 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
6314 * libm/math/*: Rename all xxx_r fns to _xxx_r.
6316 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
6318 * libc/libc.texinfo and embedded docn throughout: formatting
6319 improvements, minor rephrasing for clarity, and improved
6322 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6324 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
6326 * libc/stdio/cvt.c (_licvt): Print the right value on machines
6327 where sizeof(int) != sizeof(long).
6329 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6331 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
6332 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
6333 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
6334 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
6335 libm/math/matherr.c: changes for better docn formatting (info).
6337 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
6338 libc/reent/reent.tex, libc/signal/signal.tex,
6339 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
6340 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
6341 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
6342 makeinfo node defaulting to get better Info file node structure.
6343 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
6344 Also include a few formerly missing sections (subroutines).
6346 * doc/doc.str: delete fossil expansion for "func"
6348 * default.menu, no-signal.menu: delete.
6350 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
6351 method used to adjust doc for missing "signals" chapter when
6352 signal_dir is empty.
6354 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6356 * configure.in: added testsuite/libm.sac
6358 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
6360 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
6363 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
6365 * libm/Makefile.in: Use $(MAKE) rather than make, and define
6366 MAKEOVERRIDES to be empty.
6368 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
6370 * configure.in: Don't build mips-*-* with -msoft-float, since that
6371 makes it incompatible with hard floating point.
6373 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6375 * Makefile.in: added recursive 'make check'
6377 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6379 * configure.in: added ./testsuite ./testsuite/libm.paranoia
6380 * ./testsuite/Makefile.in: created
6381 * ./testsuite/libm.paranoia: paranoia tests added
6383 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
6385 * configure.in: For mips-*-* set machine_dir to mips.
6387 * libc/machine/mips: New directory.
6388 * libc/machine/mips/Makefile.in: New file.
6389 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
6391 * libc/include/machine/setjmp.h: Added __mips__ case.
6393 * libc/machine/lmips: Removed unused and useless directory.
6395 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
6397 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
6399 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
6401 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
6404 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
6406 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
6409 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
6411 * libm/test/convert.c: structure member errno -> errno_val.
6412 Must include <errno.h> to use errno, it's a macro now.
6413 * libm/test/math.c: Ditto.
6414 * libm/test/math2.c: Include errno.h.
6415 * libm/test/string.c: Ditto.
6416 * libm/test/test.h: structure member errno -> errno_val.
6417 Remove extern int errno decl.
6419 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
6421 * libc/stdio/Makefile.in: Added dependencies on local header
6423 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
6426 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
6428 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
6430 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
6432 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
6435 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
6436 * libc/stdio/local.h: Add prototype for _licvt.
6438 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
6439 instead of malloc,reealloc.
6441 * libc/stdlib/local.h: New file.
6442 * libc/stdlib/efgcvt.c: #include local.h.
6443 (gcvt): Fix call to _gcvt.
6444 * libc/stdlib/ecvtbuf.c: #include local.h.
6446 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
6447 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
6448 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
6450 * libc/stdlib/atexit.c: moved global data to struct _reent.
6451 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
6453 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
6455 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
6457 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
6458 here from ../reent.h.
6460 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
6462 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
6463 should be provided in both libc.a and libm.a.
6464 (libc.a): Depend on targ-include and libm.a. Copy
6465 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
6466 (libm.a): Depend on targ-include.
6467 * configure.in (subdirs): Removed libc/math.
6469 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6471 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
6473 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
6475 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
6476 sys/reent.h instead of reent.h.
6477 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
6478 headers moved to sys/reent.h.
6479 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
6480 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
6481 __need__MAX_SIGNALS defined.
6482 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
6483 std{in,out,err} refer to new _std{in,out,err} members.
6485 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
6487 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
6490 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
6492 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
6493 rather than whatever macro seterrno() has.
6495 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
6497 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
6498 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6500 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
6503 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
6504 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
6505 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6507 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
6508 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6510 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
6511 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
6512 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
6513 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
6514 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
6515 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
6516 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
6517 renamed to _xxx_r. struct reent_struct renamed to struct _reent
6518 for ANSI. structure members given leading "_" for ANSI. Use
6519 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6521 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
6522 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
6523 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
6524 reent_struct renamed to struct _reent for ANSI.
6525 Structure members given leading "_" for ANSI.
6526 _CONST --> const in prototypes.
6527 Use _HAVE_STDC instead of __STDC__.
6529 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
6531 struct reent_struct renamed to struct _reent for ANSI.
6532 Structure members given leading "_" for ANSI.
6534 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
6536 struct reent_struct renamed to struct _reent for ANSI.
6538 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
6539 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
6540 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
6541 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
6542 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
6544 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
6545 signal.h, stdio.h, stdlib.h, string.h, time.h}:
6546 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6547 #ifndef _STRICT_ANSI non-ANSI routines.
6548 Reentrant routines renamed from _r_xxx to _xxx_r.
6549 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
6550 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
6551 Clean up namespace (structure members have leading "_").
6552 struct reent_struct renamed to struct _reent for ANSI compliance.
6553 _CONST --> const in function prototypes.
6555 * libc/include/string.h: Add NULL and size_t.
6557 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
6558 unlink, wait, wait4. Reentrant syscall routines close, fork,
6559 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
6561 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
6562 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
6563 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
6564 write.S}: Define reentrant versions.
6565 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
6568 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
6570 * libc/include/stdlib.h (RAND_MAX): Fix value.
6572 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
6574 * libc/sys/a29khif/_main.c: Removed unnecessary file.
6575 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
6576 VPATH support targets after all: target.
6578 * stub/mvme135/mvme.S: Renamed exceptionhandler to
6579 exceptionHandler, which is what mvme135-stub.c expects.
6581 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
6583 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
6585 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
6586 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
6589 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
6591 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
6593 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
6595 libc/reent/fstatr.c (_r_fstat): Ditto.
6596 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
6597 libc/reent/sbrkr.c (_r_sbrk): Ditto.
6598 libc/reent/statr.c (_r_stat): Ditto.
6600 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
6601 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
6602 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
6603 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
6604 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
6605 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
6606 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
6607 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
6608 (__swrite): Ditto for _r_lseek, _r_write.
6609 (__sseek): Ditto for _r_lseek.
6610 (__close): Ditto for _r_close.
6611 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
6613 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
6614 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
6616 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
6617 to make reent_struct the first argument (and thus consistent with
6618 the rest of newlib).
6620 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
6621 reference to __STDC__.
6623 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
6625 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
6628 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
6630 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
6632 libc/stdio/fclose.c (fclose): Ditto.
6634 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
6636 * Run through indent and rename reentrant routines for ANSI.
6637 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
6638 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
6639 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
6640 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
6641 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
6642 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
6643 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
6644 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
6645 vsprintf.c wbuf.c wsetup.c local.h}
6647 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
6649 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
6650 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
6651 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
6652 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
6653 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
6654 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
6656 * Run through indent.
6657 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
6658 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
6659 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
6660 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
6663 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
6664 localtime.c mktime.c strftime.c time.c}:
6665 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
6667 * Reformatting + renaming (for ANSI, GNU style, consistency).
6668 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
6669 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6670 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6672 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
6674 * libc/include/stdio.h (stdin_r): Fix.
6676 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
6678 * Makefile.in: Unexport some variables to keep GNU make from
6679 putting them in the environment and using up needed ARG_MAX space
6680 (a hack is used to let this work with older makes as well).
6682 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
6684 * Makefile.in: Use $(MAKE) rather than make.
6685 (MAKEOVERRIDES): Define to be empty.
6686 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6687 (libc.a, libm.a): Depend on targ-include.
6688 * host/any (LD): Don't define.
6689 (INCLUDES): Use targ-include.
6690 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6691 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6692 * libc/Makefile.in: Use $(MAKE) rather than make.
6693 (MAKEOVERRIDES): Define to be empty.
6694 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6695 (all): Rewrote to be slightly smaller.
6696 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6698 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6699 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6701 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
6703 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6706 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
6708 * Changes for reentrancy.
6709 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6710 Use ptr->_errno, not errno.
6711 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6712 libc/stdio/remove.c (remove_r): New function.
6713 libc/stdio/rename.c (rename_r): New function.
6714 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6715 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6716 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
6717 reentrant versions of system calls.
6718 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
6719 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
6720 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
6721 libc/stdio/findfp.c: Include <string.h>.
6722 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
6724 libc/stdio/wbuf.c: Include "fvwrite.h"
6726 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
6728 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
6729 (NULL): Don't define if already defined.
6730 libc/stdlib/system.c: Call reentrant versions of system calls.
6731 (system_r): New function.
6733 * Changes for reentrancy.
6734 libc/include/_ansi.h (_PARAMS): New macro.
6735 libc/include/errno.h: Define errno as a macro that calls __errno.
6736 (__errno_r): New macro for reentrant code.
6737 libc/include/math.h: Include reent.h. Declare many reentrant
6739 (signgam): Now a macro, not a variable.
6740 (struct exception): Added err field.
6741 libc/include/reent.h: Don't declare __sglue. Added function
6743 (struct reent_struct): Moved errno to beginning. Added _signgam.
6744 libc/include/stdio.h, libc/include/stdlib.h: Added function
6747 * More reentrancy hacking.
6748 libc/errno/errno.c (__errno): New function.
6749 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
6750 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
6753 * Added many new reentrant functions to libm/math/*.
6754 libm/math/error.c (__matherror): Added reent_struct pointer
6755 argument. Changed all callers.
6756 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
6757 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
6758 libm/math/tan.h: Removed obsolete unused header files.
6760 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
6762 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
6764 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6766 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
6769 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6771 * libc/libc.texinfo: comment out reentrancy chapter (duh)
6773 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6775 * libc/reent/reent.tex: New file. (text from
6776 newlib/libc/libc.texinfo)
6777 * libc/stdio/tmpnam.c: fixed doc typo
6778 * libc/stdlib/rand.c: fixed doc typo
6780 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6782 * libc/reent/reent.tex: New file. (text from
6783 newlib/libc/libc.texinfo)
6785 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6787 support for reentrancy
6788 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
6790 * libc/errno/errno.c, libc/include/ieeefp.h,
6791 libc/include/locale.h, libc/include/reent.h,
6792 libc/include/signal.h, libc/include/stdio.h,
6793 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
6794 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
6795 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
6796 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
6797 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6798 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
6799 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
6800 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
6801 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
6802 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
6803 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
6804 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
6805 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
6806 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
6807 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
6808 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
6809 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
6810 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
6811 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
6812 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
6813 libc/time/strftime.c: modify to provide reentracy.
6816 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
6817 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
6818 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
6819 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
6820 mstats_r, realloc_r, localeconv_r, setlocale_r
6822 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
6824 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
6825 libc/include/sys/config.h, libc/include/sys/signal.h,
6826 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
6827 provided macros (such as m68000), use the ansi version
6828 (__m68000__) so that the library can be used with code compiled
6829 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
6832 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6834 * configure.in (sparc*): Don't set -fsoft-float for sparc
6835 configurations. Do set -fsoft-float for sparclite configurations.
6837 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6839 * default.menu, no-signal.menu: alternate forms of libc main menu
6840 (in newlib rather than newlib/libc due to configuration restrictions)
6842 * configure.in: select one of the two menus above, link to
6845 * libc/libc.texinfo: include menu from separate file
6847 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
6849 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
6850 (info): Split long shell command in half.
6851 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
6852 sub-makes, just CHEW and TARGETDOC.
6853 (targetdep.tex): Removed now special handling of sys and machine
6854 subdirectories, made obsolete some time ago.
6855 * libc/machine/Makefile.in (doc): Don't pass everything to
6856 sub-make, just CHEW and TARGETDOC.
6857 (Makefile): New target.
6858 * libc/sys/Makefile.in (Makefile): New target.
6860 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
6862 * Makefile.in (here and most subdirectories): Only pass down CHEW
6863 and TARGETDOC when making info, not for other targets.
6865 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
6866 $(AR_FLAGS) rather than $(ARUPDATE).
6868 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
6870 * Try to reduce command line length:
6871 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
6872 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
6873 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
6874 (info): Pass CHEW to other subdirs.
6876 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
6878 * configure.in: add signal_dir, like unix_dir, but by default it
6879 is set to "signal" so that a29khif can turn it off (since a29khif
6880 has raise() as part of machine-specific signal.s.)
6882 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6884 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
6885 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
6887 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
6888 libc/stdio/vfprintf: type lint.
6889 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
6891 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
6893 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
6895 * stub/mvme135/mvme135-asm.S: new file.
6896 stub/mvme135mvme135-stub.c: moved all assembler routines into
6898 stub/mvme135/Makefile.in: build mvme135-stub.o.
6900 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
6902 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
6903 sub-Makefiles instead, to try to avoid line length limitations.
6905 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
6907 * libc/include/unistd.h (read, write): Use void* instead of
6910 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
6912 * stub/go32/resetpc: sample script to send a reset packet to the
6915 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
6916 DOS environment, which compiles with Turbo C.
6918 * stub/go32/DSER32.LNK: new file, linker commands for serial
6921 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
6922 start up message to identify version; call set_debug_traps.
6924 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
6925 keyboard interaction); call handle_exception() in go_til_stop,
6926 rather than return, so that the remote stub gets control.
6928 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
6929 rename, rather than mv), set flags that work with current Turbo C,
6930 including using the /3 flag; also, add commands to build dser32.
6932 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
6933 default Turbo C installation (\tc rather than \usr)
6935 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
6938 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6940 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
6942 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6944 * libc/stdio/cvt.c (licvt): new function to convert ints when
6945 sizeof(int) != sizeof(long).
6947 * libc/include/stdio.h: added prototype for iprintf.
6948 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
6950 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
6952 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
6953 __REGISTER_PREFIX__.
6955 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
6957 * libc/sys/m68kbare: moved into stub directory.
6959 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
6961 * configure.in, Makefile.in: created new directory stub, to hold
6962 sample code for specific targets.
6964 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
6966 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
6967 in the unified libc/include/sys/fcntl.h.
6969 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
6971 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
6972 printed .01, not 0.01.
6974 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
6976 * configure.in: compile with -m68000 for m68* targets.
6978 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
6980 * libm/math/remainder.c (remainder): document the svr4 and sunos
6981 references used to construct the function.
6983 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
6985 * libm/math/remainder.c (rint, remainder): fix old typos.
6986 * libm/math/Makefile.in: actually build remainder.c (functions
6987 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
6990 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
6992 * libc/string/bcopy.c: BSD version works on overlapping strings,
6995 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
6998 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
7000 * Makefile.in (docs): new target.
7002 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
7004 * libc/include/sys/times.h: define clock_t as required by POSIX.
7005 libc/include/time.h: protect clock_t from multiple definitions.
7007 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7009 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
7010 does not need more than the original three iterations to get
7011 within 1 ulp. (Paranoia tests for rounding to better than that,
7012 but further iterations *don't* help, only more subtle changes
7015 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
7017 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
7018 were doing nothing useful.
7020 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
7022 * configure.in: define MALLOC_PROVIDED for vxworks targets;
7023 removed sys_dir settings of vxworks68 and vxworks960.
7024 host/any: don't pass -nostdinc to gcc, since newlib no longer
7025 provides all required header files.
7027 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
7028 is not defined; this provides a hook for VxWorks.
7030 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7032 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
7033 buffer if buf is NULL, don't do it here -- it is already being
7034 done by makebuf elsewhere in stdio.
7036 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
7038 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
7039 that C programs can call functions without using initial
7042 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
7044 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
7046 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
7048 * configure.in: set TARGET_CFLAGS for certain CPU types to
7051 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7053 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
7055 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
7057 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
7060 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
7062 * libc/include/stdio.h: define __need___va_list before including
7063 <stdarg.h>, to avoid defining va_arg, et. al.
7065 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
7067 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
7068 (don't cd to the user's home directory).
7070 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
7071 In general this is the wrong thing to do, but I can't get around
7072 GNU make's insistence on passing command line arguments any other
7075 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
7077 * configure.in: always configure the libc/sys directory, since it
7078 now provides a required documentation file.
7080 * Makefile.in: replaced all instances of $(MAKE) with make. In
7081 general this is the wrong thing to do, but I can't get around GNU
7082 make's insistence on passing command line arguments any other way.
7084 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
7086 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
7089 * libc/stdio/local.h: include <stdarg.h> to define va_list.
7090 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
7092 * libc/include/float.h, libc/include/stdarg.h,
7093 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
7095 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
7096 <stdarg.h>, not from <machine/types.h>. Protect definition of
7098 libc/include/time.h: get size_t from stddef.h. Protect definition
7100 libc/include/machine/limits.h: override gcc <limits.h> by defining
7101 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
7102 get correct INT_MIN and LONG_LONG values.
7103 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
7104 size_t or va_list at all; they're now gotten from stddef.h
7106 libc/include/machine/varargs.h: removed; use gcc version instead.
7107 libc/include/sys/types.h: explicitly include <machine/types.h>.
7109 * libm/math/sqrt.h: using the fp-bit routines appears to require
7112 * Makefile.in, host/any: let system include files override machine
7115 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7117 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
7118 override _*_T_ definitions defaulted here.
7120 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
7122 * Makefile.in (install): install the include files in
7123 $(tooldir)/include, not $(exec_prefix)/include.
7125 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
7127 * Makefile.in (install): fixed typo, and changed install to not
7128 force rebuild of libc.a and libm.a.
7130 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
7132 * libc/sys/a29khif/*: Changed all .include's to include
7133 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
7134 that they will be installed for the user.
7136 * Makefile.in (all): create targ-include, a directory holding the
7137 machine and system specific header files during the build.
7138 (install): fixed installation of machine and system specific
7141 * Makefile.in: fixed comment.
7142 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
7143 we can pass $(INCLUDES) to it.
7145 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
7147 * libc/include/sys/param.h: new generic file, which may be
7148 overridden for specific systems.
7150 * libc/include/sys/signal.h: define all ANSI signal names, and
7151 NSIG (which is not ANSI) for a29k.
7153 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
7155 * Makefile.in: don't pass down arguments the lower level makes
7157 * libc/Makefile.in: recurse directly, rather than using subdir_do,
7158 in hopes of avoiding argument length limits.
7159 * libm/Makefile.in: recurse directly, rather using subdir_do, in
7160 hopes of avoiding argument length limits.
7162 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
7164 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
7167 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
7169 * Fixed make info and make install-info for newlib, changing most
7170 Makefile.in and several *.tex files. Moved doc directory from
7173 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
7174 Should be rewritten.
7176 * libc/string/strings.tex: renamed node index to node index
7177 function, so that it does not conflict with the top level index
7180 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
7182 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
7184 * Overhauled general configuration for newlib. Eliminated all
7185 target dependent Makefile fragments. Create libraries in newlib
7186 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
7187 than CROSS_CC, et. al. Broke make docs; will fix later.
7189 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
7190 Should be rewritten.
7192 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
7194 * libc/configure.in: cleaned up somewhat; switch on ${target}
7195 rather than ${target_alias}.
7196 * libm/configure.in: cleaned up somewhat; switch on ${target}
7197 rather than ${target_alias}.
7199 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
7200 * libc/include/ctype.h: marked _ctype_ as _CONST.
7202 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
7205 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
7206 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
7207 libc/stdio/gets.c (gets): removed non-ANSI warning message.
7208 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
7210 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
7211 bigtens, tinytens): marked arrays _CONST.
7212 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
7213 rather than a static variable.
7215 * libc/time/asctime.c (asctime), libc/time/localtime.c
7216 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
7217 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
7218 mname_len, mname): Marked static arrays _CONST.
7220 * libm/math/gamma.h: made local variables non-static.
7222 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
7223 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
7226 * libm/math/constants.c: removed file, because the constants it
7227 defined were never referenced.
7228 libm/math/Makefile.in: removed references to constants.c.
7229 libm/math/mathimpl.h: removed declarations of constants.
7231 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
7233 * libc/include/machine/varargs.h: only call __builtin_saveregs if
7234 it is sensibly defined in libgcc2. Checks preprocessor defines,
7235 which is not a good solution.
7237 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
7239 * libm/frexp.c: handle denormalized numbers as arguments.
7241 * libm/math/Makefile.in: added some dependencies for .c files
7242 which include local .h files.
7244 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
7246 * libc/configure.in: set target_alias for OSE*. Replace
7247 target_makefile_frag if it is blank.
7249 * libc/Makefile.in: make sure everything is passed to subsidiary
7250 makes; create all directories when installing.
7252 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
7253 CROSS_ARUPDATE instead of AR.
7255 * libm/configure.in: set target_alias for OSE*. Replace
7256 target_makefile_frag if it is blank.
7258 * libm/Makefile.in: make sure everything is passed to subsidiary
7259 makes; create all directories when installing.
7261 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
7263 * add following change from libc copy.
7265 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7267 * libc/libc.texinfo: make copyright disclaimers appear on back of
7268 title page; make format of same slightly less ugly; avoid using
7269 underbars in section headings (avoids nasty texinfo bug in table
7272 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
7273 comments only) avoid using underbars in section headings
7275 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7276 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
7277 changes in comments only): shorten headings ieeefp/infinity.c,
7278 ieeefp/isnan.c: (doc, comments only) more informative headings
7280 * libc/math/bessel.c: (doc, comments only) shorten heading
7282 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
7283 (doc, comments only) shorten headings
7285 * libc/time/localtime.c (doc, comments only): shorten headings
7287 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7289 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
7290 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
7292 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
7293 only) more informative headings
7294 * libm/math/bessel.c: (doc, comments only) shorten heading
7296 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7298 * .../Makefile.in: use CROSS_ARUPDATE consistently.
7299 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
7300 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
7301 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
7302 defined, the one from the .mt file will be correct.
7303 * libc/include/machine, libc/include/sys: created, and populated
7304 with common files from machine/*/machine. ifdefs were used for
7305 most, typically by handling exceptions first and then filling in
7306 defaults. Files with D.J. Delorie copyright #included rather than
7307 copied. Most files in include/sys really were the same in the
7309 * libc/include/...: cleaned up use of _EXFUN.
7310 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
7311 it with double quotes, not angles.
7313 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
7315 * libc/Makefile.in: always create installation directories.
7317 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7319 * libc/configure.in: handle host properly (using canonical
7320 triples), better error message for the case of target not found
7322 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
7324 * libc/Makefile.in (insincdir): Ensure this directory exists
7325 before attempting installation.
7327 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7329 * libc/stdlib/assert.c: now calls abort like it should
7330 * libc/sys/a29khif: many many patches for 29khif work
7331 * libc/machine/i386: gnulib2 expanded there.
7333 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7335 Added accurate fp conversion routines to stdlib, moved dcvt from
7336 stdio to stdlib and called it ecvtbuf:
7337 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
7338 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
7340 * libc/libc.texinfo: Modifed to include the copyright info from
7342 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
7343 * libc/test/ : many vector which tested for the implementation
7344 defined returns of strange conversion requests have been updated
7345 to relflect the new implementation
7347 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7349 * libc/libc.texinfo: new chapter on variable arg lists
7350 (stdarg.h/varargs.h)
7351 * libc/libc.texinfo: new title
7352 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
7353 (doc only) shorter headings for better formatting.
7355 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7357 * libc/libc.texinfo: three more info menu entries
7358 * libc/locale/locale.tex: new chapter
7359 * libc/locale/locale.c: new doc for setlocale, localeconv
7360 * libc/locale/Makefile.in: use new locale doc
7361 * libc/signal/signal.tex: new chapter
7362 * libc/signal/raise.c, libc/signal/signal.c: new doc
7363 * libc/signal/Makefile.in: use new doc
7364 * libc/time/time.tex: new chapter
7365 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
7366 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
7367 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
7368 * libc/time/Makefile.in: use new doc
7370 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7372 * libm/math/log1p.c: split to use the new function way of float
7373 function definition. math/log1p.h deleted
7374 * libm/math/scalb.c: obsolete and deleted
7375 * libm/math/scalbn.c: created from part log1p.c
7376 * libm/math/Makefile.in: know about log1p and scalbn
7378 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7380 * libc/ctype/isupper.c: revise doc;
7381 libc/ctype/ctype.tex: use doc from isupper.c
7383 * libc/string/bzero.c: new doc
7385 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7387 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
7389 * libc/stdlib/Makefile.in: extract new doc
7390 * libc/stdlib/stdlib.tex: use new doc
7392 * libc/string/strerror.c: expanded doc.
7394 * libc/stdio/Makefile.in: extract doc from more files
7395 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
7396 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
7397 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
7398 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
7399 libc/stdio/vsprintf.c: new doc
7400 * libc/stdio/stdio.tex: use new doc
7402 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7404 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
7405 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
7407 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
7410 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
7411 * libc/stdio/setbuf.c: added ansi style definition.
7412 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
7413 buffer if none provided.
7414 * libc/stdio/tmpfile.c: lint
7415 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
7416 rather than using static, also make sure file isn't already
7417 present. Uses P_tmpdir. (tempnam): rewritten to use new
7418 subroutine, and uses P_tmpdir.
7419 * libc/stdio/siprintf.c: created
7421 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7423 Release 1.03 for NEC, major mods. Main differences from release
7426 More tests in test/:
7427 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
7428 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
7429 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
7430 get/set mask, get/set sticky and get/set roundtoi. Tests
7431 that setting the bits changes the way arithmetic is done.
7432 * string.c: added test to make sure memcmp does it with unsigned
7434 * test.c: cleaned up and removed lint.
7435 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
7436 dvec.c: tests for string to value conversions, sprintf, scanf,
7437 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
7438 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
7439 rounding in sprintf too.
7440 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
7441 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
7442 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
7444 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
7448 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
7449 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
7450 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
7451 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
7452 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
7454 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
7455 * Method of producting float versions of double functions has
7456 changed, functions will be modified gradually. So far:
7457 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
7458 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
7460 * libc/string/memcmp.c: now uses unsigned chars
7461 * libc/string/bcmp.c, libc/string/strcpy.c,
7462 libc/stsring/strxfrm.c: fixed doc
7463 * libc/sys/sysvnecv70.tex: fix example of sbrk code
7466 version-control: never