1 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
3 * libc/include/machine/ieeefp.h: Add ia64 support.
4 * configure.host: Likewise.
6 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
9 month is now padded with space, not zero. This now conforms to
12 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
14 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
15 host or network path") used by cygwin. Add some comments.
17 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
19 * libc/include/stdio.h (FILE): define __SCLE for "convert line
21 (__sgetc): convert line endings if needed
23 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
24 * libc/stdio/fopen.c (_fopen_r): ditto
25 * libc/stdio/freopen.c (freopen): ditto
26 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
27 * libc/stdio/fvwrite.c (__sfvwrite): ditto
29 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
31 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
32 post-increment when it is worth it, spacewise.
34 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
36 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
37 * libc/stdio/findfp.c (std): Added declaration of flags and file.
38 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
40 * libc/stdio/putchar.c (putchar): Added return statement.
41 * libc/stdio/refill.c (lflush): Added correct parentheses.
42 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
43 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
44 prints long value to use l qualifier.
45 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
46 messages and initialized local values: ilim, ilim1, and spec_case.
47 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
48 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
49 * libc/stdlib/mprec.c: Ditto.
50 * libc/stdlib/setenv_r.c: Ditto.
51 * libc/stdlib/strtod.c: Ditto.
52 * libc/stdlib/strtol.c: Ditto.
53 * libc/stdlib/strtoul.c: Ditto.
54 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
55 * libm/common/sf_log1p.c: Ditto.
56 * libm/common/sf_scalbn.c: Ditto.
57 * libm/math/ef_log.c: Ditto.
59 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
61 * libc/posix/execvp.c (execvp): Check path for
64 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
66 * libc/include/sys/unistd.h: Add prototypes for
67 fchmod, fchown, lchown.
69 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
71 * acinclude.m4: Changed release to 1.8.2.
72 * aclocal.m4 configure doc/aclocal.m4 doc/configure
73 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
74 libc/machine/configure libc/machine/a29k/aclocal.m4
75 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
76 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
77 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
78 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
79 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
80 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
81 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
82 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
83 libc/machine/i386/configure libc/machine/i960/aclocal.m4
84 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
85 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
86 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
87 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
88 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
89 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
90 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
91 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
92 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
93 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
94 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
95 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
96 libc/machine/v850/configure libc/machine/w65/aclocal.m4
97 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
98 libc/machine/z8k/configure libc/sys/aclocal.m4
99 libc/sys/aclocal.m4 libc/sys/configure
100 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
101 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
102 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
103 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
104 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
105 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
106 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
107 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
108 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
109 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
110 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
111 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
112 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
113 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
114 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
115 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
116 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
117 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
118 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
119 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
120 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
121 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
122 libm/aclocal.m4 libm/configure: Regenerated.
124 2000-03-24 Nick Clifton <nickc@cygnus.com>
126 * libc/sys/arm/syscalls.c: Fix compile time warnings.
127 (do_AngelSWI): Add "cc" to list o registers clobbered.
129 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
131 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
132 information to be clobbered by an Angel C library support syscall.
134 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
136 * libc/stdlib/envlock.c: Fixed comment typo.
138 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
140 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
141 code to update nread as each character is processed instead
142 of using buffer contents which throw away leading zeroes.
144 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
146 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
148 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
150 * libc/include/string.h: Include <sys/types.h>.
152 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
154 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
157 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
159 * libc/include/string.h: Changed last argument back to ssize_t
160 to make it compatible with XPG4 definition which is
161 defined in <unistd.h>. There is a conflict in the SVID 3
162 and XPG4 definitions and newlib will settle with XPG4.
163 * libc/string/swab.c: Ditto.
165 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
167 * libc/include/string.h: Changed last argument to size_t.
168 * libc/string/swab.c: Changed last argument to size_t.
170 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
172 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
173 (CHEWOUT_FILES): Added unlinkr.def.
174 * libc/reent/Makefile.in: Rebuilt.
175 * libc/sys.tex: Include unlinkr.def.
176 * libc/reent/linkr.c (_unlink_r): Moved to...
177 * libc/reent/unlinkr.c: ... new file.
179 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
181 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
182 (CHEWOUT_FILES): Added swab.def.
183 * libc/string/Makefile.in: Rebuilt.
184 * libc/string/string.tex: Include swab.def.
185 * libc/include/string.h (swab): Declare.
186 * libc/string/swab.c: New file.
188 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
190 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
191 (CHEWOUT_FILES): Added getw.def and putw.def.
192 * libc/stdio/Makefile.in: Rebuilt.
193 * libc/stdio/stdio.tex: Include getw.def and putw.def.
194 * libc/stdio/getw.c: New file.
195 * libc/stdio/putw.c: New file.
197 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
199 * libc/stdio/flags.c (__sflags): Added check that mode[1]
200 is non-null before looking at mode[2].
202 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
204 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
205 * libm/mathfp/sf_atan.c: Ditto.
207 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
209 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
211 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
213 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
216 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
218 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
219 call prior to calling _VFPRINTF_R so reentrant data area is set.
220 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
222 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
224 * libc/stdio/vfscanf.c (limits.h): #include.
225 (MAX_LONG_LEN): #define.
226 (__svfscanf): Handle floating point numbers with arbitrary amounts
229 2000-02-15 Nick Clifton <nickc@cygnus.com>
231 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
232 zero. Set the blocksize to 1024/
234 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
236 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
239 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
241 * acinclude.m4: Changed include directory for winsup headers.
242 * aclocal.m4 configure libc/aclocal.m4
243 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
244 libc/locale/Makefile.in libc/machine/aclocal.m4
245 libc/machine/configure libc/machine/a29k/aclocal.m4
246 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
247 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
248 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
249 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
250 libc/machine/fr30/configure
251 libc/machine/h8300/aclocal.m4
252 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
253 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
254 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
255 libc/machine/i386/configure libc/machine/i960/aclocal.m4
256 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
257 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
258 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
259 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
260 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
261 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
262 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
263 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
264 libc/machine/powerpc/configure
265 libc/machine/sh/aclocal.m4
266 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
267 libc/machine/sparc/configure
268 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
269 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
270 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
271 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
272 libc/misc/Makefile.in libc/posix/Makefile.in
273 libc/reent/Makefile.in
274 libc/signal/Makefile.in
275 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
276 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
277 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
278 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
279 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
280 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
281 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
282 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
283 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
284 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
285 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
286 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
287 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
288 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
289 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
290 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
291 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
292 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
293 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
294 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
295 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
296 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
297 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
298 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
299 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
300 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
301 libm/configure: Regenerated.
303 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
305 * libc/stdlib/putenv_r.c (_putenv_r): New file.
306 * libc/stdlib/strdup_r.c (_strdup_r): New file.
307 * libc/include/string.h: Added _strdup_r.
308 * libc/stdlib/putenv.c: Added call to reentrant version.
309 * libc/stdlib/strdup.c: Ditto.
310 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
311 * libc/include/stdlib.h: Ditto.
312 * libc/stdlib/Makefile.in: Regenerated.
313 * libc/string/Makefile.in: Regenerated.
314 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
315 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
316 management calls to reentrant versions.
317 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
318 * libc/stdlib/wctomb.c: Ditto.
319 * libc/stdlib/mblen.c: Ditto.
320 * libc/stdlib/mbstowcs.c: Ditto.
321 * libc/stdlib/mbtowc.c: Ditto.
322 * libc/stdlib/getenv.c: Ditto.
323 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
326 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
328 patch from Corinna Vinschen <corinna@vinschen.de>
329 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
331 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
333 * libm/mathfp/s_atangent.c: Fix exponent calculation.
334 * libm/mathfp/s_ldexp.c: Ditto.
335 * libm/mathfp/sf_atangent.c: Ditto.
336 * libm/mathfp/sf_ldexp.c: Ditto.
338 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
340 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
341 * libc/include/locale.h: define NULL to be 0.
343 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
345 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
348 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
350 * libc/machine/mn10300/setjmp.S: Handle am33.
352 1999-11-26 Nick Clifton <nickc@cygnus.com>
354 * libc/sys/arm/syscalls.c: Add function prototypes.
355 (stack_ptr): Move declaration before function definitions.
357 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
359 * NEWS: Updated version information.
362 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
364 * libc/machine/i386/strchr.S: Fixed alignment test.
366 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
368 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
370 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
372 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
373 ensuring that there is space between the two.
375 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
377 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
380 1999-10-08 Vadim Egorov <egorovv@1c.ru>
382 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
385 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
387 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
388 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
390 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
391 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
393 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
396 1999-09-13 DJ Delorie <dj@cygnus.com>
398 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
401 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
403 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
404 also note BUFSIZ as its size.
406 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
408 * configure.host: Corrected feature defines for RTEMS.
409 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
410 * libc/include/sys/stat.h: mkfifo() should take const path arg.
411 * libc/include/sys/unistd.h: pathconf() should take const path arg.
412 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
413 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
414 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
415 _PC_PRIO_IO, and _PC_SYNC_IO.
416 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
417 * libc/machine/m68k/Makefile.in: Regenerated.
418 * libc/machine/m68k/strcpy.c: New file.
419 * libc/machine/m68k/strlen.c: New file.
420 * libc/stdio/tmpnam.c: Always make the returned name usable.
421 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
422 * libc/sys/rtems/sys/dirent.h: New file.
423 * libc/sys/rtems/sys/types.h: Added dev_t.
425 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
427 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
429 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
431 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
434 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
436 patch from Jeff Johnston <jjohnstn@cygnus.com>
437 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
438 buffer is not in a useful state.
440 1999-09-01 Nick Clifton <nickc@cygnus.com>
442 * libc/sys/arm/syscalls.c (_link): Add stub.
444 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
446 * ftell.c (ftell): Use actual position within buffer for text mode.
447 * findfp.c (std): Initialize ptr->_bf._size.
449 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
451 * libc/include/sys/unistd.h: Add nice() declaration.
453 1999-08-09 Nick Clifton <nickc@cygnus.com>
455 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
456 declare as a thumb function so that the disassembler will see the
459 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
461 * libc/reent/reent.tex: Updated list of reentrant functions.
463 1999-07-09 Michael Meissner <meissner@cygnus.com>
465 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
467 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
469 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
471 * libc/stdio/snprintf.c: New file.
472 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
474 * libc/stdio/vsnprintf.c: New file.
475 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
476 * libc/stdio/Makefile.in: Regenerated.
478 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
480 Patch submitted by Egor Duda <deo@logos-m.ru>:
481 * libc/include/stdio.h: Add declarations for *nprintf.
482 * libc/stdio/sprintf.c (snprintf): New function.
483 (_snprintf_r): New function.
484 * libc/stdio/vsprintf.c (vsnprintf): New function.
485 (_vnsprintf_r): New function.
487 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
489 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
490 * libm/Makefile.am (stmp-targetdep): Ditto.
491 * libc/Makefile.in: Regenerated.
492 * libm/Makefile.in: Ditto.
494 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
496 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
497 * libm/Makefile.am (stmp-targetdep): Ditto.
498 * libc/Makefile.in: Regenerated.
499 * libm/Makefile.in: Ditto.
501 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
503 * Makefile.am: Removed dependencies on all-recursive and added "."
504 to the SUBDIRS list to prevent infinite recursion from occurring.
505 Also removed any references to EXTRA_DATA.
506 * libc/Makefile.am: Ditto.
507 * libc/machine/Makefile.am: Ditto.
508 * libc/machine/i386/Makefile.am: Ditto.
509 * libm/Makefile.am: Ditto.
510 * libc/sys/Makefile.am: Ditto.
511 * Makefile.in: Regenerated.
514 * doc/Makefile.in: Ditto.
515 * doc/aclocal.m4: Ditto.
516 * doc/configure: Ditto.
517 * libc/Makefile.in: Ditto.
518 * libc/aclocal.m4: Ditto.
519 * libc/configure: Ditto.
520 * libc/machine/Makefile.in: Ditto.
521 * libc/machine/aclocal.m4: Ditto.
522 * libc/machine/configure: Ditto.
523 * libc/machine/mn10300/Makefile.in: Ditto.
524 * libc/machine/mn10300/aclocal.m4: Ditto.
525 * libc/machine/mn10300/configure: Ditto.
526 * libc/sys/Makefile.in: Ditto.
527 * libc/sys/aclocal.m4: Ditto.
528 * libc/sys/configure: Ditto.
529 * libm/Makefile.in: Ditto.
530 * libm/aclocal.m4: Ditto.
531 * libm/configure: Ditto.
533 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
535 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
537 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
539 * libc/include/stdlib.h: Add reentrant routines.
540 * libc/stdlib/Makefile.am: Add reentrant routines.
541 * libc/stdlib/Makefile.in: Ditto.
542 * libc/stdlib/envlock.c: New file.
543 * libc/stdlib/envlock.h: New file.
544 * libc/stdlib/getenv.c: Modify to call reentrant routine.
545 * libc/stdlib/getenv_r.c: New file.
546 * libc/stdlib/mblen.c: Modify to call reentrant routine.
547 * libc/stdlib/mblen_r.c: New file.
548 * libc/stdlib/setenv.c: Modify to call reentrant routine.
549 * libc/stdlib/setenv_r.c: New file.
550 * libc/stdlib/stdlib.tex: Add reentrant routines.
552 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
554 * libc/include/sys/types.h: Define __MS_types__ whenever
557 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
559 * libc/include/machine/ieeefp.h: Always default to little
560 endian if Windows, regardless of architecture.
561 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
562 regardless of architecture.
564 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
566 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
567 _WIN32 isn't defined.
569 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
571 * libm/common/s_rint.c (rint): Add volatile qualifier for
572 intermediate value w.
573 * libm/common/sf_rint.c (rintf): Ditto.
575 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
577 * libc/sys/arm/syscalls.c (remap_handle): Added check to
578 ensure that std streams are initialized before being referenced.
580 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
582 * README: Update reference to newlib@cygnus.com new
583 newlib@sourceware.cygnus.com address.
585 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
587 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
588 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
589 defined, even if _WIN32 isn't defined.
591 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
593 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
595 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
597 * libc/include/sys/reent.h: Change Long and ULong to __Long and
599 * libc/stdlib/dtoa.c: Ditto.
600 * libc/stdlib/mprec.c: Ditto.
601 * libc/stdlib/mprec.h: Ditto.
602 * libc/stdlib/strtod.c: Ditto.
604 1999-04-21 Nick Clifton <nickc@cygnus.com>
606 * configure.host (mcore): Remove mcore machine directory.
608 1999-04-18 Nick Clifton <nickc@cygnus.com>
610 * libc/include/machine/ieeefp.h: Add support for mcore target.
611 * libc/include/machine/setjmp.h: Add support for mcore target.
612 * configure.host: Add support for mcore target.
614 1999-04-13 Mark Salter <msalter@cygnus.com>
616 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
617 * libc/sys/arm/syscalls.c: Added isatty.
619 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
621 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
622 insert zeroes after significant digits.
624 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
626 * libc/stdio/vfprintf.c (cvt): Changed floating point
627 cvt routine to use union used by dtoa to properly determine
628 if the sign bit is on or not.
629 * libc/stdio/vfieeefp.h: New file
631 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
633 * aclocal.m4: Regenerated.
634 * configure: Regenerated.
636 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
638 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
640 * libc/machine/i386/Makefile.in: Regenerated.
642 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
644 * acinclude.m4: Changed to work with new automake.
645 * configure: Regenerated.
646 * libc/machine/i386/aclocal.m4: Regenerated.
647 * libc/machine/i386/configure: Regenerated.
649 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
651 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
652 for telldir() and seekdir(). Rename unused structure element
653 for use with these two routines.
655 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
657 * libc/time/mktime.c (validate_structure): Multiple fixes to
658 code to handle cases where input fields are outside valid ranges.
659 * libc/stdlib/div.c (div): Modified invalid rounding check.
660 * libc/stdlib/ldiv.c (ldiv): Ditto.
662 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
664 * libc/machine/i386/memcpy.S: Performance rewrite.
665 * libc/machine/i386/memmove.S: Ditto.
666 * libc/machine/i386/i386mach.h: Added more register definitions.
667 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
669 * libc/include/machine/fastmath.h: Add definitions for x86
672 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
674 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
676 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
678 Adjust newlib headers for new Cygwin Win32 API header files:
679 * libc/include/sys/time.h: Check _WINSOCK_H rather than
680 _GNU_H_WINDOWS32_SOCKETS.
681 * libc/include/sys/types.h: Ditto.
683 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
685 *include/sys/reent.h: Add checks for size of Bigint element Long.
686 *libc/dtoa.c: Change routines to use generic Long type.
687 *libc/mprec.c: Change routines to use generic Long type.
688 *libc/mprec.h: Change routines to use generic Long type.
690 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
692 * libc/Makefile.am: Add .def files.
693 * libc/Makefile.in: Regenerate.
694 * libc/e_acosh.c: Documentation update.
695 * libc/e_atanh.c: Documentation update.
696 * libc/e_hypot.c: Documentation update.
697 * libc/e_remainder.c: Documentation update.
698 * libc/er_lgamma.c: Documentation update.
699 * libc/mathfp.tex: Documentation update.
700 * libc/s_acos.c: Documentation update.
701 * libc/s_atan.c: Documentation update.
702 * libc/s_atan2.c: Documentation update.
703 * libc/s_cosh.c: Documentation update.
704 * libc/s_fmod.c: Documentation update.
705 * libc/s_isnan.c: Documentation update.
706 * libc/s_log10.c: Documentation update.
707 * libc/s_pow.c: Documentation update.
708 * libc/w_jn.c: Documentation update.
710 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
712 * aclocal.m4: Regenerate.
713 * configure: Regenerate.
715 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
717 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
718 to return 1 if user specified return code is 0.
719 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
721 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
723 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
724 to save the return address. Fixed longjmp to return to the original
725 calling address of setjmp and to return the user specified return code
726 rather than default to 1.
727 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
729 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
731 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
733 1999-02-10 Nick Clifton <nickc@cygnus.com>
735 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
736 volatile so that its assignments will not be discarded.
738 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
740 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
741 be __STRICT_ANSI__ which is generated by compiler.
742 * libc/include/ctype.h: Ditto.
743 * libc/include/math.h: Ditto.
744 * libc/include/stdio.h: Ditto.
745 * libc/include/stdlib.h: Ditto.
746 * libc/include/string.h: Ditto.
747 * libc/include/sys/signal.h: Ditto.
749 1999-02-08 Nick Clifton <nickc@cygnus.com>
751 * configure.host: Add support for StrongARM target.
753 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
755 * libc/string/strncpy.c (strncpy): Removed redundant code
756 that was copying bytes if data unaligned.
758 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
760 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
761 mbstowcs.def, and wcstombs.def.
763 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
765 * libc/include/sys/errno.h: Add Cygwin errno.
766 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
769 1999-01-29 Nick Clifton <nickc@cygnus.com>
771 * libc/sys/arm/syscalls.c: Move C library functions into seperate
774 * libc/sys/arm/libcfunc.c: New file containing C library functions
777 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
778 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
781 1999-01-27 Michael Meissner <meissner@cygnus.com>
783 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
784 type, and cut size in half so that the jmp_buf array is guaranteed
785 to be aligned on a 64-bit boundary.
787 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
789 * libc/string/strings.tex: Added information about
790 strcasecmp and strncasecmp.
791 * libc/stdlib/stdlib.tex: Added missing information
792 about mblen, mbstowcs, and wcstombs.
793 * libc/string/strchr.c: Changed how mask is built to use
794 shift operators so register will be used instead of storage.
796 1999-01-22 DJ Delorie <dj@cygnus.com>
798 * libc/include/stdlib.h: don't use dllimport if we're building
799 newlib, since it's inside cygwin.dll
801 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
803 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
804 _ctype_ under cygwin.
806 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
808 * include/stdlib.h: Fix typo from previous checkin.
810 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
812 * include/ctype.h: Use __declspec(dllimport) method for exporting
813 variable from cygwin DLL.
814 * include/time.h: Ditto.
815 * sys/errno.h: Ditto.
816 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
817 * libc/locale/locale.c: Use __declspec(dllexport) method for
818 exporting variable from cygwin DLL.
820 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
822 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
823 access of bogus pointer will result in SIGSEGV.
825 1999-01-07 Nick Clifton <nickc@cygnus.com>
827 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
828 of an underscore prefix to function names.
830 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
832 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
833 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
835 1998-12-31 Michael Meissner <meissner@cygnus.com>
837 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
838 to `%' if not already defined.
840 1998-12-30 Michael Meissner <meissner@cygnus.com>
842 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
843 arguments const char *, not char *.
844 * libc/include/stdio.h (_tempnam_r): Ditto.
846 * libc/include/sys/reent.h (struct _reent): The _sig_func type
847 points to a function taking an integer, not void.
849 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
851 * configure.host: Add a define for Cygwin builds.
852 * libc/include/ctype.h: Don't use dll imported variables in newlib.
854 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
856 * libc/include/ctype.h: Define _ctype_ as dll imported variable
858 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
859 dll imported variables for use with Cygwin.
860 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
861 as a dll imported variable for Cygwin.
863 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
865 * libc/include/sys/unistd.h: Add proto for getpass.
867 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
869 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
872 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
874 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
875 not posix_path_list_p.
877 1998-12-15 Nick Clifton <nickc@cygnus.com>
879 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
882 1998-12-13 Nick Clifton <nickc@cygnus.com>
884 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
886 1998-12-12 Nick Clifton <nickc@cygnus.com>
888 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
890 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
891 * libc/machine/fr30/Makefile.in: Regenerated.
893 1998-12-11 Nick Clifton <nickc@cygnus.com>
895 * configure.host: Remove use of libc/sys for FR30 port.
896 * libc/sys/fr30: Remove directory (replaced by libgloss).
898 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
900 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
901 * libc/string/strncat.c (ALIGNED): Ditto.
903 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
905 * libc/include/sys/time.h: include sys/types.h
907 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
909 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
910 comparison found when checking word at a time.
912 1998-12-04 Nick Clifton <nickc@cygnus.com>
914 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
916 1998-12-03 Nick Clifton <nickc@cygnus.com>
918 * libc/sys/fr30/syscalls.c (_times): New function stub.
920 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
922 * configure.host (mach_add_setjmp): Replaced mach_add_objs
923 with mach_add_setjmp flag which indicates if setjmp should
924 be added to the machine directory objects.
925 * acinclude.m4: Removed reference to mach_add_objs.
926 * aclocal.m4: Regenerated.
927 * Makefile.in: Regenerated.
928 * configure: Regenerated.
929 * libc/aclocal.m4: Regenerated.
930 * libc/Makefile.in: Regenerated.
931 * libc/configure: Regenerated.
932 * libc/machine/aclocal.m4: Regenerated.
933 * libc/machine/Makefile.in: Regenerated.
934 * libc/machine/configure: Regenerated.
935 * libc/machine/i386/aclocal.m4: Regenerated.
936 * libc/machine/i386/Makefile.am: Altered to selectively add
937 setjmp.S to the src files list.
938 * libc/machine/i386/Makefile.in: Regenerated.
939 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
940 * libc/machine/i386/configure: Regenerated.
942 1998-12-02 Nick Clifton <nickc@cygnus.com>
944 * libc/sys/fr30/crt0.s (_start): Fix function names.
946 * libc/machine/fr30: New directory
947 * libc/machine/fr30/Makefile.am: New file.
948 * libc/machine/fr30/Makefile.in: New generated file.
949 * libc/machine/fr30/configure.in: New file.
950 * libc/machine/fr30/configure: New generated file.
951 * libc/machine/fr30/aclocal.m4: New generated file.
952 * libc/sys/fr30/Makefile.am: New file.
953 * libc/sys/fr30/Makefile.in: New generated file.
954 * libc/sys/fr30/configure.in: New file.
955 * libc/sys/fr30/configure: New generated file.
956 * libc/sys/fr30/syscalls.c: New file.
958 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
960 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
962 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
964 * libc/time/strftime.c (strftime): Also handle %y for years before
967 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
969 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
970 UNIX convention. Perform tolower on characters before comparing
971 them rather than use toupper.
972 * libc/string/strncasecmp.c (strncasecmp): Ditto.
974 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
976 * configure.host: Added using i386 machine directory
977 for all x86 cross-compiler and configuring
978 which added object files to use via new "mach_add_objs" variable.
979 * configure: Regenerated.
980 * libc/configure: Regenerated.
981 * libc/Makefile.in: Regenerated.
982 * libc/aclocal.m4: Regenerated.
983 * libc/ctype/Makefile.in: Regenerated.
984 * libc/errno/Makefile.in: Regenerated.
985 * libc/locale/Makefile.in: Regenerated.
986 * libc/machine/Makefile.in: Regenerated.
987 * libc/machine/aclocal.m4: Regenerated.
988 * libc/machine/configure: Regenerated.
989 * libc/posix/Makefile.in: Regenerated.
990 * libc/reent/Makefile.in: Regenerated.
991 * libc/signal/Makefile.in: Regenerated.
992 * libc/stdio/Makefile.in: Regenerated.
993 * libc/stdlib/Makefile.in: Regenerated.
994 * libc/string/Makefile.in: Regenerated.
995 * libc/string/memmove.c: Optimized code to use memcpy
996 logic when performing a non-destructive copy.
997 * libc/string/strncmp.c: Altered code to allow building
998 optimized for size or speed.
999 * libc/syscalls/Makefile.in: Regenerated.
1000 * libc/time/Makefile.in: Regenerated.
1001 * libc/unix/Makefile.in: Regenerated.
1002 * libc/machine/i386/Makefile.am: Added new files and reference
1003 to "mach_add_objs" to indicate optional object files.
1004 * libc/machine/i386/Makefile.in: Regenerated.
1005 * libc/machine/i386/aclocal.m4: Regenerated.
1006 * libc/machine/i386/configure: Regenerated.
1007 * libc/machine/i386/memchr.S: New file that implements
1008 function in Intel assembler.
1009 * libc/machine/i386/memcmp.S: ditto.
1010 * libc/machine/i386/memcpy.S: ditto.
1011 * libc/machine/i386/memmove.S: ditto.
1012 * libc/machine/i386/memset.S: ditto.
1013 * libc/machine/i386/strchr.S: ditto.
1014 * libc/machine/i386/strlen.S: ditto.
1015 * libc/machine/i386/f_atan2.S: New file that implements
1016 fast version of math function to be used by compiler when
1017 --ffast_math compile option is used.
1018 * libc/machine/i386/f_atan2f.S: ditto.
1019 * libc/machine/i386/f_exp.c: ditto.
1020 * libc/machine/i386/f_expf.c: ditto.
1021 * libc/machine/i386/f_frexp.S: ditto.
1022 * libc/machine/i386/f_frexpf.S: ditto.
1023 * libc/machine/i386/f_ldexp.S: ditto.
1024 * libc/machine/i386/f_ldexpf.S: ditto.
1025 * libc/machine/i386/f_log.S: ditto.
1026 * libc/machine/i386/f_logf.S: ditto.
1027 * libc/machine/i386/f_log10.S: ditto.
1028 * libc/machine/i386/f_log10f.S: ditto.
1029 * libc/machine/i386/f_math.h: New file.
1030 * libc/machine/i386/f_pow.c: ditto.
1031 * libc/machine/i386/f_powf.S: ditto.
1032 * libc/machine/i386/f_tan.S: ditto.
1033 * libc/machine/i386/f_tan.S: ditto.
1034 * libc/machine/i386/i386mach.h: New file.
1036 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
1038 patch from Mumit Khan <khan@xraylith.wisc.edu>
1039 * libc/include/stdio.h (tempnam): Add prototype.
1040 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
1041 (tempnam): Adhere to prototype.
1043 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
1045 * Makefile.am: Add default for AR_FLAGS.
1046 * Makefile.in: Regenerate.
1048 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
1050 * libc/include/time.h: move __cplusplus wrapper after includes
1051 * libc/include/sys/time.h: ditto. If Cygwin, include
1053 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
1055 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
1057 * libc/time/strftime.c (strftime): Handle %y after year 2000.
1059 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
1061 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
1062 abnormnal end-of-crt0 marker.
1064 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
1066 * libc/sys/fr30/crt0.s: New file/directory.
1067 * libc/include/machine/setjmp.h: Add FR30 target.
1068 * libc/include/machine/ieeefp.h: Add FR30 target.
1069 * configure.host: Add FR30 target.
1071 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1073 * libm/math: Files that are duplicated in common directory removed.
1074 * libm/math/fdlibm.h: Removed.
1075 * libm/math/s_cbrt.c: Removed.
1076 * libm/math/s_copysign.c: Removed.
1077 * libm/math/s_expm1.c: Removed.
1078 * libm/math/s_finite.c: Removed.
1079 * libm/math/s_ilogb.c: Removed.
1080 * libm/math/s_infinity.c: Removed.
1081 * libm/math/s_lib_ver.c: Removed.
1082 * libm/math/s_log1p.c: Removed.
1083 * libm/math/s_logb.c: Removed.
1084 * libm/math/s_matherr.c: Removed.
1085 * libm/math/s_modf.c: Removed.
1086 * libm/math/s_nan.c: Removed.
1087 * libm/math/s_nextafter.c: Removed.
1088 * libm/math/s_rint.c: Removed.
1089 * libm/math/s_scalbn.c: Removed.
1090 * libm/math/sf_cbrt.c: Removed.
1091 * libm/math/sf_copysign.c: Removed.
1092 * libm/math/sf_expm1.c: Removed.
1093 * libm/math/sf_finite.c: Removed.
1094 * libm/math/sf_ilogb.c: Removed.
1095 * libm/math/sf_infinity.c: Removed.
1096 * libm/math/sf_log1p.c: Removed.
1097 * libm/math/sf_logb.c: Removed.
1098 * libm/math/sf_modf.c: Removed.
1099 * libm/math/sf_nan.c: Removed.
1100 * libm/math/sf_nextafter.c: Removed.
1101 * libm/math/sf_rint.c: Removed.
1102 * libm/math/sf_scalbn.c: Removed.
1103 * libm/math/Makefile.am: Removed references to deleted files (above).
1104 * libm/math/Makefile.in: Regenerated.
1105 * libm/Makefile.am: Added common directory to math.
1106 * libm/Makefile.in: Regenerated.
1108 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1110 * libm/mathfp: Add non-ANSI functions.
1111 * libm/mathfp/e_acosh.c acosh(): New file.
1112 * libm/mathfp/e_atanh.c atanh(): New file.
1113 * libm/mathfp/e_hypot.c hypot(): New file.
1114 * libm/mathfp/e_j0.c j0(): New file.
1115 * libm/mathfp/e_j1.c j1(): New file.
1116 * libm/mathfp/e_remainder.c remainder(): New file.
1117 * libm/mathfp/e_scalb.c scalb(): New file.
1118 * libm/mathfp/ef_acosh.c acoshf(): New file.
1119 * libm/mathfp/ef_atanh.c atanhf(): New file.
1120 * libm/mathfp/ef_hypot.c hypotf(): New file.
1121 * libm/mathfp/ef_j0.c j0f(): New file.
1122 * libm/mathfp/ef_j1.c j1f(): New file.
1123 * libm/mathfp/ef_remainder.c remainderf(): New file.
1124 * libm/mathfp/ef_scalb.c scalbf(): New file.
1125 * libm/mathfp/er_gamma.c gamma_r: New file.
1126 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
1127 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
1128 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
1129 * libm/mathfp/w_cabs.c cabs(): New file.
1130 * libm/mathfp/w_drem.c drem(): New file.
1131 * libm/mathfp/w_jn.c jn(): New file.
1132 * libm/mathfp/wf_cabs.c cabsf(): New file.
1133 * libm/mathfp/wf_drem.c dremf(): New file.
1134 * libm/mathfp/wf_jn.c jnf(): New file.
1136 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
1138 * libc/sys/cygwin32: remove directory and contents
1139 * libc/sys/cygwin: and add back, losing the "32".
1140 * configure.host: check for cygwin* instead of cygwin32.
1141 * acinclude.m4: ditto.
1142 * aclocal.m4: regenerate with aclocal
1143 * configure: regenerate with autoconf
1145 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
1147 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
1150 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1152 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
1153 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
1154 to make rand/srand, strtok, asctime, localtime, w_gamma,
1155 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
1156 time.h to bring in struct tm definition.
1157 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
1158 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
1159 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
1160 instead of static variable.
1161 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
1162 struct reent instead of static variable.
1163 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
1164 struct reent instead of static variable.
1165 * libm/math/Makefile.am: Removed s_signgam.o.
1166 * libm/math/Makefile.in: Regenerated.
1167 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
1168 struct reent instead of global variable 'signgam'.
1169 * libm/math/w_lgamma.c (lgamma): Likewise.
1170 * libm/math/wf_gamma.c (gammaf): Likewise.
1171 * libm/math/wf_lgamma.c (lgammaf): Likewise.
1172 * libm/math/s_signgam.c: Removed.
1173 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
1175 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
1177 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
1178 libc/include/reent.h.
1179 * libc/reent/Makefile.in: Regenerated.
1180 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
1182 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
1183 'JIS_action_table' to be const.
1184 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
1186 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
1188 * acinclude.m4: $with_target_subdir should default to '.'
1189 or confusion results when configuring in same directory as sources.
1190 * Regenerate all aclocal.m4 and configure files.
1192 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
1194 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
1195 can be set by defining MALLOC_ALIGNMENT=16. Also added support
1196 for platforms where sizeof(size_t) < sizeof(long) via
1197 SIZE_T_SMALLER_THAN_LONG macro.
1199 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
1201 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
1202 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
1203 which sets _CLOCKS_PER_SEC_ for selected machines.
1204 * libc/include/machine/time.h: New file.
1206 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1208 * libc/syscalls/sysexecve.c: New file.
1209 * libc/syscalls/sysgettod.c: New file.
1210 * libc/syscalls/systimes.c: New file.
1211 * libc/syscalls/Makefile.am: Added new objects.
1212 * libc/syscalls/Makefile.in: Regenerated.
1213 * libc/include/_syslist.h (_execve): Moved define in file.
1214 * libc/include/reent.h: Added _execve_r declaration.
1215 * libc/Makefile.in: Regenerated.
1216 * libc/ctype/Makefile.in: Regenerated.
1217 * libc/errno/Makefile.in: Regenerated.
1218 * libc/locale/Makefile.in: Regenerated.
1219 * libc/machine/Makefile.in: Regenerated.
1220 * libc/misc/Makefile.in: Regenerated.
1221 * libc/posix/Makefile.in: Regenerated.
1222 * libc/reent/Makefile.in: Regenerated.
1223 * libc/reent/execr.c (_execve_r): Added _execve_r function.
1224 * libc/signal/Makefile.in: Regenerated.
1225 * libc/stdio/Makefile.in: Regenerated.
1226 * libc/time/Makefile.in: Regenerated.
1227 * libc/unix/Makefile.in: Regenerated.
1228 * libm/mathfp/Makefile.in: Regenerated.
1230 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1232 * libc/string/Makefile.in: Regenerated.
1233 * libc/string/memchr.c (memchr): Moved code to reduce object size.
1234 * libc/string/memcpy.c (memcpy): Ditto.
1235 * libc/string/memcmp.c (memcmp): Ditto.
1236 * libc/string/memset.c (memset): Ditto.
1237 * libc/string/strchr.c (strchr): Ditto.
1238 * libc/string/strcmp.c (strcmp): Ditto.
1239 * libc/string/strcpy.c (strcpy): Ditto.
1240 * libc/string/strlen.c (strlen): Ditto.
1242 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1244 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1245 to generate aclocal.m4.
1246 * libm/Makefile.in: Regenerated.
1247 * libm/aclocal.m4: Regenerated.
1248 * libm/configure: Regenerated.
1249 * libm/math/Makefile.in: Regenerated.
1250 * libm/mathfp/Makefile.in: Regenerated.
1252 1998-09-25 Mark Salter <msalter@cygnus.com>
1254 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1255 by adding leading and trailing underscores to symbol names.
1257 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
1259 * Makefile.in: Add default for AR_FLAGS.
1261 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
1263 patch from ian@airs.com (Ian Taylor):
1264 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1265 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1266 is needed for detecting the build machine. Required for
1267 cygwin native builds.
1269 * Regenerate all aclocal.m4 and configure files.
1271 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
1273 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
1274 used to start with LC.
1276 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1278 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
1279 (longjmp): Likewise.
1281 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1283 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
1284 the test for small number of bytes.
1286 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1288 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
1289 math library that uses floating point algorithms instead of the old
1291 * Makefile.in: Regenerate with automake version 1.3b.
1292 * configure: Rebuild.
1293 * libm/Makefile.in: Regenerate with automake version 1.3b.
1294 * libm/aclocal.m4: Regenerate.
1295 * libm/configure: Rebuild.
1296 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
1297 * libm/acinclude.m4: Define macros for configure.in.
1298 * libm/config.h.in: Generate.
1299 * libm/mathfp/Makefile.am: New file.
1300 * libm/mathfp/Makefile.in: Generate.
1301 * libm/mathfp/s_acos.c (acos): New file.
1302 * libm/mathfp/s_asin.c (asin): New file.
1303 * libm/mathfp/s_asine.c (asine): New file.
1304 * libm/mathfp/s_atan.c (atan): New file.
1305 * libm/mathfp/s_atan2.c (atan2): New file.
1306 * libm/mathfp/s_atangent.c (atangent): New file.
1307 * libm/mathfp/s_ceil.c (ceil): New file.
1308 * libm/mathfp/s_copysign.c (copysign): New file.
1309 * libm/mathfp/s_cos.c (cos): New file.
1310 * libm/mathfp/s_cosh.c (cosh): New file.
1311 * libm/mathfp/s_exp.c (exp): New file.
1312 * libm/mathfp/s_fabs.c (fabs): New file.
1313 * libm/mathfp/s_finite.c (finite): New file.
1314 * libm/mathfp/s_floor.c (floor): New file.
1315 * libm/mathfp/s_fmod.c (fmod): New file.
1316 * libm/mathfp/s_frexp.c (frexp): New file.
1317 * libm/mathfp/s_infconst.c: New file.
1318 * libm/mathfp/s_isinf (isinf).c: New file.
1319 * libm/mathfp/s_isnan.c (isnan): New file.
1320 * libm/mathfp/s_ispos.c (ispos): New file.
1321 * libm/mathfp/s_ldexp.c (ldexp): New file.
1322 * libm/mathfp/s_log.c (log): New file.
1323 * libm/mathfp/s_log10.c (log10): New file.
1324 * libm/mathfp/s_logarithm.c (logarithm): New file.
1325 * libm/mathfp/s_mathcnst.c: New file.
1326 * libm/mathfp/s_modf (modf).c: New file.
1327 * libm/mathfp/s_numtest.c (numtest): New file.
1328 * libm/mathfp/s_pow.c (pow): New file.
1329 * libm/mathfp/s_scalbn.c (scalbn): New file.
1330 * libm/mathfp/s_sin (sin).c: New file.
1331 * libm/mathfp/s_sine.c (sine): New file.
1332 * libm/mathfp/s_sineh.c (sineh): New file.
1333 * libm/mathfp/s_sinf.c (sinf): New file.
1334 * libm/mathfp/s_sinh.c (sinh): New file.
1335 * libm/mathfp/s_sqrt.c (sqrt): New file.
1336 * libm/mathfp/s_tan.c (tan): New file.
1337 * libm/mathfp/s_tanh.c (tanh): New file.
1338 * libm/mathfp/sf_acos.c (acosf): New file.
1339 * libm/mathfp/sf_asin.c (asinf): New file.
1340 * libm/mathfp/sf_asine.c (asinef): New file.
1341 * libm/mathfp/sf_atan.c (atanf): New file.
1342 * libm/mathfp/sf_atan2.c (atan2f): New file.
1343 * libm/mathfp/sf_atangent.c (atangent): New file.
1344 * libm/mathfp/sf_ceil.c (ceilf): New file.
1345 * libm/mathfp/sf_copysign.c (copysignf): New file.
1346 * libm/mathfp/sf_cos.c (cosf): New file.
1347 * libm/mathfp/sf_cosh.c (coshf): New file.
1348 * libm/mathfp/sf_exp.c (expf): New file.
1349 * libm/mathfp/sf_fabs.c (fabsf): New file.
1350 * libm/mathfp/sf_finite.c (finitef): New file.
1351 * libm/mathfp/sf_floor.c (floorf): New file.
1352 * libm/mathfp/sf_fmod.c (fmodf): New file.
1353 * libm/mathfp/sf_frexp.c (frexpf): New file.
1354 * libm/mathfp/sf_isinf.c (isinff): New file.
1355 * libm/mathfp/sf_isnan.c (isnanf): New file.
1356 * libm/mathfp/sf_ispos.c (isposf): New file.
1357 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
1358 * libm/mathfp/sf_log.c (logf): New file.
1359 * libm/mathfp/sf_log10.c (log10f): New file.
1360 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
1361 * libm/mathfp/sf_modf.c (modff): New file.
1362 * libm/mathfp/sf_numtest.c (numtestf): New file.
1363 * libm/mathfp/sf_pow.c (powf): New file.
1364 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
1365 * libm/mathfp/sf_sin.c (sinf): New file.
1366 * libm/mathfp/sf_sine.c (sinef): New file.
1367 * libm/mathfp/sf_sineh.c (sinehf): New file.
1368 * libm/mathfp/sf_sinh.c (sinhf): New file.
1369 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
1370 * libm/mathfp/sf_tan.c (tanf): New file.
1371 * libm/mathfp/sf_tanh.c (tanhf): New file.
1372 * libm/mathfp/zmath.h: New file.
1374 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1376 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
1377 exit if it has been overwritten by pre-fetching in delay slot.
1379 1998-09-01 Michael Meissner <meissner@cygnus.com>
1381 * Makefile.am (tooldir): Add in host_alias, so that multilib
1382 libraries are installed in the directory the compiler looks in.
1383 * Makefile.in: Regenerate.
1385 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
1387 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
1389 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
1390 ahead of test for number of bytes being moved.
1392 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
1394 * libc/include/sys/unistd.h: Nothing special needed for
1397 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
1399 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
1400 conform to user label naming conventions.
1402 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
1404 * libc/sys/cygwin32/sys/utime.h: variable names in
1405 protos should start with two leading underscores
1406 * libc/include/string.h: ditto
1407 * libc/include/sys/signal.h: ditto
1408 * libc/include/sys/stat.h: ditto
1409 * libc/include/sys/time.h: ditto
1410 * libc/include/sys/unistd.h: ditto
1411 * libc/include/ctype.h: ditto
1412 * libc/include/stdlib.h: ditto
1413 * libc/include/sys/reent.h: struct _atexit function ptr takes a
1414 void, same with _sig_func.
1416 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
1418 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
1419 for MB_CAPABLE to reduce code size when newlib is not configured
1420 with --enable-newlib-mb.
1421 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
1422 mbtowc_r.o to minimize size.
1423 * libc/stdlib/Makefile.in: Rebuild.
1425 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
1427 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
1429 * libc/sys/sparc64/Makefile.in: Rebuild.
1431 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
1433 * Makefile.am (MAKEOVERRIDES): Define.
1434 * Makefile.in: Rebuild.
1436 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
1438 * libc/sys/sparc64/sys/stat.h (stat): Add const.
1440 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
1442 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
1443 newlib_cflags when looking for targ-include.
1444 * */aclocal.m4, */configure: Rebuild.
1446 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
1448 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
1451 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
1453 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
1454 on SPARCs with little-endian data.
1455 * libc/include/machine/ieeefp.h: Ditto.
1457 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
1459 * acinclude.m4: Handle a relative srcdir correctly when setting
1461 * */aclocal.m4, */configure: Rebuild.
1463 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
1465 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
1466 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
1467 * libm/math/wrf_gamma.c (gammaf_r): ditto
1468 * libm/math/wr_lgamma.c (lgamma_r): ditto
1469 * libm/math/wr_gamma.c (gamma_r): ditto
1470 * libm/math/wf_sqrt.c (sqrtf): ditto
1471 * libm/math/wf_sinh.c (sinhf): ditto
1472 * libm/math/wf_scalb.c (scalbf): ditto
1473 * libm/math/wf_remainder.c (remainderf): ditto
1474 * libm/math/wf_pow.c (powf): ditto
1475 * libm/math/wf_log10.c (log10f): ditto
1476 * libm/math/wf_log.c (logf): ditto
1477 * libm/math/wf_lgamma.c (lgammaf): ditto
1478 * libm/math/wf_jn.c (jnf, ynf): ditto
1479 * libm/math/wf_j1.c (j1f, y1f): ditto
1480 * libm/math/wf_j0.c (j0f, y0f): ditto
1481 * libm/math/wf_hypot.c (hypotf): ditto
1482 * libm/math/wf_gamma.c (gammaf): ditto
1483 * libm/math/wf_fmod.c (fmodf): ditto
1484 * libm/math/wf_exp.c (expf): ditto
1485 * libm/math/wf_cosh.c (coshf): ditto
1486 * libm/math/wf_atanh.c (atanhf): ditto
1487 * libm/math/wf_atan2f.c (atan2f): ditto
1488 * libm/math/wf_asin.c (asinf): ditto
1489 * libm/math/wf_acosh.c (acoshf): ditto
1490 * libm/math/wf_acos.c (acosf): ditto
1491 * libm/math/w_sqrt.c (sqrt): ditto
1492 * libm/math/w_sinh.c (sinh): ditto
1493 * libm/math/w_scalb.c (scalb): ditto
1494 * libm/math/w_remainder.c (remainder): ditto
1495 * libm/math/w_pow.c (pow): ditto
1496 * libm/math/w_log10.c (log10): ditto
1497 * libm/math/w_log.c (log): ditto
1498 * libm/math/w_lgamma.c (lgamma): ditto
1499 * libm/math/w_jn.c (jn, yn): ditto
1500 * libm/math/w_j1.c (j1, y1): ditto
1501 * libm/math/w_j0.c (j0, y0): ditto
1502 * libm/math/w_hypot.c (hypot): ditto
1503 * libm/math/w_gamma.c (gamma): ditto
1504 * libm/math/w_fmod.c (fmod): ditto
1505 * libm/math/w_exp.c (exp): ditto
1506 * libm/math/w_cosh.c (cosh): ditto
1507 * libm/math/w_atanh.c (atanh): ditto
1508 * libm/math/w_atan2f.c (atan2): ditto
1509 * libm/math/w_asin.c (asin): ditto
1510 * libm/math/w_acosh.c (acosh): ditto
1511 * libm/math/w_acos.c (acos): ditto
1513 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
1515 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
1516 (fsrc): Add wf_cabs.c and wf_drem.c.
1517 * libm/math/Makefile.in: Rebuild.
1519 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
1520 unused directory variables. Remove duplicate CFLAGS.
1521 * Makefile.in: Rebuild.
1523 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
1524 with $(CC_FOR_BUILD).
1525 (makedoc.o): Likewise.
1526 * doc/Makefile.in: Rebuild.
1528 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
1529 force a definition of COMPILE.
1530 (libfoo_a_SOURCES): Define.
1531 * libc/sys/cygwin32/Makefile.in: Rebuild.
1532 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
1533 force a definition of COMPILE.
1534 (libfoo_a_SOURCES): Define.
1535 * libc/sys/tic80/Makefile.in: Rebuild.
1537 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
1539 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
1542 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
1544 * Build using autoconf and automake. Added many Makefile.am and
1545 configure.in files, plus generated files. Old configure.in files
1546 and all old Makefile.in files completely replaced. Removed
1547 host/any. Added acinclude.m4 and configure.host.
1549 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
1551 * libc/stdio/vfprintf.c: enable long long support, sometimes.
1552 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
1554 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1556 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
1557 * libc/machine/sh/Makefile.in: Add rules for new files.
1559 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1561 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
1562 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
1563 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
1565 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
1567 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
1570 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
1572 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
1573 internal static buffer when s is NULL, as prescribed by ANSI.
1575 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
1577 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
1579 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
1580 libc/stdlib will be used for h8300hms.
1582 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1584 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
1585 version that can be built either for speed or size.
1586 * libc/machine/mn10300/memset.S (_memset): ditto
1587 * libc/machine/mn10300/memchr.S (_memchr): ditto
1588 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
1589 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
1590 * libc/machine/mn10300/strchr.S (_strchr): ditto
1591 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
1592 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
1593 * libc/machine/mn10300/Makefile.in: Added entries for
1594 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
1595 strcmp.o, strcpy.o, and strlen.o.
1597 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
1599 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
1600 been replaced with libgloss/mn10200.
1602 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
1604 * libc/string/strchr.c (strchr): Make s a constant pointer to
1607 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
1609 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
1610 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
1611 board SWIs instead of Demon board SWIs).
1613 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
1615 * libc/string/strncat.c (strncat): Make -Os act the same as
1616 PREFER_SIZE_OVER_SPEED being defined.
1618 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
1620 * libc/string/memchr.c (memchr): Make -Os act the same as
1621 PREFER_SIZE_OVER_SPEED being defined.
1622 * libc/string/memcmp.c (memcmp): Ditto.
1623 * libc/string/memcpy.c (memcpy): Ditto.
1624 * libc/string/memset.c (memset): Ditto.
1625 * libc/string/strcat.c (strcat): Ditto.
1626 * libc/string/strchr.c (strchr): Ditto.
1627 * libc/string/strcmp.c (strcmp): Ditto.
1628 * libc/string/strcpy.c (strcpy): Ditto.
1629 * libc/string/strlen.c (strlen): Ditto.
1630 * libc/string/strncat.c (strncat): Ditto.
1631 * libc/string/strncmp.c (strncmp): Ditto.
1632 * libc/string/strncpy.c (strncpy): Ditto.
1634 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
1636 * libc/include/sys/itimer.h: remove
1637 * libc/include/sys/time.h: itimer stuff should be here
1639 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
1641 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
1642 bit instead of comparing to 0 so -0.0 can be printed correctly.
1644 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1646 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
1648 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
1650 * libc/include/sys/unistd.h: fix sync() proto
1651 * libc/include/sys/fcntl.h: remove _close which is already
1652 defined in unistd.h.
1653 * libc/include/sys/time.h: add getitimer proto
1655 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
1657 * libc/string/strchr.c: convert arg to unsigned char
1658 * libc/include/stdlib.h: add protos for random, srandom
1659 * libc/include/sys/stat.h: add lstat proto
1660 * libc/include/sys/time.h: add setitimer proto
1661 * libc/include/sys/unistd.h: add readlink, symlink protos
1662 * libc/include/process.h: instead of including windows.h and using
1663 HANDLEs in sexec protos, just use void *s. Need to include
1666 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
1668 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
1670 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
1672 * libc/include/process.h: add secure exec protos
1674 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
1676 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
1677 which are accessed as both doubles and integers.
1678 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
1679 * libc/stdlib/strtod.c (_strtod_r): Likewise.
1680 * libc/stdlib/mprec.h: Add "union double_union" and change
1681 word0/word1 macros to use it.
1683 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
1685 * libc/include/sys/signal.h: add __cplusplus wrapper
1687 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
1689 * libc/include/sys/utime.h: new generic file that gets replaced by
1690 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
1692 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
1693 * libc/include/time.h: remove duplicate utime proto
1694 * libc/include/utime.h: add comment
1696 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
1698 * libc/include/sys/time.h: Add missing include to
1699 allow use of _EXFUN. Remove times function that is
1700 already defined in times.h.
1702 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
1704 * libc/include/time.h: Fix typo in tzset.
1706 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
1708 * libc/include/sys/time.h: add missing Cygwin32 function protos
1709 * libc/include/sys/unistd.h: ditto
1710 * libc/include/time.h: ditto
1712 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
1714 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
1716 * libc/include/sys/types.h: add a new __MS_types__ section
1717 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
1718 __BIT_TYPES_DEFINED__.
1720 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
1722 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
1723 since it overrides the one in libc/include/sys. Also, start
1726 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
1728 * libm/math/Makefile.in: add s_signgam.o to obj list
1730 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
1732 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
1734 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
1736 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
1737 so don't use defines.
1739 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
1741 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
1743 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1745 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
1746 _current_locale as default locale.
1748 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
1750 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
1751 insufficient space in a chunk.
1753 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
1755 * configure.in (links): Added check for --enable-newlib-mb configure
1756 option which defines the MB_CAPABLE macro.
1757 * libc/locale/locale.c (_setlocale_r): Added support for setting
1758 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
1760 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
1761 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
1762 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
1763 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
1764 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
1765 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
1766 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
1767 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
1768 * libc/stdlib/Makefile.in: Added new multibyte
1769 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
1770 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
1771 _mbstowcs_r(), and _wcstombs_r().
1772 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
1773 for JIS, SJIS, and EUC-JP characters.
1774 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
1776 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
1778 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
1780 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
1781 if MB_CAPABLE defined.
1782 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
1783 if MB_CAPABLE defined.
1784 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
1785 to the format string processing when MB_CAPABLE.
1786 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
1789 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
1791 The following modifications are courtesy of Anthony Thompson,
1792 athompson@cambridge.arm.com:
1793 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
1794 boith RDI and RDP monitors.
1795 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
1796 RDI and RDP monitors.
1798 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
1800 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
1801 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
1802 (_swiopen): Fixed open flags to treat write with append as just append.
1803 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
1804 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
1806 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1808 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
1809 When needing to transfer an initial 2-byte-word, store as
1812 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1814 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
1816 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
1817 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
1819 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
1821 * configure.in (target_cflags): If --enable-target-optspace, use
1822 -Os to compile newlib rather than -O2. Default to using -Os for
1823 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
1826 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
1828 * libc/include/machine/setjmp.h: change sigsetjmp and
1829 siglongjmp definitions to use an array instead of a struct
1832 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
1834 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
1836 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
1838 * libc/string/strxfrm.c: fix to get correct return value
1840 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
1842 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
1843 builds. Make mode change labels global so that they will be seen
1846 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
1848 * configure.in (links): Do not use ARM debiugging protocols for PE
1851 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
1854 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1856 * libc/stdio/findfp.c (__sinit): Made stdout default to
1857 line buffered mode as defined by ANSI.
1859 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
1861 * libc/include/sys/itimer.h: New file.
1863 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
1865 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1867 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
1870 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
1872 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
1875 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
1877 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
1879 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
1881 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
1884 * libc/include/machine/setjmp.h: Add D30V support.
1886 * configure.in (d30v-*): Add d30v machine directory.
1888 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
1890 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
1891 been replaced with libgloss/mn10300.
1893 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
1895 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
1896 it is no longer needed.
1898 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
1900 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
1902 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
1904 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
1905 the file when O_APPEND is set, wherever the EOF happens to be at
1908 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
1910 patch from cgf@bbc.com (Christopher Faylor):
1911 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
1912 convention of closing fp prior to attempting to open the file
1913 argument. This allows correct operation when reopening
1914 stdin/stdout/stderr. Replaces last freopen.c patch.
1916 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
1918 patch from cgf@bbc.com (Christopher Faylor):
1919 * libc/stdio/freopen.c: freopen was not preserving the fd
1920 of the stream being operated on. This confuses programs that
1921 expect that the handles for stdout and stderr will be 1 and 2.
1923 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
1925 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
1927 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
1929 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
1931 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
1933 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
1934 altered to not use a branch. Also added hint that last
1935 bclr in longjmp will likely result in branch.
1938 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
1940 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
1942 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
1944 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
1947 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
1949 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
1951 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
1952 that loads FR14 to specify offset of 8 rather than 4
1953 so it loads from offset 96 (where setjmp stored it).
1955 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1957 * libc/machine/sh/memcpy.S: (_memcpy): Update to
1958 latest version supplied by customer.
1959 * libc/machine/sh/memset.S (_memset): Ditto.
1961 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
1963 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
1966 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
1968 * libc/include/string.h: remove redefinition of ffs
1970 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
1972 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
1975 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1977 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
1978 TI Libraries to link to libc.a
1980 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
1982 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
1983 * libc/include/sys/stat.h (_{,f}stat): Ditto.
1984 * libc/include/sys/wait.h (_wait): Ditto.
1985 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
1986 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
1988 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
1990 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
1991 minded stabs so function name shows up when running the simulator
1993 * libc/sys/d10v/{crt0,trap}.S: Ditto.
1995 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
1997 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
1998 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
1999 Use R5 where we used to use R3.
2001 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
2003 * libc/stdlib/getopt.c (getopt): replaced __progname
2004 with nargv[0] to improve portability to imbedded systems.
2006 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
2008 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
2009 patch supplied by Tont.Thompson@arm.com to fix the creation of the
2012 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
2014 * libc/stdio/tmpnam.c (worker): Generate a different file name
2017 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
2018 fails, try an execlp for sh.
2020 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
2021 option for the winsup include directory.
2023 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
2025 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
2026 debugging interface from Tony.Thompson@arm.com.
2028 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
2029 * libc/sys/arm/swi.h: ditto.
2031 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2033 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
2034 DIR struct used for readdir hashes.
2036 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
2038 * libc/string/strchr.c: Use "unsigned chars" as necessary.
2040 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
2042 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
2045 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
2047 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
2048 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
2049 * libc/include/malloc.h: Add extern "C" if __cplusplus.
2050 (__malloc_copy): Declare.
2052 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
2054 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
2056 (POINTER_UINT): Define.
2057 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
2058 (MALLOC_ALIGNMENT): Don't define if already defined.
2059 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
2062 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
2064 * libc/string/memset.c (memset): Fiddle with code so that the long
2065 value being stored is not a stack value. Unroll storing longs 4
2068 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
2070 * Reduce code size for libm modules.
2071 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
2072 and simply move code into sqrt.
2073 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
2074 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
2075 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
2076 * libm/math/wr_gamma.c (gamma_r): Likewise.
2077 * libm/math/wf_sinh.c (sinfh): Likewise.
2078 * libm/math/w_sinh.c (sinh): Likewise.
2079 * libm/math/wf_scalb.c (scalbf): Likewise.
2080 * libm/math/w_scalb.c (scalb): Likewise.
2081 * libm/math/wf_remainder.c (remainderf): Likewise.
2082 * libm/math/w_remainder.c (remainder): Likewise.
2083 * libm/math/wf_pow.c (powf): Likewise.
2084 * libm/math/w_pow.c (pow): Likewise.
2085 * libm/math/wf_log10.c (log10f): Likewise.
2086 * libm/math/w_log10.c (log10): Likewise.
2087 * libm/math/wf_log.c (logf): Likewise.
2088 * libm/math/w_log.c (log): Likewise.
2089 * libm/math/w_lgamma.c (lgamma): Likewise.
2090 * libm/math/wf_lgamma.c (lgammaf): Likewise.
2091 * libm/math/wf_jn.c (jnf): Likewise.
2092 * libm/math/w_jn.c (jn): Likewise.
2093 * libm/math/wf_j1.c (j1f): Likewise.
2094 * libm/math/w_j1.c (j1): Likewise.
2095 * libm/math/wf_j0.c (j0f): Likewise.
2096 * libm/math/w_j0.c (j0): Likewise.
2097 * libm/math/wf_hypot.c (hypotf): Likewise.
2098 * libm/math/w_hypot.c (hypot): Likewise.
2099 * libm/math/wf_gamma.c (gammaf): Likewise.
2100 * libm/math/w_gamma.c (gamma): Likewise.
2101 * libm/math/wf_fmod.c (fmodf): Likewise.
2102 * libm/math/w_fmod.c (fmod): Likewise.
2103 * libm/math/wf_exp.c (expf): Likewise.
2104 * libm/math/w_exp.c (exp): Likewise.
2105 * libm/math/wf_cosh.c (coshf): Likewise.
2106 * libm/math/w_cosh.c (cosh): Likewise.
2107 * libm/math/wf_atanh.c (atanhf): Likewise.
2108 * libm/math/w_atanh.c (atanh): Likewise.
2109 * libm/math/wf_atan2.c (atan2f): Likewise.
2110 * libm/math/w_atan2.c (atan2): Likewise.
2111 * libm/math/wf_asin.c (asinf): Likewise.
2112 * libm/math/w_asin.c (asin): Likewise.
2113 * libm/math/wf_acosh.c (acoshf): Likewise.
2114 * libm/math/w_acosh.c (acosh): Likewise.
2115 * libm/math/wf_acos.c (asocf): Likewise.
2116 * libm/math/w_acos.c (acos): Likewise.
2117 * libm/math/wf_sqrt.c (sqrtf): Likewise.
2118 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
2119 for embedded systems.
2121 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
2123 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
2124 Lea in case of a foreign sbrk.
2126 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
2128 Incorporate Doug Lea's malloc:
2129 * libc/stdlib/mallocr.c: Completely replaced.
2130 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
2132 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
2133 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
2135 (mallinfo, malloc_stats, mallopt): New functions.
2136 (_mstats_r): Just call _malloc_stats_r.
2137 * libc/stdlib/malign.c: New file.
2138 * libc/stdlib/mlock.c: New file.
2139 * libc/stdlib/msize.c: New file.
2140 * libc/stdlib/mtrim.c: New file.
2141 * libc/stdlib/realloc.c: New file.
2142 * libc/stdlib/valloc.c: New file.
2143 * libc/stdlib/malloc.h: Remove.
2144 * libc/stdlib/callocr.c: Remove.
2145 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
2146 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
2147 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
2148 reallocr.o, valloc.o, vallocr.o.
2149 (CHEWOUT_FILES): Add mlock.def, mstats.def.
2150 (MALLOC_CFLAGS): New variable.
2151 (mallocr.o): New target, build from mallocr.c.
2152 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
2153 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
2154 (msizer.o, malloptr.o): Likewise.
2155 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
2156 (valloc.o): New target.
2157 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
2158 * libc/include/malloc.h: Declare struct mallinfo, and new
2160 * libc/include/stdlib.h (cfree): Correct declaration.
2162 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
2164 * libc/include/machine/setjmp.h: Add support for Thumb target.
2166 * libc/include/machine/ieeefp.h: Add support for Thumb target.
2168 * configure.in (links): Add support for Thumb target.
2170 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
2172 * libc/sys/arm/setjmp.S: Updated with version from branch.
2174 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
2176 * libc/include/stdio.h: add POSIX-required define L_ctermid
2179 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
2181 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
2182 addition to MISSING_SYSCALL_NAMES.
2184 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2186 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
2188 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
2190 * libc/include/string.h: change strsignal proto to return
2191 a char *. This eliminates compile problems in gdb resulting
2192 from gdb's definition of strsignal in defs.h.
2194 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
2196 * libc/sys/cygwin32/sys/utime.h: new (moved here from
2197 winsup/include) so as not to conflict with the one in
2199 * libc/include/string.h: add protos for strsignal, strtosigno
2201 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
2203 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
2205 * configure.in (d30v-*-*): Add configuration.
2207 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
2209 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
2210 to select which kind of debug monitor is in use for an ARM target.
2212 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
2213 Angel and Demon debug monitors. Part of this code was supplied by
2214 Tony Thompson at ARM: athompso@arm.com.
2216 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
2218 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
2219 semantics when the count is greater than the length of the second
2222 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
2224 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2225 * libc/include/sys/unistd.h: add protos for usleep, truncate,
2226 truncate and ftruncate take off_t, not size_t
2228 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
2230 * libc/string/strcat.c (strcat): Add missing comment end.
2231 * libc/string/strncat.c (strncat): Likewise.
2233 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
2235 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2237 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
2238 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2240 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2241 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2242 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2244 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
2246 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2247 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2249 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
2251 * libc/machine/i386/setjmp.S: New file.
2252 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2253 (OFILES): Add setjmp.o.
2254 (setjmp.o): Add rule for.
2255 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2257 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
2258 Jeffrey A Law (law@cygnus.com)
2260 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2261 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2262 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2263 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2265 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
2267 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
2270 * libc/include/sys/config.h: Use __v850 to select v850
2273 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
2276 * libc/include/machine/ieeefp.h: Use __v850 to select v850
2279 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
2281 * libc/stdlib/setenv.c: change unsetenv definition to match
2282 style of setenv (with _DEFUN). The string should be a const.
2283 * libc/include/stdlib.h: unsetenv proto should return void.
2285 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
2287 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
2289 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
2291 * libc/stdio/glue.h: remove.
2292 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
2293 * libc/stdio/Makefile.in: remove glue.h dependencies
2295 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
2297 * libc/sys/sysnecv850/crt0.S: Created V850e version.
2299 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
2301 * configure.in (target_cpu): Add `arc'.
2303 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
2305 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
2306 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
2307 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
2308 * newlib/libc/reent/reent.c: Add _wrapup_reent.
2309 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
2311 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
2313 * libc/machine/mips/setjmp.S: Handle mips16 builds.
2315 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
2317 * libc/include/stdio.h (siprintf): Declare.
2319 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
2321 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
2322 TARGET_CFLAGS and NEWLIB_FLAGS.
2324 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2326 * configure.in (links): Add support for v850ea target.
2328 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2330 * configure.in (links): Add support for v850e target.
2332 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
2334 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
2336 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
2338 * configure.in (arc-*-*): Add support for.
2339 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
2341 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2343 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
2345 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
2347 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
2348 comparison which accesses invalid memory when the key is
2349 larger than the last member of the array.
2350 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
2352 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
2354 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
2356 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
2359 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
2361 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
2362 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
2364 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
2366 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
2367 to load/store memory.
2369 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
2371 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
2372 underscores if _WIN32.
2374 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
2376 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
2377 support ifdef _USE_WRITE missed in last change.
2378 From Anders Blomdell <anders.blomdell@control.lth.se>.
2380 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
2382 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
2383 (_tmpnam_r, _tempnam_r): Update.
2385 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
2387 * libc/machine/sparc/setjmp.S: New file.
2388 * libc/machine/sparc/Makefile.in: Add setjmp.
2389 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
2391 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
2393 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
2395 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
2397 From Joel Sherrill <joel@oarcorp.com>.
2398 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
2400 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
2401 * configure.in: Recognize *-*-rtems*.
2402 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
2403 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
2404 time.h,times.h,types.h}: New files.
2405 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
2407 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
2409 patch from sos@prospect.com.ru (Sergey Okhapkin):
2410 * include/sys/wait.h: correct operator precidence bug
2413 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
2415 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
2416 with newlib's unsetenv function
2417 * libc/sys/cygwin32/sys: new directory for includes
2418 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
2419 here from winsup/include/sys
2421 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
2423 * libc/include/sys/unistd.h: _exit should only be
2424 labelled noreturn when not __CYGWIN32__
2425 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
2426 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
2429 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
2431 * libc/include/sys/time.h: Only define timeval and timezone if
2432 _GNU_H_WINDOWS32_SOCKETS is not defined.
2433 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
2435 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
2437 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
2438 * libc/machine/mn10300/setjmp.S: Likewise.
2440 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
2441 the mn10300 (more relaxing opportunities).
2443 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
2445 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
2446 Build libraries with -mstrict-align.
2448 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
2450 * libc/string/strlwr.c: New file.
2451 * libc/string/strupr.c: New file.
2452 * libc/include/string.h: Declare strlwr and strupr.
2453 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
2454 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
2455 (strlwr.o, strupr.o): New targets.
2456 * libc/string/strings.tex: Include strlwr and strupr docs.
2458 * libc/include/sys/types.h: Don't define u_char, et. al., if
2459 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
2460 et. al. Make FD_SETSIZE default 64 rather than 60. Define
2461 _types_fd_set rather than fd_set, and define fd_set as a macro.
2463 * libc/include/malloc.h: New file.
2465 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
2466 strnicmp if they are not already defined.
2468 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
2469 _timezone, _daylight, and _tzname.
2471 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
2473 * configure.in: Sort all configuration tables.
2475 From Joel Sherrill <joel@oarcorp.com>
2476 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
2478 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
2480 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
2481 use int when declaring kill.
2483 * libc/include/sys/timeb.h: New file.
2485 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
2487 * libc/include/sys/time.h: add itimer support for Cygwin32
2489 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
2491 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
2492 out a message that abort was called to stderr.
2494 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
2496 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
2497 so that libio doesn't freak.
2499 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
2502 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
2503 memory sizes, not int.
2505 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
2507 * libm/math/ef_hypot.c: Use long constants where
2509 * libm/math/ef_sqrt.c: Ditto.
2511 * libc/sys/sysmec/times.c(_times): Change to times.
2513 * libc/sys/sysmec/read.c(_read): The third argument is
2515 * libc/sys/sysmec/write.c (_write): Ditto.
2517 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
2518 (_lseek): It's off_t for the second argument.
2520 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
2522 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
2523 as well as machine/ieeefp.h.
2525 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
2527 * libc/include/sys/signal.h: add signal protos for winsup
2528 functions (when __CYGWIN32__), include types.h
2529 * libc/include/sys/types.h: Change __go32_types__ internal
2530 define to __MS_types__ since it's used for more than just
2531 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
2533 * libc/include/sys/unistd.h: add ftruncate proto for
2534 winsup functions (when __CYGWIN32__)
2536 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
2538 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
2540 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
2542 * libc/include/machine/setjmp.h: Add tic80 support.
2543 * libc/machine/tic80/setjmp.S: Likewise.
2545 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
2547 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
2548 link programs from libraries only (such as in the X11
2551 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
2553 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
2554 supplied elsewhere in newlib.
2556 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
2558 * Makefile.in (INSTALL): Change install.sh to install-sh.
2560 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
2562 * README: update WWW address for on-line documentation.
2564 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
2566 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
2569 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
2571 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
2573 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
2575 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
2577 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
2578 * libc/sys/d10v/syscalls.c: Likewise.
2579 * libc/sys/h8300hms/sbrk.c: Likewise.
2580 * libc/sys/h8500hms/syscalls.c: Likewise.
2581 * libc/sys/m88kbug/syscalls.c: Likewise.
2582 * libc/sys/sh/syscalls.c: Likewise.
2583 * libc/sys/sysmec/sbrk.c: Likewise.
2584 * libc/sys/sysnecv850/sbrk.c: Likewise.
2585 * libc/sys/w65/syscalls.c: Likewise.
2586 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
2588 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
2590 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
2591 emulated syscall instead of "trap".
2593 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
2595 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
2598 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
2600 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
2602 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
2604 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
2606 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
2608 * libc/sys/tic80/crt0.c: New file for TIc80.
2609 * libc/sys/tic80/Makefile.in: New file for TIc80.
2610 * libc/machine/tic80/Makefile.in: New file for TIc80.
2612 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
2614 * libc/machine/sh/memcpy.S: New file.
2615 * libc/machine/sh/memset.S: New file.
2616 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
2618 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
2620 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
2623 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
2625 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
2628 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
2630 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
2631 (patch from andrew@pogo.WV.TEK.COM).
2633 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
2635 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
2636 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
2638 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
2640 * configure.in: Add cases for "tic80" to set machine_dir,
2641 sys_dir, and syscall_dir.
2643 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
2645 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
2647 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
2649 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
2651 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
2653 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
2654 Use proper constant prefix.
2656 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
2658 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
2659 that loses on the mn10200 where ints and pointers are different
2662 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
2664 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
2665 target as signal is provided in winsup.
2667 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
2669 * libc/include/sys/process.h: Corrected const definitions
2670 in spawn functions. Added cwait.
2672 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
2674 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
2676 * libc/include/sys/config.h: Similarly.
2678 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2680 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
2682 (i[3456]86-*-sco*): Ditto.
2684 * libc/signal/Makefile.in (OFILES): Add signal.o.
2685 (CFILES): Add signal.c.
2687 * libc/signal/raise.c (_raise_r): Only compile code if
2688 SIGNAL_PROVIDED is defined.
2690 * libc/signal/signal.c: Redo whole file so that it works with
2691 current newlib. Use _kill_r if no signal handler provided.
2693 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
2695 * libc/sys/sysvnecv70/Makefile.in: Ditto.
2696 * libc/sys/sysnecv850/Makefile.in: Ditto.
2698 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
2699 * libc/sys/sysmec/{raise,signal}.c: Ditto.
2700 * libc/sys/sysvnecv70/signal.s: Ditto.
2701 * libc/sys/sysnecv850/raise.c: Ditto.
2703 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
2704 simulator and debugger can tell the difference between a signal
2705 being raised and an exit system call.
2707 * NEWS: Document software signals being provided.
2709 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2711 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
2712 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
2713 include/sys/config.h.
2714 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
2715 Change from 'inpure_data'.
2716 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
2717 &impure_data, not &inpure_data.
2719 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
2720 and and System V ABI, define so that _impure_ptr lives in the
2723 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2725 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
2726 nothing if not defined.
2727 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
2730 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
2732 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
2734 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
2735 * libc/sys/sysmec/trap.s: Handle mn10200 too.
2736 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
2738 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
2740 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
2742 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
2744 * libc/include/sys/errno.h: Added net errno's.
2746 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2748 * libc/misc/ffs.c: New file to support ffs function for GCC test
2749 gcc.c-torture/execute/960909-1.c.
2751 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
2753 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
2755 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
2756 * libc/sys/sysmec/trap.S: Likewise.
2758 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
2760 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
2761 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
2763 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
2765 * libc/sys/sysmec/signal.c: Dummy file.
2766 * libc/sys/sysmec/Makefile.in: Build it.
2768 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
2770 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
2773 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
2775 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
2776 c-startup and simulator traps.
2779 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
2780 * libc/sys/sysmec/trap0.S: Likewise.
2782 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2784 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
2785 round to double word alignment.
2786 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
2789 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
2791 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
2794 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
2796 * configure.in: Handle mn10200 and mn10300.
2797 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
2798 * libc/include/sys/config.h: Likewise.
2799 * libc/sys/sysmec: New directory for mec stuff.
2800 * libc/machine/mn10300: New directory for mn10300 stuff.
2801 * libc/machine/mn10200: Similarly for mn10200 stuff.
2803 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
2805 * libc/sys/arm/crt0.S: Use .text, not .section .text.
2806 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
2808 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
2809 (nlink_t): Change type from unsigned int to unsigned short.
2810 (mode_t): Ensure size is 32 bits even if int is 16.
2811 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
2812 (st_spare[123]): Change type from int to long.
2814 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2816 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
2819 * configure.in (d10v*): Define SMALL_MEMORY.
2821 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2823 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
2824 -mrelocatable-lib and -mno-eabi flags.
2826 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
2828 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
2829 Fix handling of mis-aligned source operand when both the
2830 destination & length are properly aligned.
2832 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
2834 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
2835 times.o, time.o and gettime.o
2836 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
2837 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
2840 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
2842 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
2843 * libc/sys/sysnecv850/access.c: New file.
2845 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
2847 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
2849 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
2852 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
2854 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
2856 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
2858 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
2859 * libc/include/sys/config.h: Add m32r support.
2861 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
2863 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
2866 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
2868 * libc/include/machine/setjmp.h: Add D10v support.
2870 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
2872 * configure.in: Configure the "libc/syscalls" directory for
2875 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
2876 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
2877 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
2878 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
2879 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
2881 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
2883 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
2884 stack for args for main and other routines. Zero out args for
2887 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
2890 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2892 * libc/stdio/findfp.c (std): Remove extraneous ';' after
2895 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
2897 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
2898 real system calls now.
2900 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
2901 before casting them to int.
2902 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
2904 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
2906 * libc/string/memset.c (memset): Ditto.
2908 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
2909 first convert ints to _POINTER_INT to eliminate GCC warning.
2911 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
2914 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
2915 from 65000 if ints are only 16 bits.
2917 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
2918 from 50000 if ints are only 16 bits.
2920 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
2921 int type that is the same size as a pointer.
2923 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
2925 (get_number): Explicitly cast number to long before shifting by 16
2926 or 24, in case ints are short.
2928 * libc/include/sys/config.h (_POINTER_INT): Define as short.
2930 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
2932 * libc/string.h: Added ffs, removed swab.
2933 * libc/sys/errno.h: Added EOPNOTSUPP.
2934 * libc/sys/unistd.h: Added swab.
2936 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
2938 * libc/include/sys/stat.h: Added fchmod.
2939 * libc/include/sys/unistd.h: Added fsync.
2941 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
2943 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
2944 and ECONNRESET (104) for cygwin32.
2946 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
2948 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
2949 do the static destructors.
2951 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
2953 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
2955 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
2957 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
2958 * configure.in: Recognize m32r-*-*.
2960 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
2962 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
2963 __rt_stkovf_split_small): Added default software stack overflow
2964 handlers, which just call SWI_Exit.
2965 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
2966 limit initialisation.
2968 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
2970 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
2972 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
2974 * libc/include/sys/types.h: Added ssize_t definition.
2976 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2978 * libc/machine/d10v/setjmp.S: Use ';' for comments.
2979 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
2981 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
2982 branch around a single ldi instruction.
2984 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
2985 Call exit, instead of just issuing a stop instruction.
2987 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2989 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
2991 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2993 * libc/stdlib/mprec.h: Explicitly declare all large constants as
2994 longs, and then cast them to __uint32_t.
2996 * libc/include/sys/config.h: Protect against multiple inclusions.
2998 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
3000 * configure.in (d10v*): Set syscall_dir.
3002 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
3004 * libc/sys/d10v/crt0.S: Set stack pointer.
3006 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
3008 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
3009 in assembly for efficiency. Change calling convention to allow
3010 long ints to be returned.
3012 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3014 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
3016 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
3018 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
3019 Handle empty entries in $PATH.
3021 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
3023 * libc/machine/d10v/setjmp.S: Make it really work.
3025 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
3027 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
3030 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
3032 * sys/sysnecv850/sys/file.h: Remove.
3033 * sys/sysnecv850/sys/syscall.h: New file.
3034 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
3035 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
3036 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
3037 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
3038 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
3039 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
3040 * sys/sysnec850/trap.S: New file.
3041 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
3043 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
3044 * sys/sysnec850/sbrk.c: New version.
3046 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
3048 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
3049 as long as r6 is less than r7.
3051 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
3053 * Makefile.in (mostlyclean): Separate from clean target. Don't
3054 remove *.a or targ-include.
3055 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
3057 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3059 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
3061 (__SMALL_BITFIELDS): Ditto.
3063 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
3065 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
3067 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
3070 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
3071 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
3072 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
3073 * libc/sys/sysnecv850/write.c (write): Likewise.
3075 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
3078 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3080 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
3081 appropriately for D10V, depending on -mint16/-mint32.
3083 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
3085 * configure.in: Add cases for D10V.
3087 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3089 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3091 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
3093 * libc/include/machine/ieeefp.h: Fix typo.
3095 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
3097 * libc/sys/d10v: New directory for D10V stuff.
3098 * libc/include/machine/ieeefp.h: Add D10V defines.
3100 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
3102 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
3103 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
3104 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
3105 * libc/string/strerror.c (strerror): Add them.
3107 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
3109 * libc/sys/sysnecv850: New directory for v850 stuff.
3111 * libc/machine/v850: New directory for v850 stuff.
3112 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
3114 * configure.in: Add support for the v850.
3116 * libc/include/machine/ieeefp.h: Add v850 defines.
3117 * libc/include/machine/setjmp.h: Likewise.
3118 * libc/include/sys/config.h: Add v850 defines.
3120 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
3122 * libc/include/machine/ieeefp.h
3123 * libc/include/machine/setjmp.h
3124 * libc/include/sys/fcntl.h
3125 * libc/include/sys/signal.h
3126 * libc/include/sys/types.h
3127 * libc/stdlib/system.c:
3128 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
3129 API availability, __CYGWIN32__ for cygwin32 environment specific).
3131 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
3133 * libc/include/stdlib.h: add multibyte character functions. Add
3134 __eprintf for assert.
3136 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3138 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
3139 arithmetic or __alignof__ to properly get the alignment, instead
3140 of hardwiring it to 4.
3142 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
3144 * libc/stdio/fseek.c: add fflush call to adjust seek offset
3145 on append stream (fix from NetBSD sources), adjust curoff offset
3146 for ungetc's benefit.
3147 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
3148 * libc/stdio/rewind.c: replace code with up to date NetBSD
3149 code to undo hacks made to work around above problem of not
3150 having fflush call mentioned above
3152 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3154 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
3155 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
3156 Partially revert last changes. The thread specific errno is set
3157 iff if the underlying syscall fails and the global errno is not
3160 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3162 * libc/reent/filer.c: Removed files, all functions have split out
3163 into their own files.
3164 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
3165 New files containing functions formally in filer.c
3166 * libc/reent/Makefile.in: Updated for above change.
3168 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
3169 syscall fails, not if errno is changed.
3170 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
3171 _write_r): Likewise.
3172 * libc/reent/fstatr.c (_fstat_r): Likewise.
3173 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
3174 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
3175 * libc/reent/signalr.c (_kill_r): Likewise.
3176 * libc/reent/statr.c (_stat_r): Likewise.
3177 * libc/reent/timer.c (_gettimeofday_r): Likewise.
3179 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
3180 signalr.c, statr.c, timer.c} (errno): declare extern rather
3183 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
3184 instead of calling vfprintf so that i*printf will not require
3185 floating point support code.
3187 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
3189 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
3191 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
3192 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
3194 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
3196 * libc/include/signal.h: _sig_func_ptr function takes an int
3197 * libc/include/sys/signal.h: sa_handler function takes an int
3199 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
3201 * libc/include/machine/ieeefp.h: Simplify H8/S support.
3202 * libc/include/sys/config.h: Add missing H8/S conditional.
3204 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
3206 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
3208 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
3210 * libc/include/machine/setjmp.h: Handle H8/S.
3211 * libc/include/machine/ieeefp.h: Likewise.
3212 * libc/include/sys/config.h: Likewise.
3213 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
3214 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
3215 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
3216 * libc/sys/h8300hms/crt0.S: Likewise.
3218 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3220 * Makefile.in (datadir): Set to $(prefix)/share.
3221 (oldincludedir, docdir): Removed.
3222 * doc/Makefile.in (datadir): Set to $(prefix)/share.
3223 (oldincludedir, docdir): Removed.
3224 * libc/Makefile.in (datadir): Set to $(prefix)/share.
3225 (oldincludedir, docdir): Removed.
3226 * libm/Makefile.in (datadir): Set to $(prefix)/share.
3227 (oldincludedir, docdir): Removed.
3229 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
3231 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3234 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
3236 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
3237 fetch current path rules with sysconf and handler posix/win32
3240 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3242 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3243 (WAIT_CHILD): Always define.
3245 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
3247 * libc/stdlib/eprintf.c: New file.
3248 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3249 (eprintf.o): New target.
3251 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
3253 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3254 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3256 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
3258 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3259 NT in PowerPC endianess cases.
3261 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3263 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3265 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3267 * libc/string/strtok.c: Fix doc typo.
3269 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3271 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
3272 _next, _scanpoint, _signgam fields.
3274 * libc/include/stdlib.h (rand_r): Added new declaration.
3275 (_rand_r, _srand_r): Removed declarations.
3276 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
3277 have been made obsolete by rand_r.
3278 * libc/stdlib/rand_r.c: New file, rand_r function as specified
3281 * libc/string/strtok.c: Update documentation to describe
3284 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
3286 * libc/include/sys/stat.h (stat structure): Use the expanded stat
3287 structure on Solaris, and PowerPC systems even though __svr4__ is
3290 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
3292 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
3294 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
3296 * host/any: Use ../.. rather than .. to get to the main build
3297 directory. This matches the current layout of the build
3300 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
3302 * libc/machine/h8300/__main.S: Delete. No longer needed.
3303 * libc/machine/h8300/Makefile.in: Corresponding changes.
3304 * libc/sys/h8300hms/crt1.c: New file.
3305 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
3306 * libc/sys/h8300hms/crt0.s: Call __main.
3308 * libc/sys/h8300hms/crt0.S: Use temporary label names
3311 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
3313 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
3315 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3317 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
3318 .sdata on the PowerPC so that we can link newlib with code
3319 compiled with -msdata.
3321 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
3323 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
3325 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
3327 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
3328 exception handler to __cygwin_exception_handler.
3330 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
3332 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
3334 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
3336 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
3338 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
3339 wcstombs.o): Likewise.
3341 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
3343 * libc/stdlib/environ.c (initial_env): New static local.
3344 (environ): Point to `initial_env'.
3346 * libc/include/machine/setjmp.h: Clean up.
3347 (__H8300H__,__PPC__): Define _JBTYPE.
3348 (__arm__): Provide entry for.
3349 (sigjmp_buf): Delete.
3350 (jmp_buf): Use _JBTYPE if defined, otherwise int.
3352 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
3354 * libc/machine/h8300/strcmp.S: Sign extend the result to
3355 32bits so we don't lose with -mint32.
3357 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
3359 * libc/sys/go32/sys/errno.h: New file.
3360 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
3361 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
3362 errno's address (make compatible with rest of newlib).
3363 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
3364 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
3366 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
3368 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
3369 * libc/machine/sparc/Makefile.in: Build them.
3370 * libc/machine/sparc/machine/sparclet.h: New file.
3372 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3374 * libc/machine/sh/asm.h: New file.
3375 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
3376 support for SH3e's FP registers. Use asm.h.
3378 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
3380 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
3381 as first argument. Call _dtoa_r and pass the reent structure
3382 instead of calling __dtoa.
3384 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
3386 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
3387 the h8300, h8500, and others. Add comments for some rather
3390 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
3392 * Makefile.in (check): Check that testsuite exists before cd.
3394 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3396 * libc/include/string.h (strsep): Correct prototype.
3398 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
3400 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
3401 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
3402 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
3404 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
3406 * libc/posix/{creat.c,isatty.c}: New files.
3407 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
3409 * libc/sys/sparc64/crt0.S (environ): Delete.
3410 (.LHaveBias): Renamed from HaveBias.
3412 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
3414 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
3415 (_morecore_r): Delete SBRK_IS_ALLOC support.
3417 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3419 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
3420 module rather than touch, so we don't get warning messages when
3421 all of the libraries are combined into libc.a.
3423 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
3425 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
3426 crt0.s replaced by version in libgloss.
3428 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3430 * libc/reent/Makefile.in (OFILES): Add impure.o.
3431 * libc/reent/impure.o: New file, define initial reentrancy struct.
3432 * libc/reent/reent.c: Remove above definition.
3434 * libm/math/sf_asinh.c: Fix typo.
3436 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
3439 * libm/libm.texinfo: Change documentation to reflect changes
3440 in reentrancy model.
3441 * libm/math/w_gamma.c: Likewise.
3443 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
3445 * configure.in (*-*-cygwin32): New.
3446 (*-*-win32): Deleted.
3447 * libc/sys/win32 renamed libc/sys/cygwin32.
3449 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3451 * libc/include/sys/file.h: New include file.
3453 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
3455 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
3457 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
3459 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
3461 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3463 * doc/makedoc.c (realloc): Declare at file scope.
3464 (catchar): Not here.
3466 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
3468 * Makefile.in (VERSION): Update to 1.7.0.
3469 * {libc,libm}/Makefile.in (VERSION): Likewise.
3470 * configure.in: Minor clean up of multilib stuff.
3472 From David Johnson <davidj@ICSI.Berkeley.EDU>
3473 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
3475 * libc/stdlib/environ.c: New file.
3476 * libc/stdlib/Makefile.in (OFILES): Build it.
3477 * libc/sys/h8500hms/crt0.c (environ): Deleted.
3478 * libc/sys/m88kbug/crt0.c (environ): Deleted.
3479 * libc/sys/z8ksim/crt0.c (environ): Deleted.
3480 * libc/sys/netware/environ.c: Deleted.
3482 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
3484 * configure.in (links): set sys_dir, posix_dir, syscall_dir
3486 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3488 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
3489 declaration out to external scope and declare it PTR, not char *.
3491 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
3493 * libc/include/sys/unistd.h (getpagesize): New declaration.
3494 (_SC_PAGESIZE): New definition.
3495 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
3496 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
3498 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
3500 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
3501 addressing. System call returns size, not (last address + 1).
3503 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3505 * libm/math/*.c: Removed _foo_r() reentrancy API.
3506 * libc/include/math.h: Removed _foo_r prototypes and macros.
3508 * libm/math/*.c: On systems with IEEE single precision "doubles"
3509 move foo() -> foof() wrapper code from the files that implement
3510 the standard IEEE double precision functions to the files that
3511 implement IEEE single precision functions. (ie. On those systems
3512 sin is moved from s_sin.c to sf_sin.c). There should eventually
3513 be use of a C extension (like gcc's alias attribute) so that the
3514 wrappers are not needed at all.
3516 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
3517 strict NEC V810 compiler.
3518 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
3521 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3523 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
3524 from NetBSD C library.
3525 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
3527 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
3528 and adapted from implementation I wrote for NetBSD C library.
3529 The difference is __assert doesn't take a format argument,
3530 so that there won't be multiple copies of the same string
3531 constant in the executable if assertions are enabled in
3532 more than one source module.
3533 * libc/include/assert.h (assert): Changed to call __assert.
3535 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3537 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
3538 word1 on systems with 32 bit doubles.
3539 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
3540 so that we can do arithmetic on them.
3541 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
3544 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
3546 * libc/sys/arm/crt0.S: Zero bss.
3548 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
3550 * libc/include/unctrl.h: New file.
3551 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
3552 * configure.in (subdirs): Add libc/misc.
3553 * libc/Makefile.in (SUBDIRS): Add misc.
3554 (SUBLIBS): Add misc/lib.a.
3556 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
3558 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
3560 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
3561 (_vfprintf_r): Call CHECK_INIT.
3563 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
3565 * Makefile.in (MULTITOP): Delete.
3566 (MULTISRCTOP, MULTIBUILDTOP): Add.
3567 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3568 instead of cfg-ml-pos.in.
3570 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3572 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
3573 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
3576 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3578 * libc/string/strtok.c: Include string.h to pick up strtok_r
3581 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3583 * libc/string/strtok.c: include <_ansi.h>.
3584 * libc/time/asctime_r.c: `reresult' -> `result'.
3586 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3588 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
3589 in #ifndef _REENT_ONLY ... #endif conditional.
3591 * libc/include/string.h (_strtok_r): Remove declaration.
3592 * libc/include/time.h (_asctime_r): Remove declaration.
3593 * libc/string/strtok.c (_strtok_r): Removed.
3594 * libc/time/asctime.c (_asctime_r): Removed.
3596 * libc/string/Makefile.in (OFILES): Add new object.
3597 * libc/string/strtok_r.c: New file. strtok_r function as
3598 specified by POSIX.1c, adapted from strtok implementation
3599 from NetBSD C library.
3600 * libc/string/strtok.c (strtok): Reimplemented in terms of
3603 * libc/time/Makefile.in (OFILES): Add new objects.
3604 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
3605 New files, reentrant time functions specified by POSIX.1c.
3606 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
3607 reentrant time functions re-written in terms of reentrant
3609 * libc/time/lcltime.c: Renamed from localtime.c
3611 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
3612 gmtime_r, and localtime_r.
3614 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
3616 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
3617 * libc/include/sys/unistd.h (getlogin): Revert change of
3619 * libc/include/sys/signal.h (sigprocmask): Change prototype
3620 so it compiles with c++.
3622 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
3624 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
3625 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
3626 to give some room in case we need to align the jmp_buf.
3628 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
3629 the new ppc-asm.h include file the compiler provides to specify
3630 function prologue/epilogue. Eliminate saves of the xer and ctr
3631 registers, which are volatile. Before starting to save registers,
3632 align to 8 byte boundary.
3634 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3636 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
3637 referenced by standard libraries.
3639 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
3641 * libc/unix/Makefile.in, libc/string/Makefile.in,
3642 libc/stdio/Makefile.in, libc/reent/Makefile.in,
3643 libc/posix/Makefile.in:
3644 Remove tabs from otherwise empty line. Confuses some
3645 older non-GNU versions of "make".
3647 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
3649 * libc/sys/unistd.h (getlogin): Returns const char *.
3651 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
3653 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
3654 * libc/include/errno.h: Moved into and include...
3655 * libc/include/sys/errno.h: New file.
3656 * libc/include/sys/wait.h: New file.
3657 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
3658 * libc/sys/win32/*: Moved out.
3659 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
3660 * configure.in (i[345]86-*-win32): HAVE_RENAME
3662 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3664 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
3665 avoid macro expansion for these two names.
3667 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
3669 * libc/machine/h8500/psi.S: r6 renamed to fp.
3671 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3673 * configure.in (powerpc*): No longer need to define
3674 NO_LONGLONG_POINTERS to supress warnings.
3676 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3678 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
3679 through PTR instead of directly.
3681 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
3682 non-standard constructor support.
3684 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3686 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
3687 address of the Bigint instead of the address of its _x field,
3688 as the size the result buffer was calculated accordingly.
3689 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
3691 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
3692 from NetBSD C library. No longer special cases division by
3693 zero (which needs to be done by the application anyway), but
3694 it doesn't need to call abs() (or labs()) four times either.
3696 * libc/stdlib/qsort.c: Replaced with implementation from
3699 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3701 * libc/stdio/vfprintf.c: Replaced with implementation from
3702 NetBSD C library (which is derived from the 4.4BSD C library).
3703 * libc/stdio/cvt.c: Removed.
3704 * libc/stdio/Makefile: Updated.
3706 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
3708 * libc/sys/win32/syscalls.c (rename): New.
3709 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
3711 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3713 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
3714 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
3716 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
3717 (setjmp.o): Delete rule to build setjmp.o.
3718 * libc/sys/sh/setjmp.S: Delete file.
3720 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3722 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
3723 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
3724 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
3725 pow5mult and s2b to identifiers with leading underscores.
3726 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
3727 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
3729 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
3731 * libc/sys/posix/popen.c (sys/types.h): Include.
3733 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
3735 * libc/sys/win32/syscalls.h (fhandler): New struct.
3736 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
3737 (__fhandler_normal): Declare.
3738 (hinfo): New member op_handlers.
3739 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
3740 (__write): Likewise.
3741 (_read, _write, _open, _close, _lseek): Validate fd here.
3742 Move file type specific stuff to foo_normal.
3743 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
3745 (__lookup_fhandler): New function.
3746 (__lookup_fhandler_hook, __fhandler_normal): New variables.
3748 From anders.blomdell@control.lth.se (Anders Blomdell)
3749 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
3750 Don't touch standard handles.
3751 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
3752 (_execve): Only create __FD_TABLE__ if necessary.
3753 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
3755 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
3757 * libc/sys/win32/sys/termios.h (FLUSHO): New.
3758 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
3759 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
3760 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
3761 without a handler is received.
3762 * libc/sys/win32/Makefile.in: Remove --nodelete.
3763 * libc/sys/win32/resouce.c (gettimeofday): New.
3764 * libc/sys/win32/syscalls.c (path_to_real_path): New.
3765 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
3767 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
3769 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
3770 Don't append "/*" to search pattern if trailing '/' already there,
3772 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
3773 like /'s, convert them to \'s. Handle //<drive>/ path names.
3774 Add space for quoted \'s in arg string. Print translated prog name
3775 and original prog name.
3776 (_execve): Handle parent doing exec a teensy bit better.
3777 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
3778 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
3779 path needs conversion, handle both cases. Delete `const' from result.
3780 (hash_path_name): New function.
3782 (_stat): Likewise. Fill in more fields for directories.
3783 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
3784 (wait_for_any): Fix trace message.
3785 (waitpid): Explicitly test for intpid == 0.
3787 From anders.blomdell@control.lth.se (Anders Blomdell)
3788 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
3791 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
3793 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
3796 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3798 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
3799 at all, not just == 1.
3800 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
3802 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3804 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
3805 * libc/sys/win32/include/wintypes.h: include <winnt.h>
3806 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
3809 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
3811 * libc/sys/syscalls.c (getcwd): Fix off by one error.
3813 * libc/sys/signal.c (sleep): Fill it in.
3814 * libc/sys/termios.c (tcflush): Use PurgeComm
3815 (tcsetattr): Set some more of the bits.
3816 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
3818 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
3820 * libc/sys/arm/crt0.S (fp): Initialize to 0.
3821 Conditionally include .idata$3 stuff ifdef __pe__.
3823 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
3825 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
3826 * libc/sys/win32/pipe.c (pipe): Ditto.
3827 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
3828 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
3829 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
3830 (tcgetattr): Contents are new.
3831 * libc/sys/win32/include/winkernel.h (DCB): New.
3832 (GetCommState, SetCommState): New.
3834 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
3836 * libc/sys/arm/crt0.S (_start): Define.
3838 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
3840 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
3841 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
3843 * libc/sys/win32/sysconf.c: New
3844 * libc/sys/win32/sys/winadvapi.h: New
3845 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
3846 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
3847 * libc/sys/win32/pipe.c (pipe): Ditto.
3848 * libc/sys/win32/signal.c (_raise): New.
3849 (_kill): Moved from spawn.c
3850 * libc/sys/win32/spawn.c (kill): Moved to signal.c
3851 * libc/sys/win32/syscalls.c (__read): Use new fields.
3853 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
3854 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
3855 * libc/include/sys/unistd.h (rmdir): Takes const path.
3856 * libc/include/sys/stat.h (mkdir): Takes const path.
3857 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
3859 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
3861 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
3863 Add support for specifying paths as //<drive>/foo/bar.
3864 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
3865 (__path_to_real_path): Declare.
3866 (PATH_TO_REAL_PATH): New macro.
3867 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
3868 (__path_needs_conversion_p, __path_to_real_path): New functions.
3869 (_open): Fix test for error return from CreateFileA.
3870 Handle new path syntax.
3871 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
3872 * libc/sys/win32/dirsearch.c (opendir): Likewise.
3874 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
3876 * libc/sys/win32/include/*.h: Reorganized
3877 * libc/sys/win32/include/WINREADME: New.
3878 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
3879 * libc/sys/win32/*.c: Fix for new include scheme.
3880 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
3881 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
3882 * libc/sys/win32/passwd.c (*): Fix.
3883 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
3884 (_stat): Get directory owner and permissions right.
3885 * libc/sys/win32/syscalls.h (uinfo): New.
3886 * libc/sys/win32/version.def: Remove leading underscores.
3888 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3890 * libc/sys/win32/key.c: include "include/wincon.h".
3892 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
3894 * libc/sys/win32/{key, stubs}.c: New.
3895 * libc/sys/win32/Makefile: Adjust to cope.
3896 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
3897 (environ_init): Change env names to upper case.
3898 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
3899 * libc/sys/win32/passwd.c (*): Fill in the functions.
3900 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
3901 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
3902 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
3903 (_open): Initialze hmap->execable_p too.
3904 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
3905 (_fstat): Fill in permissions.
3906 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
3908 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
3910 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
3912 (cfg-ml-pos.in invocation): Likewise.
3914 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3916 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
3917 s_isnan.o and sf_isnan.o.
3919 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
3921 * All Makefile.in files: added maintainer-clean target as a
3922 synonym for realclean.
3924 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
3926 * libc/include/machine/setjmp.h: Add hppa support.
3927 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
3929 * libc/machine/hppa/Makefile.in: Related changes.
3931 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
3933 * configure.in (machine_dir): Don't set for v810-*-*.
3935 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3937 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
3938 conventions correctly.
3940 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
3942 * libc/stdio/puts.c: Update documentation of return value to match
3945 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
3947 Fix file descriptor inheritance.
3948 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
3950 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
3951 close-on-exec flag not set. Initialize child's entire fd table.
3952 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
3954 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
3955 if CHILD_P. Initialize entire hmap entry.
3956 (dup): Only create new handle as inheritable if CHILD_P.
3957 (dup2): Likewise. Properly initialize hmap entry.
3959 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
3961 (_exit): Use CHILD_P.
3962 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
3965 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3967 * libc/sys/win32/crt0.c (passover): fix up the state table.
3968 * libc/posix/popen.c: Added.
3969 * libc/posix/Makefile.in: compile popen.c.
3971 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
3973 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
3974 h8/500 define _DOUBLE_IS_32BITS.
3976 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
3978 Get vfork/exec/spawn/cwait/wait working again.
3979 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
3980 (procinfo): New member vfork_level.
3981 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
3982 (vfork_init_first): Use GetCurrentProcessId to get pid.
3983 Initialize vfork_level.
3984 (vfork_init): Delete __PID__.
3985 (environ_init): New function. Undo patch of Aug 19, Posix says
3986 environment variables are case sensitive.
3987 (mainCRTStartup): Call it.
3988 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
3989 (my_longjump: Make static.
3990 (_spawn): New argument `h'. Delete setting of __PID__.
3991 Delete local `idx'. Look for chars that need quotes, rather than
3992 ones that don't. Set handle of created process in `h'.
3993 Result is process id if created task.
3994 (allocate_spawn_entry): New function.
3995 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
3996 (_execve): Set __FD_TABLE__ before spawning child.
3997 Scan our fd table when passing fds, not our parent's.
3998 Store handle and pid in procinfo entry.
3999 (vfork0): Ensure strace message always printed.
4000 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
4001 (vfork): Don't clobber result of vfork0.
4002 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
4003 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
4005 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
4007 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
4008 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
4009 adding vfork level to pseudo-pid.
4010 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
4011 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
4012 (_exit): If child, set exit code.
4013 (__vfork_record_death): Only close process handle if valid.
4014 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
4016 (wait_for_any): Likewise. Start scan after root entry.
4018 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4020 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
4021 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
4022 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
4023 of actual file length.
4025 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
4026 * libc/include/paths.h: _PATH_BSHELL added.
4027 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
4030 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4032 * libc/include/ar.h: Added.
4033 * libc/include/sys/types.h: ino_t goes back to 32-bits.
4034 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
4035 * libc/sys/win32/syscalls.c (_open): compute .namehash based
4037 (_fstat): use .namehash for inode number of the fd.
4039 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
4041 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
4042 Change hinfo to __this_procinfo.
4043 * libc/sys/win32/crt0.c: Remove procinfo_list.
4045 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4047 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
4050 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4052 * libc/sys/win32/include/grp.h: Removed.
4053 * libc/sys/include/grp.h: Added.
4054 * libc/sys/win32/grp.c: Include <grp.h>.
4056 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
4058 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
4059 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
4060 Defined for all but strict ANSI.
4061 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
4062 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
4063 * libc/signal/signal.c (_signal_r): Changed from using
4064 _MAX_SIGNALS to NSIG.
4065 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
4067 (__strace, __vfork_next_pid): New.
4068 (__exe_suffix): Default to 1.
4069 (passover, table): Understand quoted arguments.
4070 (vfork_init_first): New.
4071 (vfork_init): Initialize new process structure.
4072 (mainCRTStartup): Pass environ to main.
4073 * exceptions.c (__sig_mask): New
4074 (ehandler3): Ignore signals in mask.
4075 (really_exit): Remove CHILD_P test.
4076 * pipe.c (pipe, dup, dup2): Use new process and file structure.
4077 * resource.c (getrusage): Ditto.
4078 * signal.c (sigprocmask): New.
4079 * spawn.c (*): Rewritten.
4080 * syscalls.c (*): Use new process and file structure.
4081 (find_unused_handle): New.
4082 * syscalls.h (MAX_HANDLES): Deleted.
4083 (hinfo): Removed child_created_p.
4084 (MAX_CHILDREN): Deleted.
4085 (vfork_jmp_info, procinfo): New.
4086 * wait.c (*): Mostly new.
4087 * sys/strace.h (_STRACE_PARANOID): New.
4088 * sys/param.h: New file.
4090 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4092 * libc/include/sys/stat.h: add S_BLKSIZE.
4093 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
4094 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
4096 (mode_t): add a #else to avoid multiple definitons.
4098 * libc/sys/win32/Makefile.in: add grp.c.
4099 * libc/sys/win32/grp.c: include grp.h correctly.
4100 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
4101 of the st structure with real information.
4102 * libc/sys/win32 (dirent): d_ino is of type ino_t.
4104 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
4106 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
4107 and (maybe) sparc64.
4108 (nlink_t): Provide typedef.
4110 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4112 * libc/sys/win32/grp.c: New file.
4113 * libc/sys/win32/include/grp.h: New file.
4115 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4117 * libc/include/machine/ieeefp.h: Added whitespace to make this
4118 file easier to maintain.
4119 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
4120 depending on the value of __LITTLE_ENDIAN__.
4121 On the sh3e, define _DOUBLE_IS_32BITS.
4123 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
4125 * libc/sys/vr4300/syscalls.c: Added missing support
4126 routines. _raise() and getpid().
4128 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
4130 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
4132 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
4134 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
4135 and VR4300 processor.
4136 * libc/sys/vr4300: Add directory.
4137 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
4138 monitor run-time support.
4140 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4142 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
4143 * libc/stdlib/stdlib.tex: Don't include atol.def.
4145 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4147 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
4149 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
4151 * libc/ctype/Makefile.in: Fill in _to* dependencies.
4153 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
4155 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
4156 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
4157 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
4158 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
4159 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
4161 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4163 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
4165 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4167 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
4168 * libc/stdlib/atoff.c: New file.
4169 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
4170 * libc/stdlib/atoi.c (atol): Removed.
4171 * libc/stdlib/atol.c: Removed duplicate documentation.
4173 * libc/include/ctype.h (_tolower, _toupper): Moved inside
4174 #ifndef _STRICT_ANSI conditional.
4175 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
4176 * libc/ctype/_tolower.c: New file.
4177 * libc/ctype/_toupper.c: New file.
4178 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
4179 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
4180 * libc/ctype/toascii.c (_toascii): Removed.
4182 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
4184 * libc/sys/sparc64/sys/types.h: Deleted.
4186 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4188 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
4189 and recognize Windows_95 systems.
4191 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4193 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
4194 and passed fds should be opened in text mode.
4196 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4198 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
4199 in __hmap, set to binary mode by default.
4201 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4203 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
4204 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
4207 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
4209 * Makefile.in (install): Install all libraries found in the
4210 top level. If there's a sys/<type>/include directory,
4211 install those headers into include.
4213 * libc/sys/win32/kernel.def351: Delete
4214 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
4215 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
4216 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
4217 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
4218 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
4219 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
4220 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4221 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4223 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4224 * libc/sys/win32/crt0.c: Force all env names to upper case.
4225 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4226 * libc/sys/win32/*.c: Headers have moved.
4227 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4228 __vfork_child_idx is now __vfork_child_ptr.
4230 * posix/execvp (execvp): Don't crash if no PATH envname.
4232 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4234 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4235 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4236 through the _freelist instead of through the _reclaim list.
4237 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4238 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4241 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4243 * libc/machine/h8500/setjmp.S: New file.
4244 * libc/include/machine/setjmp.h: Updated for H8/500.
4246 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
4248 * libc/sys/win32/syscalls.c (_open): More stracing.
4249 (_stat): Open the file in O_BINARY.
4251 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4253 * libc/machine/h8300/setjmp.S: New file.
4254 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4256 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
4258 * libc/sys/win32/crt0.c (__exe_suffix): New global.
4259 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4260 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4261 __exe_suffix. Free fd_tab after setting env variable.
4262 (spawnv,_execve): Update.
4263 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4264 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4265 (__small_vfprintf): New function.
4266 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4267 * libc/sys/win32/wait.c (cwait): Validate argument.
4269 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
4270 (process_deletion_queue): Likewise.
4272 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
4274 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
4276 * libc/sys/win32: Copyrights and gratuitous indenting.
4278 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
4280 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
4281 (process_deletion_queue): Likewise.
4282 (__close_all_files): New function.
4283 (_close): Only queue file deletion if really a file.
4284 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
4286 (_exit): Call __close_all_files.
4288 * libc/stdlib/system.c: #include <errno.h>.
4289 (_system_r): Fix results in -DNO_EXEC case.
4291 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
4292 Reorganize structure.
4293 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
4294 if argument is valid. Save directory name in DIR. malloc space
4295 for dirent struct separately.
4296 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
4298 * libc/include/errno.h (ENAMETOOLONG): Define.
4299 * libc/string/strerror.c (strerror): Reword ENFILE.
4300 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
4302 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
4304 * libc/sys/win32/crt0.c (__progname): New global.
4305 (mainCRTStartup): Support strace=bitmask,filename.
4306 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
4307 * libc/sys/win32/syscalls.c (_write): Print parent trace message
4309 (getcwd): Handle len too small. Convert '\\' to '/'.
4310 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
4311 Add prototypes for open, creat, fcntl.
4312 (O_APPEND): Change value to conform to Microsoft's value.
4313 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
4315 * libc/stdlib/getopt.c: New file.
4316 * libc/stdlib/Makefile.in: Build it.
4318 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
4320 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
4321 Fix scanning of $PATH.
4322 * libc/posix/exec*.c: Call _execve, not execve.
4323 * libc/posix/execve.c: New file.
4324 * libc/posix/Makefile.in (OFILES): Add execve.o.
4326 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
4327 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
4328 (_STRACE): If level==0, always print. Handle new bit mask scheme.
4329 * libc/sys/win32/crt0.c: Update _STRACE calls.
4330 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
4332 * libc/sys/win32/smallprint.c (rn): Fix digit list.
4334 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
4335 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
4336 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
4337 Print __seterrno trace message first.
4338 (_execve): Renamed from execve.
4339 (vfork): Update __strace usage.
4340 (__vfork_child_pid): Deleted.
4341 (__vfork_children, __vfork_child_idx): New globals.
4342 (_spawnvp): New function.
4343 (spawnvp, spawnv, _execve): Call _spawnvp.
4344 (init_child): Record child in __vfork_children.
4345 (__vfork_get_entry, __vfork_record_death): New functions.
4346 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
4347 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
4348 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
4349 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
4350 (children): New typedef.
4351 (__vfork_children,__vfork_child_idx): Declare.
4352 (__vfork_get_entry,__vfork_record_death): Declare.
4353 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
4354 (waitpid): Handle pid == -1.
4355 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
4356 * configure.in (i386-win32): Add -DNO_FORK.
4357 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
4358 * libc/reent/execr.c (_fork_r): Likewise.
4359 * libc/stdlib/system.c (do_system): New function.
4360 If WIN32, try to get shell path from $SH_PATH, use vfork.
4361 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
4364 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
4366 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
4367 * libc/sys/win32/fcntl.h: Don't include self.
4368 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
4369 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
4370 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
4371 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
4372 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
4374 * libc/sys/win32/strace.c: New file.
4375 * libc/sys/win32/smallprint.c: New file.
4376 * libc/sys/win32/crt0.c (func): Delete.
4377 (mainCRTStartup): Fix alloca usage. Set handles explictly.
4378 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
4379 * libc/sys/win32/exceptions.c: Lint.
4380 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
4381 Clean up handle usage.
4382 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
4383 (open.c): Default file type is text.
4384 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
4385 * libc/sys/win32/advapi32.def: New
4387 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
4389 * configure.in (posix_dir, libc_posix_lib): New variables.
4390 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
4391 (i[345]86-*-win32): Define posix_dir.
4392 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
4393 (if unix_dir): Fix typo.
4394 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
4395 scandir,seekdir,telldir}: New files.
4396 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
4398 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
4399 (SUBDIRS): Add posix.
4400 (SUBLIBS): Add $(LIBC_POSIX_LIB).
4402 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
4403 (NSIG): Increase to 21.
4404 * libc/include/sys/unistd.h (pid_t): Move from here,
4405 * libc/include/sys/types.h (pid_t): to here.
4407 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
4409 (hinfo): New members close_exec_p, child_created_p.
4410 (struct exception_list): Define.
4411 (__hmap): Redefine as pointer to table.
4412 (__parent_hmap, __child_hmap): New globals.
4413 (__set_errno, __really_exit): Declare.
4414 (__vfork_child_pid): Declare.
4415 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
4416 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
4417 (__parent_hmap, __child_hmap): New globals.
4418 (__hmap): Redefine as pointer to active map.
4419 (__get_console): New function.
4420 (mainCRTStartup): Change leading '=' in environ vars to '!'.
4421 (env __FD_TABLE__): Watch for this and initialize our fd/handle
4422 mapping table from it if defined.
4423 (argv, envp): Dump if __strace >= 4.
4425 * libc/sys/win32/exceptions.c (myp): Redefine.
4426 (__syscalls_b): Delete.
4427 (__stack_trace): New function.
4428 (ehandler3): Update to use _STRACE. Print stack trace.
4429 Call __really_exit instead of exit.
4430 (init_exceptions): Delete args argc,argv. New arg mine.
4431 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
4432 FindFirstFileA, FindNextFileA, GetComputerNameA,
4433 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
4434 * libc/sys/win32/signal.c (signal): Validate arg.
4435 (alarm, sleep): Define as stubs for now.
4436 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
4437 (__syscalls_b, errno): Delete.
4438 (__vfork_child_pid, __vfork_jmp_buf): New globals.
4439 (__seterrno): Handle more errors.
4440 (__sys_printf): Renamed from _ptrace.
4441 (__really_exit): New function.
4442 (queue_file_deletion, process_deletion_queue): New functions.
4443 (__resume_parent): New function.
4444 (_unlink): Handle trying to delete open file.
4445 (__totime_t): Renamed from totime_t.
4446 (setsid, __read, __write): New functions.
4447 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
4448 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
4449 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
4450 * libc/sys/win32/console.c: Update to new definition of __hmap.
4451 * libc/sys/win32/Makefile.in: Build new files.
4452 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
4453 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
4454 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
4455 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
4457 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
4459 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
4461 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4463 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
4464 have been made to the master dtoa.c sources (from netlib.att.com)
4465 since they were integrated into newlib in early 1992. Fixes
4466 problems with storage leaks and handling of numbers with very
4469 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4471 * Makefile.in (all): set rootpre and srcrootpre before calling
4474 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
4476 * libc/sys/win32/crt0.c: Change __hmap usage.
4477 * libc/sys/win32/exceptions.c: Use _ptrace call.
4478 * libc/sys/win32/syscalls.c: Use _ptrace call.
4479 (read, write): Cope with DOS style CRLF when in TEXT mode.
4480 * libc/sys/win32/syscalls.h: Declare hinfo struct.
4481 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
4482 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
4483 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
4484 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
4486 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4488 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
4490 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
4491 wrappers for hypot() and remainder() for BSD libm compatibility.
4492 These are public domain implementations written by me for the
4493 NetBSD libm some time ago. Note cabs() is required by ucbtest.
4494 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
4495 (fobj): Added wf_cabs.o and wf_drem.o.
4497 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4499 * libc/sys/h8500hms/misc.c: New file.
4500 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
4502 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4504 * libc/time/localtime.c (localtime): Fix problem with leap year
4505 handling. Stole algorithm from Arthur David Olson's tz code.
4507 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
4509 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
4511 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
4512 (_exit): Use argument.
4514 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
4516 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
4518 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
4520 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
4522 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4524 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
4527 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
4529 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
4530 ptrace with case insensitivity
4531 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
4532 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
4535 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
4537 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4538 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
4539 (all, install, *clean): Use new multilib support.
4540 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4542 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
4544 * libc/include/sys/signal.h (__WIN32__): New.
4546 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
4548 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
4549 (ulp, b2d): Handle 32 bit doubles.
4550 * libc/stdlib/mprec.h: Handle 32 bit doubles.
4551 * libc/stdlib/strtod.c (_strtod_r): Ditto.
4553 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
4555 from medp@primag.co.uk:
4556 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
4557 dynamically allocated buffers.
4559 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
4561 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
4562 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
4564 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4566 * configure.in (powerpc): Fix previous fix.
4568 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4570 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
4571 directories for this target.
4573 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
4575 * configure.in (hppa): Add machine_dir definition.
4576 * libc/machine/hppa: New directory with PA specific implementations
4577 of the basic memory/string functions.
4579 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4581 * configure.in: Update current PowerPC multilib directories.
4582 Split big and little endian configurations.
4584 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
4586 * configure.in: Add --enable-single-float option to configure to
4587 control use of MIPS single-float directories. Default to yes.
4589 * Makefile.in (all): Don't recurse into multilib directory if it
4592 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4594 * libc/sys/sh/syscalls.c: Fix typo.
4596 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
4598 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
4600 * libc/include/process.h: Define WAIT_CHILD.
4601 * libc/include/types.h: Get sizes right for win32.
4602 * configure.in (i386-*-pe): Becomes i386-win32.
4603 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4604 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
4605 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
4608 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
4610 * configure.in (i[345]86-*-pe): New target (NT).
4611 * host/any: DLLTOOL new.
4612 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4613 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
4614 WIN32 (just enough to cross host the comp-tools).
4616 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
4618 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
4619 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
4621 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
4623 * libc/include/machine/ieeefp.h (arm): Change to always be
4624 __IEEE_BIG_ENDIAN (even on little endian ARM's).
4626 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
4628 * libc/sys/crt0.S: Initialze sp, and call exit after main.
4629 * libc/sys/syscalls.c (abort): New.
4630 * configure.in (arm): Define ABORT_PROVIDED.
4632 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4634 * configure.in (powerpc): Define multidirs.
4636 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
4638 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
4640 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
4642 * configure.in (sparclite): Delete target_cflags. Define multidirs.
4644 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
4646 * configure.in, libc/include/machine/ieeefp.h: Modified
4648 libc/machine/arm/*, libc/sys/arm/*: New
4650 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4652 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
4653 __powerpc__ when determining endianness.
4655 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4657 * configure.in (m68*): Add multidir for the m68332.
4659 * host/any (CC): Fix typo in last change.
4661 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4663 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
4664 when determining endianness.
4665 * libc/include/machine/ieeefp.h: Ditto.
4666 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
4669 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
4671 * libc/include/errno.h (ENOTEMPTY): Define.
4673 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4675 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
4678 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
4681 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
4682 instead of only when open succeeds. ANSI requires that multiple
4683 calls to tmpnam() result in different files.
4685 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
4686 objects pulled in from /lib/libc.a that must be renamed before
4687 being pulled into newlib. /lib/libc.a's div.o conflicted with
4688 newlib's file with the same name.
4690 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
4692 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
4693 the build tree will only be used if the executables are present
4694 (instead of just the Makefiles).
4696 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
4698 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
4699 versions of these functions that I orignally wrote for the
4701 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
4702 versions I wrote for NetBSD.
4704 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
4706 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
4707 * libc/sys/sparclite/crt0.s: ditto.
4709 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
4711 * configure.in: Add soft-float for proelf.
4713 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
4715 * libc/stdlib/mprec.h (Bcopy): Copy the right number
4718 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
4720 * Makefile.in (all): Depend on `force'.
4721 * configure.in (syscall_dir): Renamed from fake_sys_dir.
4722 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
4723 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
4724 * libc/Makefile.in: Likewise.
4725 * libc/include/reent.h: Update syscall references.
4726 (_fcntl_r): Add prototype.
4727 * libc/syscalls/*.c #include <reent.h>.
4728 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
4730 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
4732 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
4733 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
4734 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
4735 (time.h, sys/types.h): Always include (even if MSDOS).
4736 (stat): Fix prototype.
4738 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
4740 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
4742 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4744 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
4746 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
4748 * libc/include/regdef.h: New file.
4749 * libc/machine/mips/machine/regdef.h: New file.
4751 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
4753 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
4755 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
4757 * libc/sys/sh/crt0.S: Pass main's return to exit.
4758 * libc/sys/sh/trap.S: Put errno in the right place.
4760 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4762 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
4763 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
4764 * libm/math/ef_rem_pio2.c: Likewise.
4765 * libm/math/e_log10.c: Remove unused static one.
4766 * libm/math/ef_log10.c: Likewise.
4767 * libm/math/s_frexp.c: Likewise.
4768 * libm/math/sf_frexp.c: Likewise.
4770 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
4772 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
4773 longjmp.S: Upgraded.
4774 * libc/sys/go32/sys/setjmp.h: Upgraded.
4775 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
4777 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4779 * configure.in: Add many entries to multidirs for mips targets.
4781 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4783 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
4784 5.2 which fixes bug where jn(-1,x) is three times larger than
4786 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
4788 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
4790 * libc/sys/w65/sys/syscalls.h: New file
4791 * libc/include/machine/ieeefp.h: W65 support.
4792 * libc/include/sys/config.h: Ditto.
4793 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
4794 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
4795 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
4797 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4799 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
4801 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
4803 * Makefile.in, configure.in: Remove any references to the old
4806 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4808 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
4809 uses ... in prototype.
4812 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
4814 * libc/sys/a29khif/sys/libconfig.h: Remove.
4815 * libc/sys/go32/sys/libconfig.h: Remove.
4816 * libc/sys/sun4/sys/libconfig.h: Remove.
4817 * libc/sys/sysvi386/sys/libconfig.h: Remove.
4818 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
4819 * libc/sys/sparc64/sys/libconfig.h: Remove.
4821 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
4822 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
4823 * libc/include/math.h: Change all uses of _FLOAT_RET and
4824 _FLOAT_ARG to float.
4825 * libm/test/math.c: Likewise.
4826 * testsuite/libm.sac/math.c: Likewise.
4827 * testsuite/libm.sac/working/math.c: Likewise.
4829 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4831 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
4832 gcc calls gas with endian option.
4833 * configure.in (sh): Build little endian version too.
4835 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4837 * configure.in: Configure big and little endian versions for MIPS
4840 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
4842 * libc/include/limits.h: Deleted.
4843 * libc/include/machine/limits.h: Deleted.
4845 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
4847 * ChangeLog: Remove stub directory. This has all been rewritten
4848 and moved to devo/libgloss.
4850 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4852 * Makefile.in (dvi): Add to info target, use $@ in sub make.
4853 (docs): Merge into info target.
4854 * libm/Makefile.in (dvi): Add $(srcdir).
4855 * libm/math/Makefile.in (chobjs): Remove underscores from file
4856 names. Texinfo doesn't like them.
4857 (wacos.def, ...): Add explicit targets for all .def files.
4858 * libm/math/math.tex: Remove underscores from @include file names.
4859 * doc/Makefile.in (dvi): Add dummy target.
4860 * testsuite/Makefile.in (dvi): Add dummy target.
4862 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
4864 * Makefile.in (VERSION): Define. For net newlib releases.
4866 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
4870 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4872 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
4874 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4876 * libc/stdlib/setenv.c (_findenv): Declare.
4878 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
4879 fcntl to not use _EXFUN, and change string parameters to open and
4880 creat to be ``const char *''.
4881 * libc/sys/sparc64/sys/fcntl.h: Likewise.
4882 * libc/sys/sparc64/creat.c (creat): Make PATH const.
4883 * libc/syscalls/sysopen.c: Include <fcntl.h>.
4884 (open) Make _FILE const.
4885 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
4886 (_creat): Make PATH const.
4887 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
4888 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
4889 * libc/sys/m88kbug/syscalls.c (open): Likewise.
4890 * libc/sys/sh/syscalls.c (_open): Likewise.
4891 * stub/shared/glue.c (open): Make BUF const.
4892 * stub/ex93x/syscalls.c (open): Make FILENAME const.
4894 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4896 * libc/include/errno.h: Add ENMFILE
4897 * libc/include/sys/config.h: Support Z8000.
4898 * libc/include/sys/signal.h: New signals for go32.
4899 * libc/machine/h8500/psi.S (__addpsir0r0): New function
4900 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
4901 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
4902 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
4903 size is variable, depending upon CHUNK_POWER.
4904 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
4906 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4908 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
4910 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4912 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
4914 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4916 * configure.in: Change i[34]86 to i[345]86.
4918 * libc/include/math.h: Don't define HUGE_VAL if it is already
4921 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4923 * testsuite/libm.sac/test_erfc.c: Correct some result values.
4924 * testsuite/libm.sac/test_gammaf.c: Likewise.
4925 * testsuite/libm.sac/test_sin.c: Likewise.
4926 * testsuite/libm.sac/test_tanh.c: Likewise.
4928 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4930 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
4931 already set. Define typedefs __int32_t and __uint32_t.
4932 * libc/include/math.h: Include <machine/ieeefp.h>.
4933 (union __dmath): Use __uint32_t.
4934 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
4935 instead of int and unsigned int.
4937 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4939 Replace the math library with the SunPRO fdlibm package.
4940 * libm/math: Completely changed all files.
4941 * libm/ieeefp: Remove contents and directory.
4942 * libm/Makefile.in (LIBM_FP_LIB): Remove.
4943 (SUBDIRS): Just set to math/lib.a.
4944 * libm/libm.texinfo: Updated for new library.
4945 * libc/include/math.h: Extensive changes for new math library.
4946 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
4947 from _FLOAT_ARG to float.
4948 (maxpowtwo, maxpowtwof): Don't declare.
4949 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
4950 (libm_fp_lib): Removed.
4951 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
4952 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
4953 argument to ${RUNTEST}.
4954 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
4956 (RUNTESTFLAGS): Set CC and CFLAGS.
4957 (TESTS): Remove test_log2 and test_log2f.
4958 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
4959 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
4960 _FLOAT_ARG, for single precision argument type.
4961 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
4962 expected failure. Close the input pipe.
4963 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
4964 Correct misspelling of inaccurate.
4965 (test_mok): Use ``inaccurate'', not ``wrong''.
4966 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
4967 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
4968 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
4969 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
4970 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
4971 test_yn.c): Correct many result values. Many are still wrong.
4973 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
4974 just copy the string.
4975 (_gcvt): Always return the buffer.
4977 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
4979 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
4981 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
4983 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
4985 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
4986 (_reclaim_reent): declare new entry point.
4987 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
4990 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
4991 ever allocated, so that we can later reclaim them all.
4992 (pow5mult): make reentrant.
4994 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
4995 so that when given NULL as a buffer, return a pointer to static
4996 space in the rent structure. This is not documented behaviour;
4997 it's only to support ecvt and fcvt, which aren't ANSI anyway.
4998 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
4999 therefore become reentrant).
5001 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
5003 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5005 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
5007 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5009 * Makefile.in: Make link to libg.a after libc.a; this is needed
5010 for the testsuites to build executables when everything comes
5013 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
5015 * libc/Makefile.in: Add a VERSION variable so we can keep track.
5016 * libm/Makefile.in: Add a VERSION variable so we can keep track.
5018 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5020 * libc/include/stdio.h: Use __VALIST, not va_list.
5022 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
5024 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
5025 testsuite/libm.sac/execute.exp:
5026 Replace error proc calls with perror calls.
5028 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
5030 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
5031 * libc/include/time.h: #define NULL as 0L.
5033 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
5035 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
5038 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5040 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
5043 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
5045 * configure.in (TARGET_CFLAGS): Set -O2 as default.
5046 (z8k-*-*): Use syscalls fake sys dir.
5047 * libc/sys/z8k/glue.c: Rename syscalls.
5048 * libc/sys/go32/Makefile.in: Use new routines.
5049 * libc/machine/Makefile.in: Fix typo in ln stuff.
5051 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5053 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
5054 * libc/Makefile.in (crt0.o): Likewise.
5055 * libc/machine/Makefile.in (lib.a): Likewise.
5056 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
5058 All Makefile.in files: Added mostlyclean, realclean and distclean
5061 * Makefile.in: Don't bother to unexport XTRAFLAGS or
5062 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
5063 the top level Makefile.
5065 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
5067 * libc/sys/sparc64/sys/stat.h: New file.
5068 * libc/sys/sparc64/sys/time.h: New file.
5069 * libc/sys/sparc64/sys/types.h: New file.
5071 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
5073 * stub/ex93x/crt0.s (start): Add code to clear bss.
5075 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
5077 * libc/include/sys/types.h (time_t): Properly protect inside
5078 #ifndef __time_t_defined.
5080 * libc/stdio/fileno.c: New file.
5081 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
5082 (fileno.o): Add dependency.
5083 * libc/include/stdio.h (__sgetc): Rename never to _never.
5084 (fileno macro): Disable, needs to do CHECK_INIT first.
5086 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
5088 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
5091 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
5092 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
5094 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
5097 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
5099 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
5100 of the various constants.
5102 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
5104 * libc/include/math.h: #ifndef __math_68881 around things which
5105 conflict with the (gcc-provided) inline functions in
5106 gcc/ginclude/math-68881.h.
5108 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
5110 * libc/include/_syslist.h (_gettimeofday): Define.
5112 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
5113 (struct tms, timeval, timezone): Declare.
5114 (_gettimeofday_r, _times_r): Declare.
5115 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
5116 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5117 (time_t): Add multiple definition protection, __time_t_defined.
5118 * libc/include/sys/time.h: Don't #include <time.h>.
5119 Always define struct timezone (remove #ifndef _TIME_H_).
5120 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
5121 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5122 * libc/reent/Makefile.in (OFILES): Add timer.o.
5123 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
5124 * libc/reent/timer.c: New file.
5125 * libc/time/clock.c: #include <reent.h>.
5126 (clock): Call _times_r instead of times.
5127 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
5128 HAVE_GET_TIME_OF_DAY.
5129 Add comment regarding supporting OS routine(s) required (for docs).
5131 (time): Call _gettimeofday_r instead of gettimeofday.
5132 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
5133 * libc/time/ctime.c: Ditto.
5134 * libc/time/strftime.c: Ditto.
5135 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
5136 (TEMPLATE_SFILES_R): Define here. Also define times.
5137 Add times_r.o/times.S dependence.
5138 (time2.c, junk.c): Deleted.
5139 * libc/sys/sparc64/time2.c: Deleted.
5140 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
5142 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
5143 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
5144 * libc/sys/sparc64/junk.c: Deleted.
5146 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
5148 * libc/sys/sparc64/Makefile.in: Add times syscall.
5149 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
5150 be used with and without it. Add comment clarifying Medium/Anywhere
5152 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
5153 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
5156 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
5158 * configure.in (target_cflags): Move init.
5159 (sparc64-*-*): Define HAVE_BLKSIZE.
5161 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
5163 * libc/include/sys/_types.h: New file.
5164 * libc/include/reent.h: #include it.
5165 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
5166 MISSING_SYSCALL_NAMES.
5168 * libc/include/_syslist.h: Remove _raise.
5169 * libc/reent/signalr.c: New file.
5170 * libc/reent/Makefile.in: Compile it.
5171 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
5172 Add doc for raise and _raise_r.
5173 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
5174 (raise): Call _raise_r.
5175 (_raise_r): Call _getpid_r and _kill_r.
5176 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
5177 (abort): Loop forever calling raise and _exit.
5179 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5181 * configure.in: Remove extraneous echo.
5183 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
5185 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
5186 collision with unistd.h, and fix for svr4.
5188 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
5190 * libc/stdio/local.h (_llicvt): Declare.
5191 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
5192 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
5194 (_sicvt): Fix function header (`value' is short).
5195 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
5196 Add printing of long long's support.
5197 Add printing of 8 byte pointer support.
5199 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
5201 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
5202 stat, chmod): New hooks.
5203 (sbrk): Abort if stack and heap collide.
5204 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
5205 shortcut when given small args.
5206 * libc/machine/sh/setjmp.s: Rewritten.
5207 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
5208 of cmp/str instruction.
5210 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5212 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
5213 and machine_dir powerpc.
5214 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
5215 Add cases for __powerpc__.
5216 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
5219 * libc/include/stdio.h (_iprintf_r): Declare correctly.
5221 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
5223 * libc/stdlib/callocr.c: New file with _calloc_r in it.
5224 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5226 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
5228 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5229 (print_e): More comments to describe args, etc.
5230 "type" arg may now be 'g' or 'G' for %g/G format --> remove
5232 (_gcvt): Remove locals decpt, sign, end, p, done.
5233 More comments for print_e invocation.
5234 Pass "type" to print_e as is (g/G).
5236 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
5238 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5241 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
5243 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5244 works with any sized pointer, including ones bigger than ints and
5247 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
5249 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5251 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5253 * libc/include/stdlib.h (_calloc_r): Add prototype.
5254 * libc/machine/h8500/negsi2.c: New file.
5255 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5256 large unsigned numbers.
5257 * libc/machine/h8500/cmpsi.c: Add cmppsi.
5258 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5259 works when sizeof(size_t) != sizeof(char *).
5260 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5262 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5264 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
5266 * libc/include/assert.h (assert): Handle -traditional.
5268 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
5270 * Makefile.in: added ; after every "fi" and "done" that wasn't at
5271 the end of a line (ie. anything before a backslash continuation)
5272 so that bash handles them.
5274 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5276 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
5279 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
5281 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
5282 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
5283 libc/machine/sh/udivsi3.s: Use new calling convention.
5285 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
5287 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
5288 chmod, access, chdir, chown by making _path const. Also fix _amode
5291 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
5293 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
5294 _khif_tmpnam, because it doesn't comply with ANSI but may be
5295 useful anyway. Real tmpnam was already in libc/stdio, and was
5296 colliding with this one (pr 2176.)
5297 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
5298 the wrong idea anyhow.
5300 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
5302 * configure.in: Remove h8300h, we have multilib now.
5304 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
5306 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
5307 functions, to get preference over the ones in libiberty (since we
5308 provide correct declarations in <string.h>.
5309 * libc/string/Makefile.in: add support for strncasecmp,
5312 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
5314 * Change netware config not to look for cpu explicitly.
5316 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
5318 * libc/sys/sparc64/{creat.c,junk.c}: New files.
5319 * libc/sys/sparc64/Makefile.in: Add dependencies.
5321 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
5323 * configure.in: Clean up v9 a bit, new "os" aoutv8.
5325 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
5327 * libc/include/sys/reent.h: make structure smaller by allocating
5328 some stuff when needed.
5329 * libc/signal/signal.c: allocate as needed
5330 * libc/stdio/findfp.c,stdio/local.h: ditto
5331 * libc/stdlib/mprec.c: ditto
5333 * libc/time/localtime.c: don't return a dangling stack ptr.
5335 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
5337 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
5339 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5341 * libc/include/stdio.h (__sputc): comment out static inline which
5342 confuses coff toolchains.
5344 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
5346 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
5347 _write.s, getpid.c, kill.c, read.s}:
5348 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
5349 through the syscalls directory.
5351 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
5353 * configure.in: fixed double quote gotcha.
5355 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
5357 * stub/ex931: stub library for sparclite board.
5358 * stub/idp: Renamed from mc68ec. Added contructor table
5359 stuff to linker script.
5360 * stub/mvme135: Renamed from m68kmvme. Added contructor table
5361 stuff to linker script.
5363 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5365 * configure.in: Configure testsuites only if they exist.
5367 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5369 * configure.in: Don't set machine_dir for i386 until there is
5370 something in libc/machine/i386 to compile. For i[34]86-*-netware*
5371 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
5372 CLOCK_PROVIDED and MALLOC_PROVIDED.
5374 * libc/sys/netware: New directory. Contains simplistic and
5375 probably incorrect stubs for NetWare. Should be enough to load
5377 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
5378 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
5381 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
5382 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
5383 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
5384 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
5386 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
5388 * testsuite/Makefile.in: add "docs" dummy target for consistency
5389 with rest of newlib; turn "info" and "install-info" into dummy
5390 targets, since they wouldn't have worked. (Depended on
5391 nonexistent "doc" subdir.)
5393 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5395 * configure.in: handle mips* instead of mips
5397 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
5399 * libc/include/sys/dirent.h: New file. If it is not overridden by
5400 a version of libc/sys/*/sys/dirent.h, it includes the next
5401 <dirent.h> file in case there is one lurking somewhere.
5403 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5405 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
5406 compliance, namely: Accept a minus sign. Consider a single 0 with
5407 a radix of 0 as being a conversion. Determine overflow correctly.
5408 If an overflow occurs, set *ptr to the end of the number, not the
5410 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
5412 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
5414 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
5416 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
5418 * Makefile.in (INSTALL): Use $srcrootpre.
5419 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
5421 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
5423 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
5424 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
5425 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
5426 * libm/math/Makefile.in (matherr.o): Ditto.
5428 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5430 * configure.in: Build multidirs for z8k.
5431 * libc/include/stdlib.h (_strtoul_r): add prototype.
5432 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
5433 * libc/include/machine/setjmp.h: Add for z8k.
5434 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
5435 * libc/sys/z8ksim/glue.c: tidy up.
5437 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
5439 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
5440 New files. Requires execve system call.
5441 * libc/unix/Makefile.in: Use them.
5442 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
5443 Deleted, moved to libc/unix.
5444 * libc/sys/sparc64/Makefile.in: Remove them.
5446 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
5448 * libc/sys/sparc64/{template.S template_r.S}: New files.
5449 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
5451 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
5452 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
5453 umask.S unlink.S wait4.S write.S}: Removed, now built from
5456 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
5458 * libc/time/time.c: #include <_ansi.h>.
5460 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
5462 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
5464 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5466 * configure.in: match m8* rather than m88k so that m88110 is
5469 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
5471 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
5472 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
5475 * configure.in: Add multilib support to h8300.
5477 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
5479 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
5480 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
5481 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
5483 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5485 * configure.in: Corrected multidirs for sparc target.
5487 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5489 Support for building newlib multiple times with different
5491 * configure.in: Only configure doc at top level. Set multidirs
5492 when appropriate for target, unless not at top level. If
5493 multidirs is set, independently configure each subdirectory.
5494 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
5495 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
5496 automagically set by configure.in.
5497 (all): If MULTIDIRS is set, build multiple copies of libraries.
5498 (install): If MULTIDIRS is set, install multiple copies of
5499 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
5500 MULTISUBDIR is set, don't bother to install header files.
5501 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
5503 * stub/configure.in: Set MULTISUBDIR appropriately.
5504 * stub/Makefile.in (install): Install in
5505 $(tooldir)/lib/$(MULTISUBDIR).
5506 * All Makefile.in files: Define SRCTOP as well as TOP.
5508 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
5510 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
5511 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
5513 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
5515 * libc/sys/h8300hms/exit.c (_exit): New function.
5517 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5519 * configure.in: recognize m88110.
5521 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5523 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
5524 prototype main and call with args.
5526 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
5528 First real try at system traps for m88k-bug.
5529 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
5531 * libc/sys/m88kbug/sys/systraps.h: new file.
5533 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5535 Patches to fix info building when target does not use sys
5537 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
5538 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
5540 * libc/sys/Makefile.in (doc): do nothing.
5542 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5544 * libc/Makefile.in (CRT0): new macro.
5545 (all): depend on $(CRT0) rather than crt0.o.
5547 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
5548 do not default crt0, instead, set crt0 and crt0_dir based on
5549 sys_dir and stub_dir.
5551 * Makefile.in (CRT0_DIR): new macro.
5552 (all): depend on $(CRT0) rather than crt0.o which may not exist.
5553 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
5555 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
5557 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5559 * testsuite/lib/libm.exp:
5560 added code to support compiling and linking of tests for
5561 libm.sac (paranoia to be added next) and processing the
5562 pass or failure of the tests.
5564 * testsuite/config/unix-libm.exp:
5565 platform specific proc's for dealing with compiler, linker
5566 and the way we execute and process the test results.
5568 * testsuite/libm.sac/execute.exp:
5569 generic framework for the sac tests. the config and lib
5570 expect code for specific platforms tie it all together.
5572 * testsuite/libm.sac/test_is.c:
5573 changed the output of the test to be consistant with the
5574 other tests. parsing of pass nad fail messages is now fixed.
5576 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
5578 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
5579 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
5580 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
5581 #ifdef __cplusplus, surround by extern ""C { ... }.
5582 * libc/include/assert.h: Do *not* protect assert.h against
5583 multiple inclusion! Also, #undef it before #define, to allow
5585 * libc/include/stdio.h (getlogin, cuserid): Removed. These
5586 should be only in unistd.h.
5588 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
5589 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
5592 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
5594 * libc/machine/sparc/Makefile.in: Must create a library, even
5597 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5599 * configure.in: set machine_dir for m88k. edit crt0 definition
5602 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
5604 * libc/Makefile.in (all): also build crt0.o.
5606 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
5607 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
5610 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
5611 (all): reworked to build in place.
5612 (clean): remove lib.a
5613 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
5615 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
5616 (_start): key off edata rather than _start_bss.
5618 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
5620 * libc/include/sys/unistd.h, libc/include/reent.h,
5621 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
5623 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5625 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
5627 * Makefile.in (libc.a): break into two rules, one for libc.a and
5628 one for libc/libc.a. Force subdirs current before rebuilding
5630 (libm.a): break into two rules, one for libm.a and one for
5631 libm/libm.a. Force subdirs current before rebuilding library.
5633 * libc/Makefile.in (SUBLIBS): fix typo.
5635 * libc/sys/Makefile.in (all): force descent into subdirs, then
5636 rebuild library iff out of of date.
5638 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5640 Rework so that library is built and then finished rather than
5641 being built on each invocation of make.
5643 * host/any (machine_dir, sys_dir, signal_dir): these are not
5644 shared and have been moved to their associated Makefile.in's.
5645 (AR_FLAGS): switch to qc which is faster.
5646 * configure.in: no longer assign machine_dir for m88k. set
5647 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
5648 stub_dir set, then add to configdirs. add comment about silly
5650 (configdirs): drop stub. It will be added only
5652 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
5653 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
5654 stub_lib, crt0): new variables for tailoring lower level
5655 makefiles. Assign accordingly and edit into makefiles.
5656 * libm/Makefile.in: updated copyright.
5657 (TARGETLIB): removed.
5658 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
5659 (SUBDIRS): removed TARGETDEP_DIRS.
5660 (LIBM_FP_LIB, SUBLIBS): new macros.
5662 (force): new target to force rebuilds.
5663 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5664 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
5665 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
5666 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
5667 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
5668 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
5669 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
5670 stub/m68kmvme/Makefile.in: updated copyright.
5671 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
5672 (all): reworked. made this the default rule.
5673 (clean): also remove lib.a.
5674 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5675 * stub/Makefile.in: updated copyright.
5676 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
5677 (stub_lib): new macro.
5678 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
5681 (clean, install): assume stub_dir exists.
5682 (Makefile): depend on configure.in. call $(SHELL) rather than
5683 sh. drop redundant ./
5684 * stub/configure.in (stublib): new macro, assign it, edit it into
5686 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
5689 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5690 * libc/Makefile.in (TARGETCRT0): removed.
5691 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
5693 (SUBDIRS): drop TARGETDEP_DIRS.
5694 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
5695 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
5696 (force): new target to force rebuilds.
5697 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
5698 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
5700 (clean): assume sys_dir always exists.
5701 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
5703 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
5704 libc/locale/Makefile.in, libc/machine/Makefile.in,
5705 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
5706 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
5707 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
5708 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
5709 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
5710 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
5711 libc/signal/Makefile.in, libc/stdio/Makefile.in,
5712 libc/stdlib/Makefile.in, libc/string/Makefile.in,
5713 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
5714 libc/time/Makefile.in, libc/unix/Makefile.in,
5715 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
5716 (TARGETLIB): removed.
5718 (clean): also remove lib.a.
5719 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5720 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
5722 (SUBDIRS): moved to follow frag inclusion, change stub to
5724 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
5725 are now set in the libc Makefile.
5726 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
5727 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
5729 (force): new target to force rebuilds.
5730 * stub/configure.in: determine and set stub_lib for for Makefile.
5732 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
5734 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
5735 crt0.s renamed to crt0.S.
5736 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
5738 * libc/machine/h8300/Makefile.in: Make `all' the default target.
5739 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
5741 * libc/machine/h8300/defines.h: Add macros to handle pointers for
5742 h8300 (16 bits) and h8300h (32 bits).
5743 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
5744 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
5746 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
5748 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
5749 implementation of setjmp and longjmp for the m88k.
5750 * libc/include/machine/setjmp.h: Added __m88000__ case.
5752 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
5754 * configure.in: Recognize h8300h as variant of h8300.
5756 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5758 * libc/include/sys/unistd.h (read, write): get prototypes right.
5759 (sbrk): New prototype.
5760 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
5761 * libc/stdio/local.h: Include unistd.h.
5762 * libc/machine/h8300/syscalls.c: Names have changed.
5764 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
5766 * configure.in: add sys_dir assignment for m88k-bug.
5768 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
5770 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
5772 * libc/sys/sparc64: all *.S files: Use new macros.
5773 * libc/sys/sparc64/isatty.c: New file.
5774 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
5775 functions beyond what newlib provides.
5777 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
5779 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
5782 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
5784 * libc/include/machine/ieeefp.h: Add support for h8/300h.
5786 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
5788 * configure.in: add m88k.
5789 * libc/include/machine/ieeefp.h: add case for m88k. Also add
5790 sanity check so no one else need ever chase what I did to find
5793 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
5795 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
5797 * doc/makedoc.c: Include <ctype.h>.
5799 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
5801 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5802 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5803 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5805 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
5807 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
5809 * libc/include/errno.h (ENOSYS): Added.
5811 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
5813 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5815 * libc/stdio/fflush.c (fflush): Check for reent struct
5817 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
5819 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
5821 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
5822 out of dtoa.c so it doesn't pollute the namespace.
5823 * libc/include/_syslist.h: new file -- mappings from _function to
5824 function, for systems where we can't win (by default, all of them,
5825 until we start updating system calls.)
5826 * libc/syscalls: new directory -- stubs for exporting _function
5827 names as unmodified function names.
5828 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
5829 _syslist.h on all platforms by default, but put hooks in for
5830 fake_sys_dir so we can include it when we've renamed the system
5832 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
5833 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
5834 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
5835 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
5836 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
5837 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
5838 non ANSI functions to call _function.
5840 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
5842 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
5843 when base 16 is specified. Don't accept non-digits if radix > 10.
5845 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
5847 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
5849 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
5851 * libc/include/sys/stat.h: Surround text after #endif with
5854 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
5856 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
5857 _malloc_r, _realloc_r, and free_r call the corresponding
5858 non-reentrant functions.
5860 * libm/math/modf.c (modf): We now take the address of ipart, so
5861 don't make it a register variable.
5863 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
5865 * libm/math/*: Rename all xxx_r fns to _xxx_r.
5867 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
5869 * libc/libc.texinfo and embedded docn throughout: formatting
5870 improvements, minor rephrasing for clarity, and improved
5873 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5875 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
5877 * libc/stdio/cvt.c (_licvt): Print the right value on machines
5878 where sizeof(int) != sizeof(long).
5880 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
5882 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
5883 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
5884 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
5885 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
5886 libm/math/matherr.c: changes for better docn formatting (info).
5888 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
5889 libc/reent/reent.tex, libc/signal/signal.tex,
5890 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
5891 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
5892 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
5893 makeinfo node defaulting to get better Info file node structure.
5894 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
5895 Also include a few formerly missing sections (subroutines).
5897 * doc/doc.str: delete fossil expansion for "func"
5899 * default.menu, no-signal.menu: delete.
5901 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
5902 method used to adjust doc for missing "signals" chapter when
5903 signal_dir is empty.
5905 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5907 * configure.in: added testsuite/libm.sac
5909 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
5911 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
5914 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
5916 * libm/Makefile.in: Use $(MAKE) rather than make, and define
5917 MAKEOVERRIDES to be empty.
5919 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
5921 * configure.in: Don't build mips-*-* with -msoft-float, since that
5922 makes it incompatible with hard floating point.
5924 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5926 * Makefile.in: added recursive 'make check'
5928 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5930 * configure.in: added ./testsuite ./testsuite/libm.paranoia
5931 * ./testsuite/Makefile.in: created
5932 * ./testsuite/libm.paranoia: paranoia tests added
5934 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
5936 * configure.in: For mips-*-* set machine_dir to mips.
5938 * libc/machine/mips: New directory.
5939 * libc/machine/mips/Makefile.in: New file.
5940 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
5942 * libc/include/machine/setjmp.h: Added __mips__ case.
5944 * libc/machine/lmips: Removed unused and useless directory.
5946 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
5948 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
5950 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
5952 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
5955 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
5957 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
5960 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
5962 * libm/test/convert.c: structure member errno -> errno_val.
5963 Must include <errno.h> to use errno, it's a macro now.
5964 * libm/test/math.c: Ditto.
5965 * libm/test/math2.c: Include errno.h.
5966 * libm/test/string.c: Ditto.
5967 * libm/test/test.h: structure member errno -> errno_val.
5968 Remove extern int errno decl.
5970 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
5972 * libc/stdio/Makefile.in: Added dependencies on local header
5974 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
5977 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
5979 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
5981 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
5983 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
5986 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
5987 * libc/stdio/local.h: Add prototype for _licvt.
5989 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
5990 instead of malloc,reealloc.
5992 * libc/stdlib/local.h: New file.
5993 * libc/stdlib/efgcvt.c: #include local.h.
5994 (gcvt): Fix call to _gcvt.
5995 * libc/stdlib/ecvtbuf.c: #include local.h.
5997 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
5998 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
5999 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
6001 * libc/stdlib/atexit.c: moved global data to struct _reent.
6002 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
6004 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
6006 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
6008 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
6009 here from ../reent.h.
6011 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
6013 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
6014 should be provided in both libc.a and libm.a.
6015 (libc.a): Depend on targ-include and libm.a. Copy
6016 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
6017 (libm.a): Depend on targ-include.
6018 * configure.in (subdirs): Removed libc/math.
6020 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6022 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
6024 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
6026 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
6027 sys/reent.h instead of reent.h.
6028 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
6029 headers moved to sys/reent.h.
6030 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
6031 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
6032 __need__MAX_SIGNALS defined.
6033 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
6034 std{in,out,err} refer to new _std{in,out,err} members.
6036 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
6038 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
6041 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
6043 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
6044 rather than whatever macro seterrno() has.
6046 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
6048 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
6049 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6051 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
6054 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
6055 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
6056 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6058 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
6059 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6061 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
6062 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
6063 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
6064 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
6065 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
6066 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
6067 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
6068 renamed to _xxx_r. struct reent_struct renamed to struct _reent
6069 for ANSI. structure members given leading "_" for ANSI. Use
6070 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6072 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
6073 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
6074 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
6075 reent_struct renamed to struct _reent for ANSI.
6076 Structure members given leading "_" for ANSI.
6077 _CONST --> const in prototypes.
6078 Use _HAVE_STDC instead of __STDC__.
6080 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
6082 struct reent_struct renamed to struct _reent for ANSI.
6083 Structure members given leading "_" for ANSI.
6085 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
6087 struct reent_struct renamed to struct _reent for ANSI.
6089 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
6090 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
6091 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
6092 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
6093 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
6095 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
6096 signal.h, stdio.h, stdlib.h, string.h, time.h}:
6097 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6098 #ifndef _STRICT_ANSI non-ANSI routines.
6099 Reentrant routines renamed from _r_xxx to _xxx_r.
6100 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
6101 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
6102 Clean up namespace (structure members have leading "_").
6103 struct reent_struct renamed to struct _reent for ANSI compliance.
6104 _CONST --> const in function prototypes.
6106 * libc/include/string.h: Add NULL and size_t.
6108 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
6109 unlink, wait, wait4. Reentrant syscall routines close, fork,
6110 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
6112 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
6113 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
6114 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
6115 write.S}: Define reentrant versions.
6116 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
6119 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
6121 * libc/include/stdlib.h (RAND_MAX): Fix value.
6123 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
6125 * libc/sys/a29khif/_main.c: Removed unnecessary file.
6126 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
6127 VPATH support targets after all: target.
6129 * stub/mvme135/mvme.S: Renamed exceptionhandler to
6130 exceptionHandler, which is what mvme135-stub.c expects.
6132 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
6134 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
6136 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
6137 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
6140 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
6142 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
6144 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
6146 libc/reent/fstatr.c (_r_fstat): Ditto.
6147 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
6148 libc/reent/sbrkr.c (_r_sbrk): Ditto.
6149 libc/reent/statr.c (_r_stat): Ditto.
6151 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
6152 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
6153 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
6154 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
6155 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
6156 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
6157 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
6158 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
6159 (__swrite): Ditto for _r_lseek, _r_write.
6160 (__sseek): Ditto for _r_lseek.
6161 (__close): Ditto for _r_close.
6162 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
6164 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
6165 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
6167 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
6168 to make reent_struct the first argument (and thus consistent with
6169 the rest of newlib).
6171 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
6172 reference to __STDC__.
6174 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
6176 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
6179 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
6181 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
6183 libc/stdio/fclose.c (fclose): Ditto.
6185 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
6187 * Run through indent and rename reentrant routines for ANSI.
6188 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
6189 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
6190 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
6191 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
6192 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
6193 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
6194 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
6195 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
6196 vsprintf.c wbuf.c wsetup.c local.h}
6198 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
6200 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
6201 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
6202 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
6203 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
6204 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
6205 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
6207 * Run through indent.
6208 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
6209 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
6210 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
6211 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
6214 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
6215 localtime.c mktime.c strftime.c time.c}:
6216 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
6218 * Reformatting + renaming (for ANSI, GNU style, consistency).
6219 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
6220 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6221 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6223 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
6225 * libc/include/stdio.h (stdin_r): Fix.
6227 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
6229 * Makefile.in: Unexport some variables to keep GNU make from
6230 putting them in the environment and using up needed ARG_MAX space
6231 (a hack is used to let this work with older makes as well).
6233 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
6235 * Makefile.in: Use $(MAKE) rather than make.
6236 (MAKEOVERRIDES): Define to be empty.
6237 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6238 (libc.a, libm.a): Depend on targ-include.
6239 * host/any (LD): Don't define.
6240 (INCLUDES): Use targ-include.
6241 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6242 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6243 * libc/Makefile.in: Use $(MAKE) rather than make.
6244 (MAKEOVERRIDES): Define to be empty.
6245 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6246 (all): Rewrote to be slightly smaller.
6247 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6249 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6250 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6252 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
6254 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6257 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
6259 * Changes for reentrancy.
6260 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6261 Use ptr->_errno, not errno.
6262 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6263 libc/stdio/remove.c (remove_r): New function.
6264 libc/stdio/rename.c (rename_r): New function.
6265 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6266 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6267 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
6268 reentrant versions of system calls.
6269 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
6270 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
6271 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
6272 libc/stdio/findfp.c: Include <string.h>.
6273 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
6275 libc/stdio/wbuf.c: Include "fvwrite.h"
6277 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
6279 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
6280 (NULL): Don't define if already defined.
6281 libc/stdlib/system.c: Call reentrant versions of system calls.
6282 (system_r): New function.
6284 * Changes for reentrancy.
6285 libc/include/_ansi.h (_PARAMS): New macro.
6286 libc/include/errno.h: Define errno as a macro that calls __errno.
6287 (__errno_r): New macro for reentrant code.
6288 libc/include/math.h: Include reent.h. Declare many reentrant
6290 (signgam): Now a macro, not a variable.
6291 (struct exception): Added err field.
6292 libc/include/reent.h: Don't declare __sglue. Added function
6294 (struct reent_struct): Moved errno to beginning. Added _signgam.
6295 libc/include/stdio.h, libc/include/stdlib.h: Added function
6298 * More reentrancy hacking.
6299 libc/errno/errno.c (__errno): New function.
6300 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
6301 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
6304 * Added many new reentrant functions to libm/math/*.
6305 libm/math/error.c (__matherror): Added reent_struct pointer
6306 argument. Changed all callers.
6307 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
6308 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
6309 libm/math/tan.h: Removed obsolete unused header files.
6311 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
6313 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
6315 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6317 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
6320 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6322 * libc/libc.texinfo: comment out reentrancy chapter (duh)
6324 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6326 * libc/reent/reent.tex: New file. (text from
6327 newlib/libc/libc.texinfo)
6328 * libc/stdio/tmpnam.c: fixed doc typo
6329 * libc/stdlib/rand.c: fixed doc typo
6331 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6333 * libc/reent/reent.tex: New file. (text from
6334 newlib/libc/libc.texinfo)
6336 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6338 support for reentrancy
6339 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
6341 * libc/errno/errno.c, libc/include/ieeefp.h,
6342 libc/include/locale.h, libc/include/reent.h,
6343 libc/include/signal.h, libc/include/stdio.h,
6344 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
6345 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
6346 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
6347 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
6348 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6349 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
6350 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
6351 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
6352 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
6353 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
6354 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
6355 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
6356 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
6357 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
6358 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
6359 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
6360 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
6361 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
6362 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
6363 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
6364 libc/time/strftime.c: modify to provide reentracy.
6367 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
6368 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
6369 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
6370 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
6371 mstats_r, realloc_r, localeconv_r, setlocale_r
6373 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
6375 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
6376 libc/include/sys/config.h, libc/include/sys/signal.h,
6377 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
6378 provided macros (such as m68000), use the ansi version
6379 (__m68000__) so that the library can be used with code compiled
6380 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
6383 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6385 * configure.in (sparc*): Don't set -fsoft-float for sparc
6386 configurations. Do set -fsoft-float for sparclite configurations.
6388 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6390 * default.menu, no-signal.menu: alternate forms of libc main menu
6391 (in newlib rather than newlib/libc due to configuration restrictions)
6393 * configure.in: select one of the two menus above, link to
6396 * libc/libc.texinfo: include menu from separate file
6398 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
6400 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
6401 (info): Split long shell command in half.
6402 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
6403 sub-makes, just CHEW and TARGETDOC.
6404 (targetdep.tex): Removed now special handling of sys and machine
6405 subdirectories, made obsolete some time ago.
6406 * libc/machine/Makefile.in (doc): Don't pass everything to
6407 sub-make, just CHEW and TARGETDOC.
6408 (Makefile): New target.
6409 * libc/sys/Makefile.in (Makefile): New target.
6411 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
6413 * Makefile.in (here and most subdirectories): Only pass down CHEW
6414 and TARGETDOC when making info, not for other targets.
6416 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
6417 $(AR_FLAGS) rather than $(ARUPDATE).
6419 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
6421 * Try to reduce command line length:
6422 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
6423 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
6424 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
6425 (info): Pass CHEW to other subdirs.
6427 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
6429 * configure.in: add signal_dir, like unix_dir, but by default it
6430 is set to "signal" so that a29khif can turn it off (since a29khif
6431 has raise() as part of machine-specific signal.s.)
6433 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6435 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
6436 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
6438 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
6439 libc/stdio/vfprintf: type lint.
6440 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
6442 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
6444 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
6446 * stub/mvme135/mvme135-asm.S: new file.
6447 stub/mvme135mvme135-stub.c: moved all assembler routines into
6449 stub/mvme135/Makefile.in: build mvme135-stub.o.
6451 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
6453 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
6454 sub-Makefiles instead, to try to avoid line length limitations.
6456 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
6458 * libc/include/unistd.h (read, write): Use void* instead of
6461 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
6463 * stub/go32/resetpc: sample script to send a reset packet to the
6466 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
6467 DOS environment, which compiles with Turbo C.
6469 * stub/go32/DSER32.LNK: new file, linker commands for serial
6472 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
6473 start up message to identify version; call set_debug_traps.
6475 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
6476 keyboard interaction); call handle_exception() in go_til_stop,
6477 rather than return, so that the remote stub gets control.
6479 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
6480 rename, rather than mv), set flags that work with current Turbo C,
6481 including using the /3 flag; also, add commands to build dser32.
6483 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
6484 default Turbo C installation (\tc rather than \usr)
6486 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
6489 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6491 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
6493 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6495 * libc/stdio/cvt.c (licvt): new function to convert ints when
6496 sizeof(int) != sizeof(long).
6498 * libc/include/stdio.h: added prototype for iprintf.
6499 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
6501 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
6503 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
6504 __REGISTER_PREFIX__.
6506 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
6508 * libc/sys/m68kbare: moved into stub directory.
6510 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
6512 * configure.in, Makefile.in: created new directory stub, to hold
6513 sample code for specific targets.
6515 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
6517 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
6518 in the unified libc/include/sys/fcntl.h.
6520 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
6522 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
6523 printed .01, not 0.01.
6525 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
6527 * configure.in: compile with -m68000 for m68* targets.
6529 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
6531 * libm/math/remainder.c (remainder): document the svr4 and sunos
6532 references used to construct the function.
6534 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
6536 * libm/math/remainder.c (rint, remainder): fix old typos.
6537 * libm/math/Makefile.in: actually build remainder.c (functions
6538 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
6541 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
6543 * libc/string/bcopy.c: BSD version works on overlapping strings,
6546 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
6549 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
6551 * Makefile.in (docs): new target.
6553 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
6555 * libc/include/sys/times.h: define clock_t as required by POSIX.
6556 libc/include/time.h: protect clock_t from multiple definitions.
6558 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6560 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
6561 does not need more than the original three iterations to get
6562 within 1 ulp. (Paranoia tests for rounding to better than that,
6563 but further iterations *don't* help, only more subtle changes
6566 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
6568 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
6569 were doing nothing useful.
6571 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
6573 * configure.in: define MALLOC_PROVIDED for vxworks targets;
6574 removed sys_dir settings of vxworks68 and vxworks960.
6575 host/any: don't pass -nostdinc to gcc, since newlib no longer
6576 provides all required header files.
6578 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
6579 is not defined; this provides a hook for VxWorks.
6581 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6583 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
6584 buffer if buf is NULL, don't do it here -- it is already being
6585 done by makebuf elsewhere in stdio.
6587 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
6589 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
6590 that C programs can call functions without using initial
6593 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
6595 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
6597 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
6599 * configure.in: set TARGET_CFLAGS for certain CPU types to
6602 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6604 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
6606 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
6608 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
6611 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
6613 * libc/include/stdio.h: define __need___va_list before including
6614 <stdarg.h>, to avoid defining va_arg, et. al.
6616 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
6618 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
6619 (don't cd to the user's home directory).
6621 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
6622 In general this is the wrong thing to do, but I can't get around
6623 GNU make's insistence on passing command line arguments any other
6626 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
6628 * configure.in: always configure the libc/sys directory, since it
6629 now provides a required documentation file.
6631 * Makefile.in: replaced all instances of $(MAKE) with make. In
6632 general this is the wrong thing to do, but I can't get around GNU
6633 make's insistence on passing command line arguments any other way.
6635 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
6637 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
6640 * libc/stdio/local.h: include <stdarg.h> to define va_list.
6641 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
6643 * libc/include/float.h, libc/include/stdarg.h,
6644 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
6646 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
6647 <stdarg.h>, not from <machine/types.h>. Protect definition of
6649 libc/include/time.h: get size_t from stddef.h. Protect definition
6651 libc/include/machine/limits.h: override gcc <limits.h> by defining
6652 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
6653 get correct INT_MIN and LONG_LONG values.
6654 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
6655 size_t or va_list at all; they're now gotten from stddef.h
6657 libc/include/machine/varargs.h: removed; use gcc version instead.
6658 libc/include/sys/types.h: explicitly include <machine/types.h>.
6660 * libm/math/sqrt.h: using the fp-bit routines appears to require
6663 * Makefile.in, host/any: let system include files override machine
6666 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6668 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
6669 override _*_T_ definitions defaulted here.
6671 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
6673 * Makefile.in (install): install the include files in
6674 $(tooldir)/include, not $(exec_prefix)/include.
6676 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
6678 * Makefile.in (install): fixed typo, and changed install to not
6679 force rebuild of libc.a and libm.a.
6681 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
6683 * libc/sys/a29khif/*: Changed all .include's to include
6684 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
6685 that they will be installed for the user.
6687 * Makefile.in (all): create targ-include, a directory holding the
6688 machine and system specific header files during the build.
6689 (install): fixed installation of machine and system specific
6692 * Makefile.in: fixed comment.
6693 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
6694 we can pass $(INCLUDES) to it.
6696 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
6698 * libc/include/sys/param.h: new generic file, which may be
6699 overridden for specific systems.
6701 * libc/include/sys/signal.h: define all ANSI signal names, and
6702 NSIG (which is not ANSI) for a29k.
6704 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
6706 * Makefile.in: don't pass down arguments the lower level makes
6708 * libc/Makefile.in: recurse directly, rather than using subdir_do,
6709 in hopes of avoiding argument length limits.
6710 * libm/Makefile.in: recurse directly, rather using subdir_do, in
6711 hopes of avoiding argument length limits.
6713 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
6715 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
6718 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
6720 * Fixed make info and make install-info for newlib, changing most
6721 Makefile.in and several *.tex files. Moved doc directory from
6724 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
6725 Should be rewritten.
6727 * libc/string/strings.tex: renamed node index to node index
6728 function, so that it does not conflict with the top level index
6731 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
6733 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
6735 * Overhauled general configuration for newlib. Eliminated all
6736 target dependent Makefile fragments. Create libraries in newlib
6737 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
6738 than CROSS_CC, et. al. Broke make docs; will fix later.
6740 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
6741 Should be rewritten.
6743 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
6745 * libc/configure.in: cleaned up somewhat; switch on ${target}
6746 rather than ${target_alias}.
6747 * libm/configure.in: cleaned up somewhat; switch on ${target}
6748 rather than ${target_alias}.
6750 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
6751 * libc/include/ctype.h: marked _ctype_ as _CONST.
6753 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
6756 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
6757 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
6758 libc/stdio/gets.c (gets): removed non-ANSI warning message.
6759 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
6761 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
6762 bigtens, tinytens): marked arrays _CONST.
6763 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
6764 rather than a static variable.
6766 * libc/time/asctime.c (asctime), libc/time/localtime.c
6767 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
6768 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
6769 mname_len, mname): Marked static arrays _CONST.
6771 * libm/math/gamma.h: made local variables non-static.
6773 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
6774 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
6777 * libm/math/constants.c: removed file, because the constants it
6778 defined were never referenced.
6779 libm/math/Makefile.in: removed references to constants.c.
6780 libm/math/mathimpl.h: removed declarations of constants.
6782 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
6784 * libc/include/machine/varargs.h: only call __builtin_saveregs if
6785 it is sensibly defined in libgcc2. Checks preprocessor defines,
6786 which is not a good solution.
6788 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
6790 * libm/frexp.c: handle denormalized numbers as arguments.
6792 * libm/math/Makefile.in: added some dependencies for .c files
6793 which include local .h files.
6795 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
6797 * libc/configure.in: set target_alias for OSE*. Replace
6798 target_makefile_frag if it is blank.
6800 * libc/Makefile.in: make sure everything is passed to subsidiary
6801 makes; create all directories when installing.
6803 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
6804 CROSS_ARUPDATE instead of AR.
6806 * libm/configure.in: set target_alias for OSE*. Replace
6807 target_makefile_frag if it is blank.
6809 * libm/Makefile.in: make sure everything is passed to subsidiary
6810 makes; create all directories when installing.
6812 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
6814 * add following change from libc copy.
6816 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6818 * libc/libc.texinfo: make copyright disclaimers appear on back of
6819 title page; make format of same slightly less ugly; avoid using
6820 underbars in section headings (avoids nasty texinfo bug in table
6823 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
6824 comments only) avoid using underbars in section headings
6826 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
6827 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
6828 changes in comments only): shorten headings ieeefp/infinity.c,
6829 ieeefp/isnan.c: (doc, comments only) more informative headings
6831 * libc/math/bessel.c: (doc, comments only) shorten heading
6833 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
6834 (doc, comments only) shorten headings
6836 * libc/time/localtime.c (doc, comments only): shorten headings
6838 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
6840 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
6841 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
6843 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
6844 only) more informative headings
6845 * libm/math/bessel.c: (doc, comments only) shorten heading
6847 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6849 * .../Makefile.in: use CROSS_ARUPDATE consistently.
6850 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
6851 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
6852 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
6853 defined, the one from the .mt file will be correct.
6854 * libc/include/machine, libc/include/sys: created, and populated
6855 with common files from machine/*/machine. ifdefs were used for
6856 most, typically by handling exceptions first and then filling in
6857 defaults. Files with D.J. Delorie copyright #included rather than
6858 copied. Most files in include/sys really were the same in the
6860 * libc/include/...: cleaned up use of _EXFUN.
6861 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
6862 it with double quotes, not angles.
6864 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
6866 * libc/Makefile.in: always create installation directories.
6868 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6870 * libc/configure.in: handle host properly (using canonical
6871 triples), better error message for the case of target not found
6873 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
6875 * libc/Makefile.in (insincdir): Ensure this directory exists
6876 before attempting installation.
6878 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6880 * libc/stdlib/assert.c: now calls abort like it should
6881 * libc/sys/a29khif: many many patches for 29khif work
6882 * libc/machine/i386: gnulib2 expanded there.
6884 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6886 Added accurate fp conversion routines to stdlib, moved dcvt from
6887 stdio to stdlib and called it ecvtbuf:
6888 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
6889 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
6891 * libc/libc.texinfo: Modifed to include the copyright info from
6893 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
6894 * libc/test/ : many vector which tested for the implementation
6895 defined returns of strange conversion requests have been updated
6896 to relflect the new implementation
6898 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6900 * libc/libc.texinfo: new chapter on variable arg lists
6901 (stdarg.h/varargs.h)
6902 * libc/libc.texinfo: new title
6903 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
6904 (doc only) shorter headings for better formatting.
6906 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6908 * libc/libc.texinfo: three more info menu entries
6909 * libc/locale/locale.tex: new chapter
6910 * libc/locale/locale.c: new doc for setlocale, localeconv
6911 * libc/locale/Makefile.in: use new locale doc
6912 * libc/signal/signal.tex: new chapter
6913 * libc/signal/raise.c, libc/signal/signal.c: new doc
6914 * libc/signal/Makefile.in: use new doc
6915 * libc/time/time.tex: new chapter
6916 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
6917 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
6918 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
6919 * libc/time/Makefile.in: use new doc
6921 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6923 * libm/math/log1p.c: split to use the new function way of float
6924 function definition. math/log1p.h deleted
6925 * libm/math/scalb.c: obsolete and deleted
6926 * libm/math/scalbn.c: created from part log1p.c
6927 * libm/math/Makefile.in: know about log1p and scalbn
6929 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6931 * libc/ctype/isupper.c: revise doc;
6932 libc/ctype/ctype.tex: use doc from isupper.c
6934 * libc/string/bzero.c: new doc
6936 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6938 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
6940 * libc/stdlib/Makefile.in: extract new doc
6941 * libc/stdlib/stdlib.tex: use new doc
6943 * libc/string/strerror.c: expanded doc.
6945 * libc/stdio/Makefile.in: extract doc from more files
6946 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
6947 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
6948 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
6949 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
6950 libc/stdio/vsprintf.c: new doc
6951 * libc/stdio/stdio.tex: use new doc
6953 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6955 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
6956 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
6958 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
6961 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
6962 * libc/stdio/setbuf.c: added ansi style definition.
6963 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
6964 buffer if none provided.
6965 * libc/stdio/tmpfile.c: lint
6966 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
6967 rather than using static, also make sure file isn't already
6968 present. Uses P_tmpdir. (tempnam): rewritten to use new
6969 subroutine, and uses P_tmpdir.
6970 * libc/stdio/siprintf.c: created
6972 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6974 Release 1.03 for NEC, major mods. Main differences from release
6977 More tests in test/:
6978 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
6979 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
6980 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
6981 get/set mask, get/set sticky and get/set roundtoi. Tests
6982 that setting the bits changes the way arithmetic is done.
6983 * string.c: added test to make sure memcmp does it with unsigned
6985 * test.c: cleaned up and removed lint.
6986 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
6987 dvec.c: tests for string to value conversions, sprintf, scanf,
6988 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
6989 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
6990 rounding in sprintf too.
6991 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
6992 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
6993 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
6995 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
6999 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
7000 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
7001 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
7002 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
7003 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
7005 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
7006 * Method of producting float versions of double functions has
7007 changed, functions will be modified gradually. So far:
7008 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
7009 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
7011 * libc/string/memcmp.c: now uses unsigned chars
7012 * libc/string/bcmp.c, libc/string/strcpy.c,
7013 libc/stsring/strxfrm.c: fixed doc
7014 * libc/sys/sysvnecv70.tex: fix example of sbrk code
7017 version-control: never