1 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
3 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
6 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8 * libc/include/sys/reent.h (_rand_next): Changed to
9 unsigned long long and moved to end of _reent struct in _new union.
10 (_REENT_INIT): Changed to move _rand_next initialization.
11 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
12 linear congruential algorithm that is used by DJGPP.
14 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
16 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
17 * libc/include/sys/config.h: Define __RAND_MAX.
19 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
21 * libc/stdlib/rand_r.c: New algorithm that meets minimal
24 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
26 * libc/include/string.h: Work around problem with strsignal and gdb.
28 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
30 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
31 * libc/include/malloc.h: Ditto.
32 * libc/include/process.h: Ditto.
33 * libc/include/stdio.h: Ditto.
34 * libc/include/stdlib.h: Ditto.
35 * libc/include/time.h: Ditto.
36 * libc/include/machine/setjmp.h: Ditto.
37 * libc/include/sys/errno.h: Ditto.
38 * libc/include/sys/signal.h: Ditto.
39 * libc/include/sys/stat.h: Ditto.
40 * libc/include/sys/time.h: Ditto.
41 * libc/include/sys/unistd.h: Ditto.
42 * libc/include/string.h: Ditto. strsignal should return a const char *.
44 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
46 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
47 * libm/common/s_log1p.c (log1p): Likewise.
48 * libm/common/s_scalbn.c (scalbn): Likewise.
49 * libm/math/e_log.c: Likewise.
50 * libm/math/e_asin.c: Likewise.
51 * libm/math/ef_asin.c: Likewise.
52 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
53 * libm/math/e_j1.c (pone, qone): Likewise.
54 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
55 * libm/math/ef_j1.c (ponef, qonef): Likewise.
56 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
57 * libm/mathfp/e_j1.c (pone, qone): Likewise.
58 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
59 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
61 2000-05-19 DJ Delorie <dj@cygnus.com>
63 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
64 (__sread): always read in binary mode
65 (__swrite): always write in binary mode
66 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
67 compatibility issues with different dll versions
68 * libc/stdio/fopen.c: use __stextmode
69 * libc/stdio/fdopen.c: ditto
70 * libc/stdio/freopen.c: ditto
71 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
72 * libc/stdio/local.h: declare __stextmode
74 2000-05-18 DJ Delorie <dj@cygnus.com>
76 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
78 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
80 * libc/include/ctype.h: Changed tolower and toupper macros
81 to use __extension__ to prevent pedantic warnings.
83 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
85 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
88 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
90 * libc/include/machine/ieeefp.h: Add ia64 support.
91 * configure.host: Likewise.
93 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
95 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
96 month is now padded with space, not zero. This now conforms to
99 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
101 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
102 host or network path") used by cygwin. Add some comments.
104 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
106 * libc/include/stdio.h (FILE): define __SCLE for "convert line
108 (__sgetc): convert line endings if needed
110 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
111 * libc/stdio/fopen.c (_fopen_r): ditto
112 * libc/stdio/freopen.c (freopen): ditto
113 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
114 * libc/stdio/fvwrite.c (__sfvwrite): ditto
116 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
118 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
119 post-increment when it is worth it, spacewise.
121 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
123 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
124 * libc/stdio/findfp.c (std): Added declaration of flags and file.
125 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
127 * libc/stdio/putchar.c (putchar): Added return statement.
128 * libc/stdio/refill.c (lflush): Added correct parentheses.
129 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
130 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
131 prints long value to use l qualifier.
132 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
133 messages and initialized local values: ilim, ilim1, and spec_case.
134 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
135 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
136 * libc/stdlib/mprec.c: Ditto.
137 * libc/stdlib/setenv_r.c: Ditto.
138 * libc/stdlib/strtod.c: Ditto.
139 * libc/stdlib/strtol.c: Ditto.
140 * libc/stdlib/strtoul.c: Ditto.
141 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
142 * libm/common/sf_log1p.c: Ditto.
143 * libm/common/sf_scalbn.c: Ditto.
144 * libm/math/ef_log.c: Ditto.
146 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
148 * libc/posix/execvp.c (execvp): Check path for
151 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
153 * libc/include/sys/unistd.h: Add prototypes for
154 fchmod, fchown, lchown.
156 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
158 * acinclude.m4: Changed release to 1.8.2.
159 * aclocal.m4 configure doc/aclocal.m4 doc/configure
160 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
161 libc/machine/configure libc/machine/a29k/aclocal.m4
162 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
163 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
164 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
165 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
166 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
167 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
168 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
169 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
170 libc/machine/i386/configure libc/machine/i960/aclocal.m4
171 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
172 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
173 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
174 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
175 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
176 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
177 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
178 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
179 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
180 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
181 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
182 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
183 libc/machine/v850/configure libc/machine/w65/aclocal.m4
184 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
185 libc/machine/z8k/configure libc/sys/aclocal.m4
186 libc/sys/aclocal.m4 libc/sys/configure
187 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
188 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
189 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
190 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
191 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
192 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
193 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
194 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
195 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
196 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
197 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
198 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
199 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
200 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
201 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
202 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
203 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
204 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
205 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
206 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
207 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
208 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
209 libm/aclocal.m4 libm/configure: Regenerated.
211 2000-03-24 Nick Clifton <nickc@cygnus.com>
213 * libc/sys/arm/syscalls.c: Fix compile time warnings.
214 (do_AngelSWI): Add "cc" to list o registers clobbered.
216 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
218 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
219 information to be clobbered by an Angel C library support syscall.
221 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
223 * libc/stdlib/envlock.c: Fixed comment typo.
225 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
227 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
228 code to update nread as each character is processed instead
229 of using buffer contents which throw away leading zeroes.
231 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
233 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
235 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
237 * libc/include/string.h: Include <sys/types.h>.
239 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
241 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
244 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
246 * libc/include/string.h: Changed last argument back to ssize_t
247 to make it compatible with XPG4 definition which is
248 defined in <unistd.h>. There is a conflict in the SVID 3
249 and XPG4 definitions and newlib will settle with XPG4.
250 * libc/string/swab.c: Ditto.
252 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
254 * libc/include/string.h: Changed last argument to size_t.
255 * libc/string/swab.c: Changed last argument to size_t.
257 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
259 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
260 (CHEWOUT_FILES): Added unlinkr.def.
261 * libc/reent/Makefile.in: Rebuilt.
262 * libc/sys.tex: Include unlinkr.def.
263 * libc/reent/linkr.c (_unlink_r): Moved to...
264 * libc/reent/unlinkr.c: ... new file.
266 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
268 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
269 (CHEWOUT_FILES): Added swab.def.
270 * libc/string/Makefile.in: Rebuilt.
271 * libc/string/string.tex: Include swab.def.
272 * libc/include/string.h (swab): Declare.
273 * libc/string/swab.c: New file.
275 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
277 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
278 (CHEWOUT_FILES): Added getw.def and putw.def.
279 * libc/stdio/Makefile.in: Rebuilt.
280 * libc/stdio/stdio.tex: Include getw.def and putw.def.
281 * libc/stdio/getw.c: New file.
282 * libc/stdio/putw.c: New file.
284 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
286 * libc/stdio/flags.c (__sflags): Added check that mode[1]
287 is non-null before looking at mode[2].
289 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
291 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
292 * libm/mathfp/sf_atan.c: Ditto.
294 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
296 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
298 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
300 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
303 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
305 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
306 call prior to calling _VFPRINTF_R so reentrant data area is set.
307 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
309 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
311 * libc/stdio/vfscanf.c (limits.h): #include.
312 (MAX_LONG_LEN): #define.
313 (__svfscanf): Handle floating point numbers with arbitrary amounts
316 2000-02-15 Nick Clifton <nickc@cygnus.com>
318 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
319 zero. Set the blocksize to 1024/
321 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
323 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
326 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
328 * acinclude.m4: Changed include directory for winsup headers.
329 * aclocal.m4 configure libc/aclocal.m4
330 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
331 libc/locale/Makefile.in libc/machine/aclocal.m4
332 libc/machine/configure libc/machine/a29k/aclocal.m4
333 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
334 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
335 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
336 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
337 libc/machine/fr30/configure
338 libc/machine/h8300/aclocal.m4
339 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
340 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
341 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
342 libc/machine/i386/configure libc/machine/i960/aclocal.m4
343 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
344 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
345 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
346 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
347 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
348 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
349 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
350 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
351 libc/machine/powerpc/configure
352 libc/machine/sh/aclocal.m4
353 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
354 libc/machine/sparc/configure
355 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
356 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
357 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
358 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
359 libc/misc/Makefile.in libc/posix/Makefile.in
360 libc/reent/Makefile.in
361 libc/signal/Makefile.in
362 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
363 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
364 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
365 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
366 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
367 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
368 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
369 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
370 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
371 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
372 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
373 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
374 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
375 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
376 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
377 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
378 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
379 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
380 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
381 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
382 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
383 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
384 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
385 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
386 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
387 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
388 libm/configure: Regenerated.
390 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
392 * libc/stdlib/putenv_r.c (_putenv_r): New file.
393 * libc/stdlib/strdup_r.c (_strdup_r): New file.
394 * libc/include/string.h: Added _strdup_r.
395 * libc/stdlib/putenv.c: Added call to reentrant version.
396 * libc/stdlib/strdup.c: Ditto.
397 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
398 * libc/include/stdlib.h: Ditto.
399 * libc/stdlib/Makefile.in: Regenerated.
400 * libc/string/Makefile.in: Regenerated.
401 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
402 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
403 management calls to reentrant versions.
404 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
405 * libc/stdlib/wctomb.c: Ditto.
406 * libc/stdlib/mblen.c: Ditto.
407 * libc/stdlib/mbstowcs.c: Ditto.
408 * libc/stdlib/mbtowc.c: Ditto.
409 * libc/stdlib/getenv.c: Ditto.
410 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
413 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
415 patch from Corinna Vinschen <corinna@vinschen.de>
416 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
418 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
420 * libm/mathfp/s_atangent.c: Fix exponent calculation.
421 * libm/mathfp/s_ldexp.c: Ditto.
422 * libm/mathfp/sf_atangent.c: Ditto.
423 * libm/mathfp/sf_ldexp.c: Ditto.
425 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
427 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
428 * libc/include/locale.h: define NULL to be 0.
430 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
432 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
435 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
437 * libc/machine/mn10300/setjmp.S: Handle am33.
439 1999-11-26 Nick Clifton <nickc@cygnus.com>
441 * libc/sys/arm/syscalls.c: Add function prototypes.
442 (stack_ptr): Move declaration before function definitions.
444 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
446 * NEWS: Updated version information.
449 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
451 * libc/machine/i386/strchr.S: Fixed alignment test.
453 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
455 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
457 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
459 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
460 ensuring that there is space between the two.
462 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
464 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
467 1999-10-08 Vadim Egorov <egorovv@1c.ru>
469 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
472 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
474 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
475 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
477 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
478 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
480 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
483 1999-09-13 DJ Delorie <dj@cygnus.com>
485 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
488 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
490 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
491 also note BUFSIZ as its size.
493 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
495 * configure.host: Corrected feature defines for RTEMS.
496 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
497 * libc/include/sys/stat.h: mkfifo() should take const path arg.
498 * libc/include/sys/unistd.h: pathconf() should take const path arg.
499 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
500 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
501 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
502 _PC_PRIO_IO, and _PC_SYNC_IO.
503 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
504 * libc/machine/m68k/Makefile.in: Regenerated.
505 * libc/machine/m68k/strcpy.c: New file.
506 * libc/machine/m68k/strlen.c: New file.
507 * libc/stdio/tmpnam.c: Always make the returned name usable.
508 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
509 * libc/sys/rtems/sys/dirent.h: New file.
510 * libc/sys/rtems/sys/types.h: Added dev_t.
512 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
514 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
516 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
518 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
521 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
523 patch from Jeff Johnston <jjohnstn@cygnus.com>
524 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
525 buffer is not in a useful state.
527 1999-09-01 Nick Clifton <nickc@cygnus.com>
529 * libc/sys/arm/syscalls.c (_link): Add stub.
531 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
533 * ftell.c (ftell): Use actual position within buffer for text mode.
534 * findfp.c (std): Initialize ptr->_bf._size.
536 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
538 * libc/include/sys/unistd.h: Add nice() declaration.
540 1999-08-09 Nick Clifton <nickc@cygnus.com>
542 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
543 declare as a thumb function so that the disassembler will see the
546 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
548 * libc/reent/reent.tex: Updated list of reentrant functions.
550 1999-07-09 Michael Meissner <meissner@cygnus.com>
552 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
554 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
556 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
558 * libc/stdio/snprintf.c: New file.
559 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
561 * libc/stdio/vsnprintf.c: New file.
562 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
563 * libc/stdio/Makefile.in: Regenerated.
565 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
567 Patch submitted by Egor Duda <deo@logos-m.ru>:
568 * libc/include/stdio.h: Add declarations for *nprintf.
569 * libc/stdio/sprintf.c (snprintf): New function.
570 (_snprintf_r): New function.
571 * libc/stdio/vsprintf.c (vsnprintf): New function.
572 (_vnsprintf_r): New function.
574 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
576 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
577 * libm/Makefile.am (stmp-targetdep): Ditto.
578 * libc/Makefile.in: Regenerated.
579 * libm/Makefile.in: Ditto.
581 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
583 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
584 * libm/Makefile.am (stmp-targetdep): Ditto.
585 * libc/Makefile.in: Regenerated.
586 * libm/Makefile.in: Ditto.
588 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
590 * Makefile.am: Removed dependencies on all-recursive and added "."
591 to the SUBDIRS list to prevent infinite recursion from occurring.
592 Also removed any references to EXTRA_DATA.
593 * libc/Makefile.am: Ditto.
594 * libc/machine/Makefile.am: Ditto.
595 * libc/machine/i386/Makefile.am: Ditto.
596 * libm/Makefile.am: Ditto.
597 * libc/sys/Makefile.am: Ditto.
598 * Makefile.in: Regenerated.
601 * doc/Makefile.in: Ditto.
602 * doc/aclocal.m4: Ditto.
603 * doc/configure: Ditto.
604 * libc/Makefile.in: Ditto.
605 * libc/aclocal.m4: Ditto.
606 * libc/configure: Ditto.
607 * libc/machine/Makefile.in: Ditto.
608 * libc/machine/aclocal.m4: Ditto.
609 * libc/machine/configure: Ditto.
610 * libc/machine/mn10300/Makefile.in: Ditto.
611 * libc/machine/mn10300/aclocal.m4: Ditto.
612 * libc/machine/mn10300/configure: Ditto.
613 * libc/sys/Makefile.in: Ditto.
614 * libc/sys/aclocal.m4: Ditto.
615 * libc/sys/configure: Ditto.
616 * libm/Makefile.in: Ditto.
617 * libm/aclocal.m4: Ditto.
618 * libm/configure: Ditto.
620 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
622 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
624 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
626 * libc/include/stdlib.h: Add reentrant routines.
627 * libc/stdlib/Makefile.am: Add reentrant routines.
628 * libc/stdlib/Makefile.in: Ditto.
629 * libc/stdlib/envlock.c: New file.
630 * libc/stdlib/envlock.h: New file.
631 * libc/stdlib/getenv.c: Modify to call reentrant routine.
632 * libc/stdlib/getenv_r.c: New file.
633 * libc/stdlib/mblen.c: Modify to call reentrant routine.
634 * libc/stdlib/mblen_r.c: New file.
635 * libc/stdlib/setenv.c: Modify to call reentrant routine.
636 * libc/stdlib/setenv_r.c: New file.
637 * libc/stdlib/stdlib.tex: Add reentrant routines.
639 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
641 * libc/include/sys/types.h: Define __MS_types__ whenever
644 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
646 * libc/include/machine/ieeefp.h: Always default to little
647 endian if Windows, regardless of architecture.
648 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
649 regardless of architecture.
651 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
653 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
654 _WIN32 isn't defined.
656 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
658 * libm/common/s_rint.c (rint): Add volatile qualifier for
659 intermediate value w.
660 * libm/common/sf_rint.c (rintf): Ditto.
662 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
664 * libc/sys/arm/syscalls.c (remap_handle): Added check to
665 ensure that std streams are initialized before being referenced.
667 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
669 * README: Update reference to newlib@cygnus.com new
670 newlib@sourceware.cygnus.com address.
672 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
674 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
675 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
676 defined, even if _WIN32 isn't defined.
678 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
680 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
682 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
684 * libc/include/sys/reent.h: Change Long and ULong to __Long and
686 * libc/stdlib/dtoa.c: Ditto.
687 * libc/stdlib/mprec.c: Ditto.
688 * libc/stdlib/mprec.h: Ditto.
689 * libc/stdlib/strtod.c: Ditto.
691 1999-04-21 Nick Clifton <nickc@cygnus.com>
693 * configure.host (mcore): Remove mcore machine directory.
695 1999-04-18 Nick Clifton <nickc@cygnus.com>
697 * libc/include/machine/ieeefp.h: Add support for mcore target.
698 * libc/include/machine/setjmp.h: Add support for mcore target.
699 * configure.host: Add support for mcore target.
701 1999-04-13 Mark Salter <msalter@cygnus.com>
703 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
704 * libc/sys/arm/syscalls.c: Added isatty.
706 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
708 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
709 insert zeroes after significant digits.
711 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
713 * libc/stdio/vfprintf.c (cvt): Changed floating point
714 cvt routine to use union used by dtoa to properly determine
715 if the sign bit is on or not.
716 * libc/stdio/vfieeefp.h: New file
718 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
720 * aclocal.m4: Regenerated.
721 * configure: Regenerated.
723 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
725 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
727 * libc/machine/i386/Makefile.in: Regenerated.
729 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
731 * acinclude.m4: Changed to work with new automake.
732 * configure: Regenerated.
733 * libc/machine/i386/aclocal.m4: Regenerated.
734 * libc/machine/i386/configure: Regenerated.
736 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
738 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
739 for telldir() and seekdir(). Rename unused structure element
740 for use with these two routines.
742 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
744 * libc/time/mktime.c (validate_structure): Multiple fixes to
745 code to handle cases where input fields are outside valid ranges.
746 * libc/stdlib/div.c (div): Modified invalid rounding check.
747 * libc/stdlib/ldiv.c (ldiv): Ditto.
749 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
751 * libc/machine/i386/memcpy.S: Performance rewrite.
752 * libc/machine/i386/memmove.S: Ditto.
753 * libc/machine/i386/i386mach.h: Added more register definitions.
754 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
756 * libc/include/machine/fastmath.h: Add definitions for x86
759 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
761 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
763 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
765 Adjust newlib headers for new Cygwin Win32 API header files:
766 * libc/include/sys/time.h: Check _WINSOCK_H rather than
767 _GNU_H_WINDOWS32_SOCKETS.
768 * libc/include/sys/types.h: Ditto.
770 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
772 *include/sys/reent.h: Add checks for size of Bigint element Long.
773 *libc/dtoa.c: Change routines to use generic Long type.
774 *libc/mprec.c: Change routines to use generic Long type.
775 *libc/mprec.h: Change routines to use generic Long type.
777 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
779 * libc/Makefile.am: Add .def files.
780 * libc/Makefile.in: Regenerate.
781 * libc/e_acosh.c: Documentation update.
782 * libc/e_atanh.c: Documentation update.
783 * libc/e_hypot.c: Documentation update.
784 * libc/e_remainder.c: Documentation update.
785 * libc/er_lgamma.c: Documentation update.
786 * libc/mathfp.tex: Documentation update.
787 * libc/s_acos.c: Documentation update.
788 * libc/s_atan.c: Documentation update.
789 * libc/s_atan2.c: Documentation update.
790 * libc/s_cosh.c: Documentation update.
791 * libc/s_fmod.c: Documentation update.
792 * libc/s_isnan.c: Documentation update.
793 * libc/s_log10.c: Documentation update.
794 * libc/s_pow.c: Documentation update.
795 * libc/w_jn.c: Documentation update.
797 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
799 * aclocal.m4: Regenerate.
800 * configure: Regenerate.
802 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
804 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
805 to return 1 if user specified return code is 0.
806 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
808 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
810 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
811 to save the return address. Fixed longjmp to return to the original
812 calling address of setjmp and to return the user specified return code
813 rather than default to 1.
814 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
816 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
818 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
820 1999-02-10 Nick Clifton <nickc@cygnus.com>
822 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
823 volatile so that its assignments will not be discarded.
825 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
827 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
828 be __STRICT_ANSI__ which is generated by compiler.
829 * libc/include/ctype.h: Ditto.
830 * libc/include/math.h: Ditto.
831 * libc/include/stdio.h: Ditto.
832 * libc/include/stdlib.h: Ditto.
833 * libc/include/string.h: Ditto.
834 * libc/include/sys/signal.h: Ditto.
836 1999-02-08 Nick Clifton <nickc@cygnus.com>
838 * configure.host: Add support for StrongARM target.
840 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
842 * libc/string/strncpy.c (strncpy): Removed redundant code
843 that was copying bytes if data unaligned.
845 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
847 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
848 mbstowcs.def, and wcstombs.def.
850 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
852 * libc/include/sys/errno.h: Add Cygwin errno.
853 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
856 1999-01-29 Nick Clifton <nickc@cygnus.com>
858 * libc/sys/arm/syscalls.c: Move C library functions into seperate
861 * libc/sys/arm/libcfunc.c: New file containing C library functions
864 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
865 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
868 1999-01-27 Michael Meissner <meissner@cygnus.com>
870 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
871 type, and cut size in half so that the jmp_buf array is guaranteed
872 to be aligned on a 64-bit boundary.
874 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
876 * libc/string/strings.tex: Added information about
877 strcasecmp and strncasecmp.
878 * libc/stdlib/stdlib.tex: Added missing information
879 about mblen, mbstowcs, and wcstombs.
880 * libc/string/strchr.c: Changed how mask is built to use
881 shift operators so register will be used instead of storage.
883 1999-01-22 DJ Delorie <dj@cygnus.com>
885 * libc/include/stdlib.h: don't use dllimport if we're building
886 newlib, since it's inside cygwin.dll
888 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
890 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
891 _ctype_ under cygwin.
893 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
895 * include/stdlib.h: Fix typo from previous checkin.
897 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
899 * include/ctype.h: Use __declspec(dllimport) method for exporting
900 variable from cygwin DLL.
901 * include/time.h: Ditto.
902 * sys/errno.h: Ditto.
903 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
904 * libc/locale/locale.c: Use __declspec(dllexport) method for
905 exporting variable from cygwin DLL.
907 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
909 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
910 access of bogus pointer will result in SIGSEGV.
912 1999-01-07 Nick Clifton <nickc@cygnus.com>
914 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
915 of an underscore prefix to function names.
917 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
919 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
920 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
922 1998-12-31 Michael Meissner <meissner@cygnus.com>
924 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
925 to `%' if not already defined.
927 1998-12-30 Michael Meissner <meissner@cygnus.com>
929 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
930 arguments const char *, not char *.
931 * libc/include/stdio.h (_tempnam_r): Ditto.
933 * libc/include/sys/reent.h (struct _reent): The _sig_func type
934 points to a function taking an integer, not void.
936 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
938 * configure.host: Add a define for Cygwin builds.
939 * libc/include/ctype.h: Don't use dll imported variables in newlib.
941 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
943 * libc/include/ctype.h: Define _ctype_ as dll imported variable
945 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
946 dll imported variables for use with Cygwin.
947 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
948 as a dll imported variable for Cygwin.
950 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
952 * libc/include/sys/unistd.h: Add proto for getpass.
954 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
956 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
959 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
961 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
962 not posix_path_list_p.
964 1998-12-15 Nick Clifton <nickc@cygnus.com>
966 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
969 1998-12-13 Nick Clifton <nickc@cygnus.com>
971 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
973 1998-12-12 Nick Clifton <nickc@cygnus.com>
975 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
977 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
978 * libc/machine/fr30/Makefile.in: Regenerated.
980 1998-12-11 Nick Clifton <nickc@cygnus.com>
982 * configure.host: Remove use of libc/sys for FR30 port.
983 * libc/sys/fr30: Remove directory (replaced by libgloss).
985 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
987 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
988 * libc/string/strncat.c (ALIGNED): Ditto.
990 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
992 * libc/include/sys/time.h: include sys/types.h
994 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
996 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
997 comparison found when checking word at a time.
999 1998-12-04 Nick Clifton <nickc@cygnus.com>
1001 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
1003 1998-12-03 Nick Clifton <nickc@cygnus.com>
1005 * libc/sys/fr30/syscalls.c (_times): New function stub.
1007 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1009 * configure.host (mach_add_setjmp): Replaced mach_add_objs
1010 with mach_add_setjmp flag which indicates if setjmp should
1011 be added to the machine directory objects.
1012 * acinclude.m4: Removed reference to mach_add_objs.
1013 * aclocal.m4: Regenerated.
1014 * Makefile.in: Regenerated.
1015 * configure: Regenerated.
1016 * libc/aclocal.m4: Regenerated.
1017 * libc/Makefile.in: Regenerated.
1018 * libc/configure: Regenerated.
1019 * libc/machine/aclocal.m4: Regenerated.
1020 * libc/machine/Makefile.in: Regenerated.
1021 * libc/machine/configure: Regenerated.
1022 * libc/machine/i386/aclocal.m4: Regenerated.
1023 * libc/machine/i386/Makefile.am: Altered to selectively add
1024 setjmp.S to the src files list.
1025 * libc/machine/i386/Makefile.in: Regenerated.
1026 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
1027 * libc/machine/i386/configure: Regenerated.
1029 1998-12-02 Nick Clifton <nickc@cygnus.com>
1031 * libc/sys/fr30/crt0.s (_start): Fix function names.
1033 * libc/machine/fr30: New directory
1034 * libc/machine/fr30/Makefile.am: New file.
1035 * libc/machine/fr30/Makefile.in: New generated file.
1036 * libc/machine/fr30/configure.in: New file.
1037 * libc/machine/fr30/configure: New generated file.
1038 * libc/machine/fr30/aclocal.m4: New generated file.
1039 * libc/sys/fr30/Makefile.am: New file.
1040 * libc/sys/fr30/Makefile.in: New generated file.
1041 * libc/sys/fr30/configure.in: New file.
1042 * libc/sys/fr30/configure: New generated file.
1043 * libc/sys/fr30/syscalls.c: New file.
1045 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
1047 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
1049 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
1051 * libc/time/strftime.c (strftime): Also handle %y for years before
1054 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
1056 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
1057 UNIX convention. Perform tolower on characters before comparing
1058 them rather than use toupper.
1059 * libc/string/strncasecmp.c (strncasecmp): Ditto.
1061 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1063 * configure.host: Added using i386 machine directory
1064 for all x86 cross-compiler and configuring
1065 which added object files to use via new "mach_add_objs" variable.
1066 * configure: Regenerated.
1067 * libc/configure: Regenerated.
1068 * libc/Makefile.in: Regenerated.
1069 * libc/aclocal.m4: Regenerated.
1070 * libc/ctype/Makefile.in: Regenerated.
1071 * libc/errno/Makefile.in: Regenerated.
1072 * libc/locale/Makefile.in: Regenerated.
1073 * libc/machine/Makefile.in: Regenerated.
1074 * libc/machine/aclocal.m4: Regenerated.
1075 * libc/machine/configure: Regenerated.
1076 * libc/posix/Makefile.in: Regenerated.
1077 * libc/reent/Makefile.in: Regenerated.
1078 * libc/signal/Makefile.in: Regenerated.
1079 * libc/stdio/Makefile.in: Regenerated.
1080 * libc/stdlib/Makefile.in: Regenerated.
1081 * libc/string/Makefile.in: Regenerated.
1082 * libc/string/memmove.c: Optimized code to use memcpy
1083 logic when performing a non-destructive copy.
1084 * libc/string/strncmp.c: Altered code to allow building
1085 optimized for size or speed.
1086 * libc/syscalls/Makefile.in: Regenerated.
1087 * libc/time/Makefile.in: Regenerated.
1088 * libc/unix/Makefile.in: Regenerated.
1089 * libc/machine/i386/Makefile.am: Added new files and reference
1090 to "mach_add_objs" to indicate optional object files.
1091 * libc/machine/i386/Makefile.in: Regenerated.
1092 * libc/machine/i386/aclocal.m4: Regenerated.
1093 * libc/machine/i386/configure: Regenerated.
1094 * libc/machine/i386/memchr.S: New file that implements
1095 function in Intel assembler.
1096 * libc/machine/i386/memcmp.S: ditto.
1097 * libc/machine/i386/memcpy.S: ditto.
1098 * libc/machine/i386/memmove.S: ditto.
1099 * libc/machine/i386/memset.S: ditto.
1100 * libc/machine/i386/strchr.S: ditto.
1101 * libc/machine/i386/strlen.S: ditto.
1102 * libc/machine/i386/f_atan2.S: New file that implements
1103 fast version of math function to be used by compiler when
1104 --ffast_math compile option is used.
1105 * libc/machine/i386/f_atan2f.S: ditto.
1106 * libc/machine/i386/f_exp.c: ditto.
1107 * libc/machine/i386/f_expf.c: ditto.
1108 * libc/machine/i386/f_frexp.S: ditto.
1109 * libc/machine/i386/f_frexpf.S: ditto.
1110 * libc/machine/i386/f_ldexp.S: ditto.
1111 * libc/machine/i386/f_ldexpf.S: ditto.
1112 * libc/machine/i386/f_log.S: ditto.
1113 * libc/machine/i386/f_logf.S: ditto.
1114 * libc/machine/i386/f_log10.S: ditto.
1115 * libc/machine/i386/f_log10f.S: ditto.
1116 * libc/machine/i386/f_math.h: New file.
1117 * libc/machine/i386/f_pow.c: ditto.
1118 * libc/machine/i386/f_powf.S: ditto.
1119 * libc/machine/i386/f_tan.S: ditto.
1120 * libc/machine/i386/f_tan.S: ditto.
1121 * libc/machine/i386/i386mach.h: New file.
1123 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
1125 patch from Mumit Khan <khan@xraylith.wisc.edu>
1126 * libc/include/stdio.h (tempnam): Add prototype.
1127 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
1128 (tempnam): Adhere to prototype.
1130 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
1132 * Makefile.am: Add default for AR_FLAGS.
1133 * Makefile.in: Regenerate.
1135 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
1137 * libc/include/time.h: move __cplusplus wrapper after includes
1138 * libc/include/sys/time.h: ditto. If Cygwin, include
1140 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
1142 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
1144 * libc/time/strftime.c (strftime): Handle %y after year 2000.
1146 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
1148 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
1149 abnormnal end-of-crt0 marker.
1151 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
1153 * libc/sys/fr30/crt0.s: New file/directory.
1154 * libc/include/machine/setjmp.h: Add FR30 target.
1155 * libc/include/machine/ieeefp.h: Add FR30 target.
1156 * configure.host: Add FR30 target.
1158 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1160 * libm/math: Files that are duplicated in common directory removed.
1161 * libm/math/fdlibm.h: Removed.
1162 * libm/math/s_cbrt.c: Removed.
1163 * libm/math/s_copysign.c: Removed.
1164 * libm/math/s_expm1.c: Removed.
1165 * libm/math/s_finite.c: Removed.
1166 * libm/math/s_ilogb.c: Removed.
1167 * libm/math/s_infinity.c: Removed.
1168 * libm/math/s_lib_ver.c: Removed.
1169 * libm/math/s_log1p.c: Removed.
1170 * libm/math/s_logb.c: Removed.
1171 * libm/math/s_matherr.c: Removed.
1172 * libm/math/s_modf.c: Removed.
1173 * libm/math/s_nan.c: Removed.
1174 * libm/math/s_nextafter.c: Removed.
1175 * libm/math/s_rint.c: Removed.
1176 * libm/math/s_scalbn.c: Removed.
1177 * libm/math/sf_cbrt.c: Removed.
1178 * libm/math/sf_copysign.c: Removed.
1179 * libm/math/sf_expm1.c: Removed.
1180 * libm/math/sf_finite.c: Removed.
1181 * libm/math/sf_ilogb.c: Removed.
1182 * libm/math/sf_infinity.c: Removed.
1183 * libm/math/sf_log1p.c: Removed.
1184 * libm/math/sf_logb.c: Removed.
1185 * libm/math/sf_modf.c: Removed.
1186 * libm/math/sf_nan.c: Removed.
1187 * libm/math/sf_nextafter.c: Removed.
1188 * libm/math/sf_rint.c: Removed.
1189 * libm/math/sf_scalbn.c: Removed.
1190 * libm/math/Makefile.am: Removed references to deleted files (above).
1191 * libm/math/Makefile.in: Regenerated.
1192 * libm/Makefile.am: Added common directory to math.
1193 * libm/Makefile.in: Regenerated.
1195 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1197 * libm/mathfp: Add non-ANSI functions.
1198 * libm/mathfp/e_acosh.c acosh(): New file.
1199 * libm/mathfp/e_atanh.c atanh(): New file.
1200 * libm/mathfp/e_hypot.c hypot(): New file.
1201 * libm/mathfp/e_j0.c j0(): New file.
1202 * libm/mathfp/e_j1.c j1(): New file.
1203 * libm/mathfp/e_remainder.c remainder(): New file.
1204 * libm/mathfp/e_scalb.c scalb(): New file.
1205 * libm/mathfp/ef_acosh.c acoshf(): New file.
1206 * libm/mathfp/ef_atanh.c atanhf(): New file.
1207 * libm/mathfp/ef_hypot.c hypotf(): New file.
1208 * libm/mathfp/ef_j0.c j0f(): New file.
1209 * libm/mathfp/ef_j1.c j1f(): New file.
1210 * libm/mathfp/ef_remainder.c remainderf(): New file.
1211 * libm/mathfp/ef_scalb.c scalbf(): New file.
1212 * libm/mathfp/er_gamma.c gamma_r: New file.
1213 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
1214 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
1215 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
1216 * libm/mathfp/w_cabs.c cabs(): New file.
1217 * libm/mathfp/w_drem.c drem(): New file.
1218 * libm/mathfp/w_jn.c jn(): New file.
1219 * libm/mathfp/wf_cabs.c cabsf(): New file.
1220 * libm/mathfp/wf_drem.c dremf(): New file.
1221 * libm/mathfp/wf_jn.c jnf(): New file.
1223 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
1225 * libc/sys/cygwin32: remove directory and contents
1226 * libc/sys/cygwin: and add back, losing the "32".
1227 * configure.host: check for cygwin* instead of cygwin32.
1228 * acinclude.m4: ditto.
1229 * aclocal.m4: regenerate with aclocal
1230 * configure: regenerate with autoconf
1232 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
1234 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
1237 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1239 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
1240 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
1241 to make rand/srand, strtok, asctime, localtime, w_gamma,
1242 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
1243 time.h to bring in struct tm definition.
1244 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
1245 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
1246 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
1247 instead of static variable.
1248 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
1249 struct reent instead of static variable.
1250 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
1251 struct reent instead of static variable.
1252 * libm/math/Makefile.am: Removed s_signgam.o.
1253 * libm/math/Makefile.in: Regenerated.
1254 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
1255 struct reent instead of global variable 'signgam'.
1256 * libm/math/w_lgamma.c (lgamma): Likewise.
1257 * libm/math/wf_gamma.c (gammaf): Likewise.
1258 * libm/math/wf_lgamma.c (lgammaf): Likewise.
1259 * libm/math/s_signgam.c: Removed.
1260 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
1262 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
1264 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
1265 libc/include/reent.h.
1266 * libc/reent/Makefile.in: Regenerated.
1267 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
1269 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
1270 'JIS_action_table' to be const.
1271 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
1273 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
1275 * acinclude.m4: $with_target_subdir should default to '.'
1276 or confusion results when configuring in same directory as sources.
1277 * Regenerate all aclocal.m4 and configure files.
1279 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
1281 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
1282 can be set by defining MALLOC_ALIGNMENT=16. Also added support
1283 for platforms where sizeof(size_t) < sizeof(long) via
1284 SIZE_T_SMALLER_THAN_LONG macro.
1286 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
1288 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
1289 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
1290 which sets _CLOCKS_PER_SEC_ for selected machines.
1291 * libc/include/machine/time.h: New file.
1293 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1295 * libc/syscalls/sysexecve.c: New file.
1296 * libc/syscalls/sysgettod.c: New file.
1297 * libc/syscalls/systimes.c: New file.
1298 * libc/syscalls/Makefile.am: Added new objects.
1299 * libc/syscalls/Makefile.in: Regenerated.
1300 * libc/include/_syslist.h (_execve): Moved define in file.
1301 * libc/include/reent.h: Added _execve_r declaration.
1302 * libc/Makefile.in: Regenerated.
1303 * libc/ctype/Makefile.in: Regenerated.
1304 * libc/errno/Makefile.in: Regenerated.
1305 * libc/locale/Makefile.in: Regenerated.
1306 * libc/machine/Makefile.in: Regenerated.
1307 * libc/misc/Makefile.in: Regenerated.
1308 * libc/posix/Makefile.in: Regenerated.
1309 * libc/reent/Makefile.in: Regenerated.
1310 * libc/reent/execr.c (_execve_r): Added _execve_r function.
1311 * libc/signal/Makefile.in: Regenerated.
1312 * libc/stdio/Makefile.in: Regenerated.
1313 * libc/time/Makefile.in: Regenerated.
1314 * libc/unix/Makefile.in: Regenerated.
1315 * libm/mathfp/Makefile.in: Regenerated.
1317 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1319 * libc/string/Makefile.in: Regenerated.
1320 * libc/string/memchr.c (memchr): Moved code to reduce object size.
1321 * libc/string/memcpy.c (memcpy): Ditto.
1322 * libc/string/memcmp.c (memcmp): Ditto.
1323 * libc/string/memset.c (memset): Ditto.
1324 * libc/string/strchr.c (strchr): Ditto.
1325 * libc/string/strcmp.c (strcmp): Ditto.
1326 * libc/string/strcpy.c (strcpy): Ditto.
1327 * libc/string/strlen.c (strlen): Ditto.
1329 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1331 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1332 to generate aclocal.m4.
1333 * libm/Makefile.in: Regenerated.
1334 * libm/aclocal.m4: Regenerated.
1335 * libm/configure: Regenerated.
1336 * libm/math/Makefile.in: Regenerated.
1337 * libm/mathfp/Makefile.in: Regenerated.
1339 1998-09-25 Mark Salter <msalter@cygnus.com>
1341 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1342 by adding leading and trailing underscores to symbol names.
1344 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
1346 * Makefile.in: Add default for AR_FLAGS.
1348 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
1350 patch from ian@airs.com (Ian Taylor):
1351 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1352 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1353 is needed for detecting the build machine. Required for
1354 cygwin native builds.
1356 * Regenerate all aclocal.m4 and configure files.
1358 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
1360 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
1361 used to start with LC.
1363 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1365 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
1366 (longjmp): Likewise.
1368 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1370 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
1371 the test for small number of bytes.
1373 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1375 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
1376 math library that uses floating point algorithms instead of the old
1378 * Makefile.in: Regenerate with automake version 1.3b.
1379 * configure: Rebuild.
1380 * libm/Makefile.in: Regenerate with automake version 1.3b.
1381 * libm/aclocal.m4: Regenerate.
1382 * libm/configure: Rebuild.
1383 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
1384 * libm/acinclude.m4: Define macros for configure.in.
1385 * libm/config.h.in: Generate.
1386 * libm/mathfp/Makefile.am: New file.
1387 * libm/mathfp/Makefile.in: Generate.
1388 * libm/mathfp/s_acos.c (acos): New file.
1389 * libm/mathfp/s_asin.c (asin): New file.
1390 * libm/mathfp/s_asine.c (asine): New file.
1391 * libm/mathfp/s_atan.c (atan): New file.
1392 * libm/mathfp/s_atan2.c (atan2): New file.
1393 * libm/mathfp/s_atangent.c (atangent): New file.
1394 * libm/mathfp/s_ceil.c (ceil): New file.
1395 * libm/mathfp/s_copysign.c (copysign): New file.
1396 * libm/mathfp/s_cos.c (cos): New file.
1397 * libm/mathfp/s_cosh.c (cosh): New file.
1398 * libm/mathfp/s_exp.c (exp): New file.
1399 * libm/mathfp/s_fabs.c (fabs): New file.
1400 * libm/mathfp/s_finite.c (finite): New file.
1401 * libm/mathfp/s_floor.c (floor): New file.
1402 * libm/mathfp/s_fmod.c (fmod): New file.
1403 * libm/mathfp/s_frexp.c (frexp): New file.
1404 * libm/mathfp/s_infconst.c: New file.
1405 * libm/mathfp/s_isinf (isinf).c: New file.
1406 * libm/mathfp/s_isnan.c (isnan): New file.
1407 * libm/mathfp/s_ispos.c (ispos): New file.
1408 * libm/mathfp/s_ldexp.c (ldexp): New file.
1409 * libm/mathfp/s_log.c (log): New file.
1410 * libm/mathfp/s_log10.c (log10): New file.
1411 * libm/mathfp/s_logarithm.c (logarithm): New file.
1412 * libm/mathfp/s_mathcnst.c: New file.
1413 * libm/mathfp/s_modf (modf).c: New file.
1414 * libm/mathfp/s_numtest.c (numtest): New file.
1415 * libm/mathfp/s_pow.c (pow): New file.
1416 * libm/mathfp/s_scalbn.c (scalbn): New file.
1417 * libm/mathfp/s_sin (sin).c: New file.
1418 * libm/mathfp/s_sine.c (sine): New file.
1419 * libm/mathfp/s_sineh.c (sineh): New file.
1420 * libm/mathfp/s_sinf.c (sinf): New file.
1421 * libm/mathfp/s_sinh.c (sinh): New file.
1422 * libm/mathfp/s_sqrt.c (sqrt): New file.
1423 * libm/mathfp/s_tan.c (tan): New file.
1424 * libm/mathfp/s_tanh.c (tanh): New file.
1425 * libm/mathfp/sf_acos.c (acosf): New file.
1426 * libm/mathfp/sf_asin.c (asinf): New file.
1427 * libm/mathfp/sf_asine.c (asinef): New file.
1428 * libm/mathfp/sf_atan.c (atanf): New file.
1429 * libm/mathfp/sf_atan2.c (atan2f): New file.
1430 * libm/mathfp/sf_atangent.c (atangent): New file.
1431 * libm/mathfp/sf_ceil.c (ceilf): New file.
1432 * libm/mathfp/sf_copysign.c (copysignf): New file.
1433 * libm/mathfp/sf_cos.c (cosf): New file.
1434 * libm/mathfp/sf_cosh.c (coshf): New file.
1435 * libm/mathfp/sf_exp.c (expf): New file.
1436 * libm/mathfp/sf_fabs.c (fabsf): New file.
1437 * libm/mathfp/sf_finite.c (finitef): New file.
1438 * libm/mathfp/sf_floor.c (floorf): New file.
1439 * libm/mathfp/sf_fmod.c (fmodf): New file.
1440 * libm/mathfp/sf_frexp.c (frexpf): New file.
1441 * libm/mathfp/sf_isinf.c (isinff): New file.
1442 * libm/mathfp/sf_isnan.c (isnanf): New file.
1443 * libm/mathfp/sf_ispos.c (isposf): New file.
1444 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
1445 * libm/mathfp/sf_log.c (logf): New file.
1446 * libm/mathfp/sf_log10.c (log10f): New file.
1447 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
1448 * libm/mathfp/sf_modf.c (modff): New file.
1449 * libm/mathfp/sf_numtest.c (numtestf): New file.
1450 * libm/mathfp/sf_pow.c (powf): New file.
1451 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
1452 * libm/mathfp/sf_sin.c (sinf): New file.
1453 * libm/mathfp/sf_sine.c (sinef): New file.
1454 * libm/mathfp/sf_sineh.c (sinehf): New file.
1455 * libm/mathfp/sf_sinh.c (sinhf): New file.
1456 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
1457 * libm/mathfp/sf_tan.c (tanf): New file.
1458 * libm/mathfp/sf_tanh.c (tanhf): New file.
1459 * libm/mathfp/zmath.h: New file.
1461 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1463 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
1464 exit if it has been overwritten by pre-fetching in delay slot.
1466 1998-09-01 Michael Meissner <meissner@cygnus.com>
1468 * Makefile.am (tooldir): Add in host_alias, so that multilib
1469 libraries are installed in the directory the compiler looks in.
1470 * Makefile.in: Regenerate.
1472 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
1474 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
1476 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
1477 ahead of test for number of bytes being moved.
1479 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
1481 * libc/include/sys/unistd.h: Nothing special needed for
1484 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
1486 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
1487 conform to user label naming conventions.
1489 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
1491 * libc/sys/cygwin32/sys/utime.h: variable names in
1492 protos should start with two leading underscores
1493 * libc/include/string.h: ditto
1494 * libc/include/sys/signal.h: ditto
1495 * libc/include/sys/stat.h: ditto
1496 * libc/include/sys/time.h: ditto
1497 * libc/include/sys/unistd.h: ditto
1498 * libc/include/ctype.h: ditto
1499 * libc/include/stdlib.h: ditto
1500 * libc/include/sys/reent.h: struct _atexit function ptr takes a
1501 void, same with _sig_func.
1503 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
1505 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
1506 for MB_CAPABLE to reduce code size when newlib is not configured
1507 with --enable-newlib-mb.
1508 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
1509 mbtowc_r.o to minimize size.
1510 * libc/stdlib/Makefile.in: Rebuild.
1512 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
1514 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
1516 * libc/sys/sparc64/Makefile.in: Rebuild.
1518 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
1520 * Makefile.am (MAKEOVERRIDES): Define.
1521 * Makefile.in: Rebuild.
1523 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
1525 * libc/sys/sparc64/sys/stat.h (stat): Add const.
1527 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
1529 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
1530 newlib_cflags when looking for targ-include.
1531 * */aclocal.m4, */configure: Rebuild.
1533 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
1535 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
1538 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
1540 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
1541 on SPARCs with little-endian data.
1542 * libc/include/machine/ieeefp.h: Ditto.
1544 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
1546 * acinclude.m4: Handle a relative srcdir correctly when setting
1548 * */aclocal.m4, */configure: Rebuild.
1550 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
1552 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
1553 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
1554 * libm/math/wrf_gamma.c (gammaf_r): ditto
1555 * libm/math/wr_lgamma.c (lgamma_r): ditto
1556 * libm/math/wr_gamma.c (gamma_r): ditto
1557 * libm/math/wf_sqrt.c (sqrtf): ditto
1558 * libm/math/wf_sinh.c (sinhf): ditto
1559 * libm/math/wf_scalb.c (scalbf): ditto
1560 * libm/math/wf_remainder.c (remainderf): ditto
1561 * libm/math/wf_pow.c (powf): ditto
1562 * libm/math/wf_log10.c (log10f): ditto
1563 * libm/math/wf_log.c (logf): ditto
1564 * libm/math/wf_lgamma.c (lgammaf): ditto
1565 * libm/math/wf_jn.c (jnf, ynf): ditto
1566 * libm/math/wf_j1.c (j1f, y1f): ditto
1567 * libm/math/wf_j0.c (j0f, y0f): ditto
1568 * libm/math/wf_hypot.c (hypotf): ditto
1569 * libm/math/wf_gamma.c (gammaf): ditto
1570 * libm/math/wf_fmod.c (fmodf): ditto
1571 * libm/math/wf_exp.c (expf): ditto
1572 * libm/math/wf_cosh.c (coshf): ditto
1573 * libm/math/wf_atanh.c (atanhf): ditto
1574 * libm/math/wf_atan2f.c (atan2f): ditto
1575 * libm/math/wf_asin.c (asinf): ditto
1576 * libm/math/wf_acosh.c (acoshf): ditto
1577 * libm/math/wf_acos.c (acosf): ditto
1578 * libm/math/w_sqrt.c (sqrt): ditto
1579 * libm/math/w_sinh.c (sinh): ditto
1580 * libm/math/w_scalb.c (scalb): ditto
1581 * libm/math/w_remainder.c (remainder): ditto
1582 * libm/math/w_pow.c (pow): ditto
1583 * libm/math/w_log10.c (log10): ditto
1584 * libm/math/w_log.c (log): ditto
1585 * libm/math/w_lgamma.c (lgamma): ditto
1586 * libm/math/w_jn.c (jn, yn): ditto
1587 * libm/math/w_j1.c (j1, y1): ditto
1588 * libm/math/w_j0.c (j0, y0): ditto
1589 * libm/math/w_hypot.c (hypot): ditto
1590 * libm/math/w_gamma.c (gamma): ditto
1591 * libm/math/w_fmod.c (fmod): ditto
1592 * libm/math/w_exp.c (exp): ditto
1593 * libm/math/w_cosh.c (cosh): ditto
1594 * libm/math/w_atanh.c (atanh): ditto
1595 * libm/math/w_atan2f.c (atan2): ditto
1596 * libm/math/w_asin.c (asin): ditto
1597 * libm/math/w_acosh.c (acosh): ditto
1598 * libm/math/w_acos.c (acos): ditto
1600 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
1602 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
1603 (fsrc): Add wf_cabs.c and wf_drem.c.
1604 * libm/math/Makefile.in: Rebuild.
1606 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
1607 unused directory variables. Remove duplicate CFLAGS.
1608 * Makefile.in: Rebuild.
1610 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
1611 with $(CC_FOR_BUILD).
1612 (makedoc.o): Likewise.
1613 * doc/Makefile.in: Rebuild.
1615 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
1616 force a definition of COMPILE.
1617 (libfoo_a_SOURCES): Define.
1618 * libc/sys/cygwin32/Makefile.in: Rebuild.
1619 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
1620 force a definition of COMPILE.
1621 (libfoo_a_SOURCES): Define.
1622 * libc/sys/tic80/Makefile.in: Rebuild.
1624 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
1626 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
1629 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
1631 * Build using autoconf and automake. Added many Makefile.am and
1632 configure.in files, plus generated files. Old configure.in files
1633 and all old Makefile.in files completely replaced. Removed
1634 host/any. Added acinclude.m4 and configure.host.
1636 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
1638 * libc/stdio/vfprintf.c: enable long long support, sometimes.
1639 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
1641 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1643 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
1644 * libc/machine/sh/Makefile.in: Add rules for new files.
1646 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1648 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
1649 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
1650 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
1652 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
1654 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
1657 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
1659 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
1660 internal static buffer when s is NULL, as prescribed by ANSI.
1662 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
1664 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
1666 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
1667 libc/stdlib will be used for h8300hms.
1669 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1671 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
1672 version that can be built either for speed or size.
1673 * libc/machine/mn10300/memset.S (_memset): ditto
1674 * libc/machine/mn10300/memchr.S (_memchr): ditto
1675 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
1676 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
1677 * libc/machine/mn10300/strchr.S (_strchr): ditto
1678 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
1679 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
1680 * libc/machine/mn10300/Makefile.in: Added entries for
1681 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
1682 strcmp.o, strcpy.o, and strlen.o.
1684 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
1686 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
1687 been replaced with libgloss/mn10200.
1689 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
1691 * libc/string/strchr.c (strchr): Make s a constant pointer to
1694 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
1696 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
1697 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
1698 board SWIs instead of Demon board SWIs).
1700 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
1702 * libc/string/strncat.c (strncat): Make -Os act the same as
1703 PREFER_SIZE_OVER_SPEED being defined.
1705 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
1707 * libc/string/memchr.c (memchr): Make -Os act the same as
1708 PREFER_SIZE_OVER_SPEED being defined.
1709 * libc/string/memcmp.c (memcmp): Ditto.
1710 * libc/string/memcpy.c (memcpy): Ditto.
1711 * libc/string/memset.c (memset): Ditto.
1712 * libc/string/strcat.c (strcat): Ditto.
1713 * libc/string/strchr.c (strchr): Ditto.
1714 * libc/string/strcmp.c (strcmp): Ditto.
1715 * libc/string/strcpy.c (strcpy): Ditto.
1716 * libc/string/strlen.c (strlen): Ditto.
1717 * libc/string/strncat.c (strncat): Ditto.
1718 * libc/string/strncmp.c (strncmp): Ditto.
1719 * libc/string/strncpy.c (strncpy): Ditto.
1721 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
1723 * libc/include/sys/itimer.h: remove
1724 * libc/include/sys/time.h: itimer stuff should be here
1726 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
1728 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
1729 bit instead of comparing to 0 so -0.0 can be printed correctly.
1731 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1733 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
1735 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
1737 * libc/include/sys/unistd.h: fix sync() proto
1738 * libc/include/sys/fcntl.h: remove _close which is already
1739 defined in unistd.h.
1740 * libc/include/sys/time.h: add getitimer proto
1742 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
1744 * libc/string/strchr.c: convert arg to unsigned char
1745 * libc/include/stdlib.h: add protos for random, srandom
1746 * libc/include/sys/stat.h: add lstat proto
1747 * libc/include/sys/time.h: add setitimer proto
1748 * libc/include/sys/unistd.h: add readlink, symlink protos
1749 * libc/include/process.h: instead of including windows.h and using
1750 HANDLEs in sexec protos, just use void *s. Need to include
1753 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
1755 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
1757 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
1759 * libc/include/process.h: add secure exec protos
1761 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
1763 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
1764 which are accessed as both doubles and integers.
1765 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
1766 * libc/stdlib/strtod.c (_strtod_r): Likewise.
1767 * libc/stdlib/mprec.h: Add "union double_union" and change
1768 word0/word1 macros to use it.
1770 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
1772 * libc/include/sys/signal.h: add __cplusplus wrapper
1774 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
1776 * libc/include/sys/utime.h: new generic file that gets replaced by
1777 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
1779 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
1780 * libc/include/time.h: remove duplicate utime proto
1781 * libc/include/utime.h: add comment
1783 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
1785 * libc/include/sys/time.h: Add missing include to
1786 allow use of _EXFUN. Remove times function that is
1787 already defined in times.h.
1789 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
1791 * libc/include/time.h: Fix typo in tzset.
1793 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
1795 * libc/include/sys/time.h: add missing Cygwin32 function protos
1796 * libc/include/sys/unistd.h: ditto
1797 * libc/include/time.h: ditto
1799 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
1801 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
1803 * libc/include/sys/types.h: add a new __MS_types__ section
1804 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
1805 __BIT_TYPES_DEFINED__.
1807 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
1809 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
1810 since it overrides the one in libc/include/sys. Also, start
1813 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
1815 * libm/math/Makefile.in: add s_signgam.o to obj list
1817 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
1819 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
1821 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
1823 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
1824 so don't use defines.
1826 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
1828 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
1830 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1832 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
1833 _current_locale as default locale.
1835 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
1837 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
1838 insufficient space in a chunk.
1840 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
1842 * configure.in (links): Added check for --enable-newlib-mb configure
1843 option which defines the MB_CAPABLE macro.
1844 * libc/locale/locale.c (_setlocale_r): Added support for setting
1845 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
1847 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
1848 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
1849 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
1850 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
1851 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
1852 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
1853 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
1854 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
1855 * libc/stdlib/Makefile.in: Added new multibyte
1856 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
1857 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
1858 _mbstowcs_r(), and _wcstombs_r().
1859 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
1860 for JIS, SJIS, and EUC-JP characters.
1861 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
1863 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
1865 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
1867 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
1868 if MB_CAPABLE defined.
1869 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
1870 if MB_CAPABLE defined.
1871 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
1872 to the format string processing when MB_CAPABLE.
1873 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
1876 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
1878 The following modifications are courtesy of Anthony Thompson,
1879 athompson@cambridge.arm.com:
1880 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
1881 boith RDI and RDP monitors.
1882 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
1883 RDI and RDP monitors.
1885 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
1887 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
1888 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
1889 (_swiopen): Fixed open flags to treat write with append as just append.
1890 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
1891 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
1893 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1895 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
1896 When needing to transfer an initial 2-byte-word, store as
1899 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1901 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
1903 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
1904 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
1906 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
1908 * configure.in (target_cflags): If --enable-target-optspace, use
1909 -Os to compile newlib rather than -O2. Default to using -Os for
1910 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
1913 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
1915 * libc/include/machine/setjmp.h: change sigsetjmp and
1916 siglongjmp definitions to use an array instead of a struct
1919 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
1921 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
1923 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
1925 * libc/string/strxfrm.c: fix to get correct return value
1927 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
1929 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
1930 builds. Make mode change labels global so that they will be seen
1933 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
1935 * configure.in (links): Do not use ARM debiugging protocols for PE
1938 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
1941 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1943 * libc/stdio/findfp.c (__sinit): Made stdout default to
1944 line buffered mode as defined by ANSI.
1946 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
1948 * libc/include/sys/itimer.h: New file.
1950 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
1952 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1954 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
1957 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
1959 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
1962 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
1964 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
1966 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
1968 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
1971 * libc/include/machine/setjmp.h: Add D30V support.
1973 * configure.in (d30v-*): Add d30v machine directory.
1975 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
1977 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
1978 been replaced with libgloss/mn10300.
1980 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
1982 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
1983 it is no longer needed.
1985 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
1987 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
1989 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
1991 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
1992 the file when O_APPEND is set, wherever the EOF happens to be at
1995 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
1997 patch from cgf@bbc.com (Christopher Faylor):
1998 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
1999 convention of closing fp prior to attempting to open the file
2000 argument. This allows correct operation when reopening
2001 stdin/stdout/stderr. Replaces last freopen.c patch.
2003 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
2005 patch from cgf@bbc.com (Christopher Faylor):
2006 * libc/stdio/freopen.c: freopen was not preserving the fd
2007 of the stream being operated on. This confuses programs that
2008 expect that the handles for stdout and stderr will be 1 and 2.
2010 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
2012 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
2014 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
2016 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
2018 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
2020 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
2021 altered to not use a branch. Also added hint that last
2022 bclr in longjmp will likely result in branch.
2025 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
2027 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
2029 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
2031 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
2034 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
2036 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
2038 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
2039 that loads FR14 to specify offset of 8 rather than 4
2040 so it loads from offset 96 (where setjmp stored it).
2042 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2044 * libc/machine/sh/memcpy.S: (_memcpy): Update to
2045 latest version supplied by customer.
2046 * libc/machine/sh/memset.S (_memset): Ditto.
2048 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
2050 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
2053 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
2055 * libc/include/string.h: remove redefinition of ffs
2057 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
2059 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
2062 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2064 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
2065 TI Libraries to link to libc.a
2067 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
2069 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
2070 * libc/include/sys/stat.h (_{,f}stat): Ditto.
2071 * libc/include/sys/wait.h (_wait): Ditto.
2072 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
2073 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
2075 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
2077 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
2078 minded stabs so function name shows up when running the simulator
2080 * libc/sys/d10v/{crt0,trap}.S: Ditto.
2082 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
2084 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
2085 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
2086 Use R5 where we used to use R3.
2088 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
2090 * libc/stdlib/getopt.c (getopt): replaced __progname
2091 with nargv[0] to improve portability to imbedded systems.
2093 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
2095 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
2096 patch supplied by Tont.Thompson@arm.com to fix the creation of the
2099 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
2101 * libc/stdio/tmpnam.c (worker): Generate a different file name
2104 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
2105 fails, try an execlp for sh.
2107 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
2108 option for the winsup include directory.
2110 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
2112 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
2113 debugging interface from Tony.Thompson@arm.com.
2115 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
2116 * libc/sys/arm/swi.h: ditto.
2118 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2120 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
2121 DIR struct used for readdir hashes.
2123 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
2125 * libc/string/strchr.c: Use "unsigned chars" as necessary.
2127 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
2129 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
2132 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
2134 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
2135 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
2136 * libc/include/malloc.h: Add extern "C" if __cplusplus.
2137 (__malloc_copy): Declare.
2139 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
2141 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
2143 (POINTER_UINT): Define.
2144 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
2145 (MALLOC_ALIGNMENT): Don't define if already defined.
2146 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
2149 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
2151 * libc/string/memset.c (memset): Fiddle with code so that the long
2152 value being stored is not a stack value. Unroll storing longs 4
2155 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
2157 * Reduce code size for libm modules.
2158 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
2159 and simply move code into sqrt.
2160 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
2161 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
2162 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
2163 * libm/math/wr_gamma.c (gamma_r): Likewise.
2164 * libm/math/wf_sinh.c (sinfh): Likewise.
2165 * libm/math/w_sinh.c (sinh): Likewise.
2166 * libm/math/wf_scalb.c (scalbf): Likewise.
2167 * libm/math/w_scalb.c (scalb): Likewise.
2168 * libm/math/wf_remainder.c (remainderf): Likewise.
2169 * libm/math/w_remainder.c (remainder): Likewise.
2170 * libm/math/wf_pow.c (powf): Likewise.
2171 * libm/math/w_pow.c (pow): Likewise.
2172 * libm/math/wf_log10.c (log10f): Likewise.
2173 * libm/math/w_log10.c (log10): Likewise.
2174 * libm/math/wf_log.c (logf): Likewise.
2175 * libm/math/w_log.c (log): Likewise.
2176 * libm/math/w_lgamma.c (lgamma): Likewise.
2177 * libm/math/wf_lgamma.c (lgammaf): Likewise.
2178 * libm/math/wf_jn.c (jnf): Likewise.
2179 * libm/math/w_jn.c (jn): Likewise.
2180 * libm/math/wf_j1.c (j1f): Likewise.
2181 * libm/math/w_j1.c (j1): Likewise.
2182 * libm/math/wf_j0.c (j0f): Likewise.
2183 * libm/math/w_j0.c (j0): Likewise.
2184 * libm/math/wf_hypot.c (hypotf): Likewise.
2185 * libm/math/w_hypot.c (hypot): Likewise.
2186 * libm/math/wf_gamma.c (gammaf): Likewise.
2187 * libm/math/w_gamma.c (gamma): Likewise.
2188 * libm/math/wf_fmod.c (fmodf): Likewise.
2189 * libm/math/w_fmod.c (fmod): Likewise.
2190 * libm/math/wf_exp.c (expf): Likewise.
2191 * libm/math/w_exp.c (exp): Likewise.
2192 * libm/math/wf_cosh.c (coshf): Likewise.
2193 * libm/math/w_cosh.c (cosh): Likewise.
2194 * libm/math/wf_atanh.c (atanhf): Likewise.
2195 * libm/math/w_atanh.c (atanh): Likewise.
2196 * libm/math/wf_atan2.c (atan2f): Likewise.
2197 * libm/math/w_atan2.c (atan2): Likewise.
2198 * libm/math/wf_asin.c (asinf): Likewise.
2199 * libm/math/w_asin.c (asin): Likewise.
2200 * libm/math/wf_acosh.c (acoshf): Likewise.
2201 * libm/math/w_acosh.c (acosh): Likewise.
2202 * libm/math/wf_acos.c (asocf): Likewise.
2203 * libm/math/w_acos.c (acos): Likewise.
2204 * libm/math/wf_sqrt.c (sqrtf): Likewise.
2205 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
2206 for embedded systems.
2208 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
2210 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
2211 Lea in case of a foreign sbrk.
2213 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
2215 Incorporate Doug Lea's malloc:
2216 * libc/stdlib/mallocr.c: Completely replaced.
2217 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
2219 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
2220 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
2222 (mallinfo, malloc_stats, mallopt): New functions.
2223 (_mstats_r): Just call _malloc_stats_r.
2224 * libc/stdlib/malign.c: New file.
2225 * libc/stdlib/mlock.c: New file.
2226 * libc/stdlib/msize.c: New file.
2227 * libc/stdlib/mtrim.c: New file.
2228 * libc/stdlib/realloc.c: New file.
2229 * libc/stdlib/valloc.c: New file.
2230 * libc/stdlib/malloc.h: Remove.
2231 * libc/stdlib/callocr.c: Remove.
2232 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
2233 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
2234 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
2235 reallocr.o, valloc.o, vallocr.o.
2236 (CHEWOUT_FILES): Add mlock.def, mstats.def.
2237 (MALLOC_CFLAGS): New variable.
2238 (mallocr.o): New target, build from mallocr.c.
2239 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
2240 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
2241 (msizer.o, malloptr.o): Likewise.
2242 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
2243 (valloc.o): New target.
2244 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
2245 * libc/include/malloc.h: Declare struct mallinfo, and new
2247 * libc/include/stdlib.h (cfree): Correct declaration.
2249 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
2251 * libc/include/machine/setjmp.h: Add support for Thumb target.
2253 * libc/include/machine/ieeefp.h: Add support for Thumb target.
2255 * configure.in (links): Add support for Thumb target.
2257 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
2259 * libc/sys/arm/setjmp.S: Updated with version from branch.
2261 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
2263 * libc/include/stdio.h: add POSIX-required define L_ctermid
2266 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
2268 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
2269 addition to MISSING_SYSCALL_NAMES.
2271 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2273 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
2275 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
2277 * libc/include/string.h: change strsignal proto to return
2278 a char *. This eliminates compile problems in gdb resulting
2279 from gdb's definition of strsignal in defs.h.
2281 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
2283 * libc/sys/cygwin32/sys/utime.h: new (moved here from
2284 winsup/include) so as not to conflict with the one in
2286 * libc/include/string.h: add protos for strsignal, strtosigno
2288 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
2290 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
2292 * configure.in (d30v-*-*): Add configuration.
2294 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
2296 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
2297 to select which kind of debug monitor is in use for an ARM target.
2299 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
2300 Angel and Demon debug monitors. Part of this code was supplied by
2301 Tony Thompson at ARM: athompso@arm.com.
2303 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
2305 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
2306 semantics when the count is greater than the length of the second
2309 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
2311 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2312 * libc/include/sys/unistd.h: add protos for usleep, truncate,
2313 truncate and ftruncate take off_t, not size_t
2315 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
2317 * libc/string/strcat.c (strcat): Add missing comment end.
2318 * libc/string/strncat.c (strncat): Likewise.
2320 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
2322 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2324 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
2325 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2327 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2328 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2329 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2331 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
2333 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2334 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2336 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
2338 * libc/machine/i386/setjmp.S: New file.
2339 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2340 (OFILES): Add setjmp.o.
2341 (setjmp.o): Add rule for.
2342 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2344 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
2345 Jeffrey A Law (law@cygnus.com)
2347 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2348 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2349 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2350 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2352 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
2354 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
2357 * libc/include/sys/config.h: Use __v850 to select v850
2360 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
2363 * libc/include/machine/ieeefp.h: Use __v850 to select v850
2366 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
2368 * libc/stdlib/setenv.c: change unsetenv definition to match
2369 style of setenv (with _DEFUN). The string should be a const.
2370 * libc/include/stdlib.h: unsetenv proto should return void.
2372 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
2374 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
2376 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
2378 * libc/stdio/glue.h: remove.
2379 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
2380 * libc/stdio/Makefile.in: remove glue.h dependencies
2382 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
2384 * libc/sys/sysnecv850/crt0.S: Created V850e version.
2386 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
2388 * configure.in (target_cpu): Add `arc'.
2390 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
2392 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
2393 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
2394 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
2395 * newlib/libc/reent/reent.c: Add _wrapup_reent.
2396 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
2398 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
2400 * libc/machine/mips/setjmp.S: Handle mips16 builds.
2402 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
2404 * libc/include/stdio.h (siprintf): Declare.
2406 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
2408 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
2409 TARGET_CFLAGS and NEWLIB_FLAGS.
2411 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2413 * configure.in (links): Add support for v850ea target.
2415 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2417 * configure.in (links): Add support for v850e target.
2419 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
2421 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
2423 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
2425 * configure.in (arc-*-*): Add support for.
2426 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
2428 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2430 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
2432 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
2434 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
2435 comparison which accesses invalid memory when the key is
2436 larger than the last member of the array.
2437 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
2439 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
2441 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
2443 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
2446 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
2448 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
2449 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
2451 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
2453 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
2454 to load/store memory.
2456 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
2458 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
2459 underscores if _WIN32.
2461 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
2463 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
2464 support ifdef _USE_WRITE missed in last change.
2465 From Anders Blomdell <anders.blomdell@control.lth.se>.
2467 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
2469 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
2470 (_tmpnam_r, _tempnam_r): Update.
2472 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
2474 * libc/machine/sparc/setjmp.S: New file.
2475 * libc/machine/sparc/Makefile.in: Add setjmp.
2476 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
2478 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
2480 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
2482 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
2484 From Joel Sherrill <joel@oarcorp.com>.
2485 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
2487 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
2488 * configure.in: Recognize *-*-rtems*.
2489 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
2490 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
2491 time.h,times.h,types.h}: New files.
2492 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
2494 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
2496 patch from sos@prospect.com.ru (Sergey Okhapkin):
2497 * include/sys/wait.h: correct operator precidence bug
2500 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
2502 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
2503 with newlib's unsetenv function
2504 * libc/sys/cygwin32/sys: new directory for includes
2505 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
2506 here from winsup/include/sys
2508 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
2510 * libc/include/sys/unistd.h: _exit should only be
2511 labelled noreturn when not __CYGWIN32__
2512 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
2513 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
2516 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
2518 * libc/include/sys/time.h: Only define timeval and timezone if
2519 _GNU_H_WINDOWS32_SOCKETS is not defined.
2520 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
2522 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
2524 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
2525 * libc/machine/mn10300/setjmp.S: Likewise.
2527 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
2528 the mn10300 (more relaxing opportunities).
2530 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
2532 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
2533 Build libraries with -mstrict-align.
2535 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
2537 * libc/string/strlwr.c: New file.
2538 * libc/string/strupr.c: New file.
2539 * libc/include/string.h: Declare strlwr and strupr.
2540 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
2541 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
2542 (strlwr.o, strupr.o): New targets.
2543 * libc/string/strings.tex: Include strlwr and strupr docs.
2545 * libc/include/sys/types.h: Don't define u_char, et. al., if
2546 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
2547 et. al. Make FD_SETSIZE default 64 rather than 60. Define
2548 _types_fd_set rather than fd_set, and define fd_set as a macro.
2550 * libc/include/malloc.h: New file.
2552 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
2553 strnicmp if they are not already defined.
2555 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
2556 _timezone, _daylight, and _tzname.
2558 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
2560 * configure.in: Sort all configuration tables.
2562 From Joel Sherrill <joel@oarcorp.com>
2563 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
2565 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
2567 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
2568 use int when declaring kill.
2570 * libc/include/sys/timeb.h: New file.
2572 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
2574 * libc/include/sys/time.h: add itimer support for Cygwin32
2576 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
2578 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
2579 out a message that abort was called to stderr.
2581 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
2583 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
2584 so that libio doesn't freak.
2586 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
2589 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
2590 memory sizes, not int.
2592 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
2594 * libm/math/ef_hypot.c: Use long constants where
2596 * libm/math/ef_sqrt.c: Ditto.
2598 * libc/sys/sysmec/times.c(_times): Change to times.
2600 * libc/sys/sysmec/read.c(_read): The third argument is
2602 * libc/sys/sysmec/write.c (_write): Ditto.
2604 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
2605 (_lseek): It's off_t for the second argument.
2607 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
2609 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
2610 as well as machine/ieeefp.h.
2612 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
2614 * libc/include/sys/signal.h: add signal protos for winsup
2615 functions (when __CYGWIN32__), include types.h
2616 * libc/include/sys/types.h: Change __go32_types__ internal
2617 define to __MS_types__ since it's used for more than just
2618 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
2620 * libc/include/sys/unistd.h: add ftruncate proto for
2621 winsup functions (when __CYGWIN32__)
2623 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
2625 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
2627 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
2629 * libc/include/machine/setjmp.h: Add tic80 support.
2630 * libc/machine/tic80/setjmp.S: Likewise.
2632 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
2634 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
2635 link programs from libraries only (such as in the X11
2638 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
2640 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
2641 supplied elsewhere in newlib.
2643 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
2645 * Makefile.in (INSTALL): Change install.sh to install-sh.
2647 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
2649 * README: update WWW address for on-line documentation.
2651 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
2653 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
2656 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
2658 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
2660 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
2662 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
2664 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
2665 * libc/sys/d10v/syscalls.c: Likewise.
2666 * libc/sys/h8300hms/sbrk.c: Likewise.
2667 * libc/sys/h8500hms/syscalls.c: Likewise.
2668 * libc/sys/m88kbug/syscalls.c: Likewise.
2669 * libc/sys/sh/syscalls.c: Likewise.
2670 * libc/sys/sysmec/sbrk.c: Likewise.
2671 * libc/sys/sysnecv850/sbrk.c: Likewise.
2672 * libc/sys/w65/syscalls.c: Likewise.
2673 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
2675 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
2677 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
2678 emulated syscall instead of "trap".
2680 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
2682 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
2685 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
2687 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
2689 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
2691 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
2693 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
2695 * libc/sys/tic80/crt0.c: New file for TIc80.
2696 * libc/sys/tic80/Makefile.in: New file for TIc80.
2697 * libc/machine/tic80/Makefile.in: New file for TIc80.
2699 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
2701 * libc/machine/sh/memcpy.S: New file.
2702 * libc/machine/sh/memset.S: New file.
2703 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
2705 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
2707 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
2710 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
2712 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
2715 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
2717 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
2718 (patch from andrew@pogo.WV.TEK.COM).
2720 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
2722 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
2723 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
2725 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
2727 * configure.in: Add cases for "tic80" to set machine_dir,
2728 sys_dir, and syscall_dir.
2730 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
2732 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
2734 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
2736 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
2738 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
2740 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
2741 Use proper constant prefix.
2743 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
2745 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
2746 that loses on the mn10200 where ints and pointers are different
2749 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
2751 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
2752 target as signal is provided in winsup.
2754 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
2756 * libc/include/sys/process.h: Corrected const definitions
2757 in spawn functions. Added cwait.
2759 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
2761 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
2763 * libc/include/sys/config.h: Similarly.
2765 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2767 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
2769 (i[3456]86-*-sco*): Ditto.
2771 * libc/signal/Makefile.in (OFILES): Add signal.o.
2772 (CFILES): Add signal.c.
2774 * libc/signal/raise.c (_raise_r): Only compile code if
2775 SIGNAL_PROVIDED is defined.
2777 * libc/signal/signal.c: Redo whole file so that it works with
2778 current newlib. Use _kill_r if no signal handler provided.
2780 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
2782 * libc/sys/sysvnecv70/Makefile.in: Ditto.
2783 * libc/sys/sysnecv850/Makefile.in: Ditto.
2785 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
2786 * libc/sys/sysmec/{raise,signal}.c: Ditto.
2787 * libc/sys/sysvnecv70/signal.s: Ditto.
2788 * libc/sys/sysnecv850/raise.c: Ditto.
2790 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
2791 simulator and debugger can tell the difference between a signal
2792 being raised and an exit system call.
2794 * NEWS: Document software signals being provided.
2796 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2798 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
2799 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
2800 include/sys/config.h.
2801 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
2802 Change from 'inpure_data'.
2803 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
2804 &impure_data, not &inpure_data.
2806 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
2807 and and System V ABI, define so that _impure_ptr lives in the
2810 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2812 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
2813 nothing if not defined.
2814 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
2817 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
2819 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
2821 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
2822 * libc/sys/sysmec/trap.s: Handle mn10200 too.
2823 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
2825 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
2827 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
2829 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
2831 * libc/include/sys/errno.h: Added net errno's.
2833 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2835 * libc/misc/ffs.c: New file to support ffs function for GCC test
2836 gcc.c-torture/execute/960909-1.c.
2838 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
2840 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
2842 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
2843 * libc/sys/sysmec/trap.S: Likewise.
2845 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
2847 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
2848 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
2850 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
2852 * libc/sys/sysmec/signal.c: Dummy file.
2853 * libc/sys/sysmec/Makefile.in: Build it.
2855 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
2857 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
2860 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
2862 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
2863 c-startup and simulator traps.
2866 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
2867 * libc/sys/sysmec/trap0.S: Likewise.
2869 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2871 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
2872 round to double word alignment.
2873 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
2876 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
2878 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
2881 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
2883 * configure.in: Handle mn10200 and mn10300.
2884 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
2885 * libc/include/sys/config.h: Likewise.
2886 * libc/sys/sysmec: New directory for mec stuff.
2887 * libc/machine/mn10300: New directory for mn10300 stuff.
2888 * libc/machine/mn10200: Similarly for mn10200 stuff.
2890 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
2892 * libc/sys/arm/crt0.S: Use .text, not .section .text.
2893 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
2895 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
2896 (nlink_t): Change type from unsigned int to unsigned short.
2897 (mode_t): Ensure size is 32 bits even if int is 16.
2898 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
2899 (st_spare[123]): Change type from int to long.
2901 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2903 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
2906 * configure.in (d10v*): Define SMALL_MEMORY.
2908 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2910 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
2911 -mrelocatable-lib and -mno-eabi flags.
2913 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
2915 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
2916 Fix handling of mis-aligned source operand when both the
2917 destination & length are properly aligned.
2919 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
2921 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
2922 times.o, time.o and gettime.o
2923 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
2924 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
2927 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
2929 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
2930 * libc/sys/sysnecv850/access.c: New file.
2932 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
2934 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
2936 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
2939 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
2941 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
2943 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
2945 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
2946 * libc/include/sys/config.h: Add m32r support.
2948 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
2950 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
2953 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
2955 * libc/include/machine/setjmp.h: Add D10v support.
2957 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
2959 * configure.in: Configure the "libc/syscalls" directory for
2962 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
2963 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
2964 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
2965 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
2966 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
2968 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
2970 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
2971 stack for args for main and other routines. Zero out args for
2974 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
2977 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2979 * libc/stdio/findfp.c (std): Remove extraneous ';' after
2982 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
2984 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
2985 real system calls now.
2987 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
2988 before casting them to int.
2989 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
2991 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
2993 * libc/string/memset.c (memset): Ditto.
2995 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
2996 first convert ints to _POINTER_INT to eliminate GCC warning.
2998 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
3001 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
3002 from 65000 if ints are only 16 bits.
3004 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
3005 from 50000 if ints are only 16 bits.
3007 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
3008 int type that is the same size as a pointer.
3010 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
3012 (get_number): Explicitly cast number to long before shifting by 16
3013 or 24, in case ints are short.
3015 * libc/include/sys/config.h (_POINTER_INT): Define as short.
3017 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
3019 * libc/string.h: Added ffs, removed swab.
3020 * libc/sys/errno.h: Added EOPNOTSUPP.
3021 * libc/sys/unistd.h: Added swab.
3023 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
3025 * libc/include/sys/stat.h: Added fchmod.
3026 * libc/include/sys/unistd.h: Added fsync.
3028 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
3030 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
3031 and ECONNRESET (104) for cygwin32.
3033 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
3035 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
3036 do the static destructors.
3038 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
3040 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
3042 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
3044 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
3045 * configure.in: Recognize m32r-*-*.
3047 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
3049 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
3050 __rt_stkovf_split_small): Added default software stack overflow
3051 handlers, which just call SWI_Exit.
3052 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
3053 limit initialisation.
3055 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
3057 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
3059 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
3061 * libc/include/sys/types.h: Added ssize_t definition.
3063 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3065 * libc/machine/d10v/setjmp.S: Use ';' for comments.
3066 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
3068 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
3069 branch around a single ldi instruction.
3071 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
3072 Call exit, instead of just issuing a stop instruction.
3074 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3076 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
3078 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3080 * libc/stdlib/mprec.h: Explicitly declare all large constants as
3081 longs, and then cast them to __uint32_t.
3083 * libc/include/sys/config.h: Protect against multiple inclusions.
3085 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
3087 * configure.in (d10v*): Set syscall_dir.
3089 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
3091 * libc/sys/d10v/crt0.S: Set stack pointer.
3093 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
3095 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
3096 in assembly for efficiency. Change calling convention to allow
3097 long ints to be returned.
3099 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3101 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
3103 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
3105 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
3106 Handle empty entries in $PATH.
3108 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
3110 * libc/machine/d10v/setjmp.S: Make it really work.
3112 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
3114 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
3117 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
3119 * sys/sysnecv850/sys/file.h: Remove.
3120 * sys/sysnecv850/sys/syscall.h: New file.
3121 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
3122 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
3123 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
3124 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
3125 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
3126 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
3127 * sys/sysnec850/trap.S: New file.
3128 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
3130 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
3131 * sys/sysnec850/sbrk.c: New version.
3133 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
3135 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
3136 as long as r6 is less than r7.
3138 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
3140 * Makefile.in (mostlyclean): Separate from clean target. Don't
3141 remove *.a or targ-include.
3142 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
3144 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3146 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
3148 (__SMALL_BITFIELDS): Ditto.
3150 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
3152 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
3154 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
3157 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
3158 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
3159 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
3160 * libc/sys/sysnecv850/write.c (write): Likewise.
3162 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
3165 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3167 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
3168 appropriately for D10V, depending on -mint16/-mint32.
3170 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
3172 * configure.in: Add cases for D10V.
3174 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3176 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3178 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
3180 * libc/include/machine/ieeefp.h: Fix typo.
3182 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
3184 * libc/sys/d10v: New directory for D10V stuff.
3185 * libc/include/machine/ieeefp.h: Add D10V defines.
3187 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
3189 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
3190 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
3191 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
3192 * libc/string/strerror.c (strerror): Add them.
3194 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
3196 * libc/sys/sysnecv850: New directory for v850 stuff.
3198 * libc/machine/v850: New directory for v850 stuff.
3199 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
3201 * configure.in: Add support for the v850.
3203 * libc/include/machine/ieeefp.h: Add v850 defines.
3204 * libc/include/machine/setjmp.h: Likewise.
3205 * libc/include/sys/config.h: Add v850 defines.
3207 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
3209 * libc/include/machine/ieeefp.h
3210 * libc/include/machine/setjmp.h
3211 * libc/include/sys/fcntl.h
3212 * libc/include/sys/signal.h
3213 * libc/include/sys/types.h
3214 * libc/stdlib/system.c:
3215 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
3216 API availability, __CYGWIN32__ for cygwin32 environment specific).
3218 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
3220 * libc/include/stdlib.h: add multibyte character functions. Add
3221 __eprintf for assert.
3223 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3225 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
3226 arithmetic or __alignof__ to properly get the alignment, instead
3227 of hardwiring it to 4.
3229 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
3231 * libc/stdio/fseek.c: add fflush call to adjust seek offset
3232 on append stream (fix from NetBSD sources), adjust curoff offset
3233 for ungetc's benefit.
3234 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
3235 * libc/stdio/rewind.c: replace code with up to date NetBSD
3236 code to undo hacks made to work around above problem of not
3237 having fflush call mentioned above
3239 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3241 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
3242 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
3243 Partially revert last changes. The thread specific errno is set
3244 iff if the underlying syscall fails and the global errno is not
3247 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3249 * libc/reent/filer.c: Removed files, all functions have split out
3250 into their own files.
3251 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
3252 New files containing functions formally in filer.c
3253 * libc/reent/Makefile.in: Updated for above change.
3255 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
3256 syscall fails, not if errno is changed.
3257 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
3258 _write_r): Likewise.
3259 * libc/reent/fstatr.c (_fstat_r): Likewise.
3260 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
3261 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
3262 * libc/reent/signalr.c (_kill_r): Likewise.
3263 * libc/reent/statr.c (_stat_r): Likewise.
3264 * libc/reent/timer.c (_gettimeofday_r): Likewise.
3266 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
3267 signalr.c, statr.c, timer.c} (errno): declare extern rather
3270 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
3271 instead of calling vfprintf so that i*printf will not require
3272 floating point support code.
3274 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
3276 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
3278 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
3279 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
3281 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
3283 * libc/include/signal.h: _sig_func_ptr function takes an int
3284 * libc/include/sys/signal.h: sa_handler function takes an int
3286 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
3288 * libc/include/machine/ieeefp.h: Simplify H8/S support.
3289 * libc/include/sys/config.h: Add missing H8/S conditional.
3291 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
3293 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
3295 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
3297 * libc/include/machine/setjmp.h: Handle H8/S.
3298 * libc/include/machine/ieeefp.h: Likewise.
3299 * libc/include/sys/config.h: Likewise.
3300 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
3301 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
3302 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
3303 * libc/sys/h8300hms/crt0.S: Likewise.
3305 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3307 * Makefile.in (datadir): Set to $(prefix)/share.
3308 (oldincludedir, docdir): Removed.
3309 * doc/Makefile.in (datadir): Set to $(prefix)/share.
3310 (oldincludedir, docdir): Removed.
3311 * libc/Makefile.in (datadir): Set to $(prefix)/share.
3312 (oldincludedir, docdir): Removed.
3313 * libm/Makefile.in (datadir): Set to $(prefix)/share.
3314 (oldincludedir, docdir): Removed.
3316 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
3318 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3321 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
3323 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
3324 fetch current path rules with sysconf and handler posix/win32
3327 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3329 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3330 (WAIT_CHILD): Always define.
3332 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
3334 * libc/stdlib/eprintf.c: New file.
3335 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3336 (eprintf.o): New target.
3338 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
3340 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3341 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3343 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
3345 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3346 NT in PowerPC endianess cases.
3348 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3350 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3352 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3354 * libc/string/strtok.c: Fix doc typo.
3356 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3358 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
3359 _next, _scanpoint, _signgam fields.
3361 * libc/include/stdlib.h (rand_r): Added new declaration.
3362 (_rand_r, _srand_r): Removed declarations.
3363 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
3364 have been made obsolete by rand_r.
3365 * libc/stdlib/rand_r.c: New file, rand_r function as specified
3368 * libc/string/strtok.c: Update documentation to describe
3371 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
3373 * libc/include/sys/stat.h (stat structure): Use the expanded stat
3374 structure on Solaris, and PowerPC systems even though __svr4__ is
3377 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
3379 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
3381 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
3383 * host/any: Use ../.. rather than .. to get to the main build
3384 directory. This matches the current layout of the build
3387 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
3389 * libc/machine/h8300/__main.S: Delete. No longer needed.
3390 * libc/machine/h8300/Makefile.in: Corresponding changes.
3391 * libc/sys/h8300hms/crt1.c: New file.
3392 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
3393 * libc/sys/h8300hms/crt0.s: Call __main.
3395 * libc/sys/h8300hms/crt0.S: Use temporary label names
3398 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
3400 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
3402 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3404 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
3405 .sdata on the PowerPC so that we can link newlib with code
3406 compiled with -msdata.
3408 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
3410 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
3412 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
3414 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
3415 exception handler to __cygwin_exception_handler.
3417 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
3419 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
3421 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
3423 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
3425 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
3426 wcstombs.o): Likewise.
3428 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
3430 * libc/stdlib/environ.c (initial_env): New static local.
3431 (environ): Point to `initial_env'.
3433 * libc/include/machine/setjmp.h: Clean up.
3434 (__H8300H__,__PPC__): Define _JBTYPE.
3435 (__arm__): Provide entry for.
3436 (sigjmp_buf): Delete.
3437 (jmp_buf): Use _JBTYPE if defined, otherwise int.
3439 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
3441 * libc/machine/h8300/strcmp.S: Sign extend the result to
3442 32bits so we don't lose with -mint32.
3444 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
3446 * libc/sys/go32/sys/errno.h: New file.
3447 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
3448 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
3449 errno's address (make compatible with rest of newlib).
3450 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
3451 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
3453 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
3455 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
3456 * libc/machine/sparc/Makefile.in: Build them.
3457 * libc/machine/sparc/machine/sparclet.h: New file.
3459 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3461 * libc/machine/sh/asm.h: New file.
3462 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
3463 support for SH3e's FP registers. Use asm.h.
3465 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
3467 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
3468 as first argument. Call _dtoa_r and pass the reent structure
3469 instead of calling __dtoa.
3471 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
3473 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
3474 the h8300, h8500, and others. Add comments for some rather
3477 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
3479 * Makefile.in (check): Check that testsuite exists before cd.
3481 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3483 * libc/include/string.h (strsep): Correct prototype.
3485 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
3487 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
3488 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
3489 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
3491 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
3493 * libc/posix/{creat.c,isatty.c}: New files.
3494 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
3496 * libc/sys/sparc64/crt0.S (environ): Delete.
3497 (.LHaveBias): Renamed from HaveBias.
3499 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
3501 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
3502 (_morecore_r): Delete SBRK_IS_ALLOC support.
3504 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3506 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
3507 module rather than touch, so we don't get warning messages when
3508 all of the libraries are combined into libc.a.
3510 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
3512 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
3513 crt0.s replaced by version in libgloss.
3515 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3517 * libc/reent/Makefile.in (OFILES): Add impure.o.
3518 * libc/reent/impure.o: New file, define initial reentrancy struct.
3519 * libc/reent/reent.c: Remove above definition.
3521 * libm/math/sf_asinh.c: Fix typo.
3523 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
3526 * libm/libm.texinfo: Change documentation to reflect changes
3527 in reentrancy model.
3528 * libm/math/w_gamma.c: Likewise.
3530 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
3532 * configure.in (*-*-cygwin32): New.
3533 (*-*-win32): Deleted.
3534 * libc/sys/win32 renamed libc/sys/cygwin32.
3536 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3538 * libc/include/sys/file.h: New include file.
3540 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
3542 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
3544 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
3546 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
3548 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3550 * doc/makedoc.c (realloc): Declare at file scope.
3551 (catchar): Not here.
3553 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
3555 * Makefile.in (VERSION): Update to 1.7.0.
3556 * {libc,libm}/Makefile.in (VERSION): Likewise.
3557 * configure.in: Minor clean up of multilib stuff.
3559 From David Johnson <davidj@ICSI.Berkeley.EDU>
3560 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
3562 * libc/stdlib/environ.c: New file.
3563 * libc/stdlib/Makefile.in (OFILES): Build it.
3564 * libc/sys/h8500hms/crt0.c (environ): Deleted.
3565 * libc/sys/m88kbug/crt0.c (environ): Deleted.
3566 * libc/sys/z8ksim/crt0.c (environ): Deleted.
3567 * libc/sys/netware/environ.c: Deleted.
3569 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
3571 * configure.in (links): set sys_dir, posix_dir, syscall_dir
3573 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3575 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
3576 declaration out to external scope and declare it PTR, not char *.
3578 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
3580 * libc/include/sys/unistd.h (getpagesize): New declaration.
3581 (_SC_PAGESIZE): New definition.
3582 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
3583 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
3585 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
3587 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
3588 addressing. System call returns size, not (last address + 1).
3590 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3592 * libm/math/*.c: Removed _foo_r() reentrancy API.
3593 * libc/include/math.h: Removed _foo_r prototypes and macros.
3595 * libm/math/*.c: On systems with IEEE single precision "doubles"
3596 move foo() -> foof() wrapper code from the files that implement
3597 the standard IEEE double precision functions to the files that
3598 implement IEEE single precision functions. (ie. On those systems
3599 sin is moved from s_sin.c to sf_sin.c). There should eventually
3600 be use of a C extension (like gcc's alias attribute) so that the
3601 wrappers are not needed at all.
3603 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
3604 strict NEC V810 compiler.
3605 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
3608 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3610 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
3611 from NetBSD C library.
3612 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
3614 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
3615 and adapted from implementation I wrote for NetBSD C library.
3616 The difference is __assert doesn't take a format argument,
3617 so that there won't be multiple copies of the same string
3618 constant in the executable if assertions are enabled in
3619 more than one source module.
3620 * libc/include/assert.h (assert): Changed to call __assert.
3622 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3624 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
3625 word1 on systems with 32 bit doubles.
3626 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
3627 so that we can do arithmetic on them.
3628 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
3631 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
3633 * libc/sys/arm/crt0.S: Zero bss.
3635 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
3637 * libc/include/unctrl.h: New file.
3638 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
3639 * configure.in (subdirs): Add libc/misc.
3640 * libc/Makefile.in (SUBDIRS): Add misc.
3641 (SUBLIBS): Add misc/lib.a.
3643 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
3645 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
3647 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
3648 (_vfprintf_r): Call CHECK_INIT.
3650 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
3652 * Makefile.in (MULTITOP): Delete.
3653 (MULTISRCTOP, MULTIBUILDTOP): Add.
3654 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3655 instead of cfg-ml-pos.in.
3657 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3659 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
3660 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
3663 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3665 * libc/string/strtok.c: Include string.h to pick up strtok_r
3668 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3670 * libc/string/strtok.c: include <_ansi.h>.
3671 * libc/time/asctime_r.c: `reresult' -> `result'.
3673 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3675 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
3676 in #ifndef _REENT_ONLY ... #endif conditional.
3678 * libc/include/string.h (_strtok_r): Remove declaration.
3679 * libc/include/time.h (_asctime_r): Remove declaration.
3680 * libc/string/strtok.c (_strtok_r): Removed.
3681 * libc/time/asctime.c (_asctime_r): Removed.
3683 * libc/string/Makefile.in (OFILES): Add new object.
3684 * libc/string/strtok_r.c: New file. strtok_r function as
3685 specified by POSIX.1c, adapted from strtok implementation
3686 from NetBSD C library.
3687 * libc/string/strtok.c (strtok): Reimplemented in terms of
3690 * libc/time/Makefile.in (OFILES): Add new objects.
3691 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
3692 New files, reentrant time functions specified by POSIX.1c.
3693 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
3694 reentrant time functions re-written in terms of reentrant
3696 * libc/time/lcltime.c: Renamed from localtime.c
3698 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
3699 gmtime_r, and localtime_r.
3701 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
3703 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
3704 * libc/include/sys/unistd.h (getlogin): Revert change of
3706 * libc/include/sys/signal.h (sigprocmask): Change prototype
3707 so it compiles with c++.
3709 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
3711 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
3712 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
3713 to give some room in case we need to align the jmp_buf.
3715 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
3716 the new ppc-asm.h include file the compiler provides to specify
3717 function prologue/epilogue. Eliminate saves of the xer and ctr
3718 registers, which are volatile. Before starting to save registers,
3719 align to 8 byte boundary.
3721 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3723 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
3724 referenced by standard libraries.
3726 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
3728 * libc/unix/Makefile.in, libc/string/Makefile.in,
3729 libc/stdio/Makefile.in, libc/reent/Makefile.in,
3730 libc/posix/Makefile.in:
3731 Remove tabs from otherwise empty line. Confuses some
3732 older non-GNU versions of "make".
3734 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
3736 * libc/sys/unistd.h (getlogin): Returns const char *.
3738 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
3740 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
3741 * libc/include/errno.h: Moved into and include...
3742 * libc/include/sys/errno.h: New file.
3743 * libc/include/sys/wait.h: New file.
3744 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
3745 * libc/sys/win32/*: Moved out.
3746 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
3747 * configure.in (i[345]86-*-win32): HAVE_RENAME
3749 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3751 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
3752 avoid macro expansion for these two names.
3754 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
3756 * libc/machine/h8500/psi.S: r6 renamed to fp.
3758 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3760 * configure.in (powerpc*): No longer need to define
3761 NO_LONGLONG_POINTERS to supress warnings.
3763 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3765 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
3766 through PTR instead of directly.
3768 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
3769 non-standard constructor support.
3771 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3773 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
3774 address of the Bigint instead of the address of its _x field,
3775 as the size the result buffer was calculated accordingly.
3776 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
3778 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
3779 from NetBSD C library. No longer special cases division by
3780 zero (which needs to be done by the application anyway), but
3781 it doesn't need to call abs() (or labs()) four times either.
3783 * libc/stdlib/qsort.c: Replaced with implementation from
3786 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3788 * libc/stdio/vfprintf.c: Replaced with implementation from
3789 NetBSD C library (which is derived from the 4.4BSD C library).
3790 * libc/stdio/cvt.c: Removed.
3791 * libc/stdio/Makefile: Updated.
3793 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
3795 * libc/sys/win32/syscalls.c (rename): New.
3796 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
3798 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3800 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
3801 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
3803 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
3804 (setjmp.o): Delete rule to build setjmp.o.
3805 * libc/sys/sh/setjmp.S: Delete file.
3807 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3809 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
3810 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
3811 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
3812 pow5mult and s2b to identifiers with leading underscores.
3813 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
3814 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
3816 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
3818 * libc/sys/posix/popen.c (sys/types.h): Include.
3820 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
3822 * libc/sys/win32/syscalls.h (fhandler): New struct.
3823 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
3824 (__fhandler_normal): Declare.
3825 (hinfo): New member op_handlers.
3826 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
3827 (__write): Likewise.
3828 (_read, _write, _open, _close, _lseek): Validate fd here.
3829 Move file type specific stuff to foo_normal.
3830 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
3832 (__lookup_fhandler): New function.
3833 (__lookup_fhandler_hook, __fhandler_normal): New variables.
3835 From anders.blomdell@control.lth.se (Anders Blomdell)
3836 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
3837 Don't touch standard handles.
3838 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
3839 (_execve): Only create __FD_TABLE__ if necessary.
3840 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
3842 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
3844 * libc/sys/win32/sys/termios.h (FLUSHO): New.
3845 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
3846 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
3847 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
3848 without a handler is received.
3849 * libc/sys/win32/Makefile.in: Remove --nodelete.
3850 * libc/sys/win32/resouce.c (gettimeofday): New.
3851 * libc/sys/win32/syscalls.c (path_to_real_path): New.
3852 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
3854 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
3856 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
3857 Don't append "/*" to search pattern if trailing '/' already there,
3859 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
3860 like /'s, convert them to \'s. Handle //<drive>/ path names.
3861 Add space for quoted \'s in arg string. Print translated prog name
3862 and original prog name.
3863 (_execve): Handle parent doing exec a teensy bit better.
3864 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
3865 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
3866 path needs conversion, handle both cases. Delete `const' from result.
3867 (hash_path_name): New function.
3869 (_stat): Likewise. Fill in more fields for directories.
3870 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
3871 (wait_for_any): Fix trace message.
3872 (waitpid): Explicitly test for intpid == 0.
3874 From anders.blomdell@control.lth.se (Anders Blomdell)
3875 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
3878 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
3880 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
3883 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3885 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
3886 at all, not just == 1.
3887 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
3889 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3891 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
3892 * libc/sys/win32/include/wintypes.h: include <winnt.h>
3893 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
3896 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
3898 * libc/sys/syscalls.c (getcwd): Fix off by one error.
3900 * libc/sys/signal.c (sleep): Fill it in.
3901 * libc/sys/termios.c (tcflush): Use PurgeComm
3902 (tcsetattr): Set some more of the bits.
3903 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
3905 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
3907 * libc/sys/arm/crt0.S (fp): Initialize to 0.
3908 Conditionally include .idata$3 stuff ifdef __pe__.
3910 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
3912 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
3913 * libc/sys/win32/pipe.c (pipe): Ditto.
3914 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
3915 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
3916 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
3917 (tcgetattr): Contents are new.
3918 * libc/sys/win32/include/winkernel.h (DCB): New.
3919 (GetCommState, SetCommState): New.
3921 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
3923 * libc/sys/arm/crt0.S (_start): Define.
3925 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
3927 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
3928 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
3930 * libc/sys/win32/sysconf.c: New
3931 * libc/sys/win32/sys/winadvapi.h: New
3932 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
3933 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
3934 * libc/sys/win32/pipe.c (pipe): Ditto.
3935 * libc/sys/win32/signal.c (_raise): New.
3936 (_kill): Moved from spawn.c
3937 * libc/sys/win32/spawn.c (kill): Moved to signal.c
3938 * libc/sys/win32/syscalls.c (__read): Use new fields.
3940 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
3941 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
3942 * libc/include/sys/unistd.h (rmdir): Takes const path.
3943 * libc/include/sys/stat.h (mkdir): Takes const path.
3944 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
3946 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
3948 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
3950 Add support for specifying paths as //<drive>/foo/bar.
3951 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
3952 (__path_to_real_path): Declare.
3953 (PATH_TO_REAL_PATH): New macro.
3954 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
3955 (__path_needs_conversion_p, __path_to_real_path): New functions.
3956 (_open): Fix test for error return from CreateFileA.
3957 Handle new path syntax.
3958 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
3959 * libc/sys/win32/dirsearch.c (opendir): Likewise.
3961 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
3963 * libc/sys/win32/include/*.h: Reorganized
3964 * libc/sys/win32/include/WINREADME: New.
3965 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
3966 * libc/sys/win32/*.c: Fix for new include scheme.
3967 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
3968 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
3969 * libc/sys/win32/passwd.c (*): Fix.
3970 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
3971 (_stat): Get directory owner and permissions right.
3972 * libc/sys/win32/syscalls.h (uinfo): New.
3973 * libc/sys/win32/version.def: Remove leading underscores.
3975 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3977 * libc/sys/win32/key.c: include "include/wincon.h".
3979 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
3981 * libc/sys/win32/{key, stubs}.c: New.
3982 * libc/sys/win32/Makefile: Adjust to cope.
3983 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
3984 (environ_init): Change env names to upper case.
3985 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
3986 * libc/sys/win32/passwd.c (*): Fill in the functions.
3987 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
3988 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
3989 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
3990 (_open): Initialze hmap->execable_p too.
3991 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
3992 (_fstat): Fill in permissions.
3993 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
3995 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
3997 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
3999 (cfg-ml-pos.in invocation): Likewise.
4001 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4003 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
4004 s_isnan.o and sf_isnan.o.
4006 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
4008 * All Makefile.in files: added maintainer-clean target as a
4009 synonym for realclean.
4011 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
4013 * libc/include/machine/setjmp.h: Add hppa support.
4014 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
4016 * libc/machine/hppa/Makefile.in: Related changes.
4018 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
4020 * configure.in (machine_dir): Don't set for v810-*-*.
4022 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4024 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
4025 conventions correctly.
4027 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
4029 * libc/stdio/puts.c: Update documentation of return value to match
4032 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
4034 Fix file descriptor inheritance.
4035 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
4037 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
4038 close-on-exec flag not set. Initialize child's entire fd table.
4039 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
4041 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
4042 if CHILD_P. Initialize entire hmap entry.
4043 (dup): Only create new handle as inheritable if CHILD_P.
4044 (dup2): Likewise. Properly initialize hmap entry.
4046 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
4048 (_exit): Use CHILD_P.
4049 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
4052 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4054 * libc/sys/win32/crt0.c (passover): fix up the state table.
4055 * libc/posix/popen.c: Added.
4056 * libc/posix/Makefile.in: compile popen.c.
4058 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
4060 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
4061 h8/500 define _DOUBLE_IS_32BITS.
4063 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
4065 Get vfork/exec/spawn/cwait/wait working again.
4066 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
4067 (procinfo): New member vfork_level.
4068 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
4069 (vfork_init_first): Use GetCurrentProcessId to get pid.
4070 Initialize vfork_level.
4071 (vfork_init): Delete __PID__.
4072 (environ_init): New function. Undo patch of Aug 19, Posix says
4073 environment variables are case sensitive.
4074 (mainCRTStartup): Call it.
4075 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
4076 (my_longjump: Make static.
4077 (_spawn): New argument `h'. Delete setting of __PID__.
4078 Delete local `idx'. Look for chars that need quotes, rather than
4079 ones that don't. Set handle of created process in `h'.
4080 Result is process id if created task.
4081 (allocate_spawn_entry): New function.
4082 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
4083 (_execve): Set __FD_TABLE__ before spawning child.
4084 Scan our fd table when passing fds, not our parent's.
4085 Store handle and pid in procinfo entry.
4086 (vfork0): Ensure strace message always printed.
4087 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
4088 (vfork): Don't clobber result of vfork0.
4089 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
4090 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
4092 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
4094 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
4095 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
4096 adding vfork level to pseudo-pid.
4097 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
4098 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
4099 (_exit): If child, set exit code.
4100 (__vfork_record_death): Only close process handle if valid.
4101 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
4103 (wait_for_any): Likewise. Start scan after root entry.
4105 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4107 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
4108 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
4109 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
4110 of actual file length.
4112 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
4113 * libc/include/paths.h: _PATH_BSHELL added.
4114 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
4117 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4119 * libc/include/ar.h: Added.
4120 * libc/include/sys/types.h: ino_t goes back to 32-bits.
4121 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
4122 * libc/sys/win32/syscalls.c (_open): compute .namehash based
4124 (_fstat): use .namehash for inode number of the fd.
4126 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
4128 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
4129 Change hinfo to __this_procinfo.
4130 * libc/sys/win32/crt0.c: Remove procinfo_list.
4132 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4134 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
4137 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4139 * libc/sys/win32/include/grp.h: Removed.
4140 * libc/sys/include/grp.h: Added.
4141 * libc/sys/win32/grp.c: Include <grp.h>.
4143 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
4145 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
4146 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
4147 Defined for all but strict ANSI.
4148 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
4149 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
4150 * libc/signal/signal.c (_signal_r): Changed from using
4151 _MAX_SIGNALS to NSIG.
4152 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
4154 (__strace, __vfork_next_pid): New.
4155 (__exe_suffix): Default to 1.
4156 (passover, table): Understand quoted arguments.
4157 (vfork_init_first): New.
4158 (vfork_init): Initialize new process structure.
4159 (mainCRTStartup): Pass environ to main.
4160 * exceptions.c (__sig_mask): New
4161 (ehandler3): Ignore signals in mask.
4162 (really_exit): Remove CHILD_P test.
4163 * pipe.c (pipe, dup, dup2): Use new process and file structure.
4164 * resource.c (getrusage): Ditto.
4165 * signal.c (sigprocmask): New.
4166 * spawn.c (*): Rewritten.
4167 * syscalls.c (*): Use new process and file structure.
4168 (find_unused_handle): New.
4169 * syscalls.h (MAX_HANDLES): Deleted.
4170 (hinfo): Removed child_created_p.
4171 (MAX_CHILDREN): Deleted.
4172 (vfork_jmp_info, procinfo): New.
4173 * wait.c (*): Mostly new.
4174 * sys/strace.h (_STRACE_PARANOID): New.
4175 * sys/param.h: New file.
4177 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4179 * libc/include/sys/stat.h: add S_BLKSIZE.
4180 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
4181 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
4183 (mode_t): add a #else to avoid multiple definitons.
4185 * libc/sys/win32/Makefile.in: add grp.c.
4186 * libc/sys/win32/grp.c: include grp.h correctly.
4187 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
4188 of the st structure with real information.
4189 * libc/sys/win32 (dirent): d_ino is of type ino_t.
4191 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
4193 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
4194 and (maybe) sparc64.
4195 (nlink_t): Provide typedef.
4197 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4199 * libc/sys/win32/grp.c: New file.
4200 * libc/sys/win32/include/grp.h: New file.
4202 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4204 * libc/include/machine/ieeefp.h: Added whitespace to make this
4205 file easier to maintain.
4206 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
4207 depending on the value of __LITTLE_ENDIAN__.
4208 On the sh3e, define _DOUBLE_IS_32BITS.
4210 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
4212 * libc/sys/vr4300/syscalls.c: Added missing support
4213 routines. _raise() and getpid().
4215 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
4217 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
4219 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
4221 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
4222 and VR4300 processor.
4223 * libc/sys/vr4300: Add directory.
4224 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
4225 monitor run-time support.
4227 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4229 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
4230 * libc/stdlib/stdlib.tex: Don't include atol.def.
4232 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4234 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
4236 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
4238 * libc/ctype/Makefile.in: Fill in _to* dependencies.
4240 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
4242 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
4243 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
4244 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
4245 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
4246 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
4248 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4250 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
4252 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4254 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
4255 * libc/stdlib/atoff.c: New file.
4256 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
4257 * libc/stdlib/atoi.c (atol): Removed.
4258 * libc/stdlib/atol.c: Removed duplicate documentation.
4260 * libc/include/ctype.h (_tolower, _toupper): Moved inside
4261 #ifndef _STRICT_ANSI conditional.
4262 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
4263 * libc/ctype/_tolower.c: New file.
4264 * libc/ctype/_toupper.c: New file.
4265 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
4266 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
4267 * libc/ctype/toascii.c (_toascii): Removed.
4269 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
4271 * libc/sys/sparc64/sys/types.h: Deleted.
4273 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4275 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
4276 and recognize Windows_95 systems.
4278 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4280 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
4281 and passed fds should be opened in text mode.
4283 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4285 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
4286 in __hmap, set to binary mode by default.
4288 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4290 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
4291 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
4294 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
4296 * Makefile.in (install): Install all libraries found in the
4297 top level. If there's a sys/<type>/include directory,
4298 install those headers into include.
4300 * libc/sys/win32/kernel.def351: Delete
4301 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
4302 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
4303 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
4304 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
4305 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
4306 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
4307 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4308 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4310 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4311 * libc/sys/win32/crt0.c: Force all env names to upper case.
4312 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4313 * libc/sys/win32/*.c: Headers have moved.
4314 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4315 __vfork_child_idx is now __vfork_child_ptr.
4317 * posix/execvp (execvp): Don't crash if no PATH envname.
4319 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4321 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4322 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4323 through the _freelist instead of through the _reclaim list.
4324 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4325 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4328 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4330 * libc/machine/h8500/setjmp.S: New file.
4331 * libc/include/machine/setjmp.h: Updated for H8/500.
4333 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
4335 * libc/sys/win32/syscalls.c (_open): More stracing.
4336 (_stat): Open the file in O_BINARY.
4338 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4340 * libc/machine/h8300/setjmp.S: New file.
4341 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4343 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
4345 * libc/sys/win32/crt0.c (__exe_suffix): New global.
4346 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4347 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4348 __exe_suffix. Free fd_tab after setting env variable.
4349 (spawnv,_execve): Update.
4350 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4351 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4352 (__small_vfprintf): New function.
4353 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4354 * libc/sys/win32/wait.c (cwait): Validate argument.
4356 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
4357 (process_deletion_queue): Likewise.
4359 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
4361 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
4363 * libc/sys/win32: Copyrights and gratuitous indenting.
4365 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
4367 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
4368 (process_deletion_queue): Likewise.
4369 (__close_all_files): New function.
4370 (_close): Only queue file deletion if really a file.
4371 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
4373 (_exit): Call __close_all_files.
4375 * libc/stdlib/system.c: #include <errno.h>.
4376 (_system_r): Fix results in -DNO_EXEC case.
4378 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
4379 Reorganize structure.
4380 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
4381 if argument is valid. Save directory name in DIR. malloc space
4382 for dirent struct separately.
4383 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
4385 * libc/include/errno.h (ENAMETOOLONG): Define.
4386 * libc/string/strerror.c (strerror): Reword ENFILE.
4387 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
4389 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
4391 * libc/sys/win32/crt0.c (__progname): New global.
4392 (mainCRTStartup): Support strace=bitmask,filename.
4393 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
4394 * libc/sys/win32/syscalls.c (_write): Print parent trace message
4396 (getcwd): Handle len too small. Convert '\\' to '/'.
4397 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
4398 Add prototypes for open, creat, fcntl.
4399 (O_APPEND): Change value to conform to Microsoft's value.
4400 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
4402 * libc/stdlib/getopt.c: New file.
4403 * libc/stdlib/Makefile.in: Build it.
4405 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
4407 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
4408 Fix scanning of $PATH.
4409 * libc/posix/exec*.c: Call _execve, not execve.
4410 * libc/posix/execve.c: New file.
4411 * libc/posix/Makefile.in (OFILES): Add execve.o.
4413 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
4414 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
4415 (_STRACE): If level==0, always print. Handle new bit mask scheme.
4416 * libc/sys/win32/crt0.c: Update _STRACE calls.
4417 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
4419 * libc/sys/win32/smallprint.c (rn): Fix digit list.
4421 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
4422 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
4423 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
4424 Print __seterrno trace message first.
4425 (_execve): Renamed from execve.
4426 (vfork): Update __strace usage.
4427 (__vfork_child_pid): Deleted.
4428 (__vfork_children, __vfork_child_idx): New globals.
4429 (_spawnvp): New function.
4430 (spawnvp, spawnv, _execve): Call _spawnvp.
4431 (init_child): Record child in __vfork_children.
4432 (__vfork_get_entry, __vfork_record_death): New functions.
4433 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
4434 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
4435 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
4436 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
4437 (children): New typedef.
4438 (__vfork_children,__vfork_child_idx): Declare.
4439 (__vfork_get_entry,__vfork_record_death): Declare.
4440 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
4441 (waitpid): Handle pid == -1.
4442 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
4443 * configure.in (i386-win32): Add -DNO_FORK.
4444 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
4445 * libc/reent/execr.c (_fork_r): Likewise.
4446 * libc/stdlib/system.c (do_system): New function.
4447 If WIN32, try to get shell path from $SH_PATH, use vfork.
4448 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
4451 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
4453 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
4454 * libc/sys/win32/fcntl.h: Don't include self.
4455 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
4456 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
4457 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
4458 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
4459 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
4461 * libc/sys/win32/strace.c: New file.
4462 * libc/sys/win32/smallprint.c: New file.
4463 * libc/sys/win32/crt0.c (func): Delete.
4464 (mainCRTStartup): Fix alloca usage. Set handles explictly.
4465 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
4466 * libc/sys/win32/exceptions.c: Lint.
4467 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
4468 Clean up handle usage.
4469 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
4470 (open.c): Default file type is text.
4471 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
4472 * libc/sys/win32/advapi32.def: New
4474 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
4476 * configure.in (posix_dir, libc_posix_lib): New variables.
4477 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
4478 (i[345]86-*-win32): Define posix_dir.
4479 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
4480 (if unix_dir): Fix typo.
4481 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
4482 scandir,seekdir,telldir}: New files.
4483 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
4485 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
4486 (SUBDIRS): Add posix.
4487 (SUBLIBS): Add $(LIBC_POSIX_LIB).
4489 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
4490 (NSIG): Increase to 21.
4491 * libc/include/sys/unistd.h (pid_t): Move from here,
4492 * libc/include/sys/types.h (pid_t): to here.
4494 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
4496 (hinfo): New members close_exec_p, child_created_p.
4497 (struct exception_list): Define.
4498 (__hmap): Redefine as pointer to table.
4499 (__parent_hmap, __child_hmap): New globals.
4500 (__set_errno, __really_exit): Declare.
4501 (__vfork_child_pid): Declare.
4502 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
4503 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
4504 (__parent_hmap, __child_hmap): New globals.
4505 (__hmap): Redefine as pointer to active map.
4506 (__get_console): New function.
4507 (mainCRTStartup): Change leading '=' in environ vars to '!'.
4508 (env __FD_TABLE__): Watch for this and initialize our fd/handle
4509 mapping table from it if defined.
4510 (argv, envp): Dump if __strace >= 4.
4512 * libc/sys/win32/exceptions.c (myp): Redefine.
4513 (__syscalls_b): Delete.
4514 (__stack_trace): New function.
4515 (ehandler3): Update to use _STRACE. Print stack trace.
4516 Call __really_exit instead of exit.
4517 (init_exceptions): Delete args argc,argv. New arg mine.
4518 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
4519 FindFirstFileA, FindNextFileA, GetComputerNameA,
4520 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
4521 * libc/sys/win32/signal.c (signal): Validate arg.
4522 (alarm, sleep): Define as stubs for now.
4523 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
4524 (__syscalls_b, errno): Delete.
4525 (__vfork_child_pid, __vfork_jmp_buf): New globals.
4526 (__seterrno): Handle more errors.
4527 (__sys_printf): Renamed from _ptrace.
4528 (__really_exit): New function.
4529 (queue_file_deletion, process_deletion_queue): New functions.
4530 (__resume_parent): New function.
4531 (_unlink): Handle trying to delete open file.
4532 (__totime_t): Renamed from totime_t.
4533 (setsid, __read, __write): New functions.
4534 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
4535 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
4536 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
4537 * libc/sys/win32/console.c: Update to new definition of __hmap.
4538 * libc/sys/win32/Makefile.in: Build new files.
4539 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
4540 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
4541 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
4542 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
4544 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
4546 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
4548 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4550 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
4551 have been made to the master dtoa.c sources (from netlib.att.com)
4552 since they were integrated into newlib in early 1992. Fixes
4553 problems with storage leaks and handling of numbers with very
4556 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4558 * Makefile.in (all): set rootpre and srcrootpre before calling
4561 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
4563 * libc/sys/win32/crt0.c: Change __hmap usage.
4564 * libc/sys/win32/exceptions.c: Use _ptrace call.
4565 * libc/sys/win32/syscalls.c: Use _ptrace call.
4566 (read, write): Cope with DOS style CRLF when in TEXT mode.
4567 * libc/sys/win32/syscalls.h: Declare hinfo struct.
4568 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
4569 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
4570 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
4571 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
4573 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4575 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
4577 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
4578 wrappers for hypot() and remainder() for BSD libm compatibility.
4579 These are public domain implementations written by me for the
4580 NetBSD libm some time ago. Note cabs() is required by ucbtest.
4581 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
4582 (fobj): Added wf_cabs.o and wf_drem.o.
4584 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4586 * libc/sys/h8500hms/misc.c: New file.
4587 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
4589 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4591 * libc/time/localtime.c (localtime): Fix problem with leap year
4592 handling. Stole algorithm from Arthur David Olson's tz code.
4594 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
4596 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
4598 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
4599 (_exit): Use argument.
4601 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
4603 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
4605 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
4607 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
4609 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4611 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
4614 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
4616 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
4617 ptrace with case insensitivity
4618 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
4619 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
4622 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
4624 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4625 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
4626 (all, install, *clean): Use new multilib support.
4627 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4629 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
4631 * libc/include/sys/signal.h (__WIN32__): New.
4633 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
4635 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
4636 (ulp, b2d): Handle 32 bit doubles.
4637 * libc/stdlib/mprec.h: Handle 32 bit doubles.
4638 * libc/stdlib/strtod.c (_strtod_r): Ditto.
4640 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
4642 from medp@primag.co.uk:
4643 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
4644 dynamically allocated buffers.
4646 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
4648 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
4649 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
4651 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4653 * configure.in (powerpc): Fix previous fix.
4655 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4657 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
4658 directories for this target.
4660 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
4662 * configure.in (hppa): Add machine_dir definition.
4663 * libc/machine/hppa: New directory with PA specific implementations
4664 of the basic memory/string functions.
4666 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4668 * configure.in: Update current PowerPC multilib directories.
4669 Split big and little endian configurations.
4671 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
4673 * configure.in: Add --enable-single-float option to configure to
4674 control use of MIPS single-float directories. Default to yes.
4676 * Makefile.in (all): Don't recurse into multilib directory if it
4679 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4681 * libc/sys/sh/syscalls.c: Fix typo.
4683 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
4685 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
4687 * libc/include/process.h: Define WAIT_CHILD.
4688 * libc/include/types.h: Get sizes right for win32.
4689 * configure.in (i386-*-pe): Becomes i386-win32.
4690 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4691 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
4692 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
4695 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
4697 * configure.in (i[345]86-*-pe): New target (NT).
4698 * host/any: DLLTOOL new.
4699 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4700 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
4701 WIN32 (just enough to cross host the comp-tools).
4703 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
4705 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
4706 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
4708 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
4710 * libc/include/machine/ieeefp.h (arm): Change to always be
4711 __IEEE_BIG_ENDIAN (even on little endian ARM's).
4713 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
4715 * libc/sys/crt0.S: Initialze sp, and call exit after main.
4716 * libc/sys/syscalls.c (abort): New.
4717 * configure.in (arm): Define ABORT_PROVIDED.
4719 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4721 * configure.in (powerpc): Define multidirs.
4723 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
4725 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
4727 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
4729 * configure.in (sparclite): Delete target_cflags. Define multidirs.
4731 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
4733 * configure.in, libc/include/machine/ieeefp.h: Modified
4735 libc/machine/arm/*, libc/sys/arm/*: New
4737 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4739 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
4740 __powerpc__ when determining endianness.
4742 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4744 * configure.in (m68*): Add multidir for the m68332.
4746 * host/any (CC): Fix typo in last change.
4748 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4750 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
4751 when determining endianness.
4752 * libc/include/machine/ieeefp.h: Ditto.
4753 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
4756 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
4758 * libc/include/errno.h (ENOTEMPTY): Define.
4760 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4762 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
4765 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
4768 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
4769 instead of only when open succeeds. ANSI requires that multiple
4770 calls to tmpnam() result in different files.
4772 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
4773 objects pulled in from /lib/libc.a that must be renamed before
4774 being pulled into newlib. /lib/libc.a's div.o conflicted with
4775 newlib's file with the same name.
4777 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
4779 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
4780 the build tree will only be used if the executables are present
4781 (instead of just the Makefiles).
4783 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
4785 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
4786 versions of these functions that I orignally wrote for the
4788 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
4789 versions I wrote for NetBSD.
4791 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
4793 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
4794 * libc/sys/sparclite/crt0.s: ditto.
4796 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
4798 * configure.in: Add soft-float for proelf.
4800 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
4802 * libc/stdlib/mprec.h (Bcopy): Copy the right number
4805 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
4807 * Makefile.in (all): Depend on `force'.
4808 * configure.in (syscall_dir): Renamed from fake_sys_dir.
4809 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
4810 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
4811 * libc/Makefile.in: Likewise.
4812 * libc/include/reent.h: Update syscall references.
4813 (_fcntl_r): Add prototype.
4814 * libc/syscalls/*.c #include <reent.h>.
4815 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
4817 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
4819 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
4820 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
4821 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
4822 (time.h, sys/types.h): Always include (even if MSDOS).
4823 (stat): Fix prototype.
4825 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
4827 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
4829 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4831 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
4833 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
4835 * libc/include/regdef.h: New file.
4836 * libc/machine/mips/machine/regdef.h: New file.
4838 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
4840 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
4842 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
4844 * libc/sys/sh/crt0.S: Pass main's return to exit.
4845 * libc/sys/sh/trap.S: Put errno in the right place.
4847 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4849 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
4850 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
4851 * libm/math/ef_rem_pio2.c: Likewise.
4852 * libm/math/e_log10.c: Remove unused static one.
4853 * libm/math/ef_log10.c: Likewise.
4854 * libm/math/s_frexp.c: Likewise.
4855 * libm/math/sf_frexp.c: Likewise.
4857 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
4859 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
4860 longjmp.S: Upgraded.
4861 * libc/sys/go32/sys/setjmp.h: Upgraded.
4862 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
4864 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4866 * configure.in: Add many entries to multidirs for mips targets.
4868 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4870 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
4871 5.2 which fixes bug where jn(-1,x) is three times larger than
4873 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
4875 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
4877 * libc/sys/w65/sys/syscalls.h: New file
4878 * libc/include/machine/ieeefp.h: W65 support.
4879 * libc/include/sys/config.h: Ditto.
4880 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
4881 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
4882 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
4884 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4886 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
4888 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
4890 * Makefile.in, configure.in: Remove any references to the old
4893 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4895 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
4896 uses ... in prototype.
4899 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
4901 * libc/sys/a29khif/sys/libconfig.h: Remove.
4902 * libc/sys/go32/sys/libconfig.h: Remove.
4903 * libc/sys/sun4/sys/libconfig.h: Remove.
4904 * libc/sys/sysvi386/sys/libconfig.h: Remove.
4905 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
4906 * libc/sys/sparc64/sys/libconfig.h: Remove.
4908 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
4909 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
4910 * libc/include/math.h: Change all uses of _FLOAT_RET and
4911 _FLOAT_ARG to float.
4912 * libm/test/math.c: Likewise.
4913 * testsuite/libm.sac/math.c: Likewise.
4914 * testsuite/libm.sac/working/math.c: Likewise.
4916 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4918 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
4919 gcc calls gas with endian option.
4920 * configure.in (sh): Build little endian version too.
4922 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4924 * configure.in: Configure big and little endian versions for MIPS
4927 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
4929 * libc/include/limits.h: Deleted.
4930 * libc/include/machine/limits.h: Deleted.
4932 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
4934 * ChangeLog: Remove stub directory. This has all been rewritten
4935 and moved to devo/libgloss.
4937 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4939 * Makefile.in (dvi): Add to info target, use $@ in sub make.
4940 (docs): Merge into info target.
4941 * libm/Makefile.in (dvi): Add $(srcdir).
4942 * libm/math/Makefile.in (chobjs): Remove underscores from file
4943 names. Texinfo doesn't like them.
4944 (wacos.def, ...): Add explicit targets for all .def files.
4945 * libm/math/math.tex: Remove underscores from @include file names.
4946 * doc/Makefile.in (dvi): Add dummy target.
4947 * testsuite/Makefile.in (dvi): Add dummy target.
4949 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
4951 * Makefile.in (VERSION): Define. For net newlib releases.
4953 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
4957 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4959 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
4961 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4963 * libc/stdlib/setenv.c (_findenv): Declare.
4965 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
4966 fcntl to not use _EXFUN, and change string parameters to open and
4967 creat to be ``const char *''.
4968 * libc/sys/sparc64/sys/fcntl.h: Likewise.
4969 * libc/sys/sparc64/creat.c (creat): Make PATH const.
4970 * libc/syscalls/sysopen.c: Include <fcntl.h>.
4971 (open) Make _FILE const.
4972 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
4973 (_creat): Make PATH const.
4974 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
4975 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
4976 * libc/sys/m88kbug/syscalls.c (open): Likewise.
4977 * libc/sys/sh/syscalls.c (_open): Likewise.
4978 * stub/shared/glue.c (open): Make BUF const.
4979 * stub/ex93x/syscalls.c (open): Make FILENAME const.
4981 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4983 * libc/include/errno.h: Add ENMFILE
4984 * libc/include/sys/config.h: Support Z8000.
4985 * libc/include/sys/signal.h: New signals for go32.
4986 * libc/machine/h8500/psi.S (__addpsir0r0): New function
4987 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
4988 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
4989 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
4990 size is variable, depending upon CHUNK_POWER.
4991 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
4993 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4995 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
4997 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4999 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
5001 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5003 * configure.in: Change i[34]86 to i[345]86.
5005 * libc/include/math.h: Don't define HUGE_VAL if it is already
5008 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5010 * testsuite/libm.sac/test_erfc.c: Correct some result values.
5011 * testsuite/libm.sac/test_gammaf.c: Likewise.
5012 * testsuite/libm.sac/test_sin.c: Likewise.
5013 * testsuite/libm.sac/test_tanh.c: Likewise.
5015 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5017 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
5018 already set. Define typedefs __int32_t and __uint32_t.
5019 * libc/include/math.h: Include <machine/ieeefp.h>.
5020 (union __dmath): Use __uint32_t.
5021 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
5022 instead of int and unsigned int.
5024 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5026 Replace the math library with the SunPRO fdlibm package.
5027 * libm/math: Completely changed all files.
5028 * libm/ieeefp: Remove contents and directory.
5029 * libm/Makefile.in (LIBM_FP_LIB): Remove.
5030 (SUBDIRS): Just set to math/lib.a.
5031 * libm/libm.texinfo: Updated for new library.
5032 * libc/include/math.h: Extensive changes for new math library.
5033 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
5034 from _FLOAT_ARG to float.
5035 (maxpowtwo, maxpowtwof): Don't declare.
5036 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
5037 (libm_fp_lib): Removed.
5038 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
5039 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
5040 argument to ${RUNTEST}.
5041 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
5043 (RUNTESTFLAGS): Set CC and CFLAGS.
5044 (TESTS): Remove test_log2 and test_log2f.
5045 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
5046 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
5047 _FLOAT_ARG, for single precision argument type.
5048 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
5049 expected failure. Close the input pipe.
5050 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
5051 Correct misspelling of inaccurate.
5052 (test_mok): Use ``inaccurate'', not ``wrong''.
5053 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
5054 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
5055 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
5056 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
5057 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
5058 test_yn.c): Correct many result values. Many are still wrong.
5060 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
5061 just copy the string.
5062 (_gcvt): Always return the buffer.
5064 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5066 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
5068 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
5070 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
5072 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
5073 (_reclaim_reent): declare new entry point.
5074 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
5077 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
5078 ever allocated, so that we can later reclaim them all.
5079 (pow5mult): make reentrant.
5081 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
5082 so that when given NULL as a buffer, return a pointer to static
5083 space in the rent structure. This is not documented behaviour;
5084 it's only to support ecvt and fcvt, which aren't ANSI anyway.
5085 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
5086 therefore become reentrant).
5088 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
5090 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5092 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
5094 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5096 * Makefile.in: Make link to libg.a after libc.a; this is needed
5097 for the testsuites to build executables when everything comes
5100 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
5102 * libc/Makefile.in: Add a VERSION variable so we can keep track.
5103 * libm/Makefile.in: Add a VERSION variable so we can keep track.
5105 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5107 * libc/include/stdio.h: Use __VALIST, not va_list.
5109 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
5111 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
5112 testsuite/libm.sac/execute.exp:
5113 Replace error proc calls with perror calls.
5115 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
5117 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
5118 * libc/include/time.h: #define NULL as 0L.
5120 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
5122 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
5125 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5127 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
5130 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
5132 * configure.in (TARGET_CFLAGS): Set -O2 as default.
5133 (z8k-*-*): Use syscalls fake sys dir.
5134 * libc/sys/z8k/glue.c: Rename syscalls.
5135 * libc/sys/go32/Makefile.in: Use new routines.
5136 * libc/machine/Makefile.in: Fix typo in ln stuff.
5138 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5140 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
5141 * libc/Makefile.in (crt0.o): Likewise.
5142 * libc/machine/Makefile.in (lib.a): Likewise.
5143 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
5145 All Makefile.in files: Added mostlyclean, realclean and distclean
5148 * Makefile.in: Don't bother to unexport XTRAFLAGS or
5149 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
5150 the top level Makefile.
5152 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
5154 * libc/sys/sparc64/sys/stat.h: New file.
5155 * libc/sys/sparc64/sys/time.h: New file.
5156 * libc/sys/sparc64/sys/types.h: New file.
5158 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
5160 * stub/ex93x/crt0.s (start): Add code to clear bss.
5162 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
5164 * libc/include/sys/types.h (time_t): Properly protect inside
5165 #ifndef __time_t_defined.
5167 * libc/stdio/fileno.c: New file.
5168 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
5169 (fileno.o): Add dependency.
5170 * libc/include/stdio.h (__sgetc): Rename never to _never.
5171 (fileno macro): Disable, needs to do CHECK_INIT first.
5173 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
5175 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
5178 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
5179 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
5181 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
5184 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
5186 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
5187 of the various constants.
5189 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
5191 * libc/include/math.h: #ifndef __math_68881 around things which
5192 conflict with the (gcc-provided) inline functions in
5193 gcc/ginclude/math-68881.h.
5195 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
5197 * libc/include/_syslist.h (_gettimeofday): Define.
5199 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
5200 (struct tms, timeval, timezone): Declare.
5201 (_gettimeofday_r, _times_r): Declare.
5202 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
5203 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5204 (time_t): Add multiple definition protection, __time_t_defined.
5205 * libc/include/sys/time.h: Don't #include <time.h>.
5206 Always define struct timezone (remove #ifndef _TIME_H_).
5207 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
5208 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5209 * libc/reent/Makefile.in (OFILES): Add timer.o.
5210 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
5211 * libc/reent/timer.c: New file.
5212 * libc/time/clock.c: #include <reent.h>.
5213 (clock): Call _times_r instead of times.
5214 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
5215 HAVE_GET_TIME_OF_DAY.
5216 Add comment regarding supporting OS routine(s) required (for docs).
5218 (time): Call _gettimeofday_r instead of gettimeofday.
5219 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
5220 * libc/time/ctime.c: Ditto.
5221 * libc/time/strftime.c: Ditto.
5222 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
5223 (TEMPLATE_SFILES_R): Define here. Also define times.
5224 Add times_r.o/times.S dependence.
5225 (time2.c, junk.c): Deleted.
5226 * libc/sys/sparc64/time2.c: Deleted.
5227 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
5229 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
5230 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
5231 * libc/sys/sparc64/junk.c: Deleted.
5233 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
5235 * libc/sys/sparc64/Makefile.in: Add times syscall.
5236 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
5237 be used with and without it. Add comment clarifying Medium/Anywhere
5239 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
5240 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
5243 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
5245 * configure.in (target_cflags): Move init.
5246 (sparc64-*-*): Define HAVE_BLKSIZE.
5248 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
5250 * libc/include/sys/_types.h: New file.
5251 * libc/include/reent.h: #include it.
5252 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
5253 MISSING_SYSCALL_NAMES.
5255 * libc/include/_syslist.h: Remove _raise.
5256 * libc/reent/signalr.c: New file.
5257 * libc/reent/Makefile.in: Compile it.
5258 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
5259 Add doc for raise and _raise_r.
5260 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
5261 (raise): Call _raise_r.
5262 (_raise_r): Call _getpid_r and _kill_r.
5263 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
5264 (abort): Loop forever calling raise and _exit.
5266 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5268 * configure.in: Remove extraneous echo.
5270 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
5272 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
5273 collision with unistd.h, and fix for svr4.
5275 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
5277 * libc/stdio/local.h (_llicvt): Declare.
5278 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
5279 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
5281 (_sicvt): Fix function header (`value' is short).
5282 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
5283 Add printing of long long's support.
5284 Add printing of 8 byte pointer support.
5286 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
5288 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
5289 stat, chmod): New hooks.
5290 (sbrk): Abort if stack and heap collide.
5291 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
5292 shortcut when given small args.
5293 * libc/machine/sh/setjmp.s: Rewritten.
5294 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
5295 of cmp/str instruction.
5297 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5299 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
5300 and machine_dir powerpc.
5301 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
5302 Add cases for __powerpc__.
5303 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
5306 * libc/include/stdio.h (_iprintf_r): Declare correctly.
5308 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
5310 * libc/stdlib/callocr.c: New file with _calloc_r in it.
5311 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5313 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
5315 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5316 (print_e): More comments to describe args, etc.
5317 "type" arg may now be 'g' or 'G' for %g/G format --> remove
5319 (_gcvt): Remove locals decpt, sign, end, p, done.
5320 More comments for print_e invocation.
5321 Pass "type" to print_e as is (g/G).
5323 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
5325 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5328 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
5330 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5331 works with any sized pointer, including ones bigger than ints and
5334 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
5336 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5338 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5340 * libc/include/stdlib.h (_calloc_r): Add prototype.
5341 * libc/machine/h8500/negsi2.c: New file.
5342 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5343 large unsigned numbers.
5344 * libc/machine/h8500/cmpsi.c: Add cmppsi.
5345 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5346 works when sizeof(size_t) != sizeof(char *).
5347 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5349 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5351 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
5353 * libc/include/assert.h (assert): Handle -traditional.
5355 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
5357 * Makefile.in: added ; after every "fi" and "done" that wasn't at
5358 the end of a line (ie. anything before a backslash continuation)
5359 so that bash handles them.
5361 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5363 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
5366 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
5368 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
5369 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
5370 libc/machine/sh/udivsi3.s: Use new calling convention.
5372 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
5374 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
5375 chmod, access, chdir, chown by making _path const. Also fix _amode
5378 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
5380 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
5381 _khif_tmpnam, because it doesn't comply with ANSI but may be
5382 useful anyway. Real tmpnam was already in libc/stdio, and was
5383 colliding with this one (pr 2176.)
5384 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
5385 the wrong idea anyhow.
5387 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
5389 * configure.in: Remove h8300h, we have multilib now.
5391 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
5393 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
5394 functions, to get preference over the ones in libiberty (since we
5395 provide correct declarations in <string.h>.
5396 * libc/string/Makefile.in: add support for strncasecmp,
5399 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
5401 * Change netware config not to look for cpu explicitly.
5403 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
5405 * libc/sys/sparc64/{creat.c,junk.c}: New files.
5406 * libc/sys/sparc64/Makefile.in: Add dependencies.
5408 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
5410 * configure.in: Clean up v9 a bit, new "os" aoutv8.
5412 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
5414 * libc/include/sys/reent.h: make structure smaller by allocating
5415 some stuff when needed.
5416 * libc/signal/signal.c: allocate as needed
5417 * libc/stdio/findfp.c,stdio/local.h: ditto
5418 * libc/stdlib/mprec.c: ditto
5420 * libc/time/localtime.c: don't return a dangling stack ptr.
5422 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
5424 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
5426 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5428 * libc/include/stdio.h (__sputc): comment out static inline which
5429 confuses coff toolchains.
5431 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
5433 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
5434 _write.s, getpid.c, kill.c, read.s}:
5435 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
5436 through the syscalls directory.
5438 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
5440 * configure.in: fixed double quote gotcha.
5442 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
5444 * stub/ex931: stub library for sparclite board.
5445 * stub/idp: Renamed from mc68ec. Added contructor table
5446 stuff to linker script.
5447 * stub/mvme135: Renamed from m68kmvme. Added contructor table
5448 stuff to linker script.
5450 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5452 * configure.in: Configure testsuites only if they exist.
5454 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5456 * configure.in: Don't set machine_dir for i386 until there is
5457 something in libc/machine/i386 to compile. For i[34]86-*-netware*
5458 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
5459 CLOCK_PROVIDED and MALLOC_PROVIDED.
5461 * libc/sys/netware: New directory. Contains simplistic and
5462 probably incorrect stubs for NetWare. Should be enough to load
5464 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
5465 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
5468 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
5469 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
5470 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
5471 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
5473 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
5475 * testsuite/Makefile.in: add "docs" dummy target for consistency
5476 with rest of newlib; turn "info" and "install-info" into dummy
5477 targets, since they wouldn't have worked. (Depended on
5478 nonexistent "doc" subdir.)
5480 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5482 * configure.in: handle mips* instead of mips
5484 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
5486 * libc/include/sys/dirent.h: New file. If it is not overridden by
5487 a version of libc/sys/*/sys/dirent.h, it includes the next
5488 <dirent.h> file in case there is one lurking somewhere.
5490 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5492 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
5493 compliance, namely: Accept a minus sign. Consider a single 0 with
5494 a radix of 0 as being a conversion. Determine overflow correctly.
5495 If an overflow occurs, set *ptr to the end of the number, not the
5497 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
5499 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
5501 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
5503 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
5505 * Makefile.in (INSTALL): Use $srcrootpre.
5506 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
5508 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
5510 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
5511 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
5512 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
5513 * libm/math/Makefile.in (matherr.o): Ditto.
5515 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5517 * configure.in: Build multidirs for z8k.
5518 * libc/include/stdlib.h (_strtoul_r): add prototype.
5519 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
5520 * libc/include/machine/setjmp.h: Add for z8k.
5521 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
5522 * libc/sys/z8ksim/glue.c: tidy up.
5524 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
5526 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
5527 New files. Requires execve system call.
5528 * libc/unix/Makefile.in: Use them.
5529 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
5530 Deleted, moved to libc/unix.
5531 * libc/sys/sparc64/Makefile.in: Remove them.
5533 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
5535 * libc/sys/sparc64/{template.S template_r.S}: New files.
5536 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
5538 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
5539 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
5540 umask.S unlink.S wait4.S write.S}: Removed, now built from
5543 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
5545 * libc/time/time.c: #include <_ansi.h>.
5547 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
5549 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
5551 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5553 * configure.in: match m8* rather than m88k so that m88110 is
5556 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
5558 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
5559 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
5562 * configure.in: Add multilib support to h8300.
5564 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
5566 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
5567 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
5568 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
5570 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5572 * configure.in: Corrected multidirs for sparc target.
5574 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5576 Support for building newlib multiple times with different
5578 * configure.in: Only configure doc at top level. Set multidirs
5579 when appropriate for target, unless not at top level. If
5580 multidirs is set, independently configure each subdirectory.
5581 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
5582 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
5583 automagically set by configure.in.
5584 (all): If MULTIDIRS is set, build multiple copies of libraries.
5585 (install): If MULTIDIRS is set, install multiple copies of
5586 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
5587 MULTISUBDIR is set, don't bother to install header files.
5588 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
5590 * stub/configure.in: Set MULTISUBDIR appropriately.
5591 * stub/Makefile.in (install): Install in
5592 $(tooldir)/lib/$(MULTISUBDIR).
5593 * All Makefile.in files: Define SRCTOP as well as TOP.
5595 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
5597 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
5598 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
5600 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
5602 * libc/sys/h8300hms/exit.c (_exit): New function.
5604 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5606 * configure.in: recognize m88110.
5608 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5610 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
5611 prototype main and call with args.
5613 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
5615 First real try at system traps for m88k-bug.
5616 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
5618 * libc/sys/m88kbug/sys/systraps.h: new file.
5620 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5622 Patches to fix info building when target does not use sys
5624 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
5625 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
5627 * libc/sys/Makefile.in (doc): do nothing.
5629 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5631 * libc/Makefile.in (CRT0): new macro.
5632 (all): depend on $(CRT0) rather than crt0.o.
5634 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
5635 do not default crt0, instead, set crt0 and crt0_dir based on
5636 sys_dir and stub_dir.
5638 * Makefile.in (CRT0_DIR): new macro.
5639 (all): depend on $(CRT0) rather than crt0.o which may not exist.
5640 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
5642 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
5644 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5646 * testsuite/lib/libm.exp:
5647 added code to support compiling and linking of tests for
5648 libm.sac (paranoia to be added next) and processing the
5649 pass or failure of the tests.
5651 * testsuite/config/unix-libm.exp:
5652 platform specific proc's for dealing with compiler, linker
5653 and the way we execute and process the test results.
5655 * testsuite/libm.sac/execute.exp:
5656 generic framework for the sac tests. the config and lib
5657 expect code for specific platforms tie it all together.
5659 * testsuite/libm.sac/test_is.c:
5660 changed the output of the test to be consistant with the
5661 other tests. parsing of pass nad fail messages is now fixed.
5663 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
5665 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
5666 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
5667 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
5668 #ifdef __cplusplus, surround by extern ""C { ... }.
5669 * libc/include/assert.h: Do *not* protect assert.h against
5670 multiple inclusion! Also, #undef it before #define, to allow
5672 * libc/include/stdio.h (getlogin, cuserid): Removed. These
5673 should be only in unistd.h.
5675 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
5676 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
5679 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
5681 * libc/machine/sparc/Makefile.in: Must create a library, even
5684 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5686 * configure.in: set machine_dir for m88k. edit crt0 definition
5689 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
5691 * libc/Makefile.in (all): also build crt0.o.
5693 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
5694 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
5697 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
5698 (all): reworked to build in place.
5699 (clean): remove lib.a
5700 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
5702 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
5703 (_start): key off edata rather than _start_bss.
5705 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
5707 * libc/include/sys/unistd.h, libc/include/reent.h,
5708 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
5710 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5712 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
5714 * Makefile.in (libc.a): break into two rules, one for libc.a and
5715 one for libc/libc.a. Force subdirs current before rebuilding
5717 (libm.a): break into two rules, one for libm.a and one for
5718 libm/libm.a. Force subdirs current before rebuilding library.
5720 * libc/Makefile.in (SUBLIBS): fix typo.
5722 * libc/sys/Makefile.in (all): force descent into subdirs, then
5723 rebuild library iff out of of date.
5725 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5727 Rework so that library is built and then finished rather than
5728 being built on each invocation of make.
5730 * host/any (machine_dir, sys_dir, signal_dir): these are not
5731 shared and have been moved to their associated Makefile.in's.
5732 (AR_FLAGS): switch to qc which is faster.
5733 * configure.in: no longer assign machine_dir for m88k. set
5734 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
5735 stub_dir set, then add to configdirs. add comment about silly
5737 (configdirs): drop stub. It will be added only
5739 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
5740 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
5741 stub_lib, crt0): new variables for tailoring lower level
5742 makefiles. Assign accordingly and edit into makefiles.
5743 * libm/Makefile.in: updated copyright.
5744 (TARGETLIB): removed.
5745 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
5746 (SUBDIRS): removed TARGETDEP_DIRS.
5747 (LIBM_FP_LIB, SUBLIBS): new macros.
5749 (force): new target to force rebuilds.
5750 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5751 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
5752 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
5753 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
5754 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
5755 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
5756 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
5757 stub/m68kmvme/Makefile.in: updated copyright.
5758 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
5759 (all): reworked. made this the default rule.
5760 (clean): also remove lib.a.
5761 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5762 * stub/Makefile.in: updated copyright.
5763 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
5764 (stub_lib): new macro.
5765 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
5768 (clean, install): assume stub_dir exists.
5769 (Makefile): depend on configure.in. call $(SHELL) rather than
5770 sh. drop redundant ./
5771 * stub/configure.in (stublib): new macro, assign it, edit it into
5773 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
5776 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5777 * libc/Makefile.in (TARGETCRT0): removed.
5778 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
5780 (SUBDIRS): drop TARGETDEP_DIRS.
5781 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
5782 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
5783 (force): new target to force rebuilds.
5784 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
5785 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
5787 (clean): assume sys_dir always exists.
5788 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
5790 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
5791 libc/locale/Makefile.in, libc/machine/Makefile.in,
5792 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
5793 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
5794 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
5795 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
5796 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
5797 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
5798 libc/signal/Makefile.in, libc/stdio/Makefile.in,
5799 libc/stdlib/Makefile.in, libc/string/Makefile.in,
5800 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
5801 libc/time/Makefile.in, libc/unix/Makefile.in,
5802 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
5803 (TARGETLIB): removed.
5805 (clean): also remove lib.a.
5806 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5807 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
5809 (SUBDIRS): moved to follow frag inclusion, change stub to
5811 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
5812 are now set in the libc Makefile.
5813 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
5814 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
5816 (force): new target to force rebuilds.
5817 * stub/configure.in: determine and set stub_lib for for Makefile.
5819 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
5821 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
5822 crt0.s renamed to crt0.S.
5823 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
5825 * libc/machine/h8300/Makefile.in: Make `all' the default target.
5826 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
5828 * libc/machine/h8300/defines.h: Add macros to handle pointers for
5829 h8300 (16 bits) and h8300h (32 bits).
5830 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
5831 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
5833 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
5835 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
5836 implementation of setjmp and longjmp for the m88k.
5837 * libc/include/machine/setjmp.h: Added __m88000__ case.
5839 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
5841 * configure.in: Recognize h8300h as variant of h8300.
5843 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5845 * libc/include/sys/unistd.h (read, write): get prototypes right.
5846 (sbrk): New prototype.
5847 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
5848 * libc/stdio/local.h: Include unistd.h.
5849 * libc/machine/h8300/syscalls.c: Names have changed.
5851 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
5853 * configure.in: add sys_dir assignment for m88k-bug.
5855 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
5857 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
5859 * libc/sys/sparc64: all *.S files: Use new macros.
5860 * libc/sys/sparc64/isatty.c: New file.
5861 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
5862 functions beyond what newlib provides.
5864 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
5866 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
5869 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
5871 * libc/include/machine/ieeefp.h: Add support for h8/300h.
5873 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
5875 * configure.in: add m88k.
5876 * libc/include/machine/ieeefp.h: add case for m88k. Also add
5877 sanity check so no one else need ever chase what I did to find
5880 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
5882 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
5884 * doc/makedoc.c: Include <ctype.h>.
5886 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
5888 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5889 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5890 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5892 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
5894 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
5896 * libc/include/errno.h (ENOSYS): Added.
5898 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
5900 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5902 * libc/stdio/fflush.c (fflush): Check for reent struct
5904 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
5906 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
5908 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
5909 out of dtoa.c so it doesn't pollute the namespace.
5910 * libc/include/_syslist.h: new file -- mappings from _function to
5911 function, for systems where we can't win (by default, all of them,
5912 until we start updating system calls.)
5913 * libc/syscalls: new directory -- stubs for exporting _function
5914 names as unmodified function names.
5915 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
5916 _syslist.h on all platforms by default, but put hooks in for
5917 fake_sys_dir so we can include it when we've renamed the system
5919 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
5920 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
5921 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
5922 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
5923 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
5924 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
5925 non ANSI functions to call _function.
5927 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
5929 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
5930 when base 16 is specified. Don't accept non-digits if radix > 10.
5932 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
5934 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
5936 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
5938 * libc/include/sys/stat.h: Surround text after #endif with
5941 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
5943 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
5944 _malloc_r, _realloc_r, and free_r call the corresponding
5945 non-reentrant functions.
5947 * libm/math/modf.c (modf): We now take the address of ipart, so
5948 don't make it a register variable.
5950 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
5952 * libm/math/*: Rename all xxx_r fns to _xxx_r.
5954 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
5956 * libc/libc.texinfo and embedded docn throughout: formatting
5957 improvements, minor rephrasing for clarity, and improved
5960 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5962 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
5964 * libc/stdio/cvt.c (_licvt): Print the right value on machines
5965 where sizeof(int) != sizeof(long).
5967 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
5969 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
5970 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
5971 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
5972 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
5973 libm/math/matherr.c: changes for better docn formatting (info).
5975 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
5976 libc/reent/reent.tex, libc/signal/signal.tex,
5977 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
5978 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
5979 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
5980 makeinfo node defaulting to get better Info file node structure.
5981 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
5982 Also include a few formerly missing sections (subroutines).
5984 * doc/doc.str: delete fossil expansion for "func"
5986 * default.menu, no-signal.menu: delete.
5988 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
5989 method used to adjust doc for missing "signals" chapter when
5990 signal_dir is empty.
5992 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5994 * configure.in: added testsuite/libm.sac
5996 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
5998 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
6001 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
6003 * libm/Makefile.in: Use $(MAKE) rather than make, and define
6004 MAKEOVERRIDES to be empty.
6006 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
6008 * configure.in: Don't build mips-*-* with -msoft-float, since that
6009 makes it incompatible with hard floating point.
6011 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6013 * Makefile.in: added recursive 'make check'
6015 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6017 * configure.in: added ./testsuite ./testsuite/libm.paranoia
6018 * ./testsuite/Makefile.in: created
6019 * ./testsuite/libm.paranoia: paranoia tests added
6021 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
6023 * configure.in: For mips-*-* set machine_dir to mips.
6025 * libc/machine/mips: New directory.
6026 * libc/machine/mips/Makefile.in: New file.
6027 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
6029 * libc/include/machine/setjmp.h: Added __mips__ case.
6031 * libc/machine/lmips: Removed unused and useless directory.
6033 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
6035 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
6037 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
6039 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
6042 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
6044 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
6047 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
6049 * libm/test/convert.c: structure member errno -> errno_val.
6050 Must include <errno.h> to use errno, it's a macro now.
6051 * libm/test/math.c: Ditto.
6052 * libm/test/math2.c: Include errno.h.
6053 * libm/test/string.c: Ditto.
6054 * libm/test/test.h: structure member errno -> errno_val.
6055 Remove extern int errno decl.
6057 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
6059 * libc/stdio/Makefile.in: Added dependencies on local header
6061 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
6064 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
6066 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
6068 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
6070 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
6073 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
6074 * libc/stdio/local.h: Add prototype for _licvt.
6076 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
6077 instead of malloc,reealloc.
6079 * libc/stdlib/local.h: New file.
6080 * libc/stdlib/efgcvt.c: #include local.h.
6081 (gcvt): Fix call to _gcvt.
6082 * libc/stdlib/ecvtbuf.c: #include local.h.
6084 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
6085 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
6086 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
6088 * libc/stdlib/atexit.c: moved global data to struct _reent.
6089 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
6091 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
6093 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
6095 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
6096 here from ../reent.h.
6098 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
6100 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
6101 should be provided in both libc.a and libm.a.
6102 (libc.a): Depend on targ-include and libm.a. Copy
6103 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
6104 (libm.a): Depend on targ-include.
6105 * configure.in (subdirs): Removed libc/math.
6107 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6109 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
6111 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
6113 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
6114 sys/reent.h instead of reent.h.
6115 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
6116 headers moved to sys/reent.h.
6117 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
6118 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
6119 __need__MAX_SIGNALS defined.
6120 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
6121 std{in,out,err} refer to new _std{in,out,err} members.
6123 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
6125 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
6128 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
6130 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
6131 rather than whatever macro seterrno() has.
6133 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
6135 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
6136 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6138 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
6141 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
6142 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
6143 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6145 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
6146 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6148 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
6149 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
6150 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
6151 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
6152 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
6153 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
6154 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
6155 renamed to _xxx_r. struct reent_struct renamed to struct _reent
6156 for ANSI. structure members given leading "_" for ANSI. Use
6157 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6159 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
6160 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
6161 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
6162 reent_struct renamed to struct _reent for ANSI.
6163 Structure members given leading "_" for ANSI.
6164 _CONST --> const in prototypes.
6165 Use _HAVE_STDC instead of __STDC__.
6167 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
6169 struct reent_struct renamed to struct _reent for ANSI.
6170 Structure members given leading "_" for ANSI.
6172 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
6174 struct reent_struct renamed to struct _reent for ANSI.
6176 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
6177 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
6178 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
6179 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
6180 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
6182 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
6183 signal.h, stdio.h, stdlib.h, string.h, time.h}:
6184 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6185 #ifndef _STRICT_ANSI non-ANSI routines.
6186 Reentrant routines renamed from _r_xxx to _xxx_r.
6187 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
6188 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
6189 Clean up namespace (structure members have leading "_").
6190 struct reent_struct renamed to struct _reent for ANSI compliance.
6191 _CONST --> const in function prototypes.
6193 * libc/include/string.h: Add NULL and size_t.
6195 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
6196 unlink, wait, wait4. Reentrant syscall routines close, fork,
6197 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
6199 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
6200 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
6201 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
6202 write.S}: Define reentrant versions.
6203 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
6206 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
6208 * libc/include/stdlib.h (RAND_MAX): Fix value.
6210 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
6212 * libc/sys/a29khif/_main.c: Removed unnecessary file.
6213 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
6214 VPATH support targets after all: target.
6216 * stub/mvme135/mvme.S: Renamed exceptionhandler to
6217 exceptionHandler, which is what mvme135-stub.c expects.
6219 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
6221 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
6223 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
6224 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
6227 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
6229 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
6231 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
6233 libc/reent/fstatr.c (_r_fstat): Ditto.
6234 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
6235 libc/reent/sbrkr.c (_r_sbrk): Ditto.
6236 libc/reent/statr.c (_r_stat): Ditto.
6238 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
6239 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
6240 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
6241 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
6242 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
6243 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
6244 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
6245 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
6246 (__swrite): Ditto for _r_lseek, _r_write.
6247 (__sseek): Ditto for _r_lseek.
6248 (__close): Ditto for _r_close.
6249 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
6251 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
6252 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
6254 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
6255 to make reent_struct the first argument (and thus consistent with
6256 the rest of newlib).
6258 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
6259 reference to __STDC__.
6261 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
6263 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
6266 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
6268 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
6270 libc/stdio/fclose.c (fclose): Ditto.
6272 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
6274 * Run through indent and rename reentrant routines for ANSI.
6275 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
6276 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
6277 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
6278 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
6279 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
6280 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
6281 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
6282 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
6283 vsprintf.c wbuf.c wsetup.c local.h}
6285 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
6287 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
6288 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
6289 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
6290 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
6291 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
6292 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
6294 * Run through indent.
6295 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
6296 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
6297 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
6298 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
6301 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
6302 localtime.c mktime.c strftime.c time.c}:
6303 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
6305 * Reformatting + renaming (for ANSI, GNU style, consistency).
6306 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
6307 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6308 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6310 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
6312 * libc/include/stdio.h (stdin_r): Fix.
6314 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
6316 * Makefile.in: Unexport some variables to keep GNU make from
6317 putting them in the environment and using up needed ARG_MAX space
6318 (a hack is used to let this work with older makes as well).
6320 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
6322 * Makefile.in: Use $(MAKE) rather than make.
6323 (MAKEOVERRIDES): Define to be empty.
6324 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6325 (libc.a, libm.a): Depend on targ-include.
6326 * host/any (LD): Don't define.
6327 (INCLUDES): Use targ-include.
6328 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6329 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6330 * libc/Makefile.in: Use $(MAKE) rather than make.
6331 (MAKEOVERRIDES): Define to be empty.
6332 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6333 (all): Rewrote to be slightly smaller.
6334 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6336 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6337 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6339 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
6341 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6344 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
6346 * Changes for reentrancy.
6347 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6348 Use ptr->_errno, not errno.
6349 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6350 libc/stdio/remove.c (remove_r): New function.
6351 libc/stdio/rename.c (rename_r): New function.
6352 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6353 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6354 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
6355 reentrant versions of system calls.
6356 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
6357 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
6358 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
6359 libc/stdio/findfp.c: Include <string.h>.
6360 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
6362 libc/stdio/wbuf.c: Include "fvwrite.h"
6364 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
6366 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
6367 (NULL): Don't define if already defined.
6368 libc/stdlib/system.c: Call reentrant versions of system calls.
6369 (system_r): New function.
6371 * Changes for reentrancy.
6372 libc/include/_ansi.h (_PARAMS): New macro.
6373 libc/include/errno.h: Define errno as a macro that calls __errno.
6374 (__errno_r): New macro for reentrant code.
6375 libc/include/math.h: Include reent.h. Declare many reentrant
6377 (signgam): Now a macro, not a variable.
6378 (struct exception): Added err field.
6379 libc/include/reent.h: Don't declare __sglue. Added function
6381 (struct reent_struct): Moved errno to beginning. Added _signgam.
6382 libc/include/stdio.h, libc/include/stdlib.h: Added function
6385 * More reentrancy hacking.
6386 libc/errno/errno.c (__errno): New function.
6387 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
6388 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
6391 * Added many new reentrant functions to libm/math/*.
6392 libm/math/error.c (__matherror): Added reent_struct pointer
6393 argument. Changed all callers.
6394 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
6395 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
6396 libm/math/tan.h: Removed obsolete unused header files.
6398 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
6400 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
6402 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6404 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
6407 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6409 * libc/libc.texinfo: comment out reentrancy chapter (duh)
6411 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6413 * libc/reent/reent.tex: New file. (text from
6414 newlib/libc/libc.texinfo)
6415 * libc/stdio/tmpnam.c: fixed doc typo
6416 * libc/stdlib/rand.c: fixed doc typo
6418 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6420 * libc/reent/reent.tex: New file. (text from
6421 newlib/libc/libc.texinfo)
6423 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6425 support for reentrancy
6426 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
6428 * libc/errno/errno.c, libc/include/ieeefp.h,
6429 libc/include/locale.h, libc/include/reent.h,
6430 libc/include/signal.h, libc/include/stdio.h,
6431 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
6432 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
6433 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
6434 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
6435 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6436 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
6437 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
6438 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
6439 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
6440 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
6441 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
6442 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
6443 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
6444 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
6445 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
6446 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
6447 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
6448 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
6449 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
6450 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
6451 libc/time/strftime.c: modify to provide reentracy.
6454 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
6455 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
6456 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
6457 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
6458 mstats_r, realloc_r, localeconv_r, setlocale_r
6460 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
6462 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
6463 libc/include/sys/config.h, libc/include/sys/signal.h,
6464 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
6465 provided macros (such as m68000), use the ansi version
6466 (__m68000__) so that the library can be used with code compiled
6467 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
6470 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6472 * configure.in (sparc*): Don't set -fsoft-float for sparc
6473 configurations. Do set -fsoft-float for sparclite configurations.
6475 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6477 * default.menu, no-signal.menu: alternate forms of libc main menu
6478 (in newlib rather than newlib/libc due to configuration restrictions)
6480 * configure.in: select one of the two menus above, link to
6483 * libc/libc.texinfo: include menu from separate file
6485 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
6487 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
6488 (info): Split long shell command in half.
6489 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
6490 sub-makes, just CHEW and TARGETDOC.
6491 (targetdep.tex): Removed now special handling of sys and machine
6492 subdirectories, made obsolete some time ago.
6493 * libc/machine/Makefile.in (doc): Don't pass everything to
6494 sub-make, just CHEW and TARGETDOC.
6495 (Makefile): New target.
6496 * libc/sys/Makefile.in (Makefile): New target.
6498 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
6500 * Makefile.in (here and most subdirectories): Only pass down CHEW
6501 and TARGETDOC when making info, not for other targets.
6503 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
6504 $(AR_FLAGS) rather than $(ARUPDATE).
6506 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
6508 * Try to reduce command line length:
6509 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
6510 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
6511 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
6512 (info): Pass CHEW to other subdirs.
6514 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
6516 * configure.in: add signal_dir, like unix_dir, but by default it
6517 is set to "signal" so that a29khif can turn it off (since a29khif
6518 has raise() as part of machine-specific signal.s.)
6520 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6522 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
6523 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
6525 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
6526 libc/stdio/vfprintf: type lint.
6527 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
6529 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
6531 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
6533 * stub/mvme135/mvme135-asm.S: new file.
6534 stub/mvme135mvme135-stub.c: moved all assembler routines into
6536 stub/mvme135/Makefile.in: build mvme135-stub.o.
6538 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
6540 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
6541 sub-Makefiles instead, to try to avoid line length limitations.
6543 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
6545 * libc/include/unistd.h (read, write): Use void* instead of
6548 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
6550 * stub/go32/resetpc: sample script to send a reset packet to the
6553 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
6554 DOS environment, which compiles with Turbo C.
6556 * stub/go32/DSER32.LNK: new file, linker commands for serial
6559 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
6560 start up message to identify version; call set_debug_traps.
6562 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
6563 keyboard interaction); call handle_exception() in go_til_stop,
6564 rather than return, so that the remote stub gets control.
6566 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
6567 rename, rather than mv), set flags that work with current Turbo C,
6568 including using the /3 flag; also, add commands to build dser32.
6570 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
6571 default Turbo C installation (\tc rather than \usr)
6573 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
6576 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6578 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
6580 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6582 * libc/stdio/cvt.c (licvt): new function to convert ints when
6583 sizeof(int) != sizeof(long).
6585 * libc/include/stdio.h: added prototype for iprintf.
6586 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
6588 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
6590 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
6591 __REGISTER_PREFIX__.
6593 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
6595 * libc/sys/m68kbare: moved into stub directory.
6597 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
6599 * configure.in, Makefile.in: created new directory stub, to hold
6600 sample code for specific targets.
6602 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
6604 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
6605 in the unified libc/include/sys/fcntl.h.
6607 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
6609 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
6610 printed .01, not 0.01.
6612 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
6614 * configure.in: compile with -m68000 for m68* targets.
6616 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
6618 * libm/math/remainder.c (remainder): document the svr4 and sunos
6619 references used to construct the function.
6621 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
6623 * libm/math/remainder.c (rint, remainder): fix old typos.
6624 * libm/math/Makefile.in: actually build remainder.c (functions
6625 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
6628 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
6630 * libc/string/bcopy.c: BSD version works on overlapping strings,
6633 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
6636 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
6638 * Makefile.in (docs): new target.
6640 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
6642 * libc/include/sys/times.h: define clock_t as required by POSIX.
6643 libc/include/time.h: protect clock_t from multiple definitions.
6645 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6647 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
6648 does not need more than the original three iterations to get
6649 within 1 ulp. (Paranoia tests for rounding to better than that,
6650 but further iterations *don't* help, only more subtle changes
6653 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
6655 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
6656 were doing nothing useful.
6658 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
6660 * configure.in: define MALLOC_PROVIDED for vxworks targets;
6661 removed sys_dir settings of vxworks68 and vxworks960.
6662 host/any: don't pass -nostdinc to gcc, since newlib no longer
6663 provides all required header files.
6665 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
6666 is not defined; this provides a hook for VxWorks.
6668 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6670 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
6671 buffer if buf is NULL, don't do it here -- it is already being
6672 done by makebuf elsewhere in stdio.
6674 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
6676 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
6677 that C programs can call functions without using initial
6680 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
6682 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
6684 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
6686 * configure.in: set TARGET_CFLAGS for certain CPU types to
6689 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6691 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
6693 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
6695 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
6698 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
6700 * libc/include/stdio.h: define __need___va_list before including
6701 <stdarg.h>, to avoid defining va_arg, et. al.
6703 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
6705 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
6706 (don't cd to the user's home directory).
6708 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
6709 In general this is the wrong thing to do, but I can't get around
6710 GNU make's insistence on passing command line arguments any other
6713 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
6715 * configure.in: always configure the libc/sys directory, since it
6716 now provides a required documentation file.
6718 * Makefile.in: replaced all instances of $(MAKE) with make. In
6719 general this is the wrong thing to do, but I can't get around GNU
6720 make's insistence on passing command line arguments any other way.
6722 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
6724 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
6727 * libc/stdio/local.h: include <stdarg.h> to define va_list.
6728 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
6730 * libc/include/float.h, libc/include/stdarg.h,
6731 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
6733 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
6734 <stdarg.h>, not from <machine/types.h>. Protect definition of
6736 libc/include/time.h: get size_t from stddef.h. Protect definition
6738 libc/include/machine/limits.h: override gcc <limits.h> by defining
6739 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
6740 get correct INT_MIN and LONG_LONG values.
6741 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
6742 size_t or va_list at all; they're now gotten from stddef.h
6744 libc/include/machine/varargs.h: removed; use gcc version instead.
6745 libc/include/sys/types.h: explicitly include <machine/types.h>.
6747 * libm/math/sqrt.h: using the fp-bit routines appears to require
6750 * Makefile.in, host/any: let system include files override machine
6753 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6755 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
6756 override _*_T_ definitions defaulted here.
6758 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
6760 * Makefile.in (install): install the include files in
6761 $(tooldir)/include, not $(exec_prefix)/include.
6763 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
6765 * Makefile.in (install): fixed typo, and changed install to not
6766 force rebuild of libc.a and libm.a.
6768 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
6770 * libc/sys/a29khif/*: Changed all .include's to include
6771 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
6772 that they will be installed for the user.
6774 * Makefile.in (all): create targ-include, a directory holding the
6775 machine and system specific header files during the build.
6776 (install): fixed installation of machine and system specific
6779 * Makefile.in: fixed comment.
6780 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
6781 we can pass $(INCLUDES) to it.
6783 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
6785 * libc/include/sys/param.h: new generic file, which may be
6786 overridden for specific systems.
6788 * libc/include/sys/signal.h: define all ANSI signal names, and
6789 NSIG (which is not ANSI) for a29k.
6791 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
6793 * Makefile.in: don't pass down arguments the lower level makes
6795 * libc/Makefile.in: recurse directly, rather than using subdir_do,
6796 in hopes of avoiding argument length limits.
6797 * libm/Makefile.in: recurse directly, rather using subdir_do, in
6798 hopes of avoiding argument length limits.
6800 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
6802 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
6805 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
6807 * Fixed make info and make install-info for newlib, changing most
6808 Makefile.in and several *.tex files. Moved doc directory from
6811 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
6812 Should be rewritten.
6814 * libc/string/strings.tex: renamed node index to node index
6815 function, so that it does not conflict with the top level index
6818 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
6820 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
6822 * Overhauled general configuration for newlib. Eliminated all
6823 target dependent Makefile fragments. Create libraries in newlib
6824 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
6825 than CROSS_CC, et. al. Broke make docs; will fix later.
6827 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
6828 Should be rewritten.
6830 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
6832 * libc/configure.in: cleaned up somewhat; switch on ${target}
6833 rather than ${target_alias}.
6834 * libm/configure.in: cleaned up somewhat; switch on ${target}
6835 rather than ${target_alias}.
6837 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
6838 * libc/include/ctype.h: marked _ctype_ as _CONST.
6840 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
6843 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
6844 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
6845 libc/stdio/gets.c (gets): removed non-ANSI warning message.
6846 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
6848 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
6849 bigtens, tinytens): marked arrays _CONST.
6850 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
6851 rather than a static variable.
6853 * libc/time/asctime.c (asctime), libc/time/localtime.c
6854 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
6855 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
6856 mname_len, mname): Marked static arrays _CONST.
6858 * libm/math/gamma.h: made local variables non-static.
6860 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
6861 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
6864 * libm/math/constants.c: removed file, because the constants it
6865 defined were never referenced.
6866 libm/math/Makefile.in: removed references to constants.c.
6867 libm/math/mathimpl.h: removed declarations of constants.
6869 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
6871 * libc/include/machine/varargs.h: only call __builtin_saveregs if
6872 it is sensibly defined in libgcc2. Checks preprocessor defines,
6873 which is not a good solution.
6875 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
6877 * libm/frexp.c: handle denormalized numbers as arguments.
6879 * libm/math/Makefile.in: added some dependencies for .c files
6880 which include local .h files.
6882 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
6884 * libc/configure.in: set target_alias for OSE*. Replace
6885 target_makefile_frag if it is blank.
6887 * libc/Makefile.in: make sure everything is passed to subsidiary
6888 makes; create all directories when installing.
6890 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
6891 CROSS_ARUPDATE instead of AR.
6893 * libm/configure.in: set target_alias for OSE*. Replace
6894 target_makefile_frag if it is blank.
6896 * libm/Makefile.in: make sure everything is passed to subsidiary
6897 makes; create all directories when installing.
6899 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
6901 * add following change from libc copy.
6903 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6905 * libc/libc.texinfo: make copyright disclaimers appear on back of
6906 title page; make format of same slightly less ugly; avoid using
6907 underbars in section headings (avoids nasty texinfo bug in table
6910 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
6911 comments only) avoid using underbars in section headings
6913 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
6914 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
6915 changes in comments only): shorten headings ieeefp/infinity.c,
6916 ieeefp/isnan.c: (doc, comments only) more informative headings
6918 * libc/math/bessel.c: (doc, comments only) shorten heading
6920 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
6921 (doc, comments only) shorten headings
6923 * libc/time/localtime.c (doc, comments only): shorten headings
6925 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
6927 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
6928 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
6930 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
6931 only) more informative headings
6932 * libm/math/bessel.c: (doc, comments only) shorten heading
6934 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6936 * .../Makefile.in: use CROSS_ARUPDATE consistently.
6937 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
6938 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
6939 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
6940 defined, the one from the .mt file will be correct.
6941 * libc/include/machine, libc/include/sys: created, and populated
6942 with common files from machine/*/machine. ifdefs were used for
6943 most, typically by handling exceptions first and then filling in
6944 defaults. Files with D.J. Delorie copyright #included rather than
6945 copied. Most files in include/sys really were the same in the
6947 * libc/include/...: cleaned up use of _EXFUN.
6948 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
6949 it with double quotes, not angles.
6951 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
6953 * libc/Makefile.in: always create installation directories.
6955 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6957 * libc/configure.in: handle host properly (using canonical
6958 triples), better error message for the case of target not found
6960 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
6962 * libc/Makefile.in (insincdir): Ensure this directory exists
6963 before attempting installation.
6965 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6967 * libc/stdlib/assert.c: now calls abort like it should
6968 * libc/sys/a29khif: many many patches for 29khif work
6969 * libc/machine/i386: gnulib2 expanded there.
6971 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6973 Added accurate fp conversion routines to stdlib, moved dcvt from
6974 stdio to stdlib and called it ecvtbuf:
6975 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
6976 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
6978 * libc/libc.texinfo: Modifed to include the copyright info from
6980 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
6981 * libc/test/ : many vector which tested for the implementation
6982 defined returns of strange conversion requests have been updated
6983 to relflect the new implementation
6985 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6987 * libc/libc.texinfo: new chapter on variable arg lists
6988 (stdarg.h/varargs.h)
6989 * libc/libc.texinfo: new title
6990 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
6991 (doc only) shorter headings for better formatting.
6993 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6995 * libc/libc.texinfo: three more info menu entries
6996 * libc/locale/locale.tex: new chapter
6997 * libc/locale/locale.c: new doc for setlocale, localeconv
6998 * libc/locale/Makefile.in: use new locale doc
6999 * libc/signal/signal.tex: new chapter
7000 * libc/signal/raise.c, libc/signal/signal.c: new doc
7001 * libc/signal/Makefile.in: use new doc
7002 * libc/time/time.tex: new chapter
7003 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
7004 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
7005 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
7006 * libc/time/Makefile.in: use new doc
7008 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7010 * libm/math/log1p.c: split to use the new function way of float
7011 function definition. math/log1p.h deleted
7012 * libm/math/scalb.c: obsolete and deleted
7013 * libm/math/scalbn.c: created from part log1p.c
7014 * libm/math/Makefile.in: know about log1p and scalbn
7016 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7018 * libc/ctype/isupper.c: revise doc;
7019 libc/ctype/ctype.tex: use doc from isupper.c
7021 * libc/string/bzero.c: new doc
7023 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7025 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
7027 * libc/stdlib/Makefile.in: extract new doc
7028 * libc/stdlib/stdlib.tex: use new doc
7030 * libc/string/strerror.c: expanded doc.
7032 * libc/stdio/Makefile.in: extract doc from more files
7033 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
7034 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
7035 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
7036 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
7037 libc/stdio/vsprintf.c: new doc
7038 * libc/stdio/stdio.tex: use new doc
7040 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7042 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
7043 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
7045 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
7048 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
7049 * libc/stdio/setbuf.c: added ansi style definition.
7050 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
7051 buffer if none provided.
7052 * libc/stdio/tmpfile.c: lint
7053 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
7054 rather than using static, also make sure file isn't already
7055 present. Uses P_tmpdir. (tempnam): rewritten to use new
7056 subroutine, and uses P_tmpdir.
7057 * libc/stdio/siprintf.c: created
7059 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7061 Release 1.03 for NEC, major mods. Main differences from release
7064 More tests in test/:
7065 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
7066 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
7067 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
7068 get/set mask, get/set sticky and get/set roundtoi. Tests
7069 that setting the bits changes the way arithmetic is done.
7070 * string.c: added test to make sure memcmp does it with unsigned
7072 * test.c: cleaned up and removed lint.
7073 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
7074 dvec.c: tests for string to value conversions, sprintf, scanf,
7075 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
7076 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
7077 rounding in sprintf too.
7078 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
7079 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
7080 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
7082 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
7086 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
7087 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
7088 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
7089 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
7090 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
7092 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
7093 * Method of producting float versions of double functions has
7094 changed, functions will be modified gradually. So far:
7095 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
7096 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
7098 * libc/string/memcmp.c: now uses unsigned chars
7099 * libc/string/bcmp.c, libc/string/strcpy.c,
7100 libc/stsring/strxfrm.c: fixed doc
7101 * libc/sys/sysvnecv70.tex: fix example of sbrk code
7104 version-control: never